/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/* =========================================================================
 * Wholesale Grocery — Design system
 *
 * Approach borrowed from FuelDesk Pro: CSS variables on :root with
 * data-theme attribute for light/dark switching. The palette is tuned
 * for B2B wholesale (more neutral, less consumer-warm) — primary green
 * carries through from the brand identity established in iter 1.
 *
 * NEVER hardcode colors in components. Always reference these tokens.
 * If a new shade is needed, add a token here first.
 * ========================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ---------- DARK theme (default for B2B back-office feel) ---------- */
:root,
:root[data-theme='dark'] {
  /* Surfaces — graded from deepest background to highest elevation */
  --bg:        #0a0d0c;
  --bg2:       #0e1311;
  --surface:   #131815;
  --surface2:  #1a2019;
  --surface3:  #222a23;
  --surface-hover: #1d2520;

  /* Borders — subtle on dark */
  --border:    rgba(255, 255, 255, 0.06);
  --border2:   rgba(255, 255, 255, 0.10);
  --border3:   rgba(255, 255, 255, 0.16);

  /* Text — three levels of hierarchy */
  --text:      #f0f4f1;
  --text2:     #a8b5ac;
  --text3:     #6f7d72;

  /* Brand accent — the wholesale green from iter 1 */
  --accent:        #16a34a;
  --accent2:       #15803d;
  --accent-bright: #22c55e;
  --accentDim:     rgba(22, 163, 74, 0.16);
  --accentDim2:    rgba(22, 163, 74, 0.08);
  --accentText:    #ffffff;

  /* Status colors */
  --warn:      #f59e0b;
  --warnDim:   rgba(245, 158, 11, 0.13);
  --danger:    #ef4444;
  --dangerDim: rgba(239, 68, 68, 0.13);
  --info:      #3b82f6;
  --infoDim:   rgba(59, 130, 246, 0.13);
  --success:   #10b981;
  --successDim:rgba(16, 185, 129, 0.13);
  --purple:    #a855f7;
  --purpleDim: rgba(168, 85, 247, 0.13);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow:    0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.4);

  /* Geometry */
  --radius:      8px;
  --radius2:     12px;
  --radius3:     16px;
  --radius-pill: 999px;

  /* Typography */
  --font-head: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  /* Layout chrome */
  --topbar-bg: rgba(15, 18, 16, 0.85);
  --nav-bg:    #0c100e;
}

/* ---------- LIGHT theme — clean B2B paper ---------- */
:root[data-theme='light'] {
  --bg:        #f6f7f5;
  --bg2:       #ffffff;
  --surface:   #ffffff;
  --surface2:  #fafaf8;
  --surface3:  #f1f1ed;
  --surface-hover: #f3f3ef;

  --border:    rgba(15, 23, 42, 0.08);
  --border2:   rgba(15, 23, 42, 0.14);
  --border3:   rgba(15, 23, 42, 0.22);

  --text:      #0f172a;
  --text2:     #475569;
  --text3:     #94a3b8;

  --accent:        #16a34a;
  --accent2:       #15803d;
  --accent-bright: #22c55e;
  --accentDim:     rgba(22, 163, 74, 0.10);
  --accentDim2:    rgba(22, 163, 74, 0.05);
  --accentText:    #ffffff;

  --warn:      #d97706;
  --warnDim:   rgba(217, 119, 6, 0.10);
  --danger:    #dc2626;
  --dangerDim: rgba(220, 38, 38, 0.08);
  --info:      #2563eb;
  --infoDim:   rgba(37, 99, 235, 0.08);
  --success:   #059669;
  --successDim:rgba(5, 150, 105, 0.08);
  --purple:    #7c3aed;
  --purpleDim: rgba(124, 58, 237, 0.08);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow:    0 2px 8px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12);

  --topbar-bg: rgba(255, 255, 255, 0.92);
  --nav-bg:    #ffffff;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border3);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text3);
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================================
 * Layout chrome — app shell with sidebar + main area
 * ========================================================================= */

.app-shell {
  display: flex;
  min-height: 100vh;
  background: var(--bg);
}

