/* Tavam design tokens, taken from the client's UX Pilot design:
   cream ground, forest green in place of black, bronze actions, gold and saffron light, sage for calm.
   Cormorant Garamond for display, Hind Madurai for text (Latin and Tamil). The design is light only. */
:root {
  --paper: #FAF5EC; --surface: #FFFFFF; --sunk: #F1E6D3; --line: #E6D8C0;
  --ink: #17302D; --muted: #5E6B66; --deep: #17302D; --deep-2: #22433E;
  --brass: #A0692F; --brass-dark: #8B5A26; --brass-soft: #F1E6D3; --flame: #D4A24C; --saffron: #E9B262; --sage: #8BA696;
  --brass-ink: #8B5A26; --sage-ink: #58765F; /* small text: 5.4:1 on cream, 5.0:1 on white */
  --on-deep: #FAF5EC; --on-deep-muted: #C3CBC2;
  --ok: #2F7D5B; --warn: #A96A12; --off: #B24434;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Hind Madurai", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 16px; --r-lg: 28px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* components that set display must still honour hidden */
html { scroll-behavior: smooth; }
html, body, #app { height: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.25rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--brass); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.band :focus-visible, .foot :focus-visible, .streak :focus-visible, .gift.dark :focus-visible, .eye-card :focus-visible, .shell > aside :focus-visible { outline-color: var(--saffron); }
::selection { background: rgba(212, 162, 76, 0.35); color: var(--ink); }
::placeholder { color: var(--muted); opacity: 1; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 70; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.muted { color: var(--muted); } .small { font-size: 0.875rem; } .num { font-variant-numeric: tabular-nums; }
.eyebrow { font: 600 0.75rem/1.2 var(--body); letter-spacing: 0.25em; text-transform: uppercase; color: var(--brass-ink); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.boot { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); text-align: center; }
.boot img { width: 64px; height: 64px; animation: breathe 3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .boot img { animation: none; } }
svg.ic { width: 1.15em; height: 1.15em; vertical-align: -0.18em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* buttons, inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 0.95rem/1 var(--body); padding: 13px 24px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s; }
.btn:hover { background: var(--deep-2); }
.btn.ghost { background: rgba(255, 255, 255, 0.6); color: var(--ink); border-color: rgba(23, 48, 45, 0.2); }
.btn.ghost:hover { background: #fff; }
.btn.brass { background: var(--brass); border-color: var(--brass); color: #fff; box-shadow: 0 10px 22px -8px rgba(160, 105, 47, 0.45); }
.btn.brass:hover { background: var(--brass-dark); }
.btn.sm { padding: 8px 14px; font-size: 0.84rem; box-shadow: none; }
.btn.block { display: flex; width: 100%; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.danger { background: transparent; border-color: var(--off); color: var(--off); box-shadow: none; }
label.f { display: flex; flex-direction: column; gap: 5px; font-size: 0.84rem; color: var(--muted); min-width: 0; }
label.f > span { font-weight: 500; }
label.f em { font-style: normal; font-weight: 400; }
label.f small { font-size: 0.8rem; color: var(--muted); }
input, select, textarea { font: 400 0.95rem/1.3 var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--brass); }
textarea { min-height: 84px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--brass); }
input[type="range"] { padding: 0; accent-color: var(--brass); border: 0; background: none; }
label.ck { display: flex; gap: 8px; align-items: flex-start; font-size: 0.92rem; color: var(--ink); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.pill { display: inline-block; font: 600 0.72rem/1 var(--body); padding: 5px 10px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.pill.ok { color: var(--ok); background: #EDF7F1; } .pill.warn { color: var(--warn); background: #FBF2DF; } .pill.off { color: var(--off); background: #FBECE8; } .pill.mute { color: var(--muted); } .pill.brass { color: var(--brass); background: var(--sunk); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { font: 400 0.9rem/1 var(--body); min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.tabs button[aria-selected="true"], .tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; vertical-align: middle; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); }
th { font: 600 0.72rem/1.2 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
td input, td select { padding: 7px 10px; font-size: 0.86rem; border-radius: 10px; }
tr.click { cursor: pointer; } tr.click:hover td { background: var(--sunk); }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 22px 24px; min-width: 0; }
.card.dark { background: var(--deep); color: var(--on-deep); border-color: var(--deep); }
.card.dark .muted { color: var(--on-deep-muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 24px; background: var(--surface); padding: 18px 20px; }
.kpi b { display: block; font: 600 2rem/1.05 var(--display); font-variant-numeric: tabular-nums lining-nums; }
.kpi span { font-size: 0.84rem; color: var(--muted); }
.empty { border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 26px; color: var(--muted); text-align: center; }
.notice { border: 1px solid var(--line); background: var(--sunk); padding: 12px 16px; border-radius: var(--r); font-size: 0.92rem; }
.bar { height: 6px; border-radius: 3px; background: var(--sunk); overflow: hidden; }
.bar b { display: block; height: 100%; background: var(--brass); border-radius: 3px; }

/* toast + modal */
#toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 16px 32px -12px rgba(23, 48, 45, 0.45); padding: 11px 18px; border-radius: 999px; font-size: 0.9rem; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; max-width: 90vw; }
#toast.on { opacity: 1; }
dialog { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); color: var(--ink); padding: 0; width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 40px); box-shadow: 0 30px 60px -20px rgba(23, 48, 45, 0.35); }
dialog::backdrop { background: rgba(23, 48, 45, 0.55); }
dialog .dh { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 1; }
dialog .db { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
dialog.wide { width: min(900px, calc(100vw - 24px)); }
.x { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.4rem; line-height: 1; padding: 4px 8px; }

/* logo */
.mark { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; white-space: nowrap; line-height: 1; }
.mark img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.mark b { font: 700 1.75rem/1 var(--display); letter-spacing: 0.02em; }
.mark small { font: 600 1.1rem/1 var(--body); color: var(--brass-ink); margin-left: 4px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.55; } 50% { transform: scale(1.08); opacity: 0.9; } }
.badge3d { position: relative; width: 224px; aspect-ratio: 1; perspective: 700px; animation: floaty 7s ease-in-out infinite; }
.badge3d .glow { position: absolute; inset: 0; border-radius: 50%; background: rgba(233, 178, 98, 0.4); filter: blur(28px); animation: breathe 6s ease-in-out infinite; }
.badge3d svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin-slow 60s linear infinite; }
.badge3d .tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .2s ease-out; }
.badge3d .disc { position: absolute; inset: 7%; border-radius: 50%; background: linear-gradient(135deg, #fff, var(--paper) 55%, var(--sunk)); border: 1px solid #fff; box-shadow: 0 20px 30px -12px rgba(160, 105, 47, 0.3); }
.badge3d img { position: absolute; inset: 11%; width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(23, 48, 45, 0.28)); transform: translateZ(34px); }
.badge3d.sm { width: 150px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .badge3d, .badge3d .glow, .badge3d svg { animation: none; } }

/* ---------- public home ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(250, 245, 236, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .wrap { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar nav { display: flex; gap: 34px; font-size: 0.94rem; }
.topbar nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.topbar nav a:hover { color: var(--ink); }
.topbar .acts { display: flex; align-items: center; gap: 8px; }
.topbar .acts a.plain { color: var(--ink); text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 12px 14px; }
.topbar .head-cta { min-height: 44px; padding: 11px 20px; }
@media (max-width: 1000px) { .topbar nav { display: none; } }
@media (max-width: 560px) { .topbar .wrap { height: 68px; } .topbar .head-cta { display: none; } .mark b { font-size: 1.45rem; } .mark img { width: 40px; height: 40px; } }
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 75% 35%, rgba(233, 178, 98, 0.28), transparent 55%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 72px 64px; }
.hero .tag { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid rgba(212, 162, 76, 0.5); background: rgba(255, 255, 255, 0.5); padding: 7px 16px; font: 600 0.75rem/1.2 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-ink); }
.hero .tag svg { color: var(--flame); }
.hero h1 { margin-top: 24px; }
.hero h1 em { font-style: italic; color: var(--brass); }
.hero .lede { margin-top: 24px; font-size: 1.125rem; color: var(--muted); max-width: 36rem; line-height: 1.65; }
.hero .cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero .cta .btn { padding: 16px 28px; font-size: 1rem; }
.trust { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 32px; font-size: 0.9rem; color: var(--muted); }
.trust div { display: flex; align-items: center; gap: 12px; line-height: 1.35; }
.trust i { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--flame); flex: none; font-style: normal; }
.hero-art { position: relative; height: 600px; }
.arch { position: absolute; right: 24px; top: 0; width: min(460px, 78%); height: 600px; }
.arch::before, .arch::after { content: ""; position: absolute; border-radius: 999px 999px 0 0; border: 1px solid rgba(212, 162, 76, 0.4); inset: -24px; }
.arch::after { inset: -48px; border-color: rgba(212, 162, 76, 0.2); }
.arch .ph { position: relative; width: 100%; height: 100%; border-radius: 999px 999px 0 0; overflow: hidden; box-shadow: 0 30px 50px -20px rgba(23, 48, 45, 0.3); z-index: 1; }
.arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arch .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23, 48, 45, 0.4), transparent 45%); }
.hero-art .badge3d { position: absolute; left: 0; top: 24px; z-index: 3; }
.next { position: absolute; left: 0; bottom: 0; width: 340px; max-width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(6px); border-radius: 24px; padding: 24px; box-shadow: 0 30px 50px -20px rgba(23, 48, 45, 0.25); border: 1px solid var(--line); z-index: 3; display: flex; flex-direction: column; gap: 12px; }
.next .ntitle { font: 600 1.5rem/1.15 var(--display); margin: 0; }
.next .lbl { font: 600 0.69rem/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.next .nrow { display: flex; justify-content: space-between; gap: 10px; font-size: 0.9rem; border-top: 1px solid var(--line); padding-top: 10px; }
.next .nrow svg { color: var(--brass); margin-right: 6px; } .next .nrow.on svg { color: var(--sage); }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 40px 48px; gap: 36px; }
  .hero-art { height: auto; display: flex; flex-direction: column; align-items: center; gap: 0; padding-top: 30px; }
  .arch { position: relative; right: auto; width: min(360px, 80%); height: 440px; }
  .hero-art .badge3d { left: 2%; top: 0; width: 150px; }
  .next { position: relative; margin-top: -70px; width: min(360px, 100%); }
}
.sec { padding-block: 96px; }
.sec.tint { background: linear-gradient(to bottom, var(--paper), rgba(241, 230, 211, 0.6)); }
.sec.tint2 { background: linear-gradient(to bottom, rgba(241, 230, 211, 0.4), var(--paper)); }
.sec.sand { background: rgba(241, 230, 211, 0.55); }
.sec-head { max-width: 42rem; display: flex; flex-direction: column; gap: 12px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head p.lede { font-size: 1.125rem; color: var(--muted); }
.gifts { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.gift { background: #fff; border-radius: 28px; padding: 32px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(23, 48, 45, 0.04); transition: transform .2s, box-shadow .2s; }
.gift:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -20px rgba(160, 105, 47, 0.25); }
.gift .tile { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; color: var(--brass); background: linear-gradient(135deg, rgba(233, 178, 98, 0.3), rgba(212, 162, 76, 0.1)); }
.gift .tile.sage { background: linear-gradient(135deg, rgba(139, 166, 150, 0.3), rgba(139, 166, 150, 0.05)); color: var(--deep-2); }
.gift .tile.lilac { background: linear-gradient(135deg, #E9E1F3, #F6F2FA); color: #6C5A91; }
.gift .sk { margin-top: 24px; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.gift h3 { font-size: 1.9rem; }
.gift ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.94rem; color: var(--muted); }
.gift li { display: flex; gap: 8px; } .gift li svg { color: var(--sage); margin-top: 4px; font-size: 0.8rem; }
.gift.dark { background: radial-gradient(120% 90% at 85% 0%, #2C4A3C, var(--deep) 60%); color: var(--on-deep); border-color: var(--deep); }
.gift.dark .tile { background: rgba(212, 162, 76, 0.22); color: var(--saffron); } .gift.dark .sk { color: var(--flame); } .gift.dark p { margin-top: 16px; color: var(--on-deep-muted); font-size: 0.94rem; }
.fine { margin-top: 28px; text-align: center; font-size: 0.875rem; color: var(--muted); }
.fine svg { color: var(--brass); margin-right: 6px; }
.band { background: var(--deep); color: var(--on-deep); position: relative; overflow: hidden; }
.band .eyebrow { color: var(--flame); }
.band-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.band-head p { color: rgba(250, 245, 236, 0.7); font-size: 1.125rem; }
@media (max-width: 900px) { .band-head { grid-template-columns: 1fr; gap: 16px; } .sec { padding-block: 64px; } .gifts { margin-top: 40px; } }
.steps { margin: 64px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 32px; left: 7%; right: 7%; height: 1px; background: linear-gradient(to right, rgba(250, 245, 236, 0.1), rgba(212, 162, 76, 0.6), rgba(250, 245, 236, 0.1)); }
.steps li { position: relative; text-align: center; }
.steps .dot { margin: 0 auto; width: 64px; height: 64px; border-radius: 50%; background: var(--deep-2); border: 1px solid rgba(212, 162, 76, 0.5); display: grid; place-items: center; color: var(--flame); font-size: 1.25rem; }
.steps li.key .dot { background: linear-gradient(135deg, var(--saffron), var(--brass)); color: #fff; border: 0; box-shadow: 0 10px 24px -6px rgba(212, 162, 76, 0.5); }
.steps .n { margin-top: 16px; color: var(--flame); font-size: 0.75rem; font-weight: 600; }
.steps h3 { font-size: 1.25rem; } .steps p { font-size: 0.875rem; color: rgba(250, 245, 236, 0.6); margin-top: 4px; }
.steps .chip { display: inline-block; margin-top: 8px; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(139, 166, 150, 0.2); color: #B5CBBE; border-radius: 999px; padding: 4px 10px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-top: 40px; } .steps::before { display: none; } }
.ways { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; perspective: 1400px; }
.way { background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; transform-style: preserve-3d; transition: transform .25s ease-out; }
.way .pic { aspect-ratio: 2 / 1; overflow: hidden; } .way .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.way .txt { padding: 28px 32px 30px; display: flex; flex-direction: column; gap: 10px; }
.way .txt .hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.way h3 { font-size: 1.75rem; } .way .where { font-size: 0.84rem; color: var(--brass-ink); }
.way .soon { font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.way .more-link { align-self: flex-start; margin-top: 6px; padding: 10px 0; } .way p { color: var(--muted); }
.way ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: 0.9rem; display: flex; flex-direction: column; gap: 6px; }
.way li { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 7px; }
.facts3 { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.facts3 div { background: var(--sunk); border-radius: 18px; padding: 16px 20px; display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; font-size: 0.875rem; color: var(--muted); }
.facts3 svg { color: var(--brass); grid-row: span 2; margin-top: 3px; } .facts3 b { color: var(--ink); font-weight: 600; }
.eye { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .eye { grid-template-columns: 1fr; gap: 32px; } }
.eye-card { background: radial-gradient(110% 80% at 50% 30%, #2A4B40, var(--deep) 75%); color: var(--on-deep); border-radius: 32px; padding: 28px; box-shadow: 0 30px 50px -20px rgba(23, 48, 45, 0.45); max-width: 480px; }
.eye-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.eye-card .top small { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--flame); display: block; }
.eye-card .top b { font: 600 1.4rem/1.2 var(--display); }
.eye-card .lock { font-size: 0.72rem; background: rgba(250, 245, 236, 0.12); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.eye-card svg.fig { display: block; width: 100%; height: auto; margin: 6px 0 10px; }
.eye-card .cells { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eye-card .cells div { background: rgba(250, 245, 236, 0.1); border-radius: 14px; padding: 10px 12px; font-size: 0.72rem; color: var(--on-deep-muted); }
.eye-card .cells b { display: block; font-size: 0.95rem; color: var(--on-deep); font-weight: 600; } .eye-card .cells b.nudge { color: var(--saffron); }
.points { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.points div { display: grid; grid-template-columns: 44px 1fr; gap: 2px 16px; font-size: 0.9rem; color: var(--muted); }
.points i { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brass); font-style: normal; }
.points b { color: var(--ink); font-size: 1rem; font-weight: 600; }
.days { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.day { border-radius: 24px; background: #fff; border: 1px solid var(--line); padding: 20px; }
.day.today { border: 2px solid var(--flame); box-shadow: 0 16px 30px -18px rgba(212, 162, 76, 0.5); }
.day .d { font: 600 0.75rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); } .day.today .d { color: var(--brass-ink); }
.day .slot { display: block; width: calc(100% + 20px); margin: 8px -10px 0; padding: 8px 10px; border: 0; border-radius: 12px; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.day .slot:hover { background: var(--sunk); }
.day .slot span { display: block; font-size: 0.875rem; color: var(--muted); } .day .slot b { display: block; font-weight: 600; } .day .slot small { display: block; color: var(--sage-ink); font-size: 0.8rem; }
.day .none { margin-top: 14px; font-size: 0.875rem; color: var(--muted); }
.sched-empty { margin-top: 32px; max-width: 40rem; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.sched-empty h3 { font-size: 1.8rem; }
.mantra { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
@media (max-width: 900px) { .mantra { grid-template-columns: 1fr; gap: 28px; } }
.mantra .pic { margin-top: 32px; border-radius: 24px; overflow: hidden; height: 256px; } .mantra .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chants { display: flex; flex-direction: column; gap: 16px; }
.chant { background: #fff; border-radius: 24px; border: 1px solid var(--line); padding: 22px 24px; display: flex; align-items: center; gap: 22px; color: var(--ink); text-decoration: none; }
.chant:hover { border-color: var(--flame); }
.chant .play { width: 56px; height: 56px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--saffron), var(--brass)); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(160, 105, 47, 0.5); }
.chant .play svg { fill: currentColor; stroke: none; margin-left: 2px; }
.chant b { font: 600 1.5rem/1.2 var(--display); display: block; } .chant i { color: var(--muted); display: block; } .chant span.m { font-size: 0.875rem; color: var(--muted); display: block; margin-top: 2px; }
.chant .len { font-size: 0.875rem; color: var(--muted); margin-left: auto; }
.chant .lenm { display: none; font: 400 0.85rem/1 var(--body); color: var(--muted); margin-left: 8px; }
@media (max-width: 560px) { .chant { gap: 16px; padding: 18px; } .chant .len { display: none; } .chant .lenm { display: inline; } }
.streak { position: relative; border-radius: 40px; background: var(--deep); color: var(--on-deep); overflow: hidden; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.streak::before { content: ""; position: absolute; left: -96px; bottom: -96px; width: 384px; height: 384px; border-radius: 50%; background: rgba(212, 162, 76, 0.15); filter: blur(48px); }
.streak > * { position: relative; } .streak .eyebrow { color: var(--flame); } .streak p.lede { margin-top: 16px; color: rgba(250, 245, 236, 0.7); font-size: 1.125rem; } .streak .btn { margin-top: 28px; background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (max-width: 800px) { .streak { grid-template-columns: 1fr; } }
.ring { position: relative; width: min(288px, 70vw); aspect-ratio: 1; margin: 0 auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .mid { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .mid b { font: 600 4.5rem/1 var(--display); color: var(--flame); display: block; font-variant-numeric: lining-nums; } .ring .mid span { font-size: 0.9rem; color: var(--on-deep-muted); }
.trial { max-width: 1000px; margin: 0 auto; background: #fff; border-radius: 36px; border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 40px; box-shadow: 0 24px 50px -30px rgba(160, 105, 47, 0.35); }
@media (max-width: 800px) { .trial { grid-template-columns: 1fr; gap: 24px; } }
.trial img { width: 80px; height: 80px; object-fit: contain; } .trial h2 { font-size: 2.25rem; margin-top: 12px; } .trial form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.trial form > .full { grid-column: 1 / -1; }
.trial label.f span { color: var(--ink); }
.ferr { color: var(--off); font-size: 0.92rem; }
.tfacts { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; }
.tfacts li { display: flex; gap: 10px; align-items: flex-start; } .tfacts svg { color: var(--brass); margin-top: 3px; }
.done { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; } .done:focus { outline: none; }
.done .tick { width: 52px; height: 52px; border-radius: 50%; background: #EDF7F1; color: var(--ok); display: grid; place-items: center; font-size: 1.4rem; }
.done h3 { font-size: 1.9rem; } .done p { color: var(--muted); } .trial input, .trial textarea { border-radius: 16px; padding: 14px 16px; }
.pick { border: 0; margin: 0; padding: 0; min-width: 0; }
.pick legend { padding: 0; margin-bottom: 6px; font-size: 0.84rem; font-weight: 500; color: var(--muted); }
.seatpick { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.seatpick label { white-space: nowrap; }
.seatpick input { flex: none; width: 18px; height: 18px; margin: 0; }
.seatpick label { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 16px; padding: 13px 16px; cursor: pointer; font-size: 0.95rem; }
.seatpick label:has(input:checked) { border: 2px solid var(--brass); background: rgba(241, 230, 211, 0.4); padding: 12px 15px; }
@media (max-width: 520px) { .trial form { grid-template-columns: 1fr; } }
.foot { background: var(--deep); color: rgba(250, 245, 236, 0.7); }
.foot .cols { padding-block: 56px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr; gap: 28px; } }
.foot .mark b { color: var(--on-deep); } .foot .mark small { color: var(--flame); }
.foot .om { margin-top: 22px; font: 500 1.1rem/1.4 var(--body); color: var(--flame); }
.foot .fh { margin: 0 0 8px; color: var(--on-deep); font: 600 1rem/1 var(--body); }
.foot ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0; font-size: 0.875rem; } .foot ul a { display: inline-block; padding: 10px 0; color: inherit; text-decoration: none; } .foot ul a:hover { color: var(--flame); }
.foot .soc { display: flex; gap: 12px; } .foot .soc a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; color: inherit; } .foot .soc a:hover { background: var(--flame); color: var(--deep); }
.foot .base { border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; font-size: 0.75rem; padding-block: 18px; }

/* ---------- sign in ---------- */
.auth { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth .side { background: radial-gradient(ellipse at 50% 40%, rgba(233, 178, 98, 0.35), transparent 60%), var(--sunk); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; gap: 18px; text-align: center; }
.auth .side h2 { font-size: 2.2rem; max-width: 16ch; } .auth .side h2 em { color: var(--brass); }
.auth .form { padding: 40px max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 16px; max-width: 520px; width: 100%; margin: 0 auto; justify-content: center; }
@media (max-width: 760px) { .auth { grid-template-columns: 1fr; } .auth .side { padding: 24px 20px; } .auth .side h2 { font-size: 1.6rem; } .auth .badge3d { width: 120px; } }
.who { display: grid; gap: 12px; }
.who button { text-align: left; padding: 16px 20px; border-radius: 20px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font: inherit; }
.who button b { display: block; font: 600 1.3rem/1.2 var(--display); }
.who button span { font-size: 0.88rem; color: var(--muted); }
.who button:hover { border-color: var(--flame); }

/* ---------- app shell ---------- */
.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100%; }
.shell > aside { background: var(--deep); color: var(--on-deep); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.shell > aside .mark { padding: 2px 6px 16px; } .shell > aside .mark img { width: 42px; height: 42px; } .shell > aside .mark b { font-size: 1.5rem; } .shell > aside .mark small { color: var(--flame); font-size: 1rem; }
.shell > aside a.n { display: flex; align-items: center; gap: 11px; padding: 10px 14px; border-radius: 999px; color: var(--on-deep-muted); text-decoration: none; font-size: 0.94rem; }
.shell > aside a.n:hover { color: var(--on-deep); }
.shell > aside a.n[aria-current="page"] { background: var(--deep-2); color: var(--on-deep); font-weight: 500; } .shell > aside a.n[aria-current="page"] svg { color: var(--flame); }
.shell > aside .who-am { margin-top: auto; padding: 14px 12px 4px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.86rem; color: var(--on-deep-muted); display: flex; flex-direction: column; gap: 6px; }
.shell > aside .who-am b { color: var(--on-deep); font-weight: 500; }
.shell > aside .who-am button { background: none; border: 0; padding: 0; color: var(--flame); font: inherit; cursor: pointer; text-align: left; }
.shell > main { padding: 30px max(20px, env(safe-area-inset-right, 0px)) 64px 32px; display: flex; flex-direction: column; gap: 22px; min-width: 0; max-width: 1220px; }
.shell > main > header { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.shell > main > header h1 { font-size: 2.6rem; }
.demo-tag { font-size: 0.78rem; color: var(--on-deep-muted); padding: 0 12px 10px; }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .shell > aside { position: static; height: auto; flex-direction: row; align-items: center; overflow-x: auto; padding: 8px max(12px, env(safe-area-inset-left, 0px)); gap: 2px; scrollbar-width: none; }
  .shell > aside .mark { padding: 0 8px 0 0; } .shell > aside .mark span, .demo-tag { display: none; }
  .shell > aside a.n { white-space: nowrap; padding: 8px 12px; }
  .shell > aside .who-am { margin: 0 0 0 auto; border: 0; padding: 0 0 0 10px; flex-direction: row; white-space: nowrap; }
  .shell > aside .who-am b { display: none; }
  .shell > main { padding: 20px max(16px, env(safe-area-inset-right, 0px)) 50px max(16px, env(safe-area-inset-left, 0px)); }
  .shell > main > header h1 { font-size: 2rem; }
}
.spark { width: 100%; height: 64px; display: block; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--sunk); color: var(--ink); font-size: 0.86rem; font-weight: 500; }
.badge svg { color: var(--brass); }
.note-item { border-top: 1px solid var(--line); padding: 12px 0; font-size: 0.94rem; }
.note-item small { color: var(--muted); display: block; }
.blocks { display: grid; grid-template-columns: minmax(120px, 1.1fr) 80px minmax(0, 2fr); gap: 8px 10px; align-items: center; font-size: 0.9rem; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 6px 14px; }

/* practitioner home, from the app design */
.hello { display: flex; align-items: center; gap: 14px; } .hello img { width: 56px; height: 56px; object-fit: contain; } .hello small { color: var(--muted); display: block; font-size: 0.95rem; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.streak-card { border-radius: 36px; background: radial-gradient(120% 90% at 90% 0%, #2C4A3C, var(--deep) 65%); color: var(--on-deep); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.streak-card .topline { display: flex; align-items: center; gap: 22px; }
.streak-card .ring { width: 124px; margin: 0; flex: none; } .streak-card .ring .mid b { font-size: 2.6rem; } .streak-card .ring .mid span { font-size: 0.78rem; }
.streak-card .eyebrow { color: var(--flame); letter-spacing: 0.2em; } .streak-card h3 { font-size: 1.7rem; margin-top: 6px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; text-align: center; font-size: 0.78rem; color: var(--on-deep-muted); }
.week i { display: grid; place-items: center; margin: 6px auto 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(250, 245, 236, 0.08); font-style: normal; color: var(--deep); }
.week i.on { background: var(--flame); } .week i.now { box-shadow: 0 0 0 2px var(--flame); color: var(--flame); }
.nextc { border-radius: 32px; } .nextc .lbl { font: 600 0.72rem/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.datebox { width: 64px; height: 64px; flex: none; border-radius: 18px; background: var(--sunk); display: grid; place-items: center; text-align: center; line-height: 1; } .datebox small { font: 600 0.7rem/1 var(--body); letter-spacing: 0.1em; color: var(--brass); text-transform: uppercase; display: block; } .datebox b { font: 600 1.7rem/1 var(--display); font-variant-numeric: lining-nums; }
.chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips span { white-space: nowrap; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 0.92rem; } .chips span.key { background: linear-gradient(135deg, var(--saffron), var(--brass)); color: #fff; border: 0; }
.assign { border-radius: 32px; background: var(--sunk); overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; min-height: 200px; }
.assign .t { padding: 26px; display: flex; flex-direction: column; gap: 8px; justify-content: center; } .assign img { width: 100%; height: 100%; object-fit: cover; display: block; }
.assign h3 { font-size: 1.7rem; }
.wk { display: flex; align-items: flex-end; gap: 12px; height: 150px; margin-top: 8px; }
.wk div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; font-size: 0.8rem; color: var(--muted); }
.wk i { display: block; width: 100%; border-radius: 14px 14px 0 0; background: var(--sunk); } .wk div:last-child i { background: linear-gradient(to bottom, var(--saffron), var(--brass)); } .wk div:last-child b { color: var(--brass); }
.tnote { background: var(--paper); border-radius: 20px; padding: 14px 18px; font-size: 0.94rem; color: var(--muted); } .tnote b { color: var(--ink); display: block; }
.month { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.month div { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 18px 10px; text-align: center; font-size: 0.82rem; color: var(--muted); }
.month i { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 10px; font-style: normal; background: rgba(233, 178, 98, 0.25); color: var(--brass); }
.month div:nth-child(2) i { background: rgba(139, 166, 150, 0.25); color: var(--deep-2); } .month div:nth-child(3) i { background: #E9E1F3; color: #6C5A91; }
.month b { display: block; font: 600 1.6rem/1.1 var(--display); color: var(--ink); font-variant-numeric: lining-nums; }

/* ---------- video player ---------- */
.player { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: #0F2220; border-radius: 18px; overflow: hidden; display: grid; place-items: center; color: #C3CBC2; }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player .hint { padding: 0 28px; text-align: center; max-width: 52ch; }
button.chant { font: inherit; text-align: left; width: 100%; cursor: pointer; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--brass-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.more { margin-top: 4px; }
.more summary { cursor: pointer; color: var(--brass-ink); font-weight: 500; padding: 12px 0; }
.minis { display: flex; flex-direction: column; margin-top: 8px; }
.mini { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border: 0; border-top: 1px solid var(--line); background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.mini svg { color: var(--brass); } .mini:hover { color: var(--brass-ink); }

/* ---------- camera ---------- */
.camgrid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 760px) { .camgrid { grid-template-columns: 1fr; } }
.stage { background: #0F2220; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; color: #9DB5B0; position: relative; }
.stage canvas, .stage video.show { width: 100%; height: 100%; object-fit: contain; }
.stage video { display: none; } .stage video.show { display: block; }
.stage .hint { position: absolute; padding: 0 24px; text-align: center; }
.stage .count { position: absolute; font: 600 6rem/1 var(--display); color: var(--flame); }
.cue { border-radius: 20px; padding: 14px 18px; border: 1px solid var(--line); background: #fff; font-weight: 500; min-height: 52px; }
.jrow { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 0.9rem; }
.clock { font: 600 1.7rem/1 var(--display); font-variant-numeric: tabular-nums lining-nums; }

/* ---------- teacher, streak note, phone booking bar, player caption ---------- */
.teacher { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.teacher.nophoto { grid-template-columns: minmax(0, 1fr); max-width: 46rem; }
.tphoto { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; border-radius: 999px 999px 24px 24px; overflow: hidden; box-shadow: 0 30px 50px -24px rgba(23, 48, 45, 0.35); }
.tphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcred { color: var(--brass-ink); font-weight: 500; }
.tbio { color: var(--muted); font-size: 1.06rem; max-width: 60ch; }
@media (max-width: 800px) { .teacher { grid-template-columns: 1fr; gap: 28px; } .tphoto { max-width: 300px; } }
.ring-note { margin-top: 14px; text-align: center; font-size: 0.84rem; color: var(--on-deep-muted); }
.mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(250, 245, 236, 0.95); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -16px rgba(23, 48, 45, 0.35); }
@media (min-width: 761px) { .mcta { display: none !important; } }
@media (max-width: 760px) { .foot .base { padding-bottom: 84px; } }
.cap { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.cap i { font: italic 500 1.2rem/1.3 var(--display); }
.cap span { color: var(--muted); font-size: 0.94rem; }

/* ---------- live class: student room and trainer console ---------- */
.lroom { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .lroom { grid-template-columns: 1fr; } }
.lmain, .lside { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lteacher { position: relative; aspect-ratio: 16 / 9; background: #0F2220; border-radius: 28px; overflow: hidden; display: grid; place-items: center; color: #C3CBC2; }
.lteacher video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lteacher .hint { position: relative; padding: 0 24px; text-align: center; max-width: 44ch; }
.lteacher .lsound { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); }
.lpose { font-size: 0.95rem; }
.live-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.tdesk { display: flex; flex-direction: column; gap: 16px; }
.tbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.tbar .tpose { min-width: 230px; }
.tlayout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
@media (max-width: 1000px) { .tlayout { grid-template-columns: 1fr; } }
.ttiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ltile { position: relative; aspect-ratio: 4 / 3; background: #0F2220; border-radius: 18px; overflow: hidden; border: 3px solid transparent; }
.ltile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ltile.self video { transform: scaleX(-1); }
.ltile.big { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.ltile .nm, .ltile .fl, .ltile .acc { position: absolute; font: 600 0.78rem/1.25 var(--body); background: rgba(15, 34, 32, 0.86); color: var(--on-deep); padding: 5px 9px; border-radius: 8px; }
.ltile .nm { left: 8px; bottom: 8px; }
.ltile .fl { left: 8px; top: 8px; max-width: calc(100% - 70px); }
.ltile .acc { right: 8px; top: 8px; } .ltile .acc:empty { display: none; }
.ltile.ok { border-color: #5FC596; } .ltile.warn { border-color: var(--saffron); } .ltile.warn .fl { color: var(--saffron); } .ltile.away { border-color: #6B7570; }
.tqueue { border: 1px solid var(--line); border-radius: 24px; background: #fff; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.tqueue h3 { font-size: 1.4rem; }
.qrow { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.qrow b { display: block; } .qrow span { font-size: 0.86rem; color: var(--muted); }
.qrow.warn span { color: var(--warn); }
.lside .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .lside .kpi { padding: 14px; border-radius: 18px; } .lside .kpi b { font-size: 1.6rem; }
/* pose studio: framing and capture result */
.cue.ok { border-color: #5FC596; background: #F1FAF4; }
.cue.warn { border-color: var(--saffron); background: #FFF8EC; }
.ref-frame { font-weight: 600; padding-left: 14px; border-left: 4px solid var(--line); }
.ref-frame.ok { border-left-color: #5FC596; color: var(--sage-ink); }
.ref-frame.warn { border-left-color: var(--saffron); color: var(--brass-ink); }
.stage .count.hold { font-size: 4rem; }
/* live class: who sees the trainer's camera */
.lview { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-radius: 18px; background: rgba(15, 34, 32, 0.9); color: var(--on-deep); font-size: 0.95rem; }
.lview b { color: #fff; } .lview.you { border: 2px solid var(--saffron); } .lview.other { inset: 0; justify-content: center; align-items: center; text-align: center; border-radius: 0; padding: 24px 32px; }
.lteacher video.paused { opacity: 0.15; }
.ltile.private { border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(217, 140, 50, 0.25); }
.tvoice { align-self: flex-end; padding-bottom: 10px; }
.qrow { flex-wrap: wrap; } .qrow > div:first-child { flex: 1 1 140px; min-width: 0; }

/* ---------- connection strength ---------- */
.sigbars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.sigbars i { width: 4px; border-radius: 1px; background: rgba(255, 255, 255, 0.3); }
.sigbars i:nth-child(1) { height: 25%; } .sigbars i:nth-child(2) { height: 50%; } .sigbars i:nth-child(3) { height: 75%; } .sigbars i:nth-child(4) { height: 100%; }
.sigbars.s1 i:nth-child(-n+1), .sigbars.s2 i:nth-child(-n+2), .sigbars.s3 i:nth-child(-n+3), .sigbars.s4 i { background: #5FC596; }
.sigbars.s0 i:nth-child(1), .sigbars.s1 i:nth-child(1) { background: #F08A6E; } .sigbars.s1 i:nth-child(1) { background: #F0B35A; } .sigbars.s2 i:nth-child(-n+2) { background: #F0C35A; }
.sig { display: inline-flex; align-items: center; gap: 6px; font: 600 0.76rem/1.2 var(--body); background: rgba(15, 34, 32, 0.86); color: var(--on-deep); padding: 5px 9px; border-radius: 8px; }
.lteacher .sig { position: absolute; top: 14px; left: 14px; }
.ltile .sig { position: absolute; right: 8px; bottom: 8px; }
.nettip { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--saffron); background: #FFF8EC; border-radius: 18px; padding: 14px 16px; }
.nettip span { font-size: 0.9rem; color: var(--body); }
.qprompt { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid var(--saffron); background: #FFF8EC; border-radius: 18px; padding: 14px 18px; }
.qprompt > div:first-child { display: flex; flex-direction: column; gap: 2px; max-width: 70ch; } .qprompt span { font-size: 0.9rem; color: var(--body); }

/* ---------- background effects ---------- */
details.lfx { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 10px 14px; }
details.lfx summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 8px; min-height: 32px; }
.fxpick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fxopt { font: 500 0.85rem/1 var(--body); border: 1px solid var(--line); background: var(--card, #fff); color: var(--ink); border-radius: 999px; padding: 9px 12px; min-height: 36px; cursor: pointer; }
.fxopt.on { background: var(--deep, #12302B); color: #fff; border-color: transparent; }
.fxmsg:empty { display: none; }
.fxprev { position: relative; margin-top: 10px; width: 200px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #0F2220; }
.fxprev video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); } .fxprev span { position: absolute; left: 6px; bottom: 6px; font-size: 0.72rem; color: #fff; background: rgba(15, 34, 32, 0.8); padding: 3px 6px; border-radius: 6px; }

/* ---------- live: check-in and health hints ---------- */
.hcheck { padding: 16px; gap: 10px; } .hcheck .row { gap: 6px; }
.ltile .hl { position: absolute; left: 8px; bottom: 40px; max-width: calc(100% - 16px); font: 600 0.74rem/1.25 var(--body); padding: 4px 8px; border-radius: 8px; background: rgba(15, 34, 32, 0.86); color: #fff; }
.ltile .hl.avoid { background: #B24434; } .ltile .hl.caution { background: #A96A12; } .ltile .hl.info { background: rgba(15, 34, 32, 0.86); }
.hrow { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.hrow span { color: var(--muted); } .hrow .hadv { color: var(--ink); } .hrow.avoid .hadv b { color: var(--off); } .hrow.caution .hadv b { color: var(--warn); }

/* ---------- health pages ---------- */
fieldset.hgroup { border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px 8px; display: flex; flex-direction: column; gap: 4px; }
fieldset.hgroup legend { font-weight: 600; padding: 0 6px; }
fieldset.hgroup.women { background: #FBF6EE; }
.hc { padding: 6px 0; border-bottom: 1px dashed var(--line); } .hc:last-child { border-bottom: 0; }
.hc-more { display: none; padding: 8px 0 4px 28px; }
.hc:has(> label input:checked) .hc-more { display: block; }
.hentry { padding: 8px 0; border-top: 1px solid var(--line); line-height: 1.45; }
.h-avoid { color: var(--off); } .h-care { color: var(--warn); }
table.hguide td, table.hfind td { vertical-align: top; }
.hreport { border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.note-item.unread { border-left: 3px solid var(--saffron); padding-left: 10px; }
.notice.hnote.avoid { border-color: var(--off); } .notice.hnote.caution { border-color: var(--warn); }
details.htags summary { cursor: pointer; font-size: 0.88rem; min-height: 32px; display: flex; align-items: center; gap: 6px; }
details.htags .checks { margin-top: 8px; }

/* ---------- content protection (guard.js) ---------- */
.guarded { position: relative; }
.wm { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); place-items: center; user-select: none; }
.wm-tile { color: rgba(255, 255, 255, 0.13); font: 600 0.8rem/1 var(--body); transform: rotate(-24deg); white-space: nowrap; text-shadow: 0 0 2px rgba(0, 0, 0, 0.15); }
.wm-move { position: absolute; color: rgba(255, 255, 255, 0.62); font: 600 0.82rem/1.2 var(--body); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55); white-space: nowrap; transition: left 1.5s ease, top 1.5s ease; }
.lteacher .lview, .lteacher .sig, .lteacher .lsound, .lteacher .hint { z-index: 3; }
.veil-note { display: none; }
.veiled video, .veiled iframe { visibility: hidden !important; }
.veiled .veil-note:not(:empty) { display: flex; position: absolute; inset: 0; z-index: 4; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #fff; background: #0F2220; font-weight: 600; }
.guard-agree { max-width: 640px; }
.ltile .secb { position: absolute; left: 8px; bottom: 72px; max-width: calc(100% - 16px); font: 600 0.74rem/1.25 var(--body); padding: 4px 8px; border-radius: 8px; background: #B24434; color: #fff; }
.pstage { position: absolute; inset: 0; display: grid; place-items: center; }
