/* Coach hub mockups — tokens follow Frontend/src/styles/tokens.css (gray scale + sky primary). */
:root {
  --bg: #f9fafb; --fg: #111827; --surface: #ffffff; --sunken: #f3f4f6; --border: #e5e7eb; --line: #eef0f3;
  --muted: #6b7280; --faint: #9ca3af;
  --p50: #f0f9ff; --p100: #e0f2fe; --p200: #bae6fd; --p300: #7dd3fc; --p400: #38bdf8; --p500: #0ea5e9; --p600: #0284c7; --p700: #0369a1; --p900: #0c4a6e;
  --p-tint: color-mix(in srgb, var(--p500) 10%, transparent);
  --ok: #047857; --ok-bg: #d1fae5; --warn: #b45309; --warn-bg: #fef3c7; --danger: #dc2626; --danger-bg: #fee2e2;
  --gold: #b7791f; --gold-bg: #fdf3d7;
  --uni: #0f1b33; --uni-2: #18284a; --uni-gold: #f2c14e;
  --now: #ef4444;
  --shadow: 0 1px 2px rgb(16 24 40 / .05), 0 1px 3px rgb(16 24 40 / .06);
  --shadow-lg: 0 12px 32px -8px rgb(16 24 40 / .22);
  --ease: cubic-bezier(.2,.8,.2,1); --ease-sheet: cubic-bezier(.32,.72,0,1);
  color-scheme: light;
}
html.dark {
  --bg: #030712; --fg: #f9fafb; --surface: #0f141c; --sunken: #0a0e15; --border: #262d38; --line: #1a202a;
  --muted: #9ca3af; --faint: #6b7280;
  --p-tint: color-mix(in srgb, var(--p400) 14%, transparent);
  --ok: #34d399; --ok-bg: rgb(16 185 129 / .14); --warn: #fbbf24; --warn-bg: rgb(245 158 11 / .14); --danger: #f87171; --danger-bg: rgb(239 68 68 / .14);
  --gold: #f2c14e; --gold-bg: rgb(242 193 78 / .12);
  --shadow: 0 0 0 1px rgb(255 255 255 / .02);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; color: var(--fg); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.num { font-variant-numeric: tabular-nums; }
svg.lucide { width: 18px; height: 18px; stroke-width: 2; flex-shrink: 0; }
.i14 svg.lucide, svg.lucide.i14 { width: 14px; height: 14px; }
.i16 svg.lucide, svg.lucide.i16 { width: 16px; height: 16px; }
.i20 svg.lucide, svg.lucide.i20 { width: 20px; height: 20px; }
.i22 svg.lucide, svg.lucide.i22 { width: 22px; height: 22px; }

/* ---------- gallery ---------- */
.gallery { background: #e8ecf2; min-height: 100vh; padding: 32px 40px 80px; }
html.dark .gallery { background: #0b0e14; }
.top { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 32px; max-width: 1400px; margin-bottom: 40px; }
.top h1 { margin: 0; font-size: 28px; letter-spacing: -.02em; }
.top p { margin: 6px 0 0; color: var(--muted); max-width: 760px; line-height: 1.5; font-size: 15px; }
.toolbar { display: flex; gap: 8px; margin-left: auto; }
.toolbar button { height: 36px; padding: 0 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 6px; margin: -20px 0 36px; max-width: 1400px; }
.toc a { font-size: 12px; font-weight: 600; text-decoration: none; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.phase { margin-bottom: 72px; }
.phase-head { max-width: 860px; margin-bottom: 28px; }
.phase-head .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.phase-head h2 { margin: 4px 0 0; font-size: 24px; letter-spacing: -.01em; }
.phase-head p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.figs { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 48px; }
figure { margin: 0; display: flex; flex-direction: column; gap: 16px; }
figcaption { max-width: 412px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
figcaption b.t { display: block; color: var(--fg); font-size: 14px; margin-bottom: 4px; }
figcaption .n { color: var(--p600); margin-right: 6px; }
html.dark figcaption .n { color: var(--p300); }
figcaption p { margin: 0 0 6px; }
figcaption code { font-size: 12px; background: color-mix(in srgb, var(--border) 60%, transparent); padding: 1px 5px; border-radius: 5px; color: var(--fg); }

/* ---------- phone ---------- */
.phone { position: relative; width: 412px; height: 866px; padding: 11px; border-radius: 64px; background: linear-gradient(145deg, #2a2f38, #0c0f14); box-shadow: 0 30px 60px -20px rgb(15 23 42 / .45), inset 0 0 0 2px #3b4250; flex-shrink: 0; }
.phone.land { width: 866px; height: 412px; }
.screen { position: relative; width: 390px; height: 844px; border-radius: 53px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; isolation: isolate; }
.phone.land .screen { width: 844px; height: 390px; }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 124px; height: 36px; border-radius: 20px; background: #000; z-index: 60; }
.phone.land .island { top: 50%; left: 11px; transform: translateY(-50%); width: 36px; height: 124px; }
.status { height: 54px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 44px; font-size: 16px; font-weight: 600; z-index: 50; position: relative; }
.status .sig { display: flex; gap: 6px; align-items: center; }
.status .sig svg.lucide { width: 17px; height: 17px; }
.status.on-dark { color: #fff; }
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; position: relative; }
.scroll::-webkit-scrollbar { display: none; }
.pad { padding: 0 16px; }
.home-ind { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 134px; height: 5px; border-radius: 3px; background: var(--fg); opacity: .85; z-index: 70; }
.phone.land .home-ind { bottom: 6px; background: #fff; }

/* app header (Home) */
.appbar { flex-shrink: 0; background: color-mix(in srgb, var(--surface) 92%, transparent); border-bottom: 1px solid var(--border); position: relative; z-index: 20; margin-top: -54px; padding-top: 54px; }
.appbar .row1 { height: 56px; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 14px; }
.logo { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: url(assets/bandeja-tiger-tile.png) center/cover; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06), 0 1px 2px rgb(0 0 0 / .08); }
.appbar .seg.coach button { height: 32px; padding: 0 13px; }
.appbar .seg.coach { margin-left: 2px; }
.hbtn { width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.hbtn.create { background: var(--p600); color: #fff; }
.hbtn.ghost { background: var(--sunken); }
.bell { position: relative; width: 36px; height: 36px; border-radius: 999px; background: var(--sunken); display: inline-flex; align-items: center; justify-content: center; }
.badge { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 5px; box-shadow: 0 0 0 2px var(--surface); }
.subicon { width: 32px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }

/* segmented */
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--sunken); position: relative; gap: 0; }
.seg button { position: relative; z-index: 1; height: 34px; padding: 0 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; transition: color .18s; }
.seg button[aria-pressed="true"] { color: var(--fg); }
.seg .thumb { position: absolute; top: 3px; bottom: 3px; border-radius: 9px; background: var(--surface); box-shadow: 0 1px 3px rgb(0 0 0 / .12); transition: left .28s var(--ease), width .28s var(--ease); }
html.dark .seg .thumb { background: #232b37; }
.seg.coach button[aria-pressed="true"][data-mode="coach"] { color: var(--p700); }
html.dark .seg.coach button[aria-pressed="true"][data-mode="coach"] { color: var(--p300); }
.seg.full { display: flex; }
.seg.full button { flex: 1; justify-content: center; }

/* tab bar */
.tabbar { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 330px; height: 64px; border-radius: 26px; display: flex; align-items: center; justify-content: space-around; padding: 0 6px; z-index: 30;
  background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 30px -10px rgb(15 23 42 / .35), 0 0 0 1px var(--border); }
.tab { position: relative; width: 60px; height: 52px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--muted); }
.tab svg.lucide { width: 23px; height: 23px; stroke-width: 1.8; }
.tab.on { color: var(--p600); background: var(--p-tint); }
html.dark .tab.on { color: var(--p300); }
.tab .badge { top: 0; right: 6px; background: #16a34a; }
.tabbar-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--bg) 70%); z-index: 25; pointer-events: none; }

/* section title */
.sec { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 4px 10px; }
.sec h3 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.sec .aside { font-size: 14px; font-weight: 600; color: var(--p600); }
html.dark .sec .aside { color: var(--p300); }
.sec .aside.muted { color: var(--muted); font-weight: 500; }
.cap { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 18px 4px 8px; }

/* cards & rows */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.rows > * + * { border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 60px; }
.row .main { flex: 1; min-width: 0; }
.t1 { font-size: 15.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t2 { font-size: 13.5px; color: var(--muted); line-height: 1.35; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t2.wrap, .t1.wrap { white-space: normal; }
.pill { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.p { background: var(--p-tint); color: var(--p700); }
html.dark .pill.p { color: var(--p300); }
.pill.gray { background: var(--sunken); color: var(--muted); }
.pill.gold { background: var(--gold-bg); color: var(--gold); }
.pill svg.lucide { width: 13px; height: 13px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 12px; font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: transform .12s var(--ease), background .15s; }
.btn:active { transform: scale(.96); }
.btn.sm { height: 36px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; position: relative; }
.btn.sm::after { content: ''; position: absolute; inset: -4px -2px; }
.btn.lg { height: 52px; font-size: 16px; border-radius: 14px; width: 100%; }
.btn.primary { background: var(--p600); color: #fff; }
html.dark .btn.primary { background: var(--p500); color: #031320; }
.btn.tint { background: var(--p-tint); color: var(--p700); }
html.dark .btn.tint { color: var(--p300); }
.btn.quiet { background: var(--sunken); color: var(--fg); }
.btn.line { border: 1px solid var(--border); background: var(--surface); }
.btn.okb { background: var(--ok-bg); color: var(--ok); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.iconbtn { width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }

/* avatars (PlayerAvatar look: photo/initials, level badge) */
.av { --s: 40px; position: relative; width: var(--s); height: var(--s); border-radius: 999px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: calc(var(--s) * .36); letter-spacing: -.01em; }
.av .face { position: absolute; inset: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; background-size: cover; }
.av .lvl { position: absolute; right: -3px; bottom: -3px; min-width: calc(var(--s) * .46); height: calc(var(--s) * .46); max-height: 20px; max-width: 30px; min-width: 18px; border-radius: 999px; background: #16a34a; color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 3px; box-shadow: 0 0 0 2px var(--surface); }
.av.xs { --s: 24px; } .av.sm { --s: 32px; } .av.md { --s: 40px; } .av.lg { --s: 52px; } .av.xl { --s: 84px; }
.av.xs .lvl, .av.sm .lvl { display: none; }
.stack { display: inline-flex; }
.stack .av + .av { margin-left: -8px; }
.av.named .face { background: var(--sunken) !important; color: var(--muted); border: 1.5px dashed var(--faint); }
.av.named .lvl { display: none; }

/* coach timeline */
.daystrip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 10px 8px 12px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 3px; height: 72px; justify-content: center; border-radius: 16px; position: relative; }
.day .dw { font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.day .dn { font-size: 21px; font-weight: 600; line-height: 1; }
.day .dc { font-size: 11px; font-weight: 700; color: var(--p600); height: 14px; display: flex; gap: 3px; align-items: center; }
html.dark .day .dc { color: var(--p300); }
.day .dc i.dot { width: 5px; height: 5px; border-radius: 50%; background: #f97316; display: inline-block; }
.day.on { background: var(--p700); color: #fff; box-shadow: 0 6px 14px -6px rgb(3 105 161 / .7); }
.day.on .dw, .day.on .dc { color: #fff; }
.day.past .dn { color: var(--faint); }
.monthbar { display: flex; align-items: center; gap: 6px; padding: 12px 12px 0 14px; }
.monthbar .m { font-size: 18px; font-weight: 700; margin-right: auto; }

.tl { position: relative; padding: 4px 0 8px; }
.slot { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: stretch; padding: 0 14px 0 8px; }
.slot .hr { text-align: right; font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 13px; font-variant-numeric: tabular-nums; }
.slot .hr small { display: block; font-size: 11.5px; font-weight: 500; color: var(--faint); margin-top: 1px; }
.slot + .slot { margin-top: 8px; }
.lesson { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); padding: 11px 12px; display: flex; gap: 10px; align-items: center; position: relative; overflow: hidden; }
.lesson::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3.5px; border-radius: 0 3px 3px 0; background: var(--p500); }
.lesson.done { background: transparent; border-style: solid; }
.lesson.done::before { background: var(--ok); }
.lesson.todo::before { background: #f59e0b; }
.lesson.game::before { background: #f97316; }
.lesson.next { border-color: color-mix(in srgb, var(--p500) 55%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p500) 14%, transparent); }
.lesson .who { flex: 1; min-width: 0; }
.lesson .nm { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lesson .meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.topic { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px 0 6px; border-radius: 7px; background: var(--uni); color: #fff; font-size: 12px; font-weight: 600; }
.topic .cap-ic { color: var(--uni-gold); display: inline-flex; }
.topic svg.lucide { width: 12px; height: 12px; }
html.dark .topic { background: #1d2a48; }
.gap { border: 1.5px dashed var(--border); border-radius: 16px; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 14px; color: var(--muted); font-size: 13.5px; }
.gap .btn { height: 32px; font-size: 13px; }
.nowline { position: relative; height: 0; margin: 6px 14px 6px 8px; }
.nowline::before { content: ''; position: absolute; left: 62px; right: 0; top: 0; height: 2px; background: var(--now); border-radius: 2px; }
.nowline span { position: absolute; left: 0; top: -9px; width: 52px; text-align: right; font-size: 11.5px; font-weight: 700; color: var(--now); }
.nowline::after { content: ''; position: absolute; left: 58px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--now); }
.seatfree { width: 32px; height: 32px; border-radius: 999px; border: 1.5px dashed var(--faint); display: inline-flex; align-items: center; justify-content: center; color: var(--faint); margin-left: -8px; background: var(--surface); }

/* rails */
.rail { display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 6px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .p { width: 64px; display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.rail .p .nm { font-size: 12.5px; font-weight: 600; max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail .p .when { font-size: 11.5px; color: var(--muted); margin-top: -4px; }
.rail .p .when.lapsed { color: var(--warn); font-weight: 600; }

/* University strip */
.unistrip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: linear-gradient(120deg, var(--uni), var(--uni-2)); color: #fff; }
.crest { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgb(242 193 78 / .14); color: var(--uni-gold); flex-shrink: 0; }
.ring { --v: 70; width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(var(--uni-gold) calc(var(--v) * 1%), rgb(255 255 255 / .14) 0); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ring > span { width: 32px; height: 32px; border-radius: 50%; background: var(--uni); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.ring.light > span { background: var(--surface); color: var(--fg); }
.ring.p { background: conic-gradient(var(--p500) calc(var(--v) * 1%), var(--sunken) 0); }

/* sheets */
.layer { position: absolute; inset: 0; z-index: 80; pointer-events: none; }
.layer .scrim { position: absolute; inset: 0; background: rgb(3 7 18 / .42); opacity: 0; transition: opacity .3s; }
.layer .sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: calc(100% - 60px); background: var(--surface); border-radius: 28px 28px 0 0; transform: translateY(100%); transition: transform .42s var(--ease-sheet); display: flex; flex-direction: column; box-shadow: 0 -10px 40px -12px rgb(0 0 0 / .3); }
html.dark .layer .sheet { background: #10151d; }
.layer.open { pointer-events: auto; }
.layer.open .scrim { opacity: 1; }
.layer.open .sheet { transform: none; }
.layer:not(.open) .sheet { visibility: hidden; box-shadow: none; transition: transform .42s var(--ease-sheet), visibility 0s .42s; }
.layer.static .scrim, .layer.static .sheet { transition: none; }
.handle { width: 38px; height: 5px; border-radius: 3px; background: var(--border); margin: 8px auto 4px; flex-shrink: 0; }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 6px 16px 12px; }
.sheet-head h4 { margin: 0; font-size: 19px; font-weight: 700; flex: 1; }
.sheet-body { flex: 1; overflow-y: auto; padding: 0 16px 12px; scrollbar-width: none; }
.sheet-foot { padding: 12px 16px 30px; border-top: 1px solid var(--line); }

/* form bits */
.field { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.field .row { min-height: 52px; padding: 10px 12px; }
.lbl { font-size: 13px; font-weight: 600; color: var(--muted); margin: 16px 2px 8px; display: flex; align-items: center; justify-content: space-between; }
.lbl .hint { font-weight: 500; font-size: 12px; color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scrollx { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px; scrollbar-width: none; }
.chip { height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex-shrink: 0; transition: background .15s, border-color .15s, transform .12s var(--ease); }
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"] { background: var(--p-tint); border-color: color-mix(in srgb, var(--p500) 60%, transparent); color: var(--p700); }
html.dark .chip[aria-pressed="true"] { color: var(--p300); }
.chip .sub { font-weight: 500; font-size: 12px; color: var(--muted); }
.chip.topicchip[aria-pressed="true"] { background: var(--uni); color: #fff; border-color: var(--uni); }
.chip.topicchip[aria-pressed="true"] .sub { color: var(--uni-gold); }
html.dark .chip.topicchip[aria-pressed="true"] { background: #1d2a48; border-color: #2c3d63; }
.pchip { height: 44px; padding: 0 12px 0 4px; border-radius: 999px; }
.pchip .av { --s: 34px; }
.pchip[aria-pressed="true"] .tick { display: inline-flex; }
.tick { display: none; width: 18px; height: 18px; border-radius: 50%; background: var(--p600); color: #fff; align-items: center; justify-content: center; }
.tick svg.lucide { width: 12px; height: 12px; stroke-width: 3; }
.sw { width: 51px; height: 31px; border-radius: 999px; background: var(--border); position: relative; flex-shrink: 0; transition: background .2s; }
.sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgb(0 0 0 / .2); transition: transform .25s var(--ease); }
.sw[aria-checked="true"] { background: #22c55e; }
.sw[aria-checked="true"]::after { transform: translateX(20px); }
.check { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: transparent; flex-shrink: 0; transition: background .15s, border-color .15s; }
.check svg.lucide { width: 16px; height: 16px; stroke-width: 3; }
[aria-checked="true"] > .check, .check[aria-checked="true"] { background: var(--p600); border-color: var(--p600); color: #fff; }
.stepper { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--border); border-radius: 12px; padding: 2px; }
.stepper button { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.stepper .v { min-width: 44px; text-align: center; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.stepper .v.up { color: var(--ok); }

/* steps header */
.steps { display: flex; align-items: center; gap: 6px; padding: 0 16px 12px; }
.steps .st { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--faint); }
.steps .st .d { width: 24px; height: 24px; border-radius: 50%; border: 2px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.steps .st.on { color: var(--p600); }
html.dark .steps .st.on { color: var(--p300); }
.steps .st.done { color: var(--ok); }
.steps .st.done .d { background: var(--ok); border-color: var(--ok); color: #fff; }
.steps .bar { flex: 1; height: 2px; background: var(--border); border-radius: 2px; }
.steps .bar.done { background: var(--ok); }
.stp { display: none; }
.stp.on { display: block; animation: stepin .35s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(18px); } }

/* lesson cards (University look) */
.ucard { border-radius: 18px; overflow: hidden; background: var(--uni); color: #fff; }
html.dark .ucard { background: #121d35; }
.ucard .uhead { display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px; }
.ucard .uhead .k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--uni-gold); }
.ucard .uhead .h { font-size: 15px; font-weight: 600; }
.ulesson { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid rgb(255 255 255 / .08); }
.ulesson .ic { width: 38px; height: 38px; border-radius: 11px; background: rgb(255 255 255 / .08); display: flex; align-items: center; justify-content: center; color: var(--uni-gold); flex-shrink: 0; }
.ulesson .tt { font-size: 14.5px; font-weight: 600; }
.ulesson .ss { font-size: 12.5px; color: rgb(255 255 255 / .6); margin-top: 1px; }
.ulesson .st { margin-left: auto; }
.uni-done { width: 26px; height: 26px; border-radius: 50%; background: #22c55e; color: #052e14; display: flex; align-items: center; justify-content: center; }
.uni-done svg.lucide { width: 15px; height: 15px; stroke-width: 3; }
.ucard .ufoot { padding: 10px 14px 14px; display: flex; gap: 8px; align-items: center; }
.ucard .ufoot .unote { font-size: 12px; color: rgb(255 255 255 / .55); display: flex; gap: 6px; align-items: center; flex: 1; }
.btn.gold { background: var(--uni-gold); color: #1a1405; }
.mission { margin: 0 14px 12px; border-radius: 14px; border: 1px dashed rgb(242 193 78 / .5); padding: 10px 12px; display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.mission .ic { color: var(--uni-gold); display: inline-flex; }

/* chat */
.chatbg { background: var(--sunken); }
html.dark .chatbg { background: #070a10; }
.msg { max-width: 300px; border-radius: 18px; padding: 8px 12px; font-size: 15px; line-height: 1.35; background: var(--surface); border: 1px solid var(--border); }
.msg.me { background: var(--p600); color: #fff; border: 0; margin-left: auto; }
.msg .time { font-size: 11px; color: var(--faint); text-align: right; margin-top: 2px; }
.msg.me .time { color: rgb(255 255 255 / .7); }
.sys { text-align: center; font-size: 12px; color: var(--muted); margin: 10px 0; }
.composer { display: flex; align-items: center; gap: 8px; padding: 8px 12px 34px; background: var(--surface); border-top: 1px solid var(--border); }
.composer .in { flex: 1; height: 40px; border-radius: 20px; background: var(--sunken); display: flex; align-items: center; padding: 0 14px; color: var(--faint); font-size: 15px; }

/* page header (stack pages) */
.navbar { display: flex; align-items: center; gap: 4px; height: 52px; padding: 0 8px; flex-shrink: 0; position: relative; z-index: 20; }
.navbar .ttl { flex: 1; font-size: 17px; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navbar.bordered { border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 92%, transparent); }

/* campus (dark University surface, always dark like /learn) */
.campus { background: radial-gradient(120% 60% at 50% 0%, #1b2b52 0%, #0b1324 60%) ; color: #fff; }
.campus .navbar .iconbtn { color: #fff; background: rgb(255 255 255 / .08); }
.campus .t2 { color: rgb(255 255 255 / .6); }
.campus .card { background: rgb(255 255 255 / .05); border-color: rgb(255 255 255 / .09); box-shadow: none; }
.campus .rows > * + * { border-color: rgb(255 255 255 / .07); }
.campus .sec h3 { color: #fff; }
.campus .cap { color: rgb(255 255 255 / .55); }

/* shot grid */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shot { border-radius: 16px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); padding: 10px 8px 9px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; position: relative; }
.shot .art { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(140deg, #24365f, #142140); display: flex; align-items: center; justify-content: center; color: #9fc3ff; }
.shot .art svg.lucide { width: 26px; height: 26px; stroke-width: 1.6; }
.shot .nm { font-size: 13px; font-weight: 600; }
.shot .dots { display: flex; gap: 3px; }
.shot .dots i { width: 5px; height: 5px; border-radius: 50%; background: rgb(255 255 255 / .2); }
.shot .dots i.on { background: var(--uni-gold); }
.shot .cc { position: absolute; top: 6px; right: 6px; }
.shot .cc .av { --s: 22px; font-size: 9px; }
.shot .cc .okdot { position: absolute; bottom: -4px; right: -4px; width: 13px; height: 13px; border-radius: 50%; background: #22c55e; color: #052e14; display: flex; align-items: center; justify-content: center; }
.shot .cc .okdot svg.lucide { width: 9px; height: 9px; stroke-width: 3.5; }

/* skills (coach side, light surface) */
.skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.skill { border-radius: 16px; border: 1px solid var(--border); background: var(--surface); padding: 12px; display: flex; gap: 10px; align-items: center; text-align: left; transition: border-color .2s, background .2s, transform .12s var(--ease); }
.skill:active { transform: scale(.97); }
.skill .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--sunken); display: flex; align-items: center; justify-content: center; color: var(--muted); flex-shrink: 0; transition: background .2s, color .2s; }
.skill .nm { font-size: 14px; font-weight: 600; }
.skill .ss { font-size: 12px; color: var(--muted); margin-top: 1px; }
.skill[aria-checked="true"] { border-color: color-mix(in srgb, #22c55e 55%, transparent); background: color-mix(in srgb, #22c55e 7%, var(--surface)); }
.skill[aria-checked="true"] .ic { background: #22c55e; color: #fff; }
.skill.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.06); } }

/* toast */
.toast { position: absolute; left: 16px; right: 16px; bottom: 100px; z-index: 90; background: #111827; color: #fff; border-radius: 16px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 500; transform: translateY(20px); opacity: 0; transition: .3s var(--ease); pointer-events: none; }
html.dark .toast { background: #f3f4f6; color: #111827; }
.toast.show { transform: none; opacity: 1; pointer-events: auto; }
.toast .act { margin-left: auto; color: var(--p300); font-weight: 700; }
html.dark .toast .act { color: var(--p700); }

/* misc */
.muted { color: var(--muted); }
.ok-t { color: var(--ok); }
.warn-t { color: var(--warn); }
.stat { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); padding: 12px; }
.stat .v { font-size: 22px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat .k { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.note { border-radius: 16px; background: color-mix(in srgb, #fde68a 35%, var(--surface)); border: 1px solid color-mix(in srgb, #f59e0b 30%, transparent); padding: 12px 14px; font-size: 14.5px; line-height: 1.45; }
html.dark .note { background: rgb(245 158 11 / .08); }
.note .k { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--warn); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.spark { width: 100%; height: 70px; display: block; }
.stagger > * { animation: rise .5s var(--ease) both; }
.stagger > *:nth-child(2) { animation-delay: .04s; } .stagger > *:nth-child(3) { animation-delay: .08s; } .stagger > *:nth-child(4) { animation-delay: .12s; }
.stagger > *:nth-child(5) { animation-delay: .16s; } .stagger > *:nth-child(6) { animation-delay: .2s; } .stagger > *:nth-child(n+7) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.flip { animation: flipin .35s var(--ease); }
@keyframes flipin { from { opacity: 0; transform: translateY(6px) scale(.99); } }
.burst { position: absolute; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; z-index: 95; animation: burst .7s var(--ease) forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; } }
.coachmark { margin: 10px 16px 0; border-radius: 16px; padding: 12px 14px; background: var(--p-tint); border: 1px solid color-mix(in srgb, var(--p500) 35%, transparent); display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.coachmark .ic { color: var(--p600); display: inline-flex; margin-top: 1px; }
html.dark .coachmark .ic { color: var(--p300); }
.divider { height: 1px; background: var(--line); margin: 12px 0; }
.ticket { display: grid; grid-template-columns: 92px 1fr; border-radius: 22px; border: 1.5px solid #f97316; background: var(--surface); overflow: hidden; }
.ticket .stub { background: color-mix(in srgb, #f97316 9%, var(--surface)); border-right: 1.5px dashed color-mix(in srgb, #f97316 50%, transparent); padding: 14px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.ticket .stub .d { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #ea580c; }
.ticket .stub .h { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.ticket .body { padding: 14px; }

/* landscape coach player */
.court-player { flex: 1; display: grid; grid-template-columns: 1fr 250px; background: radial-gradient(90% 90% at 35% 40%, #1c2c50, #070c18 75%); color: #fff; }
.court-player .stage { position: relative; display: flex; flex-direction: column; align-items: stretch; padding: 18px 8px 14px 64px; gap: 4px; min-width: 0; }
.court-player .stage > svg { flex: 1; min-height: 0; width: 100%; }
.court-player .cue { font-size: 17px; font-weight: 600; line-height: 1.3; text-align: center; }
.court-player .side { padding: 20px 26px 20px 4px; display: flex; flex-direction: column; gap: 10px; }
.court-player .pbtn { height: 44px; border-radius: 12px; background: rgb(255 255 255 / .08); display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 14px; font-weight: 600; color: #fff; }
.court-player .pbtn.on { background: #f2c14e; color: #1a1405; }
.court-player .pbtn.bad { background: rgb(239 68 68 / .16); color: #fecaca; }
.steps-dots { align-self: center; margin-top: 6px; display: flex; gap: 8px; align-items: center; background: rgb(0 0 0 / .35); padding: 8px 12px; border-radius: 999px; font-size: 12.5px; }
.steps-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / .3); }
.steps-dots i.on { background: #f2c14e; width: 22px; border-radius: 4px; }

/* only-mode (single screen for renders) */
html.only body { background: transparent; }
html.only .gallery { padding: 0; background: transparent; min-height: 0; }
html.only .top, html.only .toc, html.only .phase-head, html.only figcaption { display: none !important; }
html.only .phase, html.only figure { display: none; margin: 0; }
html.only .phase.keep, html.only figure.keep { display: block; }
html.only .phone { width: 390px; height: 844px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
html.only .phone.land { width: 844px; height: 390px; }
html.only .screen { border-radius: 0; }
html.only .island, html.only .home-ind { display: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } }

.coachmark-first { display: none; }
.first-run .coachmark-first { display: flex; }

[hidden] { display: none !important; }

.campus { --bg: #0b1324; }
.court-player .stage .toprow { display: flex; gap: 8px; align-items: center; }
.court-player { min-height: 0; }
.court-player .stage > svg { flex: 1 1 0; height: 0; min-height: 0; }

/* critic round 1 */
.lbl .hint, .slot .hr small, .msg .time { color: var(--muted); }
.day.past .dn { color: var(--muted); }
.steps .st { color: var(--muted); }
:root { --gold: #8a5a12; }
.day .dc { color: var(--p700); }
.sec .aside { color: var(--p700); }
html.dark .sec .aside.muted { color: var(--muted); }
html.dark .btn.quiet { background: rgb(255 255 255 / .09); }
.upnext { padding: 14px; border-color: color-mix(in srgb, var(--p500) 45%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p500) 10%, transparent), var(--shadow); }
.daystrip { padding-top: 12px; }
.checked-group { margin-top: 14px; }
.checked-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 10px 2px; }
.checked-group > summary::-webkit-details-marker { display: none; }
.checked-group > summary svg { margin-left: auto; transition: transform .2s; }
.checked-group[open] > summary svg { transform: rotate(180deg); }
.playbar { align-self: center; display: flex; align-items: center; gap: 4px; background: rgb(0 0 0 / .35); border-radius: 999px; padding: 4px 12px 4px 4px; margin-top: 6px; font-size: 12.5px; }
.playbar button { width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.playbar button.pp { background: #f2c14e; color: #1a1405; }
.playbar .steps-dots { position: static; transform: none; background: none; padding: 0 6px; margin: 0; }
.playbar .lbl3 { color: rgb(255 255 255 / .75); }
.status.overlay { position: absolute; top: 0; left: 0; right: 0; color: #fff; }

/* critic round 2 */
.daybar { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); margin-top: 8px; border-bottom: 1px solid var(--line); }
.daybar .daystrip { padding: 6px 8px 8px; }
.daybar .day { height: 64px; }
.earlier > summary { list-style: none; cursor: pointer; }
.earlier > summary::-webkit-details-marker { display: none; }
.earlier[open] > summary { display: none; }
.earlier > .slot { margin-top: 8px; }
.lesson.big { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 12px 12px 14px; }
html.dark .nextin { color: var(--p300) !important; }
.hbtn, .seg button, .chip, .btn { position: relative; }
.hbtn::after, .seg button::after, .chip::after, .gap .btn::after { content: ''; position: absolute; inset: -5px -2px; }
.seg button { height: 38px; }
button.check { cursor: pointer; }
.row button.check[aria-checked="true"] { background: var(--p600); border-color: var(--p600); color: #fff; }

/* critic round 3 */
.lesson .who { flex: 1; min-width: 0; }
.lesson .who .nm, .lesson .who .meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lesson .who .meta { display: flex; align-items: center; gap: 6px; }
.av.pending { filter: grayscale(.85) brightness(1.08); }
html.dark .av.pending { filter: grayscale(.85) brightness(.9); }
.btn.sm::after { inset: -6px -2px; }
.earlier .who .meta { gap: 4px; overflow: visible; }
.earlier .meta .pill { padding: 0 7px; font-size: 12px; }

/* CRM */
.ctabs { display: flex; gap: 2px; padding: 0 8px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 92%, transparent); flex-shrink: 0; position: relative; z-index: 19; }
.ctabs button { position: relative; height: 44px; padding: 0 12px; font-size: 15px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.ctabs button b { font-size: 12px; font-weight: 700; background: var(--sunken); color: var(--muted); border-radius: 999px; padding: 1px 7px; }
.ctabs button.on { color: var(--fg); }
.ctabs button.on b { background: var(--p-tint); color: var(--p700); }
.ctabs button.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--p600); }
.sec h3 .count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 12.5px; vertical-align: 2px; }
.stg { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11.5px; font-weight: 700; vertical-align: 1px; margin-left: 4px; white-space: nowrap; }
.chead .stg, .sheet-head .stg, .khead .stg { margin-left: 0; }
.stg.new { background: var(--p-tint); color: var(--p700); }
.stg.trial { background: color-mix(in srgb, #8b5cf6 14%, transparent); color: #6d28d9; }
.stg.regular { background: var(--ok-bg); color: var(--ok); }
.stg.risk { background: var(--warn-bg); color: var(--warn); }
.stg.lapsed { background: var(--sunken); color: var(--muted); }
html.dark .stg.trial { color: #c4b5fd; }
.todo details.more > summary { list-style: none; cursor: pointer; }
.todo details.more > summary::-webkit-details-marker { display: none; }
.todo details.more[open] > summary { display: none; }
.todo .row + details, .todo details .row { border-top: 1px solid var(--line); }
.searchrow { display: flex; gap: 8px; margin-top: 12px; }
.search { flex: 1; height: 44px; border-radius: 12px; background: var(--sunken); display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--muted); font-size: 15px; }
.btn.sq { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 12px; color: var(--p700); }
.row .when { font-size: 13px; font-weight: 600; color: var(--p700); }
.more-row { min-height: 48px; }
.card.insight { display: flex; gap: 12px; align-items: center; padding: 12px 14px; }
.chead { display: flex; gap: 14px; align-items: center; margin-top: 4px; }
.qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.qa button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--fg); }
.qa button span { width: 52px; height: 44px; border-radius: 14px; background: var(--p-tint); color: var(--p700); display: flex; align-items: center; justify-content: center; }
.qa button:first-child span { background: var(--p600); color: #fff; }
.facts { margin-top: 14px; }
.facts .row { min-height: 56px; }
.facts .t2 { font-size: 12px; }
.chip.tag { height: 32px; font-size: 13px; }
.chip.tag.dashed { border-style: dashed; color: var(--muted); }
.feed { margin-top: 12px; position: relative; }
.feed::before { content: ''; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: var(--line); }
.feed .ev { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; position: relative; }
.feed .ev .t1 { font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dotic { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--sunken); color: var(--muted); border: 3px solid var(--bg); }
.dotic svg { width: 15px; height: 15px; }
.dotic.p { background: var(--p-tint); color: var(--p700); } .dotic.ok { background: var(--ok-bg); color: var(--ok); } .dotic.gold { background: var(--gold-bg); color: var(--gold); }
.funnel { padding: 14px; }
.fbar { margin-top: 8px; height: 30px; border-radius: 8px; background: var(--sunken); overflow: hidden; }
.fbar span { display: flex; align-items: center; height: 100%; width: var(--w); padding: 0 10px; border-radius: 8px; background: linear-gradient(90deg, var(--p500), var(--p600)); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.kanban { display: flex; gap: 10px; overflow-x: auto; padding: 14px 16px 4px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.kanban::-webkit-scrollbar { display: none; }
.kcol { flex: 0 0 236px; scroll-snap-align: start; background: var(--sunken); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.khead { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 4px; }
.khead b { font-size: 13px; color: var(--muted); }
.kcard { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.kcard .t1 { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard .t2 { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard .btn.sm { justify-content: center; }
.kempty { font-size: 12.5px; color: var(--muted); padding: 6px 4px; }
.hbar { display: grid; grid-template-columns: 104px 1fr 22px; gap: 10px; align-items: center; margin: 6px 0; font-size: 13.5px; }
.hbar .b { height: 12px; border-radius: 6px; background: var(--p500); width: var(--w); }
.hbar .b.gold { background: var(--uni-gold); }
.hbar b { text-align: right; font-variant-numeric: tabular-nums; }
.quote { border-radius: 16px 16px 16px 4px; background: var(--sunken); padding: 10px 14px; font-size: 15px; line-height: 1.4; }
.offer-preview { display: flex; gap: 10px; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); font-size: 14.5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid2 .v { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* CRM critic round 1 */
html.dark .stg.new { color: var(--p300); }
.stgbtn { gap: 2px; cursor: pointer; border: 0; }
.stgbtn svg { width: 13px; height: 13px; }
.check.on { background: var(--p600); border-color: var(--p600); color: #fff; }
.kcol > .btn.sm { margin-top: 2px; }
