/* =========================================================
   GO Command — Glass look (G42, phase 1)
   Tokens below are copied verbatim from the platform's G1 file
   source-css/07-glass-system.css § 1 (same --gs-* names), so the
   two stay recognisably one system. Change a token there → copy it
   here. App-only additions (lane colours) follow.
   Layout spec: vault 02 Work/Command Center.md § Day view design
   (phone, Option A · Timeline) and § Desktop layout (A · Cockpit).
========================================================= */

.gs-glass {
  --gs-ink: #07080b;
  --gs-ink-2: #0b0d14;
  --gs-navy: #071847;
  --gs-navy-glow: 34, 56, 200;
  --gs-gold: #e2b65c;
  --gs-gold-fill: #d9b45e;
  --gs-gold-hi: #ebcb80;
  --gs-gold-ink: #15120a;
  --gs-dot-blocks: #e2b65c;
  --gs-dot-caged: #8db2ff;
  --gs-dot-warm: #d98e5c;
  --gs-dot-rhythm: #efe8d8;
  --gs-text: #f4f2ec;
  --gs-text-2: #c9ccd8;
  --gs-text-3: #a3a6b3;
  --gs-text-4: #8f93a6;
  --gs-line: rgba(255, 255, 255, 0.10);
  --gs-line-soft: rgba(255, 255, 255, 0.06);
  --gs-line-gold: rgba(226, 182, 92, 0.40);
  --gs-ok: #8de3a6;
  --gs-warn: #e07a7a;
  --gs-radius-card: 26px;
  --gs-radius-panel: 30px;
  --gs-radius-row: 18px;
  --gs-radius-pill: 999px;
  --gs-tap: 44px;
  --gs-font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --gs-glass-bg: linear-gradient(180deg, rgba(44, 48, 64, 0.52), rgba(20, 22, 30, 0.44));
  --gs-glass-shadow: inset 0 1px 14px rgba(255, 255, 255, 0.07), 0 0 26px -6px rgba(200, 210, 255, 0.12), 0 16px 40px -18px rgba(0, 0, 0, 0.8);
  --gs-dark-bg: linear-gradient(180deg, rgba(22, 24, 32, 0.72), rgba(10, 11, 15, 0.64));
  --gs-dark-shadow: inset 0 1px 16px rgba(255, 255, 255, 0.05), 0 0 30px -8px rgba(200, 210, 255, 0.10), 0 24px 60px -24px rgba(0, 0, 0, 0.9);
  --gs-stone-bg: linear-gradient(180deg, rgba(40, 44, 58, 0.50), rgba(14, 15, 20, 0.46));

  /* GO Command lane colours (Command Center § Day view design) */
  --l-caged: var(--gs-dot-caged);
  --l-web: var(--gs-gold);
  --l-fl: var(--gs-dot-warm);
  --l-rl: var(--gs-dot-rhythm);
  --l-stu: var(--gs-ok);
  --l-yt: #b9a3ff;
  --l-gym: #7fd1c7;
  --l-fam: var(--gs-dot-rhythm);

  color-scheme: dark;
  font-family: var(--gs-font);
  color: var(--gs-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { background: #07080b; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; position: relative; isolation: isolate;
  background: radial-gradient(50% 18% at 50% 0%, rgba(40, 60, 190, 0.22), rgba(40, 60, 190, 0) 100%), #07080b;
}
/* lamp top right, ambient light bottom left */
body::before {
  content: ""; position: fixed; z-index: -1; top: -200px; right: -60px; width: min(860px, 110vw); height: 740px; pointer-events: none;
  background: radial-gradient(50% 50% at 62% 40%, rgba(232, 168, 100, .22), rgba(232, 168, 100, 0) 70%);
}
body::after {
  content: ""; position: fixed; z-index: -1; left: -240px; bottom: -320px; width: 1100px; height: 780px; pointer-events: none;
  background: radial-gradient(closest-side at 40% 55%, rgba(34, 56, 200, .34), rgba(34, 56, 200, 0)), radial-gradient(closest-side at 72% 70%, rgba(224, 168, 100, .10), rgba(224, 168, 100, 0));
  animation: drift 21s ease-in-out infinite;
}
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1) } 50% { transform: translate(80px, -40px) scale(1.08) } }
button, input { font-family: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gs-gold); outline-offset: 3px; }

