/* ==========================================================================
   QR-Hotel · Recepção & Gerência (Hotel Boutique Claro)
   Mobile/Tablet/Desktop · Tap >= 44px · Inputs >= 16px · Fonts >= 12px
   ========================================================================== */

.stack-xs { display: flex; flex-direction: column; gap: 6px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.stack-md { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 20px; }

.row-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.mono { font-family: var(--font-mono); }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle); font-size: 0.8125rem; }

.login-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

.login-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  font-weight: 600;
}

/* --- Shell Principal ----------------------------------------------------- */
.app-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 10px max(16px, env(safe-area-inset-right, 16px)) 10px max(16px, env(safe-area-inset-left, 16px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 200px;
}

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

.app-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
}

.app-sidebar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.app-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.nav-section {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-section-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  padding: 0 6px;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nav-tab:hover {
  background: var(--surface-alt);
  color: var(--text);
}

.nav-tab.active {
  background: var(--brand);
  color: var(--brand-contrast);
  border-color: var(--brand);
}

.nav-tab .tab-count {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--surface-alt);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.nav-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: var(--brand-contrast);
}

.app-main {
  padding: 20px max(16px, env(safe-area-inset-right, 16px)) 36px max(16px, env(safe-area-inset-left, 16px));
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}

@media (min-width: 1024px) {
  .app-body {
    grid-template-columns: 256px minmax(0, 1fr);
    align-items: start;
  }

  .app-sidebar {
    position: sticky;
    top: 66px;
    min-height: calc(100dvh - 66px);
    border-bottom: 0;
    border-right: 1px solid var(--border);
    padding: 18px 14px;
    overflow-x: visible;
  }

  .app-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    min-width: 0;
  }

  .nav-section {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-section-header {
    padding: 4px 10px 6px;
    justify-content: space-between;
  }

  .nav-tab {
    justify-content: flex-start;
    width: 100%;
  }

  .app-main {
    padding: 24px 28px 44px;
  }
}

/* --- Cabeçalho de Página & KPIs ------------------------------------------ */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.page-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text);
}

.page-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 3px solid var(--border-strong);
}

.kpi-card.kpi-brand { border-top-color: var(--brand); }
.kpi-card.kpi-accent { border-top-color: var(--accent); }
.kpi-card.kpi-ok { border-top-color: var(--ok); }
.kpi-card.kpi-warn { border-top-color: var(--warn); background: #FFFCF6; }
.kpi-card.kpi-danger { border-top-color: var(--danger); }

.kpi-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.kpi-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.kpi-meta {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* --- Barra de Filtros / Chips -------------------------------------------- */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.chip:hover {
  background: var(--surface-alt);
  color: var(--text);
}

.chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-contrast);
}

.search-box {
  position: relative;
  flex: 1 1 240px;
  min-width: 200px;
}

.search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  pointer-events: none;
}

.search-box .input {
  padding-left: 38px;
}

/* --- Grade de Pontos / Comandas ------------------------------------------ */
.points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(276px, 1fr));
  gap: 14px;
}

.point-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

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

.point-card.status-livre {
  border-left-color: var(--ok);
}

.point-card.status-aberta {
  border-left-color: var(--brand);
}

.point-card.status-aguardando_fechamento {
  border-left-color: var(--warn);
  background: #FFFCF7;
}

.point-card.is-inativo {
  border-style: dashed;
  border-left-style: solid;
  border-left-color: var(--danger);
}

.point-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.point-code {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text);
}

.point-name {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.point-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 0.8125rem;
  color: var(--text-muted);
  min-height: 58px;
  justify-content: center;
}

.point-meta strong {
  color: var(--text);
}

.point-card-footer {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

/* --- PIN Destaque -------------------------------------------------------- */
.pin-box {
  background: var(--surface-alt);
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pin-digits {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--brand);
  line-height: 1.1;
}

/* --- Modal Detalhes da Comanda ------------------------------------------- */
.comanda-hero {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.comanda-subtotal-box {
  text-align: right;
  min-width: 140px;
}

.comanda-subtotal-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.comanda-subtotal-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

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

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-card.order-cancelado {
  opacity: 0.72;
  background: var(--bg);
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

.order-item-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.875rem;
}

.order-item-note {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  padding-left: 16px;
}

/* --- Modal Lançar Consumo / Frigobar ------------------------------------- */
.picker-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 2px;
}

.picker-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.picker-item.selected {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.picker-item-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stepper-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.stepper-btn:hover:not(:disabled) {
  background: var(--surface-alt);
}

.stepper-qty {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* --- Modal Fechamento da Conta ------------------------------------------- */
.fechamento-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fechamento-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9375rem;
}

.fechamento-line.total {
  border-top: 1px solid var(--border-strong);
  padding-top: 10px;
  margin-top: 2px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
}

.check-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

.pay-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pay-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(110px, 0.9fr) auto;
  gap: 8px;
  align-items: center;
}

@media (max-width: 540px) {
  .pay-row {
    grid-template-columns: 1fr auto;
  }
  .pay-row .pay-select {
    grid-column: 1 / -1;
  }
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

/* --- Tabelas Gerenciais -------------------------------------------------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.data-table th {
  text-align: left;
  padding: 12px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  font-size: 0.875rem;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: var(--surface-hover);
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.checkbox-tap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}

.checkbox-tap input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* --- Financeiro: Breakdown Formas de Pagamento --------------------------- */
.formas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.forma-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.forma-card.destaque-diaria {
  border-color: var(--accent);
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF8F1 100%);
}

.forma-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.forma-card-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* --- Configurações & White-Label ----------------------------------------- */
.config-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 960px) {
  .config-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
    align-items: start;
  }
}

