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

/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --yellow:    #FFDB00;
  --blue:      #003399;
  --blue-mid:  #1a4abf;
  --bg:        #0f0f0f;
  --surface:   #1a1a1a;
  --surface2:  #242424;
  --surface3:  #2e2e2e;
  --border:    #333;
  --text:      #f0f0f0;
  --muted:     #888;
  --green:     #4ade80;
  --red:       #f87171;
  --orange:    #fbbf24;
  --nav-h:     64px;
  --header-h:  56px;
  --bar-h:     6px;
  --r:         14px;
  --r-sm:      8px;
}

/* ── Base ──────────────────────────────────────────────────────────────── */
html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  background: var(--surface2);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--yellow); }

/* ── Utility ───────────────────────────────────────────────────────────── */
.hidden { display: none !important; }
.full-w  { width: 100%; }

/* ── Sign-in overlay ───────────────────────────────────────────────────── */
.overlay {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
}
.signin-card {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 48px 32px;
  text-align: center;
  max-width: 320px; width: 90%;
}
.signin-logo {
  width: 72px; height: 72px;
  background: var(--yellow);
  color: #000;
  font-size: 36px; font-weight: 700;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.signin-card h1 { font-size: 24px; font-weight: 700; }
.signin-card > p { color: var(--muted); font-size: 14px; }
.signin-note { font-size: 12px !important; color: var(--muted) !important; margin-top: 4px; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn-primary {
  background: var(--yellow);
  color: #000;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 48px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform 0.1s, opacity 0.1s;
  min-height: 48px;
}
.btn-primary:active { transform: scale(0.97); opacity: 0.9; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 48px;
  min-height: 48px;
}
.btn-ghost:active { opacity: 0.7; }

.add-task-btn {
  background: var(--yellow);
  color: #000;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  min-height: 36px;
}
.add-task-btn:active { opacity: 0.8; }

/* ── App shell ─────────────────────────────────────────────────────────── */
#app {
  display: flex; flex-direction: column;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Header ────────────────────────────────────────────────────────────── */
.app-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px 10px;
  height: var(--header-h);
  flex-shrink: 0;
}
.greeting { font-size: 16px; font-weight: 600; }
.date-display { font-size: 12px; color: var(--muted); margin-top: 2px; }
.header-right { display: flex; align-items: center; gap: 10px; }

.streak-chip {
  background: var(--surface2);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 4px;
}

.level-chip {
  background: var(--surface2);
  border-radius: 20px;
  padding: 5px 10px 5px 10px;
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  color: var(--yellow);
}
.xp-mini-track {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 2px; overflow: hidden;
}
.xp-mini-fill {
  height: 100%; width: 0%;
  background: var(--yellow);
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* ── Day progress bar ──────────────────────────────────────────────────── */
.day-bar-wrap {
  position: relative;
  height: 24px;
  padding: 0 18px;
  display: flex; align-items: center;
  flex-shrink: 0;
}
.day-bar {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  height: var(--bar-h);
  width: 0%;
  background: linear-gradient(90deg, var(--yellow), var(--blue-mid));
  border-radius: 0 3px 3px 0;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.day-pct {
  position: relative;
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
  font-weight: 500;
}

/* ── Main content area ─────────────────────────────────────────────────── */
.main-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* ── Tab panes ─────────────────────────────────────────────────────────── */
.tab-pane {
  display: none;
  height: 100%;
  overflow-y: auto;
  padding: 0 16px calc(var(--nav-h) + 16px);
  -webkit-overflow-scrolling: touch;
}
.tab-pane.active { display: block; }
.tab-pane::-webkit-scrollbar { width: 0; }

.pane-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0 10px;
  position: sticky; top: 0;
  background: var(--bg);
  z-index: 10;
}
.pane-header h2 { font-size: 22px; font-weight: 700; }

/* ── Category filter ───────────────────────────────────────────────────── */
.cat-filter {
  display: flex; gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}
.cat-filter::-webkit-scrollbar { display: none; }
.cf {
  background: var(--surface2);
  color: var(--text);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
  transition: background 0.15s;
}
.cf.active {
  background: var(--yellow);
  color: #000;
  font-weight: 600;
}

/* ── Task list ─────────────────────────────────────────────────────────── */
.task-list { display: flex; flex-direction: column; gap: 10px; }

.state-msg {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 40px 0;
}

/* ── Task card ─────────────────────────────────────────────────────────── */
.task-card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 14px 14px 14px 16px;
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, opacity 0.3s, transform 0.3s;
  cursor: default;
}
.task-card.overdue { border-color: rgba(248,113,113,0.3); }
.task-card.completing {
  opacity: 0;
  transform: translateX(30px) scale(0.95);
  pointer-events: none;
}
.task-card.done-style {
  opacity: 0.4;
  text-decoration: line-through;
}

.task-pri-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pri-H .task-pri-dot { background: var(--red); }
.pri-M .task-pri-dot { background: var(--orange); }
.pri-L .task-pri-dot { background: var(--green); }

.task-body { flex: 1; min-width: 0; }
.task-title {
  font-size: 15px; font-weight: 500;
  line-height: 1.35;
  word-break: break-word;
}
.task-meta {
  display: flex; align-items: center; gap: 8px;
  margin-top: 5px;
}
.task-cat { font-size: 13px; }
.task-est { font-size: 12px; color: var(--muted); }
.task-overdue-badge {
  font-size: 10px; font-weight: 600;
  background: rgba(248,113,113,0.15);
  color: var(--red);
  padding: 2px 7px;
  border-radius: 20px;
}

/* ── Complete button ───────────────────────────────────────────────────── */
.complete-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  color: transparent;
  font-size: 18px;
}
.complete-btn:active { transform: scale(0.88); }
.complete-btn.completing {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: scale(1.15);
}