.glass { border: 1px solid var(--gs-line); background: var(--gs-glass-bg); box-shadow: var(--gs-glass-shadow); backdrop-filter: blur(20px) saturate(120%); -webkit-backdrop-filter: blur(20px) saturate(120%); }
.dglass { border: 1px solid rgba(255, 255, 255, .09); background: var(--gs-dark-bg); box-shadow: var(--gs-dark-shadow); backdrop-filter: blur(24px) saturate(120%); -webkit-backdrop-filter: blur(24px) saturate(120%); }
.eyebrow { color: var(--gs-gold); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.lab { color: var(--gs-text-4); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.panel { border-radius: 24px; min-width: 0; min-height: 0; }
.phead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.phead .meta { font-size: 11.5px; color: var(--gs-text-4); font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.btn.gold { background: var(--gs-gold-fill); color: var(--gs-gold-ink); box-shadow: inset 0 0 0 1px rgba(255, 236, 190, .35), 0 8px 26px -10px rgba(217, 180, 94, .75); }
.btn.gold:hover:not(:disabled) { background: var(--gs-gold-hi); }
.btn.glass { border: 1px solid rgba(255, 255, 255, .12); background: var(--gs-stone-bg); }
.btn:disabled { opacity: .42; cursor: default; }
.linkbtn { border: 0; background: none; color: var(--gs-gold); font-size: 12.5px; font-weight: 800; cursor: pointer; padding: 8px 4px; min-height: 36px; }
.linkbtn.dim { color: var(--gs-text-4); }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--gs-text-2); max-width: 100%; }
.chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--l-fam); flex: none; }
.chip.flag { color: #ffd9d9; border-color: rgba(224, 122, 122, .45); background: linear-gradient(180deg, rgba(120, 40, 40, .42), rgba(60, 20, 24, .38)); cursor: pointer; }
.chip.flag i { background: var(--gs-warn); box-shadow: 0 0 8px var(--gs-warn); }
.chip.muted { color: var(--gs-text-4); }
.chip.muted i { background: var(--gs-text-4); }

/* ---------- rings ---------- */
.trk { fill: none; stroke: rgba(255, 255, 255, .09); }
.arc { fill: none; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transform-box: fill-box; transition: stroke-dashoffset 1.1s cubic-bezier(.2, .8, .2, 1); }
.score { display: flex; align-items: center; gap: 10px; border: 0; background: none; cursor: pointer; padding: 4px; border-radius: 20px; text-align: left; flex: none; }
.sring { position: relative; width: 64px; height: 64px; flex: none; }
.sring svg { display: block; }
.sring .num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.sring .num small { font-size: 8.5px; color: var(--gs-text-4); font-weight: 800; letter-spacing: .08em; margin-top: 3px; }
.score .sl { font-size: 12px; color: var(--gs-text-3); font-weight: 700; line-height: 1.35; max-width: 140px; }
.score .sl b { display: block; color: var(--gs-text); font-size: 13px; }
.segs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); flex: none; }
.seg { border: 0; background: none; color: var(--gs-text-3); font-size: 11.5px; font-weight: 800; padding: 6px 11px; border-radius: 999px; cursor: pointer; min-height: 30px; }
.seg.on { background: var(--gs-gold-fill); color: var(--gs-gold-ink); box-shadow: 0 0 18px -6px rgba(217, 180, 94, .8); }
.rings { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ring { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; min-width: 0; }
.ring .rw { position: relative; width: var(--rs, 92px); height: var(--rs, 92px); }
.ring svg { display: block; width: 100%; height: 100%; }
.ring .rv { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring .big { font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; font-size: calc(var(--rs, 92px) * .2); }
.ring .sm { color: var(--gs-text-4); font-weight: 700; margin-top: 3px; font-variant-numeric: tabular-nums; font-size: 10px; }
.ring b { font-size: 12.5px; font-weight: 800; margin-top: 4px; white-space: nowrap; }
.ring .ft { font-size: 11px; color: var(--gs-text-4); font-weight: 600; white-space: nowrap; }
.bars { display: flex; flex-direction: column; gap: 10px; }
.barrow { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 11.5px; font-weight: 800; color: var(--gs-text-3); }
.barrow .v { color: var(--gs-text); font-variant-numeric: tabular-nums; }
.bal { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: rgba(239, 232, 216, .06); }
.bal i { display: block; height: 100%; width: 0; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.legend { display: flex; flex-wrap: wrap; gap: 5px 12px; font-size: 11.5px; color: var(--gs-text-3); font-weight: 600; }
.legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.45; font-weight: 600; }
.note.warn { background: rgba(217, 142, 92, .12); border: 1px solid rgba(217, 142, 92, .35); color: #f2d3be; }
.note.ok { background: rgba(141, 227, 166, .08); border: 1px solid rgba(141, 227, 166, .28); color: #cfefd8; }
.note .d { width: 9px; height: 9px; border-radius: 50%; margin-top: 4px; flex: none; }
.note.warn .d { background: var(--gs-dot-warm); animation: pulse 2s infinite; }
.note.ok .d { background: var(--gs-ok); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 142, 92, .6) } 70% { box-shadow: 0 0 0 9px rgba(217, 142, 92, 0) } 100% { box-shadow: 0 0 0 0 rgba(217, 142, 92, 0) } }
.goal { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; color: var(--gs-text-3); }
.pip { width: 22px; height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .10); }
.pip.on { background: var(--gs-gold); box-shadow: 0 0 10px rgba(226, 182, 92, .7); }

/* ---------- timeline + events ---------- */
.tl { position: relative; }
.hr { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--gs-line-soft); }
.hr span { position: absolute; top: -8px; left: 0; font-size: 10.5px; font-weight: 700; color: var(--gs-text-4); font-variant-numeric: tabular-nums; }
.evs { position: absolute; top: 0; bottom: 0; left: 46px; right: 2px; }
.ev { position: absolute; left: 0; right: 0; border-radius: 13px; padding: 6px 10px 6px 11px; display: flex; gap: 8px; align-items: flex-start; cursor: pointer; text-align: left; overflow: hidden; font: inherit; color: inherit; border: 1px solid transparent; background: none; transition: transform .15s, box-shadow .2s; }
.ev:hover { transform: translateY(-1px); }
.ev .body { min-width: 0; flex: 1; }
.ev .tt { display: block; font-size: 13px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev .ts { display: block; font-size: 11px; font-weight: 600; color: var(--gs-text-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev.compact { align-items: center; padding-top: 0; padding-bottom: 0; }
.ev.compact .ts { display: none; }
.ev.lesson { background: linear-gradient(180deg, rgba(226, 182, 92, .95), rgba(205, 166, 84, .92)); color: var(--gs-gold-ink); box-shadow: 0 8px 22px -12px rgba(217, 180, 94, .8), inset 0 0 0 1px rgba(255, 236, 190, .35); }
.ev.lesson .ts { color: rgba(21, 18, 10, .72); }
.ev.lesson.free { background: linear-gradient(180deg, rgba(226, 182, 92, .62), rgba(205, 166, 84, .55)); }
.ev.test { border: 1px dashed rgba(163, 166, 179, .35); background: rgba(255, 255, 255, .03); }
.ev.test .tt { color: var(--gs-text-4); }
.ev.held { border: 1px dashed rgba(226, 182, 92, .5); background: rgba(226, 182, 92, .05); }
.ev.held .tt { color: var(--gs-gold); }
.ev.fam { background: linear-gradient(180deg, rgba(239, 232, 216, .16), rgba(239, 232, 216, .08)); border-color: rgba(239, 232, 216, .34); }
.ev.gym { background: linear-gradient(180deg, rgba(127, 209, 199, .18), rgba(127, 209, 199, .08)); border-color: rgba(127, 209, 199, .36); }
.ev.need { border: 1px dashed rgba(224, 122, 122, .7); background: rgba(224, 122, 122, .10); }
.ev.need .tt { color: #ffd9d9; }
.ev.gap { border: 1px dashed rgba(163, 166, 179, .36); background: rgba(255, 255, 255, .015); }
.ev.gap .tt { color: var(--gs-text-3); font-weight: 700; }
.ev.gap.bk .tt::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gs-gold); margin-left: 7px; vertical-align: middle; opacity: .8; }
.ev.past { opacity: .55; }
.now { position: absolute; right: 0; height: 0; border-top: 2px solid var(--gs-gold); z-index: 3; pointer-events: none; box-shadow: 0 0 10px rgba(226, 182, 92, .8); }
.now::before { content: ""; position: absolute; left: -5px; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--gs-gold); box-shadow: 0 0 12px var(--gs-gold); }
.now span { position: absolute; right: 4px; top: -17px; font-size: 10px; font-weight: 800; color: var(--gs-gold); letter-spacing: .06em; }
.restcard { border-radius: 20px; padding: 16px; color: var(--gs-text-2); font-size: 13px; line-height: 1.55; }
.restcard .lab { margin-bottom: 6px; display: block; }

/* ---------- banner ---------- */
.banner { margin: 0 0 12px; }

/* =========================================================
   PHONE (Option A · Timeline) — default, < 1024px
========================================================= */
.phone { max-width: 560px; margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px calc(env(safe-area-inset-bottom, 0px) + 28px); }
.ph-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 6px 4px 12px; }
.ph-top .greet { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gs-gold); }
.ph-top h1 { margin: 5px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.ph-top .sub { margin-top: 4px; color: var(--gs-text-3); font-size: 12.5px; font-weight: 600; }
.ph-top .score { padding: 0; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 8px; border-radius: 22px; margin-bottom: 12px; }
.wd { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 8px; border: 0; border-radius: 16px; background: none; cursor: pointer; color: var(--gs-text-3); min-height: 44px; }
.wd .n { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.wd .dt { font-size: 17px; font-weight: 800; color: var(--gs-text); font-variant-numeric: tabular-nums; }
.wd .dots { display: flex; gap: 2px; height: 5px; }
.wd .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--gs-gold); }
.wd.past { opacity: .48; }
.wd.today .dt { color: var(--gs-gold); }
.wd.sel { background: var(--gs-glass-bg); box-shadow: inset 0 1px 12px rgba(255, 255, 255, .10), 0 0 0 1px rgba(255, 255, 255, .12); opacity: 1; }
.wd.sel::after { content: ""; position: absolute; bottom: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--gs-gold); box-shadow: 0 0 10px var(--gs-gold); }
.wd .warn { position: absolute; top: 5px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--gs-warn); box-shadow: 0 0 8px var(--gs-warn); }
.phone .chips { margin: 0 0 12px; }
.phone .tl { margin: 10px 0 0; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 22px 4px 10px; }
.wl { border-radius: 22px; padding: 14px; display: grid; gap: 14px; }
.phone .rings { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 6px; --rs: 76px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 22px 4px 0; font-size: 11.5px; color: var(--gs-text-4); font-weight: 600; }

