:root {
  color-scheme: light;
  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --sidebar: #222b35;
  --sidebar-soft: #2d3946;
  --sidebar-text: #cbd5df;
  --text: #26313d;
  --muted: #73808f;
  --border: #e3e8ee;
  --primary: #5369d8;
  --primary-strong: #4457bd;
  --teal: #25a9a0;
  --cyan: #4fa9d8;
  --warning: #c98516;
  --danger: #c94c59;
  --success: #2f9b73;
  --shadow: 0 1px 2px rgba(25, 36, 48, .04), 0 10px 30px rgba(25, 36, 48, .04);
  --radius: 10px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { min-width: 320px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.app-loading { min-height: 100vh; display: grid; place-items: center; color: var(--muted); }

.login-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 520px); background: var(--surface); }
.login-art { background: linear-gradient(145deg, #1d2630 0%, #263442 56%, #32465a 100%); color: white; padding: 72px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.login-art::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; right: -170px; top: -150px; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 150px rgba(255,255,255,.018); }
.login-brand { position: relative; z-index: 1; display: inline-flex; align-self: flex-start; padding: 9px 13px; border-radius: 11px; background: rgba(255,255,255,.96); box-shadow: 0 8px 28px rgba(5,12,20,.15); }
.login-brand .brand-wordmark { width: 164px; height: auto; display: block; }
.login-copy { position: relative; z-index: 1; max-width: 560px; }
.login-copy h1 { font-size: clamp(40px, 5vw, 70px); line-height: .98; margin: 0 0 22px; letter-spacing: -.055em; font-weight: 650; }
.login-copy p { color: #cbd5df; font-size: 18px; line-height: 1.65; max-width: 500px; }
.login-form-wrap { display: grid; place-items: center; padding: 48px; }
.login-form { width: min(100%, 380px); }
.login-form h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.035em; }
.login-form > p { color: var(--muted); margin: 0 0 30px; }
#mfa-login-form #restart-login { margin-top: 12px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 650; color: #52606f; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d9e0e8; border-radius: 7px; background: #fff; color: var(--text); padding: 10px 12px; outline: none; transition: border .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #8d9bec; box-shadow: 0 0 0 3px rgba(83,105,216,.12); }
.localized-date { position: relative; width: 100%; min-height: 42px; border: 1px solid #d9e0e8; border-radius: 7px; background: #fff; color: var(--text); padding: 10px 38px 10px 12px; display: flex; align-items: center; }
.localized-date:focus-within { border-color: #8d9bec; box-shadow: 0 0 0 3px rgba(83,105,216,.12); }
.localized-date-value { font-variant-numeric: tabular-nums; pointer-events: none; }
.localized-date-value.placeholder { color: var(--muted); }
.localized-date-icon { position: absolute; right: 11px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: #17202a; pointer-events: none; }
.localized-date-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.field input.localized-date-native, input.localized-date-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; }
.button { border: 0; border-radius: 7px; padding: 10px 15px; background: #e9edf2; color: #344252; font-weight: 650; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.button:hover { filter: brightness(.98); }
.button.primary { background: var(--primary); color: white; }
.button.primary:hover { background: var(--primary-strong); }
.button.ghost { background: transparent; border: 1px solid var(--border); }
.button.danger { background: #fff0f2; color: var(--danger); }
.button.small { padding: 7px 10px; font-size: 13px; }
.button.wide { width: 100%; }
.form-error { color: var(--danger); background: #fff2f3; border: 1px solid #ffd9dd; border-radius: 7px; padding: 10px 12px; margin-bottom: 16px; font-size: 14px; }

.shell { min-height: 100vh; display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.sidebar { background: var(--sidebar); color: var(--sidebar-text); padding: 20px 14px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.sidebar .brand { display: flex; align-items: center; align-self: flex-start; margin: 0 6px 22px; padding: 7px 10px; border-radius: 9px; background: rgba(255,255,255,.96); box-shadow: 0 5px 18px rgba(5,12,20,.14); }
.sidebar .brand-wordmark { display: block; width: 126px; height: auto; }
.sidebar .brand-square { display: none; width: 34px; height: 34px; }
.nav { display: grid; gap: 4px; }
.nav button { border: 0; background: transparent; color: var(--sidebar-text); text-align: left; border-radius: 7px; padding: 10px 11px; display: flex; gap: 11px; align-items: center; font-weight: 560; }
.nav button:hover { background: rgba(255,255,255,.055); color: white; }
.nav button.active { background: var(--sidebar-soft); color: white; box-shadow: inset 3px 0 0 var(--primary); }
.nav-icon { width: 18px; text-align: center; opacity: .85; }
.sidebar-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.08); padding-top: 15px; }
.user-row { padding: 7px 9px 12px; }
.user-row strong { color: #fff; display: block; font-size: 13px; }
.user-row span { font-size: 12px; color: #8fa0b2; }
.logout { width: 100%; background: transparent; color: var(--sidebar-text); border: 0; border-radius: 7px; padding: 9px; text-align: left; }
.logout:hover { background: rgba(255,255,255,.05); color: white; }

.main { min-width: 0; }
.topbar { min-height: 70px; background: var(--surface); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 28px; position: sticky; top: 0; z-index: 20; }
.page-title h1 { font-size: 20px; margin: 0; letter-spacing: -.025em; }
.page-title span { color: var(--muted); font-size: 12px; }
.toolbar { display: flex; align-items: center; gap: 10px; }
.segmented { background: #edf1f5; border-radius: 8px; padding: 3px; display: flex; }
.segmented button { border: 0; background: transparent; padding: 7px 13px; border-radius: 6px; color: #677484; font-size: 13px; font-weight: 650; }
.segmented button.active { background: white; color: var(--text); box-shadow: 0 1px 3px rgba(30,42,56,.12); }
.year-select { border: 1px solid var(--border); border-radius: 7px; background: white; padding: 8px 10px; color: var(--text); }
.content { width: 100%; padding: 26px 28px 50px; }
.page-actions { display: flex; justify-content: flex-end; gap: 9px; margin-bottom: 16px; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(150px,1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: var(--radius); padding: 17px 18px; min-width: 0; }
.kpi-label { color: var(--muted); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .045em; }
.kpi-value { font-size: 27px; font-weight: 650; letter-spacing: -.04em; margin-top: 7px; white-space: nowrap; }
.kpi-sub { color: var(--muted); font-size: 12px; margin-top: 5px; }
.kpi.good .kpi-value { color: var(--success); }
.kpi.warn .kpi-value { color: var(--warning); }

.panel-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(340px, .8fr); gap: 18px; margin-bottom: 18px; }
.chart-panel-grid { grid-template-columns: minmax(0, 1fr); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-head { padding: 16px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-head h2 { margin: 0; font-size: 15px; letter-spacing: -.015em; }
.panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.panel-body { padding: 18px; }
.chart { min-height: 340px; position: relative; }
.chart > svg { width: 100%; height: 340px; display: block; overflow: visible; }
.chart .grid { stroke: #e9edf2; stroke-width: 1; }
.chart .axis-text { fill: #788592; font-size: 12px; }
.chart .line { fill: none; stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.chart .line.dashed { stroke-dasharray: 6 5; }
.chart .dot { stroke: white; stroke-width: 2; }
.chart .chart-point { fill: transparent; cursor: help; outline: none; }
.chart .chart-point:focus { fill: rgba(83,105,216,.12); stroke: rgba(83,105,216,.35); stroke-width: 1.5; }
.chart-tooltip { position: absolute; z-index: 3; width: max-content; max-width: min(290px, calc(100% - 16px)); padding: 10px 12px; border: 1px solid rgba(32,45,58,.12); border-radius: 9px; background: rgba(29,38,48,.96); color: white; box-shadow: 0 10px 28px rgba(22,31,40,.2); pointer-events: none; font-size: 11px; line-height: 1.45; }
.chart-tooltip strong, .chart-tooltip span { display: block; }
.chart-tooltip strong { margin-bottom: 4px; font-size: 12px; }
.chart-tooltip span { color: #d7e0e8; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 5px; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.legend-swatch { width: 18px; height: 4px; display: block; overflow: visible; }
.progress-block { margin-bottom: 18px; }
.progress-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 7px; }
progress.progress { appearance: none; -webkit-appearance: none; width: 100%; height: 7px; border: 0; border-radius: 99px; overflow: hidden; background: #edf1f4; display: block; }
progress.progress::-webkit-progress-bar { background: #edf1f4; border-radius: 99px; }
progress.progress::-webkit-progress-value { background: linear-gradient(90deg,var(--primary),#7586e6); border-radius: 99px; }
progress.progress::-moz-progress-bar { background: linear-gradient(90deg,var(--primary),#7586e6); border-radius: 99px; }

.alert-list { display: grid; gap: 9px; }
.alert { border: 1px solid var(--border); border-left-width: 3px; border-radius: 7px; padding: 11px 12px; background: #fff; }
.alert.error { border-left-color: var(--danger); }
.alert.warning { border-left-color: var(--warning); }
.alert.review { border-left-color: var(--primary); }
.alert.info { border-left-color: var(--cyan); }
.alert-title { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 650; }
.alert-detail { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 4px; }
.alert-empty { color: var(--success); background: #f0faf6; border: 1px solid #d4eee3; border-radius: 7px; padding: 14px; font-size: 13px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; color: #6f7d8c; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; background: #f8fafc; border-bottom: 1px solid var(--border); padding: 10px 12px; white-space: nowrap; }
td { border-bottom: 1px solid #edf0f3; padding: 11px 12px; font-size: 13px; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfd; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 8px; font-size: 11px; font-weight: 650; background: #eef1f5; color: #627181; white-space: nowrap; }
.badge.good { background: #eaf7f1; color: #247e5d; }
.badge.warn { background: #fff5e2; color: #9b6918; }
.badge.danger { background: #fff0f2; color: #ad3f4c; }
.badge.primary { background: #eef0ff; color: #465bc2; }
.table-actions { display: flex; justify-content: flex-end; gap: 6px; }
.select-cell { width: 42px; text-align: center; }
.select-cell input { width: 16px; height: 16px; accent-color: var(--primary); }
.invoice-filter { display: flex; align-items: center; gap: 9px; }
.invoice-filter label, .bulk-actions label { color: var(--muted); font-size: 12px; font-weight: 650; }
.invoice-filter select, .bulk-actions select { border: 1px solid var(--border); border-radius: 7px; background: white; color: var(--text); padding: 7px 10px; }
.bulk-bar { min-height: 58px; padding: 10px 18px; border-bottom: 1px solid #dce2ff; background: #f4f6ff; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bulk-bar[hidden] { display: none; }
.bulk-bar > strong { color: var(--primary-strong); font-size: 13px; white-space: nowrap; }
.bulk-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.icon-button { border: 1px solid var(--border); background: white; border-radius: 6px; padding: 5px 8px; color: #617080; }
.icon-button:hover { background: #f5f7fa; color: var(--text); }

.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); }
.empty-state strong { display: block; color: var(--text); margin-bottom: 5px; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(23,31,40,.46); display: grid; place-items: center; z-index: 100; padding: 24px; }
.modal { width: min(720px,100%); max-height: min(88vh,920px); overflow: auto; background: white; border-radius: 12px; box-shadow: 0 24px 70px rgba(15,24,34,.25); }
.modal.wide { width: min(940px,100%); }
.modal-head { padding: 18px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-head h2 { margin: 0; font-size: 18px; }
.modal-close { border: 0; background: transparent; font-size: 23px; color: var(--muted); padding: 0 4px; }
.modal-body { padding: 20px; }
.modal-foot { border-top: 1px solid var(--border); padding: 14px 20px; display: flex; justify-content: flex-end; gap: 9px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
.form-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.field.span-2 { grid-column: span 2; }
.invoice-line { border: 1px solid var(--border); border-radius: 8px; padding: 15px; margin: 12px 0; background: #fafbfd; }
.invoice-line h3 { margin: 0 0 13px; font-size: 14px; }
.help { color: var(--muted); font-size: 11px; line-height: 1.45; margin-top: -2px; }
.mfa-setup { max-width: 720px; }
.mfa-secret, .mfa-uri { margin: 12px 0; padding: 12px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-family: ui-monospace, monospace; overflow-wrap: anywhere; user-select: all; }
.mfa-secret { font-size: 17px; letter-spacing: .08em; }
.mfa-setup details { margin: 14px 0 20px; color: var(--muted); }
.checkbox { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #52606f; margin: 10px 0; }

.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.settings-section { margin-bottom: 20px; }
.settings-section h3 { font-size: 14px; margin: 0 0 12px; }
.settings-list { display: grid; gap: 8px; }
.settings-row { display: grid; grid-template-columns: minmax(220px,1.4fr) minmax(145px,1fr) minmax(145px,1fr) minmax(120px,.7fr) 34px; gap: 12px; align-items: start; }
.settings-row.holiday { grid-template-columns: 150px 120px 1fr 34px; }
.settings-row .field { margin: 0; }
.contractor-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.contractor-tabs button { border: 1px solid var(--border); border-radius: 7px; background: white; color: var(--muted); padding: 8px 14px; font-weight: 650; }
.contractor-tabs button.active { border-color: #b9c3f5; background: #f0f2ff; color: var(--primary-strong); }
.contractor-head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: start; margin-bottom: 4px; }
.contractor-fields { max-width: 680px; width: 100%; }
.contractor-panel[hidden] { display: none; }
.rate-explanation { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.rate-explanation > div { display: grid; gap: 4px; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; background: #fafbfd; }
.rate-explanation strong { color: var(--text); font-size: 13px; }
.rate-explanation span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.settings-save { position: sticky; bottom: 15px; display: flex; justify-content: flex-end; pointer-events: none; }
.settings-save .button { pointer-events: auto; box-shadow: 0 8px 25px rgba(46,61,78,.16); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 200; background: #26323e; color: white; border-radius: 8px; padding: 11px 14px; box-shadow: 0 14px 40px rgba(21,29,38,.24); font-size: 13px; }
.toast.error { background: #a43e49; }

@media (max-width: 1180px) {
  .kpi-grid { grid-template-columns: repeat(3,1fr); }
  .panel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .login-screen { grid-template-columns: 1fr; }
  .login-art { display: none; }
  .shell { grid-template-columns: 74px minmax(0,1fr); }
  .sidebar { padding-inline: 10px; }
  .sidebar .brand-wordmark, .nav-label, .user-row, .logout span:last-child { display: none; }
  .sidebar .brand-square { display: block; }
  .sidebar .brand { align-self: center; justify-content: center; margin-inline: 0; padding: 5px; }
  .nav button, .logout { justify-content: center; }
  .topbar { padding: 12px 18px; }
  .content { padding: 20px 18px 40px; }
  .settings-grid { grid-template-columns: 1fr; }
  .rate-explanation { grid-template-columns: 1fr; }
  .settings-row.rate { grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
  .settings-row.rate .remove { grid-column: 2; justify-self: end; }
}
@media (max-width: 620px) {
  .shell { display: block; }
  .sidebar { position: fixed; left: 0; right: 0; bottom: 0; top: auto; height: 60px; z-index: 50; flex-direction: row; padding: 6px; }
  .sidebar .brand, .sidebar-foot { display: none; }
  .nav { width: 100%; display: grid; grid-template-columns: repeat(6,1fr); }
  .nav button { padding: 7px; display: grid; justify-items: center; gap: 2px; font-size: 10px; }
  .nav-label { display: block; font-size: 9px; }
  .nav-icon { font-size: 15px; }
  .nav button.active { box-shadow: inset 0 -3px 0 var(--primary); }
  .topbar { position: static; align-items: flex-start; flex-direction: column; }
  .toolbar { width: 100%; justify-content: space-between; }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .kpi-value { font-size: 23px; }
  .content { padding-bottom: 90px; }
  .form-grid, .form-grid.three { grid-template-columns: 1fr; }
  .field.span-2 { grid-column: auto; }
  .settings-row { grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 7px; padding: 10px; }
  .settings-row .remove { grid-column: 2; justify-self: end; }
  .contractor-head { grid-template-columns: 1fr; }
  .panel-head, .bulk-bar { align-items: flex-start; flex-direction: column; }
  .invoice-filter, .bulk-actions { width: 100%; flex-wrap: wrap; justify-content: flex-start; }
}

.settings-section.calendar-adjustments { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--border); }
.subhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.subhead h3 { margin: 0 0 4px; font-size: 13px; }
.settings-row.calendar-adjustment { grid-template-columns: 90px minmax(150px,1fr) minmax(150px,1fr) 90px 34px; grid-template-areas: "year start end days remove" "reason reason reason reason reason"; align-items: end; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); }
.settings-row.calendar-adjustment .field:nth-child(1) { grid-area: year; }
.settings-row.calendar-adjustment .field:nth-child(2) { grid-area: start; }
.settings-row.calendar-adjustment .field:nth-child(3) { grid-area: end; }
.settings-row.calendar-adjustment .field:nth-child(4) { grid-area: days; }
.settings-row.calendar-adjustment .field:nth-child(5) { grid-area: reason; }
.settings-row.calendar-adjustment .remove { grid-area: remove; align-self: end; }
@media (max-width: 860px) {
  .settings-row.calendar-adjustment { grid-template-columns: 1fr 1fr; grid-template-areas: "year days" "start end" "reason reason" "remove remove"; }
  .settings-row.calendar-adjustment .remove { justify-self: end; }
}

.stack-panel { margin-top: 18px; }
.import-warning { border-left: 4px solid var(--warning, #d18a13); }
.import-warning ul { margin: 0; padding-left: 1.25rem; }
.warning-actions { display: flex; align-items: center; gap: 10px; }
.warning-actions .icon-button { font-size: 1.25rem; line-height: 1; }
.modal-intro { margin-top: 0; color: var(--muted); }
.supplier-line { display: grid; gap: 3px; min-width: 280px; margin: 5px 0; }
.supplier-line + .supplier-line { border-top: 1px solid var(--border); padding-top: 8px; }
.supplier-line.preview { margin-top: 14px; padding: 12px; border: 1px solid var(--border); border-radius: 8px; }
.reconciliation-warning { color: var(--danger); font-weight: 600; }
.import-summary { display: grid; gap: 4px; padding: 13px; margin-top: 16px; background: var(--surface-soft); border-radius: 8px; }
.supplier-batch-preview + .supplier-batch-preview { border-top: 1px solid var(--border); margin-top: 20px; padding-top: 4px; }
.import-summary { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 .75rem; }
.import-preview-table { max-height: 52vh; overflow: auto; }
.import-preview-table table { min-width: 980px; }
.invoice-integrity-alert { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid #efb5b9; border-left: 5px solid #c94b55; border-radius: 10px; background: #fff1f2; color: #7f1d27; }
.invoice-integrity-alert strong { display: block; margin-bottom: 3px; }
.invoice-integrity-alert p { margin: 0; color: #8f3039; }
.import-document-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 20px 0 12px; }
.import-document-head h3 { margin: 8px 0 2px; }
.import-document-head p { margin: 0; color: var(--muted); }
.import-document-total { display: grid; text-align: right; }
.import-document-total span, .import-document-total small { color: var(--muted); }
.import-document-total strong { font-size: 1.45rem; }
.invoice-needs-lines, .invoice-needs-lines:hover { background: #fff8d9; }
.invoice-needs-lines td { border-color: #eadb9a; }