/* ── Section label ─────────────────────────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 16px 0 8px;
}

/* ── Brain dump ────────────────────────────────────────────────────────── */
.dump-wrap { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
#dump-input {
  width: 100%;
  padding: 14px;
  border-radius: var(--r);
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
  min-height: 200px;
}
.dump-results { margin-top: 16px; }
.dump-group { margin-bottom: 16px; }
.dump-group-title {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}
.dump-item {
  background: var(--surface);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin-bottom: 6px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
  gap: 8px;
}
.dump-item-text { flex: 1; }
.dump-badges { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.badge {
  font-size: 11px; font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
}
.badge-H { background: rgba(248,113,113,0.15); color: var(--red); }
.badge-M { background: rgba(251,191,36,0.15);  color: var(--orange); }
.badge-L { background: rgba(74,222,128,0.15);  color: var(--green); }
.dump-actions { display: flex; gap: 10px; margin-top: 16px; }

/* ── Goals ─────────────────────────────────────────────────────────────── */
#goals-list { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }

.goal-card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 18px;
  border-left: 4px solid var(--yellow);
}
.goal-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.goal-emoji { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.goal-info { flex: 1; }
.goal-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.goal-target { font-size: 12px; color: var(--muted); margin-top: 3px; }

.goal-progress-wrap { margin-bottom: 10px; }
.goal-progress-label {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--muted);
  margin-bottom: 6px;
}
.progress-track {
  height: 8px; background: var(--surface3);
  border-radius: 4px; overflow: hidden;
}
.progress-fill {
  height: 100%; background: var(--yellow);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.goal-slider {
  width: 100%; margin: 8px 0 12px;
  -webkit-appearance: none;
  height: 4px; background: var(--surface3);
  border-radius: 2px; border: none;
  cursor: pointer;
}
.goal-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--yellow);
  cursor: pointer;
}
.goal-milestone {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  background: var(--surface2);
}
.goal-milestone::placeholder { color: var(--muted); }

/* ── Stats ─────────────────────────────────────────────────────────────── */
#stats-content { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }

.stat-card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 18px;
}
.stat-card-title {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}
.big-number {
  font-size: 48px; font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}
.big-number-sub { font-size: 14px; color: var(--muted); margin-top: 6px; }

