/*
 * OpenRouter Design System (2026 Refresh)
 * Standalone CSS Stylesheet for Jarvis Cloudflare
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&family=Geist+Mono:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Constants */
  --or-ink: #03080a;
  --or-cloud: #fcfcfe;
  --or-grape: #7624f4;
  --or-volt: #c8ff00;

  /* Theme Tokens - LIGHT */
  --background: #fcfcfe;
  --foreground: #03080a;
  --card: #ffffff;
  --card-foreground: #03080a;
  --border: rgba(3, 8, 10, 0.08);
  --border-focus: rgba(3, 8, 10, 0.3);
  --input-bg: #ffffff;
  --muted: rgba(3, 8, 10, 0.035);
  --muted-foreground: rgba(3, 8, 10, 0.68);
  --text-faint: rgba(3, 8, 10, 0.44);
  --card-hover: rgba(3, 8, 10, 0.025);
  --selected-bg: rgba(3, 8, 10, 0.05);

  --primary: #7624f4;
  --primary-foreground: #fcfcfe;
  --primary-hover: #6319d6;
  --accent: rgba(118, 36, 244, 0.08);
  --accent-foreground: #7624f4;

  /* Status Tokens */
  --positive: #00bf6f;
  --positive-text: #007544;
  --positive-bg: rgba(0, 191, 111, 0.12);

  --negative: #ff2d55;
  --negative-text: #bf0024;
  --negative-bg: rgba(255, 45, 85, 0.12);

  --warning: #e5a000;
  --warning-text: #8a6000;
  --warning-bg: rgba(229, 160, 0, 0.12);

  --info: #035ade;
  --info-text: #0352c9;
  --info-bg: rgba(3, 90, 222, 0.12);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-full: 9999px;

  /* Header */
  --navbar-height: 56px;

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Theme Tokens - DARK (Default Environment) */
.dark, :root[data-theme="dark"] {
  --background: #03080a;
  --foreground: #fcfcfe;
  --card: #080d0f;
  --card-foreground: #fcfcfe;
  --border: rgba(252, 252, 254, 0.08);
  --border-focus: rgba(252, 252, 254, 0.3);
  --input-bg: rgba(252, 252, 254, 0.04);
  --muted: rgba(252, 252, 254, 0.035);
  --muted-foreground: rgba(252, 252, 254, 0.63);
  --text-faint: rgba(252, 252, 254, 0.44);
  --card-hover: rgba(252, 252, 254, 0.03);
  --selected-bg: rgba(252, 252, 254, 0.06);

  --primary: #c8ff00;
  --primary-foreground: #03080a;
  --primary-hover: #b8eb00;
  --accent: rgba(200, 255, 0, 0.1);
  --accent-foreground: #c8ff00;

  --positive: #34dfaa;
  --positive-text: #34dfaa;
  --positive-bg: rgba(52, 223, 170, 0.12);

  --negative: #ff2d55;
  --negative-text: #ff2d55;
  --negative-bg: rgba(255, 45, 85, 0.12);

  --warning: #ffab00;
  --warning-text: #ffab00;
  --warning-bg: rgba(255, 171, 0, 0.12);

  --info: #4d8dff;
  --info-text: #4d8dff;
  --info-bg: rgba(77, 141, 255, 0.12);
}

/* Base Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html, body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 450;
  font-size: 14px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

code, kbd, pre, .font-mono {
  font-family: var(--font-mono);
}

/* Hairline borders & zero shadows */
.border-hairline {
  border: 1px solid var(--border);
}

.border-b-hairline {
  border-bottom: 1px solid var(--border);
}

.border-t-hairline {
  border-top: 1px solid var(--border);
}

/* Nav Bar (Exact 56px) */
.navbar {
  height: var(--navbar-height);
  border-bottom: 1px solid var(--border);
  background: var(--background);
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

/* Brand Mark */
.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--foreground);
}

.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--primary);
  display: inline-block;
  box-shadow: 0 0 8px var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-sans);
  user-select: none;
}

.btn-sm {
  height: 32px;
  padding: 0 0.65rem;
  font-size: 13px;
}

.btn-md {
  height: 38px;
  padding: 0 1rem;
}

.btn-lg {
  height: 44px;
  padding: 0 1.25rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: transparent;
}
.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}
.btn-outline:hover {
  background: var(--muted);
  border-color: var(--border-focus);
}

.btn-ghost {
  background: transparent;
  color: var(--muted-foreground);
}
.btn-ghost:hover {
  background: var(--muted);
  color: var(--foreground);
}

.btn-ghost.active {
  background: var(--selected-bg);
  color: var(--foreground);
  border-color: var(--border);
}

