/* APV Felt v3.6 – den eksisterende Nordicway-rapports funktioner og den nye brugerflade. */
:root { color-scheme: light; }
html, body { background: var(--page); }
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.topbar { background: #fff; color: #173b44; border-bottom: 1px solid #e0e9e6; }
.brand > div > span { color: #678077; }
.brand-mark { border: 0; }
.status-badge.online { background: #e3f5e8; color: #2b7355; }
.status-badge.offline { background: #fff0d5; color: #805918; }
.save-status { color: #4f7666; }
.action-grid.hub-grid { gap: 16px; }
.action-card { width: 100%; }
.action-card .action-arrow { display: inline-block; }
.action-card-primary .action-arrow { color: #234d3d; }
.action-card:hover { box-shadow: 0 16px 42px rgba(17,61,51,.12); }
.hero { box-shadow: 0 22px 47px rgba(14,46,45,.12); }
.hero > p:nth-of-type(2) { color: #d5e3e3; margin-top: 17px; }
.resume-panel { background: #eaf6ed; border: 1px solid #b8d9c4; border-radius: 20px; padding: 22px; box-shadow: 0 8px 22px rgba(24,74,53,.045); }
.resume-heading strong { color: #244d41; }
.resume-heading p { color: #537569; }
.resume-item { background: #fff; border-color: #cbded4; }
.resume-item strong { color: #19473b; }
.state-pill { background: #d2eadd; color: #24604e; }
.resume-cancel { background: #fff6f5; }
.info-grid article { background: transparent; border: none; border-top: 1px solid #cddad5; padding: 18px 0 0; }
.info-grid h2 { color: #2e6259; }
.info-grid p { color: #637982; }
#setupScreen, #questionScreen, #checklistSummaryScreen, #nearMissScreen, #nearMissSummaryScreen, #historyScreen { max-width: 870px; margin-inline: auto; }
.screen-heading .text-button, .question-topline .text-button { color: #246d5e; }
.screen-heading h1 { color: #173b44; }
.form-card, .question-card, .send-panel, .report-preview { border-radius: 22px; border-color: #dce6e0; }
.form-card > label, .form-section > label, .form-grid label, legend { color: #28534c; }
.form-card input:not([type=radio]):not([type=checkbox]), .form-card textarea, .form-card select { border-color: #cbdcd2; background: #fbfdfb; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { border-color: #36846c; box-shadow: 0 0 0 3px rgba(69,138,100,.14); }
.history-tools { border-color: #d9e5df; }
.history-item, .history-card { border-color: #dce8e0; }
.report-preview { box-shadow: 0 12px 34px rgba(16,43,59,.06); }
.scanner-screen { max-width: none; }
.scanner-screen .field-help { color: #607f75; }
.scanner-screen .scanner-card input[type=url] { padding: 14px 15px; border-color: #d3e0da; background: #f9fbf9; }
.scanner-screen .scanner-card .camera-consent input { width: 18px; }
@media (max-width: 670px) {
  .topbar { min-height: 74px; }
  .status-stack { align-items: flex-end; }
  .action-grid.hub-grid { gap: 11px; }
  .resume-panel { padding: 16px; }
  .resume-heading { gap: 7px; }
  .resume-item { grid-template-columns: 1fr auto; }
  .resume-item .resume-cancel { grid-column: 2; }
  .info-grid article { padding: 14px 0; }
}
@media print {
  .topbar { position: static; }
  .hero { box-shadow: none; }
}
