/* PropPassCheck content pages: same rule-sheet palette and type as the test centre. */
:root {
  --paper: #EDF1F4; --panel: #FFFFFF; --ink: #132029; --muted: #566773; --line: #D2DBE2; --soft: #E4EBF0;
  --accent: #0B5A7A; --accent-ink: #FFFFFF; --pass: #1B7646; --warn: #A86E12; --fail: #B32F2F;
  --display: 'Archivo Narrow', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root {
  --paper: #0D151B; --panel: #14202A; --ink: #E3EBF0; --muted: #93A3AF; --line: #273744; --soft: #1B2A35;
  --accent: #56B6DA; --accent-ink: #062030; --pass: #4CC58A; --warn: #E1A944; --fail: #EE6B6B; color-scheme: dark } }

* { box-sizing: border-box }
[hidden] { display: none !important }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body) }
a { color: var(--accent) }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }

.top { border-bottom: 1px solid var(--line); background: var(--panel) }
.top-row { padding-block: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px }
.brand { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); text-decoration: none }
.brand span { color: var(--accent) }
.brand { white-space: nowrap }
.brand .mark { display: inline-block; width: .95em; height: .95em; margin-right: .3em; vertical-align: -.13em }
.brand .mark rect { fill: var(--accent) }
.brand .mark path { fill: none; stroke: var(--accent-ink); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round }
.install { border: 1px solid var(--accent); background: transparent; color: var(--accent); border-radius: 999px; padding: 5px 12px; font: 600 13px var(--body); cursor: pointer; white-space: nowrap }
.install:hover { background: var(--accent); color: var(--accent-ink) }
.install-hint { margin: 0; padding: 10px 14px; background: var(--soft); border-bottom: 1px solid var(--line); font-size: 14px; text-align: center }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink) }
.top nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px }

.content { padding-block: 28px 48px; display: flex; flex-direction: column; gap: 14px }
.content > p, .content > ul, .content > h2, .content > h3, .content > .lede { max-width: 72ch }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; margin: 0 }
h1 { font-size: clamp(32px, 5vw, 46px) }
h2 { font-size: 26px; margin-top: 18px }
h3 { font-size: 20px; margin-top: 6px }
p { margin: 0 }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent) }
.eyebrow a { text-decoration: none }
.lede { font-size: 18px; color: var(--muted) }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .03em; text-transform: uppercase; padding: 11px 18px; border-radius: 6px }
.btn:hover { filter: brightness(1.08) }
ul { padding-left: 20px; margin: 0; display: grid; gap: 6px }
.topics { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: none }
.topics a { display: inline-block; border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 6px 14px; text-decoration: none; font-weight: 500 }

.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--panel) }
table.rules { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums }
table.rules th, table.rules td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap }
table.rules thead th { font-size: 12px; color: var(--muted); font-weight: 600; background: var(--soft); position: sticky; top: 0 }
table.rules tbody tr:last-child > * { border-bottom: 0 }
table.rules tbody th { font-weight: 600 }
.firmcell { display: flex; align-items: center; gap: 10px }
.firmcell a { font-weight: 600; color: var(--ink) }

.logo { border-radius: 6px; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: none }
.logo.mono { display: inline-grid; place-items: center; background: var(--soft); color: var(--ink); font: 700 12px var(--mono); letter-spacing: .02em; position: relative; overflow: hidden }
.logo.mono img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 3px }
.firmhead { display: flex; gap: 18px; align-items: flex-start }
.firmhead .logo.mono { font-size: 18px }
.firmhead > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; max-width: 72ch }
.badge { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 3px; padding: 1px 6px; vertical-align: middle }
.badge.caution { color: var(--warn) } .badge.avoid { color: var(--fail) }
.callout { border-left: 4px solid; padding: 10px 14px; background: var(--panel); border-radius: 4px }
.callout.caution { border-color: var(--warn) } .callout.avoid { border-color: var(--fail) }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 24px; margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 16px }
.facts dt { font-size: 12px; color: var(--muted); font-weight: 600 }
.facts dd { margin: 2px 0 0; overflow-wrap: anywhere }
.facts.small dd { font-size: 14.5px }
.acct { display: flex; flex-direction: column; gap: 8px }
.email { font-size: 18px }
.nowrap { white-space: nowrap }

.site-foot { border-top: 1px solid var(--line); background: var(--panel); font-size: 13.5px; color: var(--muted) }
.site-foot .wrap { padding-block: 22px 36px; display: flex; flex-direction: column; gap: 10px }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px }
.site-foot nav a { color: var(--ink); text-decoration: none; font-weight: 500 }
.site-foot p { max-width: 90ch; margin: 0 }

@media (max-width: 600px) {
  .top nav { margin-left: 0; width: 100% }
  .firmhead { flex-direction: column }
}
.guide-list { list-style: none; padding: 0; display: grid; gap: 12px; max-width: 72ch }
.guide-list li { border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 14px 16px }
.guide-list a { font-weight: 600; font-size: 18px; text-decoration: none }
.guide-list p { margin: 6px 0 0; color: var(--muted) }
.guide-meta { font-family: var(--mono); font-size: 13px; color: var(--muted) }
.content table.mini { border-collapse: collapse; margin: 8px 0 18px; font-size: 15px; max-width: 100%; display: block; overflow-x: auto }
.content table.mini th, .content table.mini td { border: 1px solid var(--line); padding: 7px 12px; text-align: left }
@media (max-width: 520px) { .content table.mini { font-size: 14px } .content table.mini th, .content table.mini td { padding: 6px 8px } }
.content table.mini th { background: var(--panel); font-weight: 600 }
.content > ol { max-width: 72ch }
.note { font-size: 14px; color: var(--muted) }
.summary { max-width: 72ch; border-left: 3px solid var(--accent); padding: 2px 0 2px 16px; margin: 18px 0 }
.summary p { margin: 0 0 10px }
