/* Hälsokalkylatorn – admin. Same palette as the public site. */
:root {
  --bg: #f7f6f2; --surface: #fff; --ink: #1f2a1c; --muted: #5f6a5a; --line: #dedcd3; --line-strong: #c9c6ba;
  /* --muted was #6b7366 (4.1:1 on the grey step pills, 4.4:1 on table heads); #5f6a5a is >= 4.6:1 everywhere, as in the manuals */
  --green: #2e5e1e; --green-2: #3d7a28; --green-soft: #e8f1e1;
  --amber: #f2b705; --amber-soft: #fff6d9; --amber-ink: #7a5000;
  --blue-soft: #e8f0fb; --blue-ink: #1d4a8a;
  --bad: #a23a1e; --bad-bg: #f8e4dd; --good: #2e6b25; --good-bg: #e3f0dc;
  --focus: #1f6feb; --radius: 10px;
  /* Input and select borders: the lightest warm grey with 3:1 against the page background (3.05:1 on #f7f6f2,
     3.29:1 on white), so a field's edge is visible (WCAG 1.4.11). Was --line-strong, 1.6–1.7:1. */
  --field-line: #908e82;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--sans); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.75rem; } h2 { font-size: 1.35rem; } h3 { font-size: 1.1rem; }
p { margin: 0 0 .8em; }
a { color: var(--green); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); } .small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; background: var(--green); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; background: #fff; color: var(--green); display: grid; place-items: center; font: 700 20px var(--serif); }
.brand-name { display: block; font: 700 1.05rem var(--serif); }
.brand-sub { display: block; font-size: .8rem; color: #d6e6cc; }
.topbar-right { display: flex; align-items: center; gap: 14px; font-size: .9rem; flex-wrap: wrap; justify-content: flex-end; }
.topbar .link-quiet { color: #fff; }
.topbar .btn.ghost { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; }
.topbar .btn.ghost:hover { background: rgba(255,255,255,.12); }
.topbar :focus-visible { outline-color: #fff; } /* the blue ring is 1.7:1 on the green bar; white is 7.7:1 */
.test-banner { background: #3b2f6b; color: #fff; padding: 8px 20px; font-size: .92rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .95rem var(--sans); padding: 9px 16px; border-radius: 8px; border: 1px solid var(--green); background: var(--surface); color: var(--green); cursor: pointer; text-decoration: none; min-height: 40px; }
.btn:hover { background: var(--green-soft); }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-2); }
.btn.ghost { border-color: var(--line-strong); color: var(--ink); }
.btn.danger { border-color: var(--bad); color: var(--bad); }
.btn.danger:hover { background: var(--bad-bg); }
.btn.small { padding: 5px 11px; min-height: 32px; font-size: .85rem; }
.btn.big { padding: 13px 22px; font-size: 1.05rem; }
.btn.wide { width: 100%; }
.btn .spinner { width: 16px; height: 16px; border-width: 2px; }
/* Not available now: flat grey with grey text (4.7:1, readable), no hover change. Was 45% opacity, which left
   grey-on-white text at about 2:1 and looked like a faded version of the same button. Placed after the
   :hover rules so a disabled button does not light up under the mouse. */
.btn[disabled], .btn[disabled]:hover, .btn[aria-disabled="true"], .btn[aria-disabled="true"]:hover {
  background: #ebe9e3; border-color: #d6d3c9; color: var(--muted); box-shadow: none; cursor: not-allowed;
}
.btn[aria-disabled="true"] { pointer-events: none; } /* a link: it must not open while disabled */
.btn[disabled]:has(.spinner) { cursor: progress; } /* busy: working, not refused */
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }

/* ---------- login ---------- */
.login { display: grid; place-items: center; padding: 40px 16px; }
.login-card { width: min(440px, 100%); }
.login-card label { display: block; font-weight: 600; margin: 14px 0 4px; }
.login-card input { width: 100%; }
.pw-row { display: flex; gap: 8px; }
.login-card .btn.wide { margin-top: 18px; }
.form-error { color: var(--bad); background: var(--bad-bg); padding: 8px 12px; border-radius: 8px; margin: 14px 0 0; }

input[type="text"], input[type="password"], input:not([type]), select, textarea {
  font: inherit; padding: 8px 10px; border: 1px solid var(--field-line); border-radius: 7px; background: #fff; color: var(--ink);
}
textarea { width: 100%; min-height: 70px; resize: vertical; }
select { min-height: 40px; }
label.field { display: block; font-weight: 600; margin: 12px 0 4px; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: .875rem; }

/* ---------- status bar ---------- */
.statusbar { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: auto 1fr auto; gap: 8px 18px; align-items: center; padding: 10px 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 2px 6px rgba(0,0,0,.04); font-size: .92rem; }
.status-live { display: flex; align-items: center; gap: 8px; }
.status-draft { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.status-draft.has-changes { color: var(--amber-ink); font-weight: 600; }
.status-actions { display: flex; gap: 8px; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.dot.live { background: var(--good); box-shadow: 0 0 0 3px var(--good-bg); }
.dot.draft { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.dot.none { background: var(--line-strong); }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: 262px minmax(0, 1fr); min-height: calc(100vh - 120px); }
/* minmax(0, …): a wide table scrolls inside its own box instead of widening the whole page. 262px keeps
   "Granska och publicera" and its badge on one line. */
.sidenav { padding: 18px 10px; border-right: 1px solid var(--line); background: #fbfaf7; }
.sidenav a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.sidenav a:hover { background: var(--green-soft); }
.sidenav a.active { background: var(--green); color: #fff; }
.sidenav .ico { width: 18px; text-align: center; }
.nav-head { margin: 16px 12px 4px; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.badge { margin-left: auto; background: var(--amber); color: #3a2a00; border-radius: 999px; padding: 0 8px; font-size: .78rem; font-weight: 700; }
.view { padding: 26px 30px 70px; max-width: 1180px; outline: none; }
.view > h1 { margin-bottom: .3em; }
.lead { font-size: 1.05rem; color: #3c4638; max-width: 70ch; }

/* ---------- cards & boxes ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; }
.card h2 { margin-bottom: .4em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.action-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--ink); }
.action-card:hover { border-color: var(--green); box-shadow: 0 4px 14px rgba(46,94,30,.12); }
.action-card .big-ico { font-size: 1.6rem; }
.action-card strong { font-size: 1.05rem; color: var(--green); }
.box { border-radius: 8px; padding: 12px 16px; margin: 12px 0; border: 1px solid; }
.box.info { background: var(--blue-soft); border-color: #c4d6f2; color: #1d3557; }
.box.warn { background: var(--amber-soft); border-color: #f0d68a; color: var(--amber-ink); }
.box.error { background: var(--bad-bg); border-color: #e9b9a9; color: var(--bad); }
.box.success { background: var(--good-bg); border-color: #b9d9ad; color: #1f4d18; }
.box > :last-child { margin-bottom: 0; }
.box ul { margin: 6px 0 0; padding-left: 20px; }
details.help { margin: 10px 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
details.help > summary { cursor: pointer; padding: 10px 14px; font-weight: 600; color: var(--green); }
details.help > div { padding: 0 16px 12px; }
details.help dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; }
details.help dt { font-weight: 600; } details.help dd { margin: 0; }

/* ---------- source status list ---------- */
.status-list { list-style: none; margin: 0; padding: 0; }
.status-list li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.status-list li:first-child { border-top: 0; }
.status-list .title { font-weight: 600; }
.status-list .detail { color: var(--muted); font-size: .9rem; }
.state-ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.state-ico.ok { background: var(--good-bg); color: var(--good); }
.state-ico.new { background: var(--amber-soft); color: var(--amber-ink); }
.state-ico.manual { background: #eceae3; color: var(--muted); }
.state-ico.err { background: var(--bad-bg); color: var(--bad); }

/* ---------- progress steps ---------- */
.steps { list-style: none; padding: 0; margin: 12px 0; }
.steps li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 6px 0; align-items: start; }
.steps .s-ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; margin-top: 1px; }
.steps li.pending .s-ico { border: 2px solid var(--line-strong); }
.steps li.running .s-ico { border: 3px solid var(--green-soft); border-top-color: var(--green); animation: spin .8s linear infinite; }
.steps li.done .s-ico { background: var(--good); color: #fff; }
.steps li.warn .s-ico { background: var(--amber); color: #3a2a00; }
.steps li.failed .s-ico { background: var(--bad); color: #fff; }
.steps li.pending .s-text { color: var(--muted); }
.steps .s-detail { display: block; font-size: .875rem; color: var(--muted); }
.steps li.failed .s-detail { color: var(--bad); }
.spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid var(--green-soft); border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-screen { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 80px 20px; color: var(--muted); }

/* ---------- wizard ---------- */
.wizard-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 10px 0 22px; flex-wrap: wrap; counter-reset: ws; }
.wizard-steps li { counter-increment: ws; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #eceae3; color: var(--muted); font-size: .9rem; }
.wizard-steps li::before { content: counter(ws); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-weight: 700; }
.wizard-steps li.current { background: var(--green); color: #fff; }
.wizard-steps li.current::before { color: var(--green); }
.wizard-steps li.done { background: var(--good-bg); color: var(--good); }
.wizard-steps li.done::before { content: "✓"; }
.year-choices { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.year-choice { display: flex; align-items: flex-start; gap: 8px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; cursor: pointer; min-width: 220px; }
.year-choice input { margin-top: 4px; width: 18px; height: 18px; }
.year-choice:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.year-choice .y { font-weight: 700; font-size: 1.1rem; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 2px solid var(--line); margin: 14px 0 0; }
.tabs button { font: 600 .92rem var(--sans); padding: 8px 14px; border: 1px solid transparent; border-bottom: 0; background: transparent; color: var(--muted); border-radius: 8px 8px 0 0; cursor: pointer; margin-bottom: -2px; }
.tabs button[aria-selected="true"] { background: var(--surface); border-color: var(--line); border-bottom: 2px solid var(--surface); color: var(--green); }
.tabs button .count { background: var(--amber); color: #3a2a00; border-radius: 999px; padding: 0 7px; font-size: .75rem; margin-left: 6px; }
.controls { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: flex-end; margin: 14px 0; }
.controls label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .9rem; }

/* ---------- editable grid ---------- */
/* A long table scrolls inside its own box, at most one screen tall, so the column headers (and the names on
   the left) stay in view. The whole box, with its own scrollbar, fits below the sticky status bar; a table
   that already fits on the screen gets no inner scrollbar. scroll-padding keeps a cell reached with
   Tab/Enter/arrows from stopping under the sticky headers. */
.grid-wrap { overflow: auto; max-height: max(18rem, calc(100vh - 96px)); scroll-padding: calc(2.76rem + 32px) 0 0 10.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
.grid-wrap.round { border-radius: var(--radius); }
table.grid { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .92rem; }
/* separate, not collapse: collapsed borders stay behind when a sticky cell moves, so the header lost its lines.
   Each cell draws only its bottom and left border, so the lines are still single. */
table.grid th, table.grid td { border-bottom: 1px solid var(--line); padding: 0; }
table.grid thead th { background: #f3f2ec; font-weight: 600; padding: 7px 8px; text-align: center; white-space: nowrap; border-left: 1px solid var(--line); }
table.grid thead th.group { background: #e9efe4; color: var(--green); }
table.grid thead th { position: sticky; top: 0; z-index: 2; }
table.grid thead tr + tr th { top: calc(1.38rem + 15px); } /* under the first header row (Män/Kvinnor): one line of .92rem × 1.5 + 14px padding + 1px border */
table.grid thead tr:first-child th:first-child { left: 0; z-index: 3; border-left: 0; } /* corner: stays put both ways; the box draws its left edge */
table.grid tbody th { text-align: left; font-weight: 500; padding: 4px 12px; white-space: nowrap; background: #fbfaf7; position: sticky; left: 0; z-index: 1; }
table.grid tbody th small { display: block; color: var(--muted); font-weight: 400; }
table.grid td { border-left: 1px solid var(--line); position: relative; }
table.grid td.sep, table.grid th.sep { border-left: 2px solid var(--line-strong); }
table.grid input.cell { width: 100%; min-width: 92px; border: 0; padding: 7px 8px; text-align: right; font: inherit; font-variant-numeric: tabular-nums; background: transparent; border-radius: 0; }
table.grid input.cell:hover { background: rgba(46,94,30,.05); } /* a tint, so yellow/blue/red cells keep their colour under the mouse */
table.grid tbody tr:hover > * { background-image: linear-gradient(rgba(46,94,30,.04), rgba(46,94,30,.04)); }
table.grid input.cell:focus { outline: 2px solid var(--focus); outline-offset: -2px; background: #fff; }
table.grid td.changed { background: var(--amber-soft); }
table.grid td.changed::after { content: ""; position: absolute; top: 3px; right: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
table.grid td.new { background: var(--blue-soft); }
table.grid td.invalid { background: var(--bad-bg); }
table.grid td.invalid input.cell { color: var(--bad); font-weight: 700; }
table.grid td.readonly { background: #f3f2ec; color: var(--muted); text-align: right; padding: 7px 8px; font-variant-numeric: tabular-nums; }
table.grid tfoot td, table.grid tfoot th { background: #f3f2ec; font-size: .85rem; padding: 6px 8px; text-align: right; color: var(--muted); }
table.grid tfoot th { text-align: left; position: sticky; left: 0; z-index: 1; }
/* The names' right edge is drawn by the sticky cells themselves, so it stays when the numbers scroll sideways
   (the neighbouring left border would scroll away); that neighbour's own line is hidden to keep it single. */
table.grid tbody th, table.grid tfoot th, table.grid thead tr:first-child th:first-child { box-shadow: inset -1px 0 0 var(--line); }
table.grid tbody th + td, table.grid tfoot th + td, table.grid thead tr:first-child th:first-child + th, table.grid thead tr + tr th:first-child { border-left-color: transparent; }
table.grid tfoot td.off { color: var(--bad); font-weight: 700; }
table.grid tr.highlight th { color: var(--green); font-weight: 700; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: var(--muted); margin: 8px 0; }
.legend span::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 6px; border: 1px solid var(--line-strong); }
.legend .l-changed::before { background: var(--amber-soft); }
.legend .l-new::before { background: var(--blue-soft); }
.legend .l-invalid::before { background: var(--bad-bg); }
.cell-errors { margin: 10px 0; }
.changes-panel { margin-top: 16px; }
.changes-panel ul { list-style: none; padding: 0; margin: 8px 0 0; max-height: 280px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.changes-panel li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 12px; border-top: 1px solid var(--line); font-size: .9rem; }
.changes-panel li:first-child { border-top: 0; }
.from-to { font-variant-numeric: tabular-nums; white-space: nowrap; }
.from-to del { color: var(--muted); }
.from-to ins { text-decoration: none; font-weight: 700; }

/* ---------- preview / compare tables ---------- */
table.plain { border-collapse: collapse; width: 100%; font-size: .9rem; background: #fff; }
table.plain th, table.plain td { border: 1px solid var(--line); padding: 6px 9px; text-align: right; font-variant-numeric: tabular-nums; }
table.plain th:first-child, table.plain td:first-child { text-align: left; }
table.plain thead th { background: #f3f2ec; }
table.plain .up { color: var(--amber-ink); } table.plain .flag { background: var(--amber-soft); font-weight: 700; }
.scroll { overflow-x: auto; }
.change-list { max-height: 360px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.change-list table.plain { border: 0; }
.scroll + h3, .btn-row + h3 { margin-top: 1.3em; } /* a heading after a table or a row of buttons (review page, Inställningar) gets section spacing instead of touching it */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 6px 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; }
.check-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 2px solid var(--amber); border-radius: 8px; background: var(--amber-soft); margin: 12px 0; cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin-top: 2px; }

/* ---------- history ---------- */
.history { list-style: none; padding: 0; margin: 0; }
.history li { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
.history li.is-live { border-color: var(--good); box-shadow: 0 0 0 2px var(--good-bg); }
.history .h-head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.history .h-ver { font-weight: 700; font-size: 1.05rem; }
.history .pill { font-size: .78rem; border-radius: 999px; padding: 1px 9px; background: var(--good-bg); color: var(--good); font-weight: 700; }
.history .pill.restore { background: var(--blue-soft); color: var(--blue-ink); }

/* ---------- toasts & dialog ---------- */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 100; display: flex; flex-direction: column; gap: 8px; max-width: min(420px, calc(100vw - 36px)); }
.toast { padding: 12px 16px; border-radius: 9px; background: #23301f; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: .93rem; display: flex; gap: 10px; align-items: flex-start; animation: toast-in .2s ease-out; }
.toast.success { background: #1f5418; } .toast.error { background: #8a2c14; } .toast.warn { background: #6b4b00; }
.toast button { margin: -4px -6px -4px auto; padding: 4px 7px; border-radius: 6px; background: transparent; border: 0; color: #fff; font-size: 1.1rem; cursor: pointer; line-height: 1; }
.toast button:hover { background: rgba(255,255,255,.16); }
.toast button:focus-visible { outline-color: #fff; outline-offset: 0; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }
.dialog { border: 0; border-radius: 12px; padding: 22px 24px; width: min(560px, calc(100vw - 32px)); box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.dialog::backdrop { background: rgba(20,30,15,.5); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wide-input { width: 100%; }
.badge-inline { display: inline-block; background: var(--amber-soft); color: var(--amber-ink); border: 1px solid #f0d68a; border-radius: 999px; padding: 2px 10px; font-size: .85rem; font-weight: 600; margin: 2px 4px 2px 0; }

.check-inline { display: flex !important; gap: 8px; align-items: center; font-weight: 400 !important; }
.check-inline input { width: auto !important; }
.login-card details.help ol { padding-left: 20px; margin: 4px 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidenav { display: flex; overflow-x: auto; gap: 4px; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
  .sidenav .nav-head { display: none; }
  .statusbar { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 8px 16px; }
  .topbar, .test-banner { padding-left: 16px; padding-right: 16px; } /* same 16px gutter as the page content */
  .view { padding: 20px 16px 60px; }
  .two-col { grid-template-columns: 1fr; }
  /* the status bar is taller here (about 135px on a phone); svh = the height while the browser's bars show */
  .grid-wrap { max-height: max(18rem, calc(100vh - 170px)); max-height: max(18rem, calc(100svh - 170px)); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media print { .grid-wrap { max-height: none; overflow: visible; } } /* a printed table is not cut at one screen's height */
#dataChecks details > summary { cursor: pointer; padding: 6px 0; font-weight: 600; color: var(--green); }
