:root { color-scheme: light; --paper: #f7f8f5; --ink: #202d29; --muted: #58645d; --green: #235c43; --line: #d9dfd8; --mono: ui-monospace, SFMono-Regular, Consolas, monospace; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--green); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #9c5b13; outline-offset: 5px; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 10; background: white; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.masthead, main, footer { max-width: 1320px; margin-inline: auto; padding-inline: 64px; }
.masthead { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { color: var(--ink); font-size: 15px; font-weight: 650; text-decoration: none; display: flex; align-items: center; gap: 14px; }
.mark { font: 500 18px var(--mono); background: var(--green); color: white; padding: 9px 8px; border-radius: 4px; }
.publisher { font-size: 13px; color: var(--muted); text-decoration: none; }
.hero { padding: 76px 0 0; }
.eyebrow, .nav-label { font: 500 11px/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.draft-tag { color: var(--green); border: 1px solid #b9cbbb; background: #edf2e9; border-radius: 3px; padding: 3px 7px; margin-left: 7px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6.5vw, 86px); font-weight: 400; line-height: 1.04; letter-spacing: -.045em; margin: 26px 0; }
.title-period { color: #428861; }
.lede { font-size: 20px; line-height: 1.55; max-width: 560px; color: var(--muted); margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; gap: 30px; padding: 12px 17px; border: 1px solid #bdc9bd; border-radius: 4px; text-decoration: none; font-size: 13px; font-weight: 600; }
.button.primary { background: var(--green); color: #fff; border-color: var(--green); }
.button:hover { box-shadow: 0 1px 4px #203a2925; }
.metadata { display: grid; grid-template-columns: .7fr 1.1fr 1fr 1fr; gap: 24px; border-block: 1px solid var(--line); margin: 52px 0 0; padding: 22px 0; }
.metadata dt { font: 11px var(--mono); color: var(--muted); margin-bottom: 9px; text-transform: uppercase; letter-spacing: .06em; }
.metadata dd { margin: 0; font-size: 13px; }
.metadata a { color: inherit; }
.draft-notice { margin-block: 26px 50px; padding: 18px 23px; border-left: 3px solid #aeb99b; background: #eef1e8; font-size: 13px; color: #465240; }
.draft-notice p { margin: 4px 0 0; max-width: 950px; }
.document-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 70px; align-items: start; }
.contents { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 0 12px 12px 0; font-size: 12px; }
.contents .nav-label { margin: 0 0 15px; }
.contents ol { margin: 0; padding-left: 24px; }
.contents li { padding: 5px 0 5px 3px; color: #778177; }
.contents a { color: var(--muted); text-decoration: none; }
.contents a:hover { color: var(--green); text-decoration: underline; }
.appendix-links, .download-links { display: grid; gap: 8px; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
.download-links .nav-label { margin-bottom: 2px; }
.specification { min-width: 0; padding-bottom: 64px; }
.specification h2 { font: 400 32px/1.25 Georgia, "Times New Roman", serif; letter-spacing: -.025em; margin: 56px 0 22px; padding-top: 30px; border-top: 1px solid var(--line); }
.specification h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.specification h3 { font-size: 17px; margin: 30px 0 12px; }
.specification p { margin: 0 0 18px; }
.specification li { padding-left: 4px; margin-bottom: 10px; }
.specification strong { font-weight: 650; }
.specification code { font-family: var(--mono); font-size: .81em; background: #e9eee6; padding: 2px 4px; border-radius: 3px; overflow-wrap: anywhere; }
.specification pre { overflow-x: auto; border: 1px solid #d4ded2; border-radius: 5px; padding: 24px; background: #edf1e9; font-size: 14px; line-height: 1.7; margin: 22px 0 28px; }
.specification pre code { background: transparent; padding: 0; font-size: .86em; overflow-wrap: normal; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 22px 0 28px; border: 1px solid var(--line); border-radius: 4px; }
table { border-collapse: collapse; width: 100%; font-size: 13px; line-height: 1.6; }
th { text-align: left; background: #eaf0e6; font-size: 11px; text-transform: uppercase; letter-spacing: .045em; font-weight: 600; }
td, th { padding: 13px 15px; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 70px; }
td:last-child { min-width: 260px; }
tr:last-child td { border-bottom: none; }
td code { white-space: normal; }
blockquote { border-left: 3px solid var(--line); padding-left: 20px; color: var(--muted); margin-left: 0; }
footer { border-top: 1px solid var(--line); padding-block: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12px; }
footer p { margin: 0; }
footer span { color: var(--muted); }
.back-top { margin-left: 24px; }
@media (max-width: 1050px) { .masthead, main, footer { padding-inline: 32px; } .document-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 35px; } }
@media (max-width: 760px) {
  .masthead, main, footer { padding-inline: 22px; }
  .masthead { min-height: 88px; flex-wrap: wrap; align-content: center; gap: 8px 22px; padding-block: 16px; }
  .wordmark { font-size: 13px; gap: 10px; } .publisher { font-size: 11px; }
  .mark { font-size: 15px; padding: 5px 6px; }
  .hero { padding-top: 45px; } .lede { font-size: 18px; }
  .metadata { grid-template-columns: 1fr 1fr; gap: 22px 16px; margin-top: 34px; }
  .document-layout { display: block; }
  .contents { position: static; max-height: none; margin-bottom: 42px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
  .contents ol { columns: 2; column-gap: 24px; }
  .contents li { break-inside: avoid; }
  .appendix-links, .download-links { gap: 10px; }
  .draft-notice { margin-bottom: 32px; padding: 16px; }
  .specification h2 { font-size: 28px; }
  .specification { font-size: 15px; }
  .specification pre { padding: 16px; }
  .button { font-size: 12px; gap: 16px; }
  .eyebrow { font-size: 10px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: white; color: black; font-size: 10pt; }
  .masthead, main, footer { max-width: none; padding: 0; }
  .hero { padding-top: 12px; } h1 { font-size: 36pt; }
  .contents, .hero-actions, .skip-link, .back-top { display: none; }
  .document-layout { display: block; }
  .specification pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  .table-scroll { overflow: visible; } td:last-child { min-width: 0; }
  .specification h2, .specification h3 { break-after: avoid; }
  a { color: inherit; } footer { display: block; }
}

/* Shared editorial system; each property retains its own accent. */
body[data-site="index"] { --green: #254fa0; --ink: #202b3e; --muted: #536178; --paper: #f6f8fc; --line: #d8dfea; }
body[data-site="verify"] { --green: #285b51; --ink: #243a34; --paper: #f7f9f6; }
.site-header { max-width: 1440px; padding: 22px 36px; margin: auto; display: flex; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 3; }
.site-header nav { display: flex; gap: 19px; flex-wrap: wrap; margin-left: auto; font-size: 12px; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; }
.header-cta { padding: 8px 12px; font-size: 11px; white-space: nowrap; }
.preview-banner { background: #eaf0e6; color: #465240; text-align: center; padding: 12px 32px; font: 12px/1.6 var(--mono); border-bottom: 1px solid var(--line); }
body[data-site="index"] .preview-banner { background: #e8edf7; color: #344f76; }
.page-hero { padding: 58px 0 34px; }
.page-hero h1 { max-width: 970px; font-size: clamp(42px, 5.5vw, 76px); line-height: 1.09; }
.page-hero .lede { max-width: 820px; margin-bottom: 0; }
.page-content { padding-bottom: 70px; min-width: 0; }
.page-content > p, .page-content > ul, .page-content > ol { max-width: 900px; }
.page-content h2 { font: 400 32px/1.25 Georgia, serif; letter-spacing: -.025em; margin-top: 45px; margin-bottom: 18px; }
.page-content h3 { font-size: 18px; margin: 0 0 12px; }
.page-content p { margin-top: 0; }
.page-content li { margin-bottom: 9px; }
.page-content code { font: .82em/1.6 var(--mono); background: #e9eee6; border-radius: 3px; padding: 2px 4px; overflow-wrap: anywhere; }
body[data-site="index"] .page-content code { background: #e9edf5; }
.page-content pre { max-width: 100%; overflow: auto; padding: 24px; background: #edf1e9; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; }
.page-content pre code { background: none; padding: 0; overflow-wrap: normal; }
.page-content .document-layout { margin-top: 32px; }
.contents { display: grid; gap: 9px; top: 108px; max-height: calc(100vh - 125px); }
.card-grid { display: grid; gap: 16px; margin: 26px 0; }
.card-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.card-grid.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.feature-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 6px; min-width: 0; }
.feature-card p { font-size: 14px; margin: 16px 0 0; }
.feature-card h3 { margin-top: 12px; font-size: 17px; overflow-wrap: anywhere; }
.pill { display: inline-block; font: 11px/1.5 var(--mono); padding: 5px 9px; border: 1px solid #b5cbbb; border-radius: 4px; color: #245a3f; background: #edf4ed; }
.level-1 { border-color: #b6bec7; color: #4d5968; background: #eef0f3; }
.level-2 { border-color: #b5c8de; color: #335577; background: #ecf1f7; }
.level-0 { border-color: #d8b5ac; color: #843c2c; background: #f7eae6; }
.proposed { color: #755522; border-color: #d8c59c; background: #f7f0e2; }
.distinction, .suspension { padding: 22px; margin-block: 24px; border-left: 3px solid #a9b8a4; background: #eaf0e6; font-size: 14px; }
.suspension { border-color: #a95e4c; background: #f8ebe7; }
.distinction p { margin: 8px 0 0; }
.search-panel { background: #fff; padding: 30px; border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 6px 20px #243a5010; }
.search-panel h2 { margin-top: 0; font-size: 23px; }
fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1.5fr 1.2fr 1fr 1fr; gap: 18px; }
label { display: grid; gap: 7px; font-size: 12px; font-weight: 600; }
label.wide { grid-column: 1 / -1; }
input, select, textarea, button { font: inherit; }
input:not([type="checkbox"]), select, textarea { background: #fff; border: 1px solid #aebaca; border-radius: 4px; padding: 11px 12px; width: 100%; min-width: 0; color: var(--ink); }
select { font-size: 12px; }
textarea { display: block; margin: 12px 0 18px; font: 12px/1.6 var(--mono); resize: vertical; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; }
.checkbox, .checklist label { display: flex; flex-direction: row; align-items: center; gap: 10px; font-weight: 400; }
input[type="checkbox"] { accent-color: var(--green); width: 17px; height: 17px; flex-shrink: 0; }
.helper { font-size: 11px; line-height: 1.5; color: var(--muted); font-weight: 400; }
#interaction-status { margin: 18px 0 0; }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 35px; }
.results-heading h2 { font: 600 17px system-ui,sans-serif; margin: 0 0 12px; }
.sample-label { font: 10px/1.7 var(--mono); text-transform: uppercase; letter-spacing: .03em; color: #75602a; }
.result-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px 30px; margin-top: 16px; }
.result-top { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.result-top h3 { margin: 0 0 3px; font-size: 22px; }
.result-top h3 a { color: var(--ink); text-decoration: none; }
.result-card p { font-size: 14px; }
.result-card .status-line { margin-top: 14px; font-size: 11px; color: var(--muted); }
.result-stats { display: flex; flex-wrap: wrap; gap: 10px 25px; border-top: 1px solid var(--line); padding-top: 14px; font: 11px/1.6 var(--mono); color: var(--muted); }
.result-card .why-ranked { font-size: 11px; margin: 13px 0; color: var(--muted); }
.text-link { font-size: 12px; font-weight: 600; }
.empty-state { padding: 40px; border: 1px dashed var(--line); border-radius: 6px; }
.empty-state h2 { margin-top: 0; }
details { margin: 26px 0; border: 1px solid var(--line); padding: 16px 22px; border-radius: 5px; }
summary { cursor: pointer; font-weight: 600; font-size: 14px; }
details[open] summary { margin-bottom: 18px; }
.checklist { display: grid; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 5px; margin: 24px 0; }
.preflight { padding: 26px; border: 1px solid var(--line); background: #fff; border-radius: 6px; margin-top: 35px; }
.preflight h2 { margin-top: 0; }
#preflight-result { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }
.mini-search { display: grid; grid-template-columns: 1fr auto; gap: 12px; max-width: 700px; }
.mini-search label { grid-column: 1/-1; }
.site-footer { padding: 38px 64px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; font-size: 12px; }
.site-footer nav, .ecosystem-links { display: flex; flex-direction: column; gap: 8px; }
.site-footer p { margin-bottom: 12px; }
.footer-brand { font-weight: 700; font-size: 15px; }
.footer-fine { grid-column: 1/-1; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); }
html { scroll-padding-top: 120px; }
@media(max-width:1200px) { .site-header { flex-wrap: wrap; gap: 15px; padding-inline: 28px; } .site-header nav { order: 3; width: 100%; } .header-cta { margin-left: auto; } .form-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:760px) { .site-header { position: static; padding: 18px 22px; } .site-header nav { gap: 11px 19px; font-size: 11px; } .preview-banner { padding: 12px 22px; font-size: 10px; text-align: left; } .page-hero { padding-top: 36px; } .card-grid.three,.card-grid.four { grid-template-columns: 1fr; } .feature-card { padding: 21px; } .form-grid { grid-template-columns: 1fr; } .search-panel,.result-card,.preflight { padding: 20px; } .form-actions,.result-top,.results-heading { align-items: start; flex-direction: column; gap: 12px; } .results-heading { margin-bottom: 12px; } .page-content h2 { font-size: 28px; } .mini-search { grid-template-columns: 1fr; } .site-footer { padding: 28px 22px; grid-template-columns: 1fr; } .contents { display: flex; flex-wrap: wrap; gap: 12px; } .page-content .specification h2:first-child { margin-top: 0; } html { scroll-padding-top: 22px; } }
@media print { .site-header { position: static; } .site-header nav,.header-cta,script,form { display: none; } .page-content pre { white-space: pre-wrap; overflow-wrap: anywhere; } .page-content { padding-bottom: 0; } .feature-card,.result-card { break-inside: avoid; } .card-grid.four,.card-grid.three { grid-template-columns: 1fr 1fr; } .preview-banner { border: 1px solid #999; } }
