/* ============================================================
   JobJet — BOLD / NEO-BRUTALIST layout  (structure only)
   ------------------------------------------------------------
   This file owns LAYOUT + geometry (thick black borders, hard
   offset shadows, 0 radius, oversized headlines, asymmetric grid,
   sidebar shell, giant hero score). All COLORS come from a
   swappable palette file loaded BEFORE this one:

     /bold-palette.css  ->  @import one of /bold-palettes/*.css

   So trying a new color scheme = a single-line change, never a
   rewrite. The classic 6-theme layout is preserved at /classic/.

   Palette contract (a palette file must define these):
     --paper --ink --surface
     --primary --primary-dark --primary-fg      (large surfaces / sidebar)
     --accent --accent-dark --accent-fg         (CTA / active nav / score)
     --muted-fill --hover-tint
     --score-block-bg --score-block-fg --score-color
     --badge-good-bg/-fg  --badge-gap-bg/-fg
     --label-strong-bg/-fg --label-tweaks-bg/-fg --label-low-bg/-fg
   ============================================================ */

:root {
  /* ---- base structural tokens ---- */
  --paper:   #FFFFFF;
  --ink:     #111111;
  --surface: #FFFFFF;
  --primary:      #1A1A1A;
  --primary-dark: #000000;
  --primary-fg:   #FFFFFF;
  --muted-fill:  #F0F0F0;
  --hover-tint:  #F0F0F0;
  --score-block-bg: #1A1A1A;
  --score-block-fg: #FFFFFF;

  /* ---- structural tokens (palette-independent) ---- */
  --radius: 0;
  --radius-btn: 0;
  --card-shadow: 6px 6px 0 var(--ink);
  --btn-shadow: 4px 4px 0 var(--ink);
  --nav-shadow: none;
  --card-padding: 22px;
  --btn-padding: 0.7rem 1.5rem;

  --font-mono: 'Space Grotesk', 'Consolas', monospace;
  --font-family: 'Space Grotesk', system-ui, sans-serif;
  --font-sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-head: 'Archivo', 'Space Grotesk', system-ui, sans-serif;

  --score-size: clamp(4.5rem, 12vw, 8rem);

  /* ---- compatibility tokens (same NAMES the markup/JS inline
          styles + dynamic modal rely on), mapped to the palette ---- */
  --bg-color: var(--paper);
  --card-bg: var(--surface);
  --input-bg: var(--surface);
  --border-color: var(--ink);
  --text-primary: var(--ink);
  --text-secondary: #52525B;
  --accent-blue: var(--primary);
  --accent-blue-hover: var(--primary-dark);
  --accent-tint: var(--hover-tint);
  --accent-glow: transparent;
  /* Destructive actions (delete links, danger zone). Defined once here so
     every red control matches; was previously referenced but never set. */
  --accent-red: #C0392B;
  --gradient-header: linear-gradient(0deg, var(--ink), var(--ink));

  /* ---- mapping for legacy accent references ---- */
  --accent: var(--accent-base);
  --accent-dark: var(--accent-shade-1);
  --score-color: var(--accent-base);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
}

/* ===================== APP SHELL (sidebar + workspace) ===================== */
.app-shell {
  display: grid;
  grid-template-columns: 264px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--primary);
  color: var(--primary-fg);
  border-right: 4px solid var(--ink);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.logo-glow {
  width: 34px;
  height: 34px;
  background: var(--surface);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  flex-shrink: 0;
  margin-top: -2px;
}

.brand-text h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.9rem;
  letter-spacing: -1px;
  line-height: 0.9;
  color: var(--primary-fg);
  text-transform: uppercase;
}

.brand-tag {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary-fg);
  opacity: 0.75;
  margin-top: 4px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-nav .tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: transparent;
  color: var(--primary-fg);
  border: 3px solid transparent;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.12s ease, color 0.12s ease;
}

.side-nav .tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--ink);
}

.side-nav .tab-btn.active {
  background: var(--accent);
  color: var(--accent-fg);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.side-nav .tab-btn .sidebar-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 3px solid var(--ink);
  color: var(--ink);
  flex-shrink: 0;
}

