@charset "UTF-8";
:root{--navy:#173448;--ink:#223e4c;--muted:#647680;--paper:#f5f4ef;--panel:#fffefa;--line:#d8dedb;--red:#ce493e;--blue:#26728d;--gold:#a57c3d;--green:#668345;--map-sky:#e9eee9;--shadow:0 14px 40px #17344809;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper);font-size:15px;line-height:1.6}a{color:var(--blue);text-decoration-thickness:1px;text-underline-offset:4px}button,input{font:inherit}button{border:1px solid var(--navy);background:var(--navy);color:white;border-radius:5px;padding:10px 16px;cursor:pointer;line-height:1.3;transition:background .15s}button:hover{background:#2e5265}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,.map-tile:focus-visible{outline:3px solid #be852f;outline-offset:5px}button[hidden]{display:none}.quiet-button{border-color:var(--line);background:transparent;color:var(--ink)}.quiet-button:hover{background:#e9eeeb}.masthead{max-width:1440px;margin:auto;padding:24px 46px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:18px;text-decoration:none;color:var(--navy)}.brand-mark{font-size:34px;letter-spacing:-2px;font-weight:850;line-height:1}.brand-mark b{color:var(--red)}.brand>span:last-child{font-size:10px;letter-spacing:2px;display:block;font-weight:800;line-height:1.8}.brand-rule{display:block;height:4px;background:linear-gradient(90deg,var(--red) 0 36%,var(--navy) 36% 71%,#9cadb3 71%);margin-top:5px}.masthead nav{display:flex;gap:24px;font-size:12px;font-weight:650}.masthead nav a{color:var(--ink);text-decoration:none}main{max-width:1440px;margin:auto;padding:54px 46px 42px}.intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:800;margin:0 0 13px;color:var(--muted)}.eyebrow span{font-size:9px;letter-spacing:1px;margin-left:14px;font-weight:500}h1{font-size:clamp(35px,4.5vw,64px);letter-spacing:-2.6px;line-height:1.05;font-weight:750;margin:0 0 18px}h2{font-size:28px;letter-spacing:-.8px;line-height:1.2;margin:0 0 14px}h3{font-size:17px;letter-spacing:-.25px;line-height:1.3}.dek{font-size:16px;color:var(--muted);margin:0}.intro-note{color:var(--muted);font-size:13px;line-height:1.8;max-width:245px;min-width:220px}.intro-note strong{color:var(--ink);font-weight:650}.small-rule{display:block;width:30px;height:3px;background:var(--red);margin-bottom:18px}.world-panel{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--map-sky);box-shadow:var(--shadow)}.world-toolbar{padding:14px 20px;display:flex;align-items:center;gap:12px;background:#ffffff9c;border-bottom:1px solid #d7dfd9;font-size:11px}.world-toolbar button{font-size:11px;padding:7px 11px}.view-label{display:flex;align-items:center;gap:9px;margin-right:auto}.live-dot{height:6px;width:6px;border-radius:50%;background:var(--green)}.toolbar-note{color:var(--muted);border-left:1px solid var(--line);padding-left:10px}.world-stage{background:radial-gradient(ellipse at 55% 25%,#f5f6ee,#e4eae6);overflow:hidden}.world-stage svg{display:block;width:100%;height:auto;min-height:280px;max-height:660px}.world-caption{display:flex;justify-content:space-between;gap:18px;padding:12px 20px;color:var(--muted);font-size:10px;background:#f5f7f1;border-top:1px solid #d7dfd9}.world-caption>span:first-child{white-space:nowrap}.legend-line{display:inline-block;width:28px;height:1px;border-top:2px dashed #628398;vertical-align:middle;margin-right:7px}.map-tile{cursor:pointer}.map-outline{fill:none;stroke:transparent;stroke-width:3.5;stroke-linejoin:round}.map-tile.selected .map-outline{stroke:var(--tile-colour);opacity:.85}.map-tile:hover .map-outline{stroke:var(--tile-colour);opacity:.5}.map-label{font-family:Inter,"Segoe UI",Arial,sans-serif;pointer-events:none}.map-label .category{font-size:12px;font-weight:800;letter-spacing:1.8px;fill:var(--ink)}.map-label .dimensions{font-size:27px;font-weight:700;letter-spacing:-.8px;fill:var(--ink)}.map-label .place-name{font-size:12px;fill:var(--muted)}.route-label{font-size:11px;font-weight:650;fill:#45667a}.map-cards{display:grid;grid-template-columns:repeat(3,1fr);margin-top:18px;gap:16px}.map-card{background:transparent;border:1px solid var(--line);color:var(--ink);padding:17px 20px;text-align:left;border-radius:6px;position:relative}.map-card:before{content:"";position:absolute;top:0;bottom:0;left:0;width:3px;background:var(--card-colour);border-radius:5px 0 0 5px}.map-card:hover{background:#ecf0e9}.map-card[aria-pressed=true]{background:var(--panel);box-shadow:var(--shadow);border-color:#bcc9c6}.card-head{display:flex;justify-content:space-between;font-size:10px;font-weight:800;letter-spacing:1.2px}.card-area{letter-spacing:0;color:var(--muted);font-weight:500}.card-size{display:block;font-size:26px;letter-spacing:-.8px;font-weight:700;line-height:1.2;margin:10px 0 6px}.card-place{font-size:12px;color:var(--muted)}.inspector{display:grid;grid-template-columns:1fr 225px;gap:50px;padding:28px 4px 32px;border-bottom:1px solid var(--line);margin-bottom:40px;min-height:215px}.inspector h2{font-size:23px}.inspector p:not(.eyebrow){max-width:760px;margin:8px 0;font-size:13px}.muted{color:var(--muted);font-size:12px}.inspector-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;justify-content:center}.inspector-actions button{font-size:12px}.era-link{font-size:11px;font-weight:750;letter-spacing:.1px;text-decoration:none}.journey-panel{display:grid;grid-template-columns:.9fr 1.15fr;gap:70px;padding:8px 4px 44px;border-bottom:1px solid var(--line)}.journey-intro h2{font-size:32px}.journey-intro>p:not(.eyebrow){font-size:13px;color:var(--muted);max-width:365px}.journey-control{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:25px 28px;box-shadow:var(--shadow)}.train-heading{display:flex;align-items:center;gap:12px}.train-glyph{font-size:23px;color:var(--red);width:35px;height:35px;display:grid;place-items:center;background:#f4e7df;border-radius:5px}.train-heading strong{display:block;font-size:14px;letter-spacing:.4px}.train-heading>div>span{display:block;font-size:11px;color:var(--muted)}.example-label{font-size:8px;font-weight:800;letter-spacing:1px;color:var(--gold);margin-left:auto}.journey-clock{display:flex;align-items:baseline;gap:8px;margin-top:27px;font-size:11px;color:var(--muted)}.journey-clock>strong:first-child{font-size:30px;letter-spacing:-1px;color:var(--ink);font-variant-numeric:tabular-nums}.journey-clock>strong:last-child{margin-left:auto;font-size:11px;color:var(--ink);font-weight:650}input[type=range]{width:100%;height:5px;accent-color:var(--red);cursor:pointer;margin:15px 0 8px}.journey-stops{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}#journey-status{color:var(--ink);font-weight:650}.journey-buttons{display:flex;gap:10px;margin-top:22px}.journey-buttons button{font-size:11px;padding:9px 12px}.journey-control>.muted{font-size:10px;line-height:1.7;margin:15px 0 12px}.journey-invariant{font-size:11px;color:var(--blue);margin:0;padding-top:12px;border-top:1px solid var(--line)}.principles{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;padding:38px 4px 42px;border-bottom:1px solid var(--line)}.principles article>span{font-size:11px;color:var(--red);font-weight:800;letter-spacing:1px}.principles h3{margin:10px 0}.principles p{font-size:12px;color:var(--muted);margin:0}.owner-section{padding:38px 4px 24px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:12px}.section-heading h2{font-size:25px}.section-heading>a{font-size:12px}.owner-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0 30px}.owner-item{padding:18px 0;border-bottom:1px solid var(--line)}.owner-item>a{font-weight:750;font-size:12px;text-decoration:none}.owner-item strong{display:block;font-size:12px;margin:6px 0 4px}.owner-item p{font-size:11px;color:var(--muted);margin:0}.boundary-note{font-size:11px;line-height:1.9;color:var(--muted);max-width:900px;margin:24px 0 0}.reference-section{margin:16px 4px 8px;border-top:1px solid var(--line)}summary{cursor:pointer;display:flex;justify-content:space-between;padding:20px 0;font-size:12px;font-weight:650;gap:15px}.summary-hint{color:var(--muted);font-size:10px;font-weight:400}.reference-content{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;padding:8px 0 25px;font-size:12px}.reference-content figure{margin:0}.reference-content img{width:100%;height:auto;border-radius:5px}.reference-content figcaption{font-size:10px;color:var(--muted);margin-top:8px}.reference-content h3{margin-top:0}.reference-content p{color:var(--muted)}footer{border-top:4px solid var(--red);padding:24px 46px;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted);max-width:1440px;margin:auto}footer strong{color:var(--ink);letter-spacing:1px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{border:1px solid var(--line);border-radius:10px;max-width:640px;width:calc(100% - 32px);padding:28px;background:var(--panel);color:var(--ink);box-shadow:0 25px 100px #17344844}dialog::backdrop{background:#17344880}.dialog-heading{display:flex;justify-content:space-between;gap:20px}.dialog-heading h2{font-size:26px}.dialog-heading button{align-self:flex-start;background:transparent;color:var(--ink);border:0}.draft-warning{padding:12px 15px;background:#f5edda;color:#775726;border-radius:4px;font-size:12px}.draft-row{display:grid;grid-template-columns:1fr 95px 95px;gap:12px;border-bottom:1px solid var(--line);padding:15px 0}.field{display:flex;flex-direction:column;gap:6px;font-size:11px;margin-bottom:12px}.field input{width:100%;border:1px solid #bccacb;border-radius:4px;background:white;color:var(--ink);padding:9px;font-size:13px}.draft-actions{display:flex;flex-wrap:wrap;gap:8px}.draft-actions button{font-size:11px}.script-error{padding:30px;font-size:16px}#draft-error{color:#a4392e;font-size:12px}.draft-mode .world-toolbar{background:#fff1d9}.draft-flag{color:#9d6c24}
@media(max-width:850px){.masthead{padding:18px 24px}.masthead nav{gap:14px;font-size:11px}main{padding:35px 24px}.intro-note{min-width:170px}.journey-panel{gap:30px;grid-template-columns:.8fr 1.2fr}.principles{gap:25px}.owner-grid{grid-template-columns:repeat(2,1fr)}.world-caption{font-size:9px}.inspector{gap:25px;grid-template-columns:1fr 180px}.reference-content{grid-template-columns:1fr}footer{padding:20px 24px}.toolbar-note{display:none}}
@media(max-width:600px){.masthead{padding:17px 18px;align-items:flex-start}.brand{gap:11px}.brand-mark{font-size:27px}.brand>span:last-child{font-size:8px}.masthead nav{flex-direction:column;gap:5px;font-size:10px}main{padding:30px 18px}.intro{align-items:flex-start;margin-bottom:24px}.intro-note{display:none}h1{font-size:39px;letter-spacing:-1.8px}.eyebrow span{display:block;margin:5px 0 0}.dek{font-size:13px}.world-stage svg{min-height:200px}.world-toolbar{padding:10px 12px;gap:6px}.world-toolbar button{font-size:10px}.world-caption{flex-direction:column;gap:4px;padding:10px 12px}.map-cards{gap:7px;margin-top:11px}.map-card{padding:12px 10px}.card-head{font-size:8px;letter-spacing:.5px}.card-area{display:none}.card-size{font-size:17px;margin:9px 0}.card-place{font-size:9px}.inspector{grid-template-columns:1fr;gap:12px;padding:25px 1px;margin-bottom:25px}.inspector-actions{flex-direction:row;align-items:center;flex-wrap:wrap;justify-content:flex-start}.inspector-actions .muted{width:100%;font-size:10px}.journey-panel{grid-template-columns:1fr;gap:15px;padding:0 1px 30px}.journey-intro h2{font-size:29px}.journey-intro h2 br{display:none}.journey-control{padding:20px}.principles{grid-template-columns:1fr;gap:20px;padding:26px 1px}.principles h3{display:inline-block;margin:0 0 5px 10px}.principles p{font-size:12px}.owner-section{padding:28px 1px}.section-heading{align-items:flex-start;flex-direction:column;gap:2px}.section-heading h2{font-size:24px}.owner-grid{gap:0 20px}.owner-item strong{font-size:11px}.summary-hint{display:none}.reference-section{margin-top:0}.draft-row{grid-template-columns:1fr 73px 73px;gap:8px}.draft-row input{font-size:11px;padding:8px 6px}dialog{padding:20px}footer{padding:19px 18px;flex-wrap:wrap;font-size:9px}.example-label{font-size:7px}.journey-clock>strong:last-child{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.masthead nav,.journey-buttons,#progress,#edit-open,.inspector-actions button,dialog{display:none!important}main{padding:20px}.world-panel,.journey-control{box-shadow:none}.reference-section{display:none}footer{border-top-width:2px}.map-cards,.journey-panel,.owner-section{break-inside:avoid}}

/* R02: original project branding and a quieter stage for the richer artwork. */
.masthead{padding-top:10px;padding-bottom:10px;min-height:116px;background:#fffefa}.project-logo{display:block;width:158px;height:105px;object-fit:contain}.intro{margin-bottom:27px}.intro h1{font-size:clamp(35px,4.15vw,59px)}.world-stage{background:radial-gradient(ellipse at 52% 35%,#f0f2ed,#e1e6e2)}.world-stage svg{max-height:740px}.map-tile.selected .map-outline{stroke-width:2;opacity:.55}.map-tile:hover .map-outline{stroke-width:2;opacity:.7}.source-art{margin-bottom:20px!important}.source-art img{border:1px solid var(--line)}.reference-content{grid-template-columns:1.1fr 1fr}
.local-view .map-label,.local-view .route-label,.local-view #transit-marker,.local-view>path,.local-view>circle,.local-view .map-tile:not(.viewed-tile){display:none}
@media(max-width:600px){.project-logo{width:112px;height:75px}.masthead{min-height:92px}.intro h1{font-size:37px}.reference-content{grid-template-columns:1fr}}
