:root {
  --green:      #1c6b1e;
  --green-dim:  #e8f5e9;
  --green-dark: #155117;
  --orange:     #e07b28;
  --orange-dim: #fff3e0;
  --red:        #c0392b;
  --red-dim:    #fdecea;
  --blue:       #1a73e8;
  --blue-dim:   #e8f0fe;
  --amber:      #f9a825;
  --amber-dim:  #fffde7;
  --bg:         #f7f8f9;
  --surface:    #ffffff;
  --border:     #e0e0e0;
  --border2:    #f0f0f0;
  --text:       #1c1c1c;
  --text-dim:   #666666;
  --text-mute:  #aaaaaa;
  --radius-sm:  8px;
  --radius:     10px;
  --radius-lg:  12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ── LAYOUT ── */
.app-shell { display: flex; min-height: 100vh; }

#sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--green);
  color: #fff;
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; height: 100vh;
  z-index: 100;
}
.sb-header { padding: 18px 16px 14px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.sb-logo { font-size: 20px; font-weight: 900; color: #fff; display: flex; align-items: center; gap: 8px; }
.sb-logo-icon { width: 28px; height: 28px; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; color: var(--green); flex-shrink: 0; }
.sb-subtitle { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.sb-nav { flex: 1; padding: 10px 0; overflow-y: auto; }
.sb-section { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.5); padding: 12px 16px 4px; }
.sb-item { display: flex; align-items: center; gap: 10px; padding: 9px 16px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.85); cursor: pointer; border: none; background: none; width: 100%; text-align: left; transition: background 0.1s; }
.sb-item:hover { background: rgba(255,255,255,0.1); }
.sb-item.active { background: rgba(255,255,255,0.2); color: #fff; }
.sb-streak { margin: 10px 12px 16px; background: rgba(255,255,255,0.1); border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.sb-streak-num { font-size: 20px; font-weight: 900; color: #fff; line-height: 1; }
.sb-streak-text { font-size: 12px; color: rgba(255,255,255,0.8); }

.main-area { flex: 1; margin-left: 220px; display: flex; flex-direction: column; min-height: 100vh; }

.topbar {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 0 24px; height: 52px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.topbar-title { font-size: 16px; font-weight: 700; color: var(--text); }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--green-dim); border: 2px solid var(--green); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--green); }

.screen { display: none; }
.screen.active { display: flex; flex-direction: column; flex: 1; }

.content {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px;
  max-width: 700px;
  width: 100%;
}

/* ── BUTTONS ── */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px 20px;
  border-radius: var(--radius); font-family: 'Lato', sans-serif;
  font-size: 15px; font-weight: 700; cursor: pointer; border: none;
  transition: transform 0.1s, opacity 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--green-dark); }
.btn-secondary { background: #fff; color: var(--text); border: 2px solid var(--border); }
.btn-secondary:hover:not(:disabled) { border-color: #aaa; }
.btn-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; color: var(--text-dim);
  font-size: 14px; font-weight: 700; cursor: pointer; padding: 0;
  transition: color 0.15s;
}
.btn-back:hover { color: var(--text); }
.btn-back svg { width: 16px; height: 16px; }
.btn-icon {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-dim); transition: background 0.15s;
}
.btn-icon:hover { background: var(--bg); color: var(--text); }

/* ── CARDS ── */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px;
}

.sec-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--text-mute);
  margin-bottom: 10px; margin-top: 4px;
}

/* ── OP PILLS ── */
.op-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 16px 16px; }
.op-pill {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 4px; border-radius: var(--radius-sm);
  border: 2px solid var(--border); background: #fff;
  color: var(--text-dim); cursor: pointer; font-size: 11px; font-weight: 700;
  transition: all 0.15s; position: relative; user-select: none;
}
.op-pill .op-symbol { font-size: 18px; font-weight: 900; }
.op-pill:hover { border-color: var(--green); color: var(--green); }
.op-pill.selected { background: var(--green-dim); border-color: var(--green); color: var(--green-dark); }
.op-pill .check-dot { position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: none; }
.op-pill.selected .check-dot { display: block; }

/* ── ACCORDION ── */
.op-settings-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.op-accordion { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s; }
.op-accordion.open { border-color: var(--green); }
.op-accordion-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; cursor: pointer; user-select: none; transition: background 0.15s; }
.op-accordion-header:hover { background: var(--bg); }
.op-accordion-left { display: flex; align-items: center; gap: 12px; }
.op-accordion-icon { width: 34px; height: 34px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: var(--green-dim); border: 1px solid rgba(28,107,30,0.2); font-size: 16px; font-weight: 900; color: var(--green); flex-shrink: 0; }
.op-accordion-name { font-size: 14px; font-weight: 700; color: var(--text); }
.op-accordion-hint { font-size: 11px; color: var(--text-dim); margin-top: 1px; }
.op-accordion-chevron { color: var(--text-mute); transition: transform 0.25s; flex-shrink: 0; }
.op-accordion.open .op-accordion-chevron { transform: rotate(180deg); color: var(--green); }
.op-accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.op-accordion.open .op-accordion-body { max-height: 300px; }
.op-accordion-inner { border-top: 1px solid var(--border2); padding: 4px 0; }