.side-nav .tab-btn.active .sidebar-icon {
  background: var(--ink);
  color: var(--accent);
}

.sidebar-foot {
  margin-top: auto;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary-fg);
  opacity: 0.72;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 3px solid rgba(255, 255, 255, 0.25);
  padding-top: 14px;
}

.foot-dot {
  width: 10px;
  height: 10px;
  background: var(--surface);
  border: 2px solid var(--surface);
}

.workspace {
  padding: 40px clamp(20px, 4vw, 56px) 80px;
  max-width: 1180px;
}

/* ===================== TABS / PANELS ===================== */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: pop 0.18s ease;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ===================== STEP WIZARD ===================== */
.step-breadcrumbs {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 32px;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--surface);
  flex-wrap: wrap;
}

.step-crumb {
  flex: 1 1 0;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  border-right: 3px solid var(--ink);
  background: var(--surface);
  transition: background 0.12s ease;
}

.step-crumb:last-child {
  border-right: none;
}

.step-crumb:hover {
  background: var(--hover-tint);
}

.step-crumb .step-num {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 3px solid var(--ink);
  color: var(--ink);
  flex-shrink: 0;
}

.step-crumb.active {
  background: var(--ink);
  color: var(--surface);
}

.step-crumb.active .step-num {
  background: var(--surface);
  color: var(--ink);
}

.step-crumb.done {
  background: var(--ink);
  color: var(--surface);
}

.step-crumb.done .step-num {
  background: var(--surface);
  color: var(--ink);
}

.step-connector {
  display: none;
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
  animation: pop 0.2s ease;
}

.step-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.step-nav .btn {
  min-width: 150px;
}

/* ===================== CARDS (bold black-ruled blocks) ===================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 26px;
  margin-bottom: 28px;
}

.card {
  background: var(--card-bg);
  border: 3px solid var(--ink);
  border-top: 8px solid var(--ink);
  box-shadow: var(--card-shadow);
  padding: var(--card-padding);
  margin-bottom: 24px;
}

.card h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--ink);
  display: inline-block;
}

.card .val {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
}

.card .sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.summary-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 44px 24px;
}

.icon-badge {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.icon-badge.info {
  background: var(--ink);
  color: var(--surface);
}

.icon-badge.success {
  background: var(--primary);
  color: var(--primary-fg);
}

.icon-badge.warning {
  background: var(--surface);
  color: var(--ink);
}

/* ===================== SECTION HEADLINES ===================== */
h2,
h3 {
  font-family: var(--font-head);
}

.form-section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1;
}

/* ===================== FORMS ===================== */
.row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.row>div {
  flex: 1;
  min-width: 220px;
}

label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 6px;
}

input,
textarea,
select {
  width: 100%;
  background: var(--input-bg);
  border: 3px solid var(--ink);
  color: var(--ink);
  border-radius: 0;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: box-shadow 0.1s ease;
}

input:focus,
textarea:focus,
select:focus {
  box-shadow: 4px 4px 0 var(--primary);
}

textarea {
  resize: vertical;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* ===================== BUTTONS ===================== */
/* primary = ACCENT fill ; secondary(.ghost) = surface fill, ink text */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-fg);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: var(--btn-padding);
  border: 3px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--btn-shadow);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.12s ease;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--ink);
}

.btn.ghost {
  background: var(--surface);
  color: var(--ink);
}

.btn.ghost:hover {
  background: var(--muted-fill);
}

.btn.btn-text {
  background: transparent;
  color: var(--ink);
  border: none;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.4rem 0.6rem;
}

.btn.btn-text:hover {
  background: var(--muted-fill);
  transform: none;
  box-shadow: none;
}

.btn-sm {
  font-size: 0.7rem;
  padding: 0.4rem 0.8rem;
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-sm:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.add-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--ink);
  color: var(--surface);
  border: 3px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  margin-left: 8px;
  line-height: 1;
}

