/* ============================================================
   Stone & Saffron Design System — PTC v2
   base.css
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Syne:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700&family=DM+Sans:wght@400;500;600&display=swap');

/* ── Tabler Icons ── */
@import url('https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/tabler-icons.min.css');

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  /* Bases */
  --color-obsidian:   #1C1A17;
  --color-stone:      #F5F2ED;
  --color-cream:      #FFFFFF;
  --color-linen:      #E8E3DC;
  --color-ash:        #9A9589;
  --color-charcoal:   #4A4540;
  --color-border:     #C4BFB8;
  --color-hover-card: #FAFAF8;
  --color-sidebar-hover: #2E2C28;
  --color-sidebar-icon:  #8C8780;

  /* Acento */
  --color-saffron:    #D97706;
  --color-saffron-lt: #FEF3C7;
  --color-saffron-dk: #92400E;
  --color-saffron-border: #FDE68A;

  /* Semânticas */
  --color-sage:       #059669;
  --color-sage-lt:    #D1FAE5;
  --color-sage-border:#6EE7B7;
  --color-sage-dk:    #065F46;
  --color-rust:       #DC2626;
  --color-rust-lt:    #FEE2E2;
  --color-rust-border:#FCA5A5;
  --color-rust-dk:    #991B1B;

  /* Espaçamento */
  --spacing-xs:  8px;
  --spacing-sm:  12px;
  --spacing-md:  16px;
  --spacing-lg:  24px;
  --spacing-xl:  32px;

  /* Raios */
  --radius-card:  10px;
  --radius-btn:   8px;
  --radius-pill:  20px;
  --radius-input: 8px;

  /* Bordas */
  --border-width: 0.5px;

  /* Sidebar */
  --sidebar-collapsed: 52px;
  --sidebar-expanded:  220px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-charcoal);
  background: var(--color-stone);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   3. LAYOUT — APP SHELL
   ============================================================ */
.app-shell {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  min-width: 0;
  overflow-x: hidden;
  margin-left: var(--sidebar-expanded);
  padding: var(--spacing-lg);
  min-height: 100vh;
  transition: margin-left 0.2s ease;
}

@media (max-width: 1024px) {
  .main-content {
    margin-left: var(--sidebar-collapsed);
  }
}

@media (max-width: 640px) {
  .main-content {
    margin-left: 0;
    padding: var(--spacing-md);
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
}

/* ============================================================
   4. SIDEBAR — DESKTOP
   ============================================================ */
.sidebar {
  width: var(--sidebar-expanded);
  background: var(--color-obsidian);
  height: 100vh;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  overflow: hidden;
  transition: width 0.2s ease;
}

.sidebar-logo {
  padding: 4px 10px 20px;
  white-space: nowrap;
  overflow: hidden;
  display: block;
  line-height: 1;
}

.logo-top {
  font-family: 'Syne', sans-serif;
  font-style: italic;
  font-weight: 700;
  color: #F5F2ED;
  font-size: 13px;
  display: block;
  line-height: 1.25;
  letter-spacing: 0;
}

.logo-bottom {
  font-family: 'Syne', sans-serif;
  font-style: normal;
  font-weight: 800;
  color: #F97316;
  font-size: 22px;
  display: block;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--color-sidebar-icon);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  overflow: hidden;
}

.nav-item:hover {
  background: var(--color-sidebar-hover);
  color: var(--color-border);
}

.nav-item.active {
  background: var(--color-saffron);
  color: #FFFFFF;
}

.nav-item i {
  font-size: 18px;
  flex-shrink: 0;
}

.nav-item span { overflow: hidden; }

.nav-divider {
  height: var(--border-width);
  background: var(--color-sidebar-hover);
  margin: 6px 0;
}

.nav-spacer { flex: 1; }

