/* Isolated assistant UI. Inter and official Suprohosting brand colors. */
.supro-assistant { --sa-navy: #243559; --sa-blue: #0ea5e4; --sa-green: #9dbf58; --sa-ink: #243559; --sa-muted: #526174; font: 400 14px/1.5 Inter, "Segoe UI", Arial, sans-serif; color: var(--sa-ink); }
.supro-assistant *, .supro-assistant *::before, .supro-assistant *::after { box-sizing: border-box; }
.supro-assistant :where(button,textarea,a) { font-family: inherit; }
.supro-assistant :where(button,a,textarea):focus-visible { outline: 3px solid var(--sa-blue); outline-offset: 3px; }
.supro-assistant :where(button) { cursor: pointer; letter-spacing: normal; text-transform: none; }
.supro-assistant button:disabled { cursor: wait; opacity: .55; }
.supro-assistant [hidden] { display: none !important; }
.supro-assistant__launcher-dock { position: fixed; bottom: max(24px, env(safe-area-inset-bottom)); right: max(24px, env(safe-area-inset-right)); z-index: 9000; width: 120px; height: 120px; }
.supro-assistant__launcher { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-width: 0; min-height: 0; border: 1px solid #dbe5e6; border-radius: 50%; background: #fff; box-shadow: 0 8px 32px #24355924; padding: 5px; color: var(--sa-ink); text-align: left; transition: box-shadow .2s; }
.supro-assistant__launcher:hover { box-shadow: 0 12px 36px #24355930, 0 0 0 4px #0ea5e412; }
.supro-assistant__launcher-copy { position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%); display: grid; gap: 3px; width: 192px; max-width: calc(100vw - 164px); padding: 11px 14px; background: #fff; border: 1px solid #dbe5e6; border-radius: 12px; box-shadow: 0 8px 24px #24355914; opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .2s, visibility .2s; }
.supro-assistant__launcher:hover .supro-assistant__launcher-copy, .supro-assistant__launcher:focus-visible .supro-assistant__launcher-copy { opacity: 1; visibility: visible; }
.supro-assistant__launcher-copy strong { font-size: 13px; font-weight: 600; line-height: 1.4; }
.supro-assistant__launcher-copy > span { font-size: 11px; color: var(--sa-muted); }
.supro-assistant__avatar { position: relative; flex: 0 0 auto; overflow: hidden; display: grid; place-items: center; background: #eaf2df; border-radius: 50%; color: var(--sa-navy); font-weight: 600; }
.supro-assistant__avatar > span { position: absolute; }
.supro-assistant__avatar img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(1.65); transform-origin: center 6%; }
.supro-assistant__avatar--launcher { width: 100%; height: 100%; border: 2px solid var(--sa-green); background: #edf4e5; font-size: 24px; }
.supro-assistant__avatar--launcher img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transform: none; transform-origin: center; }
.supro-assistant__avatar--launcher img[data-original-photo="true"] { inset: auto; top: 0; left: 50%; width: auto; height: 126%; object-fit: contain; object-position: center top; transform: translateX(-50%); }
.supro-assistant__launcher-symbol { position: absolute; right: -3px; bottom: 5px; display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 48px; height: 31px; padding: 0 7px; background: var(--sa-navy); border: 2px solid #fff; border-radius: 18px; color: #fff; font-size: 11px; font-weight: 600; line-height: 1; }
.supro-assistant__launcher-symbol svg { width: 15px; height: 15px; }
.supro-assistant__launcher-motion { position: absolute; left: -8px; bottom: -3px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 11px; background: transparent; border: 0; border-radius: 50%; color: var(--sa-navy); }
.supro-assistant__launcher-motion::before { content: ""; position: absolute; inset: 6px; z-index: -1; background: #fff; border: 1px solid #c9d7df; border-radius: 50%; box-shadow: 0 2px 8px #24355914; }
.supro-assistant__launcher-motion:hover::before { background: #edf7fb; border-color: var(--sa-blue); }
.supro-assistant__launcher-motion svg { width: 19px; height: 19px; }
.supro-assistant__dialog { position: fixed; inset: auto max(24px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) auto; width: min(428px, calc(100vw - 32px)); max-width: none; height: min(800px, calc(100dvh - 40px)); max-height: calc(100dvh - 40px); margin: 0; padding: 0; border: 1px solid #d4dfe3; border-radius: 22px; background: #fff; color: var(--sa-ink); box-shadow: 0 24px 90px #14243b3b; overflow: hidden; font: inherit; }
.supro-assistant__dialog { z-index: 10030; }
.supro-assistant__dialog:not([open]) { display: none; }
.supro-assistant__dialog[open] { display: flex; flex-direction: column; }
.supro-assistant__dialog::backdrop { background: #24355933; }
.supro-assistant__header { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 17px 16px 17px 21px; background: var(--sa-navy); color: #fff; }
.supro-assistant__avatar--header { width: 43px; height: 43px; border: 1px solid #ffffff40; }
.supro-assistant__identity { min-width: 0; margin-right: auto; }
.supro-assistant .supro-assistant__identity h2 { margin: 0 0 3px; font: 600 15px/1.3 Inter, "Segoe UI", Arial, sans-serif; color: #fff; letter-spacing: -.02em; text-transform: none; }
.supro-assistant__identity p { margin: 0; font-size: 11px; line-height: 1.5; color: #d8e3ef; }
.supro-assistant__icon-button { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 40px; border: 0; border-radius: 7px; padding: 8px; color: #fff; background: transparent; }
.supro-assistant__icon-button:hover { background: #ffffff17; }
.supro-assistant__icon-button svg { width: 20px; height: 20px; }
.supro-assistant__mode { display: flex; align-items: center; justify-content: center; gap: 7px; flex: 0 0 auto; margin: 0; padding: 9px 12px; color: var(--sa-navy); background: #eef4e5; border-bottom: 1px solid #e0e9d4; font-size: 11px; font-weight: 500; text-align: center; }
.supro-assistant__mode > span { width: 5px; height: 5px; border: 1px solid #526c33; border-radius: 50%; }
.supro-assistant__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 23px 22px 20px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c8d3da transparent; }
.supro-assistant__welcome { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 149px; }
.supro-assistant__eyebrow { margin: 0 0 7px; color: var(--sa-muted); font-size: 11px; }
.supro-assistant .supro-assistant__welcome h3 { margin: 0 0 12px; color: var(--sa-navy); font: 600 30px/1.09 Inter, "Segoe UI", Arial, sans-serif; letter-spacing: -.05em; text-transform: none; }
.supro-assistant__video-link { display: inline-flex; gap: 6px; align-items: center; color: var(--sa-navy); text-decoration: none; font-size: 12px; font-weight: 500; }
.supro-assistant__video-link:hover { text-decoration: underline; }
.supro-assistant__video-link svg { width: 20px; height: 20px; color: var(--sa-navy); }
.supro-assistant__welcome-portrait { position: relative; flex: 0 0 103px; height: 143px; align-self: stretch; overflow: hidden; margin-top: 4px; background: #eaf2df; border-radius: 60px 60px 12px 12px; display: grid; place-items: center; }
.supro-assistant__portrait-fallback { position: absolute; color: var(--sa-navy); font-size: 25px; }
.supro-assistant__welcome-portrait > img { position: relative; display: block; align-self: end; width: auto; height: 138px; max-width: 100%; object-fit: contain; }
.supro-assistant__welcome-portrait > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.supro-assistant__motion-button { position: absolute; bottom: 6px; left: 6px; right: 6px; min-height: 27px; background: #fff; border: 1px solid #d1dce2; border-radius: 5px; font-size: 11px; color: var(--sa-navy); }
.supro-assistant__welcome-text { margin: 19px 0 15px; font-size: 14px; line-height: 1.7; color: var(--sa-muted); }
.supro-assistant__topics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px; }
.supro-assistant__topics button { display: grid; grid-template-columns: 22px 1fr 10px; align-items: start; gap: 8px; min-height: 68px; padding: 12px 10px; color: var(--sa-navy); background: #f5f8fa; border: 1px solid #dce5e9; border-radius: 10px; font-size: 13px; font-weight: 500; line-height: 1.45; text-align: left; transition: border-color .2s, background .2s; }
.supro-assistant__topics button:hover { border-color: var(--sa-blue); background: #eef8fc; }
.supro-assistant__topics svg { width: 21px; height: 21px; color: var(--sa-navy); }
.supro-assistant__topics button > span:last-child { align-self: end; }
.supro-assistant__services { margin-top: 13px; border: 1px solid #cbdcac; border-radius: 10px; overflow: hidden; }
.supro-assistant__services-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px; border: 0; background: #f1f6e9; color: var(--sa-navy); font-size: 12px; line-height: 1.5; text-align: left; }
.supro-assistant__services-toggle strong { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 600; }
.supro-assistant__services-toggle > span:last-child { font-size: 21px; }
.supro-assistant__service-options { display: grid; gap: 7px; padding: 0 10px 10px; background: #f9fbf5; }
.supro-assistant__service-options p { margin: 10px 2px 5px; color: var(--sa-muted); font-size: 12px; line-height: 1.6; }
.supro-assistant__service-options button { display: grid; gap: 3px; width: 100%; min-height: 62px; padding: 10px; border: 1px solid #dce5e9; border-radius: 7px; background: #fff; color: var(--sa-navy); line-height: 1.5; text-align: left; }
.supro-assistant__service-options button strong { font-size: 13px; font-weight: 600; }
.supro-assistant__service-options button span { font-size: 12px; color: var(--sa-muted); }
.supro-assistant__service-options button:hover { border-color: var(--sa-blue); background: #eef8fc; }
.supro-assistant__messages { display: flex; flex-direction: column; gap: 16px; }
.supro-assistant__messages:not(:empty) { margin-top: 23px; padding-top: 22px; border-top: 1px solid #e6ecef; }
.supro-assistant__message { max-width: 94%; font-size: 14px; }
.supro-assistant__message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.75; }
.supro-assistant__message-label { display: block; margin: 0 0 6px; color: var(--sa-muted); font-size: 11px; line-height: 1.5; font-weight: 500; }
.supro-assistant__message--assistant { align-self: flex-start; }
.supro-assistant__message--assistant p { padding: 13px 15px; border: 1px solid #e0e7ea; background: #f5f8fa; border-radius: 0 13px 13px 13px; color: var(--sa-navy); }
.supro-assistant__message--user { align-self: flex-end; }
.supro-assistant__message--user .supro-assistant__message-label { text-align: right; }
.supro-assistant__message--user p { padding: 11px 14px; background: var(--sa-navy); color: #fff; border-radius: 13px 0 13px 13px; }
.supro-assistant__suggestions { display: grid; gap: 7px; }
.supro-assistant__suggestions:not(:empty) { margin-top: 14px; }
.supro-assistant__suggestions button { padding: 10px 12px; border: 1px solid #c4d9e2; border-radius: 8px; color: var(--sa-navy); background: #fff; font-size: 13px; line-height: 1.5; text-align: left; }
.supro-assistant__suggestions button:hover { background: #edf7fb; border-color: var(--sa-blue); }
.supro-assistant__status { margin-top: 16px; padding: 12px; border: 1px solid #d7e3ea; border-radius: 9px; background: #f3f7fa; color: var(--sa-muted); }
.supro-assistant__status p { margin: 0; font-size: 12px; line-height: 1.6; }
.supro-assistant__status button { margin-top: 9px; padding: 6px 12px; border: 1px solid #a7bac6; border-radius: 5px; color: var(--sa-navy); background: #fff; font-size: 11px; }
.supro-assistant__status[data-state="loading"] p::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border: 2px solid #c7e6f2; border-top-color: var(--sa-blue); border-radius: 50%; animation: supro-assistant-spin .9s linear infinite; }
.supro-assistant__footer { flex: 0 0 auto; padding: 15px 21px 14px; border-top: 1px solid #dfe7eb; background: #fff; }
.supro-assistant__form { margin: 0; }
.supro-assistant__input-wrap { display: flex; align-items: flex-end; gap: 6px; padding: 5px; border: 1px solid #bbcbd4; border-radius: 11px; background: #fff; }
.supro-assistant__input-wrap:focus-within { border-color: var(--sa-blue); box-shadow: 0 0 0 2px #0ea5e41a; }
.supro-assistant textarea { flex: 1; min-width: 0; width: 100%; min-height: 44px; max-height: 108px; height: 44px; margin: 0; padding: 9px 7px; background: #fff; border: 0; border-radius: 4px; box-shadow: none; color: var(--sa-navy); resize: none; font: 400 16px/1.5 Inter, "Segoe UI", Arial, sans-serif; }
.supro-assistant textarea:focus-visible { outline-offset: -1px; outline-width: 1px; }
.supro-assistant textarea::placeholder { color: #607083; opacity: 1; }
.supro-assistant__input-wrap > button { display: grid; place-items: center; flex: 0 0 auto; width: 37px; height: 37px; padding: 9px; background: var(--sa-navy); color: #fff; border: 0; border-radius: 8px; }
.supro-assistant__input-wrap > button svg { width: 19px; height: 19px; }
.supro-assistant__input-info { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; color: #526174; font-size: 11px; line-height: 1.5; }
.supro-assistant__handoff { display: flex; gap: 10px; align-items: center; margin-top: 15px; color: var(--sa-navy); text-decoration: none; }
.supro-assistant__handoff > span:last-child { font-size: 11px; color: var(--sa-muted); }
.supro-assistant__handoff strong { display: block; margin-top: 2px; color: var(--sa-navy); font-size: 11px; font-weight: 600; }
.supro-assistant__handoff:hover strong { text-decoration: underline; }
.supro-assistant__handoff-dot { display: block; width: 7px; height: 7px; flex: 0 0 auto; border: 2px solid #749a49; border-radius: 50%; background: #edf4e4; }
.supro-assistant__handoff[data-highlight="true"] { padding: 10px; border: 1px solid #c3d7a3; border-radius: 8px; background: #f1f6e9; }
.supro-assistant__privacy { margin: 11px 0 0; color: #607083; font-size: 11px; line-height: 1.6; }
.supro-assistant__sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes supro-assistant-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .supro-assistant__launcher-dock { right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); width: 96px; height: 96px; }
  .supro-assistant__launcher { padding: 4px; }
  .supro-assistant__launcher-copy { display: grid; right: calc(100% + 10px); width: 168px; max-width: calc(100vw - 138px); padding: 10px 12px; }
  .supro-assistant__launcher-symbol { right: -4px; bottom: 1px; min-width: 43px; height: 28px; padding-inline: 6px; font-size: 10px; }
  .supro-assistant__launcher-symbol svg { width: 13px; height: 13px; }
  .supro-assistant__launcher-motion { left: -11px; bottom: -7px; }
  .supro-assistant__dialog { inset: auto 8px max(8px, env(safe-area-inset-bottom)) auto; width: calc(100vw - 16px); height: min(800px, calc(100dvh - 16px - env(safe-area-inset-bottom))); max-height: calc(100dvh - 16px - env(safe-area-inset-bottom)); border-radius: 18px; }
  .supro-assistant__header { padding: 13px 12px 13px 17px; gap: 9px; }
  .supro-assistant__scroll { padding: 18px; }
  .supro-assistant__footer { padding: 12px 17px; }
  .supro-assistant textarea { font-size: 16px; line-height: 1.35; }
  .supro-assistant__welcome-portrait { flex-basis: 94px; height: 134px; }
  .supro-assistant__welcome-portrait > img { height: 130px; }
}
@media (max-height: 580px) {
  .supro-assistant__dialog { height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); bottom: 8px; }
  .supro-assistant__header { padding-block: 9px; }
  .supro-assistant__footer { padding-block: 10px; }
  .supro-assistant__privacy { margin-top: 6px; }
  .supro-assistant__handoff { margin-top: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .supro-assistant *, .supro-assistant *::before { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* A visible second entry in the hero, also usable without hover. */
.supro-intro__chat { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
