/* ── Tokens (paleta Procel: azul-marinho + vermelho) ───────── */
:root {
  --color-brand:       #2b2b5e;
  --color-brand-light: #e7e7f3;
  --color-accent:      #e63329;

  --color-bg:          #f3f4f6;
  --color-fg:          #111827;

  --color-gray-50:  #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-900: #111827;

  --color-red-50:  #fef2f2;
  --color-red-100: #fee2e2;
  --color-red-600: #dc2626;
  --color-red-700: #b91c1c;
  --color-red-800: #991b1b;

  --color-green-100: #dcfce7;
  --color-green-800: #166534;

  --color-yellow-100: #fef9c3;
  --color-yellow-800: #854d0e;

  --color-blue-100: #dbeafe;
  --color-blue-800: #1e40af;

  --radius-xl:   0.75rem;
  --radius-2xl:  1rem;
  --radius-full: 9999px;

  --max-width: 28rem;
  --max-width-desktop: 48rem;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html {
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}
img, video, iframe, svg { max-width: 100%; }
input, select, textarea { font-size: 1rem; font-family: inherit; width: 100%; max-width: 100%; }
button { font-size: 1rem; font-family: inherit; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; overflow-wrap: break-word; word-break: break-word; }
h1, h2, h3 { margin: 0; overflow-wrap: break-word; word-break: break-word; }

/* ── Shell ───────────────────────────────────────────────── */
.app-shell { display: flex; min-height: 100vh; flex-direction: column; overflow-x: hidden; }
.app-main {
  margin: 0 auto;
  width: 100%;
  max-width: var(--max-width);
  min-width: 0;
  flex: 1;
  padding: 1rem;
  padding-bottom: 6rem;
  overflow-x: hidden;
}

/* ── Spacing helpers ─────────────────────────────────────── */
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }

/* ── Header ──────────────────────────────────────────────── */
.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 4px solid var(--color-accent);
  background: var(--color-brand);
  color: #fff;
  padding: 0.5rem 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-icon-link {
  font-size: 1.125rem;
  opacity: 0.85;
  text-decoration: none;
}
.header-icon-link:active { opacity: 0.6; }
.back-btn {
  background: none;
  border: none;
  color: #fff;
  padding: 0 0.25rem 0 0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}
.back-btn:active { opacity: 0.5; }
.logo {
  height: 32px;
  width: auto;
  border-radius: 0.25rem;
  object-fit: contain;
}
.logout-btn {
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.15);
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  color: #fff;
  cursor: pointer;
}
.logout-btn:active { background: rgba(255,255,255,0.25); }

/* ── Bottom nav ──────────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  border-top: 1px solid var(--color-gray-200);
  background: #fff;
}
.nav-inner {
  margin: 0 auto;
  display: flex;
  width: 100%;
  max-width: var(--max-width);
}
.nav-item {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  padding: 0.625rem 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gray-500);
}
.nav-item.active { color: var(--color-brand); }
.nav-icon { font-size: 1.25rem; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  border-radius: var(--radius-2xl);
  background: #fff;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
}
.card-link { display: block; }

/* ── Status badge ────────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge-green  { background: var(--color-green-100);  color: var(--color-green-800); }
.badge-yellow { background: var(--color-yellow-100); color: var(--color-yellow-800); }
.badge-red    { background: var(--color-red-100);    color: var(--color-red-800); }
.badge-blue   { background: var(--color-blue-100);   color: var(--color-blue-800); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-big {
  display: block;
  width: 100%;
  border-radius: var(--radius-xl);
  text-align: center;
  cursor: pointer;
  font-weight: 600;
}
.btn-big:active { opacity: 0.8; }
.btn-big-primary  { background: var(--color-brand); color: #fff; }
.btn-big-secondary { background: #fff; color: var(--color-gray-900); border: 1px solid var(--color-gray-300); }
.btn-big-lg { padding: 1rem; font-size: 1.125rem; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-big-sm { padding: 0.75rem 0.5rem; font-size: 0.875rem; }

.btn-submit {
  width: 100%;
  border-radius: var(--radius-xl);
  background: var(--color-accent);
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.btn-submit:active   { opacity: 0.9; }
.btn-submit:disabled { opacity: 0.6; }

.btn-back {
  display: block;
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-300);
  background: #fff;
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-900);
  cursor: pointer;
}
.btn-back:active { opacity: 0.8; }

.btn-print {
  display: block;
  width: 100%;
  border-radius: var(--radius-xl);
  background: var(--color-brand-light);
  color: var(--color-brand);
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.btn-print:active { opacity: 0.8; }

.btn-delete {
  width: 100%;
  border-radius: var(--radius-xl);
  background: var(--color-red-50);
  color: var(--color-red-600);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border: none;
  cursor: pointer;
}
.btn-delete:active { background: var(--color-red-100); }

.btn-link {
  display: inline-block;
  border-radius: var(--radius-xl);
  background: var(--color-brand-light);
  color: var(--color-brand);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

/* ── Form fields ─────────────────────────────────────────── */
.field { display: block; }
.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray-500);
  padding-top: 0.25rem;
}
.field-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
}
.field-input,
.field-select,
.field-textarea {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-300);
  background: #fff;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--color-gray-900);
}
.field-input:focus,
.field-select:focus,
.field-textarea:focus  { border-color: var(--color-brand); outline: none; }

