/* Back office only (linked from bo/base.html). Kept out of inline <style> for the CSP. */
main, .site-header { max-width: 72rem; }
table { border-collapse: collapse; width: 100%; font-size: var(--text-sm); }
th, td { border-bottom: var(--border-hair) solid var(--color-rule); padding: var(--space-2); text-align: left; vertical-align: top; }
button { font: inherit; min-height: var(--tap); padding: var(--space-2) var(--space-4); background: var(--color-ink);
  color: var(--color-on-ink); border: 0; border-radius: var(--radius); cursor: pointer; }
input:not([type=checkbox]), select, textarea { font: inherit; padding: var(--space-2); border: var(--border-strong) solid var(--color-ink);
  border-radius: var(--radius); background: var(--color-surface); }
label { display: block; margin: var(--space-3) 0 var(--space-1); } label.check { display: flex; gap: var(--space-2); align-items: center; }
.errors, .notice { padding: var(--space-3) var(--space-4); border-left: var(--border-accent) solid var(--color-error); background: var(--color-surface); }
.nocontact { color: var(--color-error); font-weight: var(--weight-bold); }
.yes { color: var(--color-success); font-weight: var(--weight-bold); }
.pill { font-size: var(--text-sm); border: var(--border-hair) solid currentColor; border-radius: var(--radius); padding: 0 var(--space-1); }
.big { font-size: 1.3rem; }
.pre-wrap { white-space: pre-wrap; }
.full { width: 100%; }
.inline { display: inline; }
.bo-nav { display: flex; gap: var(--space-4); }
.sheet { border: var(--border-hair) solid var(--color-rule); border-radius: var(--radius); padding: var(--space-4); margin: var(--space-4) 0; }
.sheet h2 { margin-top: 0; }
.sheet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--space-3) var(--space-5); margin: 0; }
.sheet-grid dt { font-size: var(--text-sm); color: var(--color-muted); }
.sheet-grid dd { margin: 0; font-weight: var(--weight-bold); overflow-wrap: anywhere; }
.docs li { margin-bottom: var(--space-2); }
.docs .small { display: block; }

/* Overblik */
.period { color: var(--color-muted); }
.table-scroll { overflow-x: auto; }
.campaigns, .funnel { margin-block-end: var(--space-4); }
.campaigns td, .campaigns th, .funnel td, .funnel th { white-space: nowrap; }
th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; }
tfoot th, tfoot td { font-weight: var(--weight-bold); border-top: var(--border-strong) solid var(--color-ink); }
