/* ═══════════════════════════════════════════════════════════
   Invoice System — Custom CSS
   Base: Bootstrap 5.3 + Bootstrap Icons
   ═══════════════════════════════════════════════════════════ */

/* ─── Design Tokens ──────────────────────────────────────── */
:root {
  --brand-900:  #0d2b45;
  --brand-800:  #1a3a5c;
  --brand-700:  #1e4976;
  --brand-600:  #215d8d;
  --brand-500:  #2471a3;
  --brand-400:  #4a90c4;
  --brand-300:  #aad4f0;
  --brand-100:  #e8f4fd;
  --brand-50:   #f4f9fe;

  --sidebar-bg:       #111827;
  --sidebar-width:    258px;
  --sidebar-text:     #9ca3af;
  --sidebar-hover:    rgba(255,255,255,.07);
  --sidebar-active:   rgba(255,255,255,.12);
  --sidebar-border:   rgba(255,255,255,.06);

  --topbar-height:    60px;
  --content-bg:       #f0f2f5;

  --card-shadow:      0 1px 3px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --card-shadow-hover:0 4px 16px rgba(0,0,0,.10);
  --card-radius:      12px;

  --table-header-bg:  #f8fafc;
  --input-focus:      #2471a3;

  --color-success:    #17a35a;
  --color-warning:    #d97706;
  --color-danger:     #dc2626;
  --color-info:       #0891b2;
}

/* ─── Global Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--content-bg);
  color: #1f2937;
  font-size: 0.875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Layout Shell ───────────────────────────────────────── */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ─── Sidebar ────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1040;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }

.sidebar-brand {
  display: flex;
  align-items: center;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--sidebar-border);
  text-decoration: none;
}

.sidebar-brand-img {
  max-height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.sidebar-section {
  padding: 20px 0 4px;
}

.sidebar-section-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(156,163,175,.5);
  padding: 0 20px 6px;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  color: var(--sidebar-text);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  border-radius: 0;
  transition: background .15s, color .15s;
  position: relative;
}

.sidebar-nav-link:hover {
  background: var(--sidebar-hover);
  color: #e5e7eb;
}

.sidebar-nav-link.active {
  background: var(--sidebar-active);
  color: #fff;
}

.sidebar-nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--brand-400);
  border-radius: 0 3px 3px 0;
}

.sidebar-nav-link .nav-icon {
  font-size: 1rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  opacity: .7;
}

.sidebar-nav-link.active .nav-icon { opacity: 1; }

.sidebar-divider {
  border: none;
  border-top: 1px solid var(--sidebar-border);
  margin: 8px 16px;
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--sidebar-border);
  padding: 12px 0;
}

/* ─── Main Content ───────────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ─── Topbar ─────────────────────────────────────────────── */
.topbar {
  height: var(--topbar-height);
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 1030;
  gap: 12px;
}

.topbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
}

.topbar-toggle:hover { background: #f3f4f6; }

.topbar-breadcrumb {
  flex: 1;
}

.topbar-breadcrumb .breadcrumb {
  margin: 0;
  font-size: .78rem;
}

.topbar-breadcrumb .breadcrumb-item.active { color: #374151; font-weight: 500; }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-avatar {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
}

.topbar-avatar-img {
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand-600);
  overflow: hidden;
  flex-shrink: 0;
}

.permission-grid .form-check-input:checked {
  background-color: var(--brand-600);
  border-color: var(--brand-600);
}

.profile-avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.topbar-user-name {
  font-size: .8rem;
  font-weight: 600;
  color: #374151;
}

.topbar-user-role {
  font-size: .68rem;
  color: #9ca3af;
  line-height: 1;
}

.topbar-btn {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: .95rem;
  transition: background .15s, color .15s;
}

.topbar-btn:hover { background: #f3f4f6; color: #374151; }

/* ─── Page Content ───────────────────────────────────────── */
.page-content {
  padding: 24px;
  flex: 1;
}

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

.page-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}

.page-subtitle {
  font-size: .78rem;
  color: #6b7280;
  margin: 2px 0 0;
}

/* ─── Cards ──────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: box-shadow .2s;
}

.card:hover { box-shadow: var(--card-shadow-hover); }

.card-header {
  background: transparent;
  border-bottom: 1px solid #f0f0f0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-title {
  font-size: .875rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title i { color: var(--brand-500); }

.card-body { padding: 20px; }

/* ─── KPI / Stat Cards ──────────────────────────────────── */
.stat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--card-radius);
  padding: 20px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.stat-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-1px);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.stat-card.sc-approved::before  { background: var(--color-success); }