/* Sidebar colapsada (tablet) */
@media (max-width: 1024px) {
  .sidebar {
    width: var(--sidebar-collapsed);
  }
  .sidebar-logo span,
  .nav-item span {
    display: none;
  }
  .sidebar-logo {
    padding: 0 4px 20px;
    font-size: 14px;
    letter-spacing: 0;
  }
  .nav-item {
    justify-content: center;
    gap: 0;
    padding: 10px;
  }
}

/* Sidebar oculta no mobile */
@media (max-width: 640px) {
  .sidebar { display: none; }
}

/* ============================================================
   5. BOTTOM NAVIGATION — MOBILE
   ============================================================ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-obsidian);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  border-top: var(--border-width) solid var(--color-sidebar-hover);
}

@media (max-width: 640px) {
  .bottom-nav { display: flex; }
}

.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--color-sidebar-icon);
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-btn);
  transition: color 0.15s;
  font-family: 'DM Sans', sans-serif;
}

.bn-item i { font-size: 22px; }

.bn-item.active { color: var(--color-saffron); }

/* ============================================================
   6. PAGE HEADER
   ============================================================ */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.page-title {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--color-obsidian);
  line-height: 1.2;
}

.page-subtitle {
  font-size: 13px;
  color: var(--color-ash);
  margin-top: 2px;
}

.page-actions {
  display: flex;
  gap: var(--spacing-xs);
  align-items: center;
  flex-shrink: 0;
}

/* ============================================================
   7. METRIC CARDS
   ============================================================ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

@media (max-width: 1024px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-xs); }
}

.metric-card {
  background: var(--color-cream);
  border: var(--border-width) solid var(--color-linen);
  border-radius: var(--radius-card);
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.15s;
  position: relative;
}

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

.metric-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.metric-card-icon.sage  { background: var(--color-sage-lt);    color: var(--color-sage); }
.metric-card-icon.warn  { background: var(--color-saffron-lt); color: var(--color-saffron); }
.metric-card-icon.rust  { background: var(--color-rust-lt);    color: var(--color-rust); }
.metric-card-icon.info  { background: var(--color-linen);      color: var(--color-charcoal); }

.metric-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-ash);
}

.metric-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  color: var(--color-obsidian);
  line-height: 1;
  letter-spacing: 0.02em;
}

.metric-value.large { font-size: 36px; }

.metric-delta {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}

.metric-delta.positive { color: var(--color-sage); }
.metric-delta.warning  { color: var(--color-saffron); }
.metric-delta.negative { color: var(--color-rust); }
.metric-delta.neutral  { color: var(--color-ash); }

/* ============================================================
   8. SECTION CARD (container genérico)
   ============================================================ */
.section-card {
  background: var(--color-cream);
  border: var(--border-width) solid var(--color-linen);
  border-radius: var(--radius-card);
  padding: var(--spacing-lg);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
  gap: var(--spacing-sm);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-obsidian);
}

.section-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-saffron);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-link:hover { opacity: 0.8; }

/* ============================================================
   9. BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--color-obsidian);
  color: var(--color-stone);
  border: none;
  border-radius: var(--radius-btn);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.btn-primary:hover { opacity: 0.85; }

.btn-accent {
  background: var(--color-saffron);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-btn);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.btn-accent:hover { opacity: 0.9; }

.btn-secondary {
  background: transparent;
  color: var(--color-obsidian);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-btn);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--color-linen);
  border-color: var(--color-ash);
}

.btn-icon {
  background: transparent;
  border: none;
  color: var(--color-ash);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.btn-icon:hover {
  background: var(--color-linen);
  color: var(--color-charcoal);
}

.btn-sm { padding: 6px 12px; font-size: 12px; }

/* ============================================================
   10. INPUTS & FORMS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-ash);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--color-cream);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-input);
  padding: 9px 12px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  color: var(--color-charcoal);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

.form-input::placeholder { color: var(--color-ash); }

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-input-prefix {
  position: relative;
}

.form-input-prefix .prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--color-ash);
  pointer-events: none;
}

.form-input-prefix input { padding-left: 32px; }

.form-hint {
  font-size: 11px;
  color: var(--color-ash);
}

.form-error {
  font-size: 11px;
  color: var(--color-rust);
}

/* ============================================================
   11. STATUS PILLS
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}

.pill-ok   { background: var(--color-sage-lt);    color: var(--color-sage-dk); }
.pill-warn { background: var(--color-saffron-lt); color: var(--color-saffron-dk); }
.pill-err  { background: var(--color-rust-lt);    color: var(--color-rust-dk); }
.pill-info { background: var(--color-linen);      color: var(--color-charcoal); }

/* ============================================================
   12. ALERT CARDS
   ============================================================ */
