/* ============================================
   XIMPAX DESIGN TOKENS
   Brand: #72818E (slate), #74B14E (green), #FFFFFF
   Dark-first dashboard
   ============================================ */
:root {
  --color-bg: #0f1215;
  --color-surface: #181c20;
  --color-surface-2: #1e2328;
  --color-surface-3: #252a30;
  --color-border: #2d333a;
  --color-border-light: #252a30;
  --color-text: #d8dce2;
  --color-text-muted: #8b929c;
  --color-text-faint: #555d68;
  --color-primary: #74B14E;
  --color-primary-hover: #84c15e;
  --color-primary-dim: #5a8c3d;
  --color-primary-bg: rgba(116, 177, 78, 0.1);
  --color-primary-bg-hover: rgba(116, 177, 78, 0.18);
  --color-slate: #72818E;
  --color-slate-dim: rgba(114, 129, 142, 0.15);
  --color-accent-input: rgba(116, 177, 78, 0.08);
  --color-accent-prompt: rgba(114, 129, 142, 0.12);
  --color-accent-question: rgba(204, 163, 84, 0.1);
  --color-accent-tool: rgba(139, 115, 180, 0.1);
  --color-accent-anon: rgba(116, 177, 78, 0.06);
  --color-input-dot: #74B14E;
  --color-prompt-dot: #8ba4b8;
  --color-question-dot: #cca354;
  --color-tool-dot: #9b80c4;
  --color-anon-dot: #74B14E;
  --color-highlight-bg: rgba(116, 177, 78, 0.15);
  --color-warning: #e8a944;
  --color-danger: #d45f5f;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --font-body: 'Nunito Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;

  --sidebar-width: 256px;
  --topbar-height: 56px;

  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-height) + 24px); }
body {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--topbar-height);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.topbar-inner {
  max-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}
.topbar-title h1 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fff;
}
.topbar-title h1 .brand-ximpax {
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar-subtitle {
  font-size: 11px;
  color: var(--color-text-faint);
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Search */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 10px;
  color: var(--color-text-faint);
  pointer-events: none;
}
.search-input {
  width: 240px;
  height: 34px;
  padding: 0 32px 0 34px;
  font-size: 13px;
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), width var(--transition);
}
.search-input::placeholder { color: var(--color-text-faint); }
.search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-bg);
  width: 320px;
}
.search-kbd {
  position: absolute;
  right: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 6px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-text-faint);
  background: var(--color-surface-3);
  pointer-events: none;
}
.search-clear {
  position: absolute;
  right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  border-radius: 50%;
}
.search-clear:hover {
  background: var(--color-surface-3);
  color: var(--color-text);
}

/* Buttons */
.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-icon:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  overflow-y: auto;
  z-index: 90;
  padding: 16px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px;
}
.sidebar-section-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  line-height: 1.4;
}
.sidebar-section-link:hover {
  background: var(--color-primary-bg);
  color: var(--color-text);
}
.sidebar-section-link.active {
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-weight: 600;
}
.sidebar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--color-surface-3);
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.sidebar-section-link.active .sidebar-num {
  background: var(--color-primary);
  color: #fff;
}
.sidebar-divider {
  height: 1px;
  background: var(--color-border);
  margin: 8px 12px;
}
.sidebar-section-link.is-guideline {
  font-style: italic;
  font-size: 12px;
}
.sidebar-section-link.is-guideline .sidebar-num {
  font-size: 10px;
  min-width: 18px;
  height: 18px;
  background: none;
  border: 1px solid var(--color-text-faint);
  color: var(--color-text-faint);
}

/* Mobile nav */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 200;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  align-items: center;
  justify-content: center;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main {
  margin-left: var(--sidebar-width);
  margin-top: var(--topbar-height);
  padding: 24px 32px 48px;
  max-width: 920px;
}

/* Intro Card */
.intro-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 28px;
}
.intro-card .intro-header h2 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}
.intro-card p {
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  max-width: 72ch;
  line-height: 1.65;
}
.intro-card p:last-of-type { margin-bottom: 16px; }
.intro-card p strong { color: var(--color-primary); font-weight: 600; }
.intro-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.intro-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.intro-stat strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