.config-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.config-card-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--text);
}

.color-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-picker {
  width: 52px;
  height: 44px;
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
}

.logo-editor {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.logo-preview-box {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--brand);
  color: var(--brand-contrast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-preview-box.has-logo {
  background: #FFFFFF;
  padding: 6px;
}

.logo-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.toggle-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
}

.toggle-card input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

/* Prévia do App do Hóspede */
.phone-preview-shell {
  border: 6px solid #1E2836;
  border-radius: 26px;
  background: var(--bg);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 340px;
  margin: 0 auto;
  width: 100%;
}

.phone-preview-header {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-preview-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-preview-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.phone-preview-logo.has-logo {
  background: #FFFFFF;
  padding: 4px;
}

.phone-preview-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.phone-preview-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-preview-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

.phone-preview-cta {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
}

/* Prévia de Placa QR em Modal */
.plaque-preview-stage {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.plaque-card {
  background: #FFFFFF;
  border: 2px solid var(--plaque-brand, #162A45);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 340px;
  box-shadow: var(--shadow-sm);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.plaque-header {
  width: 100%;
  background: var(--plaque-brand, #162A45);
  color: var(--plaque-contrast, #FFFFFF);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border-bottom: 4px solid var(--plaque-accent, #B08A48);
}

.plaque-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  overflow: hidden;
}

.plaque-logo.has-logo {
  background: #FFFFFF;
  padding: 4px;
}

.plaque-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.plaque-hotel {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.plaque-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  flex: 1;
  justify-content: center;
}

.plaque-type {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--plaque-accent, #B08A48);
}

.plaque-point {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #18202C;
  line-height: 1.2;
}

.plaque-qr-wrap {
  width: 168px;
  height: 168px;
  padding: 8px;
  border: 1px solid #E2DCD0;
  border-radius: 10px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plaque-qr-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.plaque-instruction {
  font-size: 0.8125rem;
  color: #536073;
  max-width: 240px;
  line-height: 1.35;
}

/* --- Área de Impressão (Espelho 80mm e Placas QR PDF) -------------------- */
.print-area {
  display: none;
}

@media print {
  .no-print,
  .qh-modal-backdrop,
  .qh-toast-stack {
    display: none !important;
  }

  html, body {
    background: #FFFFFF !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #print-area {
    display: block !important;
  }

  /* Espelho 80mm */
  body.print-mode-receipt .receipt-80mm {
    width: 72mm;
    max-width: 100%;
    margin: 0 auto;
    padding: 4mm 2mm;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.35;
    color: #000000;
  }

  .receipt-center {
    text-align: center;
  }

  .receipt-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
  }

  .receipt-hr {
    border: 0;
    border-top: 1px dashed #000000;
    margin: 7px 0;
  }

  .receipt-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }

  .receipt-row.bold {
    font-weight: 700;
    font-size: 13px;
  }

  .receipt-item-name {
    flex: 1;
    word-break: break-word;
  }

  .receipt-item-val {
    white-space: nowrap;
  }

  /* Placas QR A4 */
  body.print-mode-plaques .plaques-sheet {
    display: grid;
    width: 100%;
  }

  body.print-mode-plaques .plaques-sheet.layout-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8mm;
  }

  body.print-mode-plaques .plaques-sheet.layout-4 .plaque-card {
    max-width: none;
    height: 132mm;
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
  }

  body.print-mode-plaques .plaques-sheet.layout-4 .plaque-qr-wrap {
    width: 52mm;
    height: 52mm;
  }

  body.print-mode-plaques .plaques-sheet.layout-2 {
    grid-template-columns: 1fr;
    gap: 10mm;
  }

  body.print-mode-plaques .plaques-sheet.layout-2 .plaque-card {
    max-width: none;
    height: 132mm;
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
  }

  body.print-mode-plaques .plaques-sheet.layout-2 .plaque-qr-wrap {
    width: 60mm;
    height: 60mm;
  }

  body.print-mode-plaques .plaques-sheet.layout-2 .plaque-point {
    font-size: 1.55rem;
  }
}
