/* Logisticar — Design System v2 (carregado depois de styles.css) */

:root:not([data-theme="dark"]) {
  --primary: #2558e8;
  --primary-strong: #173ca5;
  --primary-soft: #eaf0ff;
  --brand-accent: #13a596;
  --text: #0f1b2d;
  --text-2: #556275;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --border: #e1e6ee;
  --success: #157a55;
  --success-soft: #e6f5ee;
  --warning: #8a5200;
  --warning-soft: #fff1d4;
  --danger: #c0283a;
  --danger-soft: #fdecee;
  --neutral-soft: #eef1f5;
  --shadow: 0 8px 24px rgba(15, 27, 45, 0.08);
  --shadow-soft: 0 2px 10px rgba(15, 27, 45, 0.05);
}

:root {
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 18px;
  --radius-lg: 24px;
  --nav-height: 80px;
  --topbar-height: 64px;
}


/* Escala tipográfica mínima (gerada a partir do styles.css): nenhum texto abaixo de 12 px */
.brand__text small { font-size: 13px; }
.eyebrow { font-size: 13px; }
.section-heading p { font-size: 14px; }
.hero-card__label { font-size: 14px; }
.hero-card__meta { font-size: 14px; }
.quick-action strong { font-size: 14px; }
.stat-compact span { font-size: 14px; }
.item-main p,
.item-description { font-size: 14px; }
.item-meta { font-size: 13px; }
.badge { font-size: 12px; }
.result-count { font-size: 14px; }
.priority-indicator { font-size: 13px; }
.detail-topbar__copy small { font-size: 13px; }
.detail-model { font-size: 14px; }
.detail-location { font-size: 14px; }
.vehicle-detail-hero-meta small { font-size: 12px; }
.vehicle-detail-hero-meta strong { font-size: 13px; }
.detail-cell span { font-size: 13px; }
.detail-cell strong { font-size: 14px; }
.action-button { font-size: 13px; }
.vehicle-section-title small { font-size: 13px; }
.vehicle-detail-page .action-button strong { font-size: 13px; }
.vehicle-detail-page .action-button small { font-size: 12px; }
.timeline-content strong { font-size: 14px; }
.timeline-content__date { font-size: 12px; }
.timeline-content span { font-size: 13px; }
.report-stat span { font-size: 12px; }
.chart-label { font-size: 13px; }
.chart-bar__fill { font-size: 12px; }
.chart-cost { font-size: 12px; }
.app-version { font-size: 12px; }
.module-stat span { font-size: 12px; }
.empty-state p { font-size: 14px; }
.bottom-nav__item { font-size: 12px; }
.offline-banner { font-size: 13px; }
.install-panel__copy span { font-size: 13px; }
.sheet-header p { font-size: 14px; }
.sheet-section-title { font-size: 14px; }
.form-row label { font-size: 14px; }
.form-row small { font-size: 13px; }
.field-error { font-size: 13px; }
.field-hint { font-size: 13px; }
.field-hint--warn { font-size: 13px; }
.vehicle-pick span { font-size: 13px; }
.file-picker strong { font-size: 14px; }
.file-picker span { font-size: 12px; }
.summary-row { font-size: 14px; }
.toast strong { font-size: 14px; }
.toast span { font-size: 12px; }
.splash span { font-size: 14px; }
.notice-card strong { font-size: 14px; }
.notice-card p { font-size: 13px; }
.fleet-toolbar .button { font-size: 14px; }
.selection-panel strong { font-size: 14px; }
.selection-panel span { font-size: 13px; }
.selection-panel__actions .button { font-size: 13px; }
.fine-indicator { font-size: 12px; }
.management-actions .button { font-size: 12px; }
.vehicle-management-panel > summary strong { font-size: 14px; }
.vehicle-management-panel > summary small { font-size: 12px; }
.compact-empty { font-size: 14px; }
.fine-detail-header span:not(.item-icon) { font-size: 13px; }
.fine-source-info { font-size: 12px; }
.integration-card strong { font-size: 14px; }
.integration-card p { font-size: 13px; }
.permission-group h3 { font-size: 14px; }
.switch-choice strong { font-size: 14px; }
.switch-choice small { font-size: 12px; }
.auth-brand span { font-size: 13px; }
.auth-copy p { font-size: 14px; }
.company-card__top strong { font-size: 14px; }
.company-card__top span:not(.badge):not(.item-icon) { font-size: 12px; }
.company-metrics span { font-size: 12px; }
.company-contact { font-size: 12px; }
.company-feature { font-size: 12px; }
.registry-section-search > small { font-size: 12px; }
.registry-item .item-main strong { font-size: 14px; }
.registry-item .item-main p { font-size: 12px; }
.checklist-folder-card strong { font-size: 14px; }
.checklist-folder-card small { font-size: 12px; }
.checklist-template-card .item-main > p,
.checklist-run-card .item-main > p { font-size: 12px; }
.checklist-template-card__heading > strong { font-size: 14px; }
.checklist-template-card__description { font-size: 12px; }
.checklist-template-card__count strong { font-size: 14px; }
.checklist-template-card__count small { font-size: 12px; }
.checklist-template-card__reusable { font-size: 12px; }
.checklist-template-card__actions .button { font-size: 12px; }
.checklist-run-filter strong { font-size: 14px; }
.checklist-run-filter small { font-size: 12px; }
.public-occurrence-brand span,
.public-occurrence-card footer { font-size: 12px; }
.public-occurrence-heading p { font-size: 13px; }
.public-occurrence-problem > span { font-size: 13px; }
.public-occurrence-photo span { font-size: 12px; }
.public-occurrence-details span { font-size: 12px; }
.public-occurrence-details strong { font-size: 13px; }
.public-occurrence-cta p { font-size: 13px; }
.vehicle-occurrence-card p { font-size: 13px; }
.occurrence-detail-hero__top > div > span { font-size: 12px; }
.occurrence-detail-hero__top p { font-size: 13px; }
.occurrence-detail-hero__problem small { font-size: 12px; }
.occurrence-detail-hero__meta span { font-size: 12px; }
.occurrence-progress > div strong { font-size: 12px; }
.occurrence-workflow-or { font-size: 12px; }
.occurrence-workflow-history__heading strong { font-size: 13px; }
.occurrence-workflow-history__heading small { font-size: 12px; }
.occurrence-workflow-action strong { font-size: 12px; }
.occurrence-workflow-action small { font-size: 12px; }
.occurrence-timeline-entry__responsible { font-size: 12px; }
.occurrence-step-whatsapp small { font-size: 12px; }
.occurrence-step-whatsapp-unavailable { font-size: 12px; }
.occurrence-step-sheet-actions .button { font-size: 12px; }
.occurrence-update-summary small { font-size: 12px; }
.occurrence-whatsapp-action strong { font-size: 12px; }
.occurrence-whatsapp-action small { font-size: 12px; }
.occurrence-detail-photo > span { font-size: 12px; }
.occurrence-people-grid small,
.occurrence-people-grid p { font-size: 12px; }
.occurrence-people-grid strong { font-size: 13px; }
.occurrence-detail-grid span { font-size: 12px; }
.occurrence-detail-grid strong { font-size: 13px; }
.occurrence-flow-card__phase { font-size: 12px; }
.occurrence-flow-card__title { font-size: 14px !important; }
.occurrence-flow-initial-actions__heading strong { font-size: 12px; }
.occurrence-flow-initial-actions__heading small { font-size: 12px; }
.occurrence-timeline-entry strong { font-size: 13px; }
.occurrence-timeline-entry p { font-size: 12px; }
.occurrence-timeline-entry small { font-size: 12px; }
.driver-checklists__welcome p { font-size: 14px; }
.driver-daily-item__main small { font-size: 13px; }
.driver-daily-item__action { font-size: 14px; }
.driver-checklists__date-notice span { font-size: 14px; }
.driver-checklist-template > header small { font-size: 14px; }
.driver-checklist-vehicle > span:last-child { font-size: 14px; }
.driver-occurrence-card .item-main > p { font-size: 13px; }
.driver-occurrence-detail > footer { font-size: 12px; }
.checklist-calendar-picker strong { font-size: 13px; }
.checklist-calendar-picker small { font-size: 12px; }
.checklist-expand-section__heading small { font-size: 12px; }
.checklist-template-view-switch button strong { font-size: 12px; }
.checklist-template-view-switch button small { font-size: 12px; }
.checklist-coverage-view-switch button { font-size: 12px; }
.checklist-coverage-card__main strong { font-size: 13px; }
.checklist-coverage-card__main small { font-size: 12px; }
.checklist-coverage-card__score strong { font-size: 13px; }
.checklist-coverage-group__heading strong { font-size: 12px; }
.checklist-coverage-group__heading small { font-size: 12px; }
.checklist-coverage-vehicle > span:nth-child(2) strong { font-size: 12px; }
.checklist-coverage-vehicle > span:nth-child(2) small { font-size: 12px; }
.checklist-coverage-vehicle > span:last-child { font-size: 12px; }
.checklist-coverage-empty { font-size: 12px; }
.checklist-driver-coverage__toggle > span:nth-child(2) strong { font-size: 12px; }
.checklist-driver-coverage__toggle > span:nth-child(2) small { font-size: 12px; }
.checklist-driver-coverage__toggle > span:last-child strong { font-size: 12px; }
.checklist-run-card__heading > strong { font-size: 14px; }
.checklist-run-card__vehicle > strong { font-size: 13px; }
.checklist-run-card__vehicle > span { font-size: 12px; }
.checklist-run-card__progress > strong { font-size: 12px; }
.checklist-run-card__footer { font-size: 12px; }
.dynamic-checklist-builder__intro strong,
.dynamic-checklist-question__header strong,
.dynamic-checklist-field__header strong { font-size: 13px; }
.dynamic-checklist-builder__intro small,
.dynamic-checklist-question__header small,
.dynamic-checklist-field__header small { font-size: 12px; }
.dynamic-checklist-builder__heading strong { font-size: 14px; }
.dynamic-checklist-builder__heading small { font-size: 12px; }
.dynamic-checklist-question__number,
.dynamic-checklist-run-item__number { font-size: 13px; }
.dynamic-checklist-response-heading strong { font-size: 12px; }
.dynamic-checklist-response-heading small { font-size: 12px; }
.dynamic-checklist-response-empty strong { font-size: 12px; }
.dynamic-checklist-response-empty small { font-size: 12px; }
.dynamic-checklist-options > label { font-size: 12px; }
.dynamic-checklist-required { font-size: 12px; }
.dynamic-checklist-add-fields > span { font-size: 12px; }
.dynamic-checklist-run-summary strong { font-size: 14px; }
.dynamic-checklist-run-summary small { font-size: 12px; }
.dynamic-checklist-run-item__content strong { font-size: 14px; }
.dynamic-checklist-run-item__content small { font-size: 12px; }
.dynamic-checklist-run-item__status { font-size: 12px; }
.dynamic-checklist-answer-field__heading label { font-size: 14px; }
.dynamic-checklist-answer-field__heading small { font-size: 12px; }
.dynamic-checklist-answer-option strong { font-size: 13px; }
.dynamic-checklist-file-picker strong { font-size: 13px; }
.dynamic-checklist-file-picker small { font-size: 12px; }
.dynamic-checklist-answer-file strong { font-size: 12px; }
.dynamic-checklist-answer-file small { font-size: 12px; }
.dynamic-checklist-image-preview > span,
.dynamic-checklist-image-draft > button:first-child > span { font-size: 12px; }
.dynamic-checklist-image-meta strong { font-size: 12px; }
.dynamic-checklist-image-meta small { font-size: 12px; }
.dynamic-checklist-image-draft > span strong { font-size: 12px; }
.dynamic-checklist-image-draft > span small { font-size: 12px; }
.checklist-image-editor__header strong { font-size: 14px; }
.checklist-image-editor__header small { font-size: 12px; }
.checklist-image-editor__tools .button { font-size: 12px; }
.checklist-image-editor__hint { font-size: 12px; }
.checklist-image-editor__draw-controls > span { font-size: 12px; }
.checklist-image-editor__draw-controls label { font-size: 12px; }
.checklist-image-viewer__dialog header strong { font-size: 13px; }
.checklist-image-viewer__dialog header small { font-size: 12px; }
.checklist-builder-section__number { font-size: 13px; }
.checklist-execution-section__title span { font-size: 12px; }
.checklist-answer-row label { font-size: 13px; }
.checklist-answer-row .field-select { font-size: 14px; }
.simple-checklist-folder__header .item-main p { font-size: 12px; }
.simple-checklist-folder__description { font-size: 13px; }
.simple-checklist-progress__label { font-size: 12px; }
.simple-checklist-topic__content strong { font-size: 13px; }
.simple-checklist-topic__content small { font-size: 12px; }
.simple-checklist-single-hero > div > p { font-size: 13px; }
.simple-checklist-single-note { font-size: 13px; }
.stock-movement .item-main > p { font-size: 13px; }
.stock-movement__notes { font-size: 12px; }
.stock-balance-preview { font-size: 14px; }
.rental-charge-item__main .item-main > p { font-size: 12px; }
.rental-charge-filter strong { font-size: 13px; }
.rental-charge-filter small { font-size: 12px; }
.rental-item .item-main > p { font-size: 12px; }
.rental-period-preview strong { font-size: 12px; }
.rental-period-preview small { font-size: 12px; }
.rental-document strong { font-size: 12px; }
.rental-document small { font-size: 12px; }
.rental-charge-documents__heading > strong { font-size: 12px; }
.rental-charge-documents > small,
.form-help { font-size: 12px; }
.notification-item__main strong { font-size: 14px; }
.notification-item__main p { font-size: 12px; }
.notification-item__main small { font-size: 12px; }
.company-card__actions .button { font-size: 12px; }
.form-divider strong { font-size: 14px; }
.form-divider span { font-size: 12px; }
.button--large { font-size: 14px; }
.occurrence-important-card__header-copy > strong { font-size: 14px; }
.occurrence-important-card__prompt { font-size: 13px; }
.occurrence-important-card__amount small { font-size: 12px; }
.occurrence-important-card__copy > strong { font-size: 14px; }
.occurrence-important-card__copy p { font-size: 12px; }
.occurrence-important-card__readonly { font-size: 12px; }
.occurrence-command-panel__heading strong { font-size: 14px; }
.occurrence-command-panel__heading small { font-size: 12px; }
.occurrence-command-action strong { font-size: 14px; }
.occurrence-command-action small { font-size: 12px; }
.occurrence-completion-summary small,
.occurrence-completion-summary p { font-size: 12px; }
.occurrence-completion-summary strong { font-size: 14px; }
.occurrence-history-disclosure > summary { font-size: 13px; }
.occurrence-history-disclosure > summary small { font-size: 12px; }
.occurrence-action-type { font-size: 12px; }
.occurrence-budget-inline small { font-size: 12px; }
.occurrence-budget-inline strong { font-size: 14px; }
.occurrence-budget-decision { font-size: 12px; }
.occurrence-budget-decision small,
.occurrence-budget-decision p { font-size: 12px; }
.occurrence-budget-form__intro strong { font-size: 12px; }
.occurrence-budget-form__intro small { font-size: 12px; }
.occurrence-finalization-check__heading strong { font-size: 12px; }
.occurrence-finalization-check__heading small { font-size: 12px; }
.occurrence-finalization-pending-list strong { font-size: 12px; }
.occurrence-finalization-pending-list small { font-size: 12px; }
.occurrence-finalization-actions .button,
.budget-decision-actions .button { font-size: 12px; }
.budget-decision-summary small,
.budget-decision-summary p { font-size: 12px; }
.public-occurrence-budget__status { font-size: 12px; }
.public-occurrence-budget__heading small { font-size: 12px; }
.public-occurrence-budget__heading strong { font-size: 14px; }
.public-occurrence-budget__amount span { font-size: 12px; }
.public-occurrence-budget__copy p { font-size: 12px; }
.public-occurrence-budget__notice,
.public-occurrence-budget__decision { font-size: 12px; }
.public-occurrence-budget__decision small { font-size: 12px; }
.sync-status__count { font-size: 12px; }
@media (max-width: 359px) {
  .quick-action strong { font-size: 13px; }
  .action-button { font-size: 12px; }
}

