:root {
  --navy-deep: #0b1f3a;
  --navy: #12294d;
  --navy-light: #1c3a66;
  --cyan: #29b6f6;
  --cyan-bright: #5fd4ff;
  --green: #2ecc71;
  --green-dark: #1e9e57;
  --amber: #f5a623;
  --red: #e74c3c;
  --gold: #f4c430;
  --ink: #0b1f3a;
  --paper: #f4f7fb;
  --card: #ffffff;
  --muted: #8592a6;
  --row-blue: #dbeeff;
  --row-yellow: #fff6d8;
  --row-mint: #dcf6e6;
  --row-lav: #ece3ff;
  --row-pink: #ffe1ea;
  --radius: 20px;
  --radius-sm: 14px;
  --tap: 64px;
  /* clean-dashboard accent (headings/icons) — brighter and lighter than --navy-deep,
     which is reserved for the hero banner background only */
  --blue: #1d4fd8;
  --blue-soft: #eef3ff;
  --text: #1f2937;
  --border-soft: #e3e8f0;
  --card-shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--paper);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  overscroll-behavior: none;
  user-select: none;
}

body {
  overflow-x: hidden;
}

button {
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

.hidden { display: none !important; }

/* ── header ───────────────────────────────────────────────────────── */

.top {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-light));
  color: #fff;
  padding: 22px 20px 26px;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 6px 20px rgba(11,31,58,0.25);
}

.top-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700; color: var(--navy-deep);
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,0.6);
}

.who { flex: 1; min-width: 0; }
.who .name { font-size: 26px; font-weight: 800; line-height: 1.1; }
.who .sub { font-size: 14px; opacity: 0.85; margin-top: 2px; }

.clock { text-align: right; }
.clock .time { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.clock .date { font-size: 12px; opacity: 0.85; }

.stat-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.stat-chip {
  flex: 1;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
}
.stat-chip .val { font-size: 22px; font-weight: 800; }
.stat-chip .lbl { font-size: 11px; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.04em; }

/* ── sections ─────────────────────────────────────────────────────── */

.content { padding: 18px 14px 120px; max-width: 720px; margin: 0 auto; }

.section { margin-top: 22px; }

.section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 800; letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 10px;
  padding-left: 4px;
}
.section-title .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }

.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(11,31,58,0.08); }

/* task row */

.task {
  display: flex; align-items: center; gap: 14px;
  min-height: var(--tap);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(11,31,58,0.06);
  transition: background 0.15s ease;
}
.task:last-child { border-bottom: none; }
.task:active { filter: brightness(0.96); }

.task .time {
  width: 62px; flex-shrink: 0;
  font-size: 13px; font-weight: 700; color: var(--muted);
}
.task .title { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.25; }
.task .pts { font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 2px; }

.check {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2.5px solid #c7d3e0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px; color: transparent;
  transition: all 0.15s ease;
}

