/* ============================================================
   Raleigh Transfers — App Design System
   Shared across: homepage, admin, printer, user panels
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:          #ffffff;
  --surface:     #ffffff;
  --surface2:    #f9f9f9;
  --border:      #e0e0e0;
  --text:        #222222;
  --muted:       #666666;
  --accent:      #ff5722;
  --accent2:     #ff6f3c;
  --accent-dark: #e04a1a;
  --accent-glow: rgba(255, 87, 34, 0.18);
  --green:       #27ae60;
  --red:         #dc2626;
  --blue:        #1d4ed8;
  --black:       #0a0a0a;
  --gray-soft:   #f8f9fb;
  --gray-mid:    #e8ecf0;
  --sidebar-w:   248px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-pill: 999px;
  --shadow-sm:   0 1px 8px rgba(0,0,0,.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,.10);
  --shadow-accent: 0 8px 28px rgba(255,77,0,.30);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; margin: 0; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes popIn {
  0%   { opacity: 0; transform: scale(.88) translateY(18px); }
  100% { opacity: 1; transform: scale(1)   translateY(0); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}

.fade-up   { animation: fadeUp .55s ease both; }
.fade-up-2 { animation: fadeUp .55s .10s ease both; }
.fade-up-3 { animation: fadeUp .55s .20s ease both; }
.fade-up-4 { animation: fadeUp .55s .30s ease both; }

/* ════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:disabled { opacity: .55; pointer-events: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-danger {
  background: #fee2e2;
  color: var(--red);
  border: 1.5px solid #fca5a5;
}
.btn-danger:hover { background: #fca5a5; }

.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover { opacity: .88; }

.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover { opacity: .88; }

/* Sizes */
.btn-sm { padding: 6px 13px; font-size: 12px; border-radius: var(--radius-sm); }
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-xl { padding: 17px 42px; font-size: 18px; }
.btn-full { width: 100%; }

/* ════════════════════════════════════════════════════════════
   FORMS
   ════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,87,34,.10);
}
.form-textarea { resize: vertical; min-height: 90px; }

/* ════════════════════════════════════════════════════════════
   CARDS
   ════════════════════════════════════════════════════════════ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card-header {
  padding: 17px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin: 0;
}
.card-body { padding: 22px; }

/* Stat card */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.stat-card:hover {
  border-color: rgba(255,87,34,.3);
  box-shadow: 0 4px 18px rgba(255,87,34,.07);
}
.stat-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.stat-card-link:hover {
  border-color: rgba(255,87,34,.45);
  box-shadow: 0 6px 22px rgba(255,87,34,.13);
  transform: translateY(-2px);
}
.stat-icon-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,87,34,.08);
  border: 1.5px solid rgba(255,87,34,.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-val {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: var(--text);
  line-height: 1;
}
.stat-lbl { font-size: 13px; color: var(--muted); }

/* ════════════════════════════════════════════════════════════
   TABLES
   ════════════════════════════════════════════════════════════ */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  background: var(--surface2);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 13px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: rgba(255,87,34,.018); }

