:root {
  --bg: #f4f1ea;
  --fg: #122033;
  --card: #fffdf8;
  --navy: #123a5c;
  --navy-deep: #0a2540;
  --maple: #c8102e;
  --gold: #c4a35a;
  --primary: #123a5c;
  --primary-fg: #f7fbff;
  --primary-hover: #0c2e4a;
  --primary-soft: #e4eef6;
  --muted: #efe8dc;
  --muted-fg: #4d5b68;
  --accent: #e4eef6;
  --accent-fg: #123a5c;
  --border: #e2d9cc;
  --ink: #0a2540;
  --forest: #0a2540;
  --subtle: #7a8490;
  --today: #e8f0f7;
  --warn: #b54708;
  --success: #1f6b4a;
  --danger: #c8102e;
  --apt-teal: #123a5c;
  --apt-sage: #2f6f4e;
  --apt-clay: #c8102e;
  --apt-slate: #4a5e6d;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(10, 37, 64, 0.07), 0 8px 24px rgba(10, 37, 64, 0.08);
  --sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --display: "Fraunces", "Source Serif 4", Georgia, serif;
}
* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--fg); font-family: var(--sans); -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, [role="button"] { cursor: pointer; font-family: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.ca-bar { height: 5px; background: linear-gradient(90deg, #c8102e, #c4a35a, #123a5c, #c4a35a, #c8102e); background-size: 220% 100%; animation: ca-sheen 16s linear infinite; }
.ca-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--maple); }
.ca-badge svg { flex: 0 0 14px; }
.ca-mark { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--maple); width: 100%; margin: 0; }
.site-header {
  position: sticky; top: 0; z-index: 40; display: flex; flex-direction: column;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, var(--border));
  background:
    radial-gradient(900px 120px at 8% -20%, rgba(200, 16, 46, 0.09), transparent 55%),
    radial-gradient(700px 90px at 92% 0%, rgba(196, 163, 90, 0.14), transparent 50%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(244, 241, 234, 0.9));
  backdrop-filter: blur(12px);
}
.header-leaf { position: absolute; right: 7%; top: 0.35rem; width: 4.6rem; height: 4.6rem; color: var(--maple); opacity: 0.07; pointer-events: none; animation: ca-leaf 12s ease-in-out infinite; }
.header-leaf svg { width: 100%; height: 100%; }
.site-header .inner { min-height: 3.65rem; height: auto; position: relative; z-index: 1; }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; max-width: 72rem; margin: 0 auto; padding: 0.5rem 1.1rem; }
.nav-links { display: none; gap: 1.35rem; font-size: 0.82rem; font-weight: 600; color: var(--muted-fg); }
.header-actions { flex-wrap: nowrap; justify-content: flex-end; flex-shrink: 0; gap: 0.45rem; }
.header-actions .btn-ghost { min-height: 2.4rem; padding: 0 0.75rem; color: var(--navy); font-weight: 650; }
.row { display: flex; align-items: center; gap: 0.5rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.65rem; }
.wordmark .name { display: flex; flex-wrap: wrap; align-items: baseline; font-size: 1.12rem; letter-spacing: -0.02em; color: var(--ink); max-width: 8.5rem; }
.wordmark .name em { font-family: var(--display); font-style: normal; font-weight: 500; }
.wordmark .name strong { font-weight: 650; }
.mark { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(196, 163, 90, 0.45), 0 8px 18px rgba(18, 58, 92, 0.12); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 2.5rem; padding: 0 0.95rem; border-radius: 8px; font-size: 0.9rem; font-weight: 600; border: 1px solid transparent; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: var(--card); color: var(--ink); border-color: var(--border); }
.btn-ghost { background: transparent; color: var(--muted-fg); border: 0; }
.btn-lg { min-height: 2.85rem; padding: 0 1.2rem; }
.btn-full { width: 100%; }
.btn-sm { min-height: 2.1rem; padding: 0 0.7rem; font-size: 0.8rem; }
.hero { padding: 3.5rem 0 4rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-grid > * { min-width: 0; }
.ca-plate { position: relative; overflow: hidden; display: grid; gap: 0.12rem; max-width: 30rem; margin: 0 0 1.35rem; padding: 1rem 1.2rem 1.05rem; border: 1px solid color-mix(in srgb, var(--gold) 50%, var(--border)); border-radius: 18px; background: linear-gradient(155deg, #fffdf8 0%, #f7f1e6 72%, #f3eee4 100%); box-shadow: 0 1px 0 rgba(196, 163, 90, 0.28), var(--shadow); }
.ca-plate-glow { position: absolute; width: 10rem; height: 10rem; left: -2.2rem; top: -3.2rem; background: radial-gradient(circle, rgba(196, 163, 90, 0.28), transparent 68%); pointer-events: none; animation: ca-glow 9s ease-in-out infinite; }
.ca-plate-leaf { position: absolute; right: -0.4rem; top: -0.55rem; width: 5.6rem; height: 5.6rem; color: var(--maple); opacity: 0.1; pointer-events: none; animation: ca-leaf 11s ease-in-out infinite; }
.ca-plate-kicker { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--maple); }
.ca-plate-line { margin: 0.2rem 0 0; font-family: var(--display); font-size: 1.12rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); line-height: 1.25; }
.ca-plate-for { margin: 0.4rem 0 0; font-size: 0.95rem; font-weight: 650; color: var(--navy); }
@keyframes ca-sheen { to { background-position: 220% 0; } }
@keyframes ca-glow { 0%, 100% { opacity: 0.7; transform: translate(0, 0) scale(1); } 50% { opacity: 1; transform: translate(12%, 8%) scale(1.08); } }
@keyframes ca-leaf { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(5deg) translateY(4px); } }
@media (prefers-reduced-motion: reduce) {
  .ca-bar, .ca-plate-glow, .ca-plate-leaf, .header-leaf { animation: none; }
}
h1 { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; color: var(--ink); line-height: 1.12; margin: 0; font-size: 2.4rem; }
h2 { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; color: var(--ink); margin: 0.4rem 0 0; font-size: 2rem; }
.lede { margin: 1.1rem 0 0; max-width: 36rem; color: var(--muted-fg); font-size: 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.fine { margin-top: 0.9rem; font-size: 0.75rem; color: var(--subtle); }
.stats { display: none; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 0.75rem 1rem; }
.stat p { margin: 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.stat b { display: block; font-size: 0.9rem; margin-top: 0.15rem; }
.section { padding: 4.5rem 0; }
.center { text-align: center; }
.kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--maple); }
.sub { margin: 0.7rem auto 0; max-width: 34rem; color: var(--muted-fg); font-size: 0.95rem; }
.grid-3, .grid-2 { display: grid; gap: 1rem; margin-top: 2.2rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem 1.3rem; }
.card h3 { margin: 0.55rem 0 0; font-size: 1.05rem; }
.card p { margin: 0.45rem 0 0; color: var(--muted-fg); font-size: 0.9rem; }
.ico { width: 36px; height: 36px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.price-grid { display: grid; gap: 1.1rem; max-width: 42rem; margin: 2.4rem auto 0; }
.price { padding: 1.4rem; }
.price.featured { border-color: var(--maple); box-shadow: var(--shadow); }
.price .amt { display: flex; align-items: baseline; gap: 0.3rem; margin-top: 0.4rem; }
.price .amt span { font-family: var(--display); font-size: 2.4rem; letter-spacing: -0.03em; color: var(--ink); }
.price .amt small { color: var(--muted-fg); font-size: 0.85rem; }
.price .note { font-size: 0.75rem; color: var(--subtle); margin-top: 0.2rem; }
.notice { display: flex; gap: 0.7rem; max-width: 42rem; margin: 2rem auto 0; padding: 1rem 1.1rem; border: 1px solid var(--border); background: var(--card); border-radius: 12px; font-size: 0.88rem; color: var(--muted-fg); }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.photos img { border-radius: 14px; height: 180px; width: 100%; object-fit: cover; object-position: top left; border: 1px solid var(--border); }
.shot-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 24px 60px -28px rgba(18,32,30,.45); background: var(--card); }
.shot-chrome { display: flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.75rem; background: #f3eee6; border-bottom: 1px solid var(--border); }
.shot-chrome span { width: 8px; height: 8px; border-radius: 50%; background: #d9d1c4; display: block; }
.shot-chrome span:nth-child(1) { background: #e07a6a; }
.shot-chrome span:nth-child(2) { background: #e0b35a; }
.shot-chrome span:nth-child(3) { background: #7bbf8e; }
.shot-chrome b { margin-left: 0.5rem; font-size: 0.68rem; font-weight: 650; color: var(--subtle); }
.shot-frame img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: top left; display: block; }
.ui-photos { margin-top: 2rem; }
.ui-photos figure { margin: 0; }
.ui-photos a { display: block; }
.ui-photos img { height: 190px; object-position: top left; }
.ui-photos figcaption { font-size: 0.75rem; font-weight: 650; color: var(--subtle); margin-top: 0.4rem; letter-spacing: 0.06em; text-transform: uppercase; }
.ehr-points { margin-top: 2rem; }
.feat-catalog { display: grid; gap: 1.1rem; margin-top: 2rem; }
@media (min-width: 800px) { .feat-catalog { grid-template-columns: 1fr 1fr; } }
.feat-item { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 6.5rem; }
.feat-item figure { margin: 0; }
.feat-item img { width: 100%; height: 11.2rem; object-fit: cover; object-position: top left; display: block; }
.feat-visual { height: 11.2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.45rem; background: linear-gradient(160deg, #dce8f2, #f7f1e6); color: var(--navy); font-weight: 650; font-size: 0.88rem; }
.feat-visual svg { width: 32px; height: 32px; }
.feat-body { padding: 1.05rem 1.15rem 1.2rem; }
.feat-body h3 { margin: 0.15rem 0 0; font-size: 1.18rem; }
.feat-body p { margin: 0.45rem 0 0; color: var(--muted-fg); font-size: 0.92rem; }
.feat-body .btn { margin-top: 0.85rem; }
.feat-item.feat-focus, .section.feat-focus { box-shadow: 0 0 0 2px var(--gold); }
.section { scroll-margin-top: 6.5rem; }
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.85rem; margin-top: 2rem; }
.who h3 { font-size: 1.02rem; }
.tour { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.tour figure { margin: 0; }
.tour img { width: 100%; height: 200px; object-fit: cover; object-position: top left; border-radius: 14px; border: 1px solid var(--border); }
.tour figcaption { margin-top: 0.55rem; color: var(--muted-fg); font-size: 0.9rem; }
.tour figcaption b { display: block; color: var(--ink); font-size: 0.95rem; margin-bottom: 0.15rem; }
.sim-frame { margin-top: 2rem; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.sim-body { display: grid; grid-template-columns: 12rem 1fr; min-height: 18rem; }
.sim-body aside { background: #faf7f2; border-right: 1px solid var(--border); padding: 1rem 0.9rem; font-size: 0.85rem; color: var(--muted-fg); }
.sim-body aside p { margin: 0.35rem 0; }
.sim-brand { margin-bottom: 0.8rem !important; color: var(--ink); }
.sim-brand small { display: block; font-weight: 500; color: var(--subtle); }
.sim-main { padding: 1.1rem 1.2rem; }
.sim-top { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: 0.6rem; }
.sim-top span { font-size: 0.8rem; color: var(--subtle); }
.sim-empty { border: 1px dashed var(--border); border-radius: 10px; padding: 1.4rem 1rem; background: var(--today); color: var(--accent-fg); font-size: 0.9rem; }
.sim-caps { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted-fg); font-size: 0.88rem; }
.sim-caps li { margin: 0.3rem 0; }
.session-page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; background: #0a2540; color: #f7fbff; }
.session-head { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1.1rem; background: #123a5c; }
.session-grid { display: grid; grid-template-columns: 1fr 18rem; min-height: 0; }
.session-stage { position: relative; background: #0a2540; min-height: 70vh; }
.session-stage video#sessCam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.session-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#sessRemote { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; background: #0a2540; }
#sessFx { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
#sessFx.pip { inset: auto 1rem 1rem auto; width: 11rem; height: 8rem; border-radius: 10px; z-index: 4; box-shadow: 0 8px 24px rgba(0,0,0,.35); object-fit: cover; }
.session-hint { position: absolute; left: 1rem; bottom: 1rem; z-index: 4; font-size: 0.85rem; background: rgba(12,61,58,.75); padding: 0.45rem 0.7rem; border-radius: 8px; }
.session-side { padding: 1.1rem; background: #0f3050; overflow: auto; }
.session-side h2 { color: #f4fffc; font-size: 1.4rem; }
.bg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.bg-chip { min-height: 2.4rem; border-radius: 8px; border: 1px solid #2c5550; background: #1b403c; color: #f4fffc; font: inherit; font-size: 0.78rem; font-weight: 650; }
.bg-chip:hover { background: #0e7c74; }
.file-chip { display: grid; place-items: center; cursor: pointer; }
.email-sim { background: #fff; }
.chart-hero { margin-bottom: 1rem; }
.chart-kpi { margin-top: 1rem; }
.drop-wrap { position: relative; }
.drop-menu { position: absolute; right: 0; top: 2.6rem; z-index: 20; background: var(--card); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); min-width: 16rem; max-height: 20rem; overflow: auto; padding: 0.35rem; }
.menu-item { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0.45rem 0.65rem; font: inherit; font-size: 0.85rem; border-radius: 6px; }
.menu-item:hover { background: var(--today); }
.phq-row { margin: 0.55rem 0; }
.phq-row p { margin: 0 0 0.25rem; font-size: 0.88rem; }
.req { color: var(--danger); font-weight: 700; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.4rem 0 0.6rem; }
.member-chip { display: inline-flex; align-items: center; gap: 0.35rem; background: #e8f0fe; color: #1a3d7c; border-radius: 999px; padding: 0.25rem 0.55rem 0.25rem 0.7rem; font-size: 0.85rem; font-weight: 650; }
.chip-x { border: 0; background: none; font-size: 1.1rem; line-height: 1; color: inherit; padding: 0 0.15rem; cursor: pointer; }
.pick-list { max-height: 10rem; overflow: auto; border: 1px solid var(--border); border-radius: 8px; margin-top: 0.4rem; }
.scribe-list { display: flex; flex-direction: column; gap: 0.5rem; }
.scribe-row { display: flex; justify-content: space-between; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 0.85rem 1rem; }
.scribe-row:hover { border-color: var(--primary); }
.scribe-recbar { background: #12201e; color: #f4fffc; border-radius: 12px; padding: 0.8rem 1rem; margin-bottom: 1rem; }
.scribe-clock { font-variant-numeric: tabular-nums; font-size: 1.2rem; font-weight: 700; margin: 0 0.6rem; }
.scribe-detail { display: grid; gap: 1rem; }
.transcript, .note-body { white-space: pre-wrap; font-family: inherit; font-size: 0.92rem; line-height: 1.55; margin: 0.6rem 0 0; }
.tpl-list { display: flex; flex-direction: column; gap: 0.4rem; max-height: 16rem; overflow: auto; margin: 0.6rem 0; }
.tpl-card { text-align: left; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 0.65rem 0.8rem; }
.tpl-card.on { border-color: var(--primary); background: var(--today); }
@media (min-width: 900px) { .scribe-detail { grid-template-columns: 16rem 1fr; } }
@media (max-width: 800px) {
  .session-grid { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .tour { grid-template-columns: 1fr 1fr; }
  .tour img { height: 220px; }
}
.footer { border-top: 1px solid var(--border); padding: 2rem 0 2.5rem; color: var(--muted-fg); font-size: 0.82rem; }
.footer .inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; }
.auth-card { width: 100%; max-width: 26rem; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.6rem 1.5rem 1.7rem; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.7rem; }
.auth-error { margin: 0.9rem 0 0; padding: 0.65rem 0.75rem; border-radius: 8px; background: #fde8e6; color: var(--danger); font-size: 0.85rem; font-weight: 600; }
.text-link { background: none; border: 0; padding: 0; color: var(--primary); font: inherit; font-weight: 650; text-decoration: underline; cursor: pointer; }
.google-slot { min-height: 2.75rem; display: flex; justify-content: center; }
.check-line { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.9rem; font-weight: 550; }
.check-line input { width: auto; min-width: 1.05rem; min-height: 1.05rem; height: 1.05rem; margin: 0.2rem 0 0; flex: 0 0 auto; padding: 0; }
.lang-pick { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 650; color: var(--muted-fg); }
.lang-pick select { min-height: 2.1rem; width: auto; padding: 0 0.45rem; font-size: 0.8rem; }
.addr-wrap { position: relative; }
.addr-suggest { position: absolute; left: 0; right: 0; top: calc(100% - 0.4rem); z-index: 30; background: var(--card); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); max-height: 12rem; overflow: auto; }
.addr-item { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0.55rem 0.75rem; font: inherit; font-size: 0.85rem; border-bottom: 1px solid var(--border); }
.addr-item:hover { background: var(--today); }
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .ops, html[dir="rtl"] .portal-body, html[dir="rtl"] .ops-login { direction: rtl; }
html[dir="rtl"] .ops-side nav button, html[dir="rtl"] .side nav a { text-align: right; }
html[dir="rtl"] .ops-table th, html[dir="rtl"] .ops-table td, html[dir="rtl"] .table th, html[dir="rtl"] .table td { text-align: right; }
html[dir="rtl"] .addr-item { text-align: right; }
.wordmark, .wordmark .name { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .wordmark { flex-direction: row; }
html[dir="rtl"] .wordmark .name { flex-direction: row; }
html[dir="rtl"] .header-leaf { right: auto; left: 7%; }
html[dir="rtl"] .ca-plate-leaf { right: auto; left: -0.4rem; }
.providers { display: grid; gap: 0.55rem; margin-top: 1.3rem; }
.provider { display: flex; align-items: center; justify-content: center; gap: 0.65rem; min-height: 2.75rem; border: 1px solid var(--border); background: #fff; border-radius: 8px; font-weight: 600; font-size: 0.9rem; }
.or { display: flex; align-items: center; gap: 0.7rem; margin: 1.1rem 0; color: var(--subtle); font-size: 0.75rem; }
.or:before, .or:after { content: ""; flex: 1; height: 1px; background: var(--border); }
label { display: block; font-size: 0.8rem; font-weight: 600; margin: 0.75rem 0 0.3rem; }
input, select, textarea { width: 100%; min-height: 2.55rem; border: 1px solid var(--border); border-radius: 8px; padding: 0.5rem 0.75rem; background: #fff; font: inherit; color: var(--ink); }
textarea { min-height: 5.5rem; resize: vertical; }
.form-grid { display: grid; gap: 0 0.8rem; }
.portal { display: grid; min-height: 100vh; grid-template-rows: auto 1fr; }
.portal-body { display: grid; grid-template-columns: 15.5rem 1fr; min-height: 0; }
.side { background: var(--card); border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.side-brand { display: flex; align-items: center; gap: 0.55rem; padding: 1rem 1rem 0.8rem; color: inherit; }
.side-brand:hover { color: inherit; }
.side-brand small { display: block; color: var(--muted-fg); font-size: 0.72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side nav { padding: 0.4rem 0.55rem 1rem; flex: 1; overflow: auto; }
.side a { display: flex; align-items: center; gap: 0.6rem; width: 100%; min-height: 2.5rem; padding: 0.4rem 0.7rem; border-radius: 8px; font-size: 0.88rem; font-weight: 550; color: var(--muted-fg); }
.side a.active { background: var(--accent); color: var(--accent-fg); }
.main { display: flex; flex-direction: column; min-width: 0; }
.topbar { min-height: 3.25rem; height: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.65rem; padding: 0.4rem 1rem; border-bottom: 1px solid var(--border); background: var(--card); box-shadow: 0 1px 0 rgba(10,37,64,.04); }
.topbar-brand { font-size: 0.82rem; font-weight: 700; color: var(--navy); max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-chip { font-size: 0.78rem; font-weight: 650; color: var(--ink); background: var(--primary-soft); border-radius: 999px; padding: 0.2rem 0.65rem; }
.topbar-actions { flex-wrap: wrap; justify-content: flex-end; }
.search { flex: 1; max-width: 22rem; position: relative; }
.search input { padding-left: 2.1rem; background: var(--card); }
.search svg { position: absolute; left: 0.65rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--subtle); }
.page { padding: 1.1rem 1.2rem 2rem; }
.dash-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 0.65rem; margin: 0.4rem 0 1.2rem; }
.dash-quick-link { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 0.85rem 0.9rem; font-weight: 650; font-size: 0.88rem; color: var(--ink); }
.dash-quick-link:hover { border-color: var(--navy); }
.dash-grid { display: grid; gap: 0.85rem; }
@media (min-width: 800px) { .dash-grid { grid-template-columns: 1fr 1fr 1fr; } }
.dash-card p { margin: 0.35rem 0 0; }
.table tr.unread td { font-weight: 700; background: #f4f8fc; }
.mail-body { font-size: 0.95rem; line-height: 1.55; }
.mail-body p { margin: 0.4rem 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.page-head h1 { font-size: 1.55rem; margin: 0; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 0.1rem 0.55rem; font-size: 0.72rem; font-weight: 650; background: var(--primary-soft); color: var(--accent-fg); }
.badge.warn { background: #f8ead3; color: var(--warn); }
.badge.ok { background: #d9f0e3; color: var(--success); }
.table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 0.7rem 0.85rem; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.table th { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); font-weight: 650; background: #faf7f2; }
.table tr.click:hover td { background: var(--today); cursor: pointer; }
.kpi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.msg { display: flex; gap: 0.7rem; padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-soft); color: var(--accent-fg); display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; flex: 0 0 36px; }
.menu-btn { display: inline-flex; background: none; border: 0; padding: 0.4rem; }
.hide-d { display: inline-flex; }
.trial { font-size: 0.75rem; color: var(--accent-fg); background: var(--primary-soft); border-radius: 999px; padding: 0.2rem 0.6rem; font-weight: 650; }
.return { max-width: 32rem; margin: 0 auto; padding: 3rem 1.2rem; }
.check { width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 1.1rem; }
.dl { margin-top: 1.2rem; }
.dl .row { justify-content: space-between; padding: 0.7rem 0; border-top: 1px solid var(--border); font-size: 0.9rem; }
.demo-bar { background: var(--forest); color: #e7f3f1; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.04em; text-align: center; padding: 0.45rem 0.8rem; }
.modal-bg { position: fixed; inset: 0; background: rgba(18,32,30,.4); z-index: 80; display: grid; place-items: center; padding: 1rem; }
.modal { width: min(36rem, 100%); background: var(--card); border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); padding: 1.1rem 1.15rem 1.2rem; max-height: min(90vh, 40rem); overflow: auto; }
.modal .form-grid.two { grid-template-columns: 1fr 1fr; }
.modal-client { max-width: 100%; }
.modal h2 { font-size: 1.25rem; margin: 0 0 0.3rem; }
.form-actions { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 1rem; flex-wrap: wrap; }
.appointment-client-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.55rem; align-items: center; }
.appointment-client-empty { border: 1px dashed var(--border); border-radius: 12px; background: var(--primary-soft); padding: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.appointment-client-empty p { margin: 0; color: var(--muted-fg); font-size: 0.88rem; }
.add-client-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; white-space: nowrap; }
.chip { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 0.25rem 0.7rem; font-size: 0.8rem; font-weight: 600; color: var(--muted-fg); }
.chip.on { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.day-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.empty { border: 1px dashed var(--border); border-radius: 12px; padding: 1.6rem; text-align: center; color: var(--muted-fg); font-size: 0.9rem; background: var(--card); }
.danger-btn { background: #fff; border: 1px solid var(--border); color: var(--danger); border-radius: 8px; min-height: 2.4rem; padding: 0 0.8rem; font-weight: 650; }
.danger-btn:hover, .danger-btn:focus-visible { border-color: var(--danger); background: #fff3f2; }
.danger-btn:disabled, .btn:disabled { opacity: .58; cursor: wait; }
.tabs { display: flex; gap: 0.2rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; overflow: auto; }
.tabs button { background: none; border: 0; padding: 0.6rem 0.85rem; font-weight: 600; font-size: 0.85rem; color: var(--muted-fg); border-bottom: 2px solid transparent; }
.tabs button.active { color: var(--primary); border-bottom-color: var(--primary); }
.sched-wrap { overflow: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.sched { min-width: 700px; }
.sched-head, .sched-row { display: grid; }
.sched-head { position: sticky; top: 0; z-index: 2; background: var(--card); border-bottom: 1px solid var(--border); }
.sched-head > div { padding: 0.7rem 0.6rem; }
.sched-head .who { font-size: 0.85rem; font-weight: 650; color: var(--ink); }
.sched-head .who small { display: block; font-weight: 500; color: var(--subtle); font-size: 0.7rem; }
.sched-body { position: relative; }
.sched-row { height: 56px; }
.sched-row > * { border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.sched-row .time { color: var(--subtle); font-size: 0.7rem; padding: 0.25rem 0.4rem; }
.col-slot { position: relative; }
.sched-apt { position: absolute; left: 6px; right: 6px; border-radius: 8px; padding: 0.35rem 0.5rem; color: #fff; font-size: 0.72rem; overflow: hidden; cursor: pointer; }
.sched-apt b { display: block; font-size: 0.78rem; }
.live-embed { max-height: 440px; overflow: auto; background: var(--bg); padding: 0.4rem 0.5rem 0.8rem; }
.live-embed .page-head { margin-bottom: 0.6rem; }
.live-embed .page-head h1 { font-size: 1.15rem; }
.live-embed .fine { display: none; }
.card[data-act] { cursor: pointer; text-align: left; width: 100%; font: inherit; color: inherit; }
.name-cell { display: flex; align-items: center; gap: 0.6rem; }
@media (min-width: 760px) {
  .nav-links { display: flex; }
  h1 { font-size: 3.1rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .stats { display: grid; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .kpi { grid-template-columns: repeat(4, 1fr); }
  .hide-d { display: none; }
}
@media (max-width: 759px) {
  .header-leaf { width: 3.4rem; height: 3.4rem; right: 0.6rem; }
  .portal-body { grid-template-columns: 1fr; }
  .side { display: none; }
  .side.open { display: flex; position: fixed; inset: 0 auto 0 0; width: 16rem; z-index: 50; box-shadow: var(--shadow); }
  .scrim { position: fixed; inset: 0; background: rgba(18,32,30,.35); z-index: 45; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--card); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 0.4rem 0.8rem 0.8rem; z-index: 45; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.65rem 0.4rem; border-bottom: 1px solid var(--border); }
  .hide-m { display: none !important; }
  .modal .form-grid.two { grid-template-columns: 1fr; }
  .appointment-client-row { grid-template-columns: 1fr; }
  .appointment-client-empty { align-items: stretch; flex-direction: column; }
  .session-grid { grid-template-columns: 1fr; }
  .topbar { flex-wrap: wrap; }
  .search { max-width: none; flex: 1 1 100%; order: 3; }
}
.legal { max-width: 46rem; margin: 0 auto; padding: 2.2rem 1.25rem 4.5rem; }
.legal h1 { font-family: var(--display); font-size: 2.1rem; letter-spacing: -0.03em; margin: 0.5rem 0 0.4rem; }
.legal h2 { font-size: 1.15rem; margin: 1.8rem 0 0.5rem; color: var(--navy); }
.legal p, .legal li { color: var(--muted-fg); font-size: 0.95rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin: 0.35rem 0; }
.legal a { color: var(--navy); font-weight: 650; text-decoration: underline; }
.ops { display: grid; min-height: 100vh; grid-template-columns: 15.75rem 1fr; background: #efe8dc; }
.ops-side { background: #0a2540; color: #d7e3ee; display: flex; flex-direction: column; min-height: 100vh; }
.ops-home-mark { display: inline-flex; width: fit-content; }
.ops-home-mark .mark { width: 40px; height: 40px; }
.ops-brand { display: flex; align-items: center; gap: 0.7rem; padding: 1.2rem 1.1rem 1rem; color: inherit; }
.ops-brand:hover { color: inherit; }
.ops-brand b { display: block; color: #fff; font-size: 0.95rem; letter-spacing: -0.02em; }
.ops-brand small { display: block; color: #c4a35a; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ops-side nav { padding: 0.4rem 0.7rem; display: grid; gap: 0.2rem; flex: 1; }
.ops-side nav button { display: flex; align-items: center; gap: 0.65rem; width: 100%; min-height: 2.55rem; padding: 0.4rem 0.75rem; border: 0; border-radius: 9px; background: transparent; color: #c5d4e0; font: inherit; font-weight: 600; font-size: 0.9rem; text-align: left; }
.ops-side nav button:hover { background: rgba(255,255,255,.06); color: #fff; }
.ops-side nav button.active { background: rgba(196,163,90,.16); color: #f3e2b0; }
.ops-side-foot { padding: 1rem 1.1rem 1.2rem; border-top: 1px solid rgba(255,255,255,.08); }
.ops-side-foot p { margin: 0; font-size: 0.75rem; color: #9fb3c4; word-break: break-all; }
.ops-side-foot button { margin-top: 0.45rem; background: none; border: 0; color: #e3c56a; font: inherit; font-weight: 650; font-size: 0.8rem; padding: 0; }
.ops-main { min-width: 0; display: flex; flex-direction: column; }
.ops-top { height: 3.5rem; display: flex; align-items: center; gap: 0.8rem; padding: 0 1.2rem; border-bottom: 1px solid var(--border); background: color-mix(in srgb, #f7f2ea 88%, white); }
.ops-top-spacer { flex: 1; }
.ops-top .lang-pick { color: var(--muted-fg); }
.ops-page { padding: 1.35rem 1.4rem 3rem; max-width: 68rem; }
.ops-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.15rem; }
.ops-head h1 { font-size: 1.85rem; margin: 0.15rem 0 0; }
.ops-lead { margin: 0.4rem 0 0; max-width: 36rem; color: var(--muted-fg); font-size: 0.95rem; }
.ops-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1.1rem; }
.ops-kpis article { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 0.9rem 1rem; box-shadow: var(--shadow); }
.ops-kpis p { margin: 0; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.ops-kpis b { display: block; margin-top: 0.2rem; font-family: var(--display); font-size: 1.7rem; font-weight: 500; color: var(--ink); }
.ops-search { position: relative; margin-bottom: 0.85rem; max-width: 28rem; }
.ops-search svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--subtle); }
.ops-search input { padding-left: 2.3rem; background: var(--card); }
.ops-table-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: auto; box-shadow: var(--shadow); }
.ops-table { width: 100%; border-collapse: collapse; }
.ops-table th, .ops-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.ops-table th { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); background: #faf7f2; }
.ops-table td b { display: block; font-size: 0.92rem; color: var(--ink); }
.ops-table td small { display: block; margin-top: 0.12rem; color: var(--subtle); font-size: 0.78rem; }
.ops-table .num { font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.ops-row { cursor: pointer; }
.ops-row:hover td { background: #f4f8fc; }
.ops-ava { width: 2.35rem; height: 2.35rem; border-radius: 50%; background: var(--navy); color: #f7fbff; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; flex: 0 0 2.35rem; }
.ops-ava.sm { width: 2rem; height: 2rem; font-size: 0.68rem; flex-basis: 2rem; }
.ops-empty { padding: 2.6rem 1.5rem; text-align: center; color: var(--muted-fg); }
.ops-empty b { color: var(--ink); font-size: 1.05rem; }
.ops-empty .btn { margin-top: 1rem; }
.ops-panel { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 0.4rem 1.25rem 1.25rem; box-shadow: var(--shadow); }
.ops-section { padding: 1.15rem 0; border-bottom: 1px solid var(--border); }
.ops-section:last-of-type { border-bottom: 0; }
.ops-section h3 { margin: 0 0 0.85rem; font-size: 0.95rem; letter-spacing: -0.02em; }
.rate-picks { display: grid; gap: 0.55rem; }
.rate-pick { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; margin: 0; padding: 0.8rem 0.9rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; }
.rate-pick:has(input:checked) { border-color: var(--navy); background: #eef4f9; box-shadow: inset 0 0 0 1px var(--navy); }
.rate-pick input { margin-top: 0.25rem; width: auto; min-height: 0; }
.rate-pick b { display: block; color: var(--ink); font-size: 0.92rem; }
.rate-pick small { display: block; margin-top: 0.15rem; color: var(--muted-fg); font-size: 0.8rem; font-weight: 500; }
.pw-row { display: flex; gap: 0.45rem; }
.pw-row input { flex: 1; }
.pw-row .password-control { flex: 1; }
.password-control { display: block; position: relative; width: 100%; }
.password-control input { width: 100%; padding-inline-end: 3rem; }
.password-toggle { position: absolute; inset-inline-end: .45rem; top: 50%; transform: translateY(-50%); width: 2.15rem; height: 2.15rem; min-height: 0; display: grid; place-items: center; padding: 0; border: 0; border-radius: .55rem; background: transparent; color: var(--subtle); cursor: pointer; }
.password-toggle:hover, .password-toggle:focus-visible, .password-toggle[aria-pressed="true"] { background: var(--primary-soft); color: var(--navy); }
.password-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 0.12rem 0.55rem; font-size: 0.72rem; font-weight: 700; background: var(--primary-soft); color: var(--navy); }
.pill.ok { background: #dcefe4; color: var(--success); }
.pill.warn { background: #f6ead3; color: var(--warn); }
.pill.wait { background: #eee9e0; color: var(--subtle); }
.pill.navy { background: #d9e6f1; color: var(--navy); }
.int-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; margin-bottom: 1.1rem; }
.int-tile { display: flex; gap: 0.7rem; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 0.9rem 1rem; }
.int-tile b { display: block; color: var(--ink); font-size: 0.92rem; }
.int-tile small { color: var(--subtle); font-size: 0.75rem; }
.int-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #c5b8a6; flex: 0 0 0.55rem; }
.int-tile.on .int-dot { background: #1f6b4a; box-shadow: 0 0 0 4px #dcefe4; }
.ops-toast { margin: 0.85rem 1.4rem 0; padding: 0.75rem 0.9rem; border-radius: 10px; background: #e7f4ec; color: var(--success); font-weight: 650; font-size: 0.88rem; display: flex; justify-content: space-between; gap: 0.8rem; align-items: flex-start; }
.ops-toast button { background: none; border: 0; color: inherit; font: inherit; font-weight: 700; }
.ops-scrim { position: fixed; inset: 0; background: rgba(10, 37, 64, 0.35); z-index: 70; }
.ops-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(28rem, 100%); background: var(--card); z-index: 80; box-shadow: -16px 0 40px rgba(10, 37, 64, 0.16); padding: 1.2rem 1.25rem 2rem; overflow: auto; }
.ops-drawer-top { display: grid; grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: center; margin-bottom: 1rem; }
.ops-drawer h2 { font-size: 1.2rem; margin: 0; }
.ops-drawer-top p { margin: 0.15rem 0 0; color: var(--subtle); font-size: 0.82rem; }
.ops-drawer h3 { font-size: 0.88rem; margin: 1rem 0 0.6rem; }
.ops-dl { display: grid; gap: 0.55rem; padding: 0.9rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ops-dl div { display: grid; grid-template-columns: 6.2rem 1fr; gap: 0.5rem; font-size: 0.88rem; }
.ops-dl dt { color: var(--subtle); font-weight: 650; }
.ops-dl dd { margin: 0; color: var(--ink); }
.ops-danger-zone { margin-top: 1.35rem; padding: 1rem; border: 1px solid #ead4d0; border-radius: 12px; background: #fffaf9; }
.ops-danger-zone.active { border-color: #d99e96; box-shadow: inset 0 0 0 1px #f5d9d5; }
.ops-danger-zone h3 { margin-top: 0; color: var(--danger); }
.ops-danger-zone p { margin: 0 0 .85rem; color: var(--muted-fg); font-size: .84rem; }
.ops-danger-zone form { display: grid; gap: .55rem; }
.ops-danger-zone .form-actions { margin-top: .35rem; }
.ops-otp { display: block; width: fit-content; margin: .2rem 0 .9rem; padding: .55rem .85rem; border: 1px dashed var(--danger); border-radius: 9px; background: #fff; color: var(--danger); font: 700 1.25rem/1 var(--body); letter-spacing: .24em; }
.ops-login { display: grid; min-height: 100vh; }
.ops-login-brand { display: none; background: #0a2540; color: #d7e3ee; padding: 3rem 2.4rem; }
.ops-login-brand h1 { color: #fff; font-size: 2.35rem; margin-top: 0.4rem; }
.ops-login-brand p { max-width: 26rem; color: #b7c8d6; }
.ops-login-form { display: grid; place-items: center; padding: 2rem 1.1rem; }
.ops-login-card { width: min(26rem, 100%); background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.6rem 1.5rem 1.7rem; box-shadow: var(--shadow); }
.ops-login-card h2 { font-size: 1.55rem; margin: 1rem 0 0; }
.pay-step .pay-plan { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; background: var(--primary-soft); border-radius: 10px; padding: 0.75rem 0.9rem; margin: 0.6rem 0 0.8rem; }
.pay-step .pay-plan span { color: var(--muted-fg); font-size: 0.85rem; }
.pay-fake { border: 1px solid var(--border); border-radius: 12px; padding: 0.9rem 1rem; background: #fff; margin: 0.8rem 0 1rem; }
.pay-slot { margin: 0.2rem 0 0.65rem; padding: 0.65rem 0.75rem; border: 1px dashed var(--border); border-radius: 8px; color: var(--subtle); font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.access-wrap { overflow: auto; }
.access-table th, .access-table td { text-align: center; white-space: nowrap; font-size: 0.78rem; }
.access-table td.who, .access-table th.who { text-align: left; position: sticky; left: 0; background: var(--card); }
.access-table td.who small { display: block; color: var(--subtle); }
.access-table input { width: auto; min-height: 1.1rem; min-width: 1.1rem; }
.ins-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 0.75rem; }
.ins-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 0.9rem 1rem; display: flex; flex-direction: column; gap: 0.7rem; justify-content: space-between; }
.ins-card.on { border-color: var(--success); background: #f3faf6; }
.ins-card b { color: var(--ink); font-size: 0.92rem; }
@media (min-width: 900px) {
  .ops-kpis { grid-template-columns: repeat(4, 1fr); }
  .rate-picks { grid-template-columns: 1fr 1fr; }
  .int-grid { grid-template-columns: repeat(4, 1fr); }
  .ops-login { grid-template-columns: 1.05fr 0.95fr; }
  .ops-login-brand { display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 759px) {
  .ops { grid-template-columns: 1fr; }
  .ops-side { display: none; }
  .ops-side.open { display: flex; position: fixed; inset: 0 auto 0 0; width: 16.5rem; z-index: 50; }
}
.nav-drop { background: none; border: 0; font: inherit; font-size: 0.82rem; font-weight: 600; color: var(--muted-fg); padding: 0.45rem 0.15rem; display: inline-flex; align-items: center; gap: 0.25rem; position: relative; }
.nav-drop:hover, .mega-wrap.open .nav-drop { color: var(--navy); }
.nav-links > a { position: relative; padding: 0.45rem 0.15rem; }
.nav-drop::after, .nav-links > a::after { content: ""; position: absolute; left: 0.15rem; right: 0.15rem; bottom: 0.12rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.28s ease; }
.nav-drop:hover::after, .mega-wrap.open .nav-drop::after, .nav-links > a:hover::after { transform: scaleX(1); }
.icon-btn { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.icon-btn:hover { box-shadow: 0 0 0 1px rgba(196, 163, 90, 0.45); }
.mega-wrap { position: relative; }
.mega { display: none; position: absolute; top: calc(100% + 0.55rem); left: 50%; transform: translateX(-30%); min-width: 44rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 1.15rem 1.2rem 1.3rem; z-index: 60; }
.mega-wrap.open .mega { display: grid; }
.mega.cols-3 { grid-template-columns: 1fr 1fr 1fr; gap: 1.2rem; }
.mega.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 1rem; }
.mega.cols-1 { min-width: 16rem; transform: translateX(-10%); }
.mega h4 { margin: 0 0 0.55rem; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.mega a { display: block; padding: 0.28rem 0; color: var(--ink); font-size: 0.88rem; font-weight: 600; border: 0; }
.mega a:hover { color: var(--primary); }
.mega.simple a { padding: 0.4rem 0.15rem; }
.icon-btn { width: 2.45rem; height: 2.45rem; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--navy); display: inline-grid; place-items: center; }
.icon-btn:hover { border-color: var(--navy); }
.sign-split { display: grid; gap: 1rem; max-width: 52rem; margin: 2.4rem auto; padding: 0 1.2rem 4rem; }
.sign-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.5rem 1.4rem; box-shadow: var(--shadow); }
.sign-card h2 { font-size: 1.35rem; margin: 0.2rem 0 0.4rem; }
.sign-illus { height: 9.5rem; border-radius: 12px; background: linear-gradient(160deg, #dce8f2, #f7f1e6); margin-bottom: 1rem; display: grid; place-items: center; color: var(--navy); }
.help-fab { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 70; }
.help-fab-btn { width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 0; background: var(--navy); color: #fff; box-shadow: 0 10px 28px rgba(10,37,64,.28); display: grid; place-items: center; }
.help-panel { position: fixed; right: 1.1rem; bottom: 5.1rem; width: min(22.5rem, calc(100vw - 1.6rem)); background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(10,37,64,.22); border: 1px solid var(--border); z-index: 71; overflow: hidden; display: flex; flex-direction: column; max-height: min(34rem, calc(100vh - 7rem)); }
.help-panel[hidden], .help-fab[hidden], .help-fab-btn[hidden] { display: none !important; }
.help-head { background: var(--navy); color: #fff; padding: 0.55rem 0.55rem 0.55rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.help-head b { font-size: 0.95rem; }
.help-head button, .help-min { background: none; border: 0; color: #fff; font-size: 1.45rem; line-height: 1; min-width: 2.75rem; min-height: 2.75rem; border-radius: 8px; display: inline-grid; place-items: center; flex: 0 0 auto; }
.help-min:hover, .help-head button:hover { background: rgba(255,255,255,.12); }
.help-body { padding: 0.95rem 1rem 1.05rem; overflow: auto; }
.help-body p { margin: 0 0 0.75rem; font-size: 0.88rem; color: var(--muted-fg); }
.help-msgs { display: flex; flex-direction: column; gap: 0.55rem; min-height: 8rem; margin-bottom: 0.7rem; }
.help-bubble { max-width: 90%; padding: 0.55rem 0.7rem; border-radius: 12px; font-size: 0.85rem; }
.help-bubble.visitor { align-self: flex-end; background: var(--primary-soft); }
.help-bubble.staff, .help-bubble.system { align-self: flex-start; background: #f3eee6; }
.help-compose { display: flex; gap: 0.4rem; }
.help-compose input { flex: 1; min-height: 2.4rem; }
.start-hero { padding: 3.2rem 0 2rem; text-align: center; }
.start-hero h1 { font-size: 2.5rem; }
.start-grid { display: grid; gap: 1rem; margin: 1.5rem 0 2.4rem; }
.start-grid article { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.2rem 1.25rem; }
.faq-list { max-width: 46rem; margin: 1.6rem auto 4rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item button { width: 100%; text-align: left; background: none; border: 0; padding: 1rem 0; font-size: 1.05rem; font-weight: 650; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.faq-item .ans { display: none; padding: 0 0 1rem; color: var(--muted-fg); }
.faq-item.open .ans { display: block; }
.clinic-public { max-width: 40rem; margin: 0 auto; padding: 2rem 1.2rem 4rem; }
@media (min-width: 900px) {
  .sign-split { grid-template-columns: 1fr 1fr; }
  .start-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 759px) {
  .mega { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; padding: 0.2rem 0 0.6rem 0.8rem; }
  .mega.cols-3, .mega.cols-4 { grid-template-columns: 1fr; }
  .mega-wrap.open .mega { display: block; }
  .help-fab, .help-fab-btn { right: 0.85rem; bottom: 0.85rem; width: 3.6rem; height: 3.6rem; }
  .help-panel { right: 0.55rem; left: 0.55rem; bottom: 0.55rem; width: auto; max-height: min(82dvh, calc(100dvh - 1.1rem)); }
}
.mail-box-tabs { display: flex; gap: 0.45rem; flex-wrap: wrap; margin: 0 0 0.7rem; }
.mail-box-tabs button { border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 0.55rem 0.8rem; text-align: left; font: inherit; }
.mail-box-tabs button small { display: block; color: var(--subtle); font-size: 0.72rem; font-weight: 500; }
.mail-box-tabs button.active { border-color: var(--navy); background: var(--today); }
.mail-box-tabs button.warn { border-color: #e7c9a8; }
.mail-folders { display: flex; gap: 0.4rem; margin-bottom: 0.8rem; }
.mail-folders button { border: 0; background: none; font: inherit; font-size: 0.85rem; font-weight: 650; color: var(--muted-fg); padding: 0.25rem 0.1rem; }
.mail-folders button.active { color: var(--navy); }
.mail-list { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.mail-row { display: grid; grid-template-columns: minmax(7rem, 14rem) 1fr auto; gap: 0.7rem; align-items: baseline; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--border); background: #fff; padding: 0.7rem 0.9rem; font: inherit; }
.mail-row:last-child { border-bottom: 0; }
.mail-row.unread { background: #f4f8fc; font-weight: 700; }
.mail-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-row small { color: var(--subtle); font-weight: 500; }
.mail-read h2 { margin: 0.2rem 0 0.35rem; font-size: 1.35rem; }
.mail-body { margin: 1rem 0; padding: 0.9rem; background: #f7f4ee; border-radius: 10px; overflow: auto; }
.mail-compose .check-line { margin-top: 0.7rem; }
@media (max-width: 759px) {
  .mail-row { grid-template-columns: 1fr; gap: 0.15rem; }
}