.task.done .check { background: var(--green); border-color: var(--green); color: #fff; }
.task.done .title { text-decoration: line-through; opacity: 0.55; }

.task.current { background: var(--row-blue); }
.task.missed { background: var(--row-pink); }
.task.missed .check { border-color: var(--red); }
.task.missed .time { color: var(--red); }

.task-badge {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  padding: 3px 8px; border-radius: 20px;
  background: var(--amber); color: #fff; margin-left: 6px;
}

/* responsibilities grid */

.chore-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chore {
  background: var(--card); border-radius: var(--radius-sm);
  padding: 14px 12px; min-height: var(--tap);
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 2px 8px rgba(11,31,58,0.07);
}
.chore .title { font-size: 14px; font-weight: 700; flex: 1; line-height: 1.2; }
.chore.done { background: var(--row-mint); }
.chore.done .title { text-decoration: line-through; opacity: 0.6; }
.chore.extra { background: var(--row-lav); }

/* goals */

.goal {
  display: flex; align-items: center; gap: 14px;
  min-height: var(--tap);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(11,31,58,0.06);
}
.goal:last-child { border-bottom: none; }
.goal .title { flex: 1; font-size: 15px; font-weight: 600; }
.goal.done .title { text-decoration: line-through; opacity: 0.55; }
.goal.done .check { background: var(--gold); border-color: var(--gold); color: #fff; }

/* floating rewards button */

.fab {
  position: fixed; right: 18px; bottom: 18px;
  background: var(--gold); color: var(--navy-deep);
  border: none; border-radius: 30px;
  padding: 16px 22px; font-size: 16px; font-weight: 800;
  box-shadow: 0 8px 20px rgba(244,196,48,0.5);
  display: flex; align-items: center; gap: 8px;
  z-index: 40;
}

/* modal */

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(11,31,58,0.55);
  display: flex; align-items: flex-end; justify-content: center;
  z-index: 100;
}
.modal {
  background: var(--card); width: 100%; max-width: 720px;
  border-radius: 24px 24px 0 0;
  padding: 24px 20px 32px;
  max-height: 88vh; overflow-y: auto;
}
.modal h2 { margin: 0 0 4px; font-size: 20px; color: var(--blue); }
.modal p.sub { margin: 0 0 18px; color: var(--muted); font-size: 14px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.field input[type=text], .field textarea {
  width: 100%; border: 2px solid #dfe6ee; border-radius: 12px;
  padding: 12px 14px; font-size: 15px; font-family: inherit;
}
.field textarea { min-height: 70px; resize: vertical; }

.stars { display: flex; gap: 8px; font-size: 30px; }
.stars span { opacity: 0.3; }
.stars span.on { opacity: 1; }

.btn-row { display: flex; gap: 10px; margin-top: 8px; }
.btn {
  flex: 1; border: none; border-radius: 14px; padding: 16px;
  font-size: 16px; font-weight: 800; min-height: var(--tap);
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-ghost { background: #f1f3f7; color: var(--text); }

.reward-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; border-radius: 14px; background: #f7f9fc; margin-bottom: 10px;
}
.reward-item .title { flex: 1; font-weight: 700; font-size: 15px; }
.reward-item .cost { font-weight: 800; color: var(--blue); font-size: 14px; }
.reward-item button {
  background: var(--green); color: #fff; border: none; border-radius: 10px;
  padding: 10px 14px; font-weight: 800; font-size: 13px;
}
.reward-item button:disabled { background: #c7d3e0; }

.toast {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  background: var(--navy-deep); color: #fff; padding: 12px 20px;
  border-radius: 30px; font-weight: 700; font-size: 14px;
  z-index: 200; box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  animation: toast-in 0.2s ease;
}
@keyframes toast-in { from { opacity:0; transform: translate(-50%,-10px);} to {opacity:1; transform: translate(-50%,0);} }

@media (min-width: 900px) {
  .content { max-width: 620px; }
}

/* ── hero header (redesigned kiosk) ──────────────────────────────────── */

.hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-light));
  color: #fff;
  padding: 22px 20px 24px;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 6px 20px rgba(11,31,58,0.25);
}
.hero-top { display: flex; align-items: center; gap: 14px; }
.hero-top .who { flex: 1; min-width: 0; }
.hero-top .name { font-size: 24px; font-weight: 800; line-height: 1.1; }
.hero-top .quote { font-size: 12.5px; opacity: 0.85; margin-top: 4px; font-style: italic; line-height: 1.3; }
.hero-date { text-align: right; font-size: 12px; opacity: 0.85; }
.hero-progress { margin-top: 16px; }
.hero-progress .row { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; margin-bottom: 6px; opacity: 0.9; }
.hero-progress .bar { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.18); overflow: hidden; }
.hero-progress .bar .fill { height: 100%; background: var(--green); border-radius: 6px; transition: width 0.3s ease; }

/* ── panel header (title + action button, used across sections) ────────── */

.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px; padding-left: 4px; padding-right: 2px;
}
.panel-head .lbl {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--navy-deep);
}
.panel-head .lbl .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.panel-head .act {
  border: none; background: #eef2f7; color: var(--navy-deep);
  font-size: 12px; font-weight: 800; padding: 7px 12px; border-radius: 20px;
}

/* ── date nav ─────────────────────────────────────────────────────────── */

