/* CursAd Control Center */
:root {
    --bg: #f4f5f7;
    --surface: #ffffff;
    --ink: #1c2330;
    --muted: #5d6778;
    --line: #dfe3ea;
    --brand: #e30313;
    --brand-ink: #ffffff;
    --accent: #52116f;
    --primary: #52116f;
    --primary-hover: #3e0c55;
    --ok-bg: #e4f4e9; --ok-ink: #17592e;
    --warn-bg: #fdf1d8; --warn-ink: #7a5200;
    --err-bg: #fbe5e3; --err-ink: #8f1d15;
    --off-bg: #e9ecf1; --off-ink: #4a5361;
    --radius: 6px;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #12161d; --surface: #1b212b; --ink: #e7ebf1; --muted: #9ba6b6; --line: #2e3745;
        --brand: #e30313; --accent: #cfa3e6; --primary: #6a1c8c; --primary-hover: #7d27a3;
        --ok-bg: #173524; --ok-ink: #9fdcb3;
        --warn-bg: #3d2f0d; --warn-ink: #f0cd7c;
        --err-bg: #431a17; --err-ink: #f5aaa3;
        --off-bg: #2a313d; --off-ink: #b3bcc9;
    }
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font: 0.9375rem/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.5rem; margin: 0 0 1rem; line-height: 1.25; }
h2 { font-size: 1.125rem; margin: 2rem 0 0.75rem; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.875rem; }
.small { font-size: 0.75rem; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* Kop */
.topbar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem;
    background: var(--brand); color: var(--brand-ink); padding: 0.625rem 1.25rem;
}
.topbar a { color: inherit; }
.brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { display: block; margin: -0.375rem 0 -0.375rem -0.5rem; }
.mainnav { display: flex; flex-wrap: wrap; gap: 0.25rem; flex: 1; }
.mainnav a { padding: 0.25rem 0.625rem; border-radius: var(--radius); }
.mainnav a:hover, .mainnav a.current { background: rgba(255, 255, 255, 0.22); opacity: 1; text-decoration: none; }
.usermenu { display: flex; align-items: center; gap: 0.625rem; }
.usermenu .tag { background: rgba(255, 255, 255, 0.22); color: inherit; }
.usermenu .btn-quiet { background: transparent; color: inherit; border-color: rgba(255, 255, 255, 0.6); }
.usermenu { margin-left: auto; }
@media (max-width: 760px) { .mainnav { order: 3; flex-basis: 100%; } }