.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* kbd */
.kbd {
  display: inline-flex;
  height: 20px;
  min-width: 20px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 0 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--muted);
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.badge-urgent {
  background: var(--negative-bg);
  color: var(--negative-text);
  border-color: rgba(255, 45, 85, 0.2);
}

.badge-high {
  background: var(--warning-bg);
  color: var(--warning-text);
  border-color: rgba(229, 160, 0, 0.2);
}

.badge-medium {
  background: var(--info-bg);
  color: var(--info-text);
  border-color: rgba(3, 90, 222, 0.2);
}

.badge-low {
  background: var(--positive-bg);
  color: var(--positive-text);
  border-color: rgba(0, 191, 111, 0.2);
}

.badge-recurrence {
  background: var(--muted);
  color: var(--muted-foreground);
  border-color: var(--border);
}

/* Cards (Zero Box Shadow) */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  background: var(--card-hover);
}

/* Inputs & Forms */
.input {
  height: 36px;
  padding: 0 0.75rem;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 13.5px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--muted);
}

textarea.input {
  height: auto;
  min-height: 72px;
  padding: 0.5rem 0.75rem;
}

/* Layout Containers */
.main-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

/* Voice Command Hero / Floating Bar */
.voice-hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.voice-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.voice-status-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ptt-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--card);
  border: 2px solid var(--border);
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  flex-shrink: 0;
}

.ptt-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.ptt-btn.recording {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  transform: scale(1.06);
  animation: ptt-glow 1.5s infinite;
}

@keyframes ptt-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(200, 255, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(200, 255, 0, 0);
  }
}

.voice-waveform-canvas {
  height: 28px;
  width: 140px;
  border-radius: var(--radius-sm);
  background: transparent;
}

/* Kanban Columns */
.kanban-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .kanban-grid {
    grid-template-columns: 1fr;
  }
}

.kanban-col {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 480px;
}

.kanban-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kanban-cards-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 380px;
  flex: 1;
}

.kanban-card {
  cursor: grab;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
  user-select: none;
}

.kanban-card:hover {
  background: var(--card-hover);
  border-color: var(--border-focus);
}

.kanban-card.dragging {
  opacity: 0.4;
  cursor: grabbing;
}

.kanban-cards-list.drag-over {
  background: var(--selected-bg);
  border-radius: var(--radius-md);
}

/* List Table View */
.list-view-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.list-view-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  background: var(--muted);
  border-bottom: 1px solid var(--border);
}

.list-view-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.list-view-table tr:last-child td {
  border-bottom: none;
}

.list-view-table tr:hover td {
  background: var(--card-hover);
}

/* Modal Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 10, 0.75);
  backdrop-filter: blur(2px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Reminder Floating Toast */
.reminder-toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
}

.reminder-toast {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: toast-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toast-in {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===========================================================================
   Pages, Goals -> Projects -> Tasks, Habits, Notes (knowledge base)
   =========================================================================== */

.page[hidden] { display: none !important; }

.seg-control {
  display: flex;
  align-items: center;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2px;
}
.seg-btn { height: 28px; padding: 0 0.6rem; font-size: 12.5px; }
.seg-kbd { margin-left: 4px; font-size: 10px; }

.field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--muted-foreground);
}

.hub-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.hub-title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.hub-subtitle { font-size: 12px; color: var(--muted-foreground); }

/* Progress bar (hairline, flat) */
.progress {
  height: 4px;
  background: var(--muted);
  border-radius: var(--radius-full);
  overflow: hidden;
  min-width: 80px;
}
.progress > span {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width 0.25s ease;
}

/* Small inline chips (project / goal / note / link) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 20px;
  padding: 0 0.45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 11px;
  font-family: var(--font-mono);
  line-height: 1;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  text-decoration: none;
}
.chip:hover { color: var(--foreground); border-color: var(--border-focus); }
.chip .chip-x { opacity: 0.6; margin-left: 2px; }
.chip .chip-x:hover { opacity: 1; color: var(--negative); }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chip-goal { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 40%, transparent); background: transparent; }

/* Goals list */
.goals-list { display: flex; flex-direction: column; gap: 0.75rem; }

