@font-face { font-family: Inter; src: url("/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root { font-family: Inter, system-ui, sans-serif; color: hsl(var(--ink)); background: hsl(var(--surface)); color-scheme: light; line-height: 1.5; }
:root.dark { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; }
.brand img { display: block; width: 36px; height: 36px; flex: 0 0 36px; }
/* Shared public top bar (standards 01, "Pages before sign-in"): a rounded bar that floats and stays at the top, 56 px. */
.topbar { position: sticky; top: 8px; z-index: 5; margin: 8px 16px 0; }
.bar { position: relative; min-height: 56px; padding: 0 16px; display: flex; align-items: center; gap: 16px; background: hsl(var(--surface)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); }
.brand { display: flex; align-items: center; gap: 8px; margin-right: 8px; color: inherit; text-decoration: none; }
.brand strong { color: hsl(var(--brand-text)); }
.links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 auto 0 0; padding: 0; }
.links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius); color: hsl(var(--ink)); text-decoration: none; font-size: 14px; }
.links a:hover { background: hsl(var(--brand-tint)); }
.links a[aria-current="page"] { color: hsl(var(--brand-text)); background: hsl(var(--brand-tint)); }
.bar #preview { color: hsl(var(--muted)); font-size: 14px; }
.bar button.ghost, .bar button.icon-button { margin: 0; background: transparent; color: hsl(var(--ink)); border-color: hsl(var(--border)); display: inline-flex; align-items: center; gap: 8px; }
.bar button.ghost:hover, .bar button.icon-button:hover { background: hsl(var(--brand-tint)); }
.bar .icon-button { min-width: 44px; justify-content: center; padding: 8px; }
.bar a.button { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#pathways { scroll-margin-top: 88px; }
@media (max-width: 767px) {
  .bar #preview { display: none; }
  .bar { gap: 8px; padding: 0 8px 0 12px; }
  .brand { margin-right: auto; }
  .brand strong { display: none; }
  .js .links { display: none; position: absolute; left: -1px; right: -1px; top: 60px; flex-direction: column; align-items: stretch; margin: 0; padding: 8px; background: hsl(var(--surface)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); box-shadow: 0 8px 24px hsl(var(--ink) / .12); }
  .js .links.open { display: flex; }
  .js .links a { width: 100%; }
}
@media (min-width: 768px) { #menu-toggle { display: none; } }
.site-footer { max-width: 1080px; margin: 0 auto; padding: 32px 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; border-top: 1px solid hsl(var(--border)); color: hsl(var(--muted)); font-size: 14px; }
.site-footer p { margin: 0; }
.site-footer #footer { flex: 1 1 100%; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: hsl(var(--brand-text)); }
main { max-width: 1080px; margin: 48px auto; padding: 0 24px; }
h1 { font-size: 32px; max-width: 760px; line-height: 1.25; font-weight: 600; }
h2 { font-size: 24px; margin-top: 40px; font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
.eyebrow { letter-spacing: .08em; font-size: 12px; color: hsl(var(--muted)); }
aside { border-left: 4px solid hsl(var(--warning)); background: hsl(var(--panel)); padding: 16px; margin: 32px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
article { min-width: 0; padding: 24px; background: hsl(var(--panel)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); overflow-wrap: anywhere; }
label { display: block; margin: 16px 0 8px; }
select, textarea, button { font: inherit; }
select, textarea { padding: 8px; border: 1px solid hsl(var(--muted)); border-radius: var(--radius); background: hsl(var(--surface)); color: hsl(var(--ink)); max-width: 100%; }
select { min-height: 44px; }
input[type="text"], input[type="email"], input[type="number"] { font: inherit; min-height: 44px; padding: 8px; border: 1px solid hsl(var(--muted)); border-radius: var(--radius); background: hsl(var(--surface)); color: hsl(var(--ink)); max-width: 100%; }
#agreement input[type="text"], #agreement input[type="email"] { display: block; width: 100%; }
p.run-status { font-weight: 600; scroll-margin: 24px; }
p.run-status:empty { display: none; }
p.run-status:focus { outline: 3px solid hsl(var(--brand)); outline-offset: 3px; }
label.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin: 8px 0; cursor: pointer; }
label.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: hsl(var(--brand-fill)); }
a.doc-link { display: inline-flex; align-items: center; min-height: 44px; color: hsl(var(--brand-text)); }
textarea { width: 100%; min-height: 144px; font-family: monospace; }
button { background: hsl(var(--brand-fill)); color: white; border: 1px solid transparent; min-height: 44px; padding: 8px 16px; border-radius: var(--radius); cursor: pointer; margin: 8px 8px 8px 0; }
a.button { display: inline-flex; align-items: center; background: hsl(var(--brand-fill)); color: white; min-height: 44px; padding: 8px 16px; border-radius: var(--radius); text-decoration: none; }
a.button:focus-visible { outline: 3px solid hsl(var(--brand)); outline-offset: 3px; }
[hidden] { display: none !important; }
button:hover, a.button:hover { background: hsl(var(--brand-fill-hover)); }
button:disabled { cursor: wait; opacity: .65; }
button:active:not(:disabled), a.button:active { box-shadow: inset 0 3px 0 hsl(0 0% 0% / .3); }    /* pressed differs from hover, also by shape, not colour alone */
button:focus-visible, select:focus-visible, textarea:focus-visible, input:focus-visible { outline: 3px solid hsl(var(--brand)); outline-offset: 3px; }
#status { min-height: 24px; }
.job { padding: 16px; border-bottom: 1px solid hsl(var(--border)); overflow-wrap: anywhere; }
@media (max-width: 640px) { .topbar { margin: 8px 8px 0; } main { padding: 0 16px; margin: 32px auto; } article { padding: 16px; } }

.skip-link { position: absolute; top: 8px; left: 8px; transform: translateY(-200%); padding: 8px 16px; background: hsl(var(--surface)); color: hsl(var(--brand-text)); border: 2px solid hsl(var(--brand)); border-radius: var(--radius); z-index: 10; }
.skip-link:focus { transform: none; }
.danger-zone { margin-top: 24px; padding: 16px; border: 1px solid hsl(var(--danger)); border-radius: var(--radius); }
.danger-zone h3 { margin-top: 0; }
.danger-zone button { background: hsl(var(--surface)); color: hsl(var(--danger)); border-color: hsl(var(--danger)); }
.danger-zone button:hover { background: hsl(var(--panel)); }

summary { cursor: pointer; color: hsl(var(--brand-text)); padding: 8px 0; }
summary:focus-visible { outline: 3px solid hsl(var(--brand)); outline-offset: 3px; }
pre { padding: 16px; background: hsl(var(--panel)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }

.field-error { color: hsl(var(--danger)); font-size: 14px; }
#request-page:focus { outline: 3px solid hsl(var(--brand)); outline-offset: 3px; }
nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
#request-page-error:empty { display: none; }
[aria-invalid="true"] { border-color: hsl(var(--danger)); }
#language { display: inline-flex; align-items: center; gap: 8px; }
#language span { color: inherit; font-size: inherit; flex-basis: auto; order: 0; }
#language .globe { flex: 0 0 18px; }
#language-short { display: none; }
@media (max-width: 640px) { #language-long { display: none; } #language-short { display: inline; } }

.notice-strong { border-left: 4px solid hsl(var(--brand)); padding: 8px 12px; background: hsl(var(--panel)); font-weight: 600; }
#agreement select { display: block; width: 100%; }
#order-form-preview { margin: 8px 0 16px; }
#order-form-preview table { width: 100%; border-collapse: collapse; }
#order-form-preview th, #order-form-preview td { border: 1px solid hsl(var(--border)); padding: 8px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
#order-form-preview th { background: hsl(var(--panel)); }
#agreement-problems { color: hsl(var(--danger-text, var(--danger))); }
#agreement-problems ul { margin: 4px 0 12px; padding-left: 24px; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: hsl(var(--danger)); }      /* after the field rules, which have the higher specificity */
#agreement [aria-invalid="true"] { border-width: 2px; }
/* Windows high contrast and other forced-colour modes replace every colour, so the red border of an invalid field is lost: a dashed border keeps the cue. */
@media (forced-colors: active) { input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-style: dashed; } }
/* A tick box has no border to colour, so an invalid one gets an outline (red; dashed where forced colours replace the red). */
input[type="checkbox"][aria-invalid="true"] { outline: 2px solid hsl(var(--danger)); outline-offset: 2px; }
@media (forced-colors: active) { input[type="checkbox"][aria-invalid="true"] { outline-style: dashed; outline-width: 3px; } }

/* The acceptance form: groups with a legend each; two columns on a wide screen, one on a phone. */
#agreement fieldset { margin: 16px 0; padding: 12px 16px 16px; border: 1px solid hsl(var(--border)); border-radius: var(--radius); }
#agreement legend { padding: 0 8px; font-weight: 600; }
#agreement .form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 24px; }
#agreement .form-grid > p { margin: 0; }
#agreement .form-grid label { display: block; margin-bottom: 4px; }
#agreement .form-grid button { margin-right: 8px; }
@media (min-width: 48rem) {
  #agreement .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #agreement .form-grid > p.wide { grid-column: 1 / -1; }
}
#agreement .form-grid br { display: none; }      /* the label sits on its own box: no blank line between them */

/* A wide table in a legal text scrolls inside its own box on a phone; the page never scrolls sideways (seads-test, staging c99b485). */
.table-scroll { max-width: 100%; overflow-x: auto; }
.table-scroll:focus-visible { outline: 3px solid hsl(var(--brand)); outline-offset: 3px; }
.table-scroll table { border-collapse: collapse; }
.table-scroll th, .table-scroll td { border: 1px solid hsl(var(--border)); padding: 8px; text-align: left; vertical-align: top; }