/* ── STEPPERS ── */
.stepper-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border2); }
.stepper-row:last-child { border-bottom: none; }
.stepper-label { font-size: 14px; color: var(--text); font-weight: 700; }
.stepper-sublabel { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.stepper-ctrl { display: flex; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.stepper-btn { width: 32px; height: 30px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--text-dim); font-size: 16px; transition: background 0.1s; }
.stepper-btn:hover:not(:disabled) { background: var(--bg); color: var(--text); }
.stepper-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper-val { min-width: 40px; text-align: center; font-size: 14px; font-weight: 700; color: var(--text); padding: 0 4px; }
.stepper-divider { width: 1px; height: 18px; background: var(--border); }

/* ── CURRICULUM BUTTONS ── */
.curr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 0 4px; margin-bottom: 16px; }
.curr-btn {
  padding: 18px 14px 14px; border-radius: var(--radius);
  border: 2px solid var(--border); background: #fff;
  cursor: pointer; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: all 0.15s; color: var(--text);
}
.curr-btn .curr-icon { font-size: 24px; margin-bottom: 4px; }
.curr-btn .curr-name { font-size: 15px; font-weight: 700; }
.curr-btn .curr-sub { font-size: 11px; color: var(--text-dim); }
.curr-btn:hover { border-color: var(--green); }
.curr-btn.selected { border-color: var(--green); background: var(--green-dim); }
.curr-btn.selected .curr-sub { color: var(--green-dark); }

/* ── LEVEL LIST ── */
.level-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--border2); cursor: pointer; transition: background 0.12s; }
.level-item:last-child { border-bottom: none; }
.level-item:hover { background: var(--bg); }
.level-badge { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: var(--bg); border: 2px solid var(--border); color: var(--text-dim); transition: all 0.15s; }
.level-item.selected .level-badge { background: var(--green-dim); border-color: var(--green); color: var(--green-dark); }
.level-item.complete .level-badge { background: var(--green-dim); border-color: var(--green); color: var(--green-dark); }
.level-info { flex: 1; }
.level-title { font-size: 14px; font-weight: 700; color: var(--text); }
.level-desc { font-size: 11px; color: var(--text-dim); margin-top: 2px; line-height: 1.4; }
.level-check { color: var(--green); font-size: 18px; }
.level-expand { display: none; padding: 10px 16px 14px 66px; border-bottom: 1px solid var(--border2); background: #fafafa; }
.level-expand.open { display: block; }
.level-expand .btn { font-size: 14px; padding: 10px; }

/* ── PROBLEM CARD ── */
.problem-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 20px;
  margin-bottom: 16px; position: relative; overflow: hidden;
}
.problem-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--green); }
.bead-row { display: flex; gap: 5px; margin-bottom: 18px; }
.bead { width: 10px; height: 10px; border-radius: 50%; background: var(--green); opacity: 0.2; }
.bead.active { opacity: 1; }

/* ── EQUATIONS ── */
.eq-inline { font-size: 42px; font-weight: 900; color: var(--text); text-align: center; line-height: 1; letter-spacing: -1px; }
.eq-inline .eq-sym { color: var(--text-dim); }
.eq-vertical { text-align: right; margin-bottom: 8px; }
.eq-vertical .eq-vline { font-size: 34px; font-weight: 900; color: var(--text); display: flex; justify-content: flex-end; align-items: baseline; line-height: 1.25; }
.eq-vertical .eq-vline .num { letter-spacing: -1px; }
.eq-rule { border-top: 2px solid #ccc; margin: 6px 0 4px; }
.flash-number-display { font-size: 56px; font-weight: 900; color: var(--text); text-align: center; padding: 36px 0; letter-spacing: -1px; }

/* ── ANSWER INPUT ── */
.answer-input {
  width: 100%; background: var(--bg); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 14px;
  font-size: 34px; font-weight: 900; color: var(--text);
  text-align: center; outline: none; transition: border-color 0.2s;
  -moz-appearance: textfield; margin-bottom: 12px; font-family: 'Lato', sans-serif;
}
.answer-input::-webkit-outer-spin-button,
.answer-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.answer-input:focus { border-color: var(--green); background: #fff; }

/* ── TIMER ── */
.timer-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 14px;
  font-size: 15px; font-weight: 700; color: var(--text);
  transition: background 0.3s, color 0.3s;
}
.timer-pill.urgent { background: var(--red); border-color: var(--red); color: #fff; }

/* ── PROGRESS BAR ── */
.prog-bar { height: 5px; background: var(--border2); border-radius: 99px; margin-bottom: 16px; overflow: hidden; }
.prog-fill { height: 100%; border-radius: 99px; background: var(--green); transition: width 0.4s ease; }

/* ── TEST HEADER ── */
.test-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.test-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--green-dim); border: 1px solid rgba(28,107,30,0.25); border-radius: 20px; padding: 5px 12px; font-size: 12px; font-weight: 700; color: var(--green-dark); }
.q-counter { font-size: 14px; color: var(--text-dim); }
.q-counter strong { color: var(--text); font-size: 16px; font-weight: 900; }