.datenav {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 12px;
}
.datenav button {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: #eef2f7; color: var(--navy-deep); font-size: 18px; font-weight: 800;
}
.datenav button:disabled { opacity: 0.35; }
.datenav .label { font-size: 14px; font-weight: 700; color: var(--navy-deep); min-width: 140px; text-align: center; }

/* ── ad-hoc task row + add-task affordance ───────────────────────────── */

.addtask-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; color: var(--cyan); font-weight: 700; font-size: 14px;
  border-top: 1px dashed rgba(11,31,58,0.12);
}
.addtask-row .plus {
  width: 28px; height: 28px; border-radius: 50%; background: var(--cyan);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}

/* ── goal progress bars ──────────────────────────────────────────────── */

.goal-progress { margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.goal-progress .bar { flex: 1; height: 8px; border-radius: 6px; background: #e8edf3; overflow: hidden; }
.goal-progress .bar .fill { height: 100%; background: var(--green); border-radius: 6px; }
.goal-progress .frac { font-size: 12px; font-weight: 800; color: var(--muted); min-width: 34px; text-align: right; }
.goal-deadline { font-size: 11px; color: var(--muted); margin-top: 2px; }
.goal-deadline.overdue { color: var(--red); font-weight: 700; }
.goal-stepper { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.goal-stepper button {
  width: 34px; height: 34px; border-radius: 50%; border: none; flex-shrink: 0;
  background: var(--row-lav); color: var(--navy-deep); font-size: 16px; font-weight: 700;
}
/* percent-goal buttons hold longer text ("−10%") — give them a pill instead of forcing
   it into the 34px circle meant for the counter goal's single-character +/− buttons */
.goal-stepper button[data-d] {
  width: auto; height: auto; border-radius: 20px; padding: 10px 18px; font-size: 13.5px;
}

/* ── screen time panel ───────────────────────────────────────────────── */

.st-display { text-align: center; padding: 6px 0 14px; }
.st-time { font-size: 38px; font-weight: 800; color: var(--navy-deep); font-variant-numeric: tabular-nums; }
.st-sub { font-size: 12px; color: var(--muted); font-weight: 700; }
.st-bar { height: 12px; border-radius: 8px; background: #e8edf3; overflow: hidden; margin: 10px 0 4px; }
.st-bar .fill { height: 100%; border-radius: 8px; background: var(--green); transition: width 0.3s ease; }
.st-bar .fill.warn { background: var(--amber); }
.st-bar .fill.empty { background: var(--red); }
.st-controls { display: flex; justify-content: center; margin-top: 12px; }
.st-controls button {
  border: none; border-radius: 30px; padding: 14px 34px; font-size: 16px; font-weight: 800;
  min-height: var(--tap);
}
.st-controls button.start { background: var(--green); color: #fff; }
.st-controls button.pause { background: var(--amber); color: #fff; }
.icon-row { display: flex; justify-content: space-around; margin: 12px 0; }
.icon-row .ic { text-align: center; }
.icon-row .ic .badge {
  width: 36px; height: 36px; border-radius: 10px; background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center; margin: 0 auto;
  font-size: 17px;
}
.icon-row .ic div.lbl { font-size: 9.5px; font-weight: 600; margin-top: 5px; color: var(--muted); }
.rules-list { font-size: 12px; color: var(--text); }
.rules-list div { display: flex; gap: 7px; align-items: flex-start; padding: 3px 0; font-weight: 400; }

/* ── PIN pad (family hub kid selection, parent gate) ─────────────────── */

.pinpad-dots { display: flex; justify-content: center; gap: 12px; margin: 18px 0; }
.pinpad-dots span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #c7d3e0; }
.pinpad-dots span.filled { background: var(--navy-deep); border-color: var(--navy-deep); }
.pinpad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 280px; margin: 0 auto; }
.pinpad-grid button {
  aspect-ratio: 1; border-radius: 50%; border: none; background: #eef2f7;
  font-size: 22px; font-weight: 800; color: var(--navy-deep);
}
.pinpad-grid button.wide { grid-column: span 1; font-size: 14px; }

/* ── kiosk v3: landscape 3-column dashboard (clean/light polish) ──────── */

.k-banner {
  display: flex; align-items: stretch; gap: 18px;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy-light) 60%, #2c5aa0 100%);
  color: #fff; padding: 18px 20px; border-radius: 0 0 22px 22px;
}
.k-banner-photo {
  width: 116px; height: 116px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(160deg, var(--cyan), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 700; color: #fff;
}
.k-banner-title { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.k-banner-title h1 { margin: 0; font-size: clamp(22px, 3vw, 36px); line-height: 1.02; text-transform: uppercase; font-weight: 800; letter-spacing: 0.005em; }
.k-banner-title h1 .accent { color: var(--cyan-bright); display: block; }
.k-banner-title .sub { margin-top: 6px; font-size: 12.5px; opacity: 0.8; max-width: 420px; font-weight: 400; }
.k-banner-bars { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; max-width: 340px; }
.k-banner-bars div { height: 6px; border-radius: 3px; background: var(--cyan); opacity: 0.85; }
.k-banner-bars div:nth-child(2) { width: 74%; }
.k-banner-right { display: flex; gap: 10px; flex-shrink: 0; }
.k-info-card { background: #fff; color: var(--text); border-radius: 14px; padding: 12px 14px; width: 200px; box-shadow: var(--card-shadow); }
.k-info-card .head { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12.5px; color: var(--blue); }
.k-info-card .quote { font-style: italic; font-size: 12px; margin-top: 7px; line-height: 1.35; color: var(--text); font-weight: 400; }
.k-info-card .attrib { text-align: right; font-size: 11px; color: var(--muted); margin-top: 5px; font-style: italic; }
.k-info-card .sub2 { font-size: 11px; color: var(--muted); margin-top: 1px; }
.k-info-card .bar { height: 8px; border-radius: 5px; background: #eef1f6; margin-top: 10px; overflow: hidden; }
.k-info-card .bar .fill { height: 100%; background: var(--green); border-radius: 5px; transition: width 0.3s ease; }
.k-info-card .frac { text-align: center; font-weight: 700; font-size: 12px; margin-top: 7px; color: var(--text); }

.k-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; padding: 16px; align-items: start; }
.k-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.k-panel { background: #fff; border-radius: 16px; box-shadow: var(--card-shadow); border: 1px solid var(--border-soft); overflow: hidden; }
.k-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 14px 7px; }
.k-panel-head .t { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 15px; color: var(--blue); white-space: nowrap; }
.k-act-pill { border: 1.5px solid var(--border-soft); background: #fff; color: var(--text); font-weight: 600; font-size: 11.5px; padding: 6px 12px; border-radius: 20px; white-space: nowrap; }
.k-datenav-pill { display: flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid var(--border-soft); border-radius: 20px; padding: 5px 8px; font-size: 11.5px; font-weight: 600; color: var(--text); white-space: nowrap; }
.k-datenav-pill button { border: none; background: none; font-size: 14px; font-weight: 700; color: var(--blue); width: 18px; padding: 0; }
.k-datenav-pill button:disabled { opacity: 0.3; }

.k-row { display: flex; align-items: center; gap: 10px; padding: 7px 14px; border-bottom: 1px solid var(--border-soft); }
.k-row:last-child { border-bottom: none; }
.k-row .rowbar { width: 4px; align-self: stretch; border-radius: 3px; flex-shrink: 0; opacity: 0.9; }
.k-row .ic { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.k-row .time { font-size: 10px; font-weight: 700; color: var(--muted); width: 54px; flex-shrink: 0; }
.k-row .title { flex: 1; font-weight: 500; font-size: 13px; min-width: 0; color: var(--text); }
.k-row .pts2 { font-size: 10px; color: var(--muted); font-weight: 600; margin-top: 1px; }
.k-row .box { width: 21px; height: 21px; border-radius: 6px; border: 1.5px solid #d5dbe4; display: flex; align-items: center; justify-content: center; color: transparent; flex-shrink: 0; font-size: 12px; }
.k-row.done .box { background: var(--green); border-color: var(--green); color: #fff; }
.k-row.done .title { color: var(--muted); text-decoration: line-through; }
.k-row.missed .rowbar { background: var(--red) !important; }
.k-row.missed .box { border-color: var(--red); }
.k-row.current { background: var(--blue-soft); }

.k-goal-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border-soft); }
.k-goal-row:last-child { border-bottom: none; }
.k-goal-row .box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #d5dbe4; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: transparent; font-size: 11px; }
.k-goal-row.done .box { background: var(--gold); border-color: var(--gold); color: #fff; }
.k-goal-row .left { flex: 1; min-width: 0; }
.k-goal-row .title { font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--text); }
.k-goal-row .deadline { font-size: 10px; color: var(--muted); margin-top: 2px; }
.k-goal-row .deadline.overdue { color: var(--red); font-weight: 600; }
.k-goal-row .barfrac { display: flex; align-items: center; gap: 6px; flex-shrink: 0; width: 92px; }
.k-goal-row .barfrac .track { flex: 1; height: 7px; border-radius: 5px; background: #eef1f6; overflow: hidden; }
.k-goal-row .barfrac .fill { height: 100%; background: var(--green); border-radius: 5px; }
.k-goal-row .barfrac .val { font-size: 11px; font-weight: 700; color: var(--text); min-width: 30px; text-align: right; flex-shrink: 0; }

.k-resp-row { display: flex; align-items: center; gap: 9px; padding: 7px 14px; border-bottom: 1px solid var(--border-soft); }
.k-resp-row:last-child { border-bottom: none; }
.k-resp-row .box { width: 19px; height: 19px; border-radius: 5px; border: 1.5px solid #d5dbe4; display: flex; align-items: center; justify-content: center; color: transparent; flex-shrink: 0; font-size: 11px; }
.k-resp-row.done .box { background: var(--green); border-color: var(--green); color: #fff; }
.k-resp-row .title { font-size: 12.5px; font-weight: 500; color: var(--text); }
.k-resp-row.done .title { color: var(--muted); text-decoration: line-through; }

.k-footer-quote {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-light));
  color: #fff; border-radius: 16px; padding: 18px; text-align: center;
  font-style: italic; font-weight: 600; font-size: 13.5px; line-height: 1.4;
}

.k-st-panel { padding: 12px 14px; text-align: center; }
.k-st-time { font-size: 26px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.k-st-sub { font-size: 11px; color: var(--muted); font-weight: 500; margin-bottom: 5px; }

.k-addtask-inline { display: flex; align-items: center; gap: 8px; }

/* reading books + quiz */
.k-book-tag { flex-shrink: 0; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 20px; background: var(--blue-soft); color: var(--blue); }
.k-book-tag.reading { background: #fff6d8; color: #9a6b00; }
.k-book-tag.quiz_ready { background: var(--blue); color: #fff; }
.k-book-tag.completed { background: #e3f8ec; color: var(--green-dark); }

.cam-video { display: block; width: 100%; max-height: 48vh; object-fit: cover; border-radius: 14px; background: #0b1f3a; }
.ab-preview { display: block; max-width: 100%; max-height: 170px; border-radius: 12px; margin: 0 auto 8px; }
.quiz-progress { height: 6px; border-radius: 4px; background: #eef1f6; overflow: hidden; }
.quiz-progress > div { height: 100%; background: var(--green); border-radius: 4px; transition: width 0.25s ease; }
.quiz-opt {
  display: block; width: 100%; text-align: left; margin-bottom: 10px;
  min-height: 56px; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--border-soft); background: #fff;
  font-size: 16px; font-weight: 500; color: var(--text);
}
.quiz-opt.sel { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.btn:disabled { opacity: 0.45; }
.quiz-review { border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-size: 14px; }
.quiz-review.ok { background: #eafaf1; }
.quiz-review.bad { background: #fdeeee; }
.quiz-review .ans { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--green-dark); }

@media (max-width: 1080px) {
  .k-grid { grid-template-columns: 1fr; }
  .k-banner { flex-direction: column; }
  .k-banner-right { flex-direction: column; }
  .k-info-card { width: auto; }
}