.alert-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: var(--radius-card);
  padding: 12px 14px;
  border: var(--border-width) solid transparent;
}

.alert-card.warning {
  background: var(--color-saffron-lt);
  border-color: var(--color-saffron-border);
}

.alert-card.error {
  background: var(--color-rust-lt);
  border-color: var(--color-rust-border);
}

.alert-card.success {
  background: var(--color-sage-lt);
  border-color: var(--color-sage-border);
}

.alert-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-saffron);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.alert-card.error .alert-icon { background: var(--color-rust); }
.alert-card.success .alert-icon { background: var(--color-sage); }

.alert-content { flex: 1; min-width: 0; }

.alert-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-saffron-dk);
  margin: 0 0 2px;
  line-height: 1.4;
}

.alert-card.error .alert-title { color: var(--color-rust-dk); }
.alert-card.success .alert-title { color: var(--color-sage-dk); }

.alert-sub {
  font-size: 11px;
  color: #B45309;
  margin: 0;
}

.alert-card.error .alert-sub { color: #B91C1C; }
.alert-card.success .alert-sub { color: #047857; }

.alerts-list { display: flex; flex-direction: column; gap: 8px; }

/* ============================================================
   13. SCORE DE SAÚDE
   ============================================================ */
.score-card {
  background: var(--color-cream);
  border: var(--border-width) solid var(--color-linen);
  border-radius: var(--radius-card);
  padding: var(--spacing-lg);
}

.score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
}

.score-overall {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--color-obsidian);
  line-height: 1;
}

.score-badge {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.score-badge .score-total {
  font-size: 14px;
  color: var(--color-ash);
  font-family: 'DM Sans', sans-serif;
}

.score-list { display: flex; flex-direction: column; gap: 10px; }

.score-row {
  display: grid;
  grid-template-columns: 72px 1fr 32px;
  align-items: center;
  gap: 10px;
}

.score-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-charcoal);
  white-space: nowrap;
}

.score-bar-bg {
  height: 6px;
  background: var(--color-linen);
  border-radius: 3px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.score-pct {
  font-size: 11px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  text-align: right;
}

/* ============================================================
   14. WEEKLY REPORT BANNER
   ============================================================ */
.weekly-report-banner {
  background: var(--color-obsidian);
  border-radius: var(--radius-card);
  padding: var(--spacing-md) var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.report-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: var(--spacing-md);
}

.report-header-icon {
  width: 36px;
  height: 36px;
  background: rgba(217, 119, 6, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-saffron);
  font-size: 18px;
  flex-shrink: 0;
}

.report-header-text { flex: 1; }

.report-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-stone);
  margin: 0 0 2px;
}

.report-sub {
  font-size: 11px;
  color: var(--color-sidebar-icon);
  margin: 0;
}

.report-close {
  background: transparent;
  border: none;
  color: var(--color-sidebar-icon);
  cursor: pointer;
  font-size: 16px;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.report-close:hover {
  background: var(--color-sidebar-hover);
  color: var(--color-stone);
}

.report-stats {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.report-stat { display: flex; flex-direction: column; gap: 2px; }

.stat-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-sidebar-icon);
}

.stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--color-stone);
  line-height: 1;
}

.stat-delta {
  font-size: 11px;
  font-weight: 500;
}

