/* Functional layout on the Flexeo brand tokens (/brand.css). Mobile first (390 px). */
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--flexeo-font-family); color: var(--flexeo-color-text);
  background: var(--flexeo-color-bg); line-height: 1.55; font-size: 17px; font-variant-numeric: tabular-nums; }
a { color: var(--flexeo-color-text); text-underline-offset: 3px; }
.top { background: var(--flexeo-color-bg); border-bottom: 1px solid var(--flexeo-color-line);
  padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.logo img { height: 30px; width: auto; display: block; }
.steps { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; font-size: .85rem; flex-wrap: wrap; color: var(--flexeo-color-muted); }
.steps li[aria-current] { color: var(--flexeo-color-text); font-weight: 700; box-shadow: inset 0 -3px var(--flexeo-color-accent); }
main { max-width: 760px; margin: 0 auto; padding: 16px; }
h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin: 12px 0; font-weight: 650; letter-spacing: -0.01em; }
h2 { font-size: 1.25rem; margin: 28px 0 10px; }
.lead { color: var(--flexeo-color-muted); font-size: 1.05rem; }
fieldset { border: 1px solid var(--flexeo-color-line); background: var(--flexeo-color-surface); margin: 0 0 16px; padding: 12px; min-width: 0; }
legend { font-weight: 700; padding: 0 4px; }
label { display: block; margin: 12px 0 4px; font-weight: 600; }
input[type=url], input[type=email], input[type=number], input:not([type]), select, textarea {
  width: 100%; font: inherit; padding: 11px; border: 1px solid var(--flexeo-color-line);
  background: var(--flexeo-color-surface); color: inherit; border-radius: 0; }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--flexeo-color-text); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-top: 8px; }
.chips button.chip { margin: 0; padding: 8px; color: var(--flexeo-color-text); background: var(--flexeo-color-surface);
  border: 1px solid var(--flexeo-color-line); font-weight: 700; }
.chip small { display: block; font-weight: 400; font-size: .8rem; color: var(--flexeo-color-muted); }
.hint { color: var(--flexeo-color-muted); font-size: .9rem; margin: 6px 0; }
.fact { border-top: 1px dashed var(--flexeo-color-line); padding-top: 8px; margin-top: 8px; }
.fact-n { margin: 0; font-weight: 700; }
button, a.button { display: block; width: 100%; margin: 16px 0; padding: 14px; font: inherit; font-weight: 700; text-align: center; text-decoration: none;
  color: var(--flexeo-color-on-accent); background: var(--flexeo-color-accent); border: 1px solid var(--flexeo-color-text); cursor: pointer; border-radius: 0; }
button:hover, a.button:hover { background: var(--flexeo-color-text); color: var(--flexeo-color-accent); }
button.secondary { background: var(--flexeo-color-surface); color: var(--flexeo-color-text); }
button.secondary:hover { background: var(--flexeo-color-text); color: var(--flexeo-color-bg); }
button.danger { background: var(--flexeo-color-surface); color: var(--flexeo-color-error); border-color: var(--flexeo-color-error); }
.errors { border: 2px solid var(--flexeo-color-error); background: var(--flexeo-color-surface); color: var(--flexeo-color-error); padding: 8px 12px; margin: 12px 0; }
.notice { background: var(--flexeo-color-surface); border-left: 4px solid var(--flexeo-color-accent); padding: 8px 12px; margin: 12px 0; }
.notice.ok { border-left-color: var(--flexeo-color-ok); }
.legal { background: var(--flexeo-color-surface); border: 1px solid var(--flexeo-color-line); padding: 8px 12px; margin: 12px 0; max-height: 320px; overflow: auto; }
.doc-inline h1 { font-size: 1.15rem; margin: 4px 0 8px; }
.doc-inline { font-size: .92rem; }
.legal pre { white-space: pre-wrap; word-break: break-word; font-family: inherit; margin: 0; font-size: .9rem; }
.legal-meta { margin: 0 0 6px; font-size: .85rem; color: var(--flexeo-color-muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 6px; flex: 0 0 auto; }
.summary { display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; overflow-wrap: anywhere; }
.summary dt { font-weight: 700; }
.summary dd { margin: 0; }
.status { font-size: 1.1rem; }
table.checks { width: 100%; border-collapse: collapse; background: var(--flexeo-color-surface); font-size: .95rem; }
table.checks th, table.checks td { text-align: left; padding: 8px; border-bottom: 1px solid var(--flexeo-color-bg); vertical-align: top; overflow-wrap: anywhere; }
table.checks small { color: var(--flexeo-color-muted); }
tr.r-pass td:nth-child(2), tr.t-done td:nth-child(2) { color: var(--flexeo-color-ok); font-weight: 700; }
tr.r-issue td:nth-child(2), tr.r-warning td:nth-child(2) { font-weight: 700; }
tr.r-refuse td:nth-child(2) { color: var(--flexeo-color-error); font-weight: 700; }
tr.r-not_checked td, tr.r-unknown td { color: var(--flexeo-color-muted); }
.explain { color: var(--flexeo-color-muted); padding-left: 20px; }
.doc { background: var(--flexeo-color-surface); padding: 8px 20px 20px; border: 1px solid var(--flexeo-color-line); }
.doc table { border-collapse: collapse; width: 100%; }
.doc th, .doc td { border: 1px solid var(--flexeo-color-line); padding: 6px; text-align: left; vertical-align: top; }
.report { background: var(--flexeo-color-surface); padding: 4px 16px 12px; margin: 16px 0; }
.foot { max-width: 760px; margin: 32px auto; padding: 16px; color: var(--flexeo-color-muted); font-size: .9rem; border-top: 1px solid var(--flexeo-color-line); }
.foot nav a { color: var(--flexeo-color-muted); }