/* Anonymization Banner */
.anon-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, rgba(116, 177, 78, 0.08) 0%, rgba(116, 177, 78, 0.04) 100%);
  border: 1.5px solid rgba(116, 177, 78, 0.35);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 28px;
}
.anon-banner-icon {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 1px;
}
.anon-banner-content {
  flex: 1;
  min-width: 0;
}
.anon-banner-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.35;
}
.anon-banner-text {
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 72ch;
}
.anon-banner-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.1s ease;
  margin-top: 2px;
}
.anon-banner-btn:hover {
  background: #65a03e;
  transform: translateX(2px);
}
.anon-banner-btn:active {
  transform: translateX(0);
}

/* Search Status */
.search-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--color-text-muted);
  background: var(--color-primary-bg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(116, 177, 78, 0.15);
}
.search-status-clear {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   SECTION BLOCKS
   ============================================ */
.section-block {
  margin-bottom: 20px;
}
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}
.section-header:hover {
  border-color: var(--color-primary-dim);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.section-header.open {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom-color: var(--color-border-light);
}
.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  flex-shrink: 0;
}
.section-title-text {
  flex: 1;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.section-task-count {
  font-size: 12px;
  color: var(--color-text-faint);
  white-space: nowrap;
}
.section-chevron {
  color: var(--color-text-faint);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.section-header.open .section-chevron {
  transform: rotate(180deg);
}

/* Section Intro */
.section-intro {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
  padding: 14px 20px;
  background: var(--color-surface-2);
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  max-width: 68ch;
}

/* Section Body */
.section-body {
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
}
.section-body[hidden] { display: none; }

/* Guideline header (unnumbered) */
.section-header.is-guideline-header .section-number {
  background: var(--color-slate);
  font-size: 11px;
}

/* ============================================
   ANONYMIZATION TABLE (per section)
   ============================================ */
.anon-subsection {
  border-top: 1px solid var(--color-border);
  padding: 16px 20px;
}
.anon-subsection-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  user-select: none;
}
.anon-subsection-header .anon-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--color-primary-bg);
  flex-shrink: 0;
}
.anon-subsection-header .anon-icon svg { color: var(--color-primary); }
.anon-subsection-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}
.anon-subsection-chevron {
  color: var(--color-text-faint);
  transition: transform var(--transition);
  margin-left: auto;
}
.anon-subsection-header.open .anon-subsection-chevron {
  transform: rotate(180deg);
}
.anon-note {
  font-size: 12px;
  color: var(--color-text-faint);
  margin-bottom: 10px;
  line-height: 1.55;
  font-style: italic;
}
.anon-table-wrapper {
  overflow-x: auto;
}
.anon-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.anon-table th {
  text-align: left;
  padding: 7px 10px;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-faint);
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}
.anon-table td {
  padding: 7px 10px;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border-light);
  line-height: 1.45;
  vertical-align: top;
}
.anon-table tr:last-child td { border-bottom: none; }
.anon-table td:first-child {
  color: var(--color-text);
  font-weight: 500;
  white-space: nowrap;
}
.anon-table td:last-child {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--color-text-faint);
}
.anon-body[hidden] { display: none; }

/* ============================================
   TASK CARDS
   ============================================ */
