.setup-page { margin: 0; color: var(--ink); background: var(--paper); }
.guide-frame { width: min(1152px, calc(100% - 3rem)); margin-inline: auto; }
.guide-header, .guide-footer { border-block-end: 1px solid var(--line); }
.guide-topbar, .guide-nav, .guide-footer .guide-frame { display: flex; align-items: center; }
.guide-topbar { min-height: 76px; justify-content: space-between; gap: 1rem; }
.guide-brand { gap: .6rem; font-size: 1.45rem; }
.guide-brand img { width: 34px; height: 34px; }
.guide-nav { flex-wrap: wrap; gap: .25rem clamp(.8rem, 2.5vw, 2rem); }
.guide-nav a, .guide-footer a { padding-block: .55rem; color: #254d42; font-size: .91rem; font-weight: 650; text-decoration: none; }
.guide-nav a:hover, .guide-footer a:hover, .guide-contents a:hover { text-decoration: underline; text-underline-offset: .22em; }
.guide-skip { position: absolute; left: 1rem; top: -6rem; padding: .8rem 1rem; color: white; background: #183c30; z-index: 3; }
.guide-skip:focus { top: .75rem; }
.guide-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(255px, .44fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 6.3vw, 6rem); }
.guide-overline, .guide-contents h2 { color: #36675b; font: 650 .8rem/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.guide-overline { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.05rem; }
.guide-overline::before { content: ""; width: 1.55rem; height: 2px; background: currentColor; }
.guide-intro h1 { margin: 0; max-width: 15ch; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.068em; }
.guide-intro h1 em { color: var(--teal); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.guide-lede { max-width: 55ch; margin: 1.25rem 0 0; color: var(--text); font-size: clamp(1.05rem, 1.55vw, 1.25rem); line-height: 1.55; }
.guide-version { margin: 1rem 0 0; line-height: 1.6; font-size: .94rem; color: #435e51; }
.guide-version a, .guide-demo-link a { color: #145744; font-weight: 650; }
.guide-progress { padding: clamp(1.25rem, 2.8vw, 2rem); border-radius: 16px; color: #fff; background: #123e35; }
.guide-progress h2 { margin: 0; color: #cce8d8; font-size: .98rem; font-weight: 550; }
.progress-count { margin: .65rem 0 .8rem; font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.04em; font-weight: 670; }
.guide-progress progress { display: block; width: 100%; height: .55rem; border: 0; border-radius: 6px; appearance: none; background: #43695d; overflow: hidden; }
.guide-progress progress::-webkit-progress-bar { border-radius: 6px; background: #43695d; }
.guide-progress progress::-webkit-progress-value { border-radius: 6px; background: #b7e3bf; }
.guide-progress progress::-moz-progress-bar { border-radius: 6px; background: #b7e3bf; }
#guide-storage-note { margin: .85rem 0 1.3rem; color: #d3e6da; font-size: .9rem; line-height: 1.5; }
.guide-print { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .45rem .85rem; border: 1px solid #73998b; border-radius: 6px; background: transparent; color: #fff; font-size: .95rem; font-weight: 600; cursor: pointer; }
.guide-print svg { width: 19px; height: 19px; }
.guide-print:hover { background: #28584b; }
.guide-static-note { margin: 0; color: var(--text); }
.guide-layout { border-top: 1px solid #cbd6ca; display: grid; grid-template-columns: minmax(190px, .78fr) minmax(0, 2.65fr); gap: clamp(2rem, 6.2vw, 5rem); padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 8vw, 6rem); align-items: start; }
.guide-contents { position: sticky; top: 1.5rem; }
.guide-contents h2 { margin: 0 0 .85rem; }
.guide-contents ul { list-style: none; padding: 0; margin: 0; }
.guide-contents a { display: flex; align-items: center; gap: .65rem; min-height: 2.6rem; color: #29483f; text-decoration: none; font-size: .96rem; }
.guide-contents a::before { flex: none; content: ""; width: .55rem; height: .55rem; border: 1px solid #628478; border-radius: 2px; }
.guide-contents a[data-complete]::before { border-color: var(--teal); background: var(--teal); }
.guide-steps { min-width: 0; max-width: 76ch; font-size: 1rem; line-height: 1.65; }
.guide-steps section { scroll-margin-top: 1.5rem; }
.guide-steps section + section { padding-top: 2.1rem; border-top: 1px solid var(--line); margin-top: 2.1rem; }
.guide-steps h2 { margin: 0 0 .8rem; font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.15; letter-spacing: -.045em; }
.guide-steps h2 small { display: inline-block; vertical-align: middle; margin: 0 0 .15rem .3rem; padding: .22rem .5rem; border: 1px solid #cbd7cd; border-radius: 5px; font: 600 .82rem/1.3 var(--mono); letter-spacing: 0; color: #445d51; }
.guide-steps p, .guide-steps ol { color: #394f46; margin: 0; }
.guide-steps p + p { margin-top: .65rem; }
.guide-steps strong { color: #1e3a30; font-weight: 650; }
.guide-steps code, .guide-steps kbd { font-family: var(--mono); padding: .1em .25em; background: #e9eee7; border-radius: .2rem; color: #244a3e; font-size: .9em; overflow-wrap: anywhere; }
.guide-steps kbd { border: 1px solid #c6d4c8; }
.guide-steps ol { padding-inline-start: 1.3rem; }
.guide-steps li { padding-inline-start: .25rem; }
.guide-steps li + li { margin-top: .45rem; }
.provider-jumps { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin-block: .7rem .3rem; }
.provider-jumps a { display: inline-flex; align-items: center; min-height: 44px; }
.provider-jumps a, .provider-reference a { color: #145744; font-weight: 650; }
.provider-guide { margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid var(--line); scroll-margin-top: 1.25rem; }
.provider-guide h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .7rem; margin: 0 0 .65rem; font-size: 1.4rem; line-height: 1.35; letter-spacing: -.025em; }
.provider-guide h3 span { color: #486454; font-size: 1rem; font-weight: 500; letter-spacing: normal; }
.provider-guide .provider-reference { margin-top: .55rem; font-size: .94rem; }
.guide-screen { margin: 1.35rem 0; }
.guide-screen a { display: block; }
.guide-screen img { display: block; width: 100%; height: auto; border: 1px solid #b9caca; border-radius: 9px; }
.guide-screen figcaption { margin-top: .45rem; color: #506558; font-size: .9rem; }
.guide-check { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: .65rem; min-height: 44px; padding: .6rem .85rem; margin-top: 1.15rem; border: 1px solid #c2d4c8; border-radius: 7px; background: #f1f5ef; color: #244a3e; font-size: .96rem; font-weight: 600; line-height: 1.4; cursor: pointer; }
.guide-check:hover { background: #e7f0e5; }
.guide-check:has(input:checked) { border-color: #8bb39c; background: #e2f0e4; }
.guide-check input { flex: none; margin: 0; width: 1.16rem; height: 1.16rem; accent-color: var(--teal); cursor: pointer; }
.guide-footer { border-top: 1px solid var(--line); }
.guide-footer .guide-frame { justify-content: space-between; gap: 1rem; padding-block: 1rem; }
@media (max-width: 760px) {
  .guide-frame { width: calc(100% - 2.25rem); }
  .guide-topbar { min-height: 64px; }
  .guide-intro { grid-template-columns: 1fr; gap: 1.65rem; padding: 2.6rem 0 2rem; }
  .guide-progress { width: 100%; max-width: 33rem; }
  .guide-layout { display: block; padding-top: 1.5rem; }
  .guide-contents { position: static; padding-bottom: 1.2rem; margin-bottom: 1.65rem; border-bottom: 1px solid var(--line); }
  .guide-contents ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .8rem; }
  .guide-contents a { min-height: 2.7rem; }
}
@media (max-width: 520px) {
  .guide-topbar { align-items: flex-start; flex-direction: column; gap: .45rem; padding-block: .9rem .6rem; }
  .guide-nav { width: 100%; justify-content: space-between; gap: .5rem; }
  .guide-nav a { font-size: .9rem; }
}
@media (max-width: 360px) {
  .guide-contents ul { grid-template-columns: 1fr; }
}
@media print {
  @page { margin: 15mm; }
  .setup-page { background: white; color: black; }
  .guide-nav, .guide-contents, .guide-footer, .guide-skip, .guide-progress, .guide-screen, .guide-version a, .guide-steps .guide-demo-link, .guide-static-note { display: none; }
  .guide-frame { width: 100%; }
  .guide-topbar { min-height: 0; padding: 0 0 .5rem; }
  .guide-brand { font-size: 15pt; }
  .guide-brand img { width: 24px; height: 24px; }
  .guide-intro { display: block; padding: .8rem 0; }
  .guide-intro h1 { max-width: none; font-size: 25pt; }
  .guide-overline { margin: 0 0 .3rem; }
  .guide-lede, .guide-version { margin: .35rem 0 0; font-size: 10pt; }
  .guide-layout { display: block; padding: .8rem 0 0; }
  .guide-steps { max-width: none; font-size: 10pt; line-height: 1.35; }
  .guide-steps section { break-inside: avoid; }
  .guide-steps section + section { padding-top: .65rem; margin-top: .65rem; }
  .guide-steps h2 { font-size: 15pt; margin: 0 0 .35rem; }
  .guide-steps h2 small { font-size: 8pt; }
  #providers { break-inside: auto; }
  .provider-jumps { display: none; }
  .provider-guide { break-inside: avoid; margin-top: .55rem; padding-top: .5rem; }
  .provider-guide h3 { margin-bottom: .2rem; font-size: 12pt; }
  .provider-guide h3 span, .provider-guide .provider-reference { font-size: 9pt; }
  .guide-steps li + li, .guide-steps p + p { margin-top: .2rem; }
  .guide-check { display: block; min-height: 0; border: 0; margin-top: .4rem; padding: 0; font-size: 10pt; color: black; background: transparent !important; }
  .guide-check input { display: none; }
  .guide-check span::before { content: ""; display: inline-grid; place-content: center; width: .92em; height: .92em; margin-right: .4em; border: 1px solid black; vertical-align: -.1em; }
  .guide-check input:checked + span::before { content: "✓"; }
}
