/* NEET Biospark Planner — screen styles. Visual language: the OMR bubble. Ink fills a bubble when a block is done;
   red pen only marks lost marks; the highlighter only sits under the one number that matters on a screen. */
:root {
  --paper: #f4f6fc;
  --sheet: #ffffff;
  --sheet-2: #eef1fa;
  --ink: #161c45;
  --ink-2: #474e78;
  --ink-3: #737a9c;
  --line: #dfe3f1;
  --line-2: #c6cbe2;
  --brand: #2742c7;
  --brand-ink: #ffffff;
  --brand-soft: #e4e9ff;
  --spark: #ffe15a;
  --red: #e03131;
  --red-soft: #ffe8e8;
  --ok: #1f7a3d;
  --ok-soft: #e2f5e8;
  --warn: #8a5300;
  --warn-soft: #fff1d6;
  --focus: #ff8a00;
  --sP: #6741d9; --sC: #e8590c; --sB: #2b8a3e; --sZ: #c2255c;
  --tP: #efeaff; --tC: #fff0e6; --tB: #e7f6eb; --tZ: #fde8f0;
  --display: "Baloo 2", "Mukta", system-ui, sans-serif;
  --body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --nav-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1230; --sheet: #161b41; --sheet-2: #1d2350; --ink: #eef0ff; --ink-2: #bcc1e6; --ink-3: #8e94bf;
    --line: #2a3163; --line-2: #3a4281; --brand: #8ea2ff; --brand-ink: #0b1030; --brand-soft: #232c69;
    --red: #ff7b7b; --red-soft: #3d1a2a; --ok: #6fdc95; --ok-soft: #173826; --warn: #ffc56b; --warn-soft: #3a2c10; --focus: #ffb347;
    --sP: #a68cff; --sC: #ff9452; --sB: #63d47f; --sZ: #ff6fa3;
    --tP: #2a2160; --tC: #3b2412; --tB: #173521; --tZ: #3d1730;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1230; --sheet: #161b41; --sheet-2: #1d2350; --ink: #eef0ff; --ink-2: #bcc1e6; --ink-3: #8e94bf;
  --line: #2a3163; --line-2: #3a4281; --brand: #8ea2ff; --brand-ink: #0b1030; --brand-soft: #232c69;
  --red: #ff7b7b; --red-soft: #3d1a2a; --ok: #6fdc95; --ok-soft: #173826; --warn: #ffc56b; --warn-soft: #3a2c10; --focus: #ffb347;
  --sP: #a68cff; --sC: #ff9452; --sB: #63d47f; --sZ: #ff6fa3;
  --tP: #2a2160; --tC: #3b2412; --tB: #173521; --tZ: #3d1730;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.005em; }
h1 { font-size: 30px; line-height: 1.08; font-weight: 800; }
h2 { font-size: 22px; line-height: 1.15; font-weight: 700; }
h3 { font-size: 17px; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
a { color: var(--brand); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.loading { min-height: 70vh; display: grid; place-items: center; color: var(--ink-3); }

/* ---------- shell ---------- */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top-in { max-width: 760px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.top .brand { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1; text-decoration: none; color: var(--ink); background: none; border: 0; padding: 0; text-align: left; }
.top .brand svg { width: 34px; height: 34px; flex: none; }
.top .brand b { font-family: var(--display); font-size: 18px; line-height: 1; font-weight: 800; display: block; color: var(--ink); }
.top .brand small { font-size: 12.5px; color: var(--ink-3); display: block; line-height: 1.2; }
.lock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ok); background: var(--ok-soft); border: 0; border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.lock svg { width: 14px; height: 14px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 16px 16px calc(var(--nav-h) + 32px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 22px; }
.wrap.nonav { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--sheet); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.nav-in { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); height: var(--nav-h); }
.nav button { border: 0; background: none; display: grid; justify-items: center; align-content: center; gap: 2px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); position: relative; }
.nav button svg { width: 24px; height: 24px; }
.nav button[aria-current="page"] { color: var(--brand); }
.nav button[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); }

/* ---------- buttons & inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--sheet); color: var(--ink); font-weight: 700; font-size: 15.5px; line-height: 1.2; text-decoration: none; }
.btn:hover { border-color: var(--ink-3); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.big { min-height: 54px; font-size: 17px; padding: 12px 22px; border-radius: 14px; }
.btn.wide { width: 100%; }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: 14px; border-radius: 10px; }
.btn.quiet { border-color: transparent; background: transparent; color: var(--brand); }
.btn.danger { color: var(--red); border-color: color-mix(in srgb, var(--red) 40%, var(--line-2)); }
.btn svg { width: 18px; height: 18px; flex: none; }
.iconbtn { border: 0; background: transparent; width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; color: var(--ink-2); flex: none; }
.iconbtn:hover { background: var(--sheet-2); }
.iconbtn svg { width: 20px; height: 20px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; min-width: 0; }
.row.between { justify-content: space-between; }
.stack { display: grid; gap: 12px; }
.stack.tight { gap: 6px; }
input[type="text"], input[type="number"], input[type="date"], input[type="time"], input[type="search"], select, textarea {
  background: var(--sheet); border: 1.5px solid var(--line-2); border-radius: 10px; padding: 9px 11px; min-height: 44px; min-width: 0; max-width: 100%; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; min-width: 0; }
.field > small, .hint { font-weight: 400; color: var(--ink-3); font-size: 13.5px; line-height: 1.35; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 380px) { .grid2 { grid-template-columns: 1fr; } }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button, .chip { border: 1.5px solid var(--line-2); background: var(--sheet); color: var(--ink-2); border-radius: 999px; padding: 8px 14px; min-height: 40px; font-weight: 600; font-size: 14.5px; line-height: 1.2; }
.seg button[aria-pressed="true"], .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.step { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--sheet); flex: none; }
.step button { border: 0; background: transparent; width: 40px; font-size: 22px; line-height: 1; color: var(--ink-2); }
.step button:active { background: var(--sheet-2); }
.step input { width: 52px; min-height: 42px; border: 0; border-radius: 0; text-align: center; padding: 0; font-family: var(--display); font-size: 20px; font-weight: 700; background: transparent; -moz-appearance: textfield; }
.step input:focus { box-shadow: none; background: var(--brand-soft); }
.step input::-webkit-outer-spin-button, .step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step.zero input { color: var(--ink-3); font-weight: 400; }
.sdot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; flex: none; }
.sdot.P { background: var(--sP); } .sdot.C { background: var(--sC); } .sdot.B { background: var(--sB); } .sdot.Z { background: var(--sZ); }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--sheet-2); color: var(--ink-2); white-space: nowrap; }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.red { background: var(--red-soft); color: var(--red); }
.tag.brand { background: var(--brand-soft); color: var(--brand); }
.note { border-left: 4px solid var(--line-2); padding: 8px 12px; color: var(--ink-2); font-size: 14.5px; background: var(--sheet); border-radius: 0 10px 10px 0; }
.note.ok { border-left-color: var(--ok); }
.note.warn { border-left-color: var(--warn); }
.note.brand { border-left-color: var(--brand); }
.hl { background: linear-gradient(transparent 52%, var(--spark) 52%, var(--spark) 92%, transparent 92%); padding: 0 4px; color: #161c45; }
:root[data-theme="dark"] .hl { color: #161c45; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hl { color: inherit; background: linear-gradient(transparent 55%, color-mix(in srgb, var(--spark) 45%, transparent) 55%, color-mix(in srgb, var(--spark) 45%, transparent) 92%, transparent 92%); } }
.sec { display: grid; gap: 12px; }
.sec > header { display: grid; gap: 2px; }
.sec > header p { color: var(--ink-3); font-size: 14.5px; }
.panel { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 14px; min-width: 0; }
.rule { height: 1px; background: var(--line); border: 0; margin: 2px 0; }
.empty { border: 1.5px dashed var(--line-2); border-radius: var(--radius); padding: 18px; text-align: center; color: var(--ink-3); display: grid; gap: 10px; justify-items: center; }

/* ---------- the bubble ---------- */
.bubble { --b: 26px; width: var(--b); height: var(--b); border-radius: 50%; border: 2px solid var(--ink-2); background: transparent; display: inline-grid; place-items: center; flex: none; padding: 0; position: relative; }
.bubble::after { content: ""; width: 0; height: 0; border-radius: 50%; background: var(--brand); transition: width .18s ease-out, height .18s ease-out; }
.bubble[aria-checked="true"] { border-color: var(--brand); }
.bubble[aria-checked="true"]::after { width: calc(var(--b) - 8px); height: calc(var(--b) - 8px); }
.bubble.big { --b: 34px; }
.bubbles { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.bubbles i { width: 14px; height: 14px; border-radius: 50%; border: 1.8px solid var(--ink-3); display: inline-block; }
.bubbles i.on { background: var(--brand); border-color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .bubble::after { transition: none; } }

/* ---------- welcome ---------- */
.hero { display: grid; gap: 18px; padding: 10px 0 4px; }
.hero h1 { font-size: clamp(32px, 9vw, 46px); }
.hero .lede { font-size: 17.5px; color: var(--ink-2); max-width: 34ch; }
.omr-demo { display: grid; gap: 8px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.omr-demo .q { display: grid; grid-template-columns: 16px repeat(4, 22px) minmax(0, 1fr); gap: 7px; align-items: center; font-size: 14px; }
.omr-demo .q > span:last-child { padding-left: 6px; }
.omr-demo .q b { font-family: var(--display); color: var(--ink-3); font-size: 15px; }
.omr-demo .opt { width: 22px; height: 22px; border-radius: 50%; border: 1.8px solid var(--ink-3); display: grid; place-items: center; font-size: 11px; color: var(--ink-3); font-weight: 700; }
.omr-demo .opt.fill { background: var(--brand); border-color: var(--brand); color: transparent; animation: ink .35s ease-out both; }
.omr-demo .q:nth-child(2) .opt.fill { animation-delay: .35s; }
.omr-demo .q:nth-child(3) .opt.fill { animation-delay: .7s; }
.omr-demo .q span { color: var(--ink-2); }
@keyframes ink { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .omr-demo .opt.fill { animation: none; } }
.how { display: grid; gap: 14px; counter-reset: how; }
.how li { list-style: none; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.how li::before { counter-increment: how; content: counter(how); width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--brand); color: var(--brand); display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.how { margin: 0; padding: 0; }
.promise { background: var(--ok-soft); border-radius: var(--radius); padding: 16px; display: grid; gap: 8px; color: var(--ink); }
.promise h3 { display: flex; gap: 8px; align-items: center; color: var(--ok); }
.promise h3 svg { width: 20px; height: 20px; }

/* ---------- wizard ---------- */
.wiz-head { display: grid; gap: 10px; }
.wiz-steps { display: flex; gap: 6px; align-items: center; }
.wiz-steps button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--sheet); color: var(--ink-3); font-family: var(--display); font-weight: 800; font-size: 14px; padding: 0; display: grid; place-items: center; }
.wiz-steps button.done { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.wiz-steps button[aria-current="step"] { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.wiz-steps .bar { flex: 1; height: 2px; background: var(--line); min-width: 6px; }
.wiz-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--sheet); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
.wiz-foot-in { max-width: 760px; margin: 0 auto; display: flex; gap: 10px; align-items: center; }
.wiz-foot-in .grow { flex: 1; }
.subj-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.subj-row:last-child { border-bottom: 0; }
.subj-row .nm { display: flex; align-items: center; gap: 8px; font-weight: 700; min-width: 0; }
.subj-row .lbl { font-size: 12.5px; color: var(--ink-3); text-align: center; margin-bottom: 2px; }
.subj-row .meta { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-3); margin-top: -4px; }
@media (max-width: 420px) {
  .subj-row { grid-template-columns: 1fr 1fr; }
  .subj-row .nm { grid-column: 1 / -1; }
}
.tally { display: flex; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.tally b { font-family: var(--display); font-size: 26px; line-height: 1; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { border: 1.5px solid var(--line-2); background: var(--sheet); border-radius: 12px; padding: 8px 12px; display: flex; gap: 7px; align-items: center; font-weight: 700; white-space: nowrap; color: var(--ink-2); }
.tabs button[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.tabs button small { font-weight: 600; opacity: .8; }
.reason { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.reason:last-child { border-bottom: 0; }
.reason b { display: block; font-weight: 700; line-height: 1.25; }
.reason small { color: var(--ink-3); font-size: 13.5px; line-height: 1.3; display: block; }
.reason.notme { background: var(--sheet-2); border-radius: 12px; padding: 10px 12px; border-bottom: 0; margin-top: 6px; }
.chtags { display: grid; gap: 8px; }
.chtag { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 6px 6px 6px 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--sheet); }
.chtag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 14.5px; }
.chtag .step button { width: 32px; font-size: 18px; }
.chtag .step input { width: 34px; font-size: 16px; min-height: 34px; }
.slot { display: grid; grid-template-columns: minmax(80px, 1fr) minmax(0, 1.2fr) auto minmax(0, 1.2fr) auto; gap: 8px; align-items: center; }
.slot input[type="text"] { font-weight: 700; border-color: transparent; background: transparent; padding-left: 2px; min-height: 36px; }
.slot input[type="text"]:hover { border-color: var(--line); }
.slot input[type="text"]:focus { border-color: var(--brand); background: var(--sheet); }
.slot .to { color: var(--ink-3); font-size: 14px; }
@media (max-width: 520px) {
  .slot { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; }
  .slot input[type="text"] { grid-column: 1 / -1; }
}
.slot.bad input[type="time"] { border-color: var(--warn); }
.kind { display: grid; gap: 10px; }
.kind header { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }

/* ---------- bottom sheet ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(10, 14, 40, .45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--sheet); width: min(760px, 100%); max-height: 88vh; border-radius: 20px 20px 0 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; box-shadow: 0 -10px 40px rgba(10, 14, 40, .25); padding-bottom: env(safe-area-inset-bottom, 0px); }
@media (min-width: 800px) { .scrim { align-items: center; } .sheet { border-radius: 20px; max-height: 80vh; } }
.sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 8px; }
.sheet-tools { padding: 0 16px 10px; display: grid; gap: 8px; }
.sheet-body { overflow: auto; padding: 0 16px 12px; overscroll-behavior: contain; }
.sheet-foot { padding: 10px 16px 14px; border-top: 1px solid var(--line); }
.chk { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.chk input { width: 22px; height: 22px; accent-color: var(--brand); margin: 0; min-height: 0; }
.grp { font-family: var(--display); font-weight: 700; color: var(--ink-3); font-size: 14px; padding: 12px 0 4px; }

/* ---------- report ---------- */
.paper-head { display: grid; gap: 4px; }
.paper-head .row b { font-family: var(--display); font-size: 34px; line-height: 1; }
.omr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 12px; }
.omr .col { display: grid; gap: 8px; justify-items: center; min-width: 0; }
.omr .dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; width: 100%; max-width: 104px; }
.omr .dots i { aspect-ratio: 1; border-radius: 50%; border: 1.6px solid var(--line-2); display: block; }
.omr .dots i.c { background: var(--ink); border-color: var(--ink); }
.omr .dots i.w { background: var(--red); border-color: var(--red); }
.omr .dots i.d { border-color: var(--ink-3); background: linear-gradient(135deg, transparent 40%, var(--sheet) 40%, var(--sheet) 60%, transparent 60%), var(--ink-3); }
.omr .cap { display: grid; justify-items: center; gap: 2px; text-align: center; }
.omr .cap b { font-family: var(--display); font-size: 20px; line-height: 1; }
.omr .cap span { font-size: 12.5px; color: var(--ink-3); }
.omr .cap .nm { display: flex; gap: 5px; align-items: center; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; border: 1.6px solid var(--line-2); display: inline-block; }
.legend i.c { background: var(--ink); border-color: var(--ink); }
.legend i.w { background: var(--red); border-color: var(--red); }
.legend i.d { border-color: var(--ink-3); background: linear-gradient(135deg, transparent 40%, var(--sheet) 40%, var(--sheet) 60%, transparent 60%), var(--ink-3); }
.st { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.st.strong { background: var(--ok-soft); color: var(--ok); }
.st.average { background: var(--sheet-2); color: var(--ink-2); }
.st.weak { background: var(--red-soft); color: var(--red); }
.st.nodata { background: var(--sheet-2); color: var(--ink-3); }
.lost { display: grid; gap: 10px; }
.lost .r { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 4px 10px; align-items: center; font-size: 14.5px; }
.lost .r b { font-family: var(--display); color: var(--red); text-align: right; font-size: 17px; }
.lost .bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--sheet-2); overflow: hidden; }
.lost .bar i { display: block; height: 100%; background: var(--red); border-radius: 4px; }
.two { display: grid; gap: 22px; }
@media (min-width: 720px) { .two { grid-template-columns: 1fr 1fr; } }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; font-size: 15px; line-height: 1.4; }
.ticks li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; background: var(--ok); }
.ticks.focus li::before { background: transparent; border: 2.5px solid var(--red); width: 12px; height: 12px; }
.target { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.target .n { font-family: var(--display); font-size: 30px; line-height: 1; font-weight: 800; }
.target .lbl { font-size: 13px; color: var(--ink-3); }
.track { height: 10px; border-radius: 5px; background: var(--sheet-2); position: relative; overflow: hidden; }
.track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); border-radius: 5px; }
.track em { position: absolute; top: 0; bottom: 0; background: var(--spark); }
.split { display: flex; height: 36px; border-radius: 10px; overflow: hidden; gap: 2px; }
.split div { display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; min-width: 0; }
.split .P { background: var(--sP); } .split .C { background: var(--sC); } .split .B { background: var(--sB); } .split .Z { background: var(--sZ); }
.why { display: grid; gap: 6px; font-size: 14.5px; }
.why div { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.how2 { display: grid; gap: 14px; }
@media (min-width: 720px) { .how2 { grid-template-columns: 1fr 1fr; } }
.subj-card { border-radius: var(--radius); padding: 14px; display: grid; gap: 8px; align-content: start; border: 1px solid var(--line); background: var(--sheet); border-top: 5px solid var(--line-2); }
.subj-card.P { border-top-color: var(--sP); } .subj-card.C { border-top-color: var(--sC); } .subj-card.B { border-top-color: var(--sB); } .subj-card.Z { border-top-color: var(--sZ); }
.subj-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.subj-card ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: 14.5px; }
.subj-card .daily { font-size: 14px; background: var(--sheet-2); border-radius: 10px; padding: 8px 10px; }

