/* Only the public assistant hero and return bar use these styles. */
.nhsa-hero, .nhsa-sticky { --nhsa-teal: #177f95; --nhsa-ink: #17303a; font-family: var(--font-sans, "Lexend Deca", system-ui, sans-serif); color: var(--nhsa-ink); }
.nhsa-hero { --nhsa-nav-height: 205px; position: relative; min-height: max(660px, calc(100svh - var(--nhsa-nav-height))); scroll-margin-top: var(--nhsa-nav-height); background: radial-gradient(ellipse at 14% 15%, rgba(47,182,211,.11), transparent 48%), radial-gradient(ellipse at 92% 85%, rgba(62,185,165,.1), transparent 48%), #f5fafb; border-bottom: 1px solid #d6ebee; }
.nhsa-hero.has-conversation { height: calc(100svh - var(--nhsa-nav-height)); min-height: 600px; }
.nhsa-hero [hidden], .nhsa-sticky[hidden] { display: none !important; }
.nhsa-hero *, .nhsa-sticky * { box-sizing: border-box; }
.nhsa-hero .ha-icon, .nhsa-sticky .ha-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.nhsa-welcome { width: min(1040px, 100%); min-height: inherit; padding: 28px 24px 20px; margin: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.nhsa-hero-badges { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; font-size: 14px; font-weight: 500; color: #256777; margin-bottom: 20px; }
.nhsa-brand-mark { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #bee3eb; border-radius: 14px; background: rgba(255,255,255,.8); box-shadow: 0 10px 28px -18px #177f95; }
.nhsa-guest { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid #cfe6ea; background: rgba(255,255,255,.66); border-radius: 999px; color: #32646d; font-size: 12px; }
.nhsa-guest .ha-icon { width: 15px; height: 15px; }
.nhsa-hero h1 { max-width: 930px; font-family: var(--font-display, "Geist", system-ui, sans-serif); font-size: clamp(38px, 4.2vw, 62px); line-height: 1.08; font-weight: 600; text-align: center; margin: 0 0 18px; }
.nhsa-hero h1 span { display: block; color: var(--nhsa-teal); }
.nhsa-intro { max-width: 770px; font-size: 17px; line-height: 1.75; color: #4d656e; text-align: center; margin: 0 0 26px; }
.nhsa-composer { width: 100%; max-width: 900px; padding: 18px 20px 13px; border: 1px solid #bcdce3; border-radius: 23px; background: rgba(255,255,255,.88); box-shadow: 0 22px 55px -30px rgba(27,101,119,.3), inset 0 1px 0 #fff; backdrop-filter: blur(18px); }
.nhsa-composer:focus-within { outline: 3px solid rgba(23,127,149,.2); outline-offset: 3px; }
.nhsa-composer textarea { display: block; resize: vertical; width: 100%; min-height: 55px; max-height: 150px; border: 0; background: transparent; font: inherit; color: #17303a; font-size: 17px; line-height: 1.7; padding: 0; outline: none; }
.nhsa-composer textarea::placeholder { color: #566f78; opacity: 1; }
.nhsa-composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nhsa-composer-bottom > span { display: flex; align-items: center; gap: 7px; color: #526b74; font-size: 12px; }
.nhsa-composer-bottom > span .ha-icon { width: 16px; height: 16px; }
.nhsa-composer-actions { display: flex; align-items: center; gap: 8px; }
.nhsa-hero .nhsa-composer button { width: 46px; height: 46px; border-radius: 13px; border: 1px solid #c8e1e7; background: #f3f9fa; color: #296f80; display: inline-flex; align-items: center; justify-content: center; }
.nhsa-hero .nhsa-composer .nhsa-send { color: #fff; background: var(--nhsa-teal); border-color: var(--nhsa-teal); }
.nhsa-composer button:hover { filter: brightness(.95); }
.nhsa-questions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; width: 100%; max-width: 900px; margin-top: 18px; }
.nhsa-hero .nhsa-questions a { display: flex; align-items: center; gap: 10px; border: 1px solid #d4e7eb; border-radius: 14px; min-height: 58px; padding: 12px 15px; font-size: 14px; font-weight: 500; line-height: 1.5; background: rgba(255,255,255,.64); box-shadow: 0 5px 16px -14px #386f7e; transition: background .15s, transform .15s; }
.nhsa-questions a:hover { background: #e9f6f8; transform: translateY(-1px); }
.nhsa-questions .ha-icon { color: var(--nhsa-teal); width: 18px; height: 18px; }
.nhsa-questions .ha-icon:last-child { width: 15px; height: 15px; margin-left: auto; }
.nhsa-safety { display: flex; align-items: center; justify-content: center; gap: 11px; margin-top: 18px; }
.nhsa-demo { display: inline-block; color: #765119; background: #fbefd8; border: 1px solid #e8d8b6; font-size: 12px; border-radius: 8px; padding: 4px 9px; white-space: nowrap; }
.nhsa-safety p { font-size: 12px; line-height: 1.75; color: #536b74; margin: 0; }
.nhsa-hero .nhsa-full-page { font-size: 12px; min-height: 32px; padding-top: 10px; color: #177f95; text-decoration: underline; }
.nhsa-conversation, .nhsa-frame-area { height: 100%; min-height: 0; }
.nhsa-frame-area iframe { display: block; width: 100%; height: 100%; border: 0; }
.nhsa-frame-status { position: absolute; top: 18%; left: 50%; transform: translateX(-50%); width: min(500px, calc(100% - 32px)); padding: 24px; border: 1px solid #c8e3e9; border-radius: 20px; background: #f5fbfc; box-shadow: 0 25px 60px -35px #39778a; text-align: center; font-size: 16px; z-index: 3; }
.nhsa-frame-status a { display: block; color: #177f95; text-decoration: underline; font-size: 14px; margin-top: 12px; }
.nhsa-frame-status button { min-height: 44px; padding: 9px 18px; border-radius: 10px; color: white; background: #177f95; font: inherit; }
.nhsa-hero :is(a, button, textarea):focus-visible, .nhsa-sticky:focus-visible { outline: 3px solid #177f95; outline-offset: 4px; }
.nhsa-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nhsa-sticky { position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 24; display: flex; align-items: center; justify-content: space-between; gap: 15px; width: min(450px, calc(100% - 170px)); min-height: 68px; padding: 11px 18px; border: 1px solid #bcdfe7; border-radius: 18px; background: rgba(248,253,254,.96); box-shadow: 0 14px 45px -20px rgba(14,75,91,.48); backdrop-filter: blur(18px); cursor: pointer; }
.nhsa-sticky > .ha-icon { color: #177f95; }
.nhsa-sticky > span { flex: 1; text-align: left; }
.nhsa-sticky strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.nhsa-sticky small { display: block; color: #536d76; font-size: 12px; margin-top: 3px; }
@media (max-height: 850px) and (min-width: 768px) { .nhsa-welcome { padding-top: 20px; padding-bottom: 16px; }.nhsa-hero-badges { margin-bottom: 12px; }.nhsa-intro { margin-bottom: 18px; }.nhsa-safety { margin-top: 12px; } }
@media (max-width: 767.98px) {
  .nhsa-hero { --nhsa-nav-height: 76px; min-height: calc(100svh - var(--nhsa-nav-height)); }
  .nhsa-hero.has-conversation { min-height: min(700px, calc(100svh - var(--nhsa-nav-height))); }
  .nhsa-welcome { padding: 25px 18px 22px; }
  .nhsa-hero-badges { font-size: 12px; gap: 8px; margin-bottom: 19px; }.nhsa-brand-mark { width: 34px; height: 34px; border-radius: 11px; }.nhsa-guest { font-size: 11px; }
  .nhsa-hero h1 { font-size: clamp(34px, 8.8vw, 44px); line-height: 1.12; margin-bottom: 17px; }
  .nhsa-intro { font-size: 15px; line-height: 1.7; margin-bottom: 22px; }
  .nhsa-composer { padding: 15px 14px 10px; border-radius: 19px; }.nhsa-composer textarea { font-size: 16px; min-height: 70px; }.nhsa-composer-bottom > span { font-size: 10px; max-width: 150px; }.nhsa-composer-bottom > span .ha-icon { display: none; }
  .nhsa-questions { gap: 8px; margin-top: 15px; }.nhsa-hero .nhsa-questions a { padding: 11px; gap: 7px; font-size: 12px; min-height: 86px; }.nhsa-questions .ha-icon:first-child { display: none; }.nhsa-questions .ha-icon:last-child { width: 13px; }
  .nhsa-safety { flex-direction: column; gap: 7px; margin-top: 15px; }.nhsa-safety p { font-size: 11px; text-align: center; }.nhsa-full-page { font-size: 11px; }
  .nhsa-sticky { left: 12px; right: 80px; transform: none; width: auto; gap: 10px; padding: 11px 13px; min-height: 62px; border-radius: 16px; }.nhsa-sticky strong { font-size: 12px; }.nhsa-sticky small { font-size: 10px; }.nhsa-sticky > .ha-icon:last-child { display: none; }
}
@media (prefers-reduced-motion: no-preference) { .nhsa-conversation { animation: nhsa-reveal .22s ease-out; } @keyframes nhsa-reveal { from { opacity: .4; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } }
