/* ==========================================================================
   Health One Stop Solutions · Design System
   Tokens are injected by ThemeService as CSS custom properties, so every
   value below can be changed from Admin > Theme Builder without code.
   ========================================================================== */

@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400; font-display: swap; src: url('../fonts/jakarta-400.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 500; font-display: swap; src: url('../fonts/jakarta-500.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-display: swap; src: url('../fonts/jakarta-600.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-display: swap; src: url('../fonts/jakarta-700.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-display: swap; src: url('../fonts/jakarta-800.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-italic.woff2') format('woff2'); }

/* Fallback tokens (overridden by the theme engine) */
:root {
  --primary: #0B3A4A; --primary-rgb: 11,58,74; --primary-ink: #fff; --secondary: #127C8A; --secondary-rgb: 18,124,138;
  --accent: #F2C35B; --accent-rgb: 242,195,91; --mint: #D6F0EA; --mint-rgb: 214,240,234;
  --bg: #F6F9F9; --bg-rgb: 246,249,249; --surface: #fff; --surface-rgb: 255,255,255; --surface-alt: #EEF4F4; --surface-alt-rgb: 238,244,244;
  --text: #0A2430; --text-rgb: 10,36,48; --muted: #56707C; --muted-rgb: 86,112,124; --border: #DCE6E8; --border-rgb: 220,230,232;
  --success: #1F8A5B; --success-rgb: 31,138,91; --warning: #B7791F; --warning-rgb: 183,121,31; --danger: #C2413A; --danger-rgb: 194,65,58; --info: #1F6FB2; --info-rgb: 31,111,178;
  --radius: 18px; --radius-sm: 12px; --radius-btn: 999px;
  --shadow-1: 0 1px 2px rgba(10,36,48,.04), 0 2px 8px rgba(10,36,48,.04);
  --shadow-2: 0 10px 30px -12px rgba(10,36,48,.14), 0 2px 6px rgba(10,36,48,.04);
  --shadow-3: 0 30px 60px -20px rgba(10,36,48,.28);
  --font-body: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-accent: 'Instrument Serif', Georgia, serif;
  --base-size: 16px; --heading-weight: 700;
  --container: 1240px; --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ring: 0 0 0 3px rgba(var(--secondary-rgb), .35);
  color-scheme: light;
}
:root[data-theme=dark] { color-scheme: dark; }
:root[data-theme=dark] {
  --shadow-1: 0 1px 2px rgba(0,0,0,.3);
  --shadow-2: 0 14px 34px -14px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.25);
  --shadow-3: 0 36px 70px -24px rgba(0,0,0,.75);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: var(--base-size); line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: var(--heading-weight); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--text); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
::selection { background: rgba(var(--accent-rgb), .45); }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--primary); color: var(--primary-ink); padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }

