/* ── 4corners — Mobile-first home management UI ── */

:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-2: #334155;
  --border: #475569;
  --text: #f1f5f9;
  --text-dim: #94a3b8;
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.3);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px 80px;
}

/* ── Top Bar ── */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar .brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}
.topbar .brand span { margin-right: 4px; }

.user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
}
.user-badge .name { font-size: 0.85rem; color: var(--text-dim); }

/* ── Bottom Nav ── */
.bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 8px 0 env(safe-area-inset-bottom, 8px);
  z-index: 100;
}
.bottomnav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.65rem;
  color: var(--text-dim);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color 0.2s;
  flex: 1;
  min-width: 0;
}
.bottomnav a.active { color: var(--primary); }
.bottomnav a .icon { font-size: 1.2rem; }
.bottomnav a:hover { text-decoration: none; color: var(--primary); }

/* ── Cards ── */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.card-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

/* ── Page header ── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 16px;
}
.page-header h1 { font-size: 1.5rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); text-decoration: none; }
.btn-success { background: var(--success); color: white; }
.btn-warning { background: var(--warning); color: #1e293b; }
.btn-danger { background: var(--danger); color: white; }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.btn-ghost:hover { background: var(--border); text-decoration: none; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Forms ── */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
}
textarea.form-control { resize: vertical; min-height: 80px; }
select.form-control { cursor: pointer; }
.form-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: rgba(239,68,68,0.1);
  border-radius: 8px;
}
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }

/* ── Task items ── */
.task-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 8px;
  border-left: 4px solid var(--border);
}
.task-item.priority-high { border-left-color: var(--danger); }
.task-item.priority-normal { border-left-color: var(--primary); }
.task-item.priority-low { border-left-color: var(--success); }
.task-item.done { opacity: 0.5; }
.task-item.done .task-title { text-decoration: line-through; }

.task-body { flex: 1; min-width: 0; }
.task-title { font-weight: 600; font-size: 0.95rem; }
.task-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.task-meta .tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--surface-2);
  padding: 2px 8px;
  border-radius: 6px;
}
.task-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* ── Stats grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.stat-card .value { font-size: 1.8rem; font-weight: 700; }
.stat-card .label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-card.warning .value { color: var(--warning); }
.stat-card.danger .value { color: var(--danger); }
.stat-card.success .value { color: var(--success); }

/* ── Login ── */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.login-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 380px;
  width: 100%;
  box-shadow: var(--shadow);
}
.login-card h1 { text-align: center; margin-bottom: 8px; }
.login-card .subtitle { text-align: center; color: var(--text-dim); margin-bottom: 24px; font-size: 0.9rem; }
.member-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.member-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.member-pick.selected { border-color: var(--primary); }
.member-pick .avatar { width: 44px; height: 44px; font-size: 1rem; }
.member-pick .name { font-size: 0.8rem; }
.pin-input {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.5em;
  font-weight: 700;
}
.login-error {
  color: var(--danger);
  text-align: center;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* ── Filter chips (compact) ── */
.filter-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filter-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  white-space: nowrap;
  background: var(--surface-2);
  color: var(--text-dim);
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.2s;
}
.filter-chip:active { transform: scale(0.95); }
.filter-chip .chip-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; }
.filter-chip .chip-value { font-weight: 600; color: var(--text); }
.filter-chip.active { background: var(--primary); border-color: var(--primary); }
.filter-chip.active .chip-value { color: white; }
.filter-chip.active .chip-label { color: rgba(255,255,255,0.7); }

/* ── Radial filter wheel ── */
.radial-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  display: none;
}
.radial-overlay.open { display: block; }

.radial-wheel {
  position: fixed;
  z-index: 201;
  display: none;
}
.radial-wheel.open { display: block; }

.radial-option {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 1.1;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s, border-color 0.15s;
  transform: scale(0) translate(0, 0);
  overflow: hidden;
  padding: 4px;
}
.radial-option:active { transform: scale(1.15) !important; }
.radial-option.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.radial-option .opt-icon { font-size: 1.1rem; display: block; }
.radial-option .opt-label { font-size: 0.6rem; display: block; margin-top: 1px; }

.radial-center {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 1;
}

/* Legacy filter bar (kept for issues/chores pages) */
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.filter-bar a, .filter-bar select {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  white-space: nowrap;
  background: var(--surface-2);
  color: var(--text-dim);
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
}
.filter-bar a.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ── Issue items ── */
.issue-item {
  padding: 14px;
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 8px;
  border-left: 4px solid var(--border);
}
.issue-item.priority-urgent { border-left-color: var(--danger); }
.issue-item.priority-high { border-left-color: var(--warning); }
.issue-item.priority-normal { border-left-color: var(--primary); }
.issue-item.priority-low { border-left-color: var(--success); }
.issue-item.resolved { opacity: 0.6; }

.status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.status-open { background: rgba(239,68,68,0.2); color: var(--danger); }
.status-in_progress { background: rgba(245,158,11,0.2); color: var(--warning); }
.status-resolved { background: rgba(34,197,94,0.2); color: var(--success); }
.status-pending { background: rgba(99,102,241,0.2); color: var(--primary); }
.status-done { background: rgba(34,197,94,0.2); color: var(--success); }
.status-skipped { background: rgba(148,163,184,0.2); color: var(--text-dim); }

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-dim);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 12px; }

/* ── WhatsApp banner ── */
.wa-banner {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 8px;
}
.wa-banner.dry-run {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.3);
  color: var(--warning);
}

/* ── Misc ── */
.text-dim { color: var(--text-dim); }
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-2 { gap: 8px; }
.flex-wrap { flex-wrap: wrap; }
.small { font-size: 0.8rem; }
.overdue { color: var(--danger); font-weight: 600; }
.hidden { display: none; }

