/* EAA-check — the instrument. One neutral ground, one accent, used on the answer only. */

:root {
  --paper: #f3f2ee;
  --surface: #fbfaf7;
  --line: #cfccc3;
  --ink: #1b1b19;
  --muted: #5d5b55;
  --link: #1d3a5f;
  --accent: #b45309;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); }
body { margin: 0; }
a { color: var(--link); text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.num, kbd, time, input, .verdict, .hint .num, .examples td { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num { white-space: nowrap; }
.basis { color: var(--muted); font-size: .85em; }
kbd { background: var(--surface); border: 1px solid var(--line); padding: 0 .25em; font-size: .9em; }
cite { font-style: normal; }

.bar { display: flex; gap: 1rem; align-items: baseline; padding: .6rem 1.25rem; border-bottom: 1px solid var(--ink); }
.mark { font-weight: 650; color: var(--ink); text-decoration: none; }
.tool-name { font-family: var(--mono); color: var(--muted); }

/* One screen: inputs left, answer right. */
.instrument { display: grid; grid-template-columns: minmax(18rem, 26rem) 1fr; min-height: calc(100vh - 3rem); }
@media (max-width: 52rem) { .instrument { grid-template-columns: 1fr; min-height: 0; } }

.inputs { padding: 1.25rem; border-right: 1px solid var(--line); background: var(--surface); }
.inputs h1 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 1rem; font-weight: 650; }
.field { display: block; border: 0; margin: 0 0 1rem; padding: 0; }
.q { display: block; font-weight: 600; margin-bottom: .3rem; }
.q em { font-weight: 400; color: var(--muted); }
.hint { display: block; color: var(--muted); font-size: .85rem; margin-top: .25rem; }
.options { display: flex; gap: .9rem; flex-wrap: wrap; }
.opt { white-space: nowrap; }
input:not([type]) , input[inputmode] { width: 100%; font-size: 1.05rem; padding: .45rem .55rem; border: 1px solid var(--ink); background: #fff; border-radius: 0; }
button { font: inherit; font-weight: 650; padding: .6rem 1.4rem; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; border-radius: 0; }
button:hover { background: #000; }
.stored { font-size: .8rem; color: var(--muted); margin-top: 1rem; }

/* The answer: enormous, immediate. The accent lives here and nowhere else. */
.answer { padding: 1.5rem 2rem 2rem; position: relative; }
.answer::after {
  content: ""; position: absolute; left: 2rem; right: 2rem; top: 0; height: 10px;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 40px) top / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 8px) top / 100% 5px no-repeat;
}
.verdict { font-size: clamp(4rem, 12vw, 9rem); line-height: 1; font-weight: 700; margin: 1.5rem 0 .5rem; letter-spacing: -0.04em; color: var(--accent); }
.answer[data-status="geweigerd"] .verdict { font-size: clamp(2.5rem, 7vw, 5rem); }
.verdict-line { font-size: 1.4rem; font-weight: 600; margin: 0 0 1rem; max-width: 40ch; }
.verdict-idle { font-size: 1.4rem; color: var(--muted); margin-top: 2.5rem; }
.idle-note, .because { max-width: 62ch; }
.because { font-size: 1.05rem; }
.next h2 { font-size: 1rem; margin: 1.5rem 0 .4rem; }
.next ul, .refusals { padding-left: 1.1rem; max-width: 62ch; }
.next li, .refusal { margin-bottom: .5rem; }

/* The optional next step: below the answer, visibly separate. */
.signup { margin: 0; padding: 1.25rem 2rem; border-top: 1px solid var(--ink); background: var(--surface); }
.signup .step { font-family: var(--mono); font-size: .85rem; color: var(--muted); margin: 0; }
.signup h2 { font-size: 1.1rem; margin: .3rem 0 .5rem; }
.signup p { max-width: 70ch; }

/* The method, folded underneath. */
.method { border-top: 1px solid var(--ink); padding: 1rem 2rem 2rem; }
.method summary { cursor: pointer; font-weight: 650; }
.rules { max-width: 70ch; }
.table-wrap { overflow-x: auto; margin: 1rem 0; }
.examples { border-collapse: collapse; font-size: .85rem; min-width: 52rem; }
.examples caption { text-align: left; color: var(--muted); padding-bottom: .4rem; }
.examples th, .examples td { border-bottom: 1px solid var(--line); padding: .35rem .5rem; text-align: left; vertical-align: top; }
.examples thead th { border-bottom: 2px solid var(--ink); }
.examples tbody th { font-weight: 500; }
.sources { padding-left: 1.1rem; }
.dates { color: var(--muted); font-size: .85rem; }

.foot { border-top: 1px solid var(--line); padding: 1rem 2rem; font-size: .85rem; color: var(--muted); }
.foot nav { display: flex; gap: 1rem; }