/* =========================================================
   DESKTOP (A · Cockpit) — ≥ 1024px
========================================================= */
.cockpit { min-height: 100vh; min-height: 100dvh; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex: none; min-height: 72px; }
.top h1 { margin: 6px 0 0; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.top .sub { margin-top: 5px; color: var(--gs-text-3); font-size: 13px; font-weight: 600; }
.topL { flex: none; min-width: 0; }
.topL h1 { white-space: nowrap; }
.topR { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-width: 0; }
.topR .chips { justify-content: flex-end; min-width: 0; }
.topR .chip { max-width: 420px; }
.band { flex: none; height: 214px; display: grid; grid-template-columns: minmax(0, 1fr) var(--sidew, 470px); gap: 16px; }
.band .panel { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.main { flex: 1 0 auto; height: 0; min-height: 520px; display: grid; grid-template-columns: var(--sidew, 470px) minmax(0, 1fr); gap: 16px; }
.main .panel { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.tlwrap { position: relative; flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.cockpit .tl { margin: 8px 0; }
.wk { display: grid; position: relative; }
.wkbody { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.dh { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 8px; border: 0; border-radius: 16px; background: none; cursor: pointer; color: var(--gs-text-3); min-width: 0; position: relative; }
.dh .n { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dh .dt { font-size: 18px; font-weight: 800; color: var(--gs-text); font-variant-numeric: tabular-nums; line-height: 1.1; }
.dh .dots { display: flex; gap: 2px; height: 5px; }
.dh .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--gs-gold); }
.dh .m { font-size: 10px; font-weight: 700; color: var(--gs-text-4); white-space: nowrap; }
.dh .warn { position: absolute; top: 6px; right: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--gs-warn); box-shadow: 0 0 8px var(--gs-warn); }
.dh.today .dt { color: var(--gs-gold); }
.dh.pastd { opacity: .55; }
.dh.sel { background: linear-gradient(180deg, rgba(44, 48, 64, .62), rgba(20, 22, 30, .5)); box-shadow: inset 0 1px 12px rgba(255, 255, 255, .10), 0 0 0 1px rgba(255, 255, 255, .12); opacity: 1; }
.dh.sel::after { content: ""; position: absolute; bottom: -4px; left: 50%; margin-left: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--gs-gold); box-shadow: 0 0 10px var(--gs-gold); }
.col { position: relative; border-left: 1px solid rgba(255, 255, 255, .05); min-width: 0; }
.col.today { background: linear-gradient(180deg, rgba(226, 182, 92, .05), rgba(226, 182, 92, 0)); }
.col.sel { background: rgba(255, 255, 255, .025); }
.col.wkend { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .015) 0 6px, rgba(255, 255, 255, 0) 6px 12px); }
.colbtn { position: absolute; inset: 0; border: 0; background: none; cursor: pointer; z-index: 0; width: 100%; }
.colbtn:hover { background: rgba(255, 255, 255, .02); }
.col .ev { left: 4px; right: 4px; z-index: 1; }
.ev.mini { border-radius: 7px; padding: 3px 6px; }
.ev.mini .tt { font-size: 10.5px; }
.ev.mini .ts { display: none; }
.ev.mini.tiny .tt { display: none; }
.cockpit .foot { margin: 0; flex: none; }

