@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg: oklch(0.975 0.004 85);
  --panel: #fff;
  --ink: oklch(0.22 0.01 260);
  --ink-2: oklch(0.42 0.01 260);
  --ink-3: oklch(0.6 0.008 260);
  --line: oklch(0.91 0.005 85);
  --line-2: oklch(0.95 0.004 85);
  --side: oklch(0.2 0.012 260);
  --accent: oklch(0.56 0.15 255);
  --accent-soft: oklch(0.95 0.03 255);
  --pos: oklch(0.56 0.13 155);
  --pos-soft: oklch(0.95 0.04 155);
  --neg: oklch(0.58 0.17 25);
  --neg-soft: oklch(0.95 0.035 25);
  --warn: oklch(0.68 0.14 70);
  --warn-soft: oklch(0.96 0.045 80);
  --gold: oklch(0.72 0.13 85);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: 'Pretendard Variable', Pretendard, sans-serif; background: var(--bg); color: var(--ink); font-size: 14px; -webkit-font-smoothing: antialiased; letter-spacing: -0.01em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.mono { font-family: var(--mono); letter-spacing: 0; }

/* ── shell */
.app { display: grid; grid-template-columns: 232px 1fr; height: 100vh; }
.side { background: var(--side); color: oklch(0.85 0.008 260); display: flex; flex-direction: column; padding: 20px 12px; gap: 2px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 22px; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--neg); display: grid; place-items: center; }
.brand-mark::after { content: ''; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.brand b { font-size: 15px; color: #fff; font-weight: 700; display: block; }
.brand small { font-size: 11px; color: oklch(0.65 0.01 260); }
.nav-group { font-size: 11px; color: oklch(0.55 0.01 260); padding: 16px 10px 6px; font-weight: 600; letter-spacing: 0.04em; }
.nav-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; background: transparent; border-radius: 7px; cursor: pointer; text-align: left; font-size: 13.5px; color: inherit; }
.nav-btn:hover { background: oklch(0.27 0.012 260); }
.nav-btn.on { background: oklch(0.3 0.015 260); color: #fff; font-weight: 600; }
.nav-btn .idx { font-family: var(--mono); font-size: 10.5px; color: oklch(0.55 0.01 260); width: 16px; }
.nav-btn.on .idx { color: var(--accent); }
.side-foot { margin-top: auto; padding: 14px 10px 0; font-size: 11.5px; color: oklch(0.55 0.01 260); line-height: 1.6; border-top: 1px solid oklch(0.28 0.01 260); }

.main { overflow-y: auto; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in oklch, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 14px 32px; display: flex; align-items: center; gap: 16px; }
.top h1 { font-size: 19px; margin: 0; font-weight: 700; letter-spacing: -0.02em; }
.top .sub { color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.top .grow { flex: 1; }
.page { padding: 24px 32px 64px; display: flex; flex-direction: column; gap: 20px; max-width: 1480px; width: 100%; }

/* ── week picker */
.weekpick { display: flex; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.weekpick button { border: 0; background: transparent; padding: 8px 10px; cursor: pointer; color: var(--ink-2); }
.weekpick button:hover:not(:disabled) { background: var(--line-2); }
.weekpick button:disabled { opacity: 0.3; cursor: default; }
.weekpick .wk { padding: 6px 14px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; min-width: 150px; }
.weekpick .wk b { display: block; font-size: 13px; }
.weekpick .wk span { font-size: 11px; color: var(--ink-3); }

/* ── cards */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.card-h { display: flex; align-items: baseline; gap: 12px; padding: 16px 20px 0; }
.card-h h2 { font-size: 15px; margin: 0; font-weight: 700; }
.card-h .hint { font-size: 12px; color: var(--ink-3); }
.card-h .grow { flex: 1; }
.card-b { padding: 14px 20px 18px; }
.grid { display: grid; gap: 20px; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.g21 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }

.kpi { min-width: 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.kpi .lbl { font-size: 12.5px; color: var(--ink-2); font-weight: 500; display: flex; justify-content: space-between; }
.kpi .val { font-size: clamp(22px, 2vw, 30px); white-space: nowrap; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.kpi .val small { font-size: 15px; font-weight: 500; color: var(--ink-3); margin-left: 3px; }
.kpi .foot { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-3); }

.delta { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 12px; padding: 2px 7px; border-radius: 99px; white-space: nowrap; }
.delta.pos { color: var(--pos); background: var(--pos-soft); }
.delta.neg { color: var(--neg); background: var(--neg-soft); }
.delta.zero { color: var(--ink-3); background: var(--line-2); }
.delta.plain { background: transparent; padding: 0; }

.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag.top { color: oklch(0.5 0.12 85); background: oklch(0.96 0.05 90); }
.tag.ok { color: var(--pos); background: var(--pos-soft); }
.tag.near { color: oklch(0.55 0.13 65); background: var(--warn-soft); }
.tag.low { color: var(--neg); background: var(--neg-soft); }
.tag.na, .tag.none, .tag.flat { color: var(--ink-3); background: var(--line-2); }
.tag.up { color: var(--pos); background: var(--pos-soft); }
.tag.down { color: oklch(0.55 0.13 65); background: var(--warn-soft); }
.tag.err { color: var(--neg); background: var(--neg-soft); }
.tag.nodot::before { display: none; }

.grade { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font-weight: 800; font-size: 13px; }
.grade.S { background: var(--ink); color: #fff; }
.grade.A { background: var(--accent); color: #fff; }
.grade.B { background: var(--accent-soft); color: var(--accent); }
.grade.C { background: var(--warn-soft); color: oklch(0.55 0.13 65); }
.grade.D { background: var(--line-2); color: var(--ink-3); }

/* ── tables */
.tbl-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
.t th { font-size: 11.5px; font-weight: 600; color: var(--ink-3); text-align: right; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--panel); position: sticky; top: 0; }
.t th.l, .t td.l { text-align: left; }
.t th.c, .t td.c { text-align: center; }
.t td { padding: 10px; border-bottom: 1px solid var(--line-2); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t tbody tr:hover td { background: oklch(0.985 0.004 85); }
.t tr.total td { background: var(--line-2); font-weight: 700; border-top: 1px solid var(--line); }
.t .who b { font-weight: 600; display: block; }
.t .who span { font-size: 11.5px; color: var(--ink-3); }
.t .muted { color: var(--ink-3); }
.t td.gold { background: oklch(0.965 0.05 90) !important; font-weight: 700; }
.t .grp th { text-align: center; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.t tr.click { cursor: pointer; }
.rank { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 6px; font-weight: 700; font-size: 12px; background: var(--line-2); color: var(--ink-2); }
.rank.r1 { background: var(--ink); color: #fff; }
.rank.r2, .rank.r3 { background: var(--accent-soft); color: var(--accent); }

/* ── bars */
.hbar { display: grid; grid-template-columns: 110px 1fr 70px; align-items: center; gap: 10px; padding: 5px 0; font-size: 12.5px; }
.hbar .track { height: 18px; background: var(--line-2); border-radius: 4px; overflow: hidden; position: relative; }
.hbar .fill { height: 100%; background: var(--accent); border-radius: 4px; transition: width .4s; }
.hbar .v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.diverge { position: relative; height: 18px; background: var(--line-2); border-radius: 4px; }
.diverge .mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--ink-3); }
.diverge .f { position: absolute; top: 0; bottom: 0; border-radius: 3px; }

.insight { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; align-items: baseline; }
.insight:last-child { border-bottom: 0; }
.insight .k { color: var(--ink-3); font-size: 12px; font-weight: 600; }
.insight b { font-weight: 700; }

/* ── input grid */
.inp-grid { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13px; }
.inp-grid th { font-size: 11px; color: var(--ink-3); font-weight: 600; padding: 8px 4px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: 0; background: var(--panel); z-index: 2; }
.inp-grid th.grp { color: var(--ink-2); font-size: 11.5px; border-bottom: 1px solid var(--line-2); }
.inp-grid td { padding: 4px 3px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.inp-grid td.who { padding: 8px 10px 8px 4px; white-space: nowrap; min-width: 130px; position: sticky; left: 0; background: var(--panel); z-index: 1; }
.inp-grid thead tr:last-child th:first-child { position: sticky; left: 0; z-index: 3; }
.inp-grid td.who b { display: block; font-weight: 600; }
.inp-grid td.who span { font-size: 11.5px; color: var(--ink-3); }
.cell { width: 100%; min-width: 50px; border: 1px solid transparent; background: oklch(0.975 0.03 95); border-radius: 6px; padding: 6px 7px; text-align: right; font-variant-numeric: tabular-nums; outline: none; font-size: 13px; }
.cell.wide { min-width: 76px; }
.cell:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px var(--accent-soft); }
.cell.empty { background: oklch(0.97 0.02 95); }
.cell.bad { border-color: var(--neg); background: var(--neg-soft); }
.prevv { display: block; font-size: 10.5px; color: var(--ink-3); text-align: right; padding: 2px 7px 0; font-variant-numeric: tabular-nums; }
.sumchk { font-size: 11.5px; font-weight: 600; text-align: center; padding-top: 10px !important; }

/* ── buttons & forms */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--panel); padding: 7px 13px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 500; white-space: nowrap; }
.btn:hover { background: var(--line-2); }
.btn.pri { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.pri:hover { background: oklch(0.32 0.01 260); }
.btn.acc { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.danger { color: var(--neg); }
.btn.sm { padding: 4px 9px; font-size: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--ink-2); font-weight: 500; }
.field input, .field select, textarea.ta { border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; background: #fff; outline: none; font-size: 13.5px; color: var(--ink); }
.field input:focus, textarea.ta:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.ta { width: 100%; resize: vertical; min-height: 110px; line-height: 1.6; }
.seg { display: inline-flex; background: var(--line-2); border-radius: 8px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 5px 12px; border-radius: 6px; cursor: pointer; font-size: 12.5px; color: var(--ink-2); }
.seg button.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px oklch(0 0 0 / 0.08); }
.switch { width: 34px; height: 20px; border-radius: 99px; background: var(--line); position: relative; border: 0; cursor: pointer; flex-shrink: 0; }
.switch::after { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .15s; box-shadow: 0 1px 2px oklch(0 0 0 / .2); }
.switch.on { background: var(--pos); }
.switch.on::after { left: 16px; }

.note { font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.note b { color: var(--ink-2); }
.banner { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 9px; background: var(--accent-soft); color: oklch(0.38 0.1 255); font-size: 13px; }
.banner.warn { background: var(--warn-soft); color: oklch(0.45 0.1 65); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 9px; font-size: 13px; z-index: 100; box-shadow: 0 8px 24px oklch(0 0 0 / .2); animation: tin .2s; }
@keyframes tin { from { opacity: 0; transform: translate(-50%, 8px); } }

.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.member-chip { border: 1px solid var(--line); background: var(--panel); border-radius: 99px; padding: 6px 13px; cursor: pointer; font-size: 13px; }
.member-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }

.heat td.h { font-weight: 600; }
.empty-state { padding: 48px; text-align: center; color: var(--ink-3); }
.legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--ink-3); align-items: center; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* ── v2 additions */
.src { display: inline-block; font-size: 9.5px; font-weight: 700; padding: 1px 5px; border-radius: 4px; vertical-align: 1px; letter-spacing: 0.02em; font-family: var(--mono); }
.src.api { background: oklch(0.94 0.05 25); color: var(--neg); }
.src.in { background: var(--line-2); color: var(--ink-3); }
.src.est { background: var(--warn-soft); color: oklch(0.55 0.13 65); }
.score { display: inline-grid; place-items: center; font-weight: 800; border-radius: 8px; font-variant-numeric: tabular-nums; }
.score.md { min-width: 36px; height: 28px; font-size: 14px; padding: 0 6px; }
.score.lg { min-width: 56px; height: 44px; font-size: 22px; border-radius: 10px; }
.score.S { background: var(--ink); color: #fff; }
.score.A { background: var(--accent); color: #fff; }
.score.B { background: var(--accent-soft); color: var(--accent); }
.score.C { background: var(--warn-soft); color: oklch(0.55 0.13 65); }
.score.D { background: var(--neg-soft); color: var(--neg); }
.hbar .mk { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.g12 { grid-template-columns: 1fr 1.6fr; }
.g111 { grid-template-columns: 1.2fr 1fr 1fr; }
.funnel { display: flex; flex-direction: column; gap: 10px; }
.fstep { display: grid; grid-template-columns: minmax(56px, 120px) minmax(0, 1fr) minmax(64px, 120px); gap: 12px; align-items: center; }
.fstep .fl b { display: block; font-size: 13px; }
.fstep .fl span { font-size: 11px; color: var(--ink-3); }
.fbar { height: 26px; background: var(--line-2); border-radius: 5px; overflow: hidden; }
.fbar > div { height: 100%; border-radius: 5px; }
.fv { text-align: right; }
.fv b { display: block; font-size: 15px; }
.fv span { font-size: 11px; color: var(--ink-3); }
.pillar-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-2); }
.pillar-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.rx { display: grid; grid-template-columns: 34px 40px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-2); align-items: start; font-size: 13px; }
.rx:last-child { border-bottom: 0; }
.rx .p { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 22px; padding: 0 4px; white-space: nowrap; word-break: keep-all; letter-spacing: 0; line-height: 1; border-radius: 6px; font-weight: 800; font-size: 11px; font-family: var(--mono); }
.rx .p1 { background: var(--neg); color: #fff; } .rx .p2 { background: var(--warn-soft); color: oklch(0.5 0.13 65); } .rx .p3 { background: var(--line-2); color: var(--ink-3); }
.rx .area { font-size: 11.5px; color: var(--ink-3); font-weight: 600; padding-top: 3px; }
.rx b { font-weight: 700; }
.rx .d { color: var(--ink-2); font-size: 12.5px; margin-top: 2px; line-height: 1.55; }
.section-title { font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.06em; margin: 8px 0 -6px; text-transform: uppercase; }
.issue { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; padding: 4px 0; }
.dotlv { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; transform: translateY(-1px); }
.dotlv.err { background: var(--neg); } .dotlv.warn { background: var(--warn); } .dotlv.ok { background: var(--pos); }
.cell[disabled], .cell.ro { background: transparent; color: var(--ink-2); cursor: not-allowed; border-color: transparent; }
.inp-grid tr.mine td { background: oklch(0.975 0.02 255); }
.inp-grid tr.mine td.who { background: oklch(0.965 0.03 255); box-shadow: inset 3px 0 0 var(--accent); }
.lockchip { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--ink-3); background: var(--line-2); padding: 4px 9px; border-radius: 6px; font-weight: 500; }
.userbox { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid oklch(0.28 0.01 260); display: flex; flex-direction: column; gap: 8px; }
.userbox .u { display: flex; align-items: center; gap: 10px; }
.userbox .av { width: 30px; height: 30px; border-radius: 8px; background: oklch(0.32 0.02 260); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.userbox .av.admin { background: var(--neg); }
.userbox b { color: #fff; font-size: 13px; display: block; }
.userbox small { font-size: 11px; color: oklch(0.6 0.01 260); }
.userbox .acts { display: flex; gap: 6px; }
.userbox .acts button { flex: 1; border: 1px solid oklch(0.32 0.01 260); background: transparent; color: oklch(0.8 0.01 260); border-radius: 6px; padding: 5px 0; font-size: 11.5px; cursor: pointer; }
.userbox .acts button:hover { background: oklch(0.27 0.012 260); }
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { background: var(--side); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-art h1 { font-size: 40px; line-height: 1.2; letter-spacing: -0.04em; margin: 0; font-weight: 800; }
.login-art p { color: oklch(0.72 0.01 260); font-size: 15px; line-height: 1.7; max-width: 440px; }
.login-art .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(oklch(1 0 0 / 0.04) 1px, transparent 1px), linear-gradient(90deg, oklch(1 0 0 / 0.04) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.login-form { display: grid; place-items: center; padding: 40px; }
.login-form form { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 16px; }
.login-form h2 { font-size: 24px; margin: 0 0 4px; letter-spacing: -0.03em; }
.login-form .err { color: var(--neg); font-size: 12.5px; background: var(--neg-soft); padding: 9px 12px; border-radius: 7px; }
.login-form .btn { justify-content: center; padding: 11px; font-size: 14px; }
.modal-bg { position: fixed; inset: 0; background: oklch(0.2 0.01 260 / 0.45); display: grid; place-items: center; z-index: 200; animation: fadein .15s; }
@keyframes fadein { from { opacity: 0; } }
.modal { background: #fff; border-radius: 12px; box-shadow: 0 20px 60px oklch(0 0 0 / .25); max-width: calc(100vw - 40px); }
.modal-h { display: flex; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.modal-h b { flex: 1; }
.modal-h .x { border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--ink-3); line-height: 1; }
.modal-b { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.method { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; font-size: 12.5px; }
.method > div { padding: 10px 14px; border-bottom: 1px solid var(--line-2); line-height: 1.55; }
.method > div:nth-child(odd) { background: var(--line-2); color: var(--ink-3); text-decoration: line-through; text-decoration-color: oklch(0.6 0.1 25 / .5); }
.method .mh { font-weight: 700; font-size: 11.5px; text-decoration: none !important; color: var(--ink-2) !important; background: #fff !important; }
.statline { display: flex; gap: 22px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
.statline b { color: var(--ink); font-size: 14px; margin-left: 4px; }
.ms { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.ms > div { height: 100%; background: var(--accent); border-radius: 99px; }

.mstrip { padding: 12px 18px; display: flex; gap: 0; align-items: center; flex-wrap: wrap; }
.mstrip .mcell { padding: 2px 18px; border-right: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.mstrip .mcell:first-child { padding-left: 0; }
.mstrip .mcell:nth-last-child(2) { border-right: 0; margin-right: auto; }
.mstrip .ml { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.mstrip b { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.agecmp { display: grid; grid-template-columns: 70px minmax(0, 1fr) 56px; gap: 10px; align-items: center; font-size: 12.5px; padding: 4px 0; }
.ac-track { position: relative; height: 16px; background: var(--line-2); border-radius: 4px; }
.ac-mine { position: absolute; left: 0; top: 3px; bottom: 3px; background: var(--accent); border-radius: 3px; opacity: .85; }
.ac-ref { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--ink); }
.agecmp .num { text-align: right; font-weight: 600; }

@media print {
  .side, .top .weekpick, .btn { display: none !important; }
  .app { display: block; } .main { overflow: visible; }
}