.page { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.pagehead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.pagehead h1, .pagehead h2 { margin: 0; }
.crumbs { margin: 0 0 0.25rem; color: var(--muted); font-size: 0.875rem; }

/* Knoppen */
.btn {
    display: inline-block; padding: 0.4375rem 0.875rem; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-danger { background: #b3261e; border-color: #b3261e; color: #fff; }
.btn-quiet { background: transparent; }
.btn-primary:hover, .btn-danger:hover { border-color: transparent; }
.btn-wide { width: 100%; margin-top: 1rem; }
.linkbutton { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; }
.linkbutton:hover { text-decoration: underline; }
form.inline { display: inline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Meldingen */
.notice { padding: 0.75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.notice ul { margin: 0; padding-left: 1.25rem; }
.notice-ok { background: var(--ok-bg); color: var(--ok-ink); }
.notice-error { background: var(--err-bg); color: var(--err-ink); }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.5rem; color: var(--muted); }

/* Tabellen */
.tablewrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.5625rem 0.75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font-size: 0.8125rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
th.num { text-align: right; }
tbody tr:last-child td { border-bottom: 0; }
td.actions { text-align: right; white-space: nowrap; }
td.actions > * + * { margin-left: 0.75rem; }

/* Labels */
.tag, .status { display: inline-block; padding: 0.0625rem 0.5rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 500; white-space: nowrap; }
.tag { background: var(--off-bg); color: var(--off-ink); }
.tag-p { background: var(--err-bg); color: var(--err-ink); }
.tag-ota { background: var(--warn-bg); color: var(--warn-ink); }
.status-actief { background: var(--ok-bg); color: var(--ok-ink); }
.status-in_aanbouw, .status-opgeschort { background: var(--warn-bg); color: var(--warn-ink); }
.status-vervallen { background: var(--off-bg); color: var(--off-ink); }
.status-fout { background: var(--err-bg); color: var(--err-ink); }
.status-ingevuld { background: #dff3f6; color: #035e6b; }
@media (prefers-color-scheme: dark) { .status-ingevuld { background: #123d44; color: #9fe3ee; } }

/* Kerncijfers en filters */
.stats { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem 1.25rem; min-width: 9rem; }
.stat-value { display: block; font-size: 1.75rem; font-weight: 600; line-height: 1.2; }
.stat-label { color: var(--muted); font-size: 0.875rem; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem; margin-bottom: 1rem; }
.filters label { display: flex; flex-direction: column; gap: 0.1875rem; font-size: 0.8125rem; color: var(--muted); }

/* Formulieren */
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=search], input[type=tel], input[type=date], select, textarea {
    width: 100%; padding: 0.4375rem 0.625rem; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface); color: var(--ink); font: inherit;
}
.filters input, .filters select { width: auto; min-width: 10rem; }
.form { max-width: 34rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.form label, .authcard label { display: block; font-weight: 500; margin: 0.875rem 0 0.25rem; }
.form > input[type=hidden]:first-child + label, .form > input[type=hidden]:first-child + .fieldrow label, .form > input[type=hidden]:first-child + h2 { margin-top: 0; }
.form label.check, .authcard label.check, .danger label.check { font-weight: 400; display: flex; align-items: center; gap: 0.5rem; }
.hint { margin: 0.25rem 0 0; font-size: 0.8125rem; color: var(--muted); }
.formactions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.25rem; }
.pagehead .formactions { margin-top: 0; }
.danger { max-width: 34rem; margin-top: 2rem; padding: 1.25rem; border: 1px solid var(--err-ink); border-radius: var(--radius); }
.danger h2 { margin-top: 0; }
.details { display: grid; grid-template-columns: 11rem 1fr; gap: 0.375rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
@media (max-width: 560px) { .details { grid-template-columns: 1fr; } .details dd { margin-bottom: 0.5rem; } }

/* Inloggen */
.authpage { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 1rem; }
.authcard { width: 100%; max-width: 24rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.75rem; }
.authbrand { display: flex; flex-direction: column; align-items: center; gap: 0.375rem; font-weight: 600; color: var(--muted); margin-bottom: 1.5rem; }
.authbrand img { max-width: 100%; height: auto; }
.authcard .code { font-size: 1.5rem; letter-spacing: 0.3em; text-align: center; }
.steps { padding-left: 1.25rem; }
.qr { display: block; margin: 1rem auto 0.5rem; background: #fff; padding: 0.5rem; border-radius: var(--radius); }
.secret { text-align: center; font-family: ui-monospace, Consolas, monospace; font-size: 0.875rem; overflow-wrap: anywhere; }

/* Bladeren */
.pagination { display: flex; gap: 0.25rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.pagination a, .pagination span { display: block; padding: 0.25rem 0.625rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pagination .active a { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Klantkaart */
.tabs { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--line); margin: 0 0 1.25rem; }
.tabs a { padding: 0.5rem 1rem; border: 1px solid transparent; border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; color: var(--muted); font-weight: 500; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.current { background: var(--surface); border-color: var(--line); color: var(--ink); }
.fieldrow { display: flex; flex-wrap: wrap; gap: 0 0.75rem; }
.fieldrow > div { flex: 0 0 9rem; }
.fieldrow > .grow { flex: 1 1 12rem; }
.form .fieldrow label { margin-top: 0.875rem; }
.envcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem; }
.envcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.envcard header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.envcard header .status { margin-left: auto; }
.envcard dl { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.25rem 0.75rem; margin: 0; }
.envcard dt { color: var(--muted); }
.envcard dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.envcard h3 { font-size: 0.9375rem; margin: 1rem 0 0.375rem; }
.envcard ul { margin: 0; padding-left: 1.125rem; }
.envcard footer { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-top: 0.875rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.contactnote { color: var(--muted); font-size: 0.8125rem; margin-top: 0.125rem; }

.notice-warn { background: var(--warn-bg); color: var(--warn-ink); }
.linkbox { margin: 0.5rem 0 0; overflow-wrap: anywhere; user-select: all; }
.authlink { margin: 1rem 0 0; text-align: center; }
.form h2 { margin-top: 1.75rem; }
.form-wide { max-width: 44rem; }
textarea.tall { min-height: 20rem; font-family: ui-monospace, Consolas, monospace; font-size: 0.875rem; }

/* Controlelijst bij importeren */
.edittable td { vertical-align: middle; padding: 0.3125rem 0.5rem; }
.edittable input[type=text] { min-width: 9rem; padding: 0.3125rem 0.5rem; }
.edittable input.short { min-width: 4rem; width: 4rem; }
.edittable select { width: auto; padding: 0.3125rem 0.5rem; }
.rowerror td { background: var(--err-bg); }
.rowmessage { color: var(--err-ink); font-size: 0.8125rem; }
input[type=file] { font: inherit; }

.crontable { font-size: 0.875rem; }
.crontable th, .crontable td { padding: 0.375rem 0.5rem 0.375rem 0; }
.crontable td:first-child { white-space: nowrap; }
.crontable td:last-child { overflow-wrap: anywhere; word-break: break-word; }
.envcards { grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr)); }

/* Inloggegevens van het supportaccount */
.loginbox dl { display: grid; grid-template-columns: 9rem 1fr; gap: 0.375rem 0.75rem; margin: 0.75rem 0; align-items: center; }
.loginbox dd { margin: 0; }
.loginbox p { margin: 0.5rem 0 0; }
.secretvalue { user-select: all; background: var(--surface); color: var(--ink); padding: 0.125rem 0.375rem; border-radius: 4px; }
.btn-small { padding: 0.125rem 0.5rem; font-size: 0.8125rem; }

/* Opdracht van een cronjob: twee regels, uitklapbaar */
.command summary { list-style: none; cursor: pointer; display: flex; gap: 0.375rem; align-items: flex-start; }
.command summary::-webkit-details-marker { display: none; }
.command summary::before { content: "\25B8"; color: var(--muted); flex: none; line-height: 1.5; }
.command[open] summary::before { content: "\25BE"; }
.command summary span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; word-break: break-word; }
.command[open] summary span { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }

/* Versie */
.pagefoot { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem 2rem; color: var(--muted); font-size: 0.8125rem; }
.pagefoot a { color: inherit; text-decoration: underline; }
.authversion { margin: 1.25rem 0 0; text-align: center; color: var(--muted); font-size: 0.75rem; }
.changelog { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.5rem 1.25rem; max-width: 52rem; }
.changelog h2 { margin-top: 1.25rem; }
.changelog h2:first-child { margin-top: 0.25rem; }
.changelog ul { padding-left: 1.25rem; margin: 0.5rem 0; }
.changelog li { margin: 0.25rem 0; }

.tag-role { background: var(--primary); color: #fff; margin-left: 0.25rem; }

/* Mailing */
.mailbody { white-space: normal; overflow-wrap: anywhere; }
details > summary { cursor: pointer; margin-bottom: 0.5rem; }
.mailbody p { margin: 0 0 0.75rem; }
.mailbody h2 { font-size: 1.1875rem; margin: 1.25rem 0 0.5rem; }
.mailbody h3 { font-size: 1rem; margin: 1rem 0 0.5rem; }
.mailbody ul, .mailbody ol { margin: 0 0 0.75rem; padding-left: 1.5rem; }
.editor { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.editorbar { display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.375rem; border-bottom: 1px solid var(--line); }
.linkrow { display: flex; gap: 0.375rem; padding: 0.375rem; border-bottom: 1px solid var(--line); }
.linkrow[hidden], .editor[hidden] { display: none; }
.editorarea { min-height: 16rem; padding: 0.75rem; outline: none; }
.editorarea:focus-visible { box-shadow: inset 0 0 0 2px var(--primary); }
.attachments { list-style: none; padding: 0; max-width: 44rem; }
.attachments li { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: baseline; padding: 0.25rem 0; }
.stat-link { display: block; color: inherit; text-decoration: none; }
.stat-link:hover, .stat-link:focus-visible { border-color: var(--primary); }
.stat-link.current { border-color: var(--primary); box-shadow: inset 0 -3px 0 var(--primary); }

/* Openbaar formulier (onboarding) */
.publicpage { background: var(--bg); }
.publichead { background: var(--surface); border-bottom: 1px solid var(--line); padding: 0.875rem 1rem; display: flex; justify-content: center; }
.publicmain { max-width: 46rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.publicform { max-width: none; }
fieldset { border: 0; padding: 0; margin: 0 0 1.75rem; min-width: 0; }
legend { font-size: 1.125rem; font-weight: 600; padding: 0; margin-bottom: 0.25rem; }
.contactrows { display: grid; gap: 0.75rem; margin-bottom: 0.75rem; }
.contactrow { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem 1rem; }
.contactrow-title { margin: 0; font-weight: 600; }
.contactrow label { font-weight: 500; }
.contactrow label input { margin-top: 0.25rem; font-weight: 400; }
.checkrow { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin-top: 0.5rem; }
.checkrow label.check { margin: 0.25rem 0; }
.inputaddon { display: flex; align-items: center; gap: 0.375rem; }
.inputaddon input { flex: 1; }
.inputaddon span { color: var(--muted); white-space: nowrap; }
[hidden] { display: none !important; }
.contactrow label input { display: block; }
.contactrow.is-deleted { opacity: 0.55; border-style: dashed; }
.contactrow.is-deleted .deletecheck { opacity: 1; }
.deletecheck { margin-top: 0.5rem; color: var(--err-ink); }
textarea.narrow { max-width: 34rem; }
.mailtext { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem 1rem; font-size: 0.875rem; max-height: 30rem; overflow: auto; }
.cronsection > summary { list-style: none; margin: 1rem 0 0.375rem; }
.cronsection > summary::-webkit-details-marker { display: none; }
.cronsection > summary h3 { display: inline; margin: 0; }
.cronsection > summary::before { content: "\25B8"; display: inline-block; width: 1rem; color: var(--muted); transition: transform 0.15s; }
.cronsection[open] > summary::before { transform: rotate(90deg); }
.btn-microsoft { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.authdivider { display: flex; align-items: center; gap: 0.75rem; color: var(--muted); font-size: 0.875rem; margin: 1.25rem 0 0.5rem; }
.authdivider::before, .authdivider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
/* Vaste distributielijst: deelnemer bewerken in de tabel */
.member-edit { display: inline-block; vertical-align: middle; text-align: left; }
.member-edit > summary { margin: 0; color: var(--accent); }
.member-edit[open] { display: block; white-space: normal; margin: 0.25rem 0 0.75rem; }
.member-edit[open] form { min-width: 14rem; max-width: 20rem; margin-left: auto; }
.attachments .error { color: var(--err-ink); }

/* Splitsen van een incident met meerdere issues (DevOps-voorbeeld) */
.splitbox { border: 1px solid var(--warn-ink); border-radius: 8px; padding: 1rem 1.25rem; margin: 1rem 0 2rem; background: var(--warn-bg); }
.splitbox h2 { margin-top: 0; }
.splitbox fieldset.issue { border: 1px solid var(--line); border-radius: 6px; padding: .5rem 1rem 1rem; margin: 0 0 1rem; background: var(--surface); }
.splitbox legend { font-weight: 600; padding: 0 .25rem; }
.splitbox legend label.check { display: inline-flex; gap: .4rem; align-items: center; margin: 0; }
.splitbox ul.plain { list-style: none; padding: 0; margin: 0 0 1rem; }
.splitbox ul.plain li { margin: 0 0 .6rem; }
.splitbox ul.plain label.check { display: flex; gap: .5rem; align-items: flex-start; }
details.correction { border: 1px solid var(--line); border-radius: 6px; padding: .5rem 1rem; margin: 0 0 .5rem; background: var(--surface); }
details.correction summary { cursor: pointer; }
details.correction h4 { margin: .75rem 0 .25rem; }
.diffbox { border: 1px solid var(--line); border-radius: 4px; padding: .4rem .6rem; font-size: .9rem; white-space: normal; }

/* Release notes */
.releasepreview { border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.5rem; background: var(--surface); max-width: 48rem; margin: 0 0 2rem; }
.releasepreview h1 { font-size: 1.5rem; margin-top: .25rem; }
.releasepreview h2 { font-size: 1.2rem; margin-top: 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: .2rem; }
.releasepreview h3 { font-size: 1rem; margin: 1rem 0 .2rem; }
.releasepreview p { margin: 0 0 .5rem; }
.releasepreview i { color: var(--muted); }
fieldset.releaseentry { border: 1px solid var(--line); border-radius: 6px; padding: .5rem 1rem 1rem; margin: 0 0 1rem; }
fieldset.releaseentry legend { font-weight: 600; padding: 0 .25rem; }
.releasebar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; margin: .5rem 0 1rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.releasebar label { display: flex; flex-direction: column; font-size: .85rem; gap: .2rem; }
.releasebar input[type=text] { min-width: 14rem; }
.releasebar label.grow { flex: 1 1 18rem; } .releasebar label.grow input { width: 100%; }
th.checkcol, td.checkcol { width: 1%; padding-right: 0; }

/* Filters met meerdere keuzes (vinkjes in een uitklaplijst) */
.filters label.check { flex-direction: row; align-items: center; gap: .4rem; padding-bottom: .55rem; color: var(--ink); font-size: .875rem; }
.multiselect-field { display: flex; flex-direction: column; gap: 0.1875rem; font-size: 0.8125rem; color: var(--muted); }
details.multiselect { position: relative; }
details.multiselect > summary { list-style: none; cursor: pointer; min-width: 10rem; max-width: 16rem; padding: 0.4375rem 2rem 0.4375rem 0.625rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; }
details.multiselect > summary::-webkit-details-marker { display: none; }
details.multiselect > summary::after { content: ''; position: absolute; right: .7rem; top: 50%; width: .4rem; height: .4rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); }
details.multiselect[open] > summary { border-color: var(--accent, var(--muted)); }
.multiselect-options { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; min-width: 100%; max-height: 18rem; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 18px rgba(0,0,0,.12); padding: .35rem .5rem; }
.filters .multiselect-options label.check { padding: .2rem 0; white-space: nowrap; font-size: .9rem; }
.filters input[type=checkbox] { min-width: 0; width: auto; margin: 0; }

/* ---------- Dataportaal ---------- */
.authtenant { text-align: center; font-weight: 600; margin: -0.75rem 0 1.25rem; }
.reportgroup { margin-bottom: 1.75rem; }
.reportgroup h2 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.reportlist { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.reportlist li { padding: 0.625rem 1rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.125rem; }
.reportlist li:first-child { border-top: 0; }
.reportlist a { font-weight: 600; }
.reportlist .muted { font-size: 0.875rem; }
.reportfilters { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: flex-end; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.875rem 1rem; margin: 1rem 0; }
.reportfilters .field { display: flex; flex-direction: column; min-width: 11rem; }
.reportfilters label { margin: 0 0 0.25rem; }
.reportfilters input, .reportfilters select { margin: 0; }
.fielderror { color: var(--err-ink); font-size: 0.8125rem; margin-top: 0.25rem; }
.reporthead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem; }
.reporthead p { margin: 0.25rem 0; }
.reporthead .warn { color: var(--warn-ink); margin-left: 0.5rem; }
.exports { display: flex; gap: 0.5rem; }
.reporttable td { white-space: nowrap; }
.reporttable tfoot td { font-weight: 700; border-top: 2px solid var(--line); }
