:root {
  --ink: #1d2433; --muted: #5b6475; --line: #d9dee7; --bg: #f6f7fa; --card: #fff;
  --green: #1f7a3d; --green-bg: #e3f4e8; --amber: #8a5a00; --amber-bg: #fdf1d6;
  --red: #a4262c; --red-bg: #fbe3e4; --grey-bg: #eef0f4; --accent: #2b5fd9;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); }
header, main, footer { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
header { padding-top: 28px; }
h1 { margin: 0 0 4px; font-size: 26px; }
h2 { font-size: 21px; margin: 0 0 6px; }
h3 { font-size: 16px; margin: 26px 0 8px; }
main > section { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 20px 24px; margin: 18px 0; }
button { font: inherit; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 8px 16px; cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
button.secondary, a.secondary { background: none; color: var(--accent); padding: 8px 12px; }
.error { background: var(--red-bg); color: var(--red); padding: 10px 14px; border-radius: 6px; }
.notice { background: var(--amber-bg); color: var(--amber); padding: 10px 14px; border-radius: 6px; }
.facts { color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 8px; }
.facts strong { color: var(--red); }
table { border-collapse: collapse; width: 100%; }
th, td { border-bottom: 1px solid var(--line); padding: 7px 9px; text-align: left; vertical-align: top; }
thead th { font-size: 13px; color: var(--muted); font-weight: 600; }
.summary { max-width: 520px; }
.light { display: inline-block; min-width: 92px; text-align: center; border-radius: 12px; padding: 1px 10px; font-size: 13px; font-weight: 600; }
.light.green { background: var(--green-bg); color: var(--green); }
.light.amber { background: var(--amber-bg); color: var(--amber); }
.light.red { background: var(--red-bg); color: var(--red); }
.legend .light { min-width: 0; margin-left: 10px; }
.scroll { overflow-x: auto; }
.matrix { table-layout: fixed; }
.matrix thead th:first-child, .matrix tbody th[scope=row] { width: 26%; }
.matrix th.col { text-align: center; white-space: normal; font-size: 12px; line-height: 1.25; }
.matrix td.st { font-size: 12px; padding: 7px 2px; }
.matrix tr.section th { background: var(--grey-bg); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.st { font-size: 13px; font-weight: 600; text-align: center; white-space: nowrap; }
.st.ok { color: var(--green); background: var(--green-bg); }
.st.warn, .st.unknown { color: var(--amber); background: var(--amber-bg); }
.st.block { color: var(--red); background: var(--red-bg); }
.st.na { color: var(--muted); font-weight: 400; }
#notes li .st, #notes li .st { padding: 0 6px; border-radius: 4px; }
#notes ul { padding-left: 20px; margin: 4px 0 10px; }
#notes h3 { font-size: 14px; margin: 16px 0 2px; }
#manual li { margin-bottom: 10px; }
#manual small { color: var(--muted); }
.accounts { display: flex; flex-wrap: wrap; gap: 12px; }
fieldset { border: 1px solid var(--line); border-radius: 6px; }
fieldset label { display: block; margin: 4px 0; font-size: 13px; }
fieldset input { width: 280px; font: inherit; padding: 4px 6px; }
footer { color: var(--muted); font-size: 13px; padding-bottom: 30px; }
@media print {
  body { background: #fff; font-size: 11px; }
  .no-print, button, #intro, footer { display: none !important; }
  main > section { border: 0; padding: 0; }
  .scroll { overflow: visible; }
  a { color: inherit; }
  .st, .light { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