/* ---------- today & plan ---------- */
.day-head { display: grid; gap: 6px; }
.day-head .big { font-family: var(--display); font-size: 27px; line-height: 1.1; font-weight: 800; }
.day-nav { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.blocks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.blk { display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.blk .tm { font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.15; color: var(--ink); }
.blk .tm small { display: block; font-family: var(--body); font-weight: 400; font-size: 12.5px; color: var(--ink-3); }
.blk .body { display: grid; gap: 6px; min-width: 0; border-left: 4px solid var(--line-2); padding-left: 12px; }
.blk.P .body { border-left-color: var(--sP); } .blk.C .body { border-left-color: var(--sC); } .blk.B .body { border-left-color: var(--sB); } .blk.Z .body { border-left-color: var(--sZ); }
.blk .ttl { font-weight: 700; font-size: 16px; line-height: 1.3; }
.blk .sj { font-size: 12.5px; font-weight: 700; }
.blk.P .sj { color: var(--sP); } .blk.C .sj { color: var(--sC); } .blk.B .sj { color: var(--sB); } .blk.Z .sj { color: var(--sZ); }
.blk .ln { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 6px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.blk .ln em { font-style: normal; font-weight: 700; color: var(--ink-3); font-size: 13px; padding-top: 1px; }
.blk .act { display: grid; justify-items: center; gap: 8px; }
.blk.done .ttl, .blk.done .ln { opacity: .55; }
.blk.done .ttl { text-decoration: line-through; text-decoration-thickness: 2px; }
.daynotes { display: grid; gap: 6px; padding-top: 4px; }
.daynotes p { font-size: 14.5px; color: var(--ink-2); display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; }
.daynotes p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-top: 7px; }
.dtype { font-size: 12.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--sheet-2); color: var(--ink-2); }
.dtype.test, .dtype.minitest { background: var(--ink); color: var(--paper); }
.dtype.eve { background: var(--spark); color: #161c45; }
.dtype.rest { background: var(--ok-soft); color: var(--ok); }
.dtype.light, .dtype.recharge { background: var(--brand-soft); color: var(--brand); }
.week { display: grid; gap: 8px; }
.week h3 { color: var(--ink-3); font-size: 15px; }
.drow { border: 1px solid var(--line); background: var(--sheet); border-radius: 12px; overflow: hidden; }
.drow > button { width: 100%; border: 0; background: transparent; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; padding: 10px 12px; align-items: center; text-align: left; }
.drow .dn { display: grid; justify-items: center; line-height: 1; }
.drow .dn b { font-family: var(--display); font-size: 24px; }
.drow .dn span { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.drow .mid { display: grid; gap: 5px; min-width: 0; }
.drow .mid .t { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-weight: 700; }
.drow .sbar { display: flex; gap: 3px; height: 8px; }
.drow .sbar i { flex: 1; border-radius: 3px; max-width: 34px; }
.drow .sbar i.P { background: var(--sP); } .drow .sbar i.C { background: var(--sC); } .drow .sbar i.B { background: var(--sB); } .drow .sbar i.Z { background: var(--sZ); }
.drow .right { display: grid; justify-items: end; gap: 2px; font-size: 13px; color: var(--ink-3); }
.drow.today { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.drow .inner { padding: 0 12px 12px; }
.drow.locked > button { filter: blur(1.5px); opacity: .6; }
.lockbox { border: 1.5px solid var(--brand); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; background: var(--brand-soft); }
.progress { display: grid; gap: 6px; }
.progress .track i { background: var(--brand); }

/* ---------- timer ---------- */
.timer { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper); display: grid; grid-template-rows: auto 1fr auto; padding: calc(16px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
.timer .top-t { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.timer .mid-t { display: grid; place-items: center; align-content: center; gap: 14px; text-align: center; }
.timer .clock { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 22vw, 120px); line-height: 1; font-variant-numeric: tabular-nums; }
.timer .ring { width: min(72vw, 300px); aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.timer .ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.timer .ring circle { fill: none; stroke-width: 8; }
.timer .ring .bg { stroke: rgba(255, 255, 255, .14); }
.timer .ring .fg { stroke: var(--spark); stroke-linecap: round; }
.timer .btn { background: transparent; color: var(--paper); border-color: rgba(255, 255, 255, .35); }
.timer .btn.primary { background: var(--spark); border-color: var(--spark); color: #161c45; }
.timer .iconbtn { color: var(--paper); }
.timer .ttl-t { font-size: 18px; font-weight: 700; max-width: 30ch; }
.timer .sub-t { opacity: .75; font-size: 15px; max-width: 40ch; }
:root[data-theme="dark"] .timer, .timer { --paper: #f4f6fc; }

/* ---------- data / privacy ---------- */
.kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; font-size: 15px; }
.kv span:nth-child(even) { text-align: right; font-weight: 700; }
pre.json { background: var(--sheet-2); border-radius: 12px; padding: 12px; font-size: 12.5px; line-height: 1.45; overflow: auto; max-height: 340px; white-space: pre-wrap; word-break: break-word; margin: 0; }
.steps-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.confirm { background: var(--red-soft); border-radius: 12px; padding: 12px; display: grid; gap: 10px; color: var(--ink); }

/* ---------- sleep, study-style quiz, thakaan ---------- */
.switch { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 4px 0; text-align: left; font-weight: 700; color: var(--ink); min-height: 40px; }
.switch i { width: 44px; height: 26px; border-radius: 13px; background: var(--line-2); position: relative; flex: none; transition: background .15s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(10, 14, 40, .3); transition: transform .15s; }
.switch[aria-checked="true"] i { background: var(--brand); }
.switch[aria-checked="true"] i::after { transform: translateX(18px); }
@media (prefers-reduced-motion: reduce) { .switch i, .switch i::after { transition: none; } }
.shift { display: grid; gap: 10px; border-top: 1px dashed var(--line-2); padding-top: 12px; }
.ladder { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ladder li { display: grid; padding: 6px 10px; border-radius: 10px; background: var(--sheet-2); font-size: 12.5px; color: var(--ink-3); line-height: 1.25; }
.ladder li b { font-family: var(--display); font-size: 15px; color: var(--ink); }
.ladder li.goal { background: var(--brand-soft); }
.ladder li.goal b { color: var(--brand); }
.ladder li.more { align-content: center; background: none; padding: 6px 2px; }
.slotnote { font-size: 13.5px; color: var(--ink-3); margin: 4px 0 0; line-height: 1.35; }
.slotnote.warn, .slotnote.bad { color: var(--warn); }
.chtag.two { grid-template-columns: minmax(0, 1fr) auto; }
.quiz { display: grid; gap: 14px; padding-top: 4px; }
.qtext { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.3; }
.qopts { display: grid; gap: 8px; }
.qopts button { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; text-align: left; border: 1.5px solid var(--line-2); background: var(--sheet); border-radius: 12px; padding: 10px 12px; min-height: 52px; font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--ink); }
.qopts .ob { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink-3); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--ink-3); }
.qopts button[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); }
.qopts button[aria-checked="true"] .ob { background: var(--brand); border-color: var(--brand); color: transparent; }
.quizres .lead { font-size: 17px; font-weight: 600; line-height: 1.4; }
.tgrp { display: grid; }
.trow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.3; }
.tgrp .trow:last-child { border-bottom: 0; }
.freq { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.freq button { border: 0; background: var(--sheet); color: var(--ink-3); font-weight: 700; font-size: 13px; padding: 7px 9px; min-height: 36px; }
.freq button + button { border-left: 1.5px solid var(--line-2); }
.freq button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (max-width: 420px) { .trow { grid-template-columns: minmax(0, 1fr); gap: 6px; } .freq { justify-self: start; } }
.meter { display: grid; gap: 8px; background: var(--sheet-2); border-radius: 12px; padding: 10px 12px; }
.meter .bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.meter .bars i { height: 8px; border-radius: 4px; background: var(--line-2); }
.meter.low .bars i:nth-child(1) { background: var(--ok); }
.meter.medium .bars i:nth-child(-n+2) { background: #e9a400; }
.meter.high .bars i { background: var(--red); }
.meter p { font-size: 14.5px; }
.sign { display: inline-flex; align-items: baseline; gap: 2px; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 4px 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.sign.often { border-color: color-mix(in srgb, var(--red) 45%, var(--line-2)); }
.sign small { font-weight: 400; color: var(--ink-3); }
.sleepnum { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sleepnum b { font-family: var(--display); font-size: 34px; line-height: 1; }
.sleepnum span { color: var(--ink-3); font-size: 14.5px; }
.sleepcard h3 svg { width: 18px; height: 18px; }
.bedline { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 14.5px; color: var(--ink-2); background: var(--brand-soft); border-radius: 12px; padding: 10px 12px; }
.bedline svg { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; }

/* ---------- misc ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 95; background: var(--ink); color: var(--paper); padding: 11px 16px; border-radius: 12px; font-weight: 600; max-width: calc(100% - 32px); box-shadow: 0 8px 24px rgba(10, 14, 40, .3); }
.busy { position: fixed; inset: 0; z-index: 99; background: rgba(10, 14, 40, .5); display: grid; place-items: center; padding: 20px; }
.busy > div { background: var(--sheet); border-radius: 16px; padding: 18px 20px; display: grid; gap: 10px; justify-items: center; text-align: center; max-width: 320px; }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.5s; } }
.banner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--brand-soft); border-radius: 12px; padding: 10px 12px; font-size: 14.5px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; justify-content: center; color: var(--ink-3); padding-top: 6px; }
.foot-links a { color: var(--ink-3); }
.export-root { position: fixed; left: 0; top: 0; z-index: -1; width: 794px; pointer-events: none; opacity: 1; }
.measure { position: absolute; left: -30000px; top: 0; visibility: hidden; pointer-events: none; }

/* ================= A4 paper (fixed colours so the PDF looks the same in light and dark mode) ================= */
.pg { width: 794px; height: 1123px; background: #ffffff; color: #161c45; position: relative; overflow: hidden; font-family: "Mukta", Arial, sans-serif; font-size: 12.5px; line-height: 1.38; }
.pg * { box-sizing: border-box; }
.pg h1, .pg h2, .pg h3 { font-family: "Baloo 2", Arial, sans-serif; color: #161c45; margin: 0; }
.pg .pin { position: absolute; inset: 0; padding: 30px 36px 44px; display: flex; flex-direction: column; gap: 14px; }
.pg .pfoot { position: absolute; left: 36px; right: 36px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: #737a9c; }
.pg .pfoot .brandmini { display: flex; align-items: center; gap: 6px; font-weight: 700; color: #2742c7; }
.pg .pfoot svg { width: 14px; height: 14px; }
.pg .band { background: #2742c7; color: #fff; border-radius: 16px; padding: 18px 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.pg .band .who { display: grid; gap: 4px; }
.pg .band .logo { display: flex; align-items: center; gap: 8px; font-family: "Baloo 2", Arial, sans-serif; font-weight: 800; font-size: 15px; }
.pg .band .logo svg { width: 24px; height: 24px; }
.pg .band h1 { color: #fff; font-size: 30px; line-height: 1.05; }
.pg .band p { color: #dfe5ff; font-size: 12.5px; }
.pg .count { background: #ffe15a; color: #161c45; border-radius: 14px; padding: 10px 16px; text-align: center; min-width: 140px; display: grid; gap: 2px; }
.pg .count b { font-family: "Baloo 2", Arial, sans-serif; font-size: 44px; line-height: .95; }
.pg .count span { font-size: 12px; font-weight: 700; }
.pg .count i { font-style: normal; font-size: 11px; }
.pg .omrp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; border: 1.5px solid #dfe3f1; border-radius: 14px; padding: 14px; }
.pg .omrp .col { display: grid; gap: 7px; justify-items: center; }
.pg .omrp .dots { display: grid; grid-template-columns: repeat(9, 11px); gap: 4px; }
.pg .omrp .dots i { width: 11px; height: 11px; border-radius: 50%; border: 1.3px solid #c6cbe2; display: block; }
.pg .omrp .dots i.c { background: #161c45; border-color: #161c45; }
.pg .omrp .dots i.w { background: #e03131; border-color: #e03131; }
.pg .omrp .dots i.d { border-color: #8e94bf; background: linear-gradient(135deg, transparent 38%, #fff 38%, #fff 62%, transparent 62%), #8e94bf; }
.pg .omrp .cap { text-align: center; display: grid; gap: 1px; }
.pg .omrp .cap .nm { font-weight: 700; font-size: 12.5px; display: flex; gap: 5px; align-items: center; justify-content: center; }
.pg .omrp .cap b { font-family: "Baloo 2", Arial, sans-serif; font-size: 20px; line-height: 1; }
.pg .omrp .cap span { font-size: 10.5px; color: #737a9c; }
.pg .sdot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.pg .sdot.P { background: #6741d9; } .pg .sdot.C { background: #e8590c; } .pg .sdot.B { background: #2b8a3e; } .pg .sdot.Z { background: #c2255c; }
.pg .legend { font-size: 10.5px; color: #474e78; gap: 4px 12px; }
.pg .legend i { width: 9px; height: 9px; border-color: #c6cbe2; }
.pg .legend i.c { background: #161c45; border-color: #161c45; }
.pg .legend i.w { background: #e03131; border-color: #e03131; }
.pg .legend i.d { border-color: #8e94bf; background: linear-gradient(135deg, transparent 38%, #fff 38%, #fff 62%, transparent 62%), #8e94bf; }
.pg .cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pg .box { border: 1.5px solid #dfe3f1; border-radius: 14px; padding: 12px 14px; display: grid; gap: 7px; align-content: start; }
.pg .box h3 { font-size: 15px; }
.pg .lossr { display: grid; grid-template-columns: 150px minmax(0, 1fr) 30px; gap: 8px; align-items: center; font-size: 11.5px; }
.pg .lossr b { font-family: "Baloo 2", Arial, sans-serif; color: #e03131; text-align: right; font-size: 13px; }
.pg .lossr .bar { height: 7px; border-radius: 4px; background: #eef1fa; overflow: hidden; }
.pg .lossr .bar i { display: block; height: 100%; background: #e03131; border-radius: 4px; }
.pg ul.pl { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.pg ul.pl li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 6px; font-size: 11.8px; }
.pg ul.pl li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; background: #2b8a3e; }
.pg ul.pl.focus li::before { background: transparent; border: 2px solid #e03131; width: 8px; height: 8px; }
.pg .tgt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; border: 1.5px solid #dfe3f1; border-radius: 14px; padding: 10px 14px; }
.pg .tgt .n { font-family: "Baloo 2", Arial, sans-serif; font-size: 26px; font-weight: 800; line-height: 1; }
.pg .tgt .l { font-size: 10.5px; color: #737a9c; }
.pg .tgt .track { height: 9px; border-radius: 5px; background: #eef1fa; position: relative; overflow: hidden; }
.pg .tgt .track i { position: absolute; left: 0; top: 0; bottom: 0; background: #161c45; border-radius: 5px; }
.pg .tgt .track em { position: absolute; top: 0; bottom: 0; background: #ffe15a; }
.pg .psplit { display: flex; height: 26px; border-radius: 8px; overflow: hidden; gap: 2px; }
.pg .psplit div { display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 11px; white-space: nowrap; overflow: hidden; }
.pg .psplit .P { background: #6741d9; } .pg .psplit .C { background: #e8590c; } .pg .psplit .B { background: #2b8a3e; } .pg .psplit .Z { background: #c2255c; }
.pg .chipsp { display: flex; flex-wrap: wrap; gap: 6px; }
.pg .chipsp span { border: 1.3px solid #dfe3f1; border-radius: 999px; padding: 3px 10px; font-size: 11px; }
.pg .phead { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 3px solid #2742c7; }
.pg .phead h2 { font-size: 21px; }
.pg .phead span { font-size: 11.5px; color: #474e78; }
.pg .scardp { border: 1.5px solid #dfe3f1; border-radius: 14px; padding: 12px 14px; display: grid; gap: 6px; align-content: start; border-top: 5px solid #c6cbe2; }
.pg .scardp.P { border-top-color: #6741d9; } .pg .scardp.C { border-top-color: #e8590c; } .pg .scardp.B { border-top-color: #2b8a3e; } .pg .scardp.Z { border-top-color: #c2255c; }
.pg .scardp header { display: flex; justify-content: space-between; align-items: baseline; }
.pg .scardp h3 { font-size: 16px; }
.pg .scardp .lab { font-size: 10.5px; font-weight: 700; color: #737a9c; }
.pg .scardp ul { margin: 0; padding-left: 15px; display: grid; gap: 3px; font-size: 11.6px; }
.pg .scardp .daily { background: #eef1fa; border-radius: 8px; padding: 6px 8px; font-size: 11.2px; }
.pg .hab { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 6px; font-size: 11.4px; line-height: 1.35; }
.pg .hab::before { content: ""; width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; background: #2742c7; }
.pg .hab.warn::before { background: #e03131; }
.pg .dcols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; flex: 1; min-height: 0; }
.pg .dcol { display: grid; gap: 10px; align-content: start; }
.pday { border: 1.5px solid #dfe3f1; border-radius: 12px; overflow: hidden; break-inside: avoid; background: #fff; width: 355px; font-family: "Mukta", Arial, sans-serif; font-size: 12.5px; line-height: 1.38; color: #161c45; }
.pday .dh { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #eef1fa; }
.pday .dh b { font-family: "Baloo 2", Arial, sans-serif; font-size: 18px; line-height: 1; }
.pday .dh span { font-weight: 700; font-size: 11.5px; }
.pday .dh i { margin-left: auto; font-style: normal; font-size: 10.5px; color: #474e78; }
.pday .dh .ty { font-size: 9.5px; font-weight: 700; border-radius: 999px; padding: 1px 7px; background: #fff; color: #474e78; }
.pday.test .dh, .pday.minitest .dh { background: #161c45; color: #fff; }
.pday.test .dh i, .pday.minitest .dh i { color: #dfe5ff; }
.pday.eve .dh { background: #ffe15a; }
.pday.rest .dh { background: #e2f5e8; }
.pday.light .dh, .pday.recharge .dh { background: #e4e9ff; }
.pday .pb { display: grid; grid-template-columns: 54px 1fr 16px; gap: 2px 8px; padding: 5px 10px; border-top: 1px dashed #dfe3f1; align-items: start; }
.pday .pb:first-of-type { border-top: 0; }
.pday .pb .t { font-family: "Baloo 2", Arial, sans-serif; font-weight: 700; font-size: 11px; line-height: 1.2; padding-top: 1px; }
.pday .pb .x { display: grid; gap: 1px; min-width: 0; padding-left: 7px; border-left: 3px solid #c6cbe2; }
.pday .pb.P .x { border-left-color: #6741d9; } .pday .pb.C .x { border-left-color: #e8590c; } .pday .pb.B .x { border-left-color: #2b8a3e; } .pday .pb.Z .x { border-left-color: #c2255c; }
.pday .pb .x b { font-size: 11.3px; line-height: 1.25; }
.pday .pb .x span { font-size: 10.2px; line-height: 1.3; color: #474e78; }
.pday .pb .o { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #474e78; margin-top: 2px; }
.pday .pn { font-size: 10px; color: #474e78; padding: 3px 10px 6px; line-height: 1.3; }
.pday .pn + .pn { padding-top: 0; }
.pg .trk { border-collapse: collapse; width: 100%; font-size: 10.5px; }
.pg .trk th, .pg .trk td { border: 1px solid #dfe3f1; padding: 4px 2px; text-align: center; }
.pg .trk th { background: #eef1fa; font-weight: 700; }
.pg .trk td:first-child, .pg .trk th:first-child { text-align: left; padding-left: 6px; width: 150px; }
.pg .acts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px 16px; }
.pg .acts div { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; border-bottom: 1px dashed #dfe3f1; padding: 3px 0; }
.pg .acts b { font-family: "Baloo 2", Arial, sans-serif; }
.pg .gd { border-collapse: collapse; width: 100%; font-size: 11px; }
.pg .gd th, .pg .gd td { border: 1px solid #dfe3f1; padding: 0 6px; height: 27px; text-align: left; }
.pg .gd th { background: #eef1fa; height: 24px; font-weight: 700; }
.pg .trk .o { display: inline-block; width: 11px; height: 11px; border: 1.3px solid #737a9c; border-radius: 50%; }
.pg .vow { border: 2px solid #2742c7; border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.pg .sign { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 18px; }
.pg .sign div { border-top: 1.3px solid #737a9c; padding-top: 4px; font-size: 10.5px; color: #474e78; }
