/* /number-plates/ pages. Values are tokens from shared/css/tokens.css; literals are layout measures. */

@font-face{font-family:'UK-VRM';src:url('/fonts/uk-vrm.woff2') format('woff2');font-display:swap}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:400 var(--text-body)/var(--text-body--line-height) Jost,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--color-ink);background:var(--color-page)}
a{color:var(--color-brand-hover);text-underline-offset:2px}
a:focus-visible{outline:var(--focus-ring);outline-offset:var(--focus-ring-offset)}
h1,h2,h3,p,ul,ol,dl,dd{margin:0}
ul,ol{padding:0;list-style:none}
.skip{position:absolute;left:-999px;top:8px;background:var(--color-surface);padding:8px 12px;border-radius:var(--radius-row);z-index:99}
.skip:focus{left:8px}
.wrap{max-width:1244px;margin:0 auto;padding:0 16px}
@media(min-width:768px){.wrap{padding:0 24px}}
@media(min-width:1024px){.wrap{padding:0 32px}}

/* Plain links until tools-loader.js builds the app header into #mw-header. */
#mw-first-html-nav{display:flex;gap:0 18px;min-width:0;overflow-x:auto;scrollbar-width:none;font-size:var(--text-compact)}
#mw-first-html-nav::-webkit-scrollbar{display:none}
#mw-first-html-nav a{color:var(--color-ink);text-decoration:none;min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}

main{padding:0 0 64px}
.crumbs{font-size:var(--text-compact);line-height:var(--text-compact--line-height);color:var(--color-muted);padding:10px 0 4px}
.crumbs ol{display:flex;flex-wrap:wrap;gap:0 8px}
.crumbs li{display:inline-flex;align-items:center;min-height:32px}
.crumbs li+li::before{content:"/";margin-right:8px;color:var(--color-faint)}
.crumbs a{color:var(--color-muted);text-decoration:none}
.crumbs a:hover{color:var(--color-ink);text-decoration:underline}
.crumbs [aria-current]{color:var(--color-ink);font-weight:600}

.vrm{font-family:'UK-VRM',monospace;letter-spacing:.04em;color:var(--color-plate-text);white-space:nowrap}
a.vrm{color:var(--color-brand-hover)}

.intro{padding:20px 0 8px;max-width:52rem}
.intro h1{font-size:var(--text-display);line-height:var(--text-display--line-height);letter-spacing:var(--text-display--letter-spacing);font-weight:var(--text-display--font-weight)}
.lede{margin-top:12px;font-size:var(--text-prose);line-height:var(--text-prose--line-height);color:var(--color-ink)}
.lede .vrm{font-size:1.05em}
.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 28px;margin-top:24px}
@media(min-width:760px){.facts{grid-template-columns:repeat(5,max-content)}}
.facts dt{font-size:var(--text-body-sm);line-height:1.35;color:var(--color-muted)}
.facts dd{margin-top:2px;font-weight:600;font-variant-numeric:tabular-nums}

/* tool-scaffold.css pads body for the tools' bottom nav, which these pages do not have. */
body.mw-foundations{padding-bottom:0}
#plate-decoder-embed{margin-top:16px}
.decode{margin:16px 0 0;font-weight:600}

.sec{padding:32px 0 0;max-width:60rem}
.sec h2{font-size:var(--text-h2);line-height:var(--text-h2--line-height);letter-spacing:var(--text-h2--letter-spacing);font-weight:var(--text-h2--font-weight)}
.sec h3{margin:24px 0 8px;font-size:var(--text-card-title);line-height:1;font-weight:700}
.sec-lead{margin:8px 0 0;font-size:var(--text-compact);line-height:var(--text-compact--line-height);color:var(--color-muted);max-width:46rem}
.sec>.tblwrap,.sec>ul,.sec>.prose{margin-top:16px}
.note{color:var(--color-muted)}
.prose{max-width:46rem}
.mo{color:var(--color-muted);font-size:var(--text-body-sm)}

.tblwrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
table.tbl{width:100%;border-collapse:collapse;font-size:var(--text-body-sm);line-height:var(--text-body-sm--line-height);font-variant-numeric:tabular-nums}
.tbl th,.tbl td{text-align:left;padding:10px 12px;vertical-align:baseline}
.tbl thead th{background:var(--color-row);font-weight:600;padding:8px 12px;white-space:nowrap}
.tbl thead th:first-child{border-radius:var(--radius-row) 0 0 var(--radius-row)}
.tbl thead th:last-child{border-radius:0 var(--radius-row) var(--radius-row) 0}
.tbl tbody tr+tr>*{border-top:1px solid var(--color-row-border)}
.tbl tbody th{font-weight:400;white-space:nowrap}
.tbl .vrm{font-size:1.1em}

.jump{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:16px}
.jump a{display:inline-flex;align-items:center;min-height:32px;font-weight:600}
.codes{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 24px}
.codes a{display:flex;gap:10px;align-items:baseline;min-height:36px;padding:6px 0;color:var(--color-ink);text-decoration:none}
.codes a:hover{color:var(--color-brand-hover);text-decoration:underline}
.codes .vrm{flex:none;min-width:2.4em}
.councils{columns:240px;column-gap:28px}
.councils li{break-inside:avoid;padding:6px 0}
.years{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:2px 16px}
.years li{padding:6px 0}
.more{display:grid;gap:8px}
.more li{max-width:52rem}

@media print{#mw-header,#mw-footer,.skip,.decode{display:none!important}body{background:var(--color-surface)}}