body { font-size: 16px; line-height: 1.5; }

.app-content { padding-left: 20px; padding-right: 20px; }

/* Cabeçalhos de tela */
.screen-header { margin: 6px 0 20px; }
.screen-title, .detail-title { font-size: clamp(27px, 8vw, 32px); font-weight: 800; letter-spacing: -0.035em; }
.screen-subtitle { margin-top: 6px; font-size: 16px; line-height: 1.4; }
.eyebrow { margin-bottom: 4px; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.section { margin-top: 28px; }
.section-heading h2, .section-heading h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.section-heading p { font-size: 14px; }
.text-button { min-height: 44px; font-size: 15px; font-weight: 700; }

/* Barra superior e navegação inferior */
.topbar { padding-left: 20px; padding-right: 12px; }
.brand__text strong { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.brand__text small { font-size: 13px; }
.icon-button { min-width: 44px; min-height: 44px; }
.bottom-nav { padding-top: 6px; }
.bottom-nav__item { min-height: 64px; max-width: 120px; gap: 4px; font-size: 12px; font-weight: 600; border-radius: 16px; }
.bottom-nav__item svg { width: 24px; height: 24px; }
.bottom-nav__item.is-active { font-weight: 800; }

/* Botões */
.button { min-height: 52px; border-radius: 14px; border-width: 1.5px; font-size: 16px; font-weight: 700; }
.button svg { width: 20px; height: 20px; }
.button--compact { min-height: 48px; padding: 0 18px; }
.button--danger { background: var(--surface); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.button--primary { box-shadow: none; }
.filter-chip { min-height: 44px; padding: 0 16px; font-size: 15px; }
.filter-scroller { gap: 8px; }

/* Placa — elemento de identidade */
.plate {
  display: inline-flex !important;
  align-items: center;
  padding: 2px 10px 3px;
  border: 2px solid var(--text);
  border-top: 8px solid var(--primary);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text) !important;
  font-size: 17px !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  width: fit-content;
}
.detail-plate { display: inline-flex; padding: 4px 16px 5px; border: 2px solid var(--text); border-top: 10px solid var(--primary); border-radius: 10px; background: var(--surface); font-size: 28px; font-weight: 800; letter-spacing: 0.08em; }
[data-theme="dark"] .plate, [data-theme="dark"] .detail-plate { border-color: var(--text-2); border-top-color: var(--primary); }

/* Selos de status */
.badge { min-height: 28px; padding: 0 11px; font-size: 13px; font-weight: 700; gap: 6px; }
.badge svg { width: 14px; height: 14px; }

/* Listas e cartões */
.list-stack { gap: 12px; }
.vehicle-item, .occurrence-item, .simple-row, .rental-vehicle-card, .notification-item { border-radius: 18px; padding: 16px; }
.item-icon { width: 44px; height: 44px; border-radius: 12px; }
.item-main strong, .item-title { font-size: 16px; font-weight: 700; }
.item-main p, .item-description { margin-top: 4px; font-size: 15px; line-height: 1.4; }
.item-meta { gap: 6px 14px; margin-top: 10px; font-size: 14px; }
.item-meta svg { width: 16px; height: 16px; }
.result-count { font-size: 14px; }
.compact-empty { font-size: 15px; }
.empty-state h3 { font-size: 18px; }
.empty-state p { max-width: 300px; font-size: 15px; }

/* Início */
.hero-card { min-height: 0; padding: 20px; border-radius: 24px; box-shadow: none; }
.hero-card__label { padding: 0; background: transparent; font-size: 15px; color: rgba(255, 255, 255, 0.86); }
.hero-card__number { margin-top: 12px; font-size: 16px; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: rgba(255, 255, 255, 0.9); }
.hero-card__number span { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-right: 6px; }
.hero-card__meta { font-size: 15px; }
.hero-card__progress { position: relative; z-index: 1; height: 10px; margin-top: 14px; overflow: hidden; border-radius: 5px; background: rgba(255, 255, 255, 0.28); }
.hero-card__progress i { display: block; height: 100%; border-radius: 5px; background: #fff; }
.hero-card__action { min-height: 52px; font-size: 16px; font-weight: 700; }
.quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.quick-action { min-height: 88px; padding: 14px 16px; border-radius: 18px; align-content: center; gap: 6px; }
.quick-action__icon { width: 30px; height: 30px; margin: 0; background: transparent; }
.quick-action__icon svg { width: 26px; height: 26px; }
.quick-action strong { font-size: 16px; font-weight: 800; }
.stats-strip { gap: 12px; overflow: visible; border: 0; background: transparent; }
.stat-compact { padding: 14px; border: 1px solid var(--border) !important; border-radius: 18px; background: var(--surface); }
.stat-compact__top { font-size: 15px; color: var(--text-2); font-weight: 600; }
.stat-compact__top span { font-size: 15px; }
.stat-compact strong { margin-top: 10px; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.status-dot { width: 12px; height: 12px; }

/* Menu Mais agrupado */
.menu-group { margin-top: 22px; }
.menu-group__title { margin: 0 0 8px 4px; color: var(--text-2); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.menu-item { min-height: 68px; padding: 12px 14px; }
.menu-item .item-icon { width: 44px; height: 44px; }
.menu-item .item-main strong { font-size: 16px; }
.menu-item .item-main p { font-size: 14px; }
.app-version { font-size: 13px; }

/* Detalhe do veículo em abas */
.vtabs { display: flex; gap: 4px; margin: 20px 0 4px; padding: 4px; overflow-x: auto; border-radius: 14px; background: var(--neutral-soft); scrollbar-width: none; }
.vtabs::-webkit-scrollbar { display: none; }
.vtab { flex: 1 0 auto; min-height: 44px; padding: 0 14px; border: 0; border-radius: 11px; background: transparent; color: var(--text-2); font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.vtab.is-active { background: var(--surface); color: var(--text); font-weight: 800; box-shadow: var(--shadow-soft); }
.vtab-panels[data-active="summary"] > [data-vtab]:not([data-vtab="summary"]),
.vtab-panels[data-active="occurrences"] > [data-vtab]:not([data-vtab="occurrences"]),
.vtab-panels[data-active="rental"] > [data-vtab]:not([data-vtab="rental"]),
.vtab-panels[data-active="fines"] > [data-vtab]:not([data-vtab="fines"]),
.vtab-panels[data-active="history"] > [data-vtab]:not([data-vtab="history"]) { display: none; }
.detail-cell span { font-size: 13px; }
.detail-cell strong { font-size: 15px; }
.action-button { min-height: 60px; }

/* Formulários */
.search-input, .field-input, .field-select, .field-textarea { min-height: 54px; border: 1.5px solid var(--border); border-radius: 14px; font-size: 16px; }
.field-textarea { min-height: 110px; }
.search-input { padding-left: 46px; }
.search-wrap svg { left: 16px; width: 20px; height: 20px; }
.field-input:focus, .field-select:focus, .field-textarea:focus, .search-input:focus { border-color: var(--primary); }
.form-row { gap: 6px; }
.form-row label { font-size: 15px; font-weight: 700; }
.form-row small { font-size: 14px; }
.field-error { font-size: 14px; font-weight: 600; }
.choice-card { min-height: 52px; font-size: 15px; }

/* Folhas (modais) */
.sheet { border-radius: 28px 28px 0 0; }
.sheet-header h2, .sheet-header h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.sheet-header p { font-size: 14px; }
.close-button { min-width: 44px; min-height: 44px; }
.sheet-actions { gap: 10px; margin-top: 20px; }

/* Feedbacks */
.toast { border-radius: 14px; }
.toast strong { font-size: 15px; font-weight: 800; }
.toast span { font-size: 14px; }
.offline-banner { font-size: 14px; }

/* Checklists: respostas grandes e fáceis de tocar */
.checklist-run-card { border-radius: 18px; }
.checklist-run-card .item-main > p { font-size: 14px; }
.module-stat strong { font-size: 28px; }
.module-stat span { font-size: 13px; }

/* Login */
.auth-card { border-radius: 24px; }
.auth-copy h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }

/* Detalhe do veículo: informações do topo em linhas legíveis */
.vehicle-detail-hero-meta { grid-template-columns: 1fr; gap: 8px; }
.vehicle-detail-hero-meta > span { grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; padding: 12px 14px; }
.vehicle-detail-hero-meta svg { width: 22px; height: 22px; }
.vehicle-detail-hero-meta small { font-size: 13px; }
.vehicle-detail-hero-meta strong { font-size: 15px; white-space: normal; overflow-wrap: anywhere; }

/* Placa + selo: o selo desce de linha em vez de vazar do cartão */
.item-title-row, .vehicle-item__top, .occurrence-item__top { flex-wrap: wrap; row-gap: 6px; }

/* Tema escuro: texto do botão branco do cartão de destaque ficava quase invisível */
[data-theme="dark"] .hero-card__action { color: #173ca5; }

/* Abas do veículo cabem na largura do celular */
@media (max-width: 480px) {
  .vtabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); overflow: visible; }
  .vtab { padding: 0 6px; font-size: 14px; }
}

/* Respostas de checklist: um item por vez, botões grandes */
.dynamic-checklist-answer-options { display: grid; gap: 12px; }
.dynamic-checklist-answer-option { min-height: 64px; padding: 0 18px; border: 1.5px solid var(--border); border-radius: 16px; font-size: 18px; font-weight: 800; }
.dynamic-checklist-answer-option.is-selected, .dynamic-checklist-answer-option.is-active, .dynamic-checklist-answer-option:has(input:checked) { border-width: 2.5px; border-color: var(--primary); background: var(--primary-soft); color: var(--primary-strong); }

/* Tablet e computador: menu lateral no lugar da barra inferior */
/* Só vale com usuário logado (body.app-has-nav, definido no script.js):
   login, orçamento público e superadmin continuam sem menu. */
@media (min-width: 900px) {
  body.app-has-nav { background: var(--bg); }
  .app-has-nav .app-shell { width: 100%; box-shadow: none; }
  .app-has-nav .bottom-nav, .app-has-nav .bottom-nav[hidden] { top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px; width: 248px; min-height: 100vh; padding: 88px 14px 20px; transform: none; border-top: 0; border-right: 1px solid var(--border); background: var(--surface); }
  .app-has-nav .bottom-nav[hidden] { display: flex !important; }
  .app-has-nav .bottom-nav__item { display: flex; flex: none; flex-direction: row; justify-content: flex-start; gap: 14px; width: 100%; max-width: none; min-height: 52px; padding: 0 16px; font-size: 16px; }
  .app-has-nav .bottom-nav__item svg { width: 22px; height: 22px; }
  .app-has-nav .topbar { left: 248px; width: calc(100% - 248px); padding-left: 40px; padding-right: 32px; transform: none; }
  .app-has-nav .app-content { width: calc(100% - 248px); max-width: none; margin-left: 248px; padding: calc(var(--topbar-height) + 24px) 40px 48px; }
  .app-has-nav .screen { max-width: 860px; margin-left: auto; margin-right: auto; }
  .app-has-nav .filter-scroller { margin-right: 0; margin-left: 0; padding-right: 0; padding-left: 0; }
  .app-has-nav .quick-actions { grid-template-columns: repeat(2, minmax(0, 220px)); }
  .app-has-nav .stats-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .app-has-nav .fab { right: 40px; bottom: 32px; }
  .app-has-nav .offline-banner { left: 248px; width: calc(100% - 248px); transform: none; }
  .app-has-nav .vehicle-detail-hero-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
