/* Colors: the --df-* tokens are BRAND-COLORS.md's (ground rule 11, Matthew 2026-10-10); the page's
   own tokens map onto them. Light only: the report is printed to PDF. Red, amber and green are
   status colors, not brand, and keep their own values. */
:root {
  --df-navy: #131533;
  --df-violet: #5B3E84;
  --df-blue: #3C67A6;
  --df-teal: #29A4A6;
  --df-teal-ink: #1F7B7D;
  --df-blue-light: #678FC8;
  --df-violet-light: #9B7FC3;
  --df-page: #F4F5F9;
  --df-surface-dark: #1D2047;
  --df-text-dark: #E8EAF4;

  --ink: var(--df-navy); --muted: #5b6475; --line: #d9dee7; --bg: var(--df-page); --card: #fff;
  --green: #1f7a3d; --green-bg: #e3f4e8; --amber: #8a5a00; --amber-bg: #fdf1d6;
  --red: #a4262c; --red-bg: #fbe3e4; --gray-bg: #eef0f4; --accent: var(--df-teal-ink);
}
* { 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; }
a { color: var(--accent); }
.notice a, .error a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--df-teal); outline-offset: 2px; }
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(--gray-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; }
}
/* The questionnaire. */
#questionnaire h3 { margin-top: 22px; }
.q-inline label, .q-tiers label { margin-right: 18px; white-space: nowrap; }
.q-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 16px; }
.q-grid label, .q-people label { display: block; font-size: 13px; margin: 4px 0; }
.q-grid input, .q-grid textarea, .q-people input, .q-people textarea { display: block; width: 100%; font: inherit; padding: 4px 6px; margin-top: 2px; }
.q-apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.q-app input[type=text], .q-app input[type=email] { width: 100%; }
.q-fact { background: var(--gray-bg); padding: 8px 12px; border-radius: 6px; }
.q-support { border-left: 4px solid var(--df-violet); padding: 2px 14px; background: var(--gray-bg); border-radius: 0 6px 6px 0; }
.ok-note { background: var(--green-bg); color: var(--green); padding: 10px 14px; border-radius: 6px; }
.q-inline label, .q-tiers label { display: inline-block; }
.q-app input[type=radio], .q-inline input[type=radio] { width: auto; }
[hidden] { display: none !important; }
.q-people input[type=radio] { display: inline; width: auto; margin: 0 4px 0 0; }
.q-people .q-inline label { display: inline-block; margin-right: 14px; }
.q-apps { align-items: start; }
.q-people .q-inline { font-size: 13px; }
/* The install console (install.html). Status colors are the report's own. */
.console .steps { list-style: none; padding: 0; margin: 0; }
.console .steps li.side h3 { margin: 22px 0 6px; }
.console .step { border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 6px; padding: 10px 14px; margin: 8px 0; background: var(--card); }
.console .step.ok { border-left-color: var(--green); }
.console .step.fail { border-left-color: var(--red); }
.console .step.todo, .console .step.warn { border-left-color: var(--amber); }
.console .step p { margin: 6px 0; }
.console .step-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.console .step-head small, .console .small { color: var(--muted); font-size: 13px; }
.console .mark { display: inline-block; min-width: 18px; font-weight: 700; }
.console .step.ok .mark { color: var(--green); }
.console .step.fail .mark { color: var(--red); }
.console .step.todo .mark, .console .step.warn .mark { color: var(--amber); }
.console .step.warn .output { background: var(--amber-bg); color: var(--amber); }
.console .command { display: flex; gap: 8px; align-items: flex-start; }
.console .command code { flex: 1; display: block; background: var(--gray-bg); border-radius: 4px; padding: 6px 8px; font: 13px/1.4 ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.console .output { background: var(--gray-bg); border-radius: 4px; padding: 8px 10px; font: 12px/1.45 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; margin: 6px 0 0; }
.console .step.fail .output { background: var(--red-bg); color: var(--red); }
.console .what-next { font-weight: 600; margin: 8px 0 0; }
.console a.button { display: inline-block; background: var(--accent); color: #fff; border-radius: 6px; padding: 8px 16px; text-decoration: none; }
.console a.button[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.console select, .console input[type=text] { font: inherit; padding: 4px 6px; }
.console .step-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