.stat-card.sc-paid::before      { background: var(--brand-500); }
.stat-card.sc-process::before   { background: var(--color-info); }
.stat-card.sc-pending::before   { background: var(--color-warning); }

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.stat-icon.si-approved  { background: #d1fae5; color: var(--color-success); }
.stat-icon.si-paid      { background: var(--brand-100); color: var(--brand-500); }
.stat-icon.si-process   { background: #e0f7fa; color: var(--color-info); }
.stat-icon.si-pending   { background: #fef3c7; color: var(--color-warning); }

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
  letter-spacing: -.5px;
}

.stat-label {
  font-size: .73rem;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 4px;
}

.stat-sub {
  font-size: .72rem;
  color: #6b7280;
  margin-top: 6px;
}

/* ─── Tables ─────────────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--card-radius);
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.table {
  margin: 0;
  font-size: .8rem;
  width: 100%;
}

.table thead th {
  background: var(--table-header-bg);
  color: #6b7280;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.table tbody tr { border-bottom: 1px solid #f3f4f6; transition: background .12s; }
.table tbody tr:last-child { border-bottom: none; }
.table tbody tr:hover { background: #fafbfc; }
.table td { padding: 11px 14px; vertical-align: middle; color: #374151; }

.table-actions { display: flex; gap: 4px; }

/* DataTables overrides */
div.dataTables_wrapper { padding: 0; }
div.dataTables_wrapper div.dataTables_filter input,
div.dataTables_wrapper div.dataTables_length select {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: .8rem;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
div.dataTables_wrapper div.dataTables_length select {
  min-width: 4.75rem;
  padding-right: 1.75rem;
}
div.dataTables_wrapper div.dataTables_filter input:focus,
div.dataTables_wrapper div.dataTables_length select:focus {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px rgba(36,113,163,.15);
}
div.dataTables_wrapper div.dataTables_info { font-size: .78rem; color: #9ca3af; }
.dataTables_paginate .paginate_button {
  border-radius: 6px !important;
  font-size: .78rem !important;
  padding: 4px 10px !important;
}
.dataTables_paginate .paginate_button.current {
  background: var(--brand-500) !important;
  border-color: var(--brand-500) !important;
  color: #fff !important;
}
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 10px;
}

/* ─── Forms ──────────────────────────────────────────────── */
.form-label {
  font-size: .78rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
}

.form-control, .form-select {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: .84rem;
  padding: 8px 12px;
  transition: border-color .15s, box-shadow .15s;
  color: #1f2937;
}

.form-control:focus, .form-select:focus {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px rgba(36,113,163,.12);
  outline: none;
}

.form-control.is-invalid, .form-select.is-invalid {
  border-color: var(--color-danger);
}

.form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(220,38,38,.12); }

.invalid-feedback { font-size: .75rem; color: var(--color-danger); }

.form-section-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #9ca3af;
  margin: 24px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.input-group-text {
  background: #f8fafc;
  border: 1px solid #d1d5db;
  color: #6b7280;
  font-size: .84rem;
}

/* Amount display in real time */
.amount-usd-display {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-700);
  text-align: center;
}

.amount-usd-display span { font-size: .72rem; font-weight: 500; display: block; color: #64748b; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  font-size: .8rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 7px 16px;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-sm { padding: 5px 10px; font-size: .73rem; border-radius: 6px; }
.btn-lg { padding: 10px 22px; font-size: .9rem; }

.btn-primary {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

.btn-outline-primary {
  border-color: var(--brand-500);
  color: var(--brand-500);
}
.btn-outline-primary:hover { background: var(--brand-500); color: #fff; }

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.btn-secondary.disabled,
.btn-secondary:disabled {
  background: #6b7280;
  border-color: #6b7280;
  color: #fff;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background: #4b5563;
  border-color: #4b5563;
  color: #fff;
}

.btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: .9rem;
}

/* ─── Badges ─────────────────────────────────────────────── */
.badge {
  font-size: .67rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: .02em;
}

/* ─── Status Flow Stepper ────────────────────────────────── */
.status-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 80px;
  position: relative;
}

.step-item::before {
  content: '';
  position: absolute;
  top: 14px;
  left: calc(50% + 14px);
  right: calc(-50% + 14px);
  height: 2px;
  background: #e5e7eb;
  z-index: 0;
}

.step-item:last-child::before { display: none; }
.step-item.completed::before { background: var(--brand-400); }

.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: #9ca3af;
  position: relative;
  z-index: 1;
  transition: all .2s;
}

.step-item.active   .step-circle { border-color: var(--brand-500); background: var(--brand-500); color: #fff; }
.step-item.completed .step-circle { border-color: var(--brand-400); background: var(--brand-400); color: #fff; }
.step-item.rejected  .step-circle { border-color: var(--color-danger); background: var(--color-danger); color: #fff; }

.step-label { font-size: .62rem; color: #9ca3af; margin-top: 6px; text-align: center; font-weight: 500; line-height: 1.2; }
.step-item.active .step-label { color: var(--brand-600); font-weight: 700; }

/* ─── Alerts & Flash ─────────────────────────────────────── */
.alert {
  border: none;
  border-radius: 10px;
  font-size: .82rem;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success { background: #d1fae5; color: #065f46; }
.alert-danger   { background: #fee2e2; color: #7f1d1d; }
.alert-warning  { background: #fef3c7; color: #78350f; }
.alert-info     { background: #e0f2fe; color: #075985; }

/* Toast notifications */
.toast-container { z-index: 9999; }

.toast {
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  font-size: .82rem;
  min-width: 280px;
}

/* ─── Evidence Upload Area ───────────────────────────────── */
.evidence-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  background: #fafbfc;
  position: relative;
}

.evidence-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: .8rem;
  font-weight: 700;
  color: #374151;
}

.drop-zone {
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: #fff;
}

.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--brand-400);
  background: var(--brand-50);
}

.drop-zone i { font-size: 2rem; color: #d1d5db; display: block; margin-bottom: 8px; }
.drop-zone p { font-size: .78rem; color: #9ca3af; margin: 0; }

/* ─── Auth Pages ─────────────────────────────────────────── */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: var(--brand-900);
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.45), rgba(17, 24, 39, 0.45)),
    url('../images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.auth-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.auth-card--fadeup {
  animation: authFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

@media (prefers-reduced-motion: reduce) {
  .auth-card--fadeup {
    animation: none;
  }
}

.auth-logo {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
  justify-content: center;
}

.auth-logo-img {
  max-width: 220px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.auth-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-500);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
}

.auth-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin-bottom: 4px;
}

.auth-subtitle {
  font-size: .8rem;
  color: #9ca3af;
  text-align: center;
  margin-bottom: 28px;
}

/* ─── Modals ─────────────────────────────────────────────── */
.modal-content {
  border: none;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.modal-header {
  border-bottom: 1px solid #f0f0f0;
  padding: 18px 22px 14px;
}

.modal-title { font-size: .95rem; font-weight: 700; }

.modal-body { padding: 20px 22px; }

.modal-footer {
  border-top: 1px solid #f0f0f0;
  padding: 14px 22px 18px;
}

/* ─── Select2 overrides ──────────────────────────────────── */
.select2-container--default .select2-selection--single {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  height: 38px;
  padding: 4px 12px;
  font-size: .84rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 28px;
  color: #1f2937;
  padding: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
  right: 6px;
}

.select2-container--default .select2-selection--multiple {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  min-height: 38px;
  padding: 2px 8px;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px rgba(36,113,163,.12);
  outline: none;
}

.select2-dropdown {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  font-size: .84rem;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: 8px 0 32px rgba(0,0,0,.3);
  }

  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1039;
  }

  .sidebar-overlay.show { display: block; }

  .main-content { margin-left: 0; }
  .topbar-toggle { display: flex; }

  .page-content { padding: 16px; }

  .stat-card { margin-bottom: 12px; }
}

@media (max-width: 575.98px) {
  .auth-card { padding: 28px 20px; }
  .page-header { flex-direction: column; align-items: flex-start; }
}

/* ─── Utilities ──────────────────────────────────────────── */
.text-muted-sm { font-size: .73rem; color: #9ca3af; }
.fw-semibold { font-weight: 600; }
.rounded-md { border-radius: 8px; }
.link-subtle { color: #6b7280; text-decoration: none; }
.link-subtle:hover { color: var(--brand-500); }

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: #9ca3af;
}
.empty-state i { font-size: 2.5rem; display: block; margin-bottom: 12px; opacity: .4; }
.empty-state p { font-size: .84rem; margin: 0; }

/* Spinner */
.spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* File link */
.file-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .76rem;
  color: var(--brand-600);
  text-decoration: none;
  background: var(--brand-50);
  border: 1px solid var(--brand-300);
  border-radius: 5px;
  padding: 2px 8px;
  transition: background .15s;
}
.file-link:hover { background: var(--brand-100); color: var(--brand-800); }