.task-card {
  border-bottom: 1px solid var(--color-border-light);
}
.task-card:last-child { border-bottom: none; }
.task-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  cursor: pointer;
  transition: background var(--transition);
  user-select: none;
}
.task-header:hover {
  background: var(--color-surface-2);
}
.task-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 600;
  flex-shrink: 0;
  width: 26px;
}
.task-title {
  flex: 1;
  font-size: 13.5px;
  font-weight: 500;
}
.task-badges {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.task-badge {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.task-badge-input {
  background: var(--color-accent-input);
  color: var(--color-input-dot);
}
.task-badge-question {
  background: var(--color-accent-question);
  color: var(--color-question-dot);
}
.task-chevron {
  color: var(--color-text-faint);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.task-header.open .task-chevron {
  transform: rotate(180deg);
}

/* Task Body */
.task-body {
  padding: 0 20px 16px 56px;
}
.task-body[hidden] { display: none; }

/* Sub-sections within task */
.task-subsection {
  margin-bottom: 16px;
}
.task-subsection:last-child { margin-bottom: 0; }
.task-subsection-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.task-subsection-label .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-input { background: var(--color-input-dot); }
.dot-prompt { background: var(--color-prompt-dot); }
.dot-question { background: var(--color-question-dot); }
.dot-tool { background: var(--color-tool-dot); }

.label-input { color: var(--color-input-dot); }
.label-prompt { color: var(--color-prompt-dot); }
.label-question { color: var(--color-question-dot); }
.label-tool { color: var(--color-tool-dot); }

/* Input list */
.input-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.input-list li {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}
.input-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-surface-3);
}

/* Prompt block */
.prompt-block {
  background: var(--color-accent-prompt);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 8px;
  border: 1px solid rgba(114, 129, 142, 0.1);
}
.prompt-block:last-child { margin-bottom: 0; }
.prompt-tool-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-prompt-dot);
  margin-bottom: 6px;
}
.prompt-text {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text);
  white-space: pre-wrap;
  word-break: break-word;
}
.copy-prompt-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 4px 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-prompt-dot);
  background: transparent;
  border: 1px solid rgba(139, 164, 184, 0.3);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0.7;
}
.copy-prompt-btn:hover {
  opacity: 1;
  background: var(--color-surface-3);
  color: #fff;
}

/* Question list */
.question-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: q;
}
.question-list li {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
  padding-left: 22px;
  position: relative;
  counter-increment: q;
}
.question-list li::before {
  content: counter(q);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-question-dot);
  font-family: var(--font-mono);
  width: 16px;
  text-align: center;
}

/* Tool notes */
.tool-note {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
  padding: 10px 14px;
  background: var(--color-accent-tool);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-tool-dot);
}

/* ============================================
   GUIDELINE SECTION (Unnumbered)
   ============================================ */
.guideline-body {
  padding: 20px 24px;
}
.guideline-section {
  margin-bottom: 24px;
}
.guideline-section:last-child { margin-bottom: 0; }
.guideline-heading {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-border-light);
}
.guideline-content-text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 8px;
  max-width: 68ch;
}
.guideline-highlight {
  background: var(--color-primary-bg);
  border-left: 3px solid var(--color-primary);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 10px 0;
  line-height: 1.55;
}
.guideline-detail {
  font-size: 12.5px;
  color: var(--color-text-faint);
  margin-top: 6px;
  line-height: 1.55;
  font-style: italic;
}
.guideline-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0;
}
.guideline-items li {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}
.guideline-items li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--color-primary-dim);
  background: none;
}
.guideline-items.numbered {
  counter-reset: gi;
}
.guideline-items.numbered li {
  counter-increment: gi;
  padding-left: 24px;
}
.guideline-items.numbered li::before {
  content: counter(gi);
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  top: 1px;
  left: 0;
}
/* Warning items (mistakes) */
.guideline-items.warning li::before {
  border-color: var(--color-warning);
}
/* Checklist */
.guideline-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0;
}
.guideline-checklist li {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}
.guideline-checklist li::before {
  content: '☐';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  color: var(--color-primary);
}

/* ============================================
   HIGHLIGHT (Search)
   ============================================ */
mark {
  background: var(--color-highlight-bg);
  color: var(--color-primary);
  padding: 1px 3px;
  border-radius: 2px;
}
.no-results {
  text-align: center;
  padding: 48px 20px;
  color: var(--color-text-faint);
  font-size: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.footer a {
  font-size: 12px;
  color: var(--color-text-faint);
  text-decoration: none;
}
.footer a:hover {
  color: var(--color-primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 250ms ease;
    z-index: 150;
    box-shadow: none;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,0.5);
  }
  .main {
    margin-left: 0;
    padding: 20px 16px 48px;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .search-input {
    width: 160px;
  }
  .search-input:focus {
    width: 200px;
  }
  .topbar-subtitle {
    display: none;
  }
  .task-body {
    padding-left: 20px;
  }
  .anon-banner {
    flex-direction: column;
    gap: 12px;
  }
  .anon-banner-btn {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .topbar-title h1 {
    font-size: 13px;
  }
  .search-input {
    width: 120px;
  }
  .search-input:focus {
    width: 160px;
  }
  .task-badges {
    display: none;
  }
  .intro-stats {
    flex-direction: column;
    gap: 8px;
  }
  .anon-table td:first-child { white-space: normal; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-faint);
}