@media (max-width: 1279px) and (min-width: 1024px) {
  .cockpit { --sidew: 370px; padding: 22px; gap: 14px; }
  .top h1 { font-size: 26px; }
  .score .sl { display: none; }
  .topR .chip { max-width: 300px; }
  .band .rings { --rs: 70px; }
  .ring b { font-size: 11.5px; }
  .ring .ft { display: none; }
}

/* =========================================================
   SHEET (phone) / DRAWER (desktop)
========================================================= */
.scrim { position: fixed; inset: 0; z-index: 20; border: 0; background: rgba(3, 4, 8, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); cursor: pointer; animation: fade .2s; width: 100%; }
.sheet { position: fixed; z-index: 21; left: 8px; right: 8px; bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); max-height: 82vh; overflow-y: auto; border-radius: 30px; padding: 10px 18px 20px; animation: up .28s cubic-bezier(.2, .8, .2, 1); scrollbar-width: none; max-width: 560px; margin: 0 auto; }
.sheet .grab { width: 40px; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .22); margin: 0 auto 12px; }
@keyframes fade { from { opacity: 0 } }
@keyframes up { from { transform: translateY(40%); opacity: 0 } }
@keyframes slide { from { transform: translateX(30px); opacity: 0 } }
.sheet .x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); cursor: pointer; display: none; place-items: center; }
.sheet .x svg { width: 14px; height: 14px; }
.sheet .x path { stroke: var(--gs-text-2); stroke-width: 2; stroke-linecap: round; }
.sheet .tag { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gs-text-4); padding-right: 44px; }
.sheet h2 { margin: 8px 0 4px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; padding-right: 30px; }
.sheet .meta { color: var(--gs-text-2); font-size: 13px; font-weight: 600; line-height: 1.45; }
.sheet .src { margin: 12px 0 0; padding: 11px 13px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); font-size: 12.5px; line-height: 1.55; color: var(--gs-text-2); white-space: pre-line; }
.sheet .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.sheet .ah { margin: 18px 0 8px; display: block; }
.alts { display: flex; flex-direction: column; gap: 6px; }
.alt { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; text-align: left; font: inherit; color: inherit; width: 100%; min-height: 44px; }
.alt:disabled { cursor: default; opacity: .75; }
.alt i { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.alt .t { display: block; font-size: 13px; font-weight: 800; }
.alt .s { display: block; font-size: 11.5px; color: var(--gs-text-3); font-weight: 600; margin-top: 2px; }
.sheet .fnote { margin-top: 14px; font-size: 11.5px; color: var(--gs-text-4); line-height: 1.5; }
.phase { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--gs-line); font-size: 10px; font-weight: 800; letter-spacing: .08em; color: var(--gs-text-4); vertical-align: middle; }
@media (min-width: 1024px) {
  .scrim { background: rgba(3, 4, 8, .42); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
  .sheet { left: auto; right: 28px; top: 106px; bottom: 28px; width: 400px; max-height: none; margin: 0; border-radius: 28px; padding: 20px 20px 18px; animation: slide .28s cubic-bezier(.2, .8, .2, 1); }
  .sheet .grab { display: none; }
  .sheet .x { display: grid; }
}

/* =========================================================
   PROGRESS (G43 · build step 5): Runway ⇄ This week
   Spec: Command Center.md § Game layer, GO Command — Progress
   Build Brief, Design canvas "GO Command Game Layer".
   Classes are p-* so they never collide with the day view.
========================================================= */
.pnav { display: flex; justify-content: flex-end; margin: 0 2px 4px; }
.pgsw .seg { min-width: 74px; }
.prog { --p-lane: 168px; --p-launch: 76px; min-height: 100vh; min-height: 100dvh; padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px calc(env(safe-area-inset-bottom, 0px) + 20px); display: flex; flex-direction: column; gap: 14px; }
.prog-foot { padding: 0 16px calc(env(safe-area-inset-bottom, 0px) + 16px); }
.prog-foot .foot { margin: 0; }
.p-top { display: flex; flex-wrap: wrap-reverse; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.p-top h1 { margin: 6px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.p-top .sub { margin-top: 5px; color: var(--gs-text-3); font-size: 12.5px; font-weight: 600; }
.p-topR { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.p-vr { width: 1px; height: 24px; background: rgba(255, 255, 255, .12); }
.p-legend { display: flex; flex-wrap: wrap; gap: 5px 14px; font-size: 11.5px; color: var(--gs-text-3); font-weight: 600; justify-content: flex-end; }
.p-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.p-legend .lg { display: inline-block; width: 18px; height: 9px; border-radius: 5px; }
.p-legend .lgd { display: inline-block; width: 9px; height: 9px; transform: rotate(45deg); border-radius: 2px; }
.p-legend .sq { display: inline-block; width: 12px; height: 12px; border-radius: 4px; }
.p-legend .sq.hatch { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .14) 0 3px, rgba(255, 255, 255, 0) 3px 6px); }
.p-legend.sm { justify-content: flex-start; }
.note.ice { background: rgba(141, 178, 255, .08); border: 1px solid rgba(141, 178, 255, .28); color: #d3e0ff; }
.note.ice .d { background: #8db2ff; }
.p-datanote { font-size: 11.5px; color: var(--gs-text-4); font-weight: 600; line-height: 1.5; }

/* tiles */
.p-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.p-tile { border-radius: 22px; padding: 14px; display: flex; align-items: center; gap: 12px; min-width: 0; font: inherit; color: inherit; text-align: left; }
button.p-tile { cursor: pointer; }
.p-tile.p-launch { border-color: rgba(141, 178, 255, .3); }
.p-ring, .p-lring { position: relative; flex: none; }
.p-ring { width: 72px; height: 72px; }
.p-lring { width: 96px; height: 96px; }
.p-ring svg, .p-lring svg { display: block; }
.p-ring .num, .p-lring .num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.p-ring .num b { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }
.p-lring .num b { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.p-ring .num small, .p-lring .num small { font-size: 8px; font-weight: 800; letter-spacing: .14em; color: var(--gs-text-4); margin-top: 3px; }
.p-tx { flex: 1; min-width: 0; }
.p-tx .tt { font-size: 15px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.p-tx .tt.sm { font-size: 13.5px; }
.p-tx .ts { font-size: 11.5px; font-weight: 700; color: var(--gs-text-3); margin-top: 3px; line-height: 1.4; }
.p-xpbar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; margin-top: 8px; }
.p-xpbar.big { height: 10px; margin-top: 10px; }
.p-xpbar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #b98e3c, #e2b65c 70%, #ffe3a6); box-shadow: 0 0 14px rgba(226, 182, 92, .7); }
.p-flame { width: 40px; height: 40px; flex: none; }
.p-flame svg { width: 100%; height: 100%; display: block; }
.p-big { font-size: 36px; font-weight: 800; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.p-big.ice { color: #8db2ff; text-shadow: 0 0 24px rgba(141, 178, 255, .5); }
.p-big.xl { font-size: 52px; }
.p-pips { display: flex; gap: 4px; margin-top: 8px; }
.p-pips .pip { width: 20px; }

/* shared grid scaffolding: horizontal scroll on narrow screens */
.p-scroll { overflow-x: auto; overflow-y: hidden; margin: 0 -14px; padding: 0 14px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; -webkit-overflow-scrolling: touch; }
.p-grid { min-width: 860px; position: relative; }
.p-grid.wk { min-width: 760px; }
.p-axis { display: grid; }
.p-axhead { height: 58px; }
.p-lanelab { align-self: end; padding-bottom: 9px; }
.p-rows { position: relative; }
.p-ln, .p-lanebtn { display: flex; align-items: center; gap: 10px; min-width: 0; padding-left: 2px; position: sticky; left: 0; z-index: 5; background: linear-gradient(90deg, rgba(14, 16, 22, .96) 80%, rgba(14, 16, 22, 0)); }
.p-ln > i, .p-lanebtn > i { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.p-ln b, .p-lanebtn b { display: block; font-size: 13px; font-weight: 800; white-space: nowrap; letter-spacing: -.01em; }
.p-ln small, .p-lanebtn small { display: block; font-size: 11px; font-weight: 700; color: var(--gs-text-4); margin-top: 2px; white-space: nowrap; }
.p-late { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; color: #2a0d07; background: #ff9a7e; box-shadow: 0 0 12px rgba(255, 138, 107, .75); vertical-align: 1px; }
@keyframes pglow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 107, .75), 0 0 10px rgba(255, 138, 107, .8) } 50% { box-shadow: 0 0 0 6px rgba(255, 138, 107, 0), 0 0 18px rgba(255, 138, 107, 1) } }
.p-nowwrap { position: absolute; top: 0; bottom: 0; left: var(--p-lane); right: var(--p-launch); pointer-events: none; z-index: 3; }
.p-nowwrap.wk { right: 0; }
.p-nowv { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px solid var(--gs-gold); box-shadow: 0 0 10px rgba(226, 182, 92, .8); }
.p-nowv span { position: absolute; bottom: -17px; left: -16px; font-size: 9.5px; font-weight: 800; color: var(--gs-gold); letter-spacing: .06em; white-space: nowrap; }
.p-empty { position: absolute; z-index: 8; left: var(--p-lane); right: var(--p-launch); top: 0; bottom: 52px; display: none; align-items: flex-end; justify-content: center; pointer-events: none; padding: 10px; }
.p-emptynote { font-size: 12px; line-height: 1.5; color: var(--gs-text-2); font-weight: 600; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.p-empty.wk { right: 0; bottom: 0; }
.p-empty div { max-width: 440px; text-align: center; padding: 16px 20px; border-radius: 18px; font-size: 13px; line-height: 1.55; color: var(--gs-text-2); font-weight: 600; }
.p-empty b { display: block; color: var(--gs-text); font-size: 14px; margin-bottom: 4px; }

/* runway */
.p-runway { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.p-runway .phead { flex-wrap: wrap; }
.p-wh { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px; padding: 0 10px 8px; border: 0; background: none; cursor: pointer; color: var(--gs-text-3); text-align: left; border-radius: 14px 14px 0 0; min-width: 0; font: inherit; }
.p-wh:hover { background: rgba(255, 255, 255, .03); }
.p-wh .n { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.p-wh .dt { font-size: 17px; font-weight: 800; color: var(--gs-text); line-height: 1.1; white-space: nowrap; }
.p-wh .m { font-size: 10.5px; font-weight: 700; color: var(--gs-text-4); white-space: nowrap; }
.p-wh.cur { background: linear-gradient(180deg, rgba(226, 182, 92, .12), rgba(226, 182, 92, .04)); }
.p-wh.cur .dt { color: var(--gs-gold); }
.p-wh.past { opacity: .7; }
.p-lh { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 8px; color: #8db2ff; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.p-lh b { font-size: 17px; letter-spacing: -.01em; text-transform: none; }
.p-rrow { border-top: 1px solid rgba(255, 255, 255, .05); height: 62px; position: relative; }
.p-srow { height: 44px; }
.p-wc { position: relative; border-left: 1px solid rgba(255, 255, 255, .045); padding: 10px 8px 0; min-width: 0; }
.p-wc.cur { background: rgba(226, 182, 92, .045); }
.p-wc.tk { padding: 10px 0 0; }
.p-need { height: 16px; border-radius: 999px; border: 1.5px dashed rgba(141, 178, 255, .55); display: flex; align-items: center; justify-content: center; font-size: 9.5px; font-weight: 800; color: #afc8ff; letter-spacing: .04em; white-space: nowrap; overflow: hidden; }
.p-dmk { position: absolute; z-index: 4; display: flex; align-items: center; gap: 5px; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: inherit; transform: translateX(-5px); min-height: 16px; max-width: 170px; }
.p-dmk .dia, .p-dl .dia, .p-dchip .dia { flex: none; width: 10px; height: 10px; transform: rotate(45deg); border-radius: 2px; background: #c9ccd8; }
.p-dmk .dlt, .p-dl .dlt { font-size: 9.5px; font-weight: 800; color: #c9ccd8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-dmk.over .dia, .p-dl.over .dia, .p-dchip.over .dia { background: #ff8a6b; animation: pglow 1.6s ease-in-out infinite; }
.p-dmk.over .dlt, .p-dl.over .dlt { color: #ffb3a1; }
.p-dmk.met .dia, .p-dl.met .dia, .p-dchip.met .dia { background: var(--gs-gold); }
.p-dmk.done .dia, .p-dl.done .dia, .p-dchip.done .dia { background: rgba(201, 204, 216, .35); }
.p-dmk.prop .dia, .p-dl.prop .dia, .p-dchip.prop .dia { background: none; border: 1.5px dashed #c9ccd8; }
.p-dmk.launch .dia, .p-dl.launch .dia, .p-dchip.launch .dia { background: #8db2ff; box-shadow: 0 0 10px rgba(141, 178, 255, .8); }
.p-lc { border-left: 1px solid rgba(141, 178, 255, .25); background: linear-gradient(90deg, rgba(141, 178, 255, .08), rgba(141, 178, 255, 0)); }
.p-ticks { display: flex; gap: 3px; height: 22px; align-items: flex-end; padding: 0 6px; }
.p-ticks i { flex: 1; border-radius: 3px; height: 9px; background: rgba(255, 255, 255, .04); }
.p-ticks i.hit, .p-ticks i.today.hit { height: 22px; background: var(--gs-gold); box-shadow: 0 0 8px -1px rgba(226, 182, 92, .7); }
.p-ticks i.miss { height: 22px; background: none; border: 1px solid rgba(240, 138, 120, .7); }
.p-ticks i.none { height: 14px; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .08) 0 3px, rgba(255, 255, 255, 0) 3px 6px); }
.p-ticks i.today { height: 22px; background: rgba(226, 182, 92, .15); box-shadow: 0 0 0 1.5px var(--gs-gold); }
.p-ticks i.pre { background: none; }
.p-cdnote { margin-top: 4px; }

/* this week */
.p-wkmain { display: flex; flex-direction: column; gap: 14px; }
.p-wkpanel { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.p-wkpanel .phead { flex-wrap: wrap; }
.p-dh { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; padding-bottom: 7px; border-radius: 14px 14px 0 0; color: var(--gs-text-3); min-width: 0; }
.p-dh .n { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.p-dh .dt { font-size: 18px; font-weight: 800; color: var(--gs-text); font-variant-numeric: tabular-nums; line-height: 1.1; }
.p-dh .dots { display: flex; gap: 2px; height: 5px; }
.p-dh .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--gs-gold); }
.p-dh .m { font-size: 10px; font-weight: 800; color: var(--gs-text-4); white-space: nowrap; }
.p-dh.today { background: linear-gradient(180deg, rgba(226, 182, 92, .10), rgba(226, 182, 92, .04)); }
.p-dh.today .dt { color: var(--gs-gold); }
.p-dh.past { opacity: .7; }
.p-grow { display: grid; position: relative; border-top: 1px solid rgba(255, 255, 255, .05); height: 62px; }
.p-lanebtn { border: 0; cursor: pointer; text-align: left; border-radius: 12px; font: inherit; color: inherit; padding-right: 10px; }
.p-lanebtn:hover b { color: #fff; }
.p-cell { position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 5px; padding: 8px 5px 0; min-width: 0; border-left: 1px solid rgba(255, 255, 255, .04); }
.p-cell.today { background: rgba(226, 182, 92, .045); }
.p-cell.wkend { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 6px, rgba(255, 255, 255, 0) 6px 12px); }
.p-dl { display: flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0 2px; cursor: pointer; font: inherit; color: inherit; min-width: 0; min-height: 22px; position: relative; z-index: 4; }
.p-dl .dia { width: 9px; height: 9px; }
.p-dl .dlt { font-size: 10px; }
.p-strip { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.p-dls { display: flex; flex-wrap: wrap; gap: 8px; }
.p-dchip { display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 11px; border-radius: 14px; cursor: pointer; font: inherit; text-align: left; min-height: 44px; color: inherit; max-width: 100%; }
.p-dchip .t { font-size: 12.5px; font-weight: 800; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-dchip .s { font-size: 11px; font-weight: 700; color: var(--gs-text-3); display: block; margin-top: 1px; white-space: nowrap; }
.p-dchip > span:last-child { min-width: 0; }
.p-dchip.over { border-color: rgba(255, 138, 107, .55); box-shadow: 0 0 22px -6px rgba(255, 138, 107, .75); }
.p-dchip.over .s { color: #ffb3a1; }
.p-dchip.met .s { color: var(--gs-gold); }
.p-dchip.prop { border-style: dashed; }
.p-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.p-card { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.p-lvl { display: flex; gap: 16px; align-items: center; }
.p-lname { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.p-xpl { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 700; color: var(--gs-text-3); margin-top: 6px; font-variant-numeric: tabular-nums; }
.p-chipsx { display: flex; flex-wrap: wrap; gap: 6px; }
.p-chipsx span { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); color: var(--gs-text-2); white-space: nowrap; }
.p-chipsx b { color: var(--gs-gold); }
.p-stk { display: flex; align-items: center; gap: 12px; }
.p-stk .t { font-size: 12px; font-weight: 700; color: var(--gs-text-3); line-height: 1.4; }
.p-stk .t b { display: block; color: var(--gs-text); }
.p-heat { display: grid; gap: 4px; }
.p-heat .wl { font-size: 9.5px; font-weight: 800; color: var(--gs-text-4); text-align: center; white-space: nowrap; overflow: hidden; }
.p-heat .rl { font-size: 9.5px; font-weight: 800; color: var(--gs-text-4); display: flex; align-items: center; }
.hc { height: 17px; border-radius: 5px; background: rgba(255, 255, 255, .035); position: relative; }
.hc.pre { background: none; }
.hc.none { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 3px, rgba(255, 255, 255, 0) 3px 6px); }
.hc.miss { background: none; border: 1px solid rgba(240, 138, 120, .6); }
.hc.hit, .hc.today.hit { background: var(--gs-gold); box-shadow: 0 0 10px -2px rgba(226, 182, 92, .7); }
.hc.today { box-shadow: 0 0 0 1.5px var(--gs-gold); background: rgba(226, 182, 92, .12); animation: tpulse 2.2s ease-in-out infinite; }
@keyframes tpulse { 0%, 100% { box-shadow: 0 0 0 1.5px #e2b65c } 50% { box-shadow: 0 0 0 1.5px #e2b65c, 0 0 14px rgba(226, 182, 92, .7) } }
.hc.launch { background: #8db2ff; box-shadow: 0 0 12px rgba(141, 178, 255, .85); }
.hc.launch::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #07080b; }
.p-cdbig { display: flex; align-items: flex-end; gap: 12px; }
.p-cdbig .t { font-size: 12px; font-weight: 700; color: var(--gs-text-3); line-height: 1.45; padding-bottom: 3px; }
.p-cdbig .t b { color: var(--gs-text); display: block; font-size: 13px; }
.p-kv { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 11.5px; font-weight: 800; color: var(--gs-text-3); }
.p-kv .v { color: var(--gs-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-dim { font-size: 11.5px; color: var(--gs-text-4); font-weight: 700; }
.p-wpips { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.p-wpips i { height: 10px; border-radius: 4px; background: rgba(141, 178, 255, .12); border: 1px solid rgba(141, 178, 255, .25); }
.p-wpips i.on { background: #8db2ff; box-shadow: 0 0 10px rgba(141, 178, 255, .7); }
.p-pbar { position: relative; height: 10px; border-radius: 999px; background: rgba(141, 178, 255, .10); }
.p-pbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: #8db2ff; box-shadow: 0 0 12px rgba(141, 178, 255, .6); }
.p-pbar u { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--gs-text); border-radius: 2px; text-decoration: none; }

/* drawer rows */
.p-prows { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.p-prw { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .06); }
.p-prw i { flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; }
.p-prw .t { display: block; font-size: 13px; font-weight: 800; line-height: 1.35; }
.p-prw .s { display: block; font-size: 11.5px; color: var(--gs-text-3); font-weight: 600; margin-top: 2px; line-height: 1.45; }
.p-prw .xp { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--gs-gold); white-space: nowrap; padding-left: 8px; }

@media (max-width: 1023px) {
  .prog { --p-lane: 122px; --p-launch: 58px; }
  .p-ln small, .p-lanebtn small { display: none; }
  .p-ln b, .p-lanebtn b { font-size: 12px; white-space: normal; line-height: 1.2; }
  .p-late { display: block; width: max-content; margin: 3px 0 0; }
  .p-tile { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 14px; }
  .p-tile .p-ring { width: 56px; height: 56px; }
  .p-tile .p-ring svg { width: 56px; height: 56px; }
  .p-tile .p-ring .num b { font-size: 17px; }
  .p-tile .p-ring .num small { font-size: 7px; }
  .p-tile .p-big { font-size: 34px; }
  .p-tile .p-flame { width: 34px; height: 34px; }
  .p-tile:nth-child(2) { display: grid; grid-template-columns: auto 1fr; align-items: center; }
  .p-tile:nth-child(2) .p-tx { grid-column: 1 / -1; }
  .p-wh { padding: 0 6px 8px; }
  .p-dmk { max-width: 104px; }
  .p-wh .dt { font-size: 15px; }
}
@media (min-width: 640px) {
  .p-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .pnav { display: none; }
  .prog { padding: 28px; gap: 16px; }
  .prog-foot { padding: 0 28px 20px; margin-top: -8px; }
  .p-top { flex-wrap: nowrap; align-items: center; min-height: 72px; }
  .p-top h1 { font-size: 30px; }
  .p-top .sub { font-size: 13px; }
  .p-tiles { gap: 16px; }
  .p-tile { padding: 16px 18px; gap: 14px; }
  .p-big { font-size: 40px; }
  .p-big.ice:not(.xl) { font-size: 46px; }
  .p-runway, .p-wkpanel { padding: 18px 20px; }
  .p-scroll { margin: 0; padding: 0; overflow: visible; }
  .p-grid, .p-grid.wk { min-width: 0; }
  .p-ln, .p-lanebtn { position: static; background: none; }
  .p-empty { display: flex; }
  .p-emptynote { display: none; }
  .p-wkmain { display: grid; grid-template-columns: minmax(0, 1fr) 392px; gap: 16px; align-items: start; }
  .p-grow { height: 66px; }
  .p-cdnote { margin-top: auto; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .prog { --p-lane: 150px; --p-launch: 64px; padding: 22px; }
  .p-wkmain { grid-template-columns: minmax(0, 1fr) 330px; }
  .p-tx .ts { font-size: 11px; }
  .p-wh .dt { font-size: 15px; }
  .p-heat .wl { font-size: 8.5px; letter-spacing: 0; }
}

/* =========================================================
   SIGN-IN / STATES
========================================================= */
.center { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.card { width: min(400px, 100%); border-radius: 30px; padding: 28px 24px 24px; display: grid; gap: 14px; }
.mark { width: 56px; height: 56px; border-radius: 16px; background: #000; display: grid; place-items: center; color: var(--gs-gold); font-weight: 800; font-size: 22px; letter-spacing: -.04em; box-shadow: inset 0 0 0 1px rgba(226, 182, 92, .35), 0 0 30px -8px rgba(226, 182, 92, .5); }
.card h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.card p { margin: 0; color: var(--gs-text-3); font-size: 13.5px; line-height: 1.5; }
.field { display: grid; gap: 6px; }
.field label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gs-text-4); }
.field input { min-height: 46px; border-radius: 14px; border: 1px solid var(--gs-line); background: rgba(255, 255, 255, .04); padding: 0 14px; font-size: 16px; font-weight: 600; }
.field input:focus { outline: none; border-color: var(--gs-line-gold); box-shadow: 0 0 0 3px rgba(226, 182, 92, .15); }
.err { color: #ffd0d0; font-size: 13px; font-weight: 600; line-height: 1.45; }
.ok { color: #cfefd8; font-size: 13px; font-weight: 600; line-height: 1.45; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .12); border-top-color: var(--gs-gold); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