/* ════════════════════════════════════════════════════════════
   BADGES & STATUS PILLS
   ════════════════════════════════════════════════════════════ */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
}
.badge-pending   { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.badge-printing  { background: #eff6ff; color: var(--blue); border: 1px solid #bfdbfe; }
.badge-completed { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.badge-paid      { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.badge-failed    { background: #fef2f2; color: var(--red); border: 1px solid #fca5a5; }
.badge-accent    { background: rgba(255,87,34,.10); color: var(--accent); border: 1px solid rgba(255,87,34,.25); }

/* Role badges */
.role-badge {
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 2px 9px;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.role-admin   { background: rgba(255,87,34,.12); color: var(--accent); }
.role-printer { background: #eff6ff; color: var(--blue); }
.role-tiff    { background: #f5f3ff; color: #6366f1; }
.role-support { background: #fef3c7; color: #92400e; }
.role-user    { background: #f0fdf4; color: #15803d; }

/* ════════════════════════════════════════════════════════════
   FLASH MESSAGES
   ════════════════════════════════════════════════════════════ */
.flash {
  border-radius: var(--radius-md);
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeUp .4s ease both;
}
.flash-success { background: rgba(39,174,96,.10); border: 1px solid rgba(39,174,96,.30); color: var(--green); }
.flash-error   { background: #fef2f2; border: 1px solid #fca5a5; color: var(--red); }
.flash-info    { background: #eff6ff; border: 1px solid #bfdbfe; color: var(--blue); }

/* ════════════════════════════════════════════════════════════
   UPLOAD ZONE
   ════════════════════════════════════════════════════════════ */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--accent);
  background: rgba(255,87,34,.03);
}

/* ════════════════════════════════════════════════════════════
   PROGRESS BAR
   ════════════════════════════════════════════════════════════ */
.progress-wrap { height: 4px; background: var(--border); border-radius: var(--radius-pill); overflow: hidden; }
.progress-bar  { height: 100%; background: var(--accent); border-radius: var(--radius-pill); transition: width .35s ease; }

/* ════════════════════════════════════════════════════════════
   TYPOGRAPHY HELPERS
   ════════════════════════════════════════════════════════════ */
.section-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.gradient-text {
  background: linear-gradient(135deg, #ff4d00 0%, #ff9a5c 60%, #ffd4b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-muted   { color: var(--muted); }
.text-accent  { color: var(--accent); }
.text-green   { color: var(--green); }
.text-red     { color: var(--red); }
.font-heading { font-family: 'Poppins', sans-serif; }

/* ════════════════════════════════════════════════════════════
   APP SHELL (dashboard layout)
   ════════════════════════════════════════════════════════════ */
.main-header {
  background: var(--surface);
  border-bottom: 1px solid var(--gray-mid);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.4px;
  color: var(--black);
}
.logo-text span { color: var(--accent); }

.app-shell { display: flex; min-height: calc(100vh - 60px); }

/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}
.sidebar-section { padding: 18px 14px 8px; }
.sidebar-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 8px;
  margin-bottom: 6px;
  display: block;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: #374151;
  font-size: 13.5px;
  font-weight: 500;
  transition: background .15s, color .15s;
  margin-bottom: 2px;
}
.nav-item:hover   { background: rgba(255,87,34,.07); color: var(--accent); }
.nav-item.active  { background: rgba(255,87,34,.11); color: var(--accent); font-weight: 600; }
.nav-item svg     { width: 16px; height: 16px; flex-shrink: 0; }
.sidebar-footer {
  margin-top: auto;
  padding: 14px;
  border-top: 1px solid var(--border);
}

/* Main content */
.main-content {
  flex: 1;
  padding: 32px 36px;
  overflow-x: hidden;
  background: var(--surface2);
  min-height: calc(100vh - 60px);
}

/* Page header */
.page-header    { margin-bottom: 26px; }
.page-title     { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.page-sub       { font-size: 13px; color: var(--muted); margin: 0; }

/* ════════════════════════════════════════════════════════════
   HOMEPAGE SPECIFIC
   ════════════════════════════════════════════════════════════ */

/* Ticker */
.ticker-wrap  { overflow: hidden; background: var(--accent); padding: 10px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 22s linear infinite; }
.ticker-track span {
  white-space: nowrap;
  padding: 0 32px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  color: #fff;
}

/* Homepage header nav */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--gray-mid);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  padding: 5px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

.btn-login {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  padding: 7px 16px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
  background: transparent;
}
.btn-login:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero-section {
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(255,87,34,.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%,  rgba(255,87,34,.02) 0%, transparent 60%),
    var(--bg);
  padding: 100px 24px 80px;
  text-align: center;
}
.hero-title {
  font-weight: 900;
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.1;
  margin: 0 0 22px;
  color: var(--text);
}
.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--muted);
  margin: 0 0 38px;
  line-height: 1.6;
}

/* Trust bar */
.trust-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid    { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 34px 20px;
  text-align: center;
  position: relative;
  transition: background .2s;
}
.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%;
  height: 60%; width: 1px;
  background: var(--border);
}
.trust-item:hover { background: rgba(255,87,34,.03); }
.trust-icon-ring-lg {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255,87,34,.08);
  border: 1.5px solid rgba(255,87,34,.2);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.trust-item:hover .trust-icon-ring-lg { background: rgba(255,87,34,.14); border-color: var(--accent); }
.trust-val { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 24px; color: var(--text); line-height: 1; }
.trust-lbl { font-size: 13px; color: var(--muted); font-weight: 500; }

/* Pricing cards */
.price-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 14px 40px rgba(255,77,0,.16);
}
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(255,77,0,.07), var(--surface));
}

/* Review cards */
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color .2s;
}
.review-card:hover { border-color: rgba(255,77,0,.35); }

/* Gallery items */
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 40px rgba(0,0,0,.14);
}

/* How it works step number */
.step-num {
  width: 50px; height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800; font-size: 19px; color: #fff;
  flex-shrink: 0;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  transition: opacity .3s;
  pointer-events: none;
  opacity: 0;
}
.sticky-cta.visible { opacity: 1; pointer-events: auto; }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th,
.compare-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.compare-table th { background: var(--surface2); font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; color: var(--muted); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-highlight { color: var(--accent2); font-weight: 700; }

/* Popup overlay */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.60);
  z-index: 400;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.popup-box {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  width: 100%; max-width: 440px;
  padding: 40px 32px;
  animation: popIn .32s ease both;
  position: relative;
}

/* ════════════════════════════════════════════════════════════
   UTILITIES
   ════════════════════════════════════════════════════════════ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.flex      { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-4  { gap: 4px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.overflow-x-auto { overflow-x: auto; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .main-content { padding: 24px 24px; }
}

/* ── Mobile sidebar backdrop ── */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 199;
}
.sidebar-backdrop.open { display: block; }

@media (max-width: 768px) {
  /* ── Trust bar ── */
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2)::after,
  .trust-item:nth-child(4)::after { display: none; }

  /* ── Sidebar ── */
  .sidebar { display: none; }
  .sidebar.open {
    display: flex;
    position: fixed;
    z-index: 200;
    top: 60px; left: 0;
    height: calc(100vh - 60px);
    box-shadow: 4px 0 24px rgba(0,0,0,.12);
    overflow-y: auto;
  }

  /* ── Header ── */
  .header-inner { padding: 0 14px; gap: 8px; }
  .logo-text    { font-size: 15px; }
  .logo-name-span { display: none; }          /* hide " Transfers" part */
  .header-welcome { display: none !important; }

  /* ── Content ── */
  .main-content { padding: 16px 14px; }
  .page-title   { font-size: 20px; }
  .page-header  { margin-bottom: 18px; }
  .card-body    { padding: 16px; }
  .card-header  { padding: 13px 16px; }

  /* ── Site nav (homepage) ── */
  .site-nav   { display: none; }
  .hide-mobile { display: none !important; }

  /* ── Tables: horizontal scroll ── */
  .overflow-x-auto { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table { min-width: 520px; }

  /* ── Stat cards: 2 columns ── */
  .stat-grid-mobile { grid-template-columns: repeat(2, 1fr) !important; }

  /* ── Forms: single column ── */
  .mobile-stack { flex-direction: column !important; }
  .mobile-full  { width: 100% !important; }

  /* ── Messages thread ── */
  #msg-feed { max-height: 360px !important; }

  /* ── Generic 2-col grids → 1-col ── */
  .grid-2-mobile-1 { grid-template-columns: 1fr !important; }

  /* ── Order detail: main + sidebar → stack ── */
  .grid-detail-layout { grid-template-columns: 1fr !important; }

  /* ── Settings: tab nav + content → stack ── */
  .grid-settings-layout { grid-template-columns: 1fr !important; }
  .settings-tab-nav { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 4px; padding: 8px !important; }
  .settings-tab-nav a { font-size: 12px !important; padding: 7px 10px !important; margin-bottom: 0 !important; }

  /* ── Form rows (2-col) → single col ── */
  .form-grid-2 { grid-template-columns: 1fr !important; }

  /* ── Reviews side-by-side → stack ── */
  .grid-reviews-layout { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .main-content  { padding: 12px 10px; }
  .card-body     { padding: 12px; }
  .page-title    { font-size: 18px; }
  .btn           { font-size: 13px; padding: 9px 16px; }
  .btn-sm        { font-size: 11px; padding: 5px 10px; }
  .stat-val      { font-size: 22px; }

  /* Stack header icons tighter */
  .header-inner  { gap: 6px; }
}

@media (min-width: 769px) {
  #nav-hamburger,
  #sidebar-toggle { display: none !important; }
}