.i { width: 1.15em; height: 1.15em; flex: none; stroke-width: 1.9; display: inline-block; vertical-align: -.2em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.section.sp-compact { padding-block: clamp(32px, 5vw, 56px); }
.section.sp-spacious { padding-block: clamp(72px, 10vw, 136px); }
.bg-muted { background: var(--surface-alt); }
.bg-brand { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--primary-ink); }
.bg-deep { background: radial-gradient(1200px 500px at 85% -10%, rgba(var(--secondary-rgb), .55), transparent 60%), radial-gradient(800px 400px at -10% 110%, rgba(var(--accent-rgb), .18), transparent 60%), #071E27; color: #E9F3F4; }
:root[data-theme=dark] .bg-deep { background: radial-gradient(1200px 500px at 85% -10%, rgba(var(--secondary-rgb), .35), transparent 60%), radial-gradient(800px 400px at -10% 110%, rgba(var(--accent-rgb), .1), transparent 60%), #040F14; }
.bg-brand h2, .bg-brand h3, .bg-deep h2, .bg-deep h3 { color: inherit; }
.bg-brand .muted, .bg-deep .muted, .bg-deep .lead { color: rgba(233,243,244,.78); }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack > * + * { margin-top: var(--stack, 16px); }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wrap { flex-wrap: wrap; }
.cluster { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.mt-0 { margin-top: 0 } .mt-8 { margin-top: 8px } .mt-16 { margin-top: 16px } .mt-24 { margin-top: 24px } .mt-32 { margin-top: 32px } .mb-0 { margin-bottom: 0 } .mb-8 { margin-bottom: 8px } .mb-16 { margin-bottom: 16px } .mb-24 { margin-bottom: 24px }
.text-center { text-align: center; } .text-right { text-align: right; }
.w-full { width: 100%; }
@media (max-width: 1080px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
@media (max-width: 620px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

/* ---------- Typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--secondary); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .25); }
.bg-deep .eyebrow, .bg-brand .eyebrow { color: var(--accent); }
.display { font-size: clamp(2.6rem, 6.2vw, 4.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.serif { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.accent-text { color: var(--secondary); }
h1, .h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2, .h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.01em; }
h4, .h4 { font-size: 1.05rem; letter-spacing: -.005em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); line-height: 1.65; }
.muted { color: var(--muted); }
.small { font-size: .875rem; } .xs { font-size: .78rem; }
.strong { font-weight: 700; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.bg-deep .section-head p, .bg-brand .section-head p { color: rgba(233,243,244,.8); }
.link { color: var(--secondary); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.prose { font-size: 1.06rem; line-height: 1.8; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.5em 0; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--surface-alt); border-radius: 0 12px 12px 0; }

/* ---------- Buttons ---------- */
.btn { --b-bg: var(--surface); --b-fg: var(--text); --b-bd: var(--border); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--radius-btn); border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg); font-weight: 650; font-size: .96rem; letter-spacing: -.005em; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s; position: relative; isolation: isolate; text-decoration: none; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn-primary { --b-bg: var(--primary); --b-fg: var(--primary-ink); --b-bd: transparent; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0)) , var(--primary); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 20px -10px rgba(var(--primary-rgb), .7); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 14px 28px -12px rgba(var(--primary-rgb), .8); }
.btn-secondary { --b-bg: rgba(var(--secondary-rgb), .1); --b-fg: var(--secondary); --b-bd: rgba(var(--secondary-rgb), .18); }
:root[data-theme=dark] .btn-secondary { --b-bg: rgba(var(--secondary-rgb), .16); --b-fg: var(--primary); }
.btn-accent { --b-bg: var(--accent); --b-fg: #241A02; --b-bd: transparent; }
.btn-ghost { --b-bg: transparent; --b-bd: var(--border); }
.btn-ghost:hover { --b-bg: var(--surface); }
.btn-light { --b-bg: rgba(255,255,255,.12); --b-fg: #fff; --b-bd: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn-white { --b-bg: #fff; --b-fg: #0A2430; --b-bd: transparent; }
.btn-danger { --b-bg: var(--danger); --b-fg: #fff; --b-bd: transparent; }
.btn-text { --b-bg: transparent; --b-bd: transparent; padding-inline: 8px; }
.btn-text:hover { box-shadow: none; color: var(--secondary); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .86rem; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; min-height: 44px; padding: 0; }
.btn-icon.btn-sm { width: 36px; min-height: 36px; }
.btn .spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cards & surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-1); position: relative; }
body[data-cards=elevated] .card { border-color: rgba(var(--border-rgb), .7); box-shadow: var(--shadow-2); }
body[data-cards=flat] .card { box-shadow: none; background: var(--surface-alt); border-color: transparent; }
.card-pad { padding: clamp(18px, 2.4vw, 28px); }
.card-hover { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: rgba(var(--secondary-rgb), .3); }
.glass { background: rgba(var(--surface-rgb), .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(var(--surface-rgb), .6); }
:root[data-theme=dark] .glass { background: rgba(var(--surface-rgb), .62); border-color: rgba(255,255,255,.08); }
.tint { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(var(--secondary-rgb), .1); color: var(--secondary); flex: none; }
.tint .i { width: 22px; height: 22px; }
.tint-accent { background: rgba(var(--accent-rgb), .22); color: #8A6410; }
:root[data-theme=dark] .tint-accent { color: var(--accent); }
.tint-lg { width: 60px; height: 60px; border-radius: 18px; } .tint-lg .i { width: 26px; height: 26px; }
.divider { height: 1px; background: var(--border); margin: 18px 0; }

/* ---------- Badges & chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 650; letter-spacing: .01em; white-space: nowrap; border: 1px solid transparent; }
.badge-ok { background: rgba(var(--success-rgb), .12); color: var(--success); }
.badge-warn { background: rgba(var(--warning-rgb), .14); color: var(--warning); }
.badge-err { background: rgba(var(--danger-rgb), .12); color: var(--danger); }
.badge-info { background: rgba(var(--info-rgb), .12); color: var(--info); }
.badge-muted { background: var(--surface-alt); color: var(--muted); border-color: var(--border); }
.badge-accent { background: rgba(var(--accent-rgb), .25); color: #7A570A; }
:root[data-theme=dark] .badge-accent { color: var(--accent); }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--secondary); font-weight: 650; font-size: .82rem; }
.verified .i { width: 16px; height: 16px; color: var(--secondary); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .88rem; font-weight: 550; color: var(--text); transition: all .2s; }
.chip:hover, .chip.is-active { border-color: rgba(var(--secondary-rgb), .5); color: var(--secondary); background: rgba(var(--secondary-rgb), .06); }
.chip .i { width: 15px; height: 15px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); display: inline-block; box-shadow: 0 0 0 3px rgba(var(--success-rgb), .2); }
.dot-live { animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 7px rgba(var(--success-rgb), 0); } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.label { font-size: .88rem; font-weight: 650; color: var(--text); }
.label .req { color: var(--danger); margin-left: 2px; }
.help { font-size: .8rem; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 12px 15px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: .97rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2356707C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(var(--secondary-rgb), .4); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--secondary); box-shadow: var(--ring); }
.input::placeholder, .textarea::placeholder { color: rgba(var(--muted-rgb), .75); }
.has-error .input, .has-error .select, .has-error .textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .82rem; margin: 0; font-weight: 550; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; cursor: pointer; line-height: 1.45; }
.check input { width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--secondary); flex: none; }
.input-icon { position: relative; }
.input-icon > .i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 44px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); transition: all .2s; height: 100%; font-weight: 600; font-size: .93rem; }
.choice span small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.choice input:checked + span { border-color: var(--secondary); background: rgba(var(--secondary-rgb), .07); box-shadow: inset 0 0 0 1px var(--secondary); }
.choice input:focus-visible + span { box-shadow: var(--ring); }
.choice input:disabled + span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { cursor: pointer; color: var(--border); font-size: 1.8rem; line-height: 1; transition: color .15s; }
.rating-input label .i { width: 30px; height: 30px; fill: currentColor; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--accent); }

/* ---------- Avatars, stars ---------- */
.avatar { border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-alt); }
.avatar-xs { width: 28px; height: 28px; font-size: .68rem; } .avatar-sm { width: 36px; height: 36px; font-size: .8rem; } .avatar-md { width: 56px; height: 56px; font-size: 1.1rem; } .avatar-lg { width: 84px; height: 84px; font-size: 1.6rem; } .avatar-xl { width: 128px; height: 128px; font-size: 2.4rem; }
.avatar-mono { display: inline-grid; place-items: center; font-weight: 750; letter-spacing: .02em; color: hsl(var(--h) 55% 22%); background: linear-gradient(135deg, hsl(var(--h) 60% 90%), hsl(calc(var(--h) + 30) 55% 82%)); border: 2px solid var(--surface); }
:root[data-theme=dark] .avatar-mono { color: hsl(var(--h) 60% 88%); background: linear-gradient(135deg, hsl(var(--h) 40% 26%), hsl(calc(var(--h) + 30) 40% 20%)); }
.stars { display: inline-flex; gap: 1px; color: var(--border); }
.stars .star { width: 15px; height: 15px; }
.stars .star.on { color: #E8A91B; fill: #E8A91B; }
.stars .star.half { color: #E8A91B; fill: rgba(232,169,27,.4); }
.rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; }
.rating .count { color: var(--muted); font-weight: 500; }

/* ---------- Announcement, header ---------- */
.announce { background: var(--primary); color: var(--primary-ink); font-size: .86rem; text-align: center; padding: 9px var(--gutter); position: relative; z-index: 60; }
.announce a { text-decoration: underline; text-underline-offset: 3px; font-weight: 650; margin-left: 6px; }
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0; transition: padding .3s var(--ease); }
.site-header .bar { display: flex; align-items: center; gap: 20px; height: 62px; padding: 0 12px 0 18px; border-radius: 20px; transition: background .3s, box-shadow .3s, border-color .3s; border: 1px solid transparent; }
body[data-header=glass] .site-header .bar, .site-header.is-scrolled .bar { background: rgba(var(--surface-rgb), .78); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border-color: rgba(var(--border-rgb), .7); box-shadow: 0 8px 30px -18px rgba(var(--text-rgb), .35); }
body[data-header=solid] .site-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 0; }
body[data-header=solid] .site-header .bar { border-radius: 0; box-shadow: none; background: transparent; border-color: transparent; height: 72px; }
.site-header.is-transparent:not(.is-scrolled) .bar { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; mix-blend-mode: multiply; }
:root[data-theme=dark] .brand.logo-chip { background: #fff; padding: 4px 10px; border-radius: 12px; }
:root[data-theme=dark] .brand img { mix-blend-mode: normal; }
.brand .logo-dark { display: none; }
:root[data-theme=dark] .brand.has-dark .logo-light { display: none; } :root[data-theme=dark] .brand.has-dark .logo-dark { display: block; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.main-nav a { padding: 8px 13px; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--muted); transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--text); background: rgba(var(--text-rgb), .05); }
.main-nav a.is-active { color: var(--text); background: rgba(var(--secondary-rgb), .1); }
.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 12px; color: var(--text); transition: background .2s; position: relative; }
.icon-btn:hover { background: rgba(var(--text-rgb), .06); }
.icon-btn .i { width: 20px; height: 20px; }
.icon-btn .count { position: absolute; top: 5px; right: 5px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--danger); color: #fff; font-size: .66rem; font-weight: 700; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--surface); }
.menu-toggle { display: none; }
@media (max-width: 1120px) { .main-nav a { padding: 8px 9px; font-size: .88rem; } }
@media (max-width: 1020px) { .main-nav, .header-actions .hide-md { display: none; } .menu-toggle { display: inline-grid; } .site-header .bar { justify-content: space-between; } .brand img { height: 36px; } }
@media (max-width: 420px) { .brand img { height: 30px; } .header-actions { gap: 2px; } .icon-btn { width: 38px; height: 38px; } }

/* Theme menu & dropdowns */
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-3); padding: 6px; opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transition: all .18s var(--ease); z-index: 80; }
.dropdown.is-open .dropdown-menu { opacity: 1; transform: none; pointer-events: auto; }
.dropdown-menu a, .dropdown-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; font-size: .9rem; font-weight: 550; text-align: left; color: var(--text); }
.dropdown-menu a:hover, .dropdown-menu button:hover, .dropdown-menu .is-current { background: var(--surface-alt); }
.dropdown-menu .is-current::after { content: ''; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--secondary); }
.dropdown-menu .menu-head { padding: 10px 12px 8px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: var(--bg); padding: 16px var(--gutter) 28px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); overflow-y: auto; }
.drawer.is-open { opacity: 1; transform: none; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 24px; }
.drawer-nav a { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; font-size: 1.25rem; font-weight: 700; border-bottom: 1px solid var(--border); letter-spacing: -.01em; }
.drawer-nav a .i { color: var(--muted); }
.drawer-cta { display: grid; gap: 10px; margin-top: auto; }
.drawer-help { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 16px; background: var(--surface-alt); margin-bottom: 16px; }

