/* Datadroit site styles. SPDX-License-Identifier: EUPL-1.2
   No external fonts or resources: Datadroit loads nothing from third parties.
   Brand: Brand Identity Guidelines v1 (June 2026), with the type decided on
   31 Oct 2026: a text-only DATADROIT wordmark (Chakra Petch, outlined), Carlito
   for the interface, Source Serif 4 for anything that is law text, Courier New
   for technical values. Navy for structure, gold for accents and calls to
   action (never a background), light grey #F4F4F2, body text #1C1C2E. */

/* Self-hosted fonts (web/fonts, SIL OFL): Inter for the interface (the logo's own face), Source Serif 4 for headings and law text. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-ext-400-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/inter-latin-700-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-ext-600-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/inter-latin-ext-700-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/source-serif-4-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/source-serif-4-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/source-serif-4-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/source-serif-4-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/source-serif-4-latin-400-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/source-serif-4-latin-ext-400-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  color-scheme: light;
  --bg: #f4f4f2;
  --surface: #ffffff;
  --ink: #1c1c2e;
  --ink-2: #44465a;
  --muted: #666666;
  --rule: #dcdcd6;
  --navy: #1a3c6b;
  --navy-hover: #142f55;
  --navy-tint: #e8eef7;
  --gold: #c89b2a;
  --pass: #2e7d4f;
  --partial: #c98a10;
  --fail: #b42318;
  --neutral: #9aa3b2;
  --cell-empty: #cbd2dc;

  --dark: #060e1a;
  --sans: Inter, "Liberation Sans", Arial, sans-serif;
  --law: "Source Serif 4", Georgia, "Times New Roman", serif;
  --serif: var(--sans); /* interface headings stay in the interface font */
  --mono: "Courier New", "Liberation Mono", Courier, monospace;

  --page: 1080px;
  --gutter: 16px;
  --radius: 6px;
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 var(--sans);
}

img, svg { display: block; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-hover); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header and burger menu ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}

.site-header > .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.brand { display: block; text-decoration: none; }
.brand img { height: 26px; width: auto; }
@media (max-width: 420px) { .brand img { height: 22px; } .geo-button { padding: 0 10px; gap: 6px; } .menu-button { padding: 0 11px; } .site-header > .wrap { gap: 6px; } }

.menu-button {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 14px;
  border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--surface); color: var(--ink);
  font: 500 15px/1 var(--sans); cursor: pointer;
}
.menu-button:hover { border-color: var(--navy); }

.burger { position: relative; width: 18px; height: 12px; }
.burger span {
  position: absolute; left: 0; width: 18px; height: 2px; border-radius: 1px;
  background: var(--navy); transition: transform 160ms ease, opacity 160ms ease;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 5px; }
.burger span:nth-child(3) { top: 10px; }
.menu-button[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-button[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.menu-panel {
  position: absolute; left: 0; right: 0; top: 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 12px 24px -16px rgba(14, 26, 43, 0.35);
  transform-origin: top; transition: transform 160ms ease, opacity 160ms ease;
}
.menu-panel[hidden] { display: block; visibility: hidden; opacity: 0; transform: scaleY(0.96); pointer-events: none; }

.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-inner { max-width: var(--page); margin: 0 auto; padding: 8px var(--gutter) 24px; display: grid; gap: 8px 48px; max-height: calc(100vh - 64px); overflow-y: auto; }
@media (min-width: 860px) { .menu-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 16px; } }
.menu-pages li + li { border-top: 1px solid var(--rule); }
.menu-pages a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 0; text-decoration: none; color: var(--ink);
}
.menu-pages a:hover { color: var(--navy); }
.menu-panel .menu-title { font: 700 24px/1.2 var(--sans); }
.menu-panel .menu-note { color: var(--muted); font-size: 14px; text-align: right; }
.menu-rights { padding: 16px 0 0; border-top: 1px solid var(--rule); }
@media (min-width: 860px) { .menu-rights { border-top: 0; border-left: 1px solid var(--rule); padding: 8px 0 0 32px; } }
.menu-rights-title { font: 600 15px/1.4 var(--sans); margin: 0 0 8px; }
.menu-rights-list a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 9px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--rule);
}
.menu-rights-list a:hover .right-name { color: var(--navy); text-decoration: underline; }
.right-name { font-size: 15px; }
.right-basis { font-size: 14px; color: var(--navy); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-rights-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 559px) {
  .menu-pages a { flex-direction: column; gap: 2px; }
  .menu-panel .menu-note { text-align: left; }
}
.menu-panel a[aria-current="page"] .menu-title { color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- Type ---------- */

h1, h2, h3 { font-family: var(--sans); font-weight: 700; color: var(--navy); margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.4vw, 32px); line-height: 1.2; }
h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.35; }

.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Buttons and form ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border-radius: var(--radius);
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid var(--navy); background: var(--navy); color: #fff;
}
.button:not(.button-quiet) { box-shadow: inset 0 -3px 0 var(--gold); } /* gold marks the call to action */
.button:hover { background: var(--navy-hover); color: #fff; }
.button-quiet { background: var(--surface); color: var(--navy); }
.button-quiet:hover { background: var(--navy-tint); color: var(--navy); }

.scan-form { display: flex; gap: 8px; max-width: 560px; }
.scan-form input {
  flex: 1; min-width: 0; height: 48px; padding: 0 14px;
  border: 1px solid #b9c1cd; border-radius: var(--radius);
  background: var(--surface); color: var(--ink); font: 16px var(--sans);
}
.scan-form input::placeholder { color: #8a93a4; }
.scan-form input:focus-visible { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--navy); }

.form-note {
  margin-top: 12px; max-width: 560px; padding: 12px 14px;
  border-left: 3px solid var(--navy); background: var(--navy-tint); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
}

@media (max-width: 479px) {
  .scan-form { flex-direction: column; }
  .scan-form input { flex: none; }
  .scan-form .button { width: 100%; }
}

/* ---------- Landing ---------- */

.hero { padding: 56px 0 64px; }
.hero .wrap { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) {
  .hero { padding: 88px 0 96px; }
  .hero .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
}
.hero h1 { max-width: 13em; }
.hero .lead { margin: 20px 0 32px; }
.hero-alt { margin-top: 20px; font-size: 15px; }

.panel {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 24px;
}
.panel-title { font: 600 15px/1.4 var(--sans); margin: 0 0 4px; }
.panel-sub { margin: 0 0 20px; font-size: 14px; color: var(--muted); }

.section { padding: 64px 0; border-top: 1px solid var(--rule); }
.section h2 { margin-bottom: 32px; max-width: 22em; }

.three { display: grid; gap: 32px; }
@media (min-width: 760px) { .three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.three h3 { margin-bottom: 8px; }
.three p { margin: 0; color: var(--ink-2); }
.three .status-tag { margin-top: 12px; }

.status-tag {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--navy);
  border: 1px solid var(--navy); border-radius: 999px; padding: 2px 10px;
}
.status-tag.later { color: var(--muted); border-color: var(--rule); }

.principles { display: grid; gap: 28px; max-width: 760px; }
@media (min-width: 760px) { .principles { grid-template-columns: 1fr 1fr; gap: 32px 48px; max-width: none; } }
.principles h3 { margin-bottom: 6px; }
.principles p { margin: 0; color: var(--ink-2); }

/* ---------- Obligation grid ---------- */

.grid-law + .grid-law { margin-top: 18px; }
.grid-law-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 14px; }
.grid-law-name { font-weight: 600; }
.grid-law-count { color: var(--muted); white-space: nowrap; }

.cells { display: flex; flex-wrap: wrap; gap: 4px; }
.cell {
  position: relative; width: 20px; height: 20px; border-radius: 3px;
  border: 1.5px solid var(--cell-empty); background: var(--surface);
  text-decoration: none; flex: none;
}
.cell:focus-visible { outline-offset: 1px; }
.cell:hover { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }

.cell.pass { background: var(--pass); border-color: var(--pass); }
.cell.partial { border-color: var(--partial); background: linear-gradient(135deg, var(--partial) 50%, var(--surface) 50%); }
.cell.fail { background: var(--fail); border-color: var(--fail); }
.cell.fail::after {
  content: ""; position: absolute; inset: 4px;
  background:
    linear-gradient(45deg, transparent 43%, #fff 43%, #fff 57%, transparent 57%),
    linear-gradient(-45deg, transparent 43%, #fff 43%, #fff 57%, transparent 57%);
}
.cell.not_applicable { border-color: var(--neutral); background: linear-gradient(135deg, transparent 46%, var(--neutral) 46%, var(--neutral) 54%, transparent 54%); }
.cell.not_yet_checked { border-color: var(--cell-empty); }
.cell.not_verifiable, .cell.cap-external {
  border-color: var(--neutral);
  background: repeating-linear-gradient(135deg, var(--neutral) 0 1.5px, var(--surface) 1.5px 5px);
}
.cell.out_of_scope { border-style: dashed; border-color: #b8c0cc; background: transparent; }
.cell.cap-now { background: var(--navy); border-color: var(--navy); }
.cell.cap-later { border-color: var(--navy); background: var(--navy-tint); }

.legend { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px 20px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend .cell { width: 16px; height: 16px; pointer-events: none; }
.legend .cell.fail::after { inset: 3px; }
.legend b { font-variant-numeric: tabular-nums; margin-left: auto; padding-left: 8px; }

.tooltip {
  position: fixed; z-index: 30; max-width: 280px; pointer-events: none;
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 8px 10px; font-size: 13px; line-height: 1.4;
  box-shadow: 0 8px 20px -8px rgba(14, 26, 43, 0.5);
}
.tooltip[hidden] { display: none; }
.tooltip strong { display: block; font-weight: 600; }
.tooltip span { color: #c9d2df; }

@media (prefers-reduced-motion: no-preference) {
  .cells.reveal .cell { animation: cell-in 260ms ease both; animation-delay: calc(var(--i) * 14ms); }
  @keyframes cell-in { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
}

/* ---------- Results ---------- */

.example-bar { background: var(--navy-tint); border-bottom: 1px solid #cfdaea; font-size: 14px; }
.example-bar .wrap { padding-top: 10px; padding-bottom: 10px; }

.result-head { padding: 40px 0 32px; }
.result-head h1 { font-size: clamp(32px, 5vw, 46px); }
.result-meta { display: grid; gap: 4px 32px; margin: 20px 0 0; font-size: 15px; }
@media (min-width: 720px) { .result-meta { display: flex; flex-wrap: wrap; gap: 12px 36px; } }
.result-meta dt { color: var(--muted); font-size: 13px; }
.result-meta dd { margin: 0; }

.summary { display: grid; gap: 32px; }
@media (min-width: 900px) { .summary { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; } }
.big-count { font: 700 clamp(48px, 8vw, 72px)/1 var(--sans); color: var(--navy); margin: 0; }
.big-count-label { margin: 8px 0 16px; font-size: 17px; }
.next-step { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); }
.next-step strong { color: var(--ink); }
.outside-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.ob.outside .ob-title { font-weight: 500; color: var(--ink-2); }

.block { margin-top: 48px; }
.block h2 { margin-bottom: 8px; }
.block > .muted { margin: 0 0 20px; }

.gap-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.gap-list > li { padding: 18px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; }
.gap-list > li + li { border-top: 1px solid var(--rule); }
.gap-list .cell { margin-top: 3px; }
.gap-list .article { font-size: 14px; color: var(--muted); }
.gap-list ul { grid-column: 2; margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.filters button {
  height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rule); background: var(--surface); color: var(--ink);
  font: 500 14px/1 var(--sans);
}
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters .count { font-variant-numeric: tabular-nums; opacity: 0.75; margin-left: 4px; }

.ob-law { margin: 28px 0 10px; font: 600 15px/1.4 var(--sans); }
.ob-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.ob-list:empty { display: none; }
.ob { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 2px 14px; padding: 14px 18px; }
.ob + .ob { border-top: 1px solid var(--rule); }
.ob .cell { grid-row: span 3; margin-top: 2px; pointer-events: none; }
.ob-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.ob-title { font-weight: 600; }
.ob-article { font-size: 14px; color: var(--muted); }
.ob-status { font-size: 14px; font-weight: 600; }
.ob-status.pass { color: var(--pass); }
.ob-status.partial { color: #8a5d00; }
.ob-status.fail { color: var(--fail); }
.ob-status.not_applicable, .ob-status.not_yet_checked, .ob-status.not_verifiable { color: var(--ink-2); font-weight: 500; }
.ob-detail { font-size: 15px; color: var(--ink-2); }
.ob-detail ul { margin: 4px 0 0; padding-left: 18px; }
.ob:target { background: var(--navy-tint); }
.ob.flash { animation: flash 1.4s ease; }
@keyframes flash { from { background: #fbf1d6; } to { background: var(--surface); } }

.disclaimer { margin: 48px 0 0; font-size: 14px; color: var(--muted); max-width: 46em; }

.load-error { padding: 24px; border-left: 3px solid var(--fail); background: var(--surface); }

/* ---------- Footer: the reversed lockup on brand dark ---------- */

.site-footer { margin-top: 80px; padding: 32px 0 40px; background: var(--dark); color: #c9ced8; font-size: 14px; }
.site-footer .wrap { display: grid; gap: 20px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: auto 1fr; gap: 48px; align-items: start; } }
.site-footer .brand { margin-top: 4px; }
.site-footer .brand img { height: 24px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 8px; padding: 0; list-style: none; }
.site-footer p { margin: 4px 0 0; }

/* ---------- Law catalogue ---------- */

.chip {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--rule); background: var(--surface); color: var(--ink);
  font: 500 14px/1 var(--sans); text-decoration: none;
}
.chip:hover { border-color: var(--navy); color: var(--ink); }
.chip .count { margin-left: 6px; opacity: 0.7; font-variant-numeric: tabular-nums; }

.ref-table { margin: 0; display: grid; gap: 10px; font-size: 15px; }
.ref-table > div { display: grid; gap: 2px 24px; }
@media (min-width: 720px) { .ref-table > div { grid-template-columns: 180px minmax(0, 1fr); } }
.ref-table dt { color: var(--muted); font-size: 14px; }
.ref-table dd { margin: 0; }
.ref-note { display: block; color: var(--muted); font-size: 14px; }

.cat-scope { margin: 16px 0 0; font-size: 15px; color: var(--ink-2); max-width: 46em; }
.cat-list { list-style: none; margin: 20px 0 0; padding: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.cat-ob { padding: 18px 20px; }
.cat-ob + .cat-ob { border-top: 1px solid var(--rule); }
.cat-ob:target { background: var(--navy-tint); }
.cat-ob.flash { animation: flash 1.6s ease; }
.cat-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.cat-article { font-weight: 600; font-variant-numeric: tabular-nums; }
.cat-title { font-weight: 600; }
.cat-req { margin: 6px 0 0; color: var(--ink-2); max-width: 52em; }
.cat-meta { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--muted); }
.cat-note { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.ob-more { margin-top: 8px; font-size: 15px; }
.ob-more summary { cursor: pointer; color: var(--navy); font-size: 14px; font-weight: 500; width: fit-content; }
.ob-more p { margin: 6px 0 0; color: var(--ink-2); max-width: 52em; }
.sample { padding: 8px 12px; border-left: 3px solid var(--rule); background: var(--bg); font-style: italic; }
.criteria { margin: 6px 0 0; display: grid; gap: 4px; }
.criteria > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
.criteria dt { color: var(--muted); font-size: 14px; }
.criteria dd { margin: 0; color: var(--ink-2); }
.ob-article a, .article a { color: inherit; }

.ob-article, .gap-list .article { color: var(--muted); text-decoration-color: #b8c0cc; }
.ob-article:hover, .gap-list .article:hover { color: var(--navy); }
.cross-link { margin: 14px 0 0; font-size: 15px; color: var(--ink-2); }

/* ---------- Business workflow ---------- */

.privacy-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 16px; padding: 32px 0; border-top: 1px solid var(--rule); }
@media (min-width: 720px) { .step { grid-template-columns: 56px minmax(0, 1fr); gap: 0 24px; } }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--navy); color: var(--navy); font: 700 22px/1 var(--sans);
}
.step-body h2 { margin: 4px 0 16px; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); max-width: 360px; }
.field input {
  height: 44px; padding: 0 12px; border: 1px solid #b9c1cd; border-radius: var(--radius);
  background: var(--surface); color: var(--ink); font: 16px var(--sans);
}
.field-row { display: grid; gap: 12px 20px; margin-bottom: 20px; }
@media (min-width: 760px) { .field-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .field-row .field { max-width: none; } }
.deadline { margin: 16px 0 0; padding: 14px 16px; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--navy); border-radius: 0 var(--radius) var(--radius) 0; max-width: 640px; }
.deadline-date { margin: 0; font-size: 18px; }
.deadline-date strong { color: var(--navy); }
.late { color: var(--fail); font-weight: 600; }
.check-list { margin: 10px 0 0; padding-left: 20px; color: var(--ink-2); font-size: 15px; display: grid; gap: 6px; max-width: 52em; }
.law-ref { font-size: 14px; color: var(--muted); }
.choices { display: grid; gap: 10px; }
.choice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; max-width: 520px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer; }
.choice input { width: 20px; height: 20px; accent-color: var(--navy); }
.choice:has(input:checked) { border-color: var(--navy); }
.point-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.point { padding: 16px 18px; }
.point + .point { border-top: 1px solid var(--rule); }
.point-what { margin: 4px 0 8px; font-size: 14px; color: var(--muted); }
.point textarea {
  width: 100%; min-height: 72px; padding: 10px 12px; resize: vertical;
  border: 1px solid #c4cbd6; border-radius: var(--radius); background: var(--surface);
  font: 15px/1.5 var(--sans); color: var(--ink);
}
.point textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--navy); }
.point-status { font-size: 13px; font-weight: 600; margin-left: auto; }
.point-status.ok { color: var(--pass); }
.point-status.todo { color: #8a5d00; }
.letter-wrap { margin-top: 24px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.letter { margin: 0; padding: 24px; white-space: pre-wrap; font: 15px/1.6 var(--sans); color: var(--ink); max-height: 520px; overflow: auto; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }

/* ---------- Landing: two paths ---------- */
.paths { display: grid; gap: 24px; }
@media (min-width: 860px) { .paths { grid-template-columns: 1fr 1fr; gap: 32px; } }
.path { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; }
.path:nth-child(2) { border-top: 3px solid var(--navy); }
.path:nth-child(1) { border-top: 3px solid var(--gold); }
.path-title { font: 700 24px/1.25 var(--sans); margin: 0 0 8px; }
.path-list { list-style: none; margin: 0; padding: 0; }
.path-list li { padding: 18px 0; }
.path-list li + li { border-top: 1px solid var(--rule); }
.path-list h4 { margin: 0 0 4px; font: 600 16px/1.4 var(--sans); }
.path-list p { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; }
.confirm { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.confirm input { width: 18px; height: 18px; accent-color: var(--pass); }

/* ---------- Rules bar and chooser ---------- */
.menu-panel { top: 100%; }
html { scroll-padding-top: 88px; }
.rules-bar { border-top: 1px solid var(--rule); background: var(--navy-tint); font-size: 14px; }
.rules-bar.is-planned { background: #fbf1d6; }
.rules-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.rules-text { margin: 0; color: var(--ink-2); }
.rules-text strong { color: var(--ink); }
.rules-label { color: var(--muted); }
@media (max-width: 719px) { .rules-detail { display: none; } }
.rules-change {
  flex: none; height: 30px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--navy); background: var(--surface); color: var(--navy); font: 600 13px/1 var(--sans);
}
.rules-change:hover, .rules-change[aria-expanded="true"] { background: var(--navy); color: #fff; }
.rules-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--rule);
  box-shadow: 0 12px 24px -16px rgba(14, 26, 43, 0.35); max-height: calc(100vh - 110px); overflow-y: auto; }
.rules-panel[hidden] { display: none; }
.rules-form { padding: 20px 0 24px; max-width: 760px; }
.rules-title { font: 700 26px/1.2 var(--sans); margin: 0 0 6px; }
.rules-intro { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.rules-options { display: grid; gap: 10px; }
.rules-option { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer; background: var(--surface); }
.rules-option:has(input:checked) { border-color: var(--navy); box-shadow: inset 3px 0 0 var(--navy); }
.rules-option input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.rules-option-body { display: grid; gap: 2px; }
.rules-option-name { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.rules-option-note, .rules-option-reg { font-size: 14px; color: var(--ink-2); }
.rules-option-reg { color: var(--muted); }
.rules-tag { font-size: 12px; font-weight: 600; color: #7a5200; background: #fbf1d6; border-radius: 999px; padding: 1px 8px; }
.rules-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.notice { margin: 0 0 20px; padding: 12px 14px; border-left: 3px solid var(--partial); background: #fbf1d6; border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; max-width: 46em; }
.cite { text-decoration-color: #9fb3cf; }
.rules-law { color: var(--ink-2); text-decoration-color: #9fb3cf; }
.rules-law:hover { color: var(--navy); }

/* ---------- Check a website ---------- */
:root { --unable: #c98a10; --pass-tint: #e7f3ec; --fail-tint: #fbe9e7; --unable-tint: #fbf1d6; }
.check-stage { min-height: calc(100vh - 120px); display: grid; place-items: center; padding: 32px 16px; transition: min-height 420ms ease; }
.check-stage:has(.is-frozen) { min-height: 0; padding-top: 32px; padding-bottom: 8px; }
@media (prefers-reduced-motion: reduce) { .check-stage { transition: none; } }
.check-window {
  width: 100%; max-width: 720px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px;
  padding: 32px; box-shadow: 0 24px 48px -32px rgba(14, 26, 43, 0.35);
}
@media (max-width: 559px) { .check-window { padding: 22px 18px; } }
.check-title { font-size: clamp(30px, 5vw, 40px); margin: 0 0 8px; }
.check-instruction { margin: 0 0 20px; color: var(--ink-2); font-size: 17px; max-width: 36em; }
.check-field { display: flex; gap: 8px; align-items: stretch; position: relative; }
.check-field input {
  flex: 1; min-width: 0; height: 56px; padding: 0 16px; font: 17px var(--sans); color: var(--ink);
  border: 1.5px solid #b9c1cd; border-radius: 8px; background: var(--surface);
}
.check-field input:focus-visible { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--navy); }
.check-run { height: 56px; padding: 0 24px; font-size: 16px; flex: none; }
.check-run:disabled { opacity: 0.7; cursor: progress; }
@media (max-width: 559px) { .check-field { flex-direction: column; } .check-field input { flex: none; } .check-run { width: 100%; } }
.check-help { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.check-help.is-error { color: var(--fail); font-weight: 500; }
.check-frozen { margin: 10px 0 0; font-size: 14px; color: var(--navy); }
.check-scope { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }

/* frozen and highlighted */
.is-frozen { border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-tint), 0 24px 48px -32px rgba(14, 26, 43, 0.35); }
.is-frozen .check-instruction { display: none; }
.is-frozen .check-title { font-size: 22px; font-family: var(--sans); font-weight: 600; margin-bottom: 12px; }
.is-frozen .check-field input { background: var(--navy-tint); border-color: var(--navy); color: var(--navy); font-weight: 600; padding-left: 42px; cursor: default; }
.is-frozen .check-lock { position: absolute; left: 15px; top: 19px; width: 14px; height: 18px; pointer-events: none; }
.is-frozen .check-lock::before { content: ""; position: absolute; left: 2px; top: 0; width: 10px; height: 9px; border: 2px solid var(--navy); border-bottom: 0; border-radius: 6px 6px 0 0; }
.is-frozen .check-lock::after { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 10px; background: var(--navy); border-radius: 2px; }
@media (max-width: 559px) { .is-frozen .check-lock { top: 19px; } }
.is-frozen .check-run:not(:disabled) { background: var(--surface); color: var(--navy); }

.check-out { max-width: var(--page); padding-top: 8px; padding-bottom: 48px; }
.concept-note { margin: 16px 0 8px; padding: 12px 14px; border-left: 3px solid var(--unable); background: var(--unable-tint); border-radius: 0 6px 6px 0; font-size: 15px; }
.out-block { margin-top: 28px; }
.out-block h2 { font-size: 24px; margin: 0 0 12px; }

/* laws */
.law-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .law-chips { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.law-chip { display: grid; gap: 2px; align-content: start; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); text-decoration: none; color: var(--ink); height: 100%; }
.law-chip:hover { border-color: var(--navy); color: var(--ink); }
.law-chip strong { color: var(--navy); }
.law-chip span { font-size: 13px; color: var(--ink-2); }
.law-chip .law-chip-count { color: var(--muted); }

/* results */
.res-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; min-height: 8px; }
.sum { font-size: 14px; padding: 4px 10px; border-radius: 999px; }
.sum b { font-variant-numeric: tabular-nums; }
.sum.pass { background: var(--pass-tint); color: #1f5a38; }
.sum.fail { background: var(--fail-tint); color: #8a1b12; }
.sum.unable { background: var(--unable-tint); color: #7a5200; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 8px; border-radius: 999px; font: 600 14px/1 var(--sans); white-space: nowrap; }
.pill-icon { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff; }
.pill.pass { background: var(--pass-tint); color: #1f5a38; } .pill.pass .pill-icon { background: var(--pass); }
.pill.fail { background: var(--fail-tint); color: #8a1b12; } .pill.fail .pill-icon { background: var(--fail); }
.pill.unable { background: var(--unable-tint); color: #7a5200; } .pill.unable .pill-icon { background: var(--unable); }
.pill.pending, .pill.running { background: var(--bg); color: var(--muted); }
.pill-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--cell-empty); margin-left: 4px; }
.pill.running .pill-dot { border-color: var(--navy); border-top-color: transparent; }
@media (prefers-reduced-motion: no-preference) { .pill.running .pill-dot { animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } }
.res-scope { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* check page: two columns, the law on the left, Datadroit's activity on the right */
.check-scope { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; justify-content: space-between; }
.check-scope p { margin: 0; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { color: var(--navy-hover); }
.check-out .concept-note, .check-out .out-block { max-width: 760px; margin-left: auto; margin-right: auto; }
.board { margin-top: 28px; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.board-bar { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--rule); background: var(--bg); }
.board-progress { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.board-bar .res-summary { margin: 0; }
.en-tag { display: inline-block; margin-left: 2px; padding: 0 5px; border: 1px solid var(--cell-empty); border-radius: 4px; font: 600 11px/16px var(--sans); color: var(--muted); text-decoration: none; vertical-align: 1px; }

/* law library */
.library { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--rule); border-radius: 10px; color: var(--ink); background: var(--surface); }
.library::backdrop { background: rgba(14, 26, 43, 0.45); }
.library[open] { display: flex; flex-direction: column; }
.library-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px 0; }
.library-head h2 { margin: 0; font-size: 26px; }
.library-intro { margin: 8px 20px 12px; font-size: 14px; color: var(--ink-2); }
.library-search { flex: none; margin: 0 20px 12px; height: 44px; padding: 0 12px; border: 1px solid var(--cell-empty); border-radius: 6px; font: inherit; }
.library-search:focus-visible { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--navy); }
.library-body { overflow-y: auto; padding: 0 20px; border-top: 1px solid var(--rule); }
.lib-law { padding: 14px 0; }
.lib-law + .lib-law { border-top: 1px solid var(--rule); }
.lib-law h3 { margin: 0; font-size: 19px; }
.lib-law.is-planned h3 a { color: var(--ink-2); }
.lib-ref { margin: 2px 0 8px; font-size: 13px; color: var(--muted); }
.lib-list { list-style: none; margin: 0; padding: 0; }
.lib-ob { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 12px; padding: 7px 8px; border-radius: 6px; font-size: 14px; }
@media (min-width: 560px) { .lib-ob { grid-template-columns: 150px minmax(0, 1fr) auto; align-items: baseline; } }
.lib-ob.is-checked { background: var(--navy-tint); }
.lib-cite { font-weight: 600; }
.lib-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.lib-method, .lib-in { font-size: 12px; padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.lib-method { background: var(--bg); color: var(--ink-2); }
.lib-in { background: var(--navy); color: #fff; }
.lib-empty { color: var(--muted); }
.library-foot { margin: 0; padding: 12px 20px 16px; border-top: 1px solid var(--rule); font-size: 14px; }

.board, .page-review { scroll-margin-top: 84px; }
.check-window { border-top: 3px solid var(--gold); }

/* GEO: which law applies */
.site-header > .wrap { gap: 10px; }
.site-header > .wrap > .brand { margin-right: auto; }
.geo-button {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px;
  border: 1px solid var(--navy); border-radius: var(--radius); background: var(--surface);
  color: var(--navy); font: 600 15px/1 var(--sans); cursor: pointer; max-width: 46vw;
}
.geo-button:hover, .geo-button[aria-expanded="true"] { background: var(--navy-tint); }
.geo-pin { position: relative; width: 12px; height: 16px; flex: none; }
.geo-pin::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--gold); }
.geo-pin::after { content: ""; position: absolute; left: 4px; top: 4px; width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.geo-label { font-weight: 700; letter-spacing: 0.08em; }
.geo-current { font-weight: 400; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 8px; border-left: 1px solid var(--rule); }
.geo-short { display: none; font-weight: 700; padding-left: 8px; border-left: 1px solid var(--rule); color: var(--ink); }
@media (max-width: 560px) { .geo-current { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .geo-short { display: inline; } .menu-button .menu-label { display: none; } }
.rules-bar .wrap { display: block; min-height: 0; }
.rules-lang { color: var(--muted); }
.geo-regions { display: grid; gap: 18px; margin: 16px 0 8px; }
.geo-region { margin: 0; padding: 0; border: 0; min-width: 0; }
.geo-region legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 0; margin: 0 0 8px; }
.geo-region-name { font: 700 14px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.geo-region-fw { font-size: 14px; color: var(--muted); }
.geo-children { margin: 8px 0 0 22px; padding-left: 16px; border-left: 2px solid var(--gold); display: grid; gap: 8px; }
.geo-children-title { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.rules-tag.is-default { background: var(--navy-tint); color: var(--navy); }
.geo-more { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.gloss { font-weight: 400; color: var(--muted); }

/* page under review */
.page-review { max-width: var(--page); margin: 24px auto 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 18px 20px; }
.page-review-head { display: flex; align-items: baseline; gap: 12px; }
.page-review h2 { font-size: 20px; margin: 0; }
.sim-tag { font-size: 12px; font-weight: 600; color: #7a5200; background: var(--unable-tint); border-radius: 999px; padding: 1px 8px; }
.page-url { margin: 12px 0 14px; padding: 10px 14px; border-left: 3px solid var(--gold); background: var(--bg); font-size: 16px; overflow-wrap: anywhere; }
.page-url code, .page-facts code { font-family: var(--mono); color: var(--navy); }
.page-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0; font-size: 15px; }
.page-facts dt { color: var(--muted); }
.page-facts dd { margin: 0; overflow-wrap: anywhere; }
.page-facts .page-title-value { font-weight: 700; }
.page-facts .page-abstract { font-style: italic; }
.page-reading { grid-column: 1 / -1; color: var(--muted); }
@media (max-width: 559px) { .page-facts { grid-template-columns: minmax(0, 1fr); gap: 0; } .page-facts dd { margin-bottom: 8px; } }

/* the board: LAW | ANALYSIS | VERDICT, one aligned row per article */
.cgrid { --cols: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); }
.chead { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); border-bottom: 2px solid var(--navy); background: var(--surface); }
.chead-law, .chead-comp-title, .chead-sub span { font: 700 12px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.chead-law { padding: 14px 18px; border-right: 1px solid var(--rule); display: flex; align-items: flex-end; font-size: 14px; }
.chead-comp-title { padding: 10px 18px 6px; text-align: center; font-size: 14px; border-bottom: 1px solid var(--rule); }
.chead-sub { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr); }
.chead-sub span { padding: 6px 18px 10px; color: var(--ink-2); }
.chead-sub span + span { border-left: 1px solid var(--rule); }
.crow { display: grid; grid-template-columns: var(--cols); border-top: 1px solid var(--rule); transition: background 200ms ease; }
.chead + .crow { border-top: 0; }
.ccell { padding: 16px 18px; min-width: 0; }
.ccell + .ccell { border-left: 1px solid var(--rule); }
.crow.running { background: var(--navy-tint); }
.crow.pass .c-verdict { box-shadow: inset 4px 0 0 var(--pass); }
.crow.fail .c-verdict { box-shadow: inset 4px 0 0 var(--fail); background: #fffafa; }
.crow.unable .c-verdict { box-shadow: inset 4px 0 0 var(--unable); background: #fffdf6; }
.c-law { position: relative; padding-left: 52px; }
.c-num { position: absolute; left: 18px; top: 16px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 12px/24px var(--sans); text-align: center; }
.c-lawname { margin: 0; font-size: 12.5px; color: var(--ink-2); }
.c-cite { margin: 2px 0; font-size: 17px; }
.c-cite a { text-decoration: none; }
.c-cite a:hover { text-decoration: underline; }
.c-title { margin: 0 0 6px; font-weight: 700; }
.c-req { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); }
.c-links { margin: 0; font-size: 13.5px; }
.c-mini { display: none; font: 700 11px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.c-analysis .log li { font-size: 14px; grid-template-columns: 70px minmax(0, 1fr); }
.verdict-cell { display: grid; gap: 8px; justify-items: start; }
.c-finding { margin: 0; font-size: 14.5px; }
@media (max-width: 819px) {
  .chead { display: none; }
  .crow { grid-template-columns: minmax(0, 1fr); }
  .ccell + .ccell { border-left: 0; border-top: 1px dashed var(--rule); }
  .c-mini { display: block; }
}

/* the applicable-law strip */
.lawstrip { border-top: 1px solid var(--rule); background: var(--navy-tint); font-size: 13.5px; }
.lawstrip > summary { list-style: none; cursor: pointer; }
.lawstrip > summary::-webkit-details-marker { display: none; }
.lawstrip-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-top: 8px; padding-bottom: 8px; }
.lawstrip-sum::after { content: "Show references"; margin-left: auto; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.lawstrip[open] .lawstrip-sum::after { content: "Hide references"; }
.lawstrip-label { font: 700 11.5px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.lawstrip-count { color: var(--ink-2); }
.lawstrip-list { list-style: none; margin: 0; padding: 0 0 10px; display: grid; gap: 4px 24px; }
@media (min-width: 820px) { .lawstrip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lawstrip-item a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 6px; padding: 4px 6px; border-radius: 4px; text-decoration: none; color: var(--ink); }
.lawstrip-item a:hover { background: var(--surface); }
.lawstrip-item a:hover strong { text-decoration: underline; }
.lawstrip-n { font: 700 12.5px/1.6 var(--mono); color: var(--navy); }
.lawstrip-item strong { color: var(--navy); }
.lawstrip-role { display: block; font-size: 12px; color: var(--muted); }
.lawstrip-item.is-planned { opacity: 0.75; }
.lawstrip-item.is-sa .lawstrip-n { color: var(--gold); }
.lawstrip.is-planned { background: var(--unable-tint); }

/* Datadroit's activity log, inside the Analysis cell */
.log { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.log li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; padding: 4px 0 4px 12px; position: relative; font-size: 14px; }
.log li::before { content: ""; position: absolute; left: -5px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.log time { font: 12.5px/1.6 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.log .log-wait { grid-template-columns: minmax(0, 1fr); color: var(--muted); }
.log .log-wait::before { background: var(--cell-empty); }

/* Law text in serif: anything quoted or cited from a legal instrument. */
.c-lawname, .c-cite, .c-title, .c-req, .lawstrip-body, .lib-cite, .lib-title, .lib-law h3, .lib-ref,
.cat-article, .cat-title, .cat-req, .ob-article, .ob-title, .ob-law, .law-chip strong, .law-chip span:not(.law-chip-count),
.page-facts .page-abstract, a.cite { font-family: var(--law); }
.c-cite, .c-title, .lib-cite, .cat-article, .ob-article { font-weight: 600; }
.c-req, .cat-req { font-size: 15px; line-height: 1.55; }
.lawstrip-role, .lawstrip-n { font-family: var(--sans); }

/* Lawyer review: one aligned row per function */
.fm-intro { padding: 40px 0 8px; max-width: 860px; }
.fm-intro h1 { font-size: clamp(30px, 5vw, 40px); margin-bottom: 8px; }
.fm-steps { margin: 14px 0; padding-left: 22px; display: grid; gap: 4px; }
.fm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 8px; }
.fm-meta { color: var(--muted); font-size: 14px; margin: 8px 0 4px; }
.fm-coverage { margin: 0; font-size: 14px; color: var(--pass); font-weight: 700; }
.fm-coverage.is-gap { color: var(--fail); }
.fm-table { margin: 20px 0 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.fm-head, .fm-row { display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 3.4fr) minmax(0, 3fr) minmax(0, 3.4fr); }
.fm-head { border-bottom: 2px solid var(--navy); }
.fm-head span { padding: 12px 16px; font: 700 12px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.fm-head span + span { border-left: 1px solid var(--rule); }
.fm-row { border-top: 1px solid var(--rule); scroll-margin-top: 84px; }
.fm-head + .fm-row { border-top: 0; }
.fm-row:target { background: var(--navy-tint); }
.fm-cell { padding: 16px; min-width: 0; font-size: 14.5px; }
.fm-cell + .fm-cell { border-left: 1px solid var(--rule); }
.fm-fn { position: relative; padding-left: 60px; }
.fm-ref { position: absolute; left: 16px; top: 16px; min-width: 32px; height: 26px; padding: 0 6px; border-radius: 6px; background: var(--navy); color: #fff; font: 700 13px/26px var(--sans); text-align: center; }
.fm-name { font-size: 18px; margin: 0 0 6px; }
.fm-tags { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0 0 8px; }
.fm-tags span { font-size: 12px; padding: 1px 7px; border-radius: 999px; background: var(--bg); color: var(--ink-2); }
.fm-tags .fm-kind.check { background: var(--navy); color: #fff; }
.fm-tags .fm-kind.assist { background: var(--unable-tint); color: #7a5200; }
.fm-what { margin: 0 0 8px; }
.fm-try { margin: 0 0 8px; font-weight: 700; }
.fm-status { margin: 0; font-size: 12.5px; font-weight: 700; color: #7a5200; }
.fm-status.approved { color: var(--pass); }
.fm-status.changes_requested { color: var(--fail); }
.fm-mini { display: none; font: 700 11px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fm-sub { margin: 12px 0 4px; font: 700 12px/1.3 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.fm-how, .fm-records, .fm-limits { margin: 0; padding-left: 20px; display: grid; gap: 3px; }
.fm-oblist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fm-oblist.is-compact { gap: 6px; }
.fm-oblist.is-compact .fm-official { display: none; }
.fm-ob { display: grid; gap: 1px; }
.fm-cite { font-family: var(--law); font-weight: 600; }
.fm-obtitle { font-family: var(--law); }
.fm-official { font-size: 13px; }
.fm-scope { margin: 0 0 8px; }
.fm-rules { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 10px; margin: 0; }
.fm-rules dt { font-weight: 700; font-size: 13px; padding: 1px 8px; border-radius: 999px; height: fit-content; }
.fm-rules dt.pass { background: var(--pass-tint); color: #1f5a38; }
.fm-rules dt.fail { background: var(--fail-tint); color: #8a1b12; }
.fm-rules dt.unable { background: var(--unable-tint); color: #7a5200; }
.fm-rules dd { margin: 0; }
.fm-assist { margin: 0; color: var(--ink-2); font-style: italic; }
@media (max-width: 899px) {
  .fm-head { display: none; }
  .fm-row { grid-template-columns: minmax(0, 1fr); }
  .fm-cell + .fm-cell { border-left: 0; border-top: 1px dashed var(--rule); }
  .fm-mini { display: block; }
}
.fm-rules dt.na { background: var(--bg); color: var(--ink-2); }

/* Who did what: EDPS collector or Datadroit */
.src { display: inline-block; min-width: 38px; margin-right: 8px; padding: 0 6px; border-radius: 4px; font: 700 11px/18px var(--sans); text-align: center; vertical-align: 1px; white-space: nowrap; }
.src-edps { background: #003399; color: #fff; }
.src-browser { background: #FBF1D6; color: #7a5200; border: 1px solid var(--gold); }          /* EU blue: the EDPS tool */
.src-dd { background: var(--navy-tint); color: var(--navy); border: 1px solid var(--navy); }
.src-ok { background: var(--pass-tint); color: #1f5a38; border: 1px solid #b9dcc6; }
.src-partly { background: var(--unable-tint); color: #7a5200; border: 1px solid #ecd391; }
.src-differs { background: var(--fail-tint); color: #8a1b12; border: 1px solid #f0c2bc; }
.src-verdict { background: var(--navy); color: #fff; }
.src-legend { margin: 0; padding: 10px 18px; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--ink-2); line-height: 2; }
.c-analysis .log li { display: block; padding-left: 14px; }
.c-analysis .log li .src { margin-right: 6px; }
.c-prov { margin: 0; font-size: 13px; color: var(--ink-2); }
.c-corr { margin: 0; font-size: 13px; font-weight: 700; }
.c-corr.confirmed { color: var(--pass); }
.c-corr.partly_confirmed, .c-corr.datadroit_only, .c-corr.datadroit_found, .c-corr.browser_only { color: #7a5200; }
.c-corr.differs { color: var(--fail); }
.rec-note { margin: -4px 0 12px; font-size: 14px; color: var(--ink-2); }
.pill.not_applicable { background: var(--bg); color: var(--ink-2); }
.crow.not_applicable .c-verdict { box-shadow: inset 4px 0 0 var(--neutral); }
.fm-who { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fm-who li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; }
.src-reuse { background: #e8eef7; color: #003399; border: 1px dashed #003399; }
.fm-tags .fm-kind.gate { background: var(--gold); color: #fff; }
.fm-dep { margin: 0 0 8px; font-size: 13px; color: var(--ink-2); }
.fm-order, .fm-legend { font-size: 14px; color: var(--ink-2); margin: 10px 0; line-height: 2; }
.fm-how.fm-who { padding-left: 0; list-style: none; gap: 6px; }

/* Scan status (gate F0) */
.scan-status { margin-top: 14px; padding: 12px 16px; border-radius: 8px; border: 1px solid var(--rule); }
.scan-status.verified { background: var(--pass-tint); border-color: #b9dcc6; }
.scan-status.partial { background: var(--unable-tint); border-color: #ecd391; }
.scan-status.blocked, .scan-status.unable { background: var(--fail-tint); border-color: #f0c2bc; }
.scan-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin: 0 0 4px; }
.scan-label { font: 700 12px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.scan-head strong { font-size: 17px; }
.scan-head a { margin-left: auto; font-size: 13px; }
.scan-finding { margin: 0 0 8px; }
.scan-status .log li { display: block; padding-left: 14px; font-size: 14px; }
.c-stage { margin: 0 0 2px; font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }

/* Badge legends: hover, keyboard focus or tap */
.src { position: relative; cursor: help; }
.src:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.src-tip { display: none; position: absolute; z-index: 30; left: 0; top: calc(100% + 6px); width: min(300px, 78vw); padding: 10px 12px; border-radius: 6px;
  background: var(--dark); color: #fff; font: 400 13px/1.45 var(--sans); text-align: left; white-space: normal; box-shadow: 0 8px 24px -8px rgba(6, 14, 26, 0.5); }
.src:hover .src-tip, .src:focus .src-tip { display: block; }
.board, .fm-table { overflow: visible; }
.board-bar { border-radius: 10px 10px 0 0; }

/* Functional architecture, proposed before the run */
.fa-plan { max-width: 860px; margin: 24px auto 0; background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--gold); border-radius: 10px; padding: 20px 22px; scroll-margin-top: 84px; }
.fa-plan h2 { font-size: 24px; margin: 0 0 8px; }
.fa-lead { margin: 0 0 6px; }
.fa-note { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); }
.fa-stages { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--navy); }
.fa-stage { padding: 0 0 14px 18px; position: relative; }
.fa-stage-name { margin: 0 0 6px; font: 700 12px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.fa-stage-n { position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 12px; letter-spacing: 0; }
.fa-fns { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fa-fn label { display: grid; grid-template-columns: 20px 34px minmax(0, 1fr); gap: 8px; align-items: start; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 6px; cursor: pointer; }
.fa-fn input { margin-top: 3px; }
.fa-fn.is-off label { opacity: 0.55; }
.fa-id { font-weight: 700; color: var(--navy); }
.fa-body { display: grid; gap: 1px; }
.fa-name { font-weight: 700; }
.fa-kind { margin-left: 8px; font-size: 11.5px; font-weight: 700; padding: 0 6px; border-radius: 999px; background: var(--navy-tint); color: var(--navy); }
.fa-kind.gate { background: var(--gold); color: #fff; }
.fa-law { font-family: var(--law); }
.fa-meta { font-size: 13px; color: var(--muted); }
.fa-actions { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.pill.skipped { background: var(--bg); color: var(--muted); }
.crow.skipped { opacity: 0.6; }

/* ---- Activity light: reaching (blinking gold), collected (green), failed (red), server (blue) */
.led { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; vertical-align: middle; margin-right: 6px; background: #c9c9c4; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.led.reach { background: #C89B2A; animation: led-blink .7s steps(2, start) infinite; box-shadow: 0 0 6px 1px rgba(200,155,42,.7); }
.led.ok { background: #1f8a4c; box-shadow: 0 0 5px rgba(31,138,76,.55); }
.led.fail { background: #c0392b; box-shadow: 0 0 5px rgba(192,57,43,.55); }
.led.server { background: #2f6fd6; animation: led-glow 1.2s ease-in-out infinite; }
.led.server-done { background: #2f6fd6; opacity: .7; }
@keyframes led-blink { to { visibility: hidden; } }
@keyframes led-glow { 0%,100% { box-shadow: 0 0 2px 1px rgba(47,111,214,.4); } 50% { box-shadow: 0 0 10px 4px rgba(47,111,214,.75); } }
@media (prefers-reduced-motion: reduce) { .led.reach, .led.server { animation: none; } .led.reach { outline: 2px dashed #C89B2A; outline-offset: 2px; } }
.activity { position: sticky; top: 76px; z-index: 5; display: flex; align-items: center; gap: 4px; margin: 0 0 14px; padding: 8px 12px; border-radius: 6px; background: #060E1A; color: #F4F4F2; font-size: .92rem; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.activity .led { width: 12px; height: 12px; margin-right: 8px; }
.activity.fail { color: #ffd6d1; }
.led-legend { margin: 0; padding: 6px 18px 10px; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--ink-2); }
.led-legend .led { animation: none; }
.led-key { white-space: nowrap; margin-right: 10px; }
.log li > .led { margin-top: 4px; }
/* ---- Standard or configured functional architecture */
.fa-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; vertical-align: middle; margin-left: 6px; }
.fa-tag.standard { background: #1A3C6B; color: #fff; }
.fa-tag.configured { background: #C89B2A; color: #1C1C2E; }
.fa-status { padding: 8px 12px; border-left: 4px solid #1A3C6B; background: #eef2f8; margin: 10px 0; }
.fa-plan.is-configured .fa-status { border-left-color: #C89B2A; background: #fbf1d6; }
.linklike { background: none; border: 0; padding: 0; color: #1A3C6B; text-decoration: underline; cursor: pointer; font: inherit; }
.fa-used { margin: 10px 0; padding: 8px 12px; border-left: 4px solid #1A3C6B; background: #eef2f8; }
.fa-used.configured { border-left-color: #C89B2A; background: #fbf1d6; }
.fa-used strong { margin: 0 6px; }
.scan-status.running { border-color: #C89B2A; }

/* ---- Law library: header link and landing section */
.header-library { display: inline-flex; align-items: center; height: 44px; padding: 0 12px; color: var(--navy); font: 600 15px/1 var(--sans); text-decoration: none; border-radius: var(--radius); }
.header-library:hover, .header-library[aria-current="page"] { background: var(--navy-tint); color: var(--navy); }
@media (max-width: 640px) { .header-library { display: none; } }
.library-section { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.lib-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.lib-head .lead { max-width: 640px; margin: 6px 0 0; }
.library-groups { display: grid; gap: 26px; }
.library-group-title { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin: 0 0 10px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.library-group-sub { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-2); font-size: 14px; }
.library-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.library-law { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--rule); border-left: 4px solid var(--rule); border-radius: var(--radius); background: var(--bg); color: var(--ink); text-decoration: none; transition: border-color 120ms ease, box-shadow 120ms ease; }
.library-law:hover { border-color: var(--navy); box-shadow: 0 2px 10px rgba(26,60,107,.10); color: var(--ink); }
.library-law.is-applied { border-left-color: var(--navy); }
.library-acronym { font: 700 20px/1.1 var(--sans); color: var(--navy); letter-spacing: .02em; }
.library-name { font: 400 16px/1.35 var(--law); }
.library-cite { font: 400 13px/1.4 var(--law); color: var(--ink-2); }
.library-meta { font-size: 13px; color: var(--ink-2); margin-top: auto; padding-top: 6px; }
.library-flag { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--navy); background: var(--navy-tint); padding: 2px 8px; border-radius: 3px; }

/* ---- Landing: the standard check first, other capabilities beside it */
.hero .landing-check h1 { max-width: none; }
.landing-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.landing-check .check-help { margin: 12px 0 0; }
.landing-check .form-note { margin-top: 10px; }
.capabilities .cap-list { list-style: none; margin: 8px 0 0; padding: 0; }
.cap-list li + li { border-top: 1px solid var(--rule); }
.cap-list a, .cap-list .cap-item { display: flex; flex-direction: column; gap: 3px; padding: 12px 4px; text-decoration: none; color: var(--ink); }
.cap-list a:hover strong { text-decoration: underline; }
.cap-list strong { color: var(--navy); font-size: 15px; }
.cap-list span span, .cap-list a span { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.cap-list .status-tag { align-self: flex-start; font-style: normal; margin-top: 4px; }
.lib-body { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .lib-body { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } .lib-body .library-list { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }
/* ---- Plan: law selection */
.fa-step { display: flex; align-items: center; gap: 10px; margin: 22px 0 8px; font-size: 17px; color: var(--navy); }
.fa-step-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; }
.law-picks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.law-pick label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); cursor: pointer; height: 100%; }
.law-pick.is-on label { border-color: var(--navy); background: var(--navy-tint); }
.law-pick.is-off label { opacity: .6; cursor: default; }
.law-pick input { margin-top: 3px; }
.law-pick-body { display: flex; flex-direction: column; gap: 2px; }
.law-pick-full { font: 400 14px/1.35 var(--law); }
.law-pick-meta { font-size: 12.5px; color: var(--ink-2); }
.library-item { display: flex; flex-direction: column; }
.library-item .library-law { border-bottom-left-radius: 0; border-bottom-right-radius: 0; flex: 1; }
.library-fns { margin: 0; padding: 7px 18px; font-size: 13px; color: var(--ink-2); border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); background: var(--surface); }
.library-fns a { font-weight: 600; }

/* ---- Law configuration control (was GEO) */
.geo-pin { width: auto; height: auto; color: var(--gold); font: 700 18px/1 var(--law); }
.geo-pin::before, .geo-pin::after { content: none; }
.geo-current { border-left: 0; padding-left: 0; }
.geo-kind { color: var(--ink-2); font-weight: 400; }
.geo-caret { color: var(--navy); font-size: 12px; margin-left: 2px; }
.geo-short { border-left: 0; padding-left: 0; }
.geo-group-title { margin: 18px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.geo-custom { margin-top: 18px; }
.custom-laws { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 10px 0 0 32px; }
.custom-laws > .rules-option-reg { grid-column: 1 / -1; }
.custom-law { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.custom-law > span { display: flex; flex-direction: column; gap: 2px; }
.custom-law-cite { font: 400 12.5px/1.35 var(--law); color: var(--ink-2); }
/* ---- Tagline next to the wordmark */
.brand-wrap { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }
.site-header > .wrap > .brand-wrap > .brand { margin-right: 0; }
.tagline { font-size: 14px; color: var(--ink-2); padding-left: 14px; border-left: 1px solid var(--rule); white-space: nowrap; }
@media (max-width: 1100px) { .tagline { display: none; } }
.hero-tagline { display: none; margin: 0 0 12px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 1100px) { .hero-tagline { display: block; } }

/* ---- Preview banner (removed at launch: PREVIEW in tools/build_site.py) */
.preview-banner { background: #060E1A; color: #F4F4F2; font-size: 13.5px; }
.preview-banner .wrap { display: flex; gap: 10px; align-items: baseline; padding-top: 7px; padding-bottom: 7px; }
.preview-banner strong { color: #060E1A; background: var(--gold); padding: 1px 7px; border-radius: 3px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; flex: none; }
.build-id { font-family: var(--mono); font-size: 11.5px; opacity: .65; }

/* ---- Beyond the website scan: every other obligation, with what it requires and how it is verified */
.beyond { margin-top: 28px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 24px; }
.beyond h2 { margin: 0 0 6px; }
.beyond-lead { color: var(--ink-2); max-width: 760px; margin: 0 0 10px; }
.beyond-routes { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.beyond-group { margin-top: 22px; }
.beyond-group h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 16px; }
.beyond-count { font-weight: 400; color: var(--ink-2); font-size: 14px; }
.beyond-route-note { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }
.route-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 3px 9px; border-radius: 3px; background: var(--navy-tint); color: var(--navy); }
.route-tag.human-interview { background: #f9eeda; color: #6b4a00; }
.route-tag.document-review { background: #efedff; color: #3b2f8f; }
.route-tag.technical-audit { background: #fbebeb; color: #8a1f1f; }
.route-tag.website-scan { background: #e5f4e4; color: #1f5f2a; }
.beyond-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.beyond-item { display: grid; gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .beyond-item { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.beyond-law { display: flex; flex-direction: column; gap: 2px; }
.beyond-cite { font: 600 15px/1.3 var(--law); }
.beyond-title { font: 400 15px/1.35 var(--law); }
.beyond-facts { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 12px; margin: 0; font-size: 14px; }
.beyond-facts dt { font-weight: 700; color: var(--ink-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
.beyond-facts dd { margin: 0; }

/* ---- Overview dashboard: glued under the site header, full width, stays while scrolling. Light, in the brand palette. */
.run-nav { position: sticky; top: 65px; z-index: 15; background: var(--navy-tint); color: var(--ink); border-bottom: 3px solid var(--gold); box-shadow: 0 6px 14px rgba(26,60,107,.12); }
.run-nav > .wrap { padding-top: 10px; padding-bottom: 12px; }
.run-nav-top { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 8px; }
.run-nav-box { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; padding: 6px 12px; background: var(--surface); border: 1px solid #C9D5E6; border-radius: var(--radius); color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.run-nav-url { font-family: var(--mono); font-size: 14.5px; }
.run-nav-config { font: 600 14.5px/1.3 var(--sans); }
.run-nav-text { font: 400 14.5px/1.3 var(--sans); color: var(--navy); }
.run-nav-arrow { color: var(--gold); display: inline-flex; align-items: center; line-height: 1; }
.run-nav-arrow svg { display: block; width: 24px; height: 14px; }
.run-nav-arrow.is-running { animation: arrow-pulse 1.4s ease-in-out infinite; }
@keyframes arrow-pulse { 0%, 100% { opacity: .25; transform: translateX(-2px); } 50% { opacity: 1; transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .run-nav-arrow.is-running { animation: none; } }
.run-nav-para { color: var(--gold); font: 700 15px/1 var(--law); }
.run-nav .activity { position: static; margin: 0 0 10px; padding: 0; font-size: 13.5px; box-shadow: none; background: transparent; color: var(--ink); border: 0; }
.run-nav .activity.fail { color: #9B1C1C; }
.ov-bar { display: flex; height: 16px; border-radius: 3px; overflow: hidden; gap: 1px; background: var(--surface); box-shadow: inset 0 0 0 1px #C9D5E6; }
.ov-seg { display: block; min-width: 4px; transition: flex-grow 300ms ease; }
.ov-seg:hover, .ov-seg:focus-visible { filter: brightness(1.1) saturate(1.1); }
.ov-seg.g-checked + .ov-seg.g-todo, .ov-seg.g-todo + .ov-seg.g-outside, .ov-seg.g-checked + .ov-seg.g-outside { margin-left: 5px; }
/* Checked here: status colours */
.ov-seg.pass, .ov-chip.pass i { background: #1F9D57; }
.ov-seg.fail, .ov-chip.fail i { background: #D23B40; }
.ov-seg.unable, .ov-chip.unable i { background: #E39A12; }
.ov-seg.not_applicable, .ov-chip.not_applicable i { background: #8B95A1; }
.ov-seg.pending, .ov-chip.pending i { background: repeating-linear-gradient(45deg, #9DB2D0, #9DB2D0 4px, #C9D5E6 4px, #C9D5E6 8px); }
/* Still to check: blues */
.ov-seg.data-request, .ov-chip.data-request i { background: #2F7BD0; }
.ov-seg.website-scan, .ov-chip.website-scan i { background: #7DB6EE; }
.ov-seg.skipped, .ov-chip.skipped i { background: #B8C7D9; }
/* Not visible from outside: violets, striped */
.ov-seg.human-interview, .ov-chip.human-interview i { background: repeating-linear-gradient(135deg, #8E6FD8, #8E6FD8 5px, #7A5BC6 5px, #7A5BC6 10px); }
.ov-seg.document-review, .ov-chip.document-review i { background: repeating-linear-gradient(135deg, #B39AF0, #B39AF0 5px, #A086E4 5px, #A086E4 10px); }
.ov-seg.technical-audit, .ov-chip.technical-audit i { background: repeating-linear-gradient(135deg, #D6C8F8, #D6C8F8 5px, #C6B5F1 5px, #C6B5F1 10px); }
.ov-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 20px; margin-top: 10px; }
.ov-group { display: flex; flex-direction: column; gap: 4px; font-size: 13px; padding-top: 6px; border-top: 2px solid; }
.ov-group.g-checked { border-color: #1F9D57; }
.ov-group.g-todo { border-color: #2F7BD0; }
.ov-group.g-outside { border-color: #8E6FD8; }
.ov-group-name { color: #5A6B85; }
.ov-group-name b { color: var(--ink); font-size: 15px; }
.ov-chips { display: flex; flex-wrap: wrap; gap: 3px 12px; }
.ov-chip { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.ov-chip:hover, .ov-chip:focus-visible { color: var(--navy); text-decoration: underline; }
.ov-chip i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.crow, .beyond-group, #check-board { scroll-margin-top: 250px; }
/* Overview on phones: totals only under the bar; the bar's segments still jump. Last, so it wins. */
@media (max-width: 760px) { .ov-chips { display: none; } .ov-group { font-size: 11.5px; gap: 2px; } .ov-group-name b { font-size: 13px; } .run-nav > .wrap { padding-top: 8px; padding-bottom: 8px; } .run-nav-top { gap: 6px; margin-bottom: 6px; } .run-nav-url, .run-nav-config, .run-nav-text { font-size: 12.5px; } .run-nav-box { padding: 4px 8px; } .run-nav .activity { font-size: 12.5px; } .ov-bar { height: 18px; } .crow, .beyond-group, #check-board { scroll-margin-top: 230px; } }

/* ---- Request kit */
.rq-intro { padding: 40px 0 12px; max-width: 760px; }
.rq-intro h1 { margin: 4px 0 10px; }
.rq-grid { display: grid; gap: 28px; align-items: start; padding-bottom: 56px; }
@media (min-width: 1000px) { .rq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .rq-out { position: sticky; top: 84px; } }
.rq-form fieldset { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); padding: 14px 16px 16px; margin: 0 0 14px; }
.rq-form legend { font-weight: 700; color: var(--navy); padding: 0 6px; }
.rq-rights { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.rq-right { display: flex; gap: 8px; align-items: flex-start; padding: 7px 9px; border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer; }
.rq-right > span { display: flex; flex-direction: column; }
.rq-right:has(input:checked) { border-color: var(--navy); background: var(--navy-tint); }
.rq-field { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.rq-field[hidden] { display: none; }
.rq-field input, .rq-field textarea { font: 15px var(--sans); padding: 8px 10px; border: 1px solid #b9bcc6; border-radius: var(--radius); color: var(--ink); background: #fff; }
.rq-out { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px; }
.rq-out h2 { margin: 0 0 8px; }
.rq-meta p { margin: 0 0 6px; font-size: 14px; }
.rq-letter { white-space: pre-wrap; font: 15px/1.55 var(--law); background: #FBFBF9; border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; max-height: 62vh; overflow: auto; margin: 10px 0; }
.rq-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- The droid head as activity indicator: its eyes take the activity colour */
.droid { display: inline-block; flex: none; width: 30px; height: 27px; color: var(--navy); margin-right: 4px; }
.droid svg { display: block; width: 100%; height: 100%; }
.droid .eye { fill: var(--navy); transition: fill 150ms ease; }
@media (prefers-reduced-motion: reduce) { .droid .eye { animation: none !important; } }

/* ---- Answer check */
#answer .rq-form { display: grid; gap: 0 20px; padding-bottom: 8px; }
@media (min-width: 1000px) { #answer .rq-form { grid-template-columns: 1fr 1.4fr; } #answer .rq-form > fieldset:nth-of-type(2) { grid-row: span 2; } #answer .rq-form > .rq-actions { grid-column: 1 / -1; } }
#an-text { width: 100%; font: 14px/1.5 var(--sans); padding: 10px 12px; border: 1px solid #b9bcc6; border-radius: var(--radius); }
.an-out { padding: 10px 0 64px; }
.an-out > h2 { margin-top: 28px; }
.an-flags { margin: 16px 0; padding: 14px 18px; border-left: 4px solid #D23B40; background: #FBEBEB; border-radius: var(--radius); }
.an-flags h3 { margin: 0 0 6px; color: #8a1f1f; font-size: 16px; }
.an-flags ul { margin: 0; padding-left: 18px; }
.an-flags li { margin: 6px 0; }
.an-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.an-row { display: grid; gap: 6px 20px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .an-row { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 2fr); } }
.an-law { display: flex; flex-direction: column; gap: 2px; }
.an-find p { margin: 6px 0 0; }
.an-quote { margin: 6px 0 0; padding: 6px 10px; border-left: 3px solid var(--gold); background: #FBF6EA; font: 14px/1.45 var(--law); }
.an-yours { display: flex; flex-direction: column; gap: 4px; }
.an-yours select { font: 14px var(--sans); padding: 6px 8px; border: 1px solid #b9bcc6; border-radius: var(--radius); background: #fff; }
.pill.partial { background: #FDF3DC; color: #7a5200; }

/* Form titles sit inside their boxes, not on the border */
.rq-form fieldset > legend { float: left; width: 100%; padding: 0; margin: 0 0 10px; font-size: 16px; }
.rq-form fieldset > legend + * { clear: both; }

/* ---- Answer check: next steps */
.an-steps { list-style: none; counter-reset: step; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.an-step { counter-increment: step; position: relative; padding: 14px 18px 14px 58px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.an-step::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; }
.an-step.done::before { background: #1F9D57; content: "✓"; }
.an-step.court::before { background: #8B95A1; }
.an-step h3 { margin: 2px 0 4px; font-size: 17px; color: var(--navy); }
.an-step p { margin: 4px 0; }
.an-letter { margin-top: 8px; }
.an-letter summary { cursor: pointer; color: var(--navy); font-weight: 600; }
.an-letter .rq-actions { margin: 8px 0 0; }

/* ---- Check page: the dashboard is the control panel. Two editable boxes, same height. */
.page-check .site-header .geo-button { display: none; }
.page-check .run-nav { margin: 0; }
.run-nav-top { margin: 0 0 8px; }
.run-nav-box { box-sizing: border-box; height: 40px; padding: 0 12px; line-height: 38px; }
input.run-nav-box.run-nav-url { flex: 1 1 300px; max-width: 440px; font: 400 14.5px/38px var(--mono); color: var(--navy); text-overflow: ellipsis; }
input.run-nav-box.run-nav-url:focus, .run-nav-law:focus-within { outline: 3px solid var(--gold); outline-offset: 1px; }
.run-nav-law { flex: 0 1 auto; gap: 6px; padding-right: 4px; }
.run-nav-law select { height: 38px; max-width: 360px; border: 0; background: transparent; color: var(--navy); font: 600 14.5px/1 var(--sans); cursor: pointer; padding: 0 6px 0 0; }
.run-nav-law select:focus { outline: none; }
.run-nav-law select:disabled { color: #5A6B85; cursor: default; }
.run-nav-go { height: 40px; padding: 0 18px; margin-left: auto; }
.run-nav .check-help { margin: -2px 0 8px; font-size: 13.5px; }
.run-nav .check-help.is-error { color: #9B1C1C; }
.ov-config { margin: 2px 0 6px; font-size: 13px; color: #5A6B85; }
.ov-config.configured { color: #7a5200; }
#check-overview:empty { display: none; }
.check-intro { padding: 36px 0 8px; max-width: 760px; }
.check-intro[hidden] { display: none; }
@media (max-width: 760px) { .run-ctls { margin-left: 0; } .run-nav-text { display: none; } .run-nav-arrow { display: none; } input.run-nav-box.run-nav-url { flex-basis: 100%; max-width: none; } .run-nav-law { flex: 1 1 auto; } .run-nav-law select { max-width: 100%; width: 100%; } .run-nav-go { margin-left: 0; } }

/* ---- Header: the burger alone, no frame, no word (the word stays for screen readers) */
.menu-button { border: 0; background: transparent; padding: 0 6px; min-width: 44px; justify-content: center; }
.menu-button:hover { background: var(--navy-tint); }
.menu-button .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Activity line: which function runs, and dots that move while something happens */
.act-line { min-width: 0; }
.act-fn { color: var(--navy); font-weight: 700; }
.act-dots { display: none; margin-left: 1px; }
.activity.busy .act-dots { display: inline; }
.act-dots i { font-style: normal; font-weight: 700; animation: dot 1.2s infinite; opacity: .2; }
.act-dots i:nth-child(2) { animation-delay: .2s; }
.act-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .act-dots i { animation: none; opacity: .7; } }

/* ---- Plan steps are labelled "Step n" (rectangles), workflow stages keep their numbered circles */
.fa-step-n { width: auto; height: auto; border-radius: 3px; padding: 3px 9px; background: transparent; border: 1.5px solid var(--gold); color: #7a5200; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fa-lead code, .fa-plan .fa-lead code { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; color: var(--navy); font-weight: 600; }
.fa-example { margin: 8px 0 10px; padding: 8px 12px; background: #FBF1D6; border-left: 4px solid var(--gold); border-radius: 3px; font-size: 14px; }
.ov-example { display: inline-block; margin-right: 10px; padding: 1px 8px; border-radius: 3px; background: #FBF1D6; border: 1px solid var(--gold); color: #7a5200; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ov-headline { margin: 0 0 6px; font-size: 14px; color: var(--ink); }
.ov-headline strong { color: var(--navy); }
.act-follow { margin: 0 0 6px 38px; font-size: 13px; }
/* ---- Parts of the review */
.part-head { display: flex; align-items: center; gap: 12px; margin: 30px 0 12px; }
.part-tag { display: inline-block; padding: 3px 10px; border-radius: 3px; background: var(--navy); color: #fff; font: 700 12px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.beyond h2 { display: flex; align-items: center; gap: 12px; }
.part-3 .part-tag { background: #7A5BC6; }
.part-2 .part-tag { background: #2F7BD0; }
.part-1b .part-tag { background: #8B95A1; }
.beyond + .beyond, div > .beyond + .beyond { margin-top: 20px; }
.ov-group.g-outside .ov-group-name { font-style: normal; }
/* ---- Tagline in italic: the brand voice, apart from the technical text */
.tagline, .hero-tagline { font-style: italic; }

/* ---- Law library: navigation kept in view */
.cat-nav { position: sticky; top: 65px; z-index: 12; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 -12px 8px; padding: 10px 12px; background: var(--bg); border-bottom: 1px solid var(--rule); }
.cat-nav .chip.is-current { border-color: var(--navy); background: var(--navy-tint); color: var(--navy); font-weight: 700; }
.cat-jump { margin-left: auto; max-width: 420px; height: 34px; padding: 0 8px; border: 1px solid #b9bcc6; border-radius: var(--radius); background: #fff; font: 14px var(--sans); color: var(--ink); }
.cat-law, .cat-ob { scroll-margin-top: 130px; }
@media (max-width: 760px) { .cat-jump { margin-left: 0; max-width: 100%; width: 100%; } }
/* Planned website functions belong to part 1: grey, striped */
.ov-seg.website-scan, .ov-chip.website-scan i { background: repeating-linear-gradient(45deg, #B5BDC8, #B5BDC8 4px, #D3D9E0 4px, #D3D9E0 8px); }
/* Live runs (local Datadroit) */
.ov-example.live, .fa-example.live { background: #E5F4E4; border-color: #1F9D57; color: #1f5f2a; }
.sim-tag.live { background: #E5F4E4; color: #1f5f2a; }

/* 0.13.0 overview: scope selector, one column per part, no score */
.ov-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin: 2px 0 4px; }
.ov-top .ov-config { margin: 0; }
.ov-scope { display: inline-flex; align-items: center; gap: 0; font-size: 12.5px; }
.ov-scope-label { color: #5A6B85; margin-right: 8px; }
.ov-scope-btn { border: 1px solid #B8C7D9; background: var(--surface); color: var(--ink); padding: 3px 10px; font: inherit; cursor: pointer; margin-left: -1px; }
.ov-scope-btn:first-of-type { border-radius: 3px 0 0 3px; }
.ov-scope-btn:last-of-type { border-radius: 0 3px 3px 0; }
.ov-scope-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; position: relative; }
.ov-scope-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; position: relative; }
.ov-cols { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.ov-col { flex: 1 1 0; min-width: 210px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; padding-top: 6px; border-top: 3px solid; }
.ov-col.g-checked { border-color: #1F9D57; }
.ov-col.g-todo { border-color: #2F7BD0; }
.ov-col.g-outside { border-color: #8E6FD8; }
.ov-col .ov-bar { margin: 2px 0; }
.ov-group-who { color: #5A6B85; font-size: 12px; line-height: 1.35; }
.ov-col.g-outside .ov-group-who { color: #5b3fa6; }
.ov-rest { margin: 8px 0 0; font-size: 12.5px; color: #5A6B85; }
.link-button { border: 0; background: none; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }
@media (max-width: 760px) { .ov-col { min-width: 100%; } .ov-group-who { display: none; } }

.code-form { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.code-input { font: inherit; font-size: 13px; padding: 3px 8px; border: 1px solid #B8C7D9; border-radius: 3px; width: 11em; background: var(--surface); }
.code-form .button { padding: 3px 12px; font-size: 13px; min-height: 0; }

/* 0.16.0 evidence screenshots and report */
.ev-strip { margin: 10px 0 4px; }
.ev-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ev-thumb { display: flex; flex-direction: column; gap: 4px; width: 150px; padding: 4px; border: 1px solid #C9D5E6; border-radius: 4px; background: var(--surface); cursor: zoom-in; font: inherit; font-size: 12px; color: var(--ink); text-align: left; }
.ev-thumb img { display: block; width: 100%; height: 90px; object-fit: contain; object-position: center; border-radius: 2px; background: #f3f6fa; }
.ev-thumb:hover, .ev-thumb:focus-visible { border-color: var(--navy); }
.ev-dialog { max-width: min(1100px, 94vw); width: 100%; padding: 0 16px 14px; border: 0; border-radius: 6px; box-shadow: 0 10px 40px rgba(6, 14, 26, .35); }
.ev-dialog::backdrop { background: rgba(6, 14, 26, .6); }
.ev-dialog img { display: block; max-width: 100%; max-height: 72vh; margin: 0 auto; border: 1px solid #C9D5E6; }
.ev-bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px 0; background: #fff; color: var(--navy); }
.ev-close { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.ev-cap { margin: 10px 0 2px; font-size: 14px; }
.ev-meta { margin: 0; font-size: 12px; color: var(--muted); word-break: break-all; }
.c-ev { margin: 6px 0 0; font-size: 13px; }
.report-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 4px; }
.report-by { font: inherit; font-size: 14px; padding: 6px 10px; border: 1px solid #B8C7D9; border-radius: 4px; width: 16em; }
.report-note { margin: 8px 0 0; min-height: 1.5em; font-size: 14px; line-height: 1.45; }
.report-note:empty { display: none; }
.report-note code { font-size: 12px; word-break: break-all; }
.report-busy { color: var(--muted); }
.report-ok { padding: 8px 12px; border-left: 3px solid #1E8E4E; background: #EEF7F1; }
.report-fail { padding: 8px 12px; border-left: 3px solid #C0392B; background: #FBEDEB; color: #6B1A12; }
.report-hash { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }

/* Legal pages: mentions légales and privacy notice */
.legal-page { max-width: 860px; padding-top: 40px; padding-bottom: 64px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-page h2 { margin-top: 32px; }
.legal-page h3 { margin-top: 20px; font-size: 1.05rem; }
.legal-page .lede { color: var(--muted, #5a6b85); }
.facts-list { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 6px 16px; margin: 12px 0; }
.facts-list dt { color: var(--muted, #5a6b85); }
.facts-list dd { margin: 0; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 12px 0; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid #dde4ee; }
.legal-en { margin-top: 48px; padding-top: 8px; border-top: 2px solid #c89b2a; }
mark.todo { background: #fbe7a1; color: #5a3d00; padding: 0 4px; border-radius: 3px; font-weight: 600; }
@media (max-width: 640px) { .facts-list { grid-template-columns: 1fr; } .facts-list dt { margin-top: 8px; } .legal-table { display: block; overflow-x: auto; } }


/* The report link in the pinned overview bar */
.ov-right { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ov-report:empty { display: none; }
.ov-report-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--navy); border: 0; border-radius: 4px; padding: 6px 12px; text-decoration: none; cursor: pointer; }
.ov-report-btn:hover { background: var(--navy-hover); color: #fff; }
.ov-report-btn::before { content: ""; width: 10px; height: 12px; background: currentColor; clip-path: polygon(0 0, 70% 0, 100% 25%, 100% 100%, 0 100%); }

/* The dashboard before a run: what the review will cover */
.ov-example.plan { background: #e8eef7; color: var(--navy); border-color: #b8c8e0; }

/* Pause, continue and stop a running review */
.run-ctls { display: none; gap: 8px; margin-left: auto; }
.run-ctl { height: 40px; padding: 0 16px; min-width: 0; }
.run-ctl.is-paused { background: var(--navy); color: #fff; }
.run-stop { color: #b52a2f; border-color: #e3b5b7; }
.run-stop:hover { background: #fdf1f1; }
body.run-paused .led.reach { animation-play-state: paused; }

/* Language switch in the header */
/* The language menu: one quiet code in the header ("EN ▾"), the languages in a small list below it. */
.lang-menu { position: relative; margin: 0 6px; }
.lang-current { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 6px; border-radius: 4px; color: var(--navy); font-weight: 700; font-size: 13px; letter-spacing: .06em; cursor: pointer; list-style: none; user-select: none; }
.lang-current::-webkit-details-marker { display: none; }
.lang-current::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .7; }
.lang-current:hover, .lang-menu[open] .lang-current { background: #e8eef7; }
.lang-list { position: absolute; right: 0; top: calc(100% + 4px); z-index: 60; min-width: 150px; margin: 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid #d5dce6; border-radius: 6px; box-shadow: 0 6px 18px rgba(16, 30, 54, .12); }
.lang-switch { display: flex; align-items: baseline; gap: 10px; padding: 7px 14px; color: var(--ink, #1c2230); font-size: 14px; text-decoration: none; }
.lang-switch:hover { background: #f0f4f9; }
.lang-switch[aria-current] { color: var(--navy); font-weight: 700; }
.lang-code { min-width: 22px; color: var(--muted, #5a6270); font-size: 12px; font-weight: 700; letter-spacing: .06em; }

/* The report link under the Prepare button, at the right of the activity line */
#check-activity { display: flex; align-items: center; gap: 12px; }
#check-activity > .activity { flex: 1 1 auto; min-width: 0; }
.run-report:empty { display: none; }
.run-report { flex: none; }

/* The report, at the end of the findings */
.report-box { margin: 28px 0 8px; padding: 20px 24px; background: var(--surface); border: 1px solid #C9D5E6; border-top: 3px solid var(--gold); border-radius: var(--radius); }
.report-box h2 { margin: 0 0 6px; color: var(--navy); }
.report-intro { margin: 0 0 14px; color: var(--muted); max-width: 70ch; }
.report-box .report-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0; }
.report-go { height: 40px; padding: 0 18px; display: inline-flex; align-items: center; }
.report-box .report-by { height: 40px; padding: 0 12px; border: 1px solid #C9D5E6; border-radius: var(--radius); font: inherit; min-width: 260px; }

/* "Go to the report": a tab hanging under the pinned bar's golden line */
.jump-report { position: absolute; z-index: 20; top: calc(100% + var(--tab-drop, 0px)); right: max(var(--gutter), calc((100% - var(--page)) / 2 + var(--gutter))); margin-top: 0; padding: 5px 14px 6px; border: 0; border-radius: 0 0 6px 6px; background: var(--gold); color: #1d1500; font: 700 13px/1.2 var(--sans); cursor: pointer; box-shadow: 0 4px 10px rgba(26,60,107,.18); }
.jump-report:hover { background: #d9ab38; }
.jump-report[hidden] { display: none; }

/* No scroll anchoring in the plan and the results: the page moves only when Datadroit or the person moves it */
#check-out { overflow-anchor: none; }

/* Analysed area: the pages a verdict rests on, folded under the steps. */
.c-area { margin: 8px 0 0 22px; font-size: 13px; color: var(--muted); }
.c-area summary { cursor: pointer; font-weight: 600; }
.c-area ol { margin: 6px 0 0; padding-left: 18px; }
.c-area li { margin: 3px 0; overflow-wrap: anywhere; }
.c-area li.unread { opacity: .75; }
.c-area-role { font-weight: 600; color: var(--ink-2); }
.c-area-role::after { content: ":"; }
html[lang=fr] .c-area-role::after { content: "\00a0:"; }

/* Quiet status line next to the logo while a review runs: state, start time, time elapsed. No animation. */
.busy-sign { display: inline-flex; align-items: baseline; gap: 0; color: var(--muted, #5a6270); font-size: 13.5px; white-space: nowrap; }
.busy-sign[hidden] { display: none; }
.busy-text { color: var(--navy); font-weight: 600; }
.busy-part { padding-left: 12px; margin-left: 12px; border-left: 1px solid rgba(26, 60, 107, .2); }
.busy-label { color: var(--muted, #5a6270); }
.busy-at, .busy-time { color: var(--ink, #1c2230); font-variant-numeric: tabular-nums; }
body.is-busy .tagline, body.has-sign .tagline { display: none; }
.busy-sign.stopped .busy-text, body.run-paused .busy-text { color: #7a5200; }
.busy-id .busy-at { font-family: ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace; font-size: .92em; }
.busy-sign.done .busy-text { font-variant-numeric: tabular-nums; }
.fa-example.wait { background: #fdf6e3; border-left-color: #b07d12; }
/* On a phone: the state and the time elapsed only. */
@media (max-width: 560px) { .busy-sign { font-size: 12px; } .busy-part { padding-left: 8px; margin-left: 8px; } .busy-start, .busy-id, .busy-label { display: none; } body.has-sign .beta-tag { display: none; } }
.ov-example.running { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Long values (cookie names, addresses) wrap inside their column instead of overflowing it. */
.c-finding, .c-analysis .log li, .c-verdict, .c-prov { overflow-wrap: anywhere; min-width: 0; }

/* Beta, next to the logo on every page. */
.beta-tag { display: inline-block; padding: 1px 7px; border: 1.5px solid var(--gold); border-radius: 4px; color: #7a5200; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }

/* About: functional schematics and workflows. Navy: Datadroit; gold: the person. */
.about-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; color: var(--ink-2); }
.who { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.who.human { background: #FBF1D6; color: #7a5200; border: 1.5px solid var(--gold); }
.who.auto { background: var(--navy-tint); color: var(--navy); border: 1.5px solid var(--navy); }
.arch { margin: 22px 0 8px; padding: 18px; border: 1px solid var(--rule); border-radius: 10px; background: #fff; }
.arch-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1.25fr) 90px minmax(0, .9fr); align-items: center; gap: 0; }
.arch-row:has(> :nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); }
.arch-row.single { grid-template-columns: minmax(0, 1fr); margin-top: 14px; }
.arch-zone { border: 1.5px dashed #b8c8e0; border-radius: 10px; padding: 12px; display: grid; gap: 8px; }
.arch-zone.person { border-color: var(--gold); background: #fffaf0; }
.arch-zone.dd { background: var(--navy-tint); }
.arch-zone.site { background: #f6f6f6; border-color: #c9c9c9; }
.zone-title { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.box { padding: 8px 10px; border-radius: 6px; background: #fff; border: 1.5px solid #c9c9c9; font-size: 13.5px; line-height: 1.35; }
.box.human { border-color: var(--gold); }
.box.auto { border-color: var(--navy); }
.arch-link { display: grid; justify-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); padding: 0 6px; text-align: center; }
.arch-link i { display: block; width: 100%; height: 2px; background: var(--navy); position: relative; }
.arch-link i::before, .arch-link i::after { content: ""; position: absolute; top: -4px; border: 5px solid transparent; }
.arch-link i::before { left: -2px; border-right-color: var(--navy); }
.arch-link i::after { right: -2px; border-left-color: var(--navy); }
.arch figcaption { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 820px) {
  .arch-row, .arch-row:has(> :nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr); }
  .arch-link { padding: 8px 0; }
  .arch-link i { width: 2px; height: 26px; }
  .arch-link i::before { left: -4px; top: -2px; border: 5px solid transparent; border-bottom-color: var(--navy); }
  .arch-link i::after { left: -4px; right: auto; top: auto; bottom: -2px; border: 5px solid transparent; border-top-color: var(--navy); }
}
.flow { list-style: none; counter-reset: step; margin: 14px 0 0; padding: 0; display: grid; gap: 0; max-width: 46em; }
.flow li { counter-increment: step; position: relative; padding: 10px 14px 10px 54px; border-left: 3px solid var(--navy); margin-left: 16px; font-size: 15px; line-height: 1.45; }
.flow li::before { content: counter(step); position: absolute; left: -17px; top: 9px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--navy); color: #fff; border: 3px solid #fff; }
.flow li.human { border-left-color: var(--gold); }
.flow li.human::before { background: var(--gold); color: #fff; }
.flow li .who { margin-right: 6px; font-size: 11px; vertical-align: 1px; }
.flow li .branch { display: block; margin-top: 6px; padding: 6px 10px; border-radius: 6px; background: #fdecec; color: #7a1f22; font-size: 14px; }
.flow li.gate { background: var(--navy-tint); border-radius: 0 6px 6px 0; }
.soon { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 8px; border-radius: 4px; border: 1.5px solid var(--gold); color: #7a5200; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 9px 12px; border-top: 1px solid var(--rule); }
.compare thead th { color: var(--navy); border-top: 0; }
.compare tbody th { color: var(--ink-2); font-weight: 600; width: 22%; }
.table-scroll { overflow-x: auto; }
.need { margin: 6px 0 16px; padding: 10px 14px; border-left: 4px solid var(--gold); background: #fffaf0; border-radius: 0 8px 8px 0; font-size: 15px; line-height: 1.5; max-width: 52em; }

/* Browser scan: the offer when a website blocks, the warning before the private window opens, the tag. */
.browser-offer { margin-top: 14px; padding: 12px 14px; border: 1.5px solid var(--gold); border-radius: 8px; background: #fffaf0; display: grid; gap: 10px; justify-items: start; }
.browser-offer p { margin: 0; }
.browser-warning { position: fixed; z-index: 60; left: 50%; top: 18vh; transform: translateX(-50%); width: min(520px, calc(100vw - 32px)); padding: 20px 22px; background: #fff; border: 2px solid var(--navy); border-radius: 12px; box-shadow: 0 18px 60px rgba(6, 14, 26, .35); }
.browser-warning h3 { margin: 0 0 8px; }
.browser-warning p { margin: 8px 0; }
.browser-warning-key { font-weight: 700; color: #7a1f22; }
.browser-warning-actions { display: flex; gap: 10px; margin-top: 14px; }
.ov-example.browser { background: #FBF1D6; color: #7a5200; border-color: var(--gold); }

/* Extension page */
.ext-status { margin-top: 14px; padding: 10px 14px; border-radius: 8px; border: 1.5px solid var(--rule); background: #fff; font-size: 15px; max-width: 52em; }
.ext-status[data-state="ready"] { border-color: #1F9D57; background: var(--pass-tint); }
.ext-status[data-state="partial"] { border-color: var(--gold); background: #fffaf0; }
.ext-status[data-state="none"] { border-color: #c9c9c9; background: #f6f6f6; }
.ext-install { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.ext-browser { padding: 14px 16px; border: 1px solid var(--rule); border-radius: 10px; background: #fff; }
.ext-browser h3 { margin: 0 0 8px; font-size: 17px; }
.ext-browser ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.ext-browser code, .flow code { font-size: 13px; overflow-wrap: anywhere; }
.via-browser { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.via-browser input { width: 16px; height: 16px; accent-color: var(--navy); }
.ext-install + p { margin-top: 12px; }
@media (max-width: 560px) { .lang-menu { margin: 0 2px; } .lang-current { padding: 0 4px; } }
/* A narrow phone: the beta label gives way to the language and law menus (the preview banner says it is in development). */
@media (max-width: 420px) { .beta-tag { display: none; } }


/* ==== Design cleanup (0.47): calmer, for a law office's eyes ==========================================
   Gold now means one thing only: attention ("partly meets", a wait, a question to check). Structure is navy and
   grey; buttons are flat; no mascot on the working pages; one font family, monospace only for technical values. */
.button:not(.button-quiet) { box-shadow: none; }
.button:not(.button-quiet):hover { filter: brightness(1.12); }
.check-window, .fa-plan, .report-box { border-top: 1px solid var(--rule); }
.check-window { box-shadow: none; }
.path:nth-child(1) { border-top: 1px solid var(--rule); }
.run-nav { border-bottom: 1px solid var(--rule); box-shadow: 0 4px 10px rgba(16, 30, 54, .05); }
.run-nav-arrow, .run-nav-para, .geo-pin { color: var(--muted, #5a6270); }
.landing-kicker { color: var(--muted, #5a6270); }
.beta-tag { border: 1px solid #aab3bf; color: #5a6270; font-weight: 600; }
.tagline { display: none; }
.fa-step-n { border-color: #aab3bf; color: var(--navy); }
.fa-lead code, .fa-plan .fa-lead code { text-decoration-color: #aab3bf; }
.fa-example { background: #eef2f7; border-left-color: #8796ab; }
.ov-example { background: #eef2f7; border-color: #c9d2de; color: var(--navy); }
.page-url { border-left-color: var(--navy); }
.an-quote { border-left-color: #aab3bf; background: #f6f7f9; }
.fm-tags .fm-kind.gate, .fa-kind.gate { background: var(--navy); }
.droid { display: none; }
.geo-button { border-color: #c9d2de; }
input.run-nav-box.run-nav-url, .run-nav-url { font-family: var(--sans); }
.scan-form input, .check-field input { font-family: var(--sans); }
/* A lighter frame: the footer in navy instead of near-black, the preview note as a quiet line. */
.site-footer { background: var(--navy); color: #dfe5ee; }
.site-footer a:hover { color: #fff; }
.preview-banner { background: #eef1f5; color: var(--ink, #1c2230); }
.preview-banner strong { background: #5a6270; color: #fff; }
/* Kept in gold, on purpose: the waits and questions (.fa-example.wait), "partly meets", the person's steps on the
   About page, the browser-scan offer, focus rings. */

/* Headings in the serif of the law texts: the visual language of legal publishers. Body text stays in the sans. */
h1, h2, .landing h1, .fa-plan h2, .about h1, .about h2 { font-family: var(--law); font-weight: 600; letter-spacing: -0.005em; }

/* Results: summary first (law | verdict); "With the evidence" adds the analysis column. */
.view-switch { display: inline-flex; margin: 4px 0 10px; border: 1px solid #c9d2de; border-radius: 6px; overflow: hidden; }
.view-btn { padding: 6px 14px; border: 0; background: #fff; color: var(--navy); font: 600 13.5px var(--sans); cursor: pointer; }
.view-btn + .view-btn { border-left: 1px solid #c9d2de; }
.view-btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
body:not(.is-busy) .cgrid.is-summary { --cols: minmax(0, 7fr) minmax(0, 5fr); }
body:not(.is-busy) .cgrid.is-summary .c-analysis { display: none; }
body:not(.is-busy) .cgrid.is-summary .chead { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
body:not(.is-busy) .cgrid.is-summary .chead-sub { grid-template-columns: minmax(0, 1fr); }
body:not(.is-busy) .cgrid.is-summary .chead-sub span:first-child { display: none; }
/* While a review runs, every row shows its analysis, so the run can be followed; the summary comes at the end. */
/* One place to choose the law: next to the address on the check page. The header's law button stays only in the
   law library, where it filters the laws shown (it still serves the custom configuration everywhere). */
body:not(.page-catalogue) .site-header .geo-button { display: none; }

/* ==== Badges and activity signs (0.48.1): never in the verdict colours =============================================
   Green, red and amber belong to the verdicts (Pass, Fail, Unable to run). Who did a step is told by a neutral
   badge: Datadroit's steps all light grey-blue, told apart by their label; the EDPS collector in EU blue; the
   verdict (DD rule) in near-black. What happened is told by a shape, in grey: an arrow while reaching the page,
   a tick once collected, a barred circle when the collection failed (not a cross: a cross is the Fail verdict),
   a ring for Datadroit's own analysis. */
.src-dd, .src-ok, .src-partly, .src-differs, .src-reuse, .src-browser { background: #eef2f7; color: var(--navy); border: 1px solid #c9d2de; }
.src-reuse { border-style: dashed; }
.src-verdict { background: #1c2230; color: #fff; }
.led, .led.reach, .led.ok, .led.fail, .led.server, .led.server-done { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 0;
  background: none; box-shadow: none; animation: none; outline: 0; color: #5a6270; font: 700 12px/1 var(--sans); }
.led::before { content: "•"; }
.led.reach::before { content: "→"; }
.led.ok::before { content: "✓"; }
.led.fail::before { content: "⊘"; font-size: 10px; font-weight: 400; }
.led.server::before, .led.server-done::before { content: "○"; font-size: 16px; font-weight: 400; }
.led.reach { color: var(--navy); }
@media (prefers-reduced-motion: no-preference) { .log .led.reach, .activity .led.reach { animation: led-nudge 1s ease-in-out infinite; } }
@keyframes led-nudge { 50% { transform: translateX(2px); } }
.activity .led { width: 16px; height: 16px; color: #dfe5ee; font-size: 14px; }
/* Whether Datadroit's own visit confirmed a step: in words, in navy, not in the verdict colours. */
.c-corr, .c-corr.confirmed, .c-corr.partly_confirmed, .c-corr.differs, .c-corr.datadroit_only, .c-corr.datadroit_found, .c-corr.browser_only { color: var(--navy); }
/* The header speaks with one voice: one face, one size, two weights. Labels in grey, values in ink, the state in
   navy; the scan ID in the same face with even-width figures (no typewriter); the beta label as a small word. */
.busy-sign, .busy-sign .busy-at, .busy-id .busy-at, .busy-time { font: 400 13.5px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.busy-sign .busy-text { font-weight: 700; }
.busy-sign .busy-at, .busy-time { color: var(--ink, #1c2230); font-weight: 700; }
.busy-label { font-weight: 400; }
.beta-tag { font: 700 11.5px/1.4 var(--sans); letter-spacing: .02em; text-transform: none; padding: 1px 6px; }
.lang-current { font: 700 13.5px/1 var(--sans); letter-spacing: 0; }
/* While the scan line shows, the header keeps one line: the law library shortcut (also in the menu) gives way on
   narrower screens, and never wraps. */
.header-library { white-space: nowrap; }
@media (max-width: 1360px) { body.has-sign .header-library { display: none; } }
/* The check strip on one line in long languages: the address box gives room to the law. */
input.run-nav-box.run-nav-url { max-width: 320px; flex-basis: 260px; }

/* ==== 0.50: steadier page ======================================================================================
   Three column names (Law, Procedure, Compliance) stay in view under the pinned bar while the list scrolls. */
.chead3 { display: grid; grid-template-columns: var(--cols); position: sticky; top: var(--dash-bottom, 0px); z-index: 12; box-shadow: 0 2px 0 var(--navy); border-bottom: 0; }
.chead3 > div { padding: 10px 18px; font: 700 13px/1.25 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); display: flex; flex-direction: column; justify-content: flex-end; }
.chead3 > div + div { border-left: 1px solid var(--rule); }
.chead3 small { display: block; margin-top: 2px; font: 400 12px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted, #5a6270); }
body:not(.is-busy) .cgrid.is-summary .chead3 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
body:not(.is-busy) .cgrid.is-summary .chead3 .chead-proc { display: none; }
@media (max-width: 760px) { .chead3 { display: none; } }
/* The question about the law comes first, in red: easy to miss in amber. */
.fa-example.law-mismatch { background: #fdecec; border-left-color: #b42318; color: #5c1410; }
.fa-example.law-mismatch strong { color: #b42318; }
.fa-example.law-mismatch .link-button { color: #b42318; font-weight: 700; }
/* A law change reloads the page: it shows once ready, instead of flashing its parts as they load. */
html.dd-loading body { opacity: 0; animation: dd-reveal 0s linear 1.2s forwards; }
html body { transition: opacity 120ms ease; }
@keyframes dd-reveal { to { opacity: 1; } }

/* The browser scan's "do not touch" panel: over the whole page, its text on the left, where the page stays visible
   beside the private window. */
.touch-nothing { position: fixed; inset: 0; z-index: 80; background: rgba(15, 31, 56, .72); display: flex; align-items: center; }
.tn-panel { margin-left: max(16px, 3vw); max-width: min(380px, calc(100vw - 32px)); background: #fff; border-radius: 10px; padding: 22px 24px; border-top: 4px solid #b07d12; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.tn-panel h2 { margin: 2px 0 10px; font-size: 24px; color: #7a5200; }
.tn-panel p { margin: 0 0 10px; font-size: 15px; }
.tn-kicker { font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.tn-strong { font-weight: 700; }
.tn-stage { color: var(--navy); font-weight: 600; }
.tn-stage::before { content: "→ "; }
.chead3 > .chead-law { align-items: flex-start; border-right: 0; font-size: 13px; padding: 10px 18px; }

/* 0.52: the live line leads with the scan's kind; the scope beside the sentence it changes; column names on one line */
#check-activity > .ov-badge { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; margin: 0; white-space: nowrap; }
#check-activity > .ov-badge .ov-config-note { font-size: 12.5px; }
#check-activity > .ov-badge + .activity::before { content: "·"; margin-right: 8px; color: var(--muted, #5a6270); }
.ov-top { align-items: baseline; }
.ov-top .ov-headline { flex: 1 1 420px; margin: 0; }
.chead3 > div { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 8px; padding: 7px 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chead3 small { display: inline; margin: 0; }
.chead3 > .chead-law { padding: 7px 18px; }
/* 0.52: the header status gives way before it reaches the menu (narrow windows) */
.busy-sign { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1000px) { .busy-start { display: none; } }
@media (max-width: 860px) { .busy-id .busy-label, body.has-sign .beta-tag { display: none; } }
@media (max-width: 720px) { .busy-id { display: none; } }
/* 0.53: live view, in the page across the three columns while the scan runs */
.live-view { margin-top: 18px; margin-bottom: 18px; padding: 0; background: #fff; border: 1px solid var(--rule, #d9dee6); border-radius: 10px; box-shadow: 0 4px 18px rgba(15, 31, 56, .10); overflow: hidden; font: 400 13.5px/1.45 var(--sans); color: var(--ink, #1c2230); }
.live-view[hidden] { display: none; }
.lv-head { display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 16px; background: var(--navy, #1a3c6b); color: #fff; }
.lv-head strong { font-weight: 700; }
.lv-sub { opacity: .8; font-size: 12.5px; }
.lv-dot { width: 9px; height: 9px; border-radius: 50%; background: #e5484d; animation: lv-pulse 1.6s infinite; }
@keyframes lv-pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .6); } 70% { box-shadow: 0 0 0 7px rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }
@media (prefers-reduced-motion: reduce) { .lv-dot { animation: none; } }
.lv-mini { margin-left: auto; width: 28px; height: 24px; border: 1px solid rgba(255,255,255,.4); border-radius: 5px; background: transparent; color: #fff; font: 700 14px/1 var(--sans); cursor: pointer; }
.lv-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.lv-screen { position: relative; aspect-ratio: 1366 / 900; background: #f2f4f7; border-right: 1px solid var(--rule, #d9dee6); }
.lv-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lv-img[hidden], .lv-empty[hidden] { display: none; }
.lv-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; color: var(--muted, #5a6270); }
.live-view.is-marked .lv-screen { outline: 3px solid #c89b2a; outline-offset: -3px; }
.lv-side { padding: 14px 16px; min-width: 0; }
.lv-doing { margin: 0; font-weight: 700; font-size: 15px; color: var(--navy, #1a3c6b); }
.live-view.is-challenge .lv-doing { color: #8a5a00; }
.lv-url { margin: 4px 0 0; color: var(--muted, #5a6270); font-size: 12.5px; overflow-wrap: anywhere; }
.lv-steps-title { margin: 14px 0 4px; font: 700 11.5px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #5a6270); }
.lv-steps { margin: 0; padding: 0 0 0 18px; color: var(--ink, #1c2230); font-size: 13px; }
.lv-steps li + li { color: var(--muted, #5a6270); }
.live-view.is-mini .lv-body { display: none; }
@media (max-width: 760px) { .lv-body { grid-template-columns: 1fr; } .lv-screen { border-right: 0; } }
/* Privacy hazard: beside the fail, when something is done to the visitor before any choice */
.hazard-tag { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 4px; background: #b52a2f; color: #fff; font: 700 11.5px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.c-hazard { margin: 6px 0 0; color: #8f1f23; font-weight: 600; font-size: 13.5px; }
/* 0.53: "Standard check:" leads the scope sentence; the plan's instruction is a bubble under Run */
.ov-lead { flex: 1 1 420px; margin: 0; font-size: 14px; color: var(--ink); }
.ov-lead .ov-headline { margin: 0; font-size: inherit; }
.ov-plan { color: var(--navy); font-weight: 700; }
.ov-plan.configured { color: #7a5200; }
.ov-example.stopped { background: #fdf1f1; color: #b52a2f; border-color: #e8b4b6; }
.plan-hint { position: relative; width: max-content; max-width: min(360px, 100%); margin: 12px 0 2px auto; padding: 9px 13px; border-radius: 8px; background: var(--navy, #1a3c6b); color: #fff; font: 500 13.5px/1.4 var(--sans); box-shadow: 0 4px 14px rgba(15, 31, 56, .18); }
.plan-hint::before { content: ""; position: absolute; top: -7px; right: 30px; border: 7px solid transparent; border-top: 0; border-bottom-color: var(--navy, #1a3c6b); }
.plan-hint[hidden] { display: none; }
#check-form { position: relative; }
#check-form .plan-hint { position: absolute; top: calc(100% + 12px); right: 0; z-index: 6; margin: 0; }
#check-form .plan-hint { top: calc(100% + 7px); padding: 6px 12px; font-size: 13px; line-height: 1.3; white-space: nowrap; }
.activity.is-empty { display: none; }
#check-activity { min-height: 32px; }
/* The badge and the live line share one centre line */
#check-activity > .activity { margin: 0; align-self: center; line-height: 22px; }
#check-activity > .activity .act-line { display: inline-flex; align-items: center; }
#check-activity > .ov-badge + .activity::before { line-height: 22px; }
#check-activity .ov-badge .ov-example { margin-right: 0; }
/* Plan steps name their part of the review, in the dash's colours */
.fa-part { display: inline-block; margin-right: 10px; padding: 2px 9px; border-radius: 4px; font: 700 12px/1.5 var(--sans); letter-spacing: .02em; vertical-align: 2px; color: #fff; }
.fa-part.p1 { background: #1f9d57; }
.fa-part.p2 { background: #2f7bd1; }
.fa-part.p3 { background: #7a4fd0; }
.ov-example.finished { background: #1f9d57; color: #fff; border-color: #1f9d57; }

/* The extension next to the build in the footer. */
.build-id .ext-stamp.old { color: #b45309; }
.build-id .ext-stamp.none { opacity: .8; }

/* ---- Dashboard, three rows (0.61): the website and law; the scope with its bars; the status with the controls.
   One label column, one content column, the same rhythm in every row, as an instrument cluster. */
.run-nav > .wrap { padding-top: 6px; padding-bottom: 6px; }
.dash-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 18px; align-items: center; padding: 10px 0; margin: 0; }
.dash-row + .dash-row, .run-nav .check-help + .dash-row { border-top: 1px solid rgba(26, 60, 107, .14); }
.dash-row[hidden] { display: none; }
.dash-label { align-self: start; padding-top: 11px; font: 650 11px/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--muted, #5a6270); }
.dash-scope .dash-label { padding-top: 7px; }
.dash-address .run-nav-top { margin: 0; flex-wrap: nowrap; }
.dash-address input.run-nav-box.run-nav-url { flex: 1 1 auto; max-width: none; }
.dash-address .run-nav-law { flex: 0 1 auto; }
.run-nav .check-help { margin: 0 0 6px 94px; }
#check-overview .ov-top { margin: 0 0 8px; align-items: center; }
#check-overview .ov-scope { order: -1; }
#check-overview .ov-scope-label { display: none; }
#check-overview .ov-lead { flex: 1 1 360px; color: var(--ink); }
.dash-status-line { display: flex; align-items: center; gap: 16px; min-height: 40px; }
.dash-status-line #check-activity { flex: 1 1 auto; min-width: 0; min-height: 0; }
.dash-ctl { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.dash-ctl .run-nav-go { margin: 0; min-width: 132px; }
.dash-ctl .run-ctls { margin: 0; }
.dash-ctl .run-ctls .button { height: 40px; min-width: 96px; }
#check-ctl .plan-hint { position: absolute; top: calc(100% + 9px); right: 0; max-width: none; z-index: 6; margin: 0; padding: 6px 12px; font-size: 13px; line-height: 1.3; white-space: nowrap; }
/* A long hint (the browser scan's disclosure) wraps under the button instead of running off the page (OJ, 14 Nov 2026). */
#check-ctl .plan-hint, #check-form .plan-hint { white-space: normal; width: max-content; max-width: min(460px, calc(100vw - 32px)); }
@media (max-width: 760px) {
  .dash-row { grid-template-columns: minmax(0, 1fr); padding: 7px 0; }
  .dash-label { display: none; }
  .run-nav .check-help { margin-left: 0; }
  .dash-address .run-nav-top { flex-wrap: wrap; }
  .dash-status-line { flex-wrap: wrap; gap: 8px; }
  .dash-ctl { margin-left: auto; }
}
.run-nav-text { white-space: nowrap; }

/* The header line at rest: every part kept, at zero. */
.busy-sign.idle .busy-text { color: var(--muted, #5a6270); }
.busy-sign .busy-at.is-zero, .busy-sign.idle .busy-at, .busy-sign.idle .busy-time { color: var(--muted, #5a6270); font-weight: 500; }
.busy-sign.waiting .busy-time { color: var(--muted, #5a6270); font-weight: 500; }

/* The browser-scan panel: the human test is the person's turn. */
.touch-nothing.is-test .tn-panel { border-top-color: #1f8a4c; }
.touch-nothing.is-test .tn-kicker { color: #1f8a4c; }
.tn-clock { font-variant-numeric: tabular-nums; color: var(--muted, #5a6270); font-weight: 500; }

/* Run counting down the wait after a scan of the same address. */
.run-nav-go .busy-at { margin-left: .3em; }
.run-nav-go.is-countdown { background: var(--surface, #fff); color: var(--navy, #1a3c6b); border: 1px solid #C9D5E6; font-variant-numeric: tabular-nums; font-weight: 600; opacity: 1; cursor: default; }

/* ---- Rulebook (rulebook.html): the Datadroit baseline, one card per rule, like the law library. */
.rb-intro-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; }
.rb-howto { margin: 8px 0 0; padding-left: 20px; line-height: 1.55; }
.rb-howto li { margin: 4px 0; }
.rb-pro-box { background: #f4f6fb; border: 1px solid #d7deea; border-radius: 10px; padding: 16px 18px; }
.rb-pro-box h2, .rb-intro h2 { font-size: 18px; margin: 0 0 8px; }
.rb-chapter > h2 { margin: 8px 0 14px; }
.rb-rule { background: var(--surface, #fff); border: 1px solid #dfe4ec; border-radius: 10px; padding: 16px 18px 12px; margin: 0 0 14px; scroll-margin-top: 150px; }
.rb-rule.flash { box-shadow: 0 0 0 3px rgba(42, 108, 199, .35); }
.rb-head { display: flex; gap: 14px; align-items: flex-start; }
.rb-id { flex: 0 0 auto; font: 700 13px/1 var(--mono, ui-monospace, monospace); color: #fff; background: var(--navy, #1a3c6b); border-radius: 6px; padding: 6px 8px; margin-top: 2px; }
.rb-name { font-size: 18px; margin: 0 0 4px; }
.rb-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; font-size: 12.5px; color: var(--muted, #5a6270); }
.rb-tags > span { border: 1px solid #dfe4ec; border-radius: 999px; padding: 1px 8px; }
.rb-tags .rb-baseline { border-color: #b9c8e2; color: var(--navy, #1a3c6b); background: #eef3fb; font-weight: 600; }
.rb-tags .rb-has-params { border-color: #e7c98a; color: #7a5200; background: #fff7e6; }
.rb-what { margin: 10px 0 12px; line-height: 1.55; }
.rb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.rb-part { margin: 0 0 12px; }
.rb-part h4 { font: 650 11px/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--muted, #5a6270); margin: 0 0 6px; }
.rb-text { margin: 0; line-height: 1.5; }
.rb-law { list-style: none; margin: 0; padding: 0; line-height: 1.5; }
.rb-law li { margin: 0 0 4px; }
.rb-cite { font-weight: 600; }
.rb-official { font-size: 12.5px; color: var(--muted, #5a6270); }
.rb-verdict { margin: 0; display: grid; gap: 4px; }
.rb-verdict > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 5px 8px; border-left: 3px solid #ccd3de; background: #f8f9fb; border-radius: 0 6px 6px 0; }
.rb-verdict dt { font-weight: 650; font-size: 13px; }
.rb-verdict dd { margin: 0; font-size: 14px; line-height: 1.45; }
.rb-verdict .pass { border-left-color: #1f8a4c; } .rb-verdict .fail { border-left-color: #c43c3c; }
.rb-verdict .unable { border-left-color: #d98c1a; } .rb-verdict .not_applicable { border-left-color: #8a94a3; }
.rb-params { width: 100%; border-collapse: collapse; font-size: 14px; }
.rb-params th, .rb-params td { text-align: left; vertical-align: top; padding: 7px 8px; border-bottom: 1px solid #e6eaf0; }
.rb-params thead th { font: 650 11px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #5a6270); }
.rb-field { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.rb-field input { width: 72px; padding: 3px 6px; border: 1px solid #cfd7e3; border-radius: 6px; font: inherit; font-variant-numeric: tabular-nums; background: #f5f7fa; color: var(--ink); }
.rb-unit { color: var(--muted, #5a6270); font-size: 13px; white-space: normal; }
.rb-pro { display: inline-block; font: 700 10px/1 var(--sans); letter-spacing: .06em; color: #7a5200; background: #fff1cc; border: 1px solid #e7c98a; border-radius: 4px; padding: 3px 5px; }
.rb-lock { font-size: 12px; opacity: .7; }
.rb-kind { font-size: 12.5px; border-radius: 999px; padding: 1px 8px; border: 1px solid #dfe4ec; white-space: nowrap; }
.rb-kind.law { background: #eef3fb; border-color: #b9c8e2; } .rb-kind.authority { background: #eef7f1; border-color: #b6dcc4; } .rb-kind.baseline { background: #fff7e6; border-color: #e7c98a; }
.rb-source { font-size: 13px; color: var(--muted, #5a6270); line-height: 1.45; }
.rb-pro-note { color: var(--muted, #5a6270); }
.rb-why .rb-text { color: var(--ink); }
@media (max-width: 760px) {
  .rb-intro-grid, .rb-grid { grid-template-columns: minmax(0, 1fr); }
  .rb-verdict > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .rb-params thead { display: none; }
  .rb-params tr { display: block; padding: 6px 0; border-bottom: 1px solid #e6eaf0; }
  .rb-params th, .rb-params td { display: block; border: 0; padding: 2px 0; }
}
.rb-rule, .rb-chapter { scroll-margin-top: 210px; }
@media (max-width: 760px) {
  .rb-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
  .rb-nav .chip { flex: 0 0 auto; }
  .rb-rule, .rb-chapter { scroll-margin-top: 130px; }
}

.rb-law-pick { font: inherit; padding: 4px 8px; border: 1px solid #cfd7e3; border-radius: 6px; background: var(--surface, #fff); color: var(--ink); max-width: 100%; }
/* Rulebook export and import */
.rb-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0 0; }
.rb-actions label.button { cursor: pointer; }
.rb-import { margin-top: 14px; border: 1px solid #d7deea; border-radius: 10px; padding: 14px 16px; background: #fbfcfe; }
.rb-import.is-error { border-color: #e2b4b4; background: #fdf6f6; }
.rb-import h3 { margin: 0 0 8px; font-size: 16px; }
.rb-diff { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 10px; }
.rb-diff th, .rb-diff td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid #e6eaf0; }
.rb-diff thead th { font: 650 11px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #5a6270); }
.rb-rule.is-changed { border-color: #e7c98a; box-shadow: inset 4px 0 0 #e0a92e; }
.rb-rule.is-off { opacity: .72; border-style: dashed; }
.rb-off-tag { border-color: #e2b4b4 !important; background: #fdf0f0; color: #9b2c2c !important; font-weight: 600; }
.rb-yours { display: block; margin-top: 4px; font-weight: 650; color: #7a5200; }
.rb-yours-why { font-weight: 400; color: var(--muted, #5a6270); }
.rb-actions .button.secondary, .rb-import .button.secondary { background: var(--surface, #fff); color: var(--navy, #1a3c6b); border: 1px solid var(--navy, #1a3c6b); }
.rb-import .button.small { padding: 4px 10px; font-size: 13px; min-height: 0; height: auto; margin-left: 6px; }
.button.is-pro-locked { background: #e9ecf1 !important; color: #7b8494 !important; border: 1px solid #d3d9e2 !important; cursor: not-allowed; box-shadow: none; display: inline-flex; align-items: center; gap: 8px; }
.rb-exchange h2 .rb-pro { vertical-align: middle; font-size: 11px; }

/* A live scan in progress: the badge breathes, a soft green halo that swells and fades. Still for those who ask
   their system for less motion. */
@keyframes dd-live-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 157, 87, 0); }
  50% { box-shadow: 0 0 0 3px rgba(31, 157, 87, .18), 0 0 10px 2px rgba(31, 157, 87, .28); }
}
@keyframes dd-browser-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 134, 11, 0); }
  50% { box-shadow: 0 0 0 3px rgba(184, 134, 11, .16), 0 0 10px 2px rgba(184, 134, 11, .26); }
}
#check-activity.scanning .ov-example.live { animation: dd-live-glow 2.4s ease-in-out infinite; }
#check-activity.scanning .ov-example.browser { animation: dd-browser-glow 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  #check-activity.scanning .ov-example.live,
  #check-activity.scanning .ov-example.browser { animation: none; box-shadow: 0 0 0 2px rgba(31, 157, 87, .2); }
}

/* The scope folds to its progress bar, to give the running analysis room: by its label, and on its own when a
   scan starts. */
.dash-toggle { background: none; border: 0; margin: 0; padding-left: 0; text-align: left; cursor: pointer; }
.dash-toggle:hover, .dash-toggle:focus-visible { color: var(--navy); }
.dash-chev { display: inline-block; transition: transform .2s ease; }
#check-scope-row.collapsed .dash-chev { transform: rotate(-90deg); }
/* Folded, only the progress bar and its counts stay: what the scan has done so far, at a glance. */
#check-scope-row.collapsed #check-overview > :not(.ov-cols),
#check-scope-row.collapsed .ov-group-name,
#check-scope-row.collapsed .ov-group-who { display: none; }
#check-scope-row.collapsed .ov-cols { margin: 0; }
#check-scope-row.collapsed .ov-col { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 14px; padding: 0; border: 0; }
#check-scope-row.collapsed .ov-bar { margin: 0; }
#check-scope-row.collapsed .ov-chips { margin: 0; white-space: nowrap; }
#check-scope-row.collapsed .dash-label { padding-top: 2px; }
@media (max-width: 720px) { .dash-toggle { display: block; } .dash-row.dash-scope { grid-template-columns: minmax(0, 1fr); } }
.build-id .experience, .build-id .experience-local { color: inherit; opacity: .9; }

/* The browser-scan offer in the status bar, after a block: gold, beside Review plan. */
#check-ctl { display: flex; gap: 10px; align-items: center; }
#check-ctl .ctl-browser { background: var(--gold, #c8962c); border-color: var(--gold, #c8962c); color: #1a1a1a; }
#check-ctl .ctl-browser:hover { filter: brightness(1.05); }

/* The first plan unfolds instead of jumping: the scope row opens downwards and the plan fades in under it. */
@keyframes dd-unfold { from { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; } to { opacity: 1; max-height: 320px; } }
@keyframes dd-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
#check-scope-row:not([hidden]) { animation: dd-unfold .38s cubic-bezier(.2, .7, .2, 1); overflow: hidden; }
#check-out:not([hidden]) { animation: dd-rise .32s ease-out .08s both; }
#check-intro:not([hidden]) { animation: dd-rise .25s ease-out; }
@media (prefers-reduced-motion: reduce) {
  #check-scope-row:not([hidden]), #check-out:not([hidden]), #check-intro:not([hidden]) { animation: none; }
}

#check-run.via-browser { background: var(--gold, #c8962c); border-color: var(--gold, #c8962c); color: #1a1a1a; }
.tn-cancel { margin-top: 6px; font: 600 14px/1 var(--sans); padding: 9px 14px; border-radius: 8px; border: 1px solid #c9ced8; background: #fff; color: var(--navy); cursor: pointer; }
.tn-cancel:hover { border-color: var(--navy); }

/* Batch scan (Datadroit PRO): batch.html */
.batch-banner { position: sticky; top: 0; z-index: 30; background: var(--navy-tint); border-bottom: 1px solid #cdd8ea; color: var(--navy); font: 500 15px/1.4 var(--sans); }
.batch-banner .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 10px 16px; }
.batch-banner .batch-alert { flex-basis: 100%; font-weight: 700; }
.batch-banner.batch-first { background: #fbe9e7; border-color: #efb8b0; color: var(--fail); }
.batch-banner.batch-first strong { color: var(--fail); }
.batch-banner.batch-queue { background: #fbf1d6; border-color: #e7c98a; color: #7a5200; }
.batch-banner.batch-run .batch-progress { font-variant-numeric: tabular-nums; }
.batch-main { padding-bottom: 48px; }
.batch-head h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.batch-head h1 .rb-pro { font-size: 12px; }
.batch-sub { font-size: 18px; margin: 18px 0 6px; }
.batch-plan { max-width: 75ch; }
.batch-ctl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.batch-msg { background: #fbf1d6; border: 1px solid #e7c98a; border-radius: 8px; padding: 10px 14px; }
.batch-msg:empty { display: none; }
.batch-form { display: grid; gap: 6px; max-width: 640px; }
.batch-form label { font-weight: 600; margin-top: 8px; }
.batch-input { font: 15px/1.4 var(--sans); padding: 9px 11px; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); color: var(--ink); width: 100%; box-sizing: border-box; }
.batch-list { font-family: ui-monospace, "Liberation Mono", monospace; font-size: 14px; resize: vertical; }
.batch-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.batch-table th { text-align: left; font: 600 12px/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 8px; border-bottom: 2px solid var(--rule); }
.batch-table td { padding: 10px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.batch-table tr.is-running td { background: var(--navy-tint); }
.batch-site { display: block; font-weight: 600; word-break: break-all; }
.batch-why { display: block; margin-top: 2px; max-width: 46ch; }
.batch-counts { white-space: nowrap; font-variant-numeric: tabular-nums; }
.batch-time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.batch-fastest { font-size: .92em; }
.batch-last { margin: .2rem 0 .6rem; }
.batch-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.n-pass { color: var(--pass); } .n-fail { color: var(--fail); } .n-unable { color: var(--partial); }
.bchip { display: inline-block; font: 600 12px/1 var(--sans); padding: 5px 8px; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface); white-space: nowrap; margin-left: 6px; }
td > .bchip { margin-left: 0; }
.bchip-ok { color: var(--pass); border-color: #b9dcc7; background: #e7f3ec; }
.bchip-you { color: #7a5200; border-color: #e7c98a; background: #fbf1d6; }
.bchip-run { color: var(--navy); border-color: #b8c8e2; background: var(--navy-tint); }
.bchip-no { color: var(--fail); border-color: #efb8b0; background: #fbe9e7; }
.bchip-wait { color: var(--muted); }
.bchip-train { color: #5b3a8c; border-color: #cdbbe8; background: #f1ebfa; }
.button-small { padding: 6px 10px; font-size: 13px; min-height: 0; }
.batch-acts .via-browser, a.button.via-browser { background: var(--gold); border-color: var(--gold); color: #1a1a1a; margin: 0; font-size: 13px; }
.batch-runs { padding-left: 18px; }
.batch-assist { background: #fbf1d6; border-bottom: 1px solid #e7c98a; color: #7a5200; padding: 10px 16px; text-align: center; font: 500 14px/1.4 var(--sans); }
.batch-assist a { color: #7a5200; font-weight: 700; }
.batch-back { margin-left: 10px; background: #c8961e; border-color: #c8961e; color: #1a1300; }
@media (max-width: 720px) {
  .batch-table thead { display: none; }
  .batch-table tr { display: block; border-bottom: 1px solid var(--rule); padding: 8px 0; }
  .batch-table td { display: block; border: 0; padding: 3px 0; }
}

/* PRO capabilities, side by side (about.html, batch.html) */
.pro-section { background: linear-gradient(180deg, #fffaf0, #fff); border: 1px solid #e7c98a; border-radius: 14px; padding: 24px; }
.pro-kicker { font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #7a5200; margin: 0 0 8px; }
.pro-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 16px 0; }
.pro-card { background: var(--surface); border: 1px solid var(--rule); border-top: 4px solid var(--gold); border-radius: 10px; padding: 18px 20px; }
.pro-card h3 { margin: 0 0 8px; font-size: 19px; display: flex; align-items: center; gap: 8px; }
.pro-card ul { padding-left: 18px; margin: 10px 0; }
.pro-card li { margin: 4px 0; }
.pro-for { color: var(--muted); font-size: 14px; font-style: italic; }
.pro-contact { margin: 4px 0 0; font-weight: 600; }
.menu-title .rb-pro { font-size: 9px; vertical-align: middle; }
.batch-main .button.secondary { background: var(--surface); color: var(--navy); border: 1px solid var(--navy); box-shadow: none; }

/* Statistics page: an intro now, figures once checks qualify. */
.stats-conditions { padding-left: 1.4em; line-height: 1.55; }
.stats-conditions li { margin: 0 0 10px; }
.stats-empty { padding: 14px 18px; border: 1px dashed var(--navy); border-radius: 6px; }

/* Warnings on a result: information (no effect on the verdict) and attention (a person should look). */
.c-warn { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid #5b7aa6; background: #eef3fa; font-size: .95em; line-height: 1.5; }
.c-warn.attention { border-left-color: #c98a0e; background: #fdf6e7; }
.person-tag { display: inline-block; margin: 6px 0 0; padding: 1px 8px; border-radius: 4px; background: #c98a0e; color: #fff; font-size: .8em; font-weight: 700; letter-spacing: .03em; }

/* F3: everything seen before any choice, folded under the verdict, grouped by category. */
.c-trackers { margin: 10px 0 0; font-size: .88em; }
.c-trackers summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.c-tgroup { margin: 10px 0 0; padding-left: 8px; border-left: 3px solid #b8c2cf; }
.c-tgroup.counted { border-left-color: #d23b40; }
.c-tcat { margin: 0 0 4px; } .c-tcat span { color: #6b7684; }
.c-tgroup ul { margin: 0; padding-left: 16px; } .c-tgroup li { margin: 0 0 6px; }
.c-maker { font-weight: 600; } .c-life { color: #6b7684; }
.c-what { margin: 2px 0 0; color: #4a5562; font-size: .95em; }

/* The plan of the previous address, while a new one is typed. */
.fa-plan.is-stale { opacity: .35; pointer-events: none; transition: opacity .15s; }

/* PRO manual */
.manual-toc ol { margin: 12px 0 0; padding-left: 1.4em; columns: 2; column-gap: 32px; }
.manual-toc li { margin: 2px 0; }
.manual section ol, .manual section ul { padding-left: 1.3em; }
.manual section li { margin: 4px 0; }
@media (max-width: 760px) { .manual-toc ol { columns: 1; } }

/* Browser scan: what the extension sees while it waits, and the person's "carry on" */
.tn-seen { margin: 10px 0 0; font-size: .92em; line-height: 1.45; background: #fff8e6; border-left: 3px solid var(--gold, #c8962c); padding: 8px 10px; }
.tn-shown { margin-top: 10px; background: var(--navy, #1a3c6b); color: #fff; border: 0; border-radius: 6px; padding: 9px 14px; font-weight: 600; cursor: pointer; }
.tn-shown[disabled] { opacity: .7; cursor: default; }
/* The notice at the end of an assisted batch site: recorded, and back to the batch by itself. */
.batch-toast { position: fixed; right: 20px; bottom: 20px; z-index: 50; max-width: 360px; background: #fff; border: 2px solid #c8961e; border-radius: 10px; box-shadow: 0 8px 28px rgba(6, 14, 26, .22); padding: 14px 16px; font: 400 15px/1.45 var(--sans); }
.batch-toast p { margin: 0 0 8px; }
.batch-toast p:last-child { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.batch-toast .batch-back { margin-left: 0; }
/* The doubts about a batch run's verdicts, and the review pack. */
.batch-review { margin: 1rem 0 1.4rem; padding: 14px 16px; border: 1px solid #e7c98a; background: #fffaf0; border-radius: 8px; }
.batch-review h2 { margin-top: 0; }
.batch-doubts { margin: .4rem 0 .8rem; padding-left: 1.2rem; }
.batch-doubts li { margin: .25rem 0; }

/* Landing: the law library and the rulebook, one paragraph each, side by side */
.lib-rule { display: grid; gap: 24px; }
@media (min-width: 860px) { .lib-rule { grid-template-columns: 1fr 1fr; gap: 40px; } }
.lib-rule h2 { margin: 0 0 10px; }
.lib-rule p { margin: 0; line-height: 1.6; color: var(--ink-2); }
#law-line a { white-space: nowrap; }

/* While the run is followed, a judged row's verdict stays pinned under the bar as long as part of the row is in view */
body:has(#check-activity.scanning) .crow:not(.running):not(.pending) .verdict-cell > .pill:first-child { position: sticky; top: var(--follow-top, 0px); z-index: 1; box-shadow: 0 0 0 4px #fff, 0 2px 8px rgba(20, 33, 61, .18); }

/* Batch tables: Datadroit's false-fail rate at review, and its change from the run reviewed before */
.err-rate { white-space: nowrap; }
.err-none { color: var(--muted); }
.err-trend { font-size: 13px; }
.err-down .err-trend { color: var(--pass); }
.err-up .err-trend { color: var(--fail); }
.err-kinds { display: block; font-size: 12px; color: var(--muted); white-space: normal; }

/* Datadroit's assistant (check page): what the observation faces, and the next step. */
.assist { margin: 12px 0; padding: 14px 16px; border: 1.5px solid var(--gold, #c8962c); border-left-width: 5px; border-radius: 8px; background: #fffaf0; display: grid; gap: 8px; }
.assist p { margin: 0; line-height: 1.5; }
.assist.is-wait { background: #fdf6e3; border-color: #b07d12; }
.as-kicker { font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #7a5200; }
.as-steps { margin: 2px 0 0; padding-left: 22px; display: grid; gap: 4px; }
.as-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.as-detail { margin-top: 8px; font-size: .9em; }
/* The observed visit's five steps, and the question before each further page, in the panel. */
.tn-steps { margin: 4px 0 12px; padding-left: 20px; font-size: 13px; color: var(--muted, #5a6270); display: grid; gap: 2px; }
.tn-steps li.is-done { color: #1f8a4c; }
.tn-steps li.is-done::marker { content: "✓ "; }
.tn-steps li.is-now { color: var(--navy); font-weight: 700; }
.tn-ask { display: grid; gap: 6px; justify-items: start; margin: 4px 0 10px; }
.tn-ask .tn-open { margin-top: 0; }
.tn-ask[hidden], .tn-steps[hidden], .tn-strong:empty { display: none; }
.tn-ask-note { margin: 2px 0 0; font-size: .9em; font-weight: 600; }
.tn-ask-note[hidden] { display: none; }
/* The organisation's rulebook: what is applied on this computer, and the choices of each interpretation option. */
.rb-current { margin: 12px 0; }
.rb-import.is-active { border-left: 4px solid var(--navy); }
.rb-own-name { font-weight: 700; }
.rb-choices { margin: 0; padding-left: 1.1em; }
.rb-choices li { margin: 2px 0; }
.rb-settings .rb-params + .rb-params { margin-top: 18px; }
/* PRO on the scan server: the organisation's rulebook card on the check and rulebook pages. */
.pro-rb { margin: 12px 0; border: 1px solid #e6d7a8; border-radius: 10px; padding: 12px 14px; background: #fffbef; }
.pro-rb-head { margin: 0 0 6px; }
.pro-rb-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.pro-rb ul { margin: 6px 0 0; padding-left: 1.1em; }
/* The check plan under an organisation's rulebook: the checks it switches off. */
.fa-fn.is-rb-off .fa-name { text-decoration: line-through; color: var(--ink-2); }
.fa-rb-off { display: block; font-size: 13px; color: #8a5a00; }
.fa-rulebook { background: #fff8e6; border-left: 3px solid var(--gold); padding: 8px 12px; }
/* The non-binding notice before the first check from a page (OJ, 15 Nov 2026). */
.nb-dialog { max-width: min(560px, 92vw); border: 0; border-radius: 8px; padding: 22px 24px 18px; box-shadow: 0 10px 40px rgba(6, 14, 26, .35); }
.nb-dialog::backdrop { background: rgba(6, 14, 26, .55); }
.nb-dialog h2 { margin: 0 0 10px; font-size: 21px; }
.nb-dialog p { margin: 0 0 10px; line-height: 1.5; }
.nb-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
/* The landing title's link to "Privacy law simplified" (OJ, 17 Nov 2026): the words underlined, the title's colour kept. */
.check-title .title-link { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.check-title .title-link:hover, .check-title .title-link:focus-visible { color: var(--navy); text-decoration-color: var(--navy); }
