:root {
  color-scheme: light;
  font: 100%/1.6 Arial, Helvetica, sans-serif;
  color: #173549;
  background: #f4f8fb;
  --brand: #066b9d;
  --line: #cbdce5;
  --muted: #4b6473;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #00537d; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .12em; }
:focus-visible { outline: 3px solid #9a4700; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 1rem; top: -6rem; padding: .7rem 1rem; background: white; z-index: 2; }
.skip-link:focus { top: 1rem; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-inner, .page, .site-footer { width: min(1120px, 100%); margin: 0 auto; padding-inline: 1.5rem; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.2rem; }
.brand { color: #173549; font-size: 1.1rem; font-weight: 700; text-decoration: none; }
.brand span { color: var(--brand); }
.header-label { color: var(--muted); font-size: .9rem; }
.page { padding-block: 2.5rem 3.5rem; }
.breadcrumb { display: inline-block; margin-bottom: 1.5rem; font-size: .95rem; }
.eyebrow { color: var(--brand); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; margin-bottom: .6rem; }
h1, h2, h3 { line-height: 1.25; margin-top: 0; }
h1 { max-width: 21ch; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.035em; margin-bottom: 1rem; }
h2 { font-size: 1.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.08rem; margin-bottom: .6rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.intro { color: var(--muted); font-size: 1.1rem; max-width: 45rem; }
.hero { margin-bottom: 2rem; }
.jump-links { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; margin-top: 1.3rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tool-card { display: flex; flex-direction: column; gap: .5rem; background: white; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 12px; padding: 1.4rem; }
.tool-card p { color: var(--muted); font-size: .95rem; }
.tool-card a { margin-top: auto; font-weight: 700; padding-top: .6rem; }
.section { margin-top: 2.5rem; scroll-margin-top: 1.5rem; }
.panel { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; min-width: 0; }
.panel + .panel { margin-top: 1rem; }
.note { border-left: 4px solid var(--brand); background: #edf6fa; padding: 1rem 1.2rem; margin-top: 1.2rem; border-radius: 0 8px 8px 0; }
.steps { padding-left: 1.5rem; margin: 0; }
.steps li { padding-left: .25rem; margin-bottom: .9rem; }
.steps li:last-child { margin-bottom: 0; }
.code-heading { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .8rem; margin-bottom: .8rem; }
.code-heading label { font-weight: 700; }
.copy-button { min-height: 44px; font: inherit; font-weight: 700; color: white; background: var(--brand); border: 1px solid var(--brand); border-radius: 7px; padding: .55rem 1rem; cursor: pointer; }
.copy-button:hover { background: #00537d; }
textarea { display: block; width: 100%; max-width: 100%; min-height: 13.5rem; resize: vertical; border: 1px solid #8ca7b7; border-radius: 7px; background: #f7fafc; color: #173549; padding: 1rem; font: .88rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
.copy-status { min-height: 1.6em; color: #215b37; font-size: .9rem; margin-top: .5rem; }
.code-help, .small { color: var(--muted); font-size: .9rem; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; overflow-wrap: anywhere; }
pre { max-width: 100%; overflow-x: auto; background: #f7fafc; border: 1px solid var(--line); border-radius: 7px; padding: 1rem; }
pre code { overflow-wrap: normal; }
.checks { padding-left: 1.4rem; margin-bottom: 0; }
.checks li { margin-bottom: .5rem; }
details { border-bottom: 1px solid var(--line); }
summary { font-weight: 700; cursor: pointer; padding: 1rem 0; min-height: 48px; }
.answer { padding-bottom: 1.2rem; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding-block: 1.5rem 2rem; font-size: .9rem; }
@media (max-width: 800px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .header-inner, .page, .site-footer { padding-inline: 1rem; }
  .page { padding-top: 1.7rem; }
  .grid { grid-template-columns: 1fr; }
  .panel, .tool-card { padding: 1.15rem; }
  .header-label { font-size: .8rem; }
  textarea { padding: .75rem; font-size: .8rem; }
}
@media print {
  :root { background: white; }
  .copy-button, .jump-links, .skip-link { display: none; }
  .panel, .tool-card { break-inside: avoid; }
  .page { padding-block: 1rem; }
}