.goal-card { padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.goal-card:hover { background: var(--card); }
.goal-head { display: flex; align-items: center; gap: 0.75rem; }
.goal-title { font-weight: 600; font-size: 15px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.goal-title.is-done { text-decoration: line-through; opacity: 0.6; }
.goal-meta { display: flex; align-items: center; gap: 0.6rem; font-size: 12px; color: var(--muted-foreground); font-family: var(--font-mono); }
.goal-desc { font-size: 13px; color: var(--muted-foreground); }

.project-row { border-top: 1px solid var(--border); padding-top: 0.6rem; margin-top: 0.15rem; }
.project-head { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; user-select: none; }
.project-caret { width: 14px; color: var(--text-faint); font-size: 11px; transition: transform 0.15s ease; }
.project-row.open .project-caret { transform: rotate(90deg); }
.project-title { font-weight: 500; font-size: 13.5px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-tasks { display: none; padding: 0.4rem 0 0 1.4rem; flex-direction: column; gap: 0.15rem; }
.project-row.open .project-tasks { display: flex; }

.task-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.task-row:hover { background: var(--muted); }
.task-row input[type="checkbox"] { cursor: pointer; accent-color: var(--primary); }
.task-row .task-row-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-row.is-done .task-row-title { text-decoration: line-through; opacity: 0.55; }

.inline-add {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.3rem;
}
.inline-add .input { height: 30px; font-size: 13px; }

/* Habits */
.habit-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem 0.35rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--foreground);
  font-size: 13px;
}
.habit-chip.ticked { border-color: color-mix(in srgb, var(--positive) 50%, transparent); }
.habit-streak { font-family: var(--font-mono); font-size: 12px; color: var(--warning); }
.habit-tick { height: 24px; width: 24px; padding: 0; border-radius: var(--radius-sm); }
.habit-chip.ticked .habit-tick { background: var(--positive-bg); color: var(--positive-text); }

/* Notes: two-pane */
.notes-layout { display: grid; grid-template-columns: 280px 1fr; gap: 1rem; min-height: 560px; }
@media (max-width: 860px) { .notes-layout { grid-template-columns: 1fr; } }
.notes-sidebar { display: flex; flex-direction: column; overflow: hidden; }
.notes-sidebar:hover { background: var(--card); }
.notes-list { list-style: none; margin: 0; padding: 0 0.4rem 0.4rem; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.notes-list li {
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.notes-list li:hover { background: var(--muted); }
.notes-list li.active { background: var(--selected-bg); }
.notes-list .note-li-title { font-size: 13.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notes-list .note-li-meta { font-size: 11px; color: var(--text-faint); font-family: var(--font-mono); display: flex; justify-content: space-between; gap: 0.5rem; }
.notes-list .note-li-excerpt { font-size: 12px; color: var(--muted-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.note-editor { display: flex; flex-direction: column; overflow: hidden; }
.note-editor:hover { background: var(--card); }
.note-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--border); }
.note-title-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  min-width: 0;
}
.note-textarea {
  flex: 1;
  min-height: 320px;
  resize: vertical;
  border: none;
  outline: none;
  background: transparent;
  color: var(--foreground);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  padding: 0.9rem;
}
.note-preview { flex: 1; min-height: 320px; padding: 0.9rem 1rem; overflow-y: auto; }
.note-links { border-top: 1px solid var(--border); padding: 0.7rem 0.9rem 0.9rem; }

.link-results {
  position: absolute;
  right: 0;
  top: 32px;
  width: 340px;
  max-height: 260px;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  z-index: 20;
  padding: 4px;
}
.link-result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
}
.link-result:hover { background: var(--muted); }
.link-result .lr-type { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); width: 52px; text-transform: uppercase; }
.link-result .lr-sub { color: var(--text-faint); font-size: 11px; margin-left: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; }

.backlink-row { font-size: 12.5px; color: var(--muted-foreground); display: flex; gap: 0.4rem; align-items: baseline; padding: 2px 0; }
.backlink-row a { color: var(--foreground); cursor: pointer; text-decoration: none; border-bottom: 1px dashed var(--border); }
.backlink-row a:hover { color: var(--primary); }

/* Minimal markdown rendering */
.md { font-size: 14px; line-height: 1.65; color: var(--foreground); }
.md h1 { font-size: 20px; font-weight: 600; margin: 0.6em 0 0.3em; }
.md h2 { font-size: 16px; font-weight: 600; margin: 0.8em 0 0.3em; }
.md h3 { font-size: 14px; font-weight: 600; margin: 0.8em 0 0.2em; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.04em; }
.md p { margin: 0.35em 0; }
.md ul, .md ol { margin: 0.3em 0 0.3em 1.3em; }
.md li { margin: 0.1em 0; }
.md code { font-family: var(--font-mono); font-size: 12px; background: var(--muted); padding: 1px 5px; border-radius: 4px; }
.md pre { background: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0.7rem 0.9rem; overflow-x: auto; }
.md pre code { background: none; padding: 0; }
.md a { color: var(--primary); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--primary) 35%, transparent); }
.md a.wikilink { font-weight: 500; cursor: pointer; }
.md a.wikilink.missing { color: var(--muted-foreground); border-bottom-style: dashed; }
.md blockquote { border-left: 2px solid var(--border); margin: 0.4em 0; padding: 0.1em 0.8em; color: var(--muted-foreground); }
.md input[type="checkbox"] { margin-right: 0.4em; accent-color: var(--primary); }