.sidebar {
  width: 240px;
  background: var(--nav-bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 30;
}

.sidebar-logo {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar-logo h1 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}
.sidebar-logo p {
  font-size: 9px;
  color: var(--text3);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 2px 0 0 0;
  font-weight: 600;
}

.sidebar-nav {
  flex: 1 1;
  overflow-y: auto;
  padding: 8px 0 16px;
}
.nav-section {
  padding: 14px 18px 6px;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text3);
  font-weight: 600;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  margin: 1px 8px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  color: var(--text2);
  font-weight: 500;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
  overflow: hidden;
}
.nav-item:hover {
  background: var(--surface-hover);
  color: var(--text);
}
.nav-item.active {
  background: var(--accentDim);
  color: var(--accent);
  font-weight: 600;
}
.nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--surface2);
  font-size: 12px;
}
.sidebar-account-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}
.sidebar-account-info {
  min-width: 0;
  flex: 1 1;
}
.sidebar-account-name {
  color: var(--text);
  font-weight: 500;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.sidebar-account-role {
  color: var(--text3);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius);
  font-size: 11px;
  color: var(--text3);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.theme-toggle:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.main-area {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: var(--topbar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 56px;
}

.page-content {
  padding: 22px 28px 60px;
  max-width: 1280px;
  width: 100%;
}

.page-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}
.page-subtitle {
  color: var(--text3);
  font-size: 13px;
  margin-top: 4px;
}

/* =========================================================================
 * Card / container
 * ========================================================================= */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 18px 20px;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}
.card-subtitle {
  font-size: 11px;
  color: var(--text3);
  margin-top: 2px;
}

/* =========================================================================
 * KPI grid
 * ========================================================================= */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 14px;
  gap: 14px;
  margin-bottom: 20px;
}
.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}
.kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0.7;
}
.kpi-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.kpi-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-top: 6px;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  font-family: var(--font-head);
  letter-spacing: -0.02em;
}
.kpi-sub {
  font-size: 11px;
  color: var(--text3);
  margin-top: 4px;
}
.kpi-sub .up { color: var(--success); }
.kpi-sub .down { color: var(--danger); }
.kpi-sub .neutral { color: var(--text3); }

/* =========================================================================
 * Tables
 * ========================================================================= */

table.data {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}
table.data th {
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
table.data td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
table.data tr:hover td {
  background: var(--surface-hover);
}
table.data tr:last-child td {
  border-bottom: none;
}
table.data .mono,
table.data .num {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* =========================================================================
 * Buttons
 * ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.12s, border-color 0.12s, color 0.12s, transform 0.06s;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1.4;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn-primary {
  background: var(--accent);
  color: var(--accentText);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent2);
  border-color: var(--accent2);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border2);
}
.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--border3);
}
.btn-danger {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}
.btn-danger:hover { filter: brightness(0.9); }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-lg { padding: 11px 20px; font-size: 14px; }

/* =========================================================================
 * Forms
 * ========================================================================= */

.field {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border2);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accentDim2);
}
.field::placeholder { color: var(--text3); }
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 5px;
}
select.field { cursor: pointer; }

/* =========================================================================
 * Status pills
 * ========================================================================= */

.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}
.pill-draft       { background: var(--surface3); color: var(--text2); }
.pill-submitted   { background: var(--infoDim); color: var(--info); }
.pill-confirmed   { background: var(--purpleDim); color: var(--purple); }
.pill-processing  { background: var(--warnDim); color: var(--warn); }
.pill-dispatched  { background: var(--accentDim); color: var(--accent); }
.pill-delivered   { background: var(--successDim); color: var(--success); }
.pill-invoiced    { background: var(--successDim); color: var(--success); }
.pill-cancelled   { background: var(--dangerDim); color: var(--danger); }
.pill-issued      { background: var(--infoDim); color: var(--info); }
.pill-partially_paid { background: var(--warnDim); color: var(--warn); }
.pill-paid        { background: var(--successDim); color: var(--success); }
.pill-overdue     { background: var(--dangerDim); color: var(--danger); }
.pill-voided      { background: var(--surface3); color: var(--text3); }

/* =========================================================================
 * Alerts
 * ========================================================================= */

.alert {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  border: 1px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.alert svg { flex-shrink: 0; margin-top: 1px; }
.alert-warn   { background: var(--warnDim);   color: var(--warn);    border-color: var(--warnDim);   }
.alert-danger { background: var(--dangerDim); color: var(--danger);  border-color: var(--dangerDim); }
.alert-info   { background: var(--infoDim);   color: var(--info);    border-color: var(--infoDim);   }
.alert-success{ background: var(--successDim);color: var(--success); border-color: var(--successDim);}

/* =========================================================================
 * Loading skeletons
 * ========================================================================= */

@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--surface2) 0%, var(--surface3) 50%, var(--surface2) 100%);
  background-size: 800px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius);
}
.skeleton-text { height: 12px; margin: 4px 0; }
.skeleton-text.w-50 { width: 50%; }
.skeleton-text.w-75 { width: 75%; }
.skeleton-text.w-100 { width: 100%; }

/* =========================================================================
 * Empty states
 * ========================================================================= */

.empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text3);
}
.empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  opacity: 0.3;
}
.empty-title {
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}
.empty-subtitle {
  font-size: 12px;
  color: var(--text3);
}