/* ── Combobox (busca com autocomplete) ───────────────────── */
.combobox { position: relative; }
.combobox-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 50;
}
.combobox-option {
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-size: 0.95rem;
}
.combobox-option:hover,
.combobox-option.active { background: var(--color-gray-100); }
.combobox-empty { padding: 0.65rem 1rem; color: var(--color-gray-500); font-size: 0.9rem; }
.field-input[disabled] { background: var(--color-gray-100); color: var(--color-gray-500); cursor: not-allowed; }

.field-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-gray-700, #374151);
}
.field-checkbox input { width: 18px; height: 18px; }

.foto-thumb {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: var(--radius-xl);
  margin-bottom: 0.5rem;
  border: 1px solid var(--color-gray-300);
}
.foto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
}
.foto-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-300);
}
.foto-grid p {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  margin-top: 0.25rem;
  text-align: center;
}
.foto-grid-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  width: 100%;
}

/* ── Edição de fotos (miniaturas com botão de excluir) ────── */
.foto-grid-edit {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.foto-edit-item { position: relative; }
.foto-edit-item .foto-thumb { margin-bottom: 0; max-width: 100%; cursor: pointer; }
.foto-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
}
.foto-remove-btn:hover { background: var(--color-red-600, #dc2626); }

/* ── Modal de foto ────────────────────────────────────────── */
.foto-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}
.foto-modal[hidden] { display: none; }
.foto-modal-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-xl);
}
.foto-modal-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001;
}
.foto-modal-delete-btn {
  height: 44px;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: none;
  background: rgba(220, 38, 38, 0.85);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.foto-modal-delete-btn:hover { background: #dc2626; }
.foto-modal-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}
.foto-modal-close:hover { background: rgba(255, 255, 255, 0.3); }

/* ── Listagem / linha de item ────────────────────────────── */
.item-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.item-main { min-width: 0; overflow: hidden; }
.item-title { font-weight: 600; overflow-wrap: break-word; word-break: break-word; }
.item-sub  { font-size: 0.875rem; color: var(--color-gray-500); overflow-wrap: break-word; }
.item-detail { margin-top: 0.25rem; font-size: 0.875rem; color: var(--color-gray-600); overflow-wrap: break-word; }
.item-valor { white-space: nowrap; font-weight: 600; color: var(--color-gray-900); }

/* ── Alertas e erros ─────────────────────────────────────── */
.alert-banner {
  border-radius: var(--radius-xl);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.alert-banner.alert-red    { background: var(--color-red-100);    color: var(--color-red-800); }
.alert-banner.alert-yellow { background: var(--color-yellow-100); color: var(--color-yellow-800); }
.alert-banner.alert-green  { background: var(--color-green-100);  color: var(--color-green-800); }

.error-banner {
  border-radius: var(--radius-xl);
  background: var(--color-red-50);
  color: var(--color-red-700);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.dashed-empty {
  border: 2px dashed var(--color-brand);
  background: var(--color-brand-light);
  border-radius: var(--radius-xl);
  padding: 1rem;
  text-align: center;
}

/* ── Cards de total (dashboard) ──────────────────────────── */
.total-card {
  background: var(--color-brand);
  color: #fff;
}
.total-card.accent {
  background: var(--color-accent);
}
.total-card .total-label { font-size: 0.8125rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.04em; }
.total-card .total-valor { font-size: 1.5rem; font-weight: 700; margin-top: 0.25rem; }

.totais-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* ── Login ───────────────────────────────────────────────── */
.auth-body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-brand);
  padding: 1.5rem;
}
.auth-card  { width: 100%; max-width: 24rem; }
.auth-logo  { display: block; margin: 0 auto 1rem; max-width: 220px; }
.auth-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.25rem;
}
.auth-subtitle { text-align: center; color: var(--color-gray-500); margin-bottom: 1rem; }
.auth-error    { color: var(--color-red-600); font-size: 0.875rem; font-weight: 500; }
.auth-card .field-label { color: rgba(255,255,255,0.85); }