/* ---------- Command search overlay ---------- */
.cmdk { position: fixed; inset: 0; z-index: 300; background: rgba(4,18,24,.45); backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.cmdk.is-open { opacity: 1; pointer-events: auto; }
.cmdk-panel { width: 100%; max-width: 680px; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-3); border: 1px solid var(--border); overflow: hidden; transform: translateY(-8px) scale(.98); transition: transform .25s var(--ease); }
.cmdk.is-open .cmdk-panel { transform: none; }
.cmdk-input { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.cmdk-input input { flex: 1; border: 0; background: transparent; font-size: 1.12rem; outline: none; min-width: 0; }
.cmdk-input kbd, kbd { font-family: inherit; font-size: .72rem; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--border); color: var(--muted); background: var(--surface-alt); }

/* ---------- Search suggestions (shared) ---------- */
.search-box { position: relative; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-2); transition: border-color .2s, box-shadow .2s; }
.search-field:focus-within { border-color: rgba(var(--secondary-rgb), .55); box-shadow: var(--shadow-2), var(--ring); }
.search-field > .i { color: var(--muted); width: 22px; height: 22px; }
.search-field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 1.02rem; padding: 10px 0; }
.search-field .btn { flex: none; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-3); padding: 8px; z-index: 40; max-height: 440px; overflow-y: auto; }
.cmdk .suggest, .suggest.inline { position: static; box-shadow: none; border: 0; border-radius: 0; max-height: 52vh; padding: 8px; }
.suggest-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.suggest-item:hover, .suggest-item.is-active { background: var(--surface-alt); }
.suggest-item .tint { width: 38px; height: 38px; border-radius: 11px; }
.suggest-item .tint .i { width: 18px; height: 18px; }
.suggest-item .t { font-weight: 650; font-size: .95rem; line-height: 1.3; }
.suggest-item .s { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.suggest-item .type { margin-left: auto; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.suggest-empty { padding: 18px; color: var(--muted); font-size: .92rem; }
.suggest-label { padding: 8px 12px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(24px, 4vw, 40px); padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-bg { position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none; z-index: 0; background:
  radial-gradient(600px 420px at 78% 32%, rgba(var(--mint-rgb), .9), transparent 70%),
  radial-gradient(420px 320px at 92% 72%, rgba(var(--accent-rgb), .22), transparent 70%),
  radial-gradient(520px 380px at 8% 8%, rgba(var(--secondary-rgb), .08), transparent 70%); }
:root[data-theme=dark] .hero-bg { background: radial-gradient(600px 420px at 78% 32%, rgba(var(--secondary-rgb), .22), transparent 70%), radial-gradient(420px 320px at 92% 72%, rgba(var(--accent-rgb), .08), transparent 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(24px, 4vw, 56px); align-items: center; min-height: min(78vh, 720px); }
.hero h1 { margin-bottom: 22px; }
.hero h1 .serif { display: block; color: var(--secondary); font-size: 1.08em; line-height: .98; padding-bottom: .04em; }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-search { max-width: 600px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.hero-chips .muted { font-size: .86rem; margin-right: 4px; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-height: 620px; width: 100%; }
.scene { position: absolute; inset: 0; }
.scene canvas { width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s var(--ease); }
.scene.is-ready canvas { opacity: 1; }
.scene.is-ready .scene-fallback { opacity: 0; }
.scene-fallback { position: absolute; inset: 0; transition: opacity 1s; pointer-events: none; }
.scene-fallback .orb { position: absolute; border-radius: 50%; filter: blur(.5px); }
.scene-fallback .orb-core { inset: 22%; background: radial-gradient(circle at 35% 30%, #fff, rgba(var(--mint-rgb), .95) 30%, rgba(var(--secondary-rgb), .55) 70%, rgba(var(--primary-rgb), .8)); box-shadow: 0 40px 80px -20px rgba(var(--primary-rgb), .45), inset -20px -30px 60px rgba(var(--primary-rgb), .35); animation: float 9s ease-in-out infinite; }
.scene-fallback .ring { position: absolute; inset: 8%; border-radius: 50%; border: 1.5px dashed rgba(var(--secondary-rgb), .35); animation: spin 60s linear infinite; }
.scene-fallback .ring.r2 { inset: 0; border-style: solid; border-color: rgba(var(--accent-rgb), .45); border-width: 2px; clip-path: inset(0 0 55% 0); animation-duration: 90s; }
.scene-fallback .plus { position: absolute; width: 44px; height: 44px; animation: float 7s ease-in-out infinite; }
.scene-fallback .plus::before, .scene-fallback .plus::after { content: ''; position: absolute; background: linear-gradient(135deg, rgba(var(--secondary-rgb), .9), rgba(var(--primary-rgb), .9)); border-radius: 8px; }
.scene-fallback .plus::before { left: 35%; width: 30%; height: 100%; } .scene-fallback .plus::after { top: 35%; height: 30%; width: 100%; }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
.float-card { position: absolute; z-index: 3; border-radius: 18px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-3); font-size: .86rem; line-height: 1.35; min-width: 210px; animation: float 8s ease-in-out infinite; will-change: transform; }
.float-card .t { font-weight: 700; font-size: .9rem; }
.float-card .s { color: var(--muted); font-size: .78rem; }
.float-card.fc-1 { left: -2%; top: 14%; }
.float-card.fc-2 { right: -2%; top: 48%; animation-delay: -3s; }
.float-card.fc-3 { left: 8%; bottom: 6%; animation-delay: -5s; }
.sun-arc { position: absolute; inset: 6%; border-radius: 50%; border: 2px solid rgba(var(--accent-rgb), .55); clip-path: inset(0 0 52% 0); pointer-events: none; z-index: 1; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { max-width: 520px; margin: 8px auto 0; }
  .float-card { min-width: 0; padding: 10px 12px; font-size: .78rem; }
  .float-card.fc-1 { left: 0; } .float-card.fc-2 { right: 0; }
}
@media (max-width: 520px) { .float-card.fc-3 { display: none; } .hero-ctas .btn { flex: 1; } .search-field .btn span { display: none; } .search-field { padding-left: 16px; } }

/* ---------- Trust metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: 24px; overflow: hidden; }
.metric { padding: 26px 24px; display: flex; gap: 16px; align-items: center; border-right: 1px solid var(--border); }
.metric:last-child { border-right: 0; }
.metric .num { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.metric .lbl { color: var(--muted); font-size: .9rem; margin-top: 4px; }
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, 1fr); } .metric:nth-child(2) { border-right: 0; } .metric:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
@media (max-width: 460px) { .metric { padding: 18px 16px; flex-direction: column; align-items: flex-start; gap: 10px; } }

/* ---------- Help cards (How can we help) ---------- */
.help-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; perspective: 1200px; }
.help-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; transform-style: preserve-3d; position: relative; overflow: hidden; min-height: 172px; }
.help-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(260px 160px at var(--mx, 50%) var(--my, 0%), rgba(var(--mint-rgb), .7), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
:root[data-theme=dark] .help-card::after { background: radial-gradient(260px 160px at var(--mx, 50%) var(--my, 0%), rgba(var(--secondary-rgb), .18), transparent 70%); }
.help-card:hover { box-shadow: var(--shadow-3); border-color: rgba(var(--secondary-rgb), .35); }
.help-card:hover::after { opacity: 1; }
.help-card > * { position: relative; z-index: 1; transform: translateZ(20px); }
.help-card h3 { font-size: 1.05rem; margin: 0; }
.help-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.help-card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 650; color: var(--secondary); opacity: .0; transform: translateX(-6px) translateZ(20px); transition: all .3s var(--ease); }
.help-card:hover .go { opacity: 1; transform: translateZ(20px); }
@media (max-width: 1080px) { .help-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .help-card { padding: 16px; min-height: 0; gap: 10px; } .help-card .go { display: none; } .help-card p { font-size: .8rem; } }

/* ---------- Specialty tiles ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.spec-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: all .3s var(--ease); }
.spec-tile:hover { border-color: rgba(var(--secondary-rgb), .4); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.spec-tile .t { font-weight: 700; font-size: .95rem; line-height: 1.25; }
.spec-tile .s { font-size: .78rem; color: var(--muted); }
@media (max-width: 1080px) { .spec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Doctor card ---------- */
.doc-card { display: flex; flex-direction: column; padding: 20px; gap: 16px; }
.doc-card .top { display: flex; gap: 16px; align-items: flex-start; }
.doc-card .name { font-size: 1.08rem; font-weight: 750; letter-spacing: -.01em; line-height: 1.25; margin: 0 0 3px; }
.doc-card .name a:hover { color: var(--secondary); }
.doc-card .spec { color: var(--muted); font-size: .88rem; }
.doc-meta { display: grid; gap: 7px; font-size: .86rem; color: var(--muted); }
.doc-meta div { display: flex; gap: 8px; align-items: flex-start; }
.doc-meta .i { width: 16px; height: 16px; margin-top: 2px; color: var(--secondary); }
.doc-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--border); margin-top: auto; flex-wrap: wrap; }
.fee { font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.fee small { font-weight: 550; color: var(--muted); font-size: .78rem; }
.modes { display: flex; gap: 6px; flex-wrap: wrap; }
.mode { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 650; padding: 4px 9px; border-radius: 8px; background: var(--surface-alt); color: var(--muted); }
.mode .i { width: 13px; height: 13px; }
.avail { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 650; color: var(--success); }
.doc-list .doc-card { flex-direction: row; align-items: stretch; }
.doc-list .doc-card .body { flex: 1; display: grid; gap: 12px; }
.doc-list .doc-card .side { width: 220px; display: flex; flex-direction: column; gap: 10px; justify-content: space-between; border-left: 1px dashed var(--border); padding-left: 20px; }
@media (max-width: 760px) { .doc-list .doc-card { flex-direction: column; } .doc-list .doc-card .side { width: auto; border-left: 0; padding-left: 0; border-top: 1px dashed var(--border); padding-top: 14px; flex-direction: row; align-items: center; flex-wrap: wrap; } }

/* Hospital card */
.hosp-card { overflow: hidden; display: flex; flex-direction: column; }
.hosp-cover { height: 132px; position: relative; background: linear-gradient(135deg, rgba(var(--secondary-rgb), .9), rgba(var(--primary-rgb), .95)); overflow: hidden; }
.hosp-cover::before { content: ''; position: absolute; inset: 0; background: radial-gradient(240px 140px at 80% 0%, rgba(var(--accent-rgb), .45), transparent 70%), repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 28px), repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 28px); }
.hosp-cover img { width: 100%; height: 100%; object-fit: cover; }
.hosp-cover .mark { position: absolute; left: 20px; bottom: -26px; width: 60px; height: 60px; border-radius: 16px; background: var(--surface); display: grid; place-items: center; box-shadow: var(--shadow-2); font-weight: 800; color: var(--primary); font-size: 1.1rem; border: 1px solid var(--border); }
.hosp-cover .flags { position: absolute; right: 14px; top: 14px; display: flex; gap: 6px; }
.hosp-cover .flags .badge { background: rgba(255,255,255,.9); color: #0A2430; }
.hosp-body { padding: 38px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hosp-body h3 { margin: 0; font-size: 1.1rem; }

/* Article card */
.art-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.art-thumb { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--c, var(--secondary)) 85%, #fff), color-mix(in srgb, var(--c, var(--secondary)) 60%, #06171D)); display: grid; place-items: center; color: #fff; }
.art-thumb::before { content: ''; position: absolute; inset: 0; background: radial-gradient(220px 140px at 85% 10%, rgba(255,255,255,.35), transparent 70%), radial-gradient(260px 160px at 0% 100%, rgba(0,0,0,.18), transparent 70%); }
.art-thumb .i { width: 46px; height: 46px; opacity: .92; position: relative; stroke-width: 1.5; }
.art-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.art-body h3 { font-size: 1.08rem; margin: 0; line-height: 1.3; }
.art-body p { color: var(--muted); font-size: .9rem; margin: 0; }
.art-meta { display: flex; gap: 12px; align-items: center; font-size: .8rem; color: var(--muted); margin-top: auto; padding-top: 8px; }

/* Community card */
.comm-card { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.comm-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--c, var(--secondary)); }

/* ---------- Helpline band ---------- */
.helpline-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.channel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.channel { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .2s; }
.channel:hover { background: rgba(255,255,255,.1); }
.channel .tint { background: rgba(var(--accent-rgb), .18); color: var(--accent); }
.channel .t { font-weight: 700; } .channel .s { font-size: .82rem; color: rgba(233,243,244,.7); }
@media (max-width: 900px) { .helpline-band { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .channel-grid { grid-template-columns: 1fr; } }

/* Family & CTA */
.check-list { list-style: none; display: grid; gap: 12px; margin: 20px 0 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; }
.check-list .i { color: var(--success); width: 22px; height: 22px; flex: none; }
.family-visual { position: relative; padding: 28px; border-radius: 28px; background: linear-gradient(160deg, var(--surface), var(--surface-alt)); border: 1px solid var(--border); box-shadow: var(--shadow-3); }
.family-member { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 10px; transition: transform .3s var(--ease); }
.family-member:hover { transform: translateX(6px); }
.cta-band { border-radius: 32px; padding: clamp(32px, 6vw, 64px); position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 2px solid rgba(var(--accent-rgb), .45); clip-path: inset(0 0 50% 0); }
.provider-cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .provider-cta { grid-template-columns: 1fr; } }

/* ---------- Filters & listing ---------- */
.page-hero { padding-block: clamp(28px, 5vw, 56px) clamp(20px, 3vw, 32px); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 420px; background: radial-gradient(closest-side, rgba(var(--mint-rgb), .85), transparent); pointer-events: none; }
:root[data-theme=dark] .page-hero::before { background: radial-gradient(closest-side, rgba(var(--secondary-rgb), .2), transparent); }
.page-hero > * { position: relative; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a:hover { color: var(--secondary); }
.breadcrumbs .i { width: 14px; height: 14px; }
.listing { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding: 20px; scrollbar-width: thin; }
.filter-group { padding: 14px 0; border-bottom: 1px solid var(--border); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.filter-group .check { font-size: .9rem; margin-bottom: 8px; }
.listing-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.listing-bar .count { font-weight: 650; }
.sort-select { width: auto; min-height: 40px; padding-block: 8px; font-size: .88rem; }
.filter-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filters .chip { padding: 5px 10px; font-size: .8rem; }
@media (max-width: 960px) {
  .listing { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; max-height: 86vh; z-index: 220; border-radius: 24px 24px 0 0; transform: translateY(105%); transition: transform .35s var(--ease); box-shadow: var(--shadow-3); padding-bottom: 96px; }
  .filters.is-open { transform: none; }
  .filters .sheet-actions { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 20px; background: var(--surface); border-top: 1px solid var(--border); display: flex; gap: 10px; }
}
.sheet-backdrop { position: fixed; inset: 0; z-index: 210; background: rgba(4,18,24,.4); opacity: 0; pointer-events: none; transition: opacity .25s; }
.sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }
@media (min-width: 961px) { .filters .sheet-actions .btn-close-sheet { display: none; } }
.is-loading-list { position: relative; }
.is-loading-list::after { content: ''; position: absolute; inset: 0; background: rgba(var(--bg-rgb), .55); border-radius: 20px; }

/* ---------- Skeletons, empty states ---------- */
.skeleton { background: linear-gradient(90deg, var(--surface-alt) 25%, rgba(var(--border-rgb), .6) 37%, var(--surface-alt) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 10px; }
@keyframes shimmer { 0% { background-position: 100% 50% } 100% { background-position: 0 50% } }
.sk-card { padding: 20px; display: grid; gap: 12px; }
.sk-line { height: 12px; } .sk-line.w60 { width: 60%; } .sk-line.w40 { width: 40%; } .sk-circle { width: 56px; height: 56px; border-radius: 50%; }
.empty { text-align: center; padding: clamp(36px, 6vw, 64px) 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-art { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(var(--mint-rgb), .9), rgba(var(--accent-rgb), .25)); color: var(--secondary); margin-bottom: 6px; position: relative; }
.empty-art .i { width: 40px; height: 40px; stroke-width: 1.6; }
.empty h3 { margin: 0; }
.empty p { color: var(--muted); max-width: 440px; margin: 0; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; position: sticky; top: calc(var(--header-h) + 6px); background: var(--bg); z-index: 5; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 12px 16px; font-weight: 650; font-size: .93rem; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--text); border-color: var(--secondary); }
.seg { display: inline-flex; padding: 4px; background: var(--surface-alt); border-radius: 999px; gap: 2px; border: 1px solid var(--border); }
.seg a, .seg button { padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 650; color: var(--muted); }
.seg .is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }

/* ---------- Profile ---------- */
.profile-head { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.profile-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.book-panel { position: sticky; top: calc(var(--header-h) + 20px); }
.info-list { display: grid; gap: 14px; }
.info-list .item { display: flex; gap: 14px; align-items: flex-start; }
.info-list .item .i { color: var(--secondary); width: 20px; height: 20px; margin-top: 2px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; font-size: .94rem; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 550; }
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 20px 28px; }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: -4px; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--secondary); }
@media (max-width: 1000px) { .profile-layout { grid-template-columns: 1fr; } .book-panel { position: static; } }
@media (max-width: 560px) { .profile-head { grid-template-columns: 1fr; } .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dd { margin-bottom: 8px; } }

