/* Visitor-first visual system: light editorial story on the existing dark site shell. */
.guide-main{--g-line:#557184;--g-copy:#c9dbe5;--g-paper:#eaf1f1;--g-ink:#18343d}
.guide-nav{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.5rem}
.guide-nav a{color:#d3e6ef;text-decoration:none;border:1px solid var(--g-line);border-radius:8px;padding:.7rem .95rem;font-size:.9rem}
.guide-nav a[aria-current=page]{background:#22454a;border-color:#9adbcf}
.guide-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(1.5rem,4vw,4rem);padding:2rem 0}
.guide-hero>div,.guide-art{min-width:0}.guide-hero h1{font-size:clamp(2.35rem,4vw,4.25rem);max-width:16ch;line-height:1.09;letter-spacing:-.045em;overflow-wrap:anywhere}
.guide-hero p,.guide-section>p{color:var(--g-copy);line-height:1.75;max-width:76ch}
.guide-kicker{font:650 .78rem/1.5 ui-monospace,monospace;letter-spacing:.09em;text-transform:uppercase;color:#b6d7e1!important;margin:.3rem 0 .7rem}
.guide-art{margin:0}.guide-art svg{display:block;width:100%;height:auto;border-radius:20px}.guide-art figcaption,.guide-note{color:#bfd1dc!important;font-size:.85rem;line-height:1.6;margin:.7rem 0}
.guide-section{margin:clamp(2.8rem,6vw,6rem) 0;scroll-margin-top:6rem}
.guide-section h2{color:#f0f7fa;font-size:clamp(1.65rem,3vw,2.6rem);line-height:1.2;margin:.6rem 0 1rem;letter-spacing:-.025em}
.guide-main button,.guide-main select{min-height:44px;border:1px solid #6b899b;background:#1a3445;color:#f0f7fa;border-radius:8px;padding:.75rem 1rem;max-width:100%;overflow-wrap:anywhere;font:inherit}
.guide-main button[aria-pressed=true]{background:#245052;border-color:#a2e0d4;box-shadow:inset 0 -3px 0 #a2e0d4}.guide-main button:disabled{opacity:.7;cursor:default}
.guide-switch,.ae-controls{display:flex;flex-wrap:wrap;align-items:end;gap:.6rem;margin:1rem 0}
.guide-story{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:1px;border:1px solid #7d9ca7;border-radius:18px;overflow:hidden;background:#b6c9ce}
.guide-story-person,.guide-story-steps{padding:clamp(1.2rem,3vw,2.7rem);background:var(--g-paper);color:var(--g-ink)}
.guide-story-person>span{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#2f5a65;color:#fff;font-size:1.3rem;font-weight:650;margin-bottom:1rem}
.guide-story-person small,.guide-story-steps small{color:#365967;font-weight:650;font-size:.82rem}
.guide-story h3{font-size:clamp(1.4rem,2.5vw,2rem);color:var(--g-ink);margin:.6rem 0}
.guide-story p{color:#284750;line-height:1.7;margin:.5rem 0}
.guide-story-steps{display:grid;gap:1rem;background:#f5f8f8}
.guide-story-steps article{border-bottom:1px solid #becfd3;padding-bottom:.9rem}.guide-story-steps article:last-child{border:0;padding:0}
.guide-main a:not(.atlas-primary){text-underline-offset:.2em}
.guide-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.guide-paths article,.guide-aside{min-width:0;background:#172e3d;border:1px solid var(--g-line);border-radius:16px;padding:clamp(1.1rem,2.5vw,2rem);overflow-wrap:anywhere}
.guide-paths article:nth-child(2){background:#2e303b;border-color:#72788d}.guide-paths article:nth-child(3){background:#1b3536;border-color:#5d8982}.guide-paths article:nth-child(4){background:#302e29;border-color:#8f8065}
.guide-paths small,.guide-aside small{color:#bed5df;font-size:.75rem;letter-spacing:.06em}.guide-paths h3,.guide-aside h2{font-size:clamp(1.25rem,2vw,1.7rem);color:#f0f7fa;line-height:1.25}
.guide-paths p,.guide-aside p{color:#cddde5;line-height:1.65}.guide-paths a{display:block;margin:.6rem 0;color:#b3e6f3;text-decoration:underline}
.guide-glossary{display:grid;gap:.6rem}.guide-glossary details{background:#172b39;border:1px solid var(--g-line);border-radius:10px;padding:.6rem 1rem;color:#d7e6ee}.guide-glossary summary{cursor:pointer;padding:.65rem 0;font-weight:650}.guide-glossary p{margin:.6rem 0 1rem;line-height:1.7}
.ae-controls label{display:grid;gap:.5rem;color:#cfdee8;font-size:.9rem;min-width:0}.ae-controls select{min-width:0;width:100%}.ae-controls input[type=range]{width:100%;min-height:44px;accent-color:#9edccc}
.ae-summary{border:1px solid #6c8d9f;background:#172e3e;padding:1rem;border-radius:12px;color:#dcecf3;overflow-wrap:anywhere}.ae-summary strong{font-size:1.3rem;color:#eef7fb}.ae-summary p{color:#c7dbe6}.ae-summary[data-tone=review]{border-color:#e3c18a;background:#3a332b}
.ae-routes,.ae-dag{display:grid;gap:.75rem;margin:1rem 0}.ae-route{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.6rem;color:#b8d7e4}.ae-route strong{padding:1rem;background:#1a3445;border:1px solid #698b9d;border-radius:9px;color:#edf7fa;overflow-wrap:anywhere}
.ae-lane{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;padding:1rem;border:1px solid var(--g-line);border-radius:12px;min-width:0;background:#122534}.ae-lane h4{grid-column:1/-1;margin:.2rem 0;color:#b9d5e2}.ae-lane button{display:grid;gap:.5rem;text-align:left;min-width:0;overflow-wrap:anywhere}.ae-lane button small{color:#c7dbe7;font-size:.8rem}.ae-lane button[data-state=Recorded]{background:#1e403d;border-color:#7cae9e}.ae-lane button[data-state=Ready]{border-color:#9be3d4;background:#264c50}.ae-lane button[data-state="Boundary review required"]{border-color:#d7b57f;background:#3b332a}
.ae-events{padding-left:1.5rem;color:#d3e4ee;line-height:1.7}.ae-events li{padding:.4rem 0}
.guide-main :focus-visible{outline:3px solid #f3d4a0;outline-offset:3px}
@media(max-width:950px){.guide-hero,.guide-story{grid-template-columns:minmax(0,1fr)}}
@media(max-width:680px){.guide-paths{grid-template-columns:minmax(0,1fr)}.ae-lane{grid-template-columns:repeat(2,minmax(0,1fr))}.ae-controls label{width:100%}}
@media(max-width:370px){.ae-lane{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.guide-main *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