/* ── Utilitários ─────────────────────────────────────────── */
.text-xs  { font-size: 0.75rem; }
.text-sm  { font-size: 0.875rem; }
.text-lg  { font-size: 1.125rem; }
.text-xl  { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }

.text-gray-400 { color: var(--color-gray-400); }
.text-gray-500 { color: var(--color-gray-500); }
.text-gray-600 { color: var(--color-gray-600); }
.text-gray-700 { color: var(--color-gray-700); }
.text-accent   { color: var(--color-accent); }
.text-brand    { color: var(--color-brand); }

.flex             { display: flex; }
.items-center     { align-items: center; }
.items-start      { align-items: flex-start; }
.justify-between  { justify-content: space-between; }
.gap-2            { gap: 0.5rem; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.grid-2 > * { min-width: 0; }

@media (max-width: 480px) {
  .photo-pair {
    grid-template-columns: 1fr;
  }
}

/* O widget nativo de input[type=date] no WebKit do iOS exibe a data por
   extenso ("31 de jul. de 2026") e precisa de ~220px pra não cortar nem
   vazar da caixa. Em vez de espremer os dois campos numa coluna estreita,
   cada um reserva 220px mínimos (flex-shrink:0) e o flex-wrap empilha
   automaticamente quando não cabem lado a lado — sem cortar texto e sem
   estourar a borda em nenhum tamanho de tela.
   Usa classe fixa (.date-range) em vez de :has() porque :has() é
   ignorado por completo em navegadores mais antigos, deixando o grid
   original (2 colunas sem proteção) ativo sem nenhum aviso. */
.date-range {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.date-range > .field {
  flex: 1 0 220px;
  min-width: 220px;
  overflow-x: hidden;
}
.date-range input[type="date"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* O Safari/WebKit desenha o próprio "chrome" nativo por cima do input de
   data (principalmente do lado do ícone do calendário), sobrepondo a
   borda e o arredondamento definidos em CSS — parece que a caixa "corta"
   ou "vaza", mas na real é o estilo nativo brigando com o customizado.
   -webkit-appearance:none desliga esse estilo nativo por completo. */
input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  padding: 0.75rem 1rem;
  line-height: 1.5;
  box-sizing: border-box;
  min-height: 3rem;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mb-2 { margin-bottom: 0.5rem; }

/* ── Sidebar (desktop) ──────────────────────────────────── */
.sidebar { display: none; }
.sidebar-logo { width: 100%; max-width: 160px; margin: 0 auto 2rem; display: block; }
.sidebar-nav { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  font-size: 0.9375rem;
  border-left: 3px solid transparent;
}
.sidebar-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.sidebar-link.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-left-color: var(--color-accent);
}
.sidebar-logout-form { margin-top: auto; }
.sidebar-logout-btn {
  width: 100%;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
}
.sidebar-logout-btn:active { background: rgba(255,255,255,0.2); }

/* ── Desktop / telas largas ──────────────────────────────── */
@media (min-width: 768px) {
  .app-shell {
    flex-direction: row;
  }
  .sidebar {
    display: flex;
    flex-direction: column;
    width: 220px;
    flex-shrink: 0;
    background: var(--color-brand);
    border-right: 4px solid var(--color-accent);
    padding: 1.5rem 1rem;
    position: sticky;
    top: 0;
    height: 100vh;
  }
  .app-header,
  .bottom-nav {
    display: none;
  }
  .app-content {
    flex: 1;
    min-width: 0;
  }
  .app-main {
    max-width: var(--max-width-desktop);
    margin: 0 auto;
    padding: 2rem;
    padding-bottom: 2rem;
  }
}

@media (min-width: 900px) {
  .list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .list-grid > * {
    margin-top: 0;
  }
}

/* ── Recibo / impressão ──────────────────────────────────── */
.print-only { display: none; }

.receipt-via {
  page-break-inside: avoid;
  font-size: 0.8125rem;
  line-height: 1.15;
}
.receipt-via .section-label { padding-top: 0.1rem; font-size: 0.6875rem; }
.receipt-via .mt-3 { margin-top: 0.1rem; }
.receipt-via-label {
  margin-left: auto;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--color-gray-900);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
}
.receipt-corte {
  position: relative;
  height: 0;
  margin: 1.25rem 0;
  border-top: 1px dashed var(--color-gray-400);
}
.receipt-corte::after {
  content: "✂ corte aqui";
  position: absolute;
  left: 50%;
  top: -0.6rem;
  transform: translateX(-50%);
  background: #fff;
  padding: 0 0.6rem;
  font-size: 0.625rem;
  color: var(--color-gray-500);
}

.receipt-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.25rem;
}
.receipt-logo { height: 32px; width: auto; }
.receipt-title { font-size: 0.9375rem; font-weight: 700; line-height: 1.2; }
.receipt-subtitle { font-size: 0.75rem; color: var(--color-gray-500); line-height: 1.2; }
.receipt-loja-contato {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6875rem;
  color: var(--color-gray-600);
  line-height: 1.2;
  margin-top: 0.15rem;
}
.receipt-whatsapp-icon { width: 10px; height: 10px; flex-shrink: 0; }
.receipt-loja-separador { color: var(--color-gray-400); }
.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 0.03rem 0;
  border-bottom: 1px solid var(--color-gray-200);
  font-size: 0.8125rem;
  line-height: 1.3;
}