/* Booking calendar */
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.date-pill { flex: none; width: 66px; padding: 10px 0; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); text-align: center; scroll-snap-align: start; transition: all .2s; }
.date-pill .d { font-size: 1.2rem; font-weight: 800; display: block; line-height: 1.2; }
.date-pill .w, .date-pill .f { font-size: .7rem; color: var(--muted); font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.date-pill .f { text-transform: none; letter-spacing: 0; color: var(--success); }
.date-pill.is-active { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.date-pill.is-active .w, .date-pill.is-active .f { color: inherit; opacity: .85; }
.date-pill:disabled { opacity: .4; cursor: not-allowed; }
.slot-group { margin-top: 14px; }
.slot-group h5 { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.slot { padding: 9px 4px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); font-size: .84rem; font-weight: 650; text-align: center; transition: all .15s; }
.slot:hover:not(:disabled) { border-color: var(--secondary); color: var(--secondary); }
.slot.is-active { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.slot:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.steps { display: flex; gap: 8px; margin-bottom: 24px; counter-reset: step; flex-wrap: wrap; }
.steps .s { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 650; color: var(--muted); }
.steps .s::before { counter-increment: step; content: counter(step); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-alt); border: 1px solid var(--border); font-size: .78rem; }
.steps .s.is-done::before, .steps .s.is-active::before { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.steps .s.is-active { color: var(--text); }
.steps .s + .s::after { content: none; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 12px 16px; background: var(--surface-alt); border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: rgba(var(--secondary-rgb), .035); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; white-space: nowrap; }
@media (max-width: 720px) {
  .table.stack-sm thead { display: none; }
  .table.stack-sm tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--border); }
  .table.stack-sm td { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border: 0; text-align: right; }
  .table.stack-sm td::before { content: attr(data-label); font-weight: 650; color: var(--muted); font-size: .8rem; text-align: left; }
  .table.stack-sm td.actions { justify-content: flex-end; }
  .table.stack-sm td.actions::before { content: none; }
}

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pg-btn { min-width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-weight: 650; font-size: .9rem; padding: 0 8px; }
.pg-btn:hover { border-color: var(--secondary); color: var(--secondary); }
.pg-btn.is-active { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.pg-gap { align-self: center; color: var(--muted); }

/* ---------- Toasts, alerts, modals ---------- */
.toasts { position: fixed; z-index: 400; right: 20px; bottom: 20px; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-3); font-size: .92rem; animation: toast-in .35s var(--ease); }
.toast .i { width: 20px; height: 20px; margin-top: 1px; }
.toast-success .i { color: var(--success); } .toast-error .i { color: var(--danger); } .toast-info .i { color: var(--info); }
.toast.is-leaving { animation: toast-out .25s forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; font-size: .92rem; border: 1px solid; align-items: flex-start; }
.alert .i { width: 20px; height: 20px; margin-top: 1px; flex: none; }
.alert-info { background: rgba(var(--info-rgb), .07); border-color: rgba(var(--info-rgb), .25); }
.alert-warn { background: rgba(var(--warning-rgb), .08); border-color: rgba(var(--warning-rgb), .3); }
.alert-danger { background: rgba(var(--danger-rgb), .07); border-color: rgba(var(--danger-rgb), .3); }
.alert-success { background: rgba(var(--success-rgb), .07); border-color: rgba(var(--success-rgb), .25); }
.alert p:last-child { margin: 0; }
dialog.modal { border: 0; padding: 0; border-radius: 24px; max-width: min(560px, calc(100vw - 32px)); width: 100%; background: var(--surface); color: var(--text); box-shadow: var(--shadow-3); }
dialog.modal::backdrop { background: rgba(4,18,24,.5); backdrop-filter: blur(4px); }
dialog.modal[open] { animation: modal-in .3s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 0; }
.modal-head h3 { margin: 0; }
.modal-body { padding: 16px 24px 24px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 0 24px 24px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; padding: 72px 0 28px; background: #061A21; color: #CFE1E4; position: relative; overflow: hidden; }
body[data-footer=light] .site-footer { background: var(--surface-alt); color: var(--text); }
.site-footer::before { content: ''; position: absolute; width: 640px; height: 640px; right: -200px; top: -320px; border-radius: 50%; border: 2px solid rgba(var(--accent-rgb), .3); clip-path: inset(50% 0 0 0); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; margin-bottom: 44px; }
.footer-brand .logo-chip { display: inline-flex; background: #fff; padding: 8px 14px; border-radius: 14px; margin-bottom: 18px; }
.footer-brand .logo-chip img { height: 38px; }
.footer-brand p { color: rgba(207,225,228,.75); font-size: .92rem; max-width: 340px; }
body[data-footer=light] .footer-brand p, body[data-footer=light] .footer-col a { color: var(--muted); }
.footer-col h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
body[data-footer=light] .footer-col h4 { color: var(--text); }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: .9rem; color: rgba(207,225,228,.78); transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); margin-bottom: 36px; }
body[data-footer=light] .footer-help { background: var(--surface); border-color: var(--border); }
.footer-help a { display: flex; gap: 12px; align-items: center; }
.footer-help .tint { background: rgba(var(--accent-rgb), .15); color: var(--accent); }
.footer-help .t { font-weight: 700; color: #fff; } body[data-footer=light] .footer-help .t { color: var(--text); }
.footer-help .s { font-size: .82rem; color: rgba(207,225,228,.65); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; color: rgba(207,225,228,.6); }
body[data-footer=light] .footer-bottom { border-color: var(--border); color: var(--muted); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.06); }
.socials a:hover { background: rgba(var(--accent-rgb), .2); color: var(--accent); }
.disclaimer-line { font-size: .8rem; color: rgba(207,225,228,.55); margin: 0 0 18px; max-width: 900px; }
.footer-top-2 { grid-template-columns: repeat(3, 1fr) 1.4fr; margin-top: -12px; }
.footer-addr { color: rgba(207,225,228,.6); font-size: .88rem; }
body[data-footer=light] .footer-addr { color: var(--muted); }
@media (max-width: 1000px) { .footer-top, .footer-top-2 { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-top, .footer-top-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; } .footer-help { grid-template-columns: 1fr; } .site-footer { padding-top: 48px; } }

/* ---------- Assistant widget ---------- */
.assistant-fab { position: fixed; right: 20px; bottom: 20px; z-index: 150; height: 56px; padding: 0 20px 0 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; background: var(--primary); color: var(--primary-ink); box-shadow: 0 18px 40px -12px rgba(var(--primary-rgb), .7); font-weight: 700; transition: transform .25s var(--ease); }
.assistant-fab:hover { transform: translateY(-2px); }
.assistant-fab .orb { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #fff, var(--mint) 35%, var(--secondary) 80%); color: var(--primary); }
.assistant-fab .orb .i { width: 20px; height: 20px; }
@media (max-width: 640px) { .assistant-fab span.lbl { display: none; } .assistant-fab { padding: 0 8px; right: 14px; bottom: 14px; } }
.assistant-panel { position: fixed; right: 20px; bottom: 88px; z-index: 160; width: min(400px, calc(100vw - 28px)); height: min(640px, calc(100vh - 120px)); display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-3); opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; transition: all .3s var(--ease); }
.assistant-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.assistant-panel.page-mode { position: relative; right: auto; bottom: auto; width: 100%; height: min(720px, 76vh); opacity: 1; transform: none; pointer-events: auto; }
.as-head { padding: 16px 18px; display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }
.as-head .t { font-weight: 750; } .as-head .s { font-size: .78rem; opacity: .85; }
.as-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word; }
.msg.bot { background: var(--surface); border: 1px solid var(--border); border-top-left-radius: 6px; align-self: flex-start; }
.msg.me { background: var(--primary); color: var(--primary-ink); border-top-right-radius: 6px; align-self: flex-end; }
.msg.emergency { border-color: rgba(var(--danger-rgb), .45); background: rgba(var(--danger-rgb), .06); }
.msg-actions { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 92%; }
.msg-actions a, .msg-actions button { font-size: .8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(var(--secondary-rgb), .35); color: var(--secondary); background: var(--surface); font-weight: 650; }
.msg-actions .danger { border-color: var(--danger); color: var(--danger); }
.typing { display: inline-flex; gap: 4px; padding: 14px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s } .typing span:nth-child(3) { animation-delay: .4s }
@keyframes blink { 50% { opacity: .25; } }
.as-foot { padding: 12px; border-top: 1px solid var(--border); background: var(--surface); }
.as-foot form { display: flex; gap: 8px; }
.as-foot input { flex: 1; min-width: 0; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); padding: 0 16px; min-height: 44px; outline: none; }
.as-foot input:focus { border-color: var(--secondary); }
.as-note { font-size: .72rem; color: var(--muted); text-align: center; margin-top: 8px; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 140; max-width: 420px; padding: 18px; border-radius: 20px; font-size: .88rem; box-shadow: var(--shadow-3); }
@media (max-width: 640px) { .cookie { left: 12px; right: 12px; bottom: 82px; max-width: none; } }