/* =========================================================================
 * Utility helpers
 * ========================================================================= */

.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.text-accent { color: var(--accent); }
.text-warn { color: var(--warn); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-muted { color: var(--text3); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 16px; gap: 16px; }
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .page-content { padding: 16px; }
}

.section-gap { margin-bottom: 20px; }

.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-end { display: flex; align-items: center; justify-content: flex-end; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* =========================================================================
 * Toast notifications
 * ========================================================================= */

.toast-host {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius2);
  padding: 12px 16px;
  min-width: 240px;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  pointer-events: auto;
  animation: toast-in 0.2s ease-out;
}
.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--danger); }
.toast-info { border-left: 3px solid var(--info); }
@keyframes toast-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* =========================================================================
 * Polish — iter 9
 * ========================================================================= */

/* Card hover state — subtle lift on interactive cards (links/buttons).
   Use class .card-interactive to opt in (don't apply globally to .card
   because not every card is clickable). */
.card-interactive {
  transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s;
  cursor: pointer;
}
.card-interactive:hover {
  border-color: var(--border3);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.card-interactive:active {
  transform: translateY(0);
}

/* KPI hover — entrance reveal of the top accent bar */
.kpi {
  transition: border-color 0.16s, transform 0.16s;
}
.kpi:hover {
  border-color: var(--border3);
  transform: translateY(-1px);
}
.kpi::before {
  transition: opacity 0.16s, height 0.16s;
}
.kpi:hover::before {
  opacity: 1;
  height: 3px;
}

/* Quick action tile — used in dashboard. Gets a more pronounced hover. */
.action-tile {
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
  cursor: pointer;
}
.action-tile:hover {
  border-color: var(--accent);
  background: var(--accentDim2);
  transform: translateY(-1px);
}
.action-tile-icon {
  transition: transform 0.16s, background 0.16s;
}
.action-tile:hover .action-tile-icon {
  transform: scale(1.08);
  background: var(--accent);
  color: white;
}

/* Page entrance — fade-in for route content */
.page-content > * {
  animation: page-in 0.22s ease-out;
}
@keyframes page-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Empty state illustration — branded outline drawing */
.empty-illustration {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  color: var(--text3);
  opacity: 0.6;
}
.empty-illustration svg { width: 100%; height: 100%; }

/* Image placeholder — for product cards before upload pipeline lands */
.product-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface2) 0%, var(--surface3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text3);
  border: 1px solid var(--border);
}
.product-thumb-large {
  width: 88px;
  height: 88px;
}

/* Order timeline — vertical line connecting status points,
   with done/pending visual distinction */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 4px;
}
.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  position: relative;
}
.timeline-step::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 22px;
  bottom: -10px;
  width: 2px;
  background: var(--border2);
}
.timeline-step:last-child::before { display: none; }
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex-shrink: 0;
  margin-top: 4px;
  z-index: 1;
}
.timeline-dot.done {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accentDim);
}
.timeline-dot.pending {
  background: var(--surface2);
  border: 2px solid var(--border3);
}
.timeline-dot.cancelled {
  background: var(--danger);
  box-shadow: 0 0 0 3px var(--dangerDim);
}
.timeline-step.done + .timeline-step::before { background: var(--accent); }
.timeline-content { flex: 1 1; }
.timeline-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.timeline-step.pending .timeline-label { color: var(--text3); }
.timeline-time {
  font-size: 11px;
  color: var(--text3);
  margin-top: 2px;
}

/* =========================================================================
 * Mobile bottom-bar — sticky cart total + CTA on small screens
 * ========================================================================= */

.mobile-bottom-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border2);
    padding: 12px 16px;
    align-items: center;
    justify-content: space-between;
    z-index: 40;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.18);
    gap: 12px;
  }
  /* When mobile bottom bar is present, leave room for it */
  .has-mobile-bar { padding-bottom: 80px; }

  /* Mobile sidebar drawer pattern (sidebar still hidden on mobile per
     the @media block in the layout section above; bottom-nav is the
     primary nav on small screens) */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    border-top: 1px solid var(--border);
    z-index: 35;
    padding: 6px 0;
    justify-content: space-around;
  }
  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 10px;
    font-size: 10px;
    color: var(--text3);
    text-decoration: none;
  }
  .mobile-bottom-nav a.active { color: var(--accent); }
  .mobile-bottom-nav svg { width: 20px; height: 20px; }
}
@media (min-width: 769px) {
  .mobile-bottom-nav { display: none; }
}

/* =========================================================================
 * Print styles
 * ========================================================================= */

@media print {
  .sidebar, .topbar, .btn, .mobile-bottom-bar { display: none !important; }
  .page-content { padding: 0; max-width: none; }
  body { background: white; }
}