/* ── Padrão de desenho / senha numérica do aparelho ───────── */
.receipt-senha {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin: 0.05rem 0;
  padding: 0.05rem 0;
  border-bottom: 1px solid var(--color-gray-200);
}
.receipt-senha-label {
  font-size: 0.625rem;
  color: var(--color-gray-500);
  margin-bottom: 0.2rem;
}
.pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  width: 44px;
}
.pattern-grid span {
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--color-gray-900);
  border-radius: 50%;
  display: block;
}
.receipt-senha-numerica { flex: 1; }
.receipt-senha-linha {
  border-bottom: 1px solid var(--color-gray-900);
  height: 1.1rem;
  margin-top: 0.3rem;
}

.receipt-condicao {
  font-size: 0.7rem;
  color: var(--color-gray-700);
  margin: 0.08rem 0;
}
.receipt-condicao-item { margin-right: 0.6rem; white-space: nowrap; }

.receipt-termos {
  font-size: 0.5rem;
  line-height: 1.15;
  color: var(--color-gray-500);
  margin-top: 0.25rem;
}

.receipt-assinaturas {
  display: flex;
  gap: 1.5rem;
  margin-top: 8mm;
}
.receipt-signature {
  flex: 1;
  padding-top: 0.2rem;
  border-top: 1px solid var(--color-gray-900);
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-gray-600);
}

@media print {
  @page { margin: 12mm; }
  body { background: #fff; }
  .sidebar,
  .app-header,
  .bottom-nav,
  .print-hidden {
    display: none !important;
  }
  .print-only { display: block; }
  .app-content { margin: 0; }
  .app-main {
    max-width: 100%;
    padding: 0;
  }
  .card {
    box-shadow: none;
    border: 1px solid var(--color-gray-300);
  }
}