.stat-delta.positive { color: #34D399; }
.stat-delta.negative { color: #F87171; }

@media (max-width: 640px) {
  .weekly-report-banner { padding: var(--spacing-md); }
  .report-stats { gap: var(--spacing-md); }
  .stat-value { font-size: 18px; }
}

/* ============================================================
   15. CHART CONTAINER
   ============================================================ */
.chart-container {
  position: relative;
  width: 100%;
}

.chart-canvas-wrap {
  position: relative;
  width: 100%;
  height: 200px;
}

@media (max-width: 640px) {
  .chart-canvas-wrap { height: 160px; }
}

/* ============================================================
   16. MODAL — DESKTOP / BOTTOM SHEET — MOBILE
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.15s ease;
}

.modal-overlay.open { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Mobile: bottom sheet */
.modal {
  background: var(--color-cream);
  border-radius: 16px 16px 0 0;
  padding: 12px 20px 32px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.sheet-handle {
  width: 36px;
  height: 4px;
  background: var(--color-linen);
  border-radius: 2px;
  margin: 0 auto var(--spacing-md);
}

/* Desktop: modal centralizado */
@media (min-width: 641px) {
  .modal-overlay { align-items: center; }
  .modal {
    border-radius: var(--radius-card);
    width: 520px;
    max-height: 80vh;
    padding: var(--spacing-lg);
    animation: scaleIn 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  @keyframes scaleIn {
    from { opacity: 0; transform: scale(0.97); }
    to   { opacity: 1; transform: scale(1); }
  }
  .sheet-handle { display: none; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
}

.modal-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--color-obsidian);
}

.modal-body { margin-bottom: var(--spacing-lg); }

.modal-footer {
  display: flex;
  gap: var(--spacing-xs);
  justify-content: flex-end;
  padding-top: var(--spacing-md);
  border-top: var(--border-width) solid var(--color-linen);
}

/* ============================================================
   17. TABLE
   ============================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-ash);
  text-align: left;
  padding: 8px 12px;
  border-bottom: var(--border-width) solid var(--color-linen);
  white-space: nowrap;
}

.data-table td {
  padding: 11px 12px;
  border-bottom: var(--border-width) solid var(--color-linen);
  color: var(--color-charcoal);
  vertical-align: middle;
}

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

.data-table tbody tr:hover { background: var(--color-hover-card); }

/* Mobile: tabela vira cards */
@media (max-width: 640px) {
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ============================================================
   18. GRID HELPERS
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-md);
}

@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ============================================================
   19. DIVIDER
   ============================================================ */
.divider {
  height: var(--border-width);
  background: var(--color-linen);
  margin: var(--spacing-md) 0;
}

/* ============================================================
   20. EMPTY STATE
   ============================================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
  color: var(--color-ash);
}

.empty-icon { font-size: 40px; opacity: 0.4; }
.empty-title { font-size: 14px; font-weight: 500; color: var(--color-charcoal); }
.empty-desc  { font-size: 12px; color: var(--color-ash); max-width: 260px; }

/* ============================================================
   21. SKELETON LOADER
   ============================================================ */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--color-linen) 25%, #F0EDE8 50%, var(--color-linen) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
}

/* ============================================================
   22. SCROLLBAR
   ============================================================ */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-linen); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-border); }

/* ============================================================
   23. UTILITIES
   ============================================================ */
.text-sage    { color: var(--color-sage); }
.text-rust    { color: var(--color-rust); }
.text-saffron { color: var(--color-saffron); }
.text-ash     { color: var(--color-ash); }
.text-obs     { color: var(--color-obsidian); }

.font-bebas { font-family: 'Bebas Neue', sans-serif; }
.font-syne  { font-family: 'Syne', sans-serif; }

.text-xs  { font-size: 10px; }
.text-sm  { font-size: 12px; }
.text-md  { font-size: 14px; }

.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }

.gap-xs { gap: var(--spacing-xs); }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }

.flex      { display: flex; }
.flex-col  { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

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