:root {
  --ink: #10233f;
  --muted: #4a6280;
  --paper: #f4f7fb;
  --header: #0b1f3a;
  --header-ink: #f4f7fb;
  --line: #c5d0de;
  --focus: #1b4f8a;
  --accent: #1b4f8a;
  --logo: 40px;
  --mark: 480px;
}
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
picture { display: block; max-width: 100%; }
html { color-scheme: light; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
.skip {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 8;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  padding: 8px 16px;
  text-decoration: none;
}
.skip:focus { transform: none; outline: 2px solid var(--focus); outline-offset: 2px; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(480px, calc(100% - 32px)); margin: 0 auto; }
header.site, footer.site { background: var(--header); color: var(--header-ink); }
header.site a, footer.site a { color: var(--header-ink); }
header.site { padding: 16px 0; }
footer.site { padding: 24px 0; font-size: 14px; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: flex; gap: 16px; align-items: center; text-decoration: none; font-weight: 650; letter-spacing: 0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: var(--logo); height: auto; aspect-ratio: 868 / 674; display: block; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.nav i, .footer-links i, .button i, button i { margin-right: 0.35em; font-style: normal; }
header.site i, footer.site i, .button i, button i { color: inherit; }
.nav a { text-decoration: none; border-bottom: 1px solid transparent; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; text-decoration: none; }
.lang { letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; border-bottom: 1px solid transparent; }
.footer-links a:hover { border-bottom-color: currentColor; text-decoration: none; }
main { padding: 48px 0 80px; }
h1, h2, h3 { font-weight: 650; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h1 { font-size: 40px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
p { margin: 0 0 16px; }
.kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lede { font-size: 20px; max-width: 40em; margin: 0 0 32px; }
.hint, .muted { color: var(--muted); }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 48px;
  align-items: start;
}
.side { position: sticky; top: 24px; border-top: 3px solid var(--accent); padding-top: 16px; }
.calls { display: grid; gap: 0; }
.call { border-top: 1px solid var(--line); padding: 24px 0; }
.card { margin: 0 0 32px; padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0; }
button, .button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--header);
  border-radius: 0;
  background: var(--header);
  color: var(--header-ink);
  font: inherit;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
button:hover, .button:hover { background: var(--accent); border-color: var(--accent); text-decoration: none; }
button:active, .button:active { background: var(--ink); border-color: var(--ink); }
button.secondary, .button.secondary { background: transparent; color: var(--header); }
button.secondary:hover, .button.secondary:hover { background: var(--header); color: var(--header-ink); }
button.warn { background: transparent; color: var(--header); border-width: 2px; }
button.warn:hover { background: var(--header); color: var(--header-ink); }
button:disabled, .button:disabled { opacity: 0.45; cursor: not-allowed; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
header.site a:focus-visible, footer.site a:focus-visible { outline-color: var(--paper); }
form p { margin: 0 0 16px; }
fieldset { border: 0; border-top: 1px solid var(--line); margin: 0 0 32px; padding: 24px 0 0; }
legend { padding: 0; font-size: 12px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.field-wide { grid-column: 1 / -1; }
.field { position: relative; margin: 0; }
label { display: block; margin: 0 0 8px; font-weight: 650; }
label.check { display: flex; align-items: flex-start; gap: 8px; font-weight: 450; }
.req { margin-left: 4px; }
input, select, textarea {
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  font: inherit;
  color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
input[type="checkbox"] { width: 16px; height: 16px; min-height: 16px; margin: 2px 0 0; padding: 0; accent-color: var(--accent); }
input[type="color"] { width: 48px; min-width: 48px; padding: 4px; }
.errors, .errorlist { margin: 8px 0 0; padding: 0; color: var(--ink); font-size: 14px; font-weight: 650; }
.errorlist { list-style: none; }
.suggest {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid var(--line);
  max-height: 240px;
  overflow: auto;
}
.suggest button {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.suggest button:hover, .suggest button:focus-visible { background: var(--header); color: var(--header-ink); }
table { width: 100%; border-collapse: collapse; }
caption { text-align: left; caption-side: top; padding: 0 0 8px; font-size: 12px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
th, td { text-align: left; padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
tbody tr:hover { background: #fff; }
.frame { position: relative; aspect-ratio: 3 / 2; background: color-mix(in srgb, var(--header) 8%, var(--paper)); overflow: hidden; }
.frame-print { aspect-ratio: 4 / 3; }
.frame-square { aspect-ratio: 1; }
.frame-line { aspect-ratio: 4 / 3; background: transparent; }
.frame-slim { max-width: 320px; margin-bottom: 24px; }
.frame img { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; object-fit: contain; }
.mark-hero { margin: 0 0 32px; width: 100%; max-width: var(--mark); }
.mark-hero picture, .mark-hero img { width: 100%; max-width: 100%; height: auto; }
.mark-hero img { aspect-ratio: 868 / 674; display: block; }
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(256px, 1fr)); gap: 24px; margin: 0 0 32px; padding: 0; list-style: none; }
.paths figure { margin: 0; }
.paths figcaption { margin-top: 8px; }
.paths figcaption strong, .path-title { display: block; font-weight: 650; }
.paths figcaption .hint, .path .hint { display: block; margin-top: 4px; }
.path { display: block; color: inherit; text-decoration: none; }
.path:hover { text-decoration: none; }
.path:hover .path-title { text-decoration: underline; }
.steps, .help ol.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 32px; padding: 0; list-style: none; }
.steps figure { margin: 0; }
.steps img { width: 100%; height: auto; aspect-ratio: 4 / 3; display: block; }
.steps figcaption { margin-top: 8px; font-weight: 650; }
.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 16px;
  background: color-mix(in srgb, var(--accent) 12%, var(--paper));
  color: var(--accent);
  font-size: 40px;
  border-top: 3px solid var(--accent);
}
.steps .step-icon { margin-bottom: 0; font-size: 48px; }
.step-icon i { font-style: normal; }
.step-slim { max-width: 320px; }
.theme-color { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.theme-color label { grid-column: 1 / -1; }
.theme-preview { margin: 0 0 24px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.theme-preview-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--header); color: var(--header-ink); font-weight: 650; }
.theme-preview-bar i { color: inherit; font-style: normal; }
.theme-preview p { margin: 0; padding: 12px 16px; color: var(--accent); }
.plate { margin: 24px 0 0; }
.plate figcaption { margin-top: 8px; }
.qr { width: 160px; max-width: 160px; height: 160px; aspect-ratio: 1; display: block; }
.facts { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; margin: 24px 0; }
.facts dt { margin: 0; font-size: 12px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
.facts dd { margin: 0; }
.status {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 8px;
  border: 1px solid var(--header);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-locked, .status-withdrawn, .status-deleted { background: var(--header); color: var(--header-ink); }
.notice { border-top: 1px solid var(--accent); margin: 0 0 24px; padding: 16px 0; font-weight: 650; }
.notices { list-style: none; margin: 0; padding: 0; }
.pager { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 24px; }
.help h2, .help h3 { scroll-margin-top: 16px; }
.help h2 { margin-top: 8px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.toc a { text-decoration: none; border-bottom: 1px solid var(--line); }
.help ol:not(.steps), .help ul { margin: 8px 0 16px; padding-left: 24px; }
.help li { margin: 8px 0; }
.steps li { margin: 0; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.92em; }
@media print {
  header.site, footer.site, .no-print, .side { display: none !important; }
  body { background: #fff; color: #000; }
  .layout { display: block; }
  a { text-decoration: none; }
  .frame { background: #fff; }
}
@media (max-width: 800px) {
  h1 { font-size: 32px; }
  main { padding: 32px 0 64px; }
  .layout, .fields, .facts, .paths { grid-template-columns: 1fr; }
  .steps, .help ol.steps { grid-template-columns: 1fr 1fr; }
  .side { position: static; order: -1; }
  .bar { align-items: flex-start; flex-direction: column; }
  table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
