/* Prepublication revision: compact pages and responsive route navigation. */
html{scroll-padding-top:24px}
header{padding-block:16px;align-items:center}
header .brand{font:500 clamp(20px,2.2vw,27px)/1.2 var(--serif);text-transform:none;letter-spacing:0}
.edition-badge{display:inline-block!important;font:500 10px/1.4 var(--sans)!important;color:#68502a;background:#f9efd9;border:1px solid #c7a86b;border-radius:16px;padding:3px 9px;vertical-align:middle;margin-left:8px;letter-spacing:.025em}
.home header .edition-badge{display:none!important}
.home .home-metro{padding-top:24px;padding-bottom:20px}
.home .map-heading{margin-bottom:6px}
.home .map-heading .beta-badge{margin-bottom:8px}
.home .map-heading h1{font-size:clamp(35px,5vw,60px)}
.home .map-heading .studio-subtitle{margin-bottom:5px}
.start-here{color:#982f25;background:#fff1c7;border:1px solid #982f25;border-radius:4px;padding:4px 7px;width:max-content;font-weight:700;letter-spacing:.02em}
.inner .page-layout main,.inner .current-route{padding-top:24px}
.inner main p{line-height:1.6;margin-top:0;margin-bottom:16px}
.inner main section{padding-block:16px}
.inner main h2{margin-top:12px;margin-bottom:14px}
.inner main h3{margin-top:20px;margin-bottom:10px}
.inner .lead{font-size:17px;line-height:1.6;margin:0 0 18px}
.inner main h1{margin-bottom:22px}
.inner .page-layout{gap:30px}
.inner .current-route h2{font-size:19px;margin-bottom:12px}
.inner .current-route nav a{padding-block:7px}
.home .recent-works{padding-top:26px;padding-bottom:30px}
.home .about-contact{padding-block:28px!important}
.about-portrait{float:none;display:block;width:clamp(160px,20vw,230px);margin:0 auto 22px}
.value-grid{gap:12px;margin-block:16px}
.value-grid>div{padding:17px}
.value-grid dt{font-size:22px}
.catalog-grid{gap:20px}
.catalog-card .enlarge{padding:3px;background:#fff}
.catalog-card .enlarge img{height:auto;max-height:none;width:100%;background:#fff}
.catalog-card .map-title{padding:14px;min-height:0}
.catalog-card .map-description{padding:0 14px;margin-top:14px}
.catalog-card .catalog-links{padding:12px 14px;gap:6px}
.catalog-card .recommended-citation{padding:10px 14px;margin:0;font:400 12px/1.5 var(--sans);color:var(--muted);overflow-wrap:anywhere}
.database-example{max-width:620px;margin:18px auto}
.database-example .enlarge{padding:0}
.database-example figcaption{padding:7px 0;font-size:13px}
.project-meta{margin:16px 0}
.project-progress{margin-top:20px}
.progress-stage{padding:8px 0!important}
.progress-stage h3{margin:6px 0 8px!important}
.progress-stage ul{margin-block:0}
.progress-stage li{display:grid;grid-template-columns:minmax(0,1fr) clamp(105px,27%,180px);align-items:start;padding:7px 0;gap:12px;font-size:15px}
.progress-stage li>span{grid-column:1;text-align:left}
.progress-stage .status{grid-column:2;justify-self:stretch;margin:0;text-align:left}
.progress-stage small{margin-top:2px}
.status{padding:3px 7px}
.stage-pending,.stage-pending>span,.stage-pending h3{color:#757a7b}
.blog-callout{padding:18px;margin:20px 0;gap:6px}
.blog-page{background:#fafaf8;background-image:none}
.blog-page .page-layout{display:block;max-width:1060px;margin:auto;padding:0 32px}
.blog-page .current-route{display:none}
.blog-page .page-layout main{background:white;max-width:none;padding:36px clamp(20px,5vw,64px) 70px;border-top:4px solid var(--green)}
.blog-page main h1{font-size:clamp(34px,4vw,58px)}
.blog-page main p{max-width:850px;font-size:18px;line-height:1.75}
.blog-page .blog-empty{border:0;border-top:1px solid var(--rule);padding:20px 0!important}
.travel-coming-soon{text-align:center;font:400 clamp(38px,7vw,74px)/1.2 var(--serif)!important;padding:40px 0}
.documentation{max-width:100%;overflow:hidden}
.documentation h2{font-family:var(--serif)!important;color:#173d51}
.documentation h3{font:600 20px/1.35 var(--sans)!important;color:#173d51;border-bottom:1px solid #a9bbc4;padding-bottom:6px}
.documentation p{font-size:15px!important;line-height:1.55!important;margin-bottom:8px!important}
.documentation table{table-layout:fixed;width:100%}
.documentation th,.documentation td{min-width:0;padding:9px;border:1px solid #d2dce1;overflow-wrap:anywhere;vertical-align:top}
.documentation th{background:#dae7ed;color:#173d51;text-align:left;font-weight:600}
.documentation tr:nth-child(even) td{background:#f4f7f8}
/* Column sizes are assigned to each table according to its content. */
.documentation .document-table th,.documentation .document-table td{width:auto;min-width:0;text-align:left;word-break:normal;overflow-wrap:anywhere}
.documentation .table-steps th:first-child,.documentation .table-steps td:first-child,.documentation .table-process th:first-child,.documentation .table-process td:first-child{text-align:center}
.documentation .table-wide{min-width:680px}
@media(max-width:600px){
 .documentation{padding:10px}
 .documentation .document-table th,.documentation .document-table td{padding:6px}
 .documentation .document-table p{font-size:13px!important;line-height:1.5!important}
 .documentation .table-record col:first-child{width:40%!important}
 .documentation .table-record col:last-child{width:60%!important}
 .documentation .table-process col:first-child{width:14%!important}
 .documentation .table-process col:nth-child(2){width:50%!important}
 .documentation .table-process col:last-child{width:36%!important}
}
.documentation-table{margin:14px 0;max-width:100%}
.reuse-panel{background:#f0f3ef;padding:18px!important;border-radius:8px}
.route-map-trigger{font:500 14px/1.4 var(--sans);border:1px solid var(--rule);border-radius:5px;padding:10px 16px;background:var(--paper);color:var(--ink);cursor:pointer;min-height:44px}
.inner .network-shell{display:flex;align-items:flex-start;justify-content:flex-end;gap:12px;height:98px;padding-top:8px;padding-bottom:0;overflow:visible;z-index:5}
.inner .network-shell>[data-network]{width:280px;height:80px;overflow:hidden;background:var(--paper);border:1px solid var(--rule);border-radius:6px;position:relative;transition:width .18s,height .18s;flex:0 0 auto}
.inner .network-shell .reference-heading{display:none}
.inner .network-shell .reference-scroll{height:100%;overflow:hidden;width:100%;margin:0}
.inner .network-shell svg{width:100%;min-width:0;height:100%;max-height:none}
@media(hover:hover) and (min-width:781px){
 .inner .network-shell>[data-network]:hover,.inner .network-shell>[data-network]:focus-within{width:min(900px,calc(100vw - 80px));height:290px;box-shadow:0 12px 35px #172a3a22}
}
.other-routes{margin-top:14px;border-top:1px solid var(--rule);padding-top:8px}
.other-routes summary{cursor:pointer;font-size:13px;min-height:36px}
.other-routes h3{font-size:14px;margin:14px 0 5px}
.other-routes a{display:block;font-size:13px;padding:6px 0;min-height:32px}
.route-dialog{width:min(1100px,100vw);max-width:100vw;max-height:100dvh;padding:20px;border:0;background:var(--paper)}
.route-dialog-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}
.route-dialog-tools h2{font:400 25px/1.2 var(--serif);margin:0}
.route-dialog-tools button{padding:10px 16px;border:1px solid var(--rule);background:var(--paper);min-height:44px;cursor:pointer}
.route-dialog .destination-index{margin-top:12px;width:100%}
.route-dialog .destination-group a{min-height:44px;padding:10px 0}
.route-dialog .reference-heading{display:none}
.route-dialog .reference-scroll{overflow:auto}
.route-dialog .reference-scroll svg{width:100%;min-width:0;height:auto;max-height:46dvh}
.route-modal-open{overflow:hidden}
@media(max-width:780px){
 header{padding:12px 18px;gap:10px;flex-wrap:nowrap}
 header nav{order:0;width:auto;gap:16px}
 header .brand{font-size:20px;max-width:65%}
 header .edition-badge{display:block!important;width:max-content;margin:4px 0 0;font-size:9px!important}
 .home header .edition-badge{display:none!important}
 .home .home-metro{padding:18px 16px 20px;position:relative;display:flex;flex-direction:column}
 .home .map-heading{order:0;margin-bottom:10px}
 .home .map-heading h1{font-size:38px}
 .home .map-heading .studio-subtitle{font-size:21px}
 .home .map-heading .studio-description{font-size:14px}
 .home .home-jumps{display:none}
 .home .restored-main-map{order:1;width:100%;height:calc(var(--fitted-map-height,230px) + 48px);overflow:hidden;margin:0;position:relative}
 .home .restored-main-map>.map-legend{display:flex;position:static;max-width:none;gap:5px 12px;padding:4px 0;margin:0;font-size:10px;min-height:48px;align-content:start}
 .home .restored-main-map>.map-legend>span{font-size:10px}
 .home .map-wrap,.route-dialog .map-wrap{width:1040px;min-width:1040px;max-width:none;height:650px;min-height:0;aspect-ratio:1040 / 650;transform:scale(var(--map-scale,1));transform-origin:top left;margin:0}
 .home .station[data-stop=infrastructure]>b{font-size:17px;max-width:190px}
 .home .destination-index{order:3;margin-top:8px}
 .home .destination-index:not([open]) .destination-groups{display:none}
 .home .recent-works{padding:22px 18px}
 .home .recent-works h2{font-size:29px}
 .home .about-contact{padding:24px 18px!important}
 .home .about-contact p{font-size:18px}
 .inner .network-shell{display:flex;height:62px;padding:8px 18px 0;gap:8px;align-items:center}
 .inner .network-shell>[data-network]{width:130px;height:42px;pointer-events:none}
 .inner .network-shell .route-map-trigger{font-size:12px;padding:8px 10px;min-height:42px}
 .page-layout{padding-inline:18px}
 .inner .current-route{padding-top:10px}
 .current-route>p{display:none}
 .inner .current-route h2{font-size:15px;margin:0 0 7px}
 .current-route nav{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;overflow:visible;padding:0;border:0}
 .current-route nav:before,.current-route nav a:before{display:none!important}
 .current-route nav a{display:flex;align-items:center;gap:8px;min-width:0;min-height:44px;padding:6px 0!important;flex:auto}
 .current-route nav a i{position:static;flex:0 0 10px;width:10px;height:10px;margin:0;border-width:2px}
 .current-route nav a>span{margin:0!important;font-size:13px;line-height:1.25}
 .current-route nav a small{font-size:10px}
 .other-routes{margin-top:6px;padding-top:4px}
 .other-routes summary{min-height:32px}
 .other-routes>div{display:inline-block;vertical-align:top;width:48%}
 .inner .page-layout main{padding-top:18px}
 .inner .page-layout main h1{font-size:36px;line-height:1.12;margin-bottom:18px}
 .inner main p{font-size:16px;line-height:1.6}
 .inner main section{padding-block:10px}
 .catalog-grid{grid-template-columns:1fr}
 .catalog-card .enlarge img{height:auto;max-height:none}
 .documentation{padding:10px}
 .documentation th,.documentation td{padding:6px}
 .documentation p{font-size:12px!important}
 .route-dialog{width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:18px;overflow:auto;border-radius:0}
 .route-dialog .full-route-map{position:relative;height:calc(var(--fitted-map-height,230px) + 48px);overflow:hidden;width:100%}
 .route-dialog .full-route-map>.map-legend{margin:0;min-height:48px;display:flex;flex-wrap:wrap;gap:5px 12px}
 .route-dialog .full-route-map>.map-legend>span{font-size:10px}
 .route-dialog .destination-groups{grid-template-columns:1fr 1fr;gap:14px}
 .route-dialog .destination-group h3{font-size:13px;margin-bottom:4px}
 .route-dialog .destination-group a{font-size:14px;line-height:1.35;min-height:44px}
 .route-dialog .full-route-map.network-reference{height:auto;min-height:140px}
 .blog-page .page-layout{padding:0 12px}
 .blog-page .page-layout main{padding:24px 18px 50px}
 .progress-stage li{display:grid;grid-template-columns:minmax(0,1fr) 105px;font-size:14px}
 .progress-stage .status{max-width:105px;min-width:0;font-size:10px}
}
@media(prefers-reduced-motion:reduce){.inner .network-shell>[data-network]{transition:none}}
.inner .network-shell>[data-network]{padding:0;margin:0}
.route-dialog .full-route-map.network-reference{padding:0;margin:0}
.catalog-card{margin:0}
.home .recent-works .catalog-card{margin:25px auto}
.home .recent-works .catalog-links{display:flex;align-items:center}
.home .destination-index>summary{width:fit-content;max-width:100%;margin-inline:auto;padding:10px 16px;background:var(--paper);border:1px solid var(--rule);border-radius:6px;color:var(--muted)}
.home .destination-index>summary strong{color:var(--ink);text-decoration:underline;text-underline-offset:.2em}
.inner main .portfolio{margin-top:18px}
.inner main section{margin-top:12px}
.inner .network-shell{max-width:1370px;margin-inline:auto}

/* Author credit beneath the site name on every page. */
header .brand-name{display:block;font:inherit;letter-spacing:inherit;margin:0}
header .brand-byline{display:block;font:400 13px/1.4 var(--sans);letter-spacing:.015em;text-transform:none;color:var(--muted);margin:4px 0 0}
header .brand .edition-badge{margin-left:0;margin-top:5px}
@media(max-width:780px){header .brand-byline{font-size:11px}}

/* Requested November revisions. */
.selected-works{font:400 .48em/1.3 var(--sans);color:#73797c;white-space:nowrap}
.explore-other-projects{display:inline-block;font-size:22px;font-weight:600;padding:12px 0}
@media(min-width:781px){
.kepler-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start;max-width:850px}
.kepler-pair .map-card{min-width:0;margin:0}
.kepler-pair img{width:100%;max-height:310px;object-fit:contain}
.current-route{position:sticky;top:18px;max-height:calc(100dvh - 36px);overflow-y:auto;overscroll-behavior:contain;align-self:start;padding-bottom:20px}
.current-route nav{padding-inline:12px}
.shared-station-route{margin-top:22px}
}
@media(max-width:780px){
.route-dialog{padding:12px 4px}
.route-dialog-tools{padding-inline:10px}
.route-dialog .reference-scroll svg{width:100%;max-height:none}
.route-dialog .map-wrap .station>b{font-size:25px}
.route-dialog .map-wrap .station[data-stop=infrastructure]>b{font-size:24px}
.route-dialog .map-wrap .start-here{font-size:19px}
.route-dialog .map-wrap .station-status{font-size:19px}
}