.xp-track {
  height: 12px; background: var(--surface3);
  border-radius: 6px; overflow: hidden;
  margin: 10px 0 6px;
}
.xp-fill {
  height: 100%; background: linear-gradient(90deg, var(--yellow), var(--blue-mid));
  border-radius: 6px;
  transition: width 0.5s ease;
}
.xp-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

.week-heatmap { display: flex; gap: 6px; margin-top: 4px; }
.heat-day {
  flex: 1; height: 36px;
  border-radius: var(--r-sm);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600;
  gap: 2px;
}
.heat-day .day-name { color: var(--muted); }
.heat-0 { background: var(--surface3); }
.heat-1 { background: rgba(255,219,0,0.2); }
.heat-2 { background: rgba(255,219,0,0.5); }
.heat-3 { background: rgba(255,219,0,0.85); color: #000; }
.heat-3 .day-name { color: rgba(0,0,0,0.6); }

.cat-stat-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.cat-stat-emoji { font-size: 16px; flex-shrink: 0; width: 24px; text-align: center; }
.cat-stat-bar-wrap { flex: 1; }
.cat-stat-track { height: 6px; background: var(--surface3); border-radius: 3px; overflow: hidden; }
.cat-stat-fill { height: 100%; background: var(--yellow); border-radius: 3px; transition: width 0.4s; }
.cat-stat-label { font-size: 12px; color: var(--muted); margin-top: 3px; }
.cat-stat-count { font-size: 13px; font-weight: 600; flex-shrink: 0; }

/* ── Bottom nav ────────────────────────────────────────────────────────── */
.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  height: var(--nav-h);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 100;
}
.nav-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: transparent;
  color: var(--muted);
  font-size: 10px; font-weight: 500;
  padding: 8px 0;
  transition: color 0.15s;
}
.nav-btn svg { width: 22px; height: 22px; }
.nav-btn.active { color: var(--yellow); }
.nav-btn:active { opacity: 0.7; }

/* ── Modal ─────────────────────────────────────────────────────────────── */
.modal-wrap {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: flex-end;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
}
.modal-sheet {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px; margin: 0 auto;
  background: var(--surface);
  border-radius: var(--r) var(--r) 0 0;
  padding: 12px 20px 36px;
  display: flex; flex-direction: column; gap: 14px;
  animation: slideUp 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.modal-handle {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 4px;
}
.modal-sheet h3 { font-size: 18px; font-weight: 700; }
#task-title {
  width: 100%; padding: 12px 14px; font-size: 16px;
  border-radius: var(--r-sm);
}
.field-row { display: flex; flex-direction: column; gap: 6px; }
.field-row label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.field-row select {
  padding: 10px 12px; font-size: 15px;
  border-radius: var(--r-sm);
  width: 100%;
}
.seg-group { display: flex; gap: 6px; }
.seg-btn {
  flex: 1; padding: 10px 6px; font-size: 13px; font-weight: 500;
  background: var(--surface3); color: var(--text);
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
  min-height: 44px;
}
.seg-btn.active { background: var(--yellow); color: #000; font-weight: 700; }
.modal-actions { display: flex; gap: 10px; margin-top: 4px; }
.modal-actions .btn-primary { flex: 1; }
.modal-actions .btn-ghost { flex: 0 0 auto; }

/* ── Toasts ────────────────────────────────────────────────────────────── */
.xp-toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
  background: var(--surface2);
  color: var(--yellow);
  font-size: 14px; font-weight: 700;
  padding: 8px 18px;
  border-radius: 24px;
  pointer-events: none;
  z-index: 900;
  animation: toastPop 1.6s ease forwards;
}
.levelup-toast {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: var(--yellow);
  color: #000;
  font-size: 20px; font-weight: 800;
  padding: 24px 36px;
  border-radius: 20px;
  text-align: center;
  pointer-events: none;
  z-index: 950;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: levelPop 2.5s ease forwards;
}
@keyframes toastPop {
  0%   { opacity: 0; transform: translateX(-50%) translateY(10px); }
  15%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}
