/* Setup guide (part 1) and feature tour (part 2): a layer on top of the landing's tokens in ../styles.css. */
.setup-hero{padding:52px 0 8px}
.setup-hero .eyebrow-chip{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--accent-strong);
  background:var(--accent-soft);padding:5px 12px;border-radius:999px}
.setup-hero h1{font-size:clamp(28px,4.2vw,42px);line-height:1.3;margin:14px 0 10px;letter-spacing:-.4px;text-wrap:balance}
.setup-hero .lead-p{color:var(--muted);font-size:17px;max-width:62ch;margin:0}

.kit{margin:28px 0 0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px 24px}
.kit h2{font-size:16px;margin:0 0 14px}
.kit-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.kit-item{background:var(--surface-2);border-radius:12px;padding:12px 14px}
.kit-item .k{display:block;font-size:12.5px;color:var(--muted)}
.kit-item .v{display:block;font-weight:800;font-size:15.5px;margin-top:2px;overflow-wrap:anywhere}
.kit-item .v small{font-weight:500;color:var(--muted);font-size:12.5px}
.addr-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:16px;padding-top:16px;border-top:1px dashed var(--border)}
.addr-row label{font-size:14px;color:var(--muted);flex:1 1 260px}
.addr-field{display:inline-flex;align-items:center;direction:ltr;border:1px solid var(--border);border-radius:12px;background:var(--bg);padding:0 12px;height:44px}
.addr-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.addr-field input{border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-weight:700;width:9.5em;text-align:left}
.addr-field span{color:var(--muted);font-weight:600}
.addr-state{font-size:13px;color:var(--muted);flex-basis:100%}
.addr-state b{color:var(--accent-strong)}
.ltr{direction:ltr;unicode-bidi:isolate}

.layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:40px;margin:40px 0 72px;align-items:start}
.rail{position:sticky;top:86px;font-size:14px}
.rail .prog{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:14px 16px;margin-bottom:14px}
.rail .prog b{font-size:15px}
.bar{height:8px;border-radius:99px;background:var(--surface-2);overflow:hidden;margin-top:8px}
.bar i{display:block;height:100%;width:0;background:var(--accent);border-radius:99px;transition:width .3s ease}
.rail ol{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.rail .grp{font-size:12px;font-weight:700;color:var(--muted);margin:12px 10px 4px;letter-spacing:.2px}
.rail a{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:10px;color:var(--muted)}
.rail a:hover{background:var(--surface-2);color:var(--text)}
.rail a.on{background:var(--accent-soft);color:var(--text);font-weight:700}
.rail .dot{width:22px;height:22px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;
  border:1.5px solid var(--border);color:var(--muted);background:var(--surface)}
.rail a.done .dot{background:var(--accent);border-color:var(--accent);color:#fff}

.part{margin:8px 0 18px}
.part:not(:first-child){margin-top:52px}
.part .kick{font-size:13px;font-weight:700;color:var(--warm)}
.part h2{font-size:clamp(22px,2.6vw,28px);margin:4px 0 6px;text-wrap:balance}
.part p{color:var(--muted);margin:0;max-width:65ch}

.stp{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px 26px;margin-top:18px;scroll-margin-top:86px}
.stp-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.num{width:42px;height:42px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:17px;
  background:var(--accent-soft);color:var(--accent-strong);transition:background .2s ease,color .2s ease}
.stp.is-done .num{background:var(--accent);color:#fff}
.stp h3{font-size:20px;margin:0;flex:1 1 220px;text-wrap:balance}
.stp-actions{display:flex;gap:8px;flex-wrap:wrap}
.mini-btn{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:13.5px;font-weight:700;padding:7px 12px;border-radius:10px;
  border:1px solid var(--border);background:transparent;color:var(--text);cursor:pointer}
.mini-btn:hover{background:var(--surface-2)}
.mini-btn:focus-visible,.rail a:focus-visible,.addr-field input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.mini-btn.open{color:var(--accent-strong)}
.mini-btn.open[aria-disabled="true"]{color:var(--muted);cursor:help}
.mini-btn.done[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:#fff}
.why{color:var(--muted);margin:12px 0 0;max-width:68ch}
.path{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:14px 0 0;font-size:13.5px}
.path .k{font-weight:700;color:var(--muted);margin-inline-end:4px}
.path span.c{background:var(--surface-2);border-radius:8px;padding:2px 9px}
.path .sep{color:var(--muted)}
ol.do{margin:16px 0 0;padding-inline-start:22px;list-style-type:persian;display:grid;gap:6px;max-width:70ch}
ol.do li::marker{font-weight:800;color:var(--accent-strong)}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.chips .lbl{font-size:13px;color:var(--muted);align-self:center;margin-inline-end:2px}
.chips span:not(.lbl){font-size:13.5px;background:var(--bg);border:1px solid var(--border);border-radius:999px;padding:3px 12px}
table.roles{width:100%;border-collapse:collapse;margin:16px 0 0;font-size:14.5px}
table.roles th,table.roles td{text-align:start;padding:9px 10px;border-bottom:1px solid var(--border);vertical-align:top}
table.roles th{white-space:nowrap;font-weight:800}
.shot{margin:20px 0 0}
.shot a{display:block;border-radius:12px}
.shot a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.shot img{display:block;cursor:zoom-in;width:100%;height:auto;border-radius:12px;border:1px solid var(--border);box-shadow:var(--shadow);background:#fff}
.shot.narrow{max-width:440px}
.shot.slim{max-width:360px}
.shot.strip{max-width:640px}
.shot figcaption{font-size:13px;color:var(--muted);margin-top:8px}
.note{margin:16px 0 0;border-radius:12px;padding:11px 14px;font-size:14.5px;background:var(--surface-2);max-width:72ch}
.note b{color:var(--accent-strong)}
.note.warn{background:color-mix(in srgb,var(--warm) 13%,var(--surface))}
.note.warn b{color:color-mix(in srgb,var(--warm) 75%,var(--text))}
.later{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.later .cardx{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:18px 20px}
.later h3{font-size:16.5px;margin:0 0 6px}
.later p{margin:0;color:var(--muted);font-size:14.5px}
.finish{margin-top:44px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:26px;display:flex;flex-wrap:wrap;
  align-items:center;justify-content:space-between;gap:16px}
.finish h2{margin:0;font-size:21px}
.finish p{margin:4px 0 0;color:var(--muted)}

@media (max-width:960px){
  .layout{grid-template-columns:minmax(0,1fr);gap:20px;margin-top:28px}
  .rail{position:static}
  .rail ol,.rail .grp{display:none}
}
@media (max-width:640px){
  .kit-items{grid-template-columns:minmax(0,1fr)}
  .stp{padding:18px 16px}
  .stp h3{font-size:18px}
  .later{grid-template-columns:minmax(0,1fr)}
  .wrap{padding-inline:16px}
  table.roles th{white-space:normal}
}
@media (prefers-reduced-motion:reduce){.bar i,.num{transition:none}}

/* Who may use a stop (part 2). */
.who{font-size:12.5px;font-weight:700;color:var(--muted);background:var(--surface-2);border-radius:999px;padding:3px 10px;white-space:nowrap}
.who.admin{color:var(--accent-strong);background:var(--accent-soft)}
/* A card that points to the other part of the guide. */
.next-part{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;
  background:var(--accent-soft);border-radius:var(--radius);padding:20px 24px}
.next-part h2{margin:0;font-size:19px}
.next-part p{margin:4px 0 0;color:var(--muted)}
/* "Try it" label above a stop's exercise (part 2). */
.try{margin:16px 0 0;font-size:13.5px;font-weight:800;color:var(--accent-strong)}
.try + ol.do{margin-top:6px}

/* Key caps in the step text (Ctrl + D), and the "optional" label on a step line. */
kbd{font:600 12.5px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;direction:ltr;unicode-bidi:isolate;display:inline-block;padding:3px 6px;border:1px solid var(--border);border-bottom-width:2px;border-radius:6px;background:var(--surface)}
.opt{color:var(--muted);font-weight:700}
.addr-link{color:var(--accent-strong);font-weight:700}
.addr-link:hover{text-decoration:underline}

/* What the reader clicks — a menu entry, card, tab or button — written exactly as it reads on screen.
   The i-* variants draw the icon the app shows on that button (row actions have no text there). */
.ui{padding:1px 7px;border:1px solid color-mix(in srgb,var(--accent) 32%,var(--border));border-radius:7px;background:var(--accent-soft);color:var(--accent-strong);font-weight:700;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.ui[class*=" i-"]::before{content:"";display:inline-block;width:1.05em;height:1.05em;margin-inline-end:4px;vertical-align:-.18em;background:currentColor;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}
.ui.ico{padding-inline:5px}
.ui.ico::before{margin-inline-end:0}
.i-menu{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z'/%3E%3C/svg%3E")}
.i-edit{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z'/%3E%3C/svg%3E")}
.i-delete{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z'/%3E%3C/svg%3E")}
.i-history{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 3a9 9 0 0 0-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42A8.95 8.95 0 0 0 13 21a9 9 0 0 0 0-18m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z'/%3E%3C/svg%3E")}
.i-key{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 10h-8.35A5.99 5.99 0 0 0 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6a5.99 5.99 0 0 0 5.65-4H13l2 2 2-2 2 2 4-4.04zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3'/%3E%3C/svg%3E")}
.i-done{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16'/%3E%3C/svg%3E")}
.i-pin{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 9V4h1a1 1 0 0 0 0-2H7a1 1 0 0 0 0 2h1v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1 1-1v-7H19v-2c-1.66 0-3-1.34-3-3'/%3E%3C/svg%3E")}
.i-open{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z'/%3E%3C/svg%3E")}

/* "How to get around" card above the first part: the moves every step relies on. */
.howto{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px 24px;margin:0 0 8px}
.howto h2{font-size:18px;margin:0 0 4px}
.howto > p{margin:0;color:var(--muted);font-size:14.5px}
.howto ul{margin:12px 0 0;padding:0;list-style:none;display:grid;gap:10px;max-width:72ch}
.howto li{font-size:15px;line-height:1.9}
.howto li b{color:var(--text)}
.howto + .part{margin-top:36px}
@media (max-width:560px){.howto{padding:16px}}

/* A step that checks two small things (name and fiscal year) splits itself with a sub-heading */
.stp .sub-h{font-size:16px;margin:22px 0 0;padding-top:18px;border-top:1px dashed var(--border)}
.stp .sub-h.first{margin-top:16px;padding-top:0;border-top:0}