.add-bubble:hover {
  background: #000;
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

.file-name-label {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-left: 10px;
  font-weight: 600;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

/* ===================== BADGES / STATUS ===================== */
.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.7rem;
  margin: 0.2rem;
  border: 2px solid var(--ink);
  text-transform: uppercase;
}

.badge.good {
  background: var(--badge-good-bg);
  color: var(--badge-good-fg);
}

.badge.gap {
  background: var(--badge-gap-bg);
  color: var(--badge-gap-fg);
}

.skill-delete-btn {
  opacity: 0.6;
  transition: opacity 0.15s, transform 0.1s;
}

.skill-delete-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.26rem 0.7rem;
  border: 2px solid var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status.ok {
  background: var(--badge-good-bg);
  color: var(--badge-good-fg);
}

.status.warn {
  background: var(--badge-gap-bg);
  color: var(--badge-gap-fg);
}

/* ===================== ATS PANEL + GIANT HERO SCORE ===================== */
#ats-panel {
  background: var(--surface);
  border: 3px solid var(--ink);
  border-left: 10px solid var(--accent);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 24px;
  margin-bottom: 26px;
}

.ats-header-row {
  display: flex;
  align-items: stretch;
  gap: 26px;
  flex-wrap: wrap;
}

.ats-score-block {
  text-align: center;
  min-width: 220px;
  background: var(--score-block-bg);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ats-score-block label {
  color: var(--score-block-fg);
}

.score {
  font-family: var(--font-head);
  font-size: var(--score-size);
  font-weight: 900;
  color: var(--score-color);
  line-height: 0.85;
  letter-spacing: -3px;
  margin: 6px 0;
  text-shadow: 3px 3px 0 var(--ink);
}

.ats-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ats-label.strong {
  background: var(--label-strong-bg);
  color: var(--label-strong-fg);
}

.ats-label.tweaks {
  background: var(--label-tweaks-bg);
  color: var(--label-tweaks-fg);
}

.ats-label.low {
  background: var(--label-low-bg);
  color: var(--label-low-fg);
}

.kw-section {
  margin-top: 18px;
  border-top: 3px solid var(--ink);
  padding-top: 14px;
}

.kw-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 3px 5px 3px 0;
}

.kw-add-btn {
  background: var(--ink);
  border: 2px solid var(--ink);
  color: var(--surface);
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 7px;
  cursor: pointer;
  text-transform: uppercase;
}

.kw-add-btn:hover {
  background: #000;
}

.kw-toggle {
  background: none;
  border: none;
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: uppercase;
}

.kw-toggle:hover {
  color: var(--primary-dark);
}

.badge:hover {
  opacity: 0.7;
  transition: opacity 0.2s;
}

/* ===================== OUTPUT / PREVIEW ===================== */
#doc-msg {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
}

#doc-output {
  display: none;
  margin-top: 1.5rem;
  border-top: 8px solid var(--ink);
  padding-top: 1.5rem;
}

iframe#resume-preview {
  width: 100%;
  height: 680px;
  border: 3px solid var(--ink);
  background: #fff;
  box-shadow: 6px 6px 0 var(--ink);
  margin-top: 1rem;
}

#doc-text {
  width: 100%;
  min-height: 380px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.5;
  background: var(--surface);
  border: 3px solid var(--ink);
  color: var(--ink);
  padding: 18px;
  margin-top: 1rem;
}

/* ===================== SPINNER (square, brutalist) ===================== */
.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #ccc;
  border-top-color: var(--ink);
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  animation: spin 0.7s steps(8) infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===================== UPLOAD PROGRESS ===================== */
.pulse-doc {
  animation: pulse-opacity 1.2s ease-in-out infinite;
}

@keyframes pulse-opacity {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
  }
}

.progress-bar-container {
  width: 100%;
  height: 5px;
  background: var(--surface);
  border: 1px solid var(--ink);
  margin-top: 8px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  width: 30%;
  position: absolute;
  top: 0;
  left: -30%;
  animation: indeterminate-progress 1.5s ease-in-out infinite;
}

