:root {
  --bg: #f1f5f9;
  --surface: #ffffff;
  --surface-subtle: #f8fafc;
  --navy: #0f172a;
  --slate-800: #1e293b;
  --slate-600: #475569;
  --slate-500: #64748b;
  --border: #e2e8f0;
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-soft: #e0f2fe;
  --ai: #059669;
  --ai-soft: #d1fae5;
  --ai-border: #a7f3d0;
  --warn: #d97706;
  --warn-soft: #fef3c7;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--navy);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

button, input, select, textarea {
  font-family: inherit;
}

/* ==================== TOP DEMO BAR ==================== */
.demo-bar {
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 40;
}

.brand-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.badge-prototype {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
}

.demo-bar-center {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px;
  border-radius: 10px;
  gap: 4px;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.view-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.view-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.demo-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-chip {
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: rgba(16, 185, 129, 0.16);
  color: #a7f3d0;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.action-chip:hover {
  background: rgba(16, 185, 129, 0.28);
  color: #fff;
}

.action-chip.secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.action-chip.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ==================== WORKSPACE MODES ==================== */
.workspace {
  flex: 1;
  display: grid;
  gap: 16px;
  padding: 16px;
  max-width: 1720px;
  width: 100%;
  margin: 0 auto;
}

.workspace.mode-split {
  grid-template-columns: minmax(0, 1fr) 410px;
  align-items: start;
}

.workspace.mode-office {
  grid-template-columns: 1fr;
}
.workspace.mode-office .mobile-pane {
  display: none;
}

.workspace.mode-mobile {
  grid-template-columns: 1fr;
}
.workspace.mode-mobile .office-pane {
  display: none;
}

@media (max-width: 1180px) {
  .workspace.mode-split {
    grid-template-columns: 1fr;
  }
}

/* ==================== OFFICE WEB VIEW ==================== */
.office-pane {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-height: 790px;
  display: flex;
}

.office-shell {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  width: 100%;
}

@media (max-width: 820px) {
  .office-shell {
    grid-template-columns: 1fr;
  }
}

.office-sidebar {
  background: var(--surface-subtle);
  border-right: 1px solid var(--border);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.office-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #0f172a);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.logo-title {
  font-weight: 700;
  font-size: 14px;
}

.logo-sub {
  font-size: 11px;
  color: var(--slate-500);
}

.office-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-group-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  padding: 10px 10px 3px;
}

.nav-group-label:first-child {
  padding-top: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--slate-600);
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.nav-item:hover {
  background: #e2e8f066;
  color: var(--navy);
}

.nav-item.active {
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 600;
}

.nav-badge {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
}
.nav-badge.neutral { background: #cbd5e1; color: var(--navy); }
.nav-badge.success { background: var(--ai-soft); color: #065f46; }
.nav-badge.warn { background: var(--warn-soft); color: #92400e; }
.nav-badge.danger { background: var(--danger-soft); color: #991b1b; }

.sidebar-ai-card {
  margin-top: auto;
  background: linear-gradient(160deg, #ecfdf5, #f0f9ff);
  border: 1px solid var(--ai-border);
  border-radius: 12px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--slate-800);
}

.ai-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #065f46;
  background: var(--ai-soft);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.sidebar-ai-card p {
  margin: 0;
}

.office-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.office-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.office-page-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}

.office-page-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--slate-500);
}

.office-user {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.user-name { font-size: 12.5px; font-weight: 600; }
.user-role { font-size: 11px; color: var(--slate-500); }

.office-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 960px) {
  .office-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.kpi-card {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}

.kpi-label { font-size: 11.5px; color: var(--slate-500); font-weight: 500; }
.kpi-value { font-size: 20px; font-weight: 700; margin-top: 4px; }
.kpi-trend { font-size: 11px; color: var(--ai); margin-top: 2px; font-weight: 500; }
.kpi-trend.warn { color: var(--warn); }

.office-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Cards & Grids inside Office Body */
.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 14px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

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

.email-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  background: var(--surface);
}

.email-item:hover { border-color: #94a3b8; }
.email-item.selected {
  border-color: var(--primary);
  background: #f0f9ff;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12);
}

.email-item.converted {
  opacity: 0.72;
  background: var(--surface-subtle);
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.tag.ai { background: var(--ai-soft); color: #065f46; }
.tag.blue { background: var(--primary-soft); color: var(--primary-dark); }
.tag.warn { background: var(--warn-soft); color: #92400e; }
.tag.danger { background: var(--danger-soft); color: #991b1b; }
.tag.gray { background: #e2e8f0; color: var(--slate-800); }

.email-sender { font-size: 12px; color: var(--slate-500); margin-top: 4px; }
.email-subject { font-size: 13.5px; font-weight: 600; margin-top: 2px; }
.email-snippet { font-size: 12px; color: var(--slate-600); margin-top: 5px; line-height: 1.4; }

.ai-extract-box {
  background: linear-gradient(180deg, #f0fdf4, #ffffff);
  border: 1px solid var(--ai-border);
  border-radius: 10px;
  padding: 14px;
  margin-top: 10px;
}

.ai-dispatch-note {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 9px 11px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #78350f;
}

.ai-dispatch-note.ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.field-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}

.field-label { font-size: 10.5px; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.03em; }
.field-val { font-size: 12.5px; font-weight: 600; margin-top: 2px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 9px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ai { background: var(--ai); color: #fff; }
.btn-ai:hover { background: #047857; }
.btn-outline {
  background: #fff;
  color: var(--slate-800);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--surface-subtle); }
.btn-sm { padding: 6px 10px; font-size: 12px; border-radius: 7px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* Resource Board / Planning */
.planner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

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

.tech-column {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.order-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
}

.order-card.highlight-new {
  border-color: var(--ai);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.data-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--slate-500);
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table td:not(:first-child) {
  white-space: nowrap;
}

.progress-track {
  height: 7px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 4px;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
}
.progress-fill.warn { background: var(--warn); }
.progress-fill.ai { background: var(--ai); }

/* ==================== FIELD MOBILE VIEW ==================== */
.mobile-pane {
  display: flex;
  justify-content: center;
}

.mobile-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 400px;
}

.mobile-context-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.sync-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #065f46;
  background: var(--ai-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ai);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.tech-select {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--navy);
}

.phone-frame {
  width: 376px;
  height: 750px;
  background: #ffffff;
  border: 10px solid #0f172a;
  border-radius: 42px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 116px;
  height: 22px;
  background: #0f172a;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.notch-speaker {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: #334155;
}

.notch-camera {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e293b;
}

.phone-statusbar {
  padding: 10px 22px 4px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  background: #f8fafc;
}

.mobile-app-header {
  background: linear-gradient(135deg, #0f172a, #0369a1);
  color: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-app-brand { font-weight: 700; font-size: 15px; }
.mobile-app-tech { font-size: 11px; color: #bae6fd; margin-top: 1px; }

.mobile-online-pill {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #a7f3d0;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}

.phone-screen {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.m-card.new-order {
  border-color: var(--ai);
  background: #f0fdf4;
}

.m-section-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 4px 0 2px;
}

.m-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
}

.m-check-row:last-child { border-bottom: none; }

.m-input, .m-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12.5px;
  background: #fff;
}

.m-textarea {
  min-height: 70px;
  resize: vertical;
}

.photo-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1f5f9;
  border: 1px dashed #94a3b8;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
}

.photo-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, #334155, #0284c7);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.mobile-tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 6px 4px 10px;
}

.m-tab {
  position: relative;
  border: none;
  background: transparent;
  color: var(--slate-500);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 2px;
  cursor: pointer;
}

.m-tab.active {
  color: var(--primary);
}

.m-badge {
  position: absolute;
  top: 0;
  right: 18px;
  background: var(--primary);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 999px;
}

.mobile-tabbar.five-tabs {
  grid-template-columns: repeat(5, 1fr);
}

.mobile-tabbar.five-tabs .m-tab {
  font-size: 10px;
}

.mobile-tabbar.five-tabs .m-badge {
  right: 11px;
}

.m-badge.warn {
  background: var(--warn);
}

/* Charts, Flow Diagrams & Report Modals */
.subtabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.subtab-btn {
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--slate-600);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.subtab-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  align-items: end;
  height: 155px;
  padding: 12px 6px 4px;
  border-bottom: 1px solid var(--border);
}

.chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  height: 100%;
  justify-content: flex-end;
}

.bar-pair {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 115px;
  width: 100%;
  justify-content: center;
}

.bar-rev {
  width: 12px;
  background: var(--primary);
  border-radius: 4px 4px 0 0;
}

.bar-rev.forecast {
  background: repeating-linear-gradient(45deg, #0284c7, #0284c7 4px, #bae6fd 4px, #bae6fd 8px);
}

.bar-profit {
  width: 10px;
  background: var(--ai);
  border-radius: 4px 4px 0 0;
}

.bar-profit.forecast {
  background: repeating-linear-gradient(45deg, #059669, #059669 4px, #a7f3d0 4px, #a7f3d0 8px);
}

.chart-month {
  font-size: 10.5px;
  color: var(--slate-500);
  font-weight: 600;
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

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

.flow-node {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 12px;
}

.flow-node.core {
  background: linear-gradient(135deg, #ecfdf5, #e0f2fe);
  border-color: var(--ai-border);
  font-weight: 600;
}

.alert-banner {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: #78350f;
}

.doc-preview-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  font-size: 12.5px;
  line-height: 1.5;
}

/* AI Chat in Mobile */
.chat-bubble {
  padding: 9px 11px;
  border-radius: 11px;
  font-size: 12px;
  line-height: 1.45;
  max-width: 92%;
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--ai-border);
  color: var(--navy);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--navy);
  color: #fff;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
  animation: slideUp 0.2s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.muted { color: var(--slate-500); font-size: 12px; }
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }
.flex-gap { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