@keyframes levelPop {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
  15%  { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  25%  { transform: translate(-50%, -50%) scale(1); }
  70%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
}

/* ── Settings button ───────────────────────────────────────────────────── */
.settings-btn {
  background: transparent;
  font-size: 18px;
  padding: 4px;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.15s;
}
.settings-btn:active { opacity: 1; }

/* ── Notification settings ─────────────────────────────────────────────── */
.notif-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface2);
  border-radius: var(--r-sm);
  padding: 12px 14px;
}
.notif-desc { font-size: 14px; color: var(--text); flex: 1; }

/* Toggle switch */
.toggle { position: relative; display: inline-block; width: 44px; height: 26px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute; inset: 0;
  background: var(--border);
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-track::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle input:checked + .toggle-track { background: var(--yellow); }
.toggle input:checked + .toggle-track::before { transform: translateX(18px); }

input[type="time"] {
  padding: 10px 12px;
  font-size: 16px;
  border-radius: var(--r-sm);
  width: 100%;
  color-scheme: dark;
}

.notif-blocked {
  background: rgba(248,113,113,0.1);
  color: var(--red);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  line-height: 1.5;
}

/* ── Desktop safe area ─────────────────────────────────────────────────── */
@media (min-height: 700px) {
  .tab-pane { padding-bottom: calc(var(--nav-h) + 24px); }
}
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .bottom-nav { padding-bottom: env(safe-area-inset-bottom); height: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
  .tab-pane    { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 16px); }
}

/* ── Calendar strip ────────────────────────────────────────────────────── */
.calendar-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.calendar-strip::-webkit-scrollbar { display: none; }

.cal-day {
  display: flex; flex-direction: column; align-items: center;
  gap: 3px;
  min-width: 50px;
  padding: 10px 6px;
  border-radius: var(--r-sm);
  background: var(--surface2);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.1s;
  border: 1.5px solid transparent;
}
.cal-day:active { transform: scale(0.94); }
.cal-day.today  { border-color: var(--yellow); }
.cal-day.selected {
  background: var(--yellow);
}
.cal-day.selected .cal-dn,
.cal-day.selected .cal-dd { color: #000; }

.cal-dn {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted);
}
.cal-dd {
  font-size: 18px; font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.cal-dots {
  display: flex; gap: 3px; height: 6px; align-items: center;
}
.dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-blue   { background: #60a5fa; }
.dot-yellow { background: var(--yellow); }
.dot-placeholder { width: 5px; height: 5px; }

/* ── Day view ──────────────────────────────────────────────────────────── */
.day-view {
  margin-top: 2px;
}

.day-view-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0 8px;
  position: sticky; top: 0;
  background: var(--bg);
  z-index: 10;
}
.day-view-header h3 {
  font-size: 17px; font-weight: 700;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dv-actions {
  display: flex; gap: 6px; flex-shrink: 0;
}

/* ── Event card ────────────────────────────────────────────────────────── */
.event-card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 12px 14px;
  margin-bottom: 8px;
  border-left: 3px solid #60a5fa;
}
.event-time {
  font-size: 11px; font-weight: 600;
  color: #60a5fa;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 3px;
}
.event-title {
  font-size: 15px; font-weight: 500;
  line-height: 1.3;
  margin-bottom: 4px;
}
.event-desc {
  font-size: 12px; color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.4;
}
.plan-btn {
  background: var(--surface2);
  color: var(--text);
  font-size: 12px; font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background 0.15s;
}
.plan-btn:active { background: var(--surface3); }

/* ── Outline button variant ────────────────────────────────────────────── */
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  min-height: 36px;
  transition: border-color 0.15s;
}
.btn-outline:active { border-color: var(--yellow); opacity: 0.8; }

/* ── Brain dump count & calendar badge ────────────────────────────────── */
.dump-count {
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}
.badge-cal {
  background: rgba(96,165,250,0.15);
  color: #60a5fa;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px; font-weight: 600;
}