@keyframes indeterminate-progress {
  0% {
    left: -30%;
    width: 30%;
  }

  50% {
    left: 30%;
    width: 50%;
  }

  100% {
    left: 100%;
    width: 30%;
  }
}

/* ===================== JOB TABLE / APP LOG ===================== */
.job-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  border: 3px solid var(--ink);
}

.job-table th,
.job-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--ink);
  font-size: 0.88rem;
}

.job-table th {
  font-family: var(--font-head);
  color: var(--surface);
  background: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
}

.job-table td {
  color: var(--ink);
}

.job-table tr:hover td {
  background: var(--hover-tint);
}

.status-dropdown {
  font-family: var(--font-sans);
  font-weight: 700;
}

/* ===================== PROFILE GRID ===================== */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 1rem;
}

.data-block h3 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 10px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 6px;
}

.data-block ul {
  list-style: none;
  padding: 0;
}

.data-block li {
  font-size: 0.9rem;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid var(--muted-fill);
}

.data-block li:last-child {
  border-bottom: none;
}

.ui-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
  vertical-align: text-bottom;
  margin-right: 6px;
  display: inline-block;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-right: none;
    border-bottom: 4px solid var(--ink);
  }

  .side-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-foot {
    display: none;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .ats-header-row {
    flex-direction: column;
  }
}

/* ===================== THEMES ===================== */
/* Default / Acid Lime */
:root.theme-acid-lime, :root {
  --accent-base: #C3F903;
  --accent-shade-1: #8FB602;
  --accent-shade-2: #5C7501;
  --accent-tint-0: #D0FA35;
  --accent-tint-1: #DDFB68;
  --accent-tint-2: #EAFD9B;
  --accent-fg: #111111;
}

:root.theme-burnt-orange {
  --accent-base: #C4501E;
  --accent-shade-1: #8A3714;
  --accent-shade-2: #4C1E0B;
  --accent-tint-0: #D0742F;
  --accent-tint-1: #E29A6C;
  --accent-tint-2: #F0C6AC;
  --accent-fg: #FFFFFF;
}

:root.theme-forest-emerald {
  --accent-base: #1B7A4D;
  --accent-shade-1: #125635;
  --accent-shade-2: #0A3020;
  --accent-tint-0: #3E9B6C;
  --accent-tint-1: #7DC49E;
  --accent-tint-2: #BEE5D1;
  --accent-fg: #FFFFFF;
}

:root.theme-deep-violet {
  --accent-base: #5B3A9E;
  --accent-shade-1: #3E2670;
  --accent-shade-2: #22143F;
  --accent-tint-0: #7E5CBB;
  --accent-tint-1: #AC91D6;
  --accent-tint-2: #D6C7EE;
  --accent-fg: #FFFFFF;
}

:root.theme-teal-cyan {
  --accent-base: #1C8C93;
  --accent-shade-1: #136066;
  --accent-shade-2: #0A3639;
  --accent-tint-0: #3AA5AA;
  --accent-tint-1: #79C4C8;
  --accent-tint-2: #BCE3E5;
  --accent-fg: #FFFFFF;
}

:root.theme-crimson-red {
  --accent-base: #E31E24;
  --accent-shade-1: #9B1518;
  --accent-shade-2: #560B0D;
  --accent-tint-0: #E9524F;
  --accent-tint-1: #F08688;
  --accent-tint-2: #F7C4C5;
  --accent-fg: #FFFFFF;
}

:root.theme-golden-mustard {
  --accent-base: #E8A83C;
  --accent-shade-1: #A67527;
  --accent-shade-2: #5C4116;
  --accent-tint-0: #ECB759;
  --accent-tint-1: #F0C67D;
  --accent-tint-2: #F7E1B8;
  --accent-fg: #111111;
}
/* ===================== THEME PILLS ===================== */
.theme-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}
.theme-pill:hover {
  background: var(--hover-tint);
}
.theme-pill.active {
  background: var(--ink);
  color: var(--surface);
}
.theme-pill .dot {
  width: 16px;
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 0;
  flex-shrink: 0;
}
.theme-pill.active .dot {
  border-color: var(--surface);
}