/* ── SCORE CARDS ── */
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.score-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 14px; text-align: center; }
.score-card .sc-val { font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: -2px; }
.score-card .sc-label { font-size: 13px; font-weight: 700; margin: 4px 0; }
.score-card .sc-sub { font-size: 11px; color: var(--text-dim); }

/* ── ANSWER REVEAL ── */
.answer-big { font-size: 68px; font-weight: 900; color: var(--green); text-align: center; line-height: 1; letter-spacing: -2px; }
.answer-label { text-align: center; font-size: 11px; color: var(--text-mute); margin-bottom: 4px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.next-label { text-align: center; font-size: 12px; color: var(--text-mute); margin-top: 4px; }

/* ── STATUS PILL ── */
.status-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 20px; padding: 5px 12px; font-size: 12px; font-weight: 700; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; }

/* ── VERDICT BUTTONS ── */
.verdict-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.verdict-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px; border-radius: var(--radius); border: none; cursor: pointer; transition: transform 0.1s; }
.verdict-btn:active { transform: scale(0.97); }
.verdict-btn .v-icon { font-size: 22px; }
.verdict-btn .v-count { font-size: 26px; font-weight: 900; }
.verdict-btn .v-label { font-size: 12px; font-weight: 700; }
.verdict-btn.wrong { background: var(--red-dim); color: var(--red); }
.verdict-btn.correct { background: var(--green-dim); color: var(--green-dark); }

