/* ============================================================
   ADDITIONS — for 4-cat layout, Budget Editor, Role badge, Audit log
   ============================================================ */

/* 4-COLUMN CAT GRID */
.cat-grid.four {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-grid.four .cat-card-inner { padding: 22px 20px 20px; }
.cat-grid.four .cat-name { font-size: 15px; }
.cat-grid.four .cat-row-value { font-size: 18px; }
.cat-grid.four .foot-num { font-size: 16px; }

/* 4-COLUMN CAT PICKER (LOG) */
.cat-picker.four { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat-picker.four .cat-pick { padding: 16px 12px; }
.cat-picker.four .cat-pick-name { font-size: 13px; }
.cat-picker.four .cat-pick-remain { font-size: 10px; }

/* ITEM PICKER (LOG) */
.item-picker select {
  font-size: 14px;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239CA3AF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* PREVIEW ITEM (LOG) */
.preview-item {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
}
.preview-item-label { font-size: 10px; color: #6B7280; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.preview-item-name { font-size: 14px; font-weight: 600; color: #F3F4F6; }

/* OT 4-col SEG */
.seg-control.four { grid-template-columns: repeat(4, 1fr); }
.seg-control.four button { padding: 9px 4px; font-size: 12px; }

/* 5-COLUMN TABLE (with item column) */
.table-head.five-col,
.entries-table .table-head,
.table-row.five-col {
  grid-template-columns: 70px 80px 1fr 130px 50px 110px;
}
.entries-table .table-head { grid-template-columns: 70px 80px 1fr 130px 50px 110px; }
.td-item { color: #D1D5DB; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================================================
   ROLE BADGE
   ============================================================ */
.role-badge-wrap { position: relative; }
.role-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #E5E7EB;
  transition: all 0.2s;
}
.role-badge:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.15); }
.role-badge .role-icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 12px;
}
.role-badge.role-pm .role-icon { background: linear-gradient(135deg, #FBBF24, #F59E0B); color: #1F2937; }
.role-badge.role-foreman .role-icon { background: rgba(255, 255, 255, 0.08); color: #9CA3AF; }
.role-name { letter-spacing: 0.3px; }
.role-caret { font-size: 9px; opacity: 0.6; margin-left: 2px; }

.role-menu {
  position: absolute;
  top: calc(100% + 8px); right: 0;
  width: 280px;
  background: rgba(17, 20, 30, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  z-index: 200;
  padding: 8px;
  animation: menuPop 0.2s cubic-bezier(.2, 1.4, .4, 1) both;
}
@keyframes menuPop { from { opacity: 0; transform: translateY(-4px) scale(0.96); } to { opacity: 1; transform: none; } }
.role-menu-head {
  padding: 8px 12px 6px;
  font-size: 10px; color: #6B7280;
  text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600;
}
.role-option {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border-radius: 10px;
  text-align: left;
  transition: background 0.15s;
}
.role-option:hover { background: rgba(255, 255, 255, 0.04); }
.role-option.active { background: rgba(245, 158, 11, 0.08); }
.role-option .role-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; }
.role-option.active .role-icon { background: linear-gradient(135deg, #FBBF24, #F59E0B); color: #1F2937; }
.role-opt-name { font-size: 13px; font-weight: 600; color: #F3F4F6; }
.role-opt-sub { font-size: 11px; color: #9CA3AF; margin-top: 1px; }
.role-check { margin-left: auto; color: #34D399; font-weight: 700; }

/* ============================================================
   BUDGET SHEET (Spreadsheet-style editor)
   ============================================================ */
.readonly-note {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 10px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #FBBF24;
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  margin-left: 10px;
  vertical-align: middle;
}

.budget-sheet {
  background: rgba(17, 20, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  margin-top: 8px;
  animation: slideUp 0.5s cubic-bezier(.2, .9, .3, 1) both;
}

.bs-head, .bs-cat-row, .bs-item-row, .bs-grand-row, .bs-add-trigger {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 130px 120px 130px 140px 90px;
  gap: 14px;
  padding: 12px 22px;
  align-items: center;
}

.bs-head {
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px; color: #9CA3AF;
  text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.bs-head .bs-col-budget,
.bs-head .bs-col-spent,
.bs-head .bs-col-remain { text-align: right; }
.bs-head .bs-col-pct { text-align: center; }
.bs-head .bs-col-act { text-align: right; }

.bs-cat-row {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s;
}
.bs-cat-row:hover { background: rgba(255, 255, 255, 0.05); }
.bs-group { animation: slideUp 0.5s cubic-bezier(.2, .9, .3, 1) both; }
.bs-toggle {
  display: inline-block;
  width: 20px; height: 20px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  text-align: center; line-height: 20px;
  font-size: 11px; color: #D1D5DB;
}
.bs-cat-icon {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  color: white; font-size: 14px; font-weight: 700;
  margin-right: 10px;
  vertical-align: middle;
}
.bs-cat-name { font-size: 15px; font-weight: 700; color: #F3F4F6; vertical-align: middle; }
.bs-cat-count { font-size: 11px; color: #6B7280; margin-left: 8px; vertical-align: middle; }

.bs-item-row {
  font-size: 13px; color: #D1D5DB;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.15s;
}
.bs-item-row:hover { background: rgba(255, 255, 255, 0.02); }
.bs-item-row.editing { background: rgba(245, 158, 11, 0.04); }
.bs-item-row .bs-col-no { color: #6B7280; font-size: 12px; font-variant-numeric: tabular-nums; }

.bs-money { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.bs-money.strong { font-weight: 700; font-size: 14px; color: #F3F4F6; }
.bs-money.muted { color: #9CA3AF; }
.bs-cat-row .bs-money.strong { font-size: 15px; color: #F9FAFB; }

.bs-editable { cursor: pointer; transition: color 0.15s; padding: 4px 6px; margin: -4px -6px; border-radius: 4px; }
.bs-editable:hover { background: rgba(245, 158, 11, 0.08); color: #FBBF24; }

.bs-pct-bar {
  display: inline-block;
  width: 80px;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  vertical-align: middle;
  margin-right: 8px;
}
.bs-pct-bar.small { height: 4px; width: 70px; }
.bs-pct-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(.2, .9, .3, 1);
}
.bs-pct-text {
  font-size: 11px; font-weight: 600; color: #9CA3AF;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}
.bs-cat-row .bs-pct-text { color: #E5E7EB; font-size: 12px; }

.bs-input {
  width: 100%;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 6px;
  color: #F3F4F6;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}
.bs-input:focus { box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2); }
.bs-num-input { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

.bs-row-actions, .bs-edit-actions { display: flex; gap: 4px; justify-content: flex-end; }
.bs-mini-btn {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px; color: #D1D5DB;
  display: grid; place-items: center;
  transition: all 0.15s;
}
.bs-mini-btn:hover { background: rgba(255, 255, 255, 0.1); color: #F3F4F6; }
.bs-mini-btn.danger:hover { background: rgba(239, 68, 68, 0.2); color: #FCA5A5; border-color: rgba(239, 68, 68, 0.3); }
.bs-mini-btn.save { background: rgba(16, 185, 129, 0.15); color: #34D399; border-color: rgba(16, 185, 129, 0.3); }
.bs-mini-btn.save:hover { background: rgba(16, 185, 129, 0.25); }
.bs-mini-btn.cancel { background: rgba(255, 255, 255, 0.04); }

.bs-add-trigger {
  cursor: pointer;
  color: #6B7280;
  font-size: 12px;
  font-style: italic;
  padding: 10px 22px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  transition: all 0.15s;
}
.bs-add-trigger:hover { color: #FBBF24; background: rgba(245, 158, 11, 0.04); }
.bs-add-row {
  background: rgba(245, 158, 11, 0.06);
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

.bs-grand-row {
  background: rgba(245, 158, 11, 0.08);
  border-top: 2px solid rgba(245, 158, 11, 0.25);
  padding: 16px 22px;
  font-size: 14px;
}
.bs-grand-row strong { color: #FBBF24; letter-spacing: 0.3px; }
.bs-grand-row .bs-money.strong { color: #F9FAFB; font-size: 16px; }

/* ============================================================
   AUDIT LOG
   ============================================================ */
.audit-card {
  background: rgba(17, 20, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.audit-row {
  display: grid;
  grid-template-columns: 110px 1fr 130px 80px;
  gap: 14px;
  padding: 12px 22px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13px;
}
.audit-row:last-child { border-bottom: none; }
.audit-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid;
}
.audit-tag.tag-create { background: rgba(16, 185, 129, 0.12); color: #34D399; border-color: rgba(16, 185, 129, 0.3); }
.audit-tag.tag-edit { background: rgba(59, 130, 246, 0.12); color: #93C5FD; border-color: rgba(59, 130, 246, 0.3); }
.audit-tag.tag-delete { background: rgba(239, 68, 68, 0.12); color: #FCA5A5; border-color: rgba(239, 68, 68, 0.3); }
.audit-detail { color: #E5E7EB; }
.audit-user { font-size: 11px; color: #9CA3AF; font-weight: 600; letter-spacing: 0.5px; }
.audit-time { font-size: 11px; color: #6B7280; text-align: right; }

/* ============================================================
   OT — locked state for non-PM
   ============================================================ */
.ot-locked {
  font-size: 12px;
  color: #6B7280;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

/* ============================================================
   RESPONSIVE updates
   ============================================================ */
@media (max-width: 1200px) {
  .cat-grid.four { grid-template-columns: repeat(2, 1fr); }
  .cat-picker.four { grid-template-columns: repeat(2, 1fr); }
  .seg-control.four { grid-template-columns: repeat(2, 1fr); }
  .bs-head, .bs-cat-row, .bs-item-row, .bs-grand-row {
    grid-template-columns: 32px minmax(0, 1fr) 100px 100px 110px 110px 70px;
    gap: 8px;
    padding: 10px 14px;
    font-size: 12px;
  }
  .bs-pct-bar { width: 50px; }
  .audit-row { grid-template-columns: 90px 1fr 100px 60px; padding: 10px 14px; }
}

/* ============================================================
   THEME OVERRIDES — for new components (Mood: Paper / Blueprint)
   ============================================================ */
body[data-mood="paper"] .role-menu {
  background: rgba(255, 253, 248, 0.97);
  border-color: rgba(31, 41, 55, 0.12);
  box-shadow: 0 24px 60px rgba(31, 41, 55, 0.15);
}
body[data-mood="paper"] .role-menu-head { color: #6B7280; }
body[data-mood="paper"] .role-opt-name { color: #0F172A; }
body[data-mood="paper"] .role-opt-sub { color: #6B7280; }
body[data-mood="paper"] .role-option:hover { background: rgba(31, 41, 55, 0.04); }
body[data-mood="paper"] .role-option.active { background: rgba(220, 38, 38, 0.08); }
body[data-mood="paper"] .role-option.active .role-icon { background: linear-gradient(135deg, #DC2626, #991B1B); color: white; }
body[data-mood="paper"] .role-badge { background: rgba(255, 255, 255, 0.7); border-color: rgba(31, 41, 55, 0.1); color: #1F2937; }
body[data-mood="paper"] .role-badge:hover { background: rgba(255, 255, 255, 0.85); }
body[data-mood="paper"] .role-badge.role-pm .role-icon { background: linear-gradient(135deg, #DC2626, #991B1B); color: white; }
body[data-mood="paper"] .role-badge.role-foreman .role-icon { background: rgba(31, 41, 55, 0.08); color: #6B7280; }

body[data-mood="paper"] .budget-sheet {
  background: rgba(255, 253, 248, 0.85);
  border-color: rgba(31, 41, 55, 0.1);
}
body[data-mood="paper"] .bs-head { background: rgba(31, 41, 55, 0.04); color: #6B7280; border-bottom-color: rgba(31, 41, 55, 0.08); }
body[data-mood="paper"] .bs-cat-row { background: rgba(31, 41, 55, 0.03); border-color: rgba(31, 41, 55, 0.08); }
body[data-mood="paper"] .bs-cat-row:hover { background: rgba(31, 41, 55, 0.06); }
body[data-mood="paper"] .bs-cat-name { color: #0F172A; }
body[data-mood="paper"] .bs-cat-count { color: #9CA3AF; }
body[data-mood="paper"] .bs-toggle { background: rgba(31, 41, 55, 0.08); color: #374151; }
body[data-mood="paper"] .bs-item-row { color: #374151; border-bottom-color: rgba(31, 41, 55, 0.05); }
body[data-mood="paper"] .bs-item-row:hover { background: rgba(31, 41, 55, 0.02); }
body[data-mood="paper"] .bs-item-row.editing { background: rgba(220, 38, 38, 0.04); }
body[data-mood="paper"] .bs-money.strong { color: #0F172A; }
body[data-mood="paper"] .bs-money.muted { color: #6B7280; }
body[data-mood="paper"] .bs-editable:hover { background: rgba(220, 38, 38, 0.06); color: #DC2626; }
body[data-mood="paper"] .bs-pct-bar { background: rgba(31, 41, 55, 0.06); }
body[data-mood="paper"] .bs-pct-text { color: #6B7280; }
body[data-mood="paper"] .bs-cat-row .bs-pct-text { color: #0F172A; }
body[data-mood="paper"] .bs-input {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(220, 38, 38, 0.4);
  color: #0F172A;
}
body[data-mood="paper"] .bs-input:focus { box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2); }
body[data-mood="paper"] .bs-mini-btn { background: rgba(255, 255, 255, 0.7); border-color: rgba(31, 41, 55, 0.1); color: #374151; }
body[data-mood="paper"] .bs-mini-btn:hover { background: rgba(255, 255, 255, 0.95); }
body[data-mood="paper"] .bs-mini-btn.save { background: rgba(16, 185, 129, 0.12); color: #047857; border-color: rgba(16, 185, 129, 0.3); }
body[data-mood="paper"] .bs-mini-btn.danger:hover { background: rgba(220, 38, 38, 0.15); color: #B91C1C; border-color: rgba(220, 38, 38, 0.3); }
body[data-mood="paper"] .bs-add-trigger { color: #6B7280; border-bottom-color: rgba(31, 41, 55, 0.08); }
body[data-mood="paper"] .bs-add-trigger:hover { color: #DC2626; background: rgba(220, 38, 38, 0.04); }
body[data-mood="paper"] .bs-add-row { background: rgba(220, 38, 38, 0.05); border-bottom-color: rgba(220, 38, 38, 0.15); }
body[data-mood="paper"] .bs-grand-row { background: rgba(220, 38, 38, 0.08); border-top-color: rgba(220, 38, 38, 0.25); }
body[data-mood="paper"] .bs-grand-row strong { color: #B91C1C; }
body[data-mood="paper"] .bs-grand-row .bs-money.strong { color: #0F172A; }
body[data-mood="paper"] .readonly-note { background: rgba(220, 38, 38, 0.1); border-color: rgba(220, 38, 38, 0.25); color: #B91C1C; }
body[data-mood="paper"] .audit-card { background: rgba(255, 253, 248, 0.85); border-color: rgba(31, 41, 55, 0.1); }
body[data-mood="paper"] .audit-row { border-bottom-color: rgba(31, 41, 55, 0.06); }
body[data-mood="paper"] .audit-detail { color: #1F2937; }
body[data-mood="paper"] .audit-user { color: #6B7280; }
body[data-mood="paper"] .audit-time { color: #9CA3AF; }
body[data-mood="paper"] .ot-locked { color: #6B7280; background: rgba(31, 41, 55, 0.03); border-color: rgba(31, 41, 55, 0.12); }
body[data-mood="paper"] .preview-item { background: rgba(31, 41, 55, 0.04); border-color: rgba(31, 41, 55, 0.08); }
body[data-mood="paper"] .preview-item-label { color: #6B7280; }
body[data-mood="paper"] .preview-item-name { color: #0F172A; }

body[data-mood="blueprint"] .role-badge.role-pm .role-icon { background: linear-gradient(135deg, #67E8F9, #06B6D4); color: #042F36; }
body[data-mood="blueprint"] .role-option.active .role-icon { background: linear-gradient(135deg, #67E8F9, #06B6D4); color: #042F36; }
body[data-mood="blueprint"] .role-option.active { background: rgba(6, 182, 212, 0.08); }
body[data-mood="blueprint"] .bs-editable:hover { background: rgba(6, 182, 212, 0.08); color: #67E8F9; }
body[data-mood="blueprint"] .bs-input { border-color: rgba(6, 182, 212, 0.4); }
body[data-mood="blueprint"] .bs-input:focus { box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2); }
body[data-mood="blueprint"] .bs-add-trigger:hover { color: #67E8F9; background: rgba(6, 182, 212, 0.04); }
body[data-mood="blueprint"] .bs-add-row { background: rgba(6, 182, 212, 0.06); border-bottom-color: rgba(6, 182, 212, 0.15); }
body[data-mood="blueprint"] .bs-grand-row { background: rgba(6, 182, 212, 0.08); border-top-color: rgba(6, 182, 212, 0.25); }
body[data-mood="blueprint"] .bs-grand-row strong { color: #67E8F9; }
body[data-mood="blueprint"] .readonly-note { background: rgba(6, 182, 212, 0.12); border-color: rgba(6, 182, 212, 0.25); color: #67E8F9; }
body[data-mood="blueprint"] .item-picker select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2367E8F9' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ============================================================
   WAGE FIELD — auto-fill indicator + reset
   ============================================================ */
.wage-auto-chip {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 8px;
  padding: 2px 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  animation: chipPop 0.3s cubic-bezier(.2, 1.4, .4, 1) both;
}
@keyframes chipPop { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }
.wage-input { position: relative; }
.wage-input.auto {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.04);
}
.wage-input.auto:focus-within {
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.wage-input.auto .prefix { color: #34D399; }
.wage-input.auto input { color: #6EE7B7; font-weight: 700; }
.wage-reset {
  position: absolute;
  right: 8px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #FBBF24;
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 13px;
  transition: all 0.15s;
}
.wage-reset:hover { background: rgba(245, 158, 11, 0.25); }

body[data-mood="paper"] .wage-input.auto {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
}
body[data-mood="paper"] .wage-input.auto input { color: #047857; }
body[data-mood="paper"] .wage-input.auto .prefix { color: #047857; }
body[data-mood="paper"] .wage-auto-chip { background: rgba(16, 185, 129, 0.1); color: #047857; border-color: rgba(16, 185, 129, 0.3); }
body[data-mood="paper"] .wage-reset { background: rgba(220, 38, 38, 0.1); border-color: rgba(220, 38, 38, 0.3); color: #DC2626; }

/* Smaller tabs on tighter widths */
@media (max-width: 1100px) {
  .tabs { gap: 0; }
  .tab { padding: 8px 12px; }
  .brand-text { display: none; }
  .brand { min-width: 0; }
}