@media (min-width: 700px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── DIY: Progress bar ── */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}
.progress-bar .fill {
  height: 100%;
  background: var(--success);
  border-radius: 4px;
  transition: width 0.3s;
}

/* ── DIY: Step checklist ── */
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface-2);
  border-radius: 8px;
  margin-bottom: 6px;
}
.step-item.done { opacity: 0.5; }
.step-item.done .step-title { text-decoration: line-through; }
.step-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  background: transparent;
  color: transparent;
  font-size: 0.8rem;
  transition: all 0.2s;
}
.step-checkbox.checked {
  background: var(--success);
  border-color: var(--success);
  color: white;
}
.step-body { flex: 1; min-width: 0; }
.step-title { font-size: 0.9rem; }
.step-notes { font-size: 0.8rem; color: var(--text-dim); margin-top: 2px; }
.step-actions { flex-shrink: 0; }

/* ── DIY: Materials table ── */
.material-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface-2);
  border-radius: 8px;
  margin-bottom: 6px;
}
.material-item.purchased { opacity: 0.5; }
.material-item.purchased .material-name { text-decoration: line-through; }
.material-name { flex: 1; font-size: 0.9rem; min-width: 0; }
.material-qty { font-size: 0.8rem; color: var(--text-dim); white-space: nowrap; }
.material-cost { font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.material-actions { flex-shrink: 0; }

/* ── DIY: Budget tracker ── */
.budget-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.budget-row:last-child { border-bottom: none; }
.budget-label { font-size: 0.85rem; color: var(--text-dim); }
.budget-value { font-size: 1rem; font-weight: 600; }
.budget-value.over { color: var(--danger); }
.budget-value.under { color: var(--success); }

/* ── DIY: Status badges ── */
.status-planned { background: rgba(99,102,241,0.2); color: var(--primary); }
.status-in_progress { background: rgba(245,158,11,0.2); color: var(--warning); }
.status-completed { background: rgba(34,197,94,0.2); color: var(--success); }
.status-on_hold { background: rgba(148,163,184,0.2); color: var(--text-dim); }

/* ── Room hub tabs ── */
.room-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.room-tabs a {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.room-tabs a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--surface-2);
}

/* ── Inline add form ── */
.inline-form {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.inline-form input {
  flex: 1;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
}
.inline-form input:focus { outline: none; border-color: var(--primary); }
.inline-form button { flex-shrink: 0; }

/* ── Calendar ── */
.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.cal-view-toggle {
  display: flex;
  gap: 0;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.cal-view-toggle a {
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}
.cal-view-toggle a.active {
  background: var(--primary);
  color: white;
}

.cal-date-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.cal-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
  line-height: 1;
}
.cal-nav-btn:hover { background: var(--surface-2); text-decoration: none; }
.cal-period {
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

.cal-person-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.cal-person-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  white-space: nowrap;
  background: var(--surface);
  color: var(--text-dim);
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.cal-person-chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.cal-person-chip:hover { text-decoration: none; }
.cal-person-chip .mini-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

/* ── Month grid ── */
.cal-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.cal-dow-header {
  background: var(--surface-2);
  padding: 8px 4px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cal-day-cell {
  background: var(--surface);
  min-height: 68px;
  padding: 4px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  cursor: pointer;
}
.cal-day-cell:hover { background: var(--surface-2); text-decoration: none; }
.cal-day-cell.other-month { opacity: 0.35; }
.cal-day-cell.today { background: rgba(99,102,241,0.12); }
.cal-day-cell.today .cal-day-num { color: var(--primary); }
.cal-day-num {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}
.cal-dots-row {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}
.cal-task-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cal-more {
  font-size: 0.58rem;
  color: var(--text-dim);
  line-height: 1;
}

.cal-legend {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 0 16px;
  font-size: 0.75rem;
  color: var(--text-dim);
}
.cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ── Week / Day event cards ── */
.cal-day-card {
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.cal-day-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}
.cal-day-header:hover { text-decoration: none; }
.cal-day-header.today { background: rgba(99,102,241,0.2); }
.cal-day-header .dow {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cal-day-header .day-num { font-size: 1.2rem; font-weight: 800; }
.cal-day-header .month { font-size: 0.8rem; color: var(--text-dim); }
.cal-day-header .count {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--text-dim);
  background: var(--surface);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.cal-event {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.cal-event:last-child { border-bottom: none; }
.cal-event:hover { background: var(--surface-2); text-decoration: none; }
.cal-event-stripe {
  width: 4px;
  align-self: stretch;
  border-radius: 2px;
  flex-shrink: 0;
  min-height: 32px;
}
.cal-event-body { flex: 1; min-width: 0; }
.cal-event-title {
  font-size: 0.9rem;
  font-weight: 600;
}
.cal-event-title.done { text-decoration: line-through; opacity: 0.5; }
.cal-event-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 3px;
  flex-wrap: wrap;
}
.cal-event-type {
  font-size: 0.62rem;
  padding: 1px 7px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cal-event-type.task { background: rgba(99,102,241,0.2); color: var(--primary); }
.cal-event-type.diy { background: rgba(245,158,11,0.2); color: var(--warning); }
.cal-event .mini-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: white;
}
.cal-empty-day {
  padding: 14px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ── Day view quick jump ── */
.cal-quick-jump {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.cal-quick-day {
  flex: 1;
  max-width: 120px;
  text-align: center;
  padding: 10px 8px;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}
.cal-quick-day:hover { background: var(--surface-2); text-decoration: none; border-color: var(--primary); }