/* ── RESULT BANNER ── */
.result-banner { border-radius: var(--radius-lg); padding: 26px 20px; text-align: center; margin-bottom: 20px; }
.result-banner.pass { background: var(--green-dim); border: 1px solid rgba(28,107,30,0.25); }
.result-banner.fail { background: var(--red-dim); border: 1px solid rgba(192,57,43,0.2); }
.result-banner.neutral { background: #fff; border: 1px solid var(--border); }
.result-icon { font-size: 44px; margin-bottom: 8px; }
.result-title { font-size: 22px; font-weight: 900; }
.result-banner.pass .result-title { color: var(--green-dark); }
.result-banner.fail .result-title { color: var(--red); }
.result-sub { font-size: 14px; color: var(--text-dim); margin-top: 6px; }

/* ── ENTRIES TABLE ── */
.entries-table { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.entries-thead { display: grid; grid-template-columns: 1fr 90px 72px; padding: 9px 14px; background: var(--bg); border-bottom: 1px solid var(--border); }
.entries-thead span { font-size: 11px; font-weight: 700; color: var(--text-mute); letter-spacing: 0.5px; text-transform: uppercase; text-align: center; }
.entries-thead span:first-child { text-align: left; }
.entry-row { display: grid; grid-template-columns: 1fr 90px 72px; padding: 10px 14px; border-bottom: 1px solid var(--border2); align-items: center; }
.entry-row:last-child { border-bottom: none; }
.entry-row.correct { background: rgba(28,107,30,0.04); }
.entry-row.wrong { background: rgba(192,57,43,0.04); }
.entry-eq { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entry-row.correct .entry-eq { color: var(--green-dark); }
.entry-row.wrong .entry-eq { color: var(--red); }
.entry-ans { text-align: center; font-size: 13px; font-weight: 700; }
.entry-row.correct .entry-ans { color: var(--green-dark); }
.entry-row.wrong .entry-ans { color: var(--red); }
.entry-correct { text-align: center; font-size: 13px; font-weight: 700; color: var(--text-dim); }

/* ── SECTION CARDS (Orion picker) ── */
.section-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; cursor: pointer; transition: border-color 0.15s; }
.section-card:hover { border-color: #aaa; }
.section-card.passed { border-color: rgba(28,107,30,0.4); }
.section-card.failed { border-color: rgba(192,57,43,0.3); }
.section-card-inner { display: flex; align-items: center; gap: 14px; padding: 14px; }
.section-icon-wrap { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--bg); border: 1px solid var(--border); font-size: 16px; font-weight: 900; color: var(--text-dim); }
.section-card.passed .section-icon-wrap { background: var(--green-dim); border-color: rgba(28,107,30,0.35); color: var(--green-dark); }
.section-card.failed .section-icon-wrap { background: var(--red-dim); border-color: rgba(192,57,43,0.3); color: var(--red); }
.section-meta { flex: 1; }
.section-name { font-size: 15px; font-weight: 700; color: var(--text); }
.section-info { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.section-status { font-size: 20px; }
.section-score-bar { padding: 0 14px 12px; }
.score-bar-track { height: 5px; background: var(--bg); border-radius: 99px; overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 99px; transition: width 0.6s ease; }

/* ── ORION BANNER ── */
.orion-banner { border-radius: var(--radius-lg); padding: 20px; text-align: center; margin-bottom: 20px; background: var(--green-dim); border: 1px solid rgba(28,107,30,0.25); }
.orion-banner h2 { font-size: 18px; font-weight: 900; color: var(--green-dark); }
.orion-banner p { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

/* ── HISTORY ── */
.hist-item { border-bottom: 1px solid var(--border2); }
.hist-item:last-child { border-bottom: none; }
.hist-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; }
.hist-row.expandable { cursor: pointer; }
.hist-chevron { color: var(--text-mute); transition: transform 0.25s; flex-shrink: 0; }
.hist-item.open .hist-chevron { transform: rotate(180deg); }
.hist-expand { display: none; padding: 2px 0 14px; }
.hist-item.open .hist-expand { display: block; }
.hist-icon { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 17px; background: var(--bg); border: 1px solid var(--border); }
.hist-icon.pass { background: var(--green-dim); border-color: rgba(28,107,30,0.3); }
.hist-icon.fail { background: var(--red-dim); border-color: rgba(192,57,43,0.2); }
.hist-info { flex: 1; min-width: 0; }
.hist-title { font-size: 14px; font-weight: 700; color: var(--text); }
.hist-sub { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.hist-score { text-align: right; }
.hist-pts { font-size: 13px; font-weight: 700; }
.hist-pts.pass { color: var(--green-dark); }
.hist-pts.fail { color: var(--red); }
.hist-badge { font-size: 10px; font-weight: 700; margin-top: 2px; }

/* ── FILTER TABS ── */
.filter-tabs { display: flex; gap: 6px; margin-bottom: 20px; }
.filter-tab { padding: 7px 16px; border-radius: 20px; font-size: 13px; font-weight: 700; cursor: pointer; border: 1px solid var(--border); background: #fff; color: var(--text-dim); transition: all 0.15s; }
.filter-tab.active { background: var(--green-dim); border-color: rgba(28,107,30,0.35); color: var(--green-dark); }

/* ── PROGRESS TRACK ── */
.progress-track { height: 8px; background: var(--border2); border-radius: 99px; overflow: hidden; margin: 6px 0 16px; }
.progress-track .fill { height: 100%; border-radius: 99px; transition: width 0.8s ease; }

/* ── TOGGLE SWITCH ── */
.toggle-switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; cursor: pointer; }
.toggle-switch input { display: none; }
.toggle-track { position: absolute; inset: 0; background: var(--border); border-radius: 99px; transition: background 0.15s; }
.toggle-track::before { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.15s; box-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.toggle-switch input:checked + .toggle-track { background: var(--green); }
.toggle-switch input:checked + .toggle-track::before { transform: translateX(18px); }

/* ── COUNTDOWN RING ── */
.countdown-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ring-container { position: relative; width: 72px; height: 72px; }
.ring-svg { transform: rotate(-90deg); display: block; }
.ring-text-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 22px; font-weight: 900; color: var(--text); line-height: 1; pointer-events: none; }

/* ── HOME GRID ── */
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.home-btn { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 18px; text-align: left; cursor: pointer; transition: border-color 0.15s, transform 0.1s; }
.home-btn:hover { border-color: var(--green); transform: translateY(-1px); }
.home-btn:active { transform: scale(0.98); }
.home-btn .hb-icon { font-size: 26px; margin-bottom: 10px; }
.home-btn .hb-title { font-size: 17px; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.home-btn .hb-sub { font-size: 12px; color: var(--text-dim); line-height: 1.4; }

/* ── EMPTY ── */
.empty { text-align: center; padding: 48px 24px; color: var(--text-dim); }
.empty-icon { font-size: 38px; margin-bottom: 12px; }
.empty p { font-size: 14px; }

/* ── HINT BOX ── */
.hint-box { background: var(--amber-dim); border: 1px solid rgba(249,168,37,0.4); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 16px; display: flex; gap: 10px; align-items: flex-start; }
.hint-text { font-size: 13px; color: #5d4037; line-height: 1.5; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

@media (max-width: 600px) {
  #sidebar { display: none; }
  .main-area { margin-left: 0; }
  .op-grid { grid-template-columns: repeat(3, 1fr); }
}
