@font-face {
  font-family: Manrope;
  src: url('/assets/Manrope-Variable.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --ink: #122637;
  --muted: #4f6374;
  --page: #f2f6f9;
  --paper: #fff;
  --line: #d8e3eb;
  --green: #00766b;
  --green-hover: #005e56;
  --deep: #153347;
  --mint: #e0f4f0;
  --cream: #faf0e8;
  --blue: #e6f1fa;
  --cover-bg: #e2f2f8;
  --error: #9b302c;
  --safe-top: env(safe-area-inset-top, 0px);
  font: 100%/1.5 Manrope, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  color-scheme: light;
  color-scheme: light only;
}
:root.max-embedded { --safe-top: 0px; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a { color: var(--green); text-underline-offset: .2em; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2365ad; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.9rem, 5.8vw, 3.15rem); font-weight: 780; letter-spacing: -.04em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(1.23rem, 3.8vw, 1.62rem); line-height: 1.2; font-weight: 760; letter-spacing: -.03em; }
h3 { font-size: 1.03rem; line-height: 1.25; font-weight: 620; }
h1[tabindex]:focus, h2[tabindex]:focus { outline: none; }
p + p { margin-top: .65rem; }
svg { flex-shrink: 0; vertical-align: middle; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); border: 0; white-space: nowrap; }
.skip:focus { position: fixed; top: .5rem; left: .5rem; z-index: 10; background: var(--paper); padding: .7rem; }
.top { background: var(--paper); border-bottom: 1px solid var(--line); padding-top: var(--safe-top); }
.top-inner { min-height: 4.65rem; max-width: 73rem; padding: .55rem 1rem; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.brand { display: inline-flex; gap: .62rem; align-items: center; color: var(--deep); font-size: 1.18rem; font-weight: 720; letter-spacing: -.036em; text-decoration: none; line-height: 1.1; min-height: 44px; }
.brand small { display: block; color: var(--muted); font-size: .73rem; letter-spacing: 0; font-weight: 470; margin-top: .24rem; }
.brand-mark { width: 2.55rem; height: 2.55rem; display: grid; place-items: center; border-radius: .78rem .78rem .33rem .78rem; flex: 0 0 auto; background: linear-gradient(145deg, var(--green), var(--green-hover)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%); }
.brand-mark::before, .brand-mark::after { content: ''; grid-area: 1 / 1; background: #fff; border-radius: 2px; }
.brand-mark::before { width: .35rem; height: 1.21rem; }
.brand-mark::after { width: 1.21rem; height: .35rem; }
@media (prefers-reduced-motion: no-preference) {
  .brand-mark::before { animation: brand-vertical .36s cubic-bezier(.2,.8,.2,1) both; }
  .brand-mark::after { animation: brand-horizontal .38s .06s cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes brand-vertical { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
@keyframes brand-horizontal { from { transform: scaleX(.15); } to { transform: scaleX(1); } }
.branch { display: none; color: var(--muted); font-size: .86rem; }
.icon-button { min-height: 44px; min-width: 44px; border-radius: .74rem; border: 1px solid var(--line); background: var(--paper); font-weight: 670; padding: .42rem; }
.icon-button[aria-expanded="true"] { background: var(--green); color: #fff; }
.display-setting { cursor: pointer; font-size: .9rem; }
main { width: min(100%, 73rem); padding: 1.55rem 1rem calc(6.8rem + env(safe-area-inset-bottom)); margin-inline: auto; }
.loading { padding-top: 2rem; }
.welcome { display: flex; justify-content: space-between; align-items: start; gap: .4rem; margin-bottom: .75rem; }
.location { display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; min-height: 44px; color: var(--muted); background: transparent; border: 0; padding: 0; font-size: .84rem; text-align: start; }
.location:hover span { text-decoration: underline; text-underline-offset: .2em; }
.location svg { color: var(--green); }
.demo-tag { border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--muted); font-size: .73rem; font-weight: 570; padding: .2rem .6rem; flex-shrink: 0; }
.card-layout, .profile-secondary, .front-layout { display: grid; gap: .75rem; min-width: 0; }
.front-slides { display: grid; grid-template-columns: minmax(0, 1fr); touch-action: pan-y pinch-zoom; }
.front-slide { position: relative; isolation: isolate; display: flex; align-items: center; grid-area: 1 / 1; min-width: 0; min-height: clamp(13.75rem, 59vw, 15.2rem); padding: 1rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.1rem; background: linear-gradient(125deg,var(--slide-start),var(--slide-end)); color: var(--slide-ink); opacity: 0; visibility: hidden; }
.front-slide[data-active="true"] { opacity: 1; visibility: visible; animation: slide-arrives .18s ease-out both; }
@keyframes slide-arrives { from { opacity: .65; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .front-slide[data-active="true"] { animation: none; } }
.slide-offer { --slide-start: #d9f6e9; --slide-end: #b6e9dd; --slide-ink: #103e35; }
.slide-checkup { --slide-start: #e8f0ff; --slide-end: #cdddf8; --slide-ink: #193960; }
.slide-feedback { --slide-start: #ffefe5; --slide-end: #f4d9cb; --slide-ink: #633a29; }
.slide-copy { position: relative; z-index: 1; min-width: 0; max-width: min(100%, 32rem); overflow-wrap: anywhere; }
.slide-label { font-size: .8rem; font-weight: 780; }
.slide-copy h2 { font-size: clamp(1.56rem,5.6vw,2.8rem); max-width: 18ch; line-height: 1.08; margin: .3rem 0 .5rem; }
.slide-copy p { font-size: .84rem; max-width: 30ch; }
.slide-copy .btn { margin-top: .7rem; }
.offer-prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .65rem; margin-top: .4rem; font-variant-numeric: tabular-nums; }
.offer-prices del { font-size: .87rem; font-weight: 650; opacity: .8; }
.slide-price { font-size: clamp(1.35rem,4vw,1.8rem); }
.slide-art { position: absolute; display: grid; place-items: center; width: clamp(7rem,22vw,14rem); aspect-ratio: 1; right: clamp(-3rem,-4vw,-.2rem); bottom: -12%; color: var(--slide-ink); border-radius: 50%; border: 1px solid currentColor; opacity: .12; transform: rotate(-14deg); pointer-events: none; }
.slide-art svg { width: 48%; height: auto; }
.carousel-controls { display: flex; justify-content: space-between; align-items: center; min-width: 0; }
.carousel-dots, .carousel-arrows { display: flex; }
.carousel-button, .carousel-dot { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; background: transparent; color: var(--green); border: 1px solid transparent; border-radius: .62rem; }
.carousel-button:hover, .carousel-dot:hover { background: var(--mint); }
.carousel-dot span { width: .43rem; height: .43rem; border-radius: 50%; background: var(--line); }
.carousel-dot[aria-current="true"] span { background: var(--green); width: .95rem; border-radius: .5rem; }
.carousel-button.previous svg { transform: rotate(180deg); }
.front-door { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem; min-width: 0; }
.front-entry { display: grid; align-content: start; gap: .5rem; padding: .7rem; min-width: 0; border: 1px solid var(--line); border-radius: .9rem; color: var(--ink); text-decoration: none; text-align: left; overflow-wrap: anywhere; background: var(--paper); }
.front-entry:hover { border-color: var(--green); }
.front-book { background: var(--mint); }
.front-book .tile-icon { background: var(--paper); }
.front-entry > svg { display: none; color: var(--green); }
.front-entry strong { display: block; font-weight: 780; line-height: 1.22; }
.front-entry small { display: block; color: var(--muted); margin-top: .22rem; font-size: .77rem; }
.high-contrast .front-slide { --slide-start: var(--paper); --slide-end: var(--paper); --slide-ink: var(--ink); }
#visit-score fieldset { border: 0; padding: 0; margin: 0 0 .65rem; min-width: 0; }
#visit-score legend { font-size: .86rem; margin-bottom: .35rem; }
.score-scale { display: grid; grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); gap: .35rem; }
.score-scale label { position: relative; cursor: pointer; }
#visit-score .score-scale input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; padding: 0; margin: 0; }
.score-scale span { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: .55rem; }
.score-scale input:checked + span { background: var(--green); color: #fff; }
.score-scale input:focus-visible + span { outline: 3px solid #2365ad; outline-offset: 2px; }
#visit-score .btn { margin-top: .6rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .59rem .92rem; border: 1px solid transparent; border-radius: .65rem; font-weight: 620; font-size: .88rem; line-height: 1.3; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.primary { background: var(--green); color: #fff; }
.primary:hover { background: var(--green-hover); }
.white { background: var(--paper); color: var(--deep); }
.white:hover { background: var(--mint); }
.secondary { background: var(--mint); color: var(--deep); border-color: var(--line); }
.quiet, .text { background: transparent; color: var(--green); }
.quiet { border-color: var(--line); }
.text { padding-inline: 0; }
.text:hover { text-decoration: underline; text-underline-offset: .2em; }
.secondary:hover, .quiet:hover, .icon-button:hover { border-color: var(--green); }
.muted, .item-text span { color: var(--muted); }
.tile-icon, .avatar { width: 2.65rem; height: 2.65rem; border-radius: .75rem; background: var(--mint); color: var(--green); display: inline-grid; place-items: center; flex-shrink: 0; }
.tile-icon.warm { background: var(--cream); color: #693f24; }
.tile-icon.blue { background: var(--blue); color: #254d64; }
.section { margin-top: 1.35rem; }
.section-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem .6rem; margin-bottom: .45rem; min-height: 2.35rem; }
.categories { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; }
.category { display: flex; width: 100%; text-align: start; align-items: center; gap: .65rem; padding: .65rem .75rem; font-weight: 650; }
.category span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.category:hover { border-color: var(--green); }
.help-entry { display: flex; align-items: center; gap: .75rem; padding: .72rem .85rem; text-decoration: none; color: var(--ink); }
.help-entry > span:nth-child(2) { min-width: 0; flex: 1; }
.help-entry small { display: block; font-size: .83rem; color: var(--muted); }
.help-entry:hover { border-color: var(--green); }
.home-contact { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: .65rem 1rem; padding: .88rem; margin-top: 1.35rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); color: var(--muted); }
.home-contact-info { flex: 1 1 13rem; min-width: 0; }
.home-contact-info > strong { display: block; font-size: .8rem; font-weight: 690; }
.home-contact-info > a { display: inline-flex; align-items: center; gap: .42rem; min-height: 44px; max-width: 100%; color: var(--deep); font-size: 1.08rem; font-weight: 740; text-decoration: none; overflow-wrap: anywhere; }
.home-contact-info > a:hover { text-decoration: underline; }
.home-contact-info > a svg { color: var(--green); }
.home-contact-info > p { font-size: .79rem; }
.home-access { flex: 1 1 15rem; min-width: 0; max-width: 24rem; }
.home-access summary { display: flex; align-items: center; gap: .5rem; min-height: 44px; padding: .35rem .48rem; border: 1px solid var(--line); border-radius: .65rem; font-size: .82rem; font-weight: 710; color: var(--ink); cursor: pointer; list-style: none; }
.home-access summary::-webkit-details-marker { display: none; }
.home-access summary > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.home-access summary > svg { color: var(--green); }
.home-access[open] summary > svg { transform: rotate(90deg); }
.home-access summary:hover { border-color: var(--green); }
.access-glyph { display: grid; place-items: center; min-width: 1.8rem; min-height: 1.8rem; padding-inline: .2rem; border-radius: .4rem; background: var(--mint); color: var(--green); }
.home-access-controls { padding: .2rem .48rem 0; }
.test-notice { margin-top: .85rem; }
#navigation { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); align-items: stretch; padding: .28rem .2rem calc(.35rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
#navigation a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .21rem; font-size: clamp(.7rem, 2.85vw, .75rem); font-weight: 540; color: var(--muted); text-decoration: none; min-height: 50px; border-radius: .75rem; padding: .25rem .1rem; overflow-wrap: anywhere; }
#navigation a[aria-current="page"] { color: var(--deep); background: var(--mint); font-weight: 710; }
#navigation a:hover { color: var(--green); }
.page-heading { margin: .4rem 0 1.3rem; }
.page-heading p { max-width: 48rem; margin-top: .65rem; color: var(--muted); }
.content-panel, .locked { padding: clamp(.9rem, 3vw, 1.5rem); min-width: 0; }
.content-panel > p, .locked p, .content-panel > :is(a, button, form) { margin-top: .7rem; }
.content-panel > .tile-icon + h2, .locked > .tile-icon + h2 { margin-top: .7rem; }
.locked { max-width: 35rem; }
.locked form { margin-top: 1.1rem; }
.locked label, .field label { font-weight: 620; display: block; margin-bottom: .3rem; }
.locked #code { max-width: 13.75rem; font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .14em; }
.locked #connect-hint { margin-top: .48rem; }
.field { margin-bottom: .7rem; }
.form-line { display: flex; gap: .55rem; flex-wrap: wrap; align-items: center; }
.form-line input { flex: 1 1 9rem; }
input:not([type="checkbox"]), textarea { display: block; width: 100%; border: 1px solid #aab9b0; border-radius: .65rem; padding: .53rem .72rem; min-height: 44px; background: var(--paper); color: var(--ink); min-width: 0; }
input[type="hidden"] { display: none; }
::placeholder { color: var(--muted); opacity: 1; }
.search-box { position: relative; }
.search-box > svg { position: absolute; top: 11px; left: .68rem; pointer-events: none; color: var(--green); }
.search-box input { padding-left: 2.3rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: .8rem 0; }
.chip { border: 1px solid var(--line); border-radius: .64rem; background: var(--paper); min-height: 44px; padding: .42rem .76rem; font-size: .85rem; font-weight: 570; }
.chip[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.chip:hover { border-color: var(--green); }
.item { display: flex; width: 100%; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .68rem 0; border-bottom: 1px solid var(--line); text-align: start; }
.item-text { flex: 1 1 9rem; display: grid; gap: .17rem; min-width: 0; overflow-wrap: anywhere; }
.item-text strong { font-weight: 630; }
.item-text span, .muted { font-size: .88rem; }
.item-button { border: 0; width: 100%; background: transparent; padding: 0; }
.item-button:hover .item-text strong { text-decoration: underline; }
.item-button .item-text { flex-basis: 5rem; }
.item-button .item { flex-wrap: nowrap; }
.service-entry { display: block; color: var(--ink); text-decoration: none; }
.service-entry .item { min-height: 4.3rem; }
.service-entry .item > svg { color: var(--green); }
#services .service-entry:last-child .item, .doctor-list .item-button:last-child .item { border-bottom: 0; }
.avatar { font-weight: 730; }
.notice { background: var(--page); padding: .65rem .8rem; border-radius: .65rem; margin: .8rem 0; color: var(--muted); }
.form-error { color: var(--error); font-size: .86rem; margin-top: .45rem; overflow-wrap: anywhere; }
.form-error:empty { display: none; }
.clinic-details { margin-bottom: .8rem; }
.success { color: var(--green); }
.checkbox { display: flex; gap: .6rem; align-items: center; min-height: 44px; }
input[type="checkbox"] { width: 1.23rem; height: 1.23rem; accent-color: var(--green); flex: 0 0 auto; }
dialog { position: fixed; inset: 0; margin: auto; width: min(calc(100% - 1.25rem), 31rem); max-width: none; max-height: min(86vh, 42rem); max-height: min(86dvh, 42rem); padding: 1.05rem; border: 1px solid var(--line); border-radius: 1rem; color: var(--ink); background: var(--paper); overflow: auto; }
dialog::backdrop { background: rgb(18 38 55 / 34%); }
.dialog-top { display: flex; gap: .55rem; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.booking-summary { display: flex; gap: .7rem; background: var(--mint); padding: .8rem; margin-bottom: .8rem; border-radius: .75rem; }
.booking-summary > div { min-width: 0; overflow-wrap: anywhere; }
.booking-summary p { margin-top: .22rem; }
.booking-flow { width: min(100%, 43rem); margin-inline: auto; }
.booking-flow-top { display: flex; align-items: center; justify-content: space-between; gap: .28rem .55rem; flex-wrap: wrap; margin-bottom: .85rem; }
.booking-flow-top > span { color: var(--muted); font-size: .8rem; font-weight: 630; }
.back-arrow { display: inline-flex; transform: rotate(180deg); }
.booking-flow .doctor-list .item { min-height: 4.4rem; }
.booking-flow .times-title { margin-top: 1rem; }
.booking-flow .booking-submit { width: 100%; }
.booking-flow .content-panel > .text { margin-inline: .75rem; }
dialog form .form-line .text { margin-top: 0; }
dialog p + form, dialog p + .btn, dialog > .btn, dialog form .text { margin-top: .6rem; }
.dates { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .35rem; margin-top: .7rem; }
.date { display: grid; text-align: center; min-width: 0; padding-inline: .34rem; overflow-wrap: anywhere; }
.date span { font-size: .77em; }
.booking-start { width: min(100%, 49rem); margin-inline: auto; }
.booking-heading { display: flex; align-items: center; flex-wrap: wrap; column-gap: .65rem; row-gap: .33rem; margin-bottom: .7rem; }
.booking-heading .page-heading { margin: 0; }
.booking-variants { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .2rem; max-width: 33rem; margin-bottom: .85rem; padding: .24rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--paper); }
.booking-variants a { display: grid; place-items: center; min-height: 44px; min-width: 0; padding: .28rem .18rem; border-radius: .62rem; color: var(--muted); font-size: .84rem; font-weight: 740; text-align: center; text-decoration: none; overflow-wrap: anywhere; }
.booking-variants a[aria-current="page"] { background: var(--green); color: #fff; }
.booking-variants a:hover:not([aria-current]) { background: var(--mint); color: var(--ink); }
.booking-intro { display: flex; align-items: center; gap: .78rem; padding: .9rem; margin-bottom: .75rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--mint); }
.booking2 .booking-intro { background: var(--cover-bg); }
.booking3 .booking-intro { background: var(--deep); border-color: var(--deep); color: #fff; }
.booking-intro .tile-icon { background: var(--paper); color: var(--green); }
.booking-intro > div { min-width: 0; }
.booking-intro h2 { margin: 0; font-size: 1.15rem; }
.booking-intro p { margin-top: .25rem; font-size: .83rem; }
.booking-start .booking-content { margin: 0; padding: .85rem; }
.booking-content > h2, .booking-list-title { font-size: 1.03rem; }
.booking-list-title { margin: .95rem 0 .52rem; }
.service-categories { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,8.2rem),1fr)); gap: .36rem; margin: .6rem 0 .25rem; }
.service-categories .chip { display: flex; align-items: center; gap: .34rem; min-width: 0; padding-inline: .48rem; text-align: start; overflow-wrap: anywhere; }
.service-categories .chip svg { color: var(--green); }
.service-categories .chip[aria-pressed="true"] svg { color: inherit; }
.doctor-directory { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,17.5rem),1fr)); gap: .52rem; }
.directory-entry { display: flex; gap: .65rem; align-items: center; width: 100%; min-height: 4.45rem; padding: .62rem .68rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--page); text-align: start; }
.directory-entry:hover { border-color: var(--green); }
.directory-entry > svg { color: var(--green); }
.directory-copy { display: grid; flex: 1; min-width: 0; gap: .18rem; overflow-wrap: anywhere; line-height: 1.26; }
.directory-copy > span { font-size: .82rem; color: var(--muted); }
.directory-selection { display: flex; gap: .65rem; align-items: center; padding: .78rem; margin-top: .45rem; background: var(--cover-bg); border-radius: .75rem; overflow-wrap: anywhere; }
.directory-selection h2 { font-size: 1.11rem; margin: 0; }
.directory-selection p { margin-top: .23rem; }
.directory-services .service-entry:last-child .item { border-bottom: 0; }
.booking3 .dates .date { padding-block: .38rem; }
.quick-day-heading { margin: 1rem 0 .55rem; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .15rem .55rem; }
.quick-day-heading h2 { font-size: 1rem; }
.quick-day-heading h2::first-letter { text-transform: uppercase; }
.quick-day-heading span { font-size: .78rem; color: var(--muted); }
.quick-result { padding: .68rem; margin-bottom: .52rem; background: var(--page); border: 1px solid var(--line); border-radius: .76rem; }
.quick-result:last-child { margin-bottom: 0; }
.quick-result-head { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: start; gap: .45rem; }
.quick-result-head .tile-icon { width: 2.1rem; height: 2.1rem; }
.quick-result h3 { font-size: .95rem; line-height: 1.22; overflow-wrap: anywhere; }
.quick-result p { margin-top: .25rem; font-size: .77rem; color: var(--muted); }
.quick-result-head > strong { color: var(--deep); font-size: .85rem; }
.quick-slots { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .52rem; }
.quick-slots .chip { color: var(--green); min-width: 4rem; }
.large-text .quick-result-head { grid-template-columns: auto minmax(0,1fr); }
.large-text .quick-result-head > strong { grid-column: 2; }
.patient-profile { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; padding: .95rem; margin-bottom: .85rem; background: var(--mint); border: 1px solid var(--line); border-radius: 1rem; }
.patient-profile .avatar { width: 3rem; height: 3rem; color: #fff; background: var(--green); border-radius: 50%; }
.patient-profile > div { flex: 1 1 9rem; min-width: 0; }
.patient-profile h1 { font-size: clamp(1.55rem, 5.9vw, 2.55rem); }
.patient-profile p { margin-top: .28rem; font-size: .84rem; color: var(--muted); }
.patient-profile .profile-links { display: flex; flex: 0 1 auto; gap: .45rem; flex-wrap: wrap; }
.tester-code { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .7rem; }
.tester-code input { width: auto; flex: 1 1 9rem; font-variant-numeric: tabular-nums; }
.profile-primary { display: grid; align-content: start; gap: .75rem; min-width: 0; }
.profile-schedule > header { display: flex; align-items: center; gap: .65rem; margin-bottom: .7rem; }
.profile-schedule header h2 { margin-bottom: 0; }
.profile-schedule header p { margin-top: .2rem; color: var(--muted); font-size: .78rem; }
.profile-dose { padding: .72rem; border: 1px solid var(--line); background: var(--mint); border-radius: .85rem; overflow-wrap: anywhere; }
.profile-dose + .profile-dose { margin-top: .55rem; }
.profile-dose p { margin-top: .23rem; }
.dose-times { display: flex; flex-wrap: wrap; gap: .38rem; margin-top: .58rem; }
.dose-times time { display: inline-flex; align-items: center; gap: .35rem; padding: .33rem .55rem; background: var(--paper); color: var(--green); border: 1px solid var(--line); border-radius: .56rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.chat-reminders { border-top: 1px solid var(--line); margin-top: .8rem; padding-top: .72rem; }
.chat-reminders > p { margin: .4rem 0 0; }
.chat-reminders form { margin-top: .3rem; }
.chat-reminders > .btn { margin-top: .55rem; }
.reminder-preview { padding: .85rem; background: var(--mint); border: 1px solid var(--line); border-radius: .8rem .8rem .8rem .18rem; }
.reminder-preview p { margin: .35rem 0 .65rem; }
.profile-data { margin: 0; }
.profile-data > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .08rem .75rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.profile-data > div:last-child { border-bottom: 0; }
.profile-data dt { color: var(--muted); }
.profile-data dd { margin: 0; font-weight: 680; overflow-wrap: anywhere; }
.medical-cover { position: relative; isolation: isolate; display: grid; align-items: end; min-height: 11.6rem; overflow: hidden; border-radius: 1.16rem; background: var(--cover-bg); border: 1px solid var(--line); }
.medical-cover-content { z-index: 1; position: relative; width: 62%; padding: .95rem .3rem 1.1rem .95rem; }
.medical-cover h1 { font-size: clamp(1.925rem, 7vw, 3.8rem); text-wrap: initial; }
.medical-cover p { margin-top: .48rem; font-size: .94rem; font-weight: 590; color: var(--muted); max-width: 25ch; }
.medical-cover .cover-patient { color: var(--deep); font-weight: 700; }
.medical-cover img { width: 54%; height: 100%; position: absolute; inset: 0 0 0 auto; object-fit: cover; object-position: 52% center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 23%); mask-image: linear-gradient(90deg, transparent, #000 23%); }
.medical-cover .demo-tag { position: absolute; z-index: 1; top: .6rem; right: .6rem; }
.medical-connect { display: grid; gap: .85rem; align-items: start; }
.medical-connect .locked { max-width: none; }
.medical-connect .locked > .btn { margin-top: .7rem; }
.medical-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); gap: .6rem; margin-top: .65rem; }
.overview-tile { border: 1px solid var(--line); border-radius: .95rem; background: var(--paper); text-decoration: none; text-align: start; color: var(--ink); display: grid; align-content: start; gap: .45rem; padding: .65rem; min-width: 0; }
.overview-tile:hover { border-color: var(--green); }
.overview-tile > svg { display: none; color: var(--green); }
.overview-appointment { background: var(--mint); }
.overview-appointment .tile-icon { background: var(--paper); }
.overview-copy { display: grid; align-content: start; min-width: 0; gap: .16rem; overflow-wrap: anywhere; }
.overview-copy > span, .overview-copy small { color: var(--muted); font-size: .73rem; font-weight: 590; }
.overview-copy strong { font-size: clamp(.92rem,3.5vw,1.17rem); font-weight: 780; line-height: 1.23; }
.medical-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1.25rem; margin-top: 1.25rem; }
.history-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .32rem .58rem; margin-bottom: .7rem; }
.history-heading h2 { margin: 0; }
.history-filter-button { display: inline-flex; align-items: center; gap: .37rem; min-height: 44px; padding: .3rem .58rem; border: 1px solid var(--line); border-radius: .68rem; background: var(--paper); color: var(--green); font-size: .78rem; font-weight: 720; }
.history-filter-button:hover { border-color: var(--green); }
.history-filter-options { display: grid; gap: .38rem; }
.history-filter-options button { display: grid; grid-template-columns: auto minmax(0,1fr) auto 1rem; align-items: center; gap: .5rem; width: 100%; min-height: 44px; padding: .46rem; border: 1px solid var(--line); border-radius: .68rem; background: var(--paper); text-align: start; }
.history-filter-options button[aria-pressed="true"], .history-filter-options button:hover { border-color: var(--green); background: var(--mint); }
.history-filter-options button > small { color: var(--muted); font-variant-numeric: tabular-nums; }
.history-filter-options button > svg { color: var(--green); }
.history-empty { padding: 1rem; }
.history-empty h3 { margin: .6rem 0 .3rem; }
.history-empty p { color: var(--muted); max-width: 42ch; }
.past-history { display: grid; gap: .9rem; }
.history-day { display: grid; grid-template-columns: minmax(0, 1fr); gap: .4rem; }
.history-day h3 { display: flex; align-items: center; gap: .5rem; margin: 0; color: var(--muted); font-size: .84rem; font-weight: 735; }
.history-day h3::before { content: ''; width: .47rem; height: .47rem; flex: 0 0 auto; border-radius: 50%; background: var(--green); }
.history-items { display: grid; min-width: 0; padding-inline: .56rem; border: 1px solid var(--line); border-radius: .86rem; background: var(--paper); }
.history-record { min-width: 0; }
.history-record + .history-record { border-top: 1px solid var(--line); }
.history-item { display: flex; align-items: center; gap: .59rem; width: 100%; min-height: 4.6rem; padding: .55rem .16rem; background: transparent; color: var(--ink); text-align: start; text-decoration: none; }
button.history-item { border: 0; border-radius: inherit; }
.history-item:hover strong { text-decoration: underline; }
.history-item > svg { color: var(--green); }
.history-item-text { flex: 1; min-width: 0; display: grid; gap: .17rem; overflow-wrap: anywhere; }
.history-item-text strong { font-size: 1rem; font-weight: 650; line-height: 1.27; }
.history-item-text > span { font-size: .8rem; color: var(--muted); }
.history-item-text .record-meta { display: flex; flex-wrap: wrap; gap: .16rem .48rem; font-size: .74rem; color: var(--green); font-weight: 650; }
.record-meta span { color: var(--muted); font-weight: 500; }
.record-meta span::before { content: '·'; margin-right: .48rem; }
.medical-dialog { width: min(calc(100% - 1.2rem), 34rem); }
.medical-dialog .dialog-top { position: sticky; top: 0; z-index: 1; align-items: flex-start; padding: .22rem 0 .6rem; margin-bottom: .35rem; background: var(--paper); }
.medical-dialog .dialog-top h2 { min-width: 0; padding-top: .22rem; overflow-wrap: anywhere; }
.medical-dialog .dialog-top .icon-button { flex: 0 0 auto; }
.document-dialog-meta { display: flex; gap: .6rem; align-items: center; padding: .7rem; border-radius: .8rem; background: var(--page); }
.document-dialog-meta > div { min-width: 0; overflow-wrap: anywhere; }
.document-dialog-meta > div > * { display: block; }
.document-dialog-meta > div strong { color: var(--green); font-size: .82rem; }
.document-dialog-meta > div span { color: var(--muted); font-size: .83rem; }
.document-dialog-body { display: grid; gap: .58rem; padding-block: .8rem .35rem; overflow-wrap: anywhere; }
.document-dialog-body section { padding: .54rem .65rem; border: 1px solid var(--line); border-radius: .7rem; }
.document-dialog-body h3 { font-size: .85rem; color: var(--muted); margin-bottom: .2rem; }
.document-dialog-body p { margin: 0; }
.lab-measurements { display: grid; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.lab-measurement { padding: .7rem; border: 1px solid var(--line); border-radius: .76rem; min-width: 0; }
.lab-measurement h3 { margin: 0 0 .22rem; }
.lab-reading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .2rem .55rem; }
.lab-reading > strong { font-size: 1.25rem; font-weight: 780; font-variant-numeric: tabular-nums; line-height: 1.25; }
.lab-reading small { font-size: .8rem; color: var(--muted); font-weight: 650; }
.lab-status { display: inline-flex; align-items: center; gap: .18rem; padding: .2rem .42rem; border-radius: .45rem; background: var(--mint); color: var(--green); font-size: .72rem; font-weight: 750; }
.lab-track { position: relative; height: .42rem; margin: .6rem 0 .36rem; border-radius: 1rem; background: linear-gradient(to right, var(--line) 18%, #79bcac 18% 82%, var(--line) 82%); }
.lab-track span { position: absolute; inset: 50% auto auto var(--lab-marker, 50%); transform: translate(-50%, -50%); width: .72rem; height: .72rem; border: 2px solid var(--paper); border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.lab-reference { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .08rem .5rem; color: var(--muted); font-size: .75rem; }
.lab-reference strong { font-weight: 740; }
.lab-measurement[data-in-range="false"] .lab-status { background: var(--cream); color: var(--error); }
.lab-measurement[data-in-range="false"] .lab-track span { background: var(--error); box-shadow: 0 0 0 1px var(--error); }
.document-dialog-actions { border-top: 1px solid var(--line); padding-top: .65rem; margin-top: .45rem; }
.medical-actions { padding: .9rem; }
.medical-actions h2 { font-size: 1.12rem; margin-bottom: .32rem; }
.medical-action { width: 100%; display: flex; align-items: center; gap: .55rem; background: transparent; border: 0; border-radius: .5rem; padding: .3rem .05rem; color: var(--ink); text-decoration: none; text-align: start; font-size: .86rem; font-weight: 600; min-height: 44px; }
.medical-action:hover { color: var(--green); text-decoration: underline; text-underline-offset: .2em; }
.medical-action > span:nth-child(2) { flex: 1; min-width: 0; }
.medical-action .tile-icon { width: 2.2rem; height: 2.2rem; }
.medical-action + .medical-action { border-top: 1px solid var(--line); }
.assistant { width: min(100%, 43rem); margin-inline: auto; display: grid; gap: .72rem; }
.assistant-stage {
  --assistant-glow: #85f4da;
  display: grid; justify-items: center; isolation: isolate; position: relative; overflow: hidden;
  padding: .95rem .95rem .8rem; border-radius: 1.2rem; border: 1px solid #255b67; color: #f0fffc;
  background: radial-gradient(ellipse at 50% 44%, #175760 0, #103342 43%, #0d2330 79%);
}
.assistant-stage-top { width: 100%; display: flex; align-items: start; justify-content: space-between; gap: .4rem; position: relative; z-index: 1; }
.assistant-stage h1 { text-wrap: initial; font-size: clamp(1.57rem, 5.6vw, 2.65rem); }
.assistant-stage-top p { margin-top: .32rem; font-size: .79rem; color: #c5e7e6; }
.assistant-motion { display: grid; place-items: center; min-width: 44px; min-height: 44px; flex: 0 0 auto; border: 1px solid #81adba; border-radius: .73rem; color: #e0fffe; background: #173e4a; }
.assistant-stage :focus-visible { outline-color: #a0fff0; }
.assistant-scene {
  position: relative; display: grid; place-items: center; width: min(100%, 20rem);
  height: clamp(12.4rem, 57vw, 15.5rem); perspective: 36rem; transform-style: preserve-3d; pointer-events: none;
}
.assistant-halo, .assistant-orbit, .assistant-orb, .assistant-signal { grid-area: 1 / 1; }
.assistant-halo { width: 100%; height: 100%; background: radial-gradient(ellipse, #78fed638 0, #2dcab317 43%, transparent 71%); transform: translateZ(-2rem); }
.assistant-orbit {
  width: min(71%, 12.25rem); aspect-ratio: 1; transform-style: preserve-3d;
  transform: rotateX(24deg) rotateY(-18deg); animation: assistant-tilt 9s ease-in-out infinite alternate;
}
.assistant-orbit-plane { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; animation: assistant-spin 12s linear infinite; }
.assistant-orbit-plane i {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid #80efd3bb;
  border-top-color: #d8fff8; border-bottom-color: #316c90;
  box-shadow: 0 0 .55rem #69e9e67a, inset 0 0 .55rem #69e9e64a;
}
.assistant-orbit-plane i:nth-child(1) { transform: rotateX(62deg) rotateY(20deg); }
.assistant-orbit-plane i:nth-child(2) { inset: .65rem; transform: rotateX(-54deg) rotateY(27deg); border-left-color: #ccfff7; }
.assistant-orbit-plane i:nth-child(3) { inset: -.38rem; transform: rotateX(25deg) rotateY(60deg); border-style: solid; border-width: 1px; opacity: .75; }
.assistant-orb {
  width: min(44%, 8.4rem); aspect-ratio: 1; border-radius: 50%; position: relative; transform: translateZ(.55rem);
  overflow: hidden; border: 1px solid #a8ffefb0;
  background:
    radial-gradient(ellipse at 30% 19%, #f2ffef 0, #acf6e1a6 13%, transparent 43%),
    radial-gradient(ellipse at 72% 76%, #64d5ff 0, #427cc69e 27%, transparent 53%),
    radial-gradient(circle at 36% 69%, #39dfb8, #0b646b 60%, #143344);
  box-shadow: inset -.65rem -.5rem 1rem #052d47a0, inset .2rem .25rem .7rem #cbffeed0, 0 0 1.7rem #72fbd68f;
  animation: assistant-breathe 5s ease-in-out infinite alternate;
}
.assistant-orb-inner {
  position: absolute; inset: -31%; border-radius: 48%;
  background: repeating-conic-gradient(from 35deg, #d8fff100 0 42deg, #e2ffb86b 61deg, #70f9ee00 93deg, #283da06b 129deg, #d8fff100 180deg);
  mix-blend-mode: screen; opacity: .55; filter: blur(.47rem); animation: assistant-spin 15s linear infinite reverse;
}
.assistant-signal { display: flex; gap: .24rem; align-items: center; align-self: end; height: .95rem; margin-bottom: .35rem; opacity: 0; }
.assistant-signal i { width: .19rem; height: .8rem; border-radius: 1rem; background: #a0fff0; transform: scaleY(.27); }
.assistant-stage:is([data-mode="listening"], [data-mode="speaking"]) .assistant-signal { opacity: 1; }
.assistant-stage:is([data-mode="listening"], [data-mode="speaking"]) .assistant-signal i { animation: assistant-wave .65s ease-in-out infinite alternate; }
.assistant-signal i:nth-child(2n) { animation-delay: -.5s !important; }
.assistant-signal i:nth-child(3n) { animation-delay: -.2s !important; }
.assistant-stage[data-mode="listening"] .assistant-orbit-plane { animation-duration: 4s; }
.assistant-stage[data-mode="speaking"] .assistant-orbit-plane { animation-duration: 7s; }
.assistant-stage:is([data-mode="listening"], [data-mode="speaking"]) .assistant-orb { animation-duration: 1.1s; }
.assistant-mic {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; position: relative;
  min-height: 48px; max-width: 100%; padding: .67rem 1.1rem; border-radius: 99px;
  color: #0b3438; background: var(--assistant-glow); border: 1px solid #bdffee; font-weight: 780; font-size: .92rem;
}
.assistant-mic:hover { background: #b6fce8; }
.assistant-stage[data-mode="listening"] .assistant-mic { background: #e4fff5; }
#voice-status { min-height: 1.2em; margin-top: .52rem; text-align: center; font-size: .76rem; color: #c5e7e6; }
.assistant-voice-help:not([hidden]) { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem .72rem; margin-top: .32rem; }
.assistant-voice-help button { min-height: 44px; border: 0; background: transparent; color: #c1fff2; font-size: .8rem; text-decoration: underline; text-underline-offset: .2em; }
.assistant-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .42rem; padding: .32rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--paper); }
.assistant-composer input { padding-inline: .66rem; border: 0; font-size: 1rem; }
.assistant-composer .btn { width: 46px; padding-inline: .3rem; }
#answer:empty { display: none; }
.assistant-query { width: fit-content; max-width: min(100%, 39ch); margin: 0 0 .6rem auto; padding: .6rem .75rem; border-radius: .82rem .82rem .24rem .82rem; background: var(--mint); color: var(--ink); overflow-wrap: anywhere; }
.assistant-answer { background: var(--paper); border: 1px solid var(--line); border-radius: .93rem; padding: .78rem; overflow-wrap: anywhere; }
.assistant-answer-title { display: flex; align-items: center; gap: .52rem; margin-bottom: .4rem; }
.assistant-answer-title h2 { font-size: 1rem; }
.assistant-answer-title .tile-icon { width: 2.1rem; height: 2.1rem; }
.assistant-answer-title .tile-icon svg { width: 17px; height: 17px; }
.assistant-answer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .42rem; margin-top: .65rem; }
#read-status { color: var(--muted); font-size: .8rem; }
#read-status:empty { display: none; }
.assistant-suggestions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.2rem), 1fr)); gap: .42rem; }
.assistant-suggestions button { display: flex; align-items: center; gap: .32rem; text-align: start; padding-inline: .56rem; min-width: 0; overflow-wrap: anywhere; }
.assistant-suggestions svg { color: var(--green); }
.assistant-note { font-size: .74rem; color: var(--muted); text-align: center; }
.assistant-stage[data-motion-paused="true"] * { animation-play-state: paused; }
.high-contrast .assistant-stage { background: #10262c; border-color: #004a42; }
@keyframes assistant-tilt { to { transform: rotateX(-25deg) rotateY(23deg); } }
@keyframes assistant-spin { to { transform: rotateZ(360deg); } }
@keyframes assistant-breathe { to { transform: translateZ(1.25rem) scale(1.045); } }
@keyframes assistant-wave { to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .assistant-stage * { animation: none !important; }
  .assistant-motion { display: none; }
}
#prefs button { margin-top: .6rem; }
::selection { background: #c7e7d9; color: #0e352b; }
input, textarea { caret-color: var(--green); }
.high-contrast { --ink: #000; --page: #fff; --paper: #fff; --muted: #242424; --line: #525252; --green: #10372d; --green-hover: #06241c; --deep: #000; --mint: #eef6f0; --blue: #fff; --cream: #fff; --cover-bg: #f4f8fa; }
.high-contrast .btn, .high-contrast .item-button .item { border-color: currentColor; }
.large-text { font-size: 120%; }
.large-text .medical-cover-content { width: 100%; }
.large-text .medical-cover img { opacity: .15; }
.large-text #navigation a { font-size: .7rem; }
@media (max-width: 37.99rem) {
  html { scroll-padding-bottom: calc(4.75rem + env(safe-area-inset-bottom)); }
  .top-inner, main { padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); }
  #navigation { padding-left: max(.2rem, env(safe-area-inset-left)); padding-right: max(.2rem, env(safe-area-inset-right)); }
  .dates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-appointments .item { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; row-gap: .3rem; }
  .profile-appointments .item > :last-child { grid-column: 2; justify-self: start; }
  #services .item { gap: .55rem; }
  .home-services { margin-top: .72rem; }
  .home-services .categories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .42rem; }
  .home-services .category { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: .48rem; padding: .6rem .45rem; font-size: .82rem; }
  .home-services .category > svg { display: none; }
  .home-services .category .tile-icon { width: 2.3rem; height: 2.3rem; }
  .large-text .home-services .category { font-size: .8rem; }
}
@media (min-width: 38rem) {
  .top-inner, main { padding-inline: 1.55rem; }
  .branch { display: block; }
  .categories { grid-template-columns: repeat(3, minmax(0,1fr)); }
  #navigation { width: min(38rem, calc(100% - 2rem)); margin: auto; bottom: max(.9rem, env(safe-area-inset-bottom)); padding: .35rem; border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 8px 24px rgb(0 0 0 / 9%); }
  .front-slide { min-height: 15.5rem; padding: 1.3rem; }
  .front-entry { display: flex; align-items: center; gap: .8rem; padding: .85rem; }
  .front-entry > span:nth-child(2) { min-width: 0; flex: 1; }
  .front-entry > svg { display: block; }
  .medical-cover { min-height: 13rem; align-items: center; }
  .medical-cover-content { padding: 1.25rem; }
  .overview-tile { display: flex; align-items: center; padding: .8rem 1rem; gap: .7rem; min-height: 5.35rem; }
  .overview-tile > svg { display: block; margin-left: auto; }
}
@media (min-width: 57rem) {
  main { padding-top: 2.25rem; }
  .front-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
  .front-door { grid-template-columns: minmax(0, 1fr); }
  .front-entry { min-height: 7.45rem; }
  .home-help { max-width: 28rem; }
  .card-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
  .medical-layout { grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr); }
  .medical-connect { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: stretch; }
  .medical-cover { min-height: 14.5rem; }
  .medical-cover-content { padding: 1.65rem 1.8rem; }
  .medical-cover img { width: 44%; object-position: 55% 48%; }
  .history-day { grid-template-columns: minmax(0, 8rem) minmax(0, 1fr); gap: .65rem; align-items: start; }
  .history-day h3 { padding-top: .8rem; }
  .section { margin-top: 1.65rem; }
}
@media (min-width: 66rem) {
  #navigation { width: max-content; max-width: 100%; position: static; margin: 0; padding: 0; box-shadow: none; border: 0; background: transparent; }
  #navigation a { min-width: 5.2rem; padding-inline: .35rem; }
  .branch { display: none; }
  main { padding-bottom: 2rem; }
}