/* ---------- Article page ---------- */
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr) 260px; gap: 40px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .88rem; }
.toc h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.toc ol { list-style: none; display: grid; gap: 4px; border-left: 2px solid var(--border); }
.toc a { display: block; padding: 6px 12px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); }
.toc a:hover, .toc a.is-active { color: var(--secondary); border-color: var(--secondary); }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); font-size: .78rem; font-weight: 800; }
.share a:hover, .share button:hover { border-color: var(--secondary); color: var(--secondary); }
.author-box { display: flex; gap: 14px; align-items: center; }
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--secondary), var(--accent)); z-index: 70; width: 0; }
@media (max-width: 1100px) { .article-layout { grid-template-columns: minmax(0, 1fr) 260px; } .toc { display: none; } }
@media (max-width: 860px) { .article-layout { grid-template-columns: 1fr; } }

/* ---------- Reveal & motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s } .reveal-d2 { transition-delay: .16s } .reveal-d3 { transition-delay: .24s }
body[data-motion=off] .reveal, .no-js .reveal { opacity: 1; transform: none; }
body[data-motion=off] *, body[data-motion=off] *::before, body[data-motion=off] *::after { animation: none !important; transition: none !important; }
body[data-motion=subtle] .float-card, body[data-motion=subtle] .scene-fallback .orb-core { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Misc components ---------- */
.stat-chip { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--surface-alt); font-size: .82rem; font-weight: 600; }
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.price-card.is-highlight { border-color: var(--secondary); box-shadow: 0 0 0 1px var(--secondary), var(--shadow-3); }
.price-card .amt { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; }
@media (max-width: 1000px) { .pricing { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .25s; color: var(--muted); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.ecosystem { position: relative; aspect-ratio: 16 / 9; max-height: 620px; width: 100%; border-radius: 28px; overflow: hidden; }
.ecosystem .eco-label { position: absolute; z-index: 2; transform: translate(-50%, -50%); padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 650; white-space: nowrap; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(8px); pointer-events: none; transition: opacity .3s; }
@media (max-width: 640px) { .ecosystem { aspect-ratio: 4 / 5; } .ecosystem .eco-label { font-size: .7rem; padding: 4px 9px; } }
.story-num { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; color: var(--secondary); line-height: 1; }
.visual-orbits { position: relative; aspect-ratio: 1; border-radius: 32px; background: linear-gradient(160deg, var(--surface), var(--surface-alt)); border: 1px solid var(--border); overflow: hidden; display: grid; place-items: center; }
.visual-orbits .o { position: absolute; border-radius: 50%; border: 1.5px solid rgba(var(--secondary-rgb), .25); }
.visual-orbits .core { width: 34%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--mint) 30%, var(--secondary) 75%, var(--primary)); box-shadow: 0 30px 60px -20px rgba(var(--primary-rgb), .5); }
.visual-orbits .sat { position: absolute; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-2); color: var(--secondary); }
.status-steps { display: flex; gap: 0; margin: 18px 0; }
.status-steps .st { flex: 1; text-align: center; font-size: .74rem; font-weight: 650; color: var(--muted); position: relative; padding-top: 22px; }
.status-steps .st::before { content: ''; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--border); z-index: 1; }
.status-steps .st::after { content: ''; position: absolute; top: 9px; left: -50%; right: 50%; height: 2px; background: var(--border); }
.status-steps .st:first-child::after { display: none; }
.status-steps .st.done { color: var(--text); } .status-steps .st.done::before, .status-steps .st.done::after { background: var(--secondary); }
.status-steps .st.current::before { box-shadow: 0 0 0 4px rgba(var(--secondary-rgb), .25); background: var(--secondary); }
@media (max-width: 560px) { .status-steps .st { font-size: 0; } .status-steps .st.current { font-size: .7rem; } }
.notice-strip { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(var(--accent-rgb), .16); border: 1px solid rgba(var(--accent-rgb), .4); font-size: .9rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 9; background: var(--surface-alt); display: grid; place-items: center; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.kbd-hint { display: inline-flex; gap: 4px; align-items: center; }
.print-only { display: none; }
@media print { .site-header, .site-footer, .assistant-fab, .assistant-panel, .cookie, .announce, .no-print { display: none !important; } .print-only { display: block; } body { background: #fff; } }
.cols-2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.cols-1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 900px) { .cols-2-1, .cols-1-2 { grid-template-columns: 1fr; } }

/* Responsive visibility helpers */
@media (max-width: 1020px) { .hide-md { display: none !important; } }
@media (max-width: 640px) { .hide-sm { display: none !important; } }
details.panel > summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
details.panel > summary::-webkit-details-marker { display: none; }
details.panel[open] > summary { border-bottom: 1px solid var(--border); }
.main-nav a { white-space: nowrap; }
@media (max-width: 1280px) { .main-nav a { padding: 8px 10px; font-size: .9rem; } }
:root[data-theme=dark] .announce { background: var(--surface-alt); color: var(--text); border-bottom: 1px solid var(--border); }
:root[data-theme=dark] .announce a { color: var(--primary); }
