@font-face{font-family:"Public Sans";src:url("/static/PublicSans-latin.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{--blue:#005695;--blue-d:#00477c;--gold:#f2a900;--ink:#1b2630;--muted:#44525e;--line:#cfd8df;--bg:#f4f6f8;--card:#fff;--red:#9c1c14;--green:#14532d;--gh:132px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-bottom:calc(var(--gh) + 12px)}
body{margin:0;font:16px/1.5 "Public Sans",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);padding-bottom:var(--gh)}
a{color:var(--blue-d);text-underline-offset:2px}
a:hover{color:#002f55}
:focus-visible{outline:3px solid #0a5cff;outline-offset:2px}
.skip{position:absolute;left:8px;top:-60px;background:#fff;color:#000;padding:8px 12px;z-index:60;border:2px solid var(--blue)}
.skip:focus{top:8px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.demobar{background:#fff0bd;color:#3b2c00;border-bottom:2px solid var(--gold);font-size:13px;line-height:1.35;padding:6px 14px;text-align:center}
.top{background:var(--blue);color:#fff}
.top-in{max-width:1240px;margin:0 auto;padding:12px 16px 8px;display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.brand{display:flex;gap:12px;align-items:center}
.brand-mark{width:8px;height:38px;background:var(--gold);display:block}
.brand p{margin:0}
.brand-t{font-size:20px;font-weight:700;line-height:1.2}
.brand-s{font-size:13px;opacity:.92}
.who{display:flex;gap:8px;align-items:center;font-size:14px}
.who select{font:inherit;padding:5px 34px 5px 8px;border:1px solid #fff;border-radius:3px;background-color:#fff;color:var(--ink);max-width:210px}
.who .btn.small{background:#fff;color:var(--blue-d);border-color:#fff}
nav{background:var(--blue-d)}
.navlinks{max-width:1240px;margin:0 auto;padding:0 12px;display:flex;flex-wrap:wrap}
.navlinks a{color:#fff;text-decoration:none;padding:9px 11px;font-size:15px;border-bottom:3px solid transparent}
.navlinks a:hover{background:rgba(255,255,255,.12)}
.navlinks a[aria-current=page]{border-bottom-color:var(--gold);font-weight:700}
.menu-btn{display:none;width:100%;background:none;border:0;color:#fff;font:inherit;font-weight:600;padding:10px 16px;text-align:left}
main{max-width:1240px;margin:0 auto;padding:20px 16px 28px}
main.wide{max-width:1240px}
h1{font-size:28px;line-height:1.2;margin:4px 0 6px}
h2{font-size:20px;margin:0 0 10px;line-height:1.25}
h3{font-size:16px;margin:12px 0 6px}
.lede{font-size:17px;color:var(--muted-foreground);margin:0 0 14px;max-width:80ch}
.small{font-size:13.5px;color:var(--muted-foreground)}
.big{font-size:22px;font-weight:700;margin:2px 0}
.card{background:var(--card);border:1px solid var(--line);border-radius:4px;padding:16px;margin:14px 0}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid2>*,.grid3>*{min-width:0}
pre.json{max-width:100%}
.row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:8px 0}
.stat{background:#fff;border:1px solid var(--line);border-top:3px solid var(--blue);padding:10px 12px;border-radius:3px}
.stat p{margin:0}.stat-l{font-size:13px;color:var(--muted-foreground)}.stat-v{font-size:24px;font-weight:700;line-height:1.2}.stat-s{font-size:12.5px;color:var(--muted-foreground)}
.chip{display:inline-block;font-size:12.5px;line-height:1.3;padding:1px 8px;border-radius:10px;border:1px solid;font-weight:600;white-space:normal}
.chip.ok{background:#e6f4ec;color:#14532d;border-color:#a7d3b8}.chip.warn{background:#fff4d6;color:#664300;border-color:#e6c26b}.chip.bad{background:#fde8e6;color:#8a1c14;border-color:#e8a29b}.chip.info{background:#e5f0f9;color:#00477c;border-color:#9cc3e3}.chip.mute{background:#eef1f4;color:#34414c;border-color:#c5ced6}
.dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}
.btn{display:inline-block;font:inherit;font-weight:600;font-size:15px;background:var(--blue);color:#fff;border:2px solid var(--blue);border-radius:3px;padding:7px 14px;cursor:pointer;text-decoration:none;line-height:1.3}
.btn:hover{background:var(--blue-d);border-color:var(--blue-d);color:#fff}
.btn.ghost{background:#fff;color:var(--blue-d)}.btn.ghost:hover{background:#eaf2f9;color:var(--blue-d)}
.btn.small{font-size:13.5px;padding:4px 10px}
td .btn,.nw{white-space:nowrap}
.btn.danger{background:#9c1c14;border-color:#9c1c14}
.btns{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:10px 0 0}
.inline{display:inline;margin:0}
form.filters{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:end;margin:0 0 10px}
.filters label{display:flex;flex-direction:column;font-size:13.5px;font-weight:600;gap:3px;min-width:0;max-width:100%}
.filters .chk{flex-direction:row;align-items:center;font-weight:500;gap:6px}
input,select,textarea{font:inherit;padding:6px 8px;border:1px solid #8795a1;border-radius:3px;background:#fff;color:var(--ink);max-width:100%}
textarea{width:100%;font-family:ui-monospace,Menlo,monospace;font-size:13.5px}
.f{margin:8px 0}.f label{display:flex;flex-direction:column;font-weight:600;font-size:14px;gap:3px}.hint{margin:2px 0 0;font-size:12.5px;color:var(--muted-foreground)}
.chk{display:flex;gap:8px;align-items:center;font-size:15px}
.tw{overflow-x:auto;border:1px solid var(--line);border-radius:3px;margin:8px 0;background:#fff}
table{border-collapse:collapse;width:100%;font-size:14.5px}
th,td{padding:7px 10px;border-bottom:1px solid #e1e7ec;text-align:left;vertical-align:top}
th{background:#eaf0f5;font-size:13px;position:sticky;top:0}
td.n,th.n{text-align:right;font-variant-numeric:tabular-nums}
tbody tr:last-child td{border-bottom:0}
.empty{color:var(--muted-foreground);padding:6px 0}
ul.alerts{list-style:none;padding:0;margin:0}ul.alerts li{padding:8px 0;border-bottom:1px solid #e6ebf0}ul.alerts li:last-child{border-bottom:0}
ol.steps{padding-left:22px}ol.steps li{margin:6px 0}
dl.kv{display:grid;grid-template-columns:minmax(120px,max-content) 1fr;gap:4px 14px;margin:0}dl.kv dt{font-weight:600;color:var(--muted-foreground);font-size:14px}dl.kv dd{margin:0;overflow-wrap:anywhere}
pre.json{background:#f6f8fa;color:#14202b;border:2px solid #8795a1;padding:12px;border-radius:3px;overflow:auto;max-height:65vh;font-size:13px;line-height:1.5;margin:8px 0;white-space:pre}
code{background:#eef1f4;padding:0 4px;border-radius:2px;font-size:.92em}
.pager{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.flash{background:#e5f0f9;border:1px solid #9cc3e3;border-left:4px solid var(--blue);padding:8px 12px;margin:0 0 12px}
/* map */
figure.map{margin:8px 0;position:relative}
.map svg{display:block;width:100%;height:auto;max-height:min(72vh,calc(100vh - var(--gh) - 170px));border:1px solid var(--line);background:#f3f5f7;touch-action:pan-y;cursor:grab}
.map.compact svg{max-height:340px}
.map.zone svg{max-height:none;aspect-ratio:12/5;height:auto}
.map.zone .m-lab{font-size:calc(var(--u,1)*15px);stroke-width:calc(var(--u,1)*4px)}
.map.zone .m-zl{font-size:calc(var(--u,1)*16px);stroke-width:calc(var(--u,1)*4px)}
.map.zone .m-zone{fill-opacity:.28;stroke-width:3}
.map-held{margin:0 0 8px;font-size:16px}
.map-tools{display:flex;gap:6px;margin-bottom:6px}
.map-tools button{font:inherit;font-size:15px;min-width:44px;min-height:36px;padding:3px 10px;background:#fff;border:1px solid #8795a1;border-radius:3px;cursor:pointer}
.m-land{fill:#e9edf0}
.m-cas{stroke:#c3ccd4;stroke-width:24px}.m-cas.major{stroke:#aebac4;stroke-width:34px}
.m-rd{stroke:#fff;stroke-width:20px}.m-rd.major{stroke:#fbf3dc;stroke-width:28px}
.m-lab{fill:#3c4954;font-size:calc(var(--u,1)*11px);font-weight:600;paint-order:stroke;stroke:#fff;stroke-width:calc(var(--u,1)*3px);pointer-events:none}
.m-zl{font-weight:700;font-size:calc(var(--u,1)*12px);paint-order:stroke;stroke:#fff;stroke-width:calc(var(--u,1)*3.5px);pointer-events:none}
.m-zone{fill-opacity:.16;stroke-width:1.6;vector-effect:non-scaling-stroke}
.m-zone.z-noride,.m-zone.z-noparking{fill-opacity:.24}.m-zone.z-slow{stroke-dasharray:6 3}.m-zone.z-closure{stroke-dasharray:3 3}.m-zone.z-parking{fill-opacity:.55}.m-zone.z-deploy{fill-opacity:.07}
.m-v{stroke:#fff;stroke-width:1;vector-effect:non-scaling-stroke;fill-opacity:.9}.m-v.on_trip{fill-opacity:.4}.m-v.bad{stroke:#9c1c14;stroke-width:2}
.m-heat{fill:#005695}.m-seg{stroke:#005695;stroke-linecap:round;stroke-opacity:.8;vector-effect:non-scaling-stroke}
.m-route{fill:none;stroke:#005695;stroke-width:4;vector-effect:non-scaling-stroke;stroke-linejoin:round}.m-start{fill:#14532d;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}.m-end{fill:#9c1c14;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}
.m-inc circle{fill:#9c1c14;fill-opacity:.55;stroke:#fff;stroke-width:1;vector-effect:non-scaling-stroke}.m-inc.crash path{stroke:#9c1c14;stroke-width:3;fill:none;vector-effect:non-scaling-stroke}
.m-mark{fill:#9c1c14;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}
#draw-layer polygon{fill:#005695;fill-opacity:.22;stroke:#005695;stroke-width:3;vector-effect:non-scaling-stroke}#draw-layer polyline{fill:none;stroke:#005695;stroke-width:3;stroke-dasharray:6 4;vector-effect:non-scaling-stroke}#draw-layer circle{fill:#fff;stroke:#005695;stroke-width:2.5;vector-effect:non-scaling-stroke}#draw-layer text{font-size:12px;font-weight:700;fill:#00477c;pointer-events:none}#draw-layer .dc{pointer-events:none}
.map-info{margin:6px 0 0;font-size:14px;color:var(--ink);min-height:1.5em}.map figcaption{margin:4px 0 0}
.draw-bar{background:#e5f0f9;border:1px solid #9cc3e3;border-left:4px solid var(--blue);padding:8px 12px;margin:0 0 8px}.draw-bar p{margin:0;font-weight:600;font-size:15px}.draw-bar .btns{margin-top:6px}
.feedbar{background:#eef3f7;border-bottom:1px solid var(--line);font-size:13px}.feedbar{display:flex;gap:6px 14px;align-items:center;justify-content:space-between;flex-wrap:nowrap;padding:4px max(16px,calc((100% - 1208px)/2))}.feedbar p{margin:0;color:var(--muted-foreground)}.feedbar form{margin:0}.feedbar .btn.small{padding:2px 10px}
.draft-note{background:#fff4d6;border:1px solid #e6c26b;padding:6px 10px;margin:6px 0}
ul.plain{margin:0;padding-left:20px}ul.plain li{margin:4px 0}
.legend{display:flex;flex-wrap:wrap;gap:6px 16px;list-style:none;padding:0;margin:8px 0;font-size:13px}.legend li{display:flex;align-items:center;gap:6px}.sw{width:14px;height:14px;display:inline-block;border-radius:2px}.sw.round{border-radius:50%}
svg.bars{width:100%;height:auto;max-height:220px}.bars .ax{stroke:#8795a1}.bars .ax-t{font-size:10px;fill:#44525e}.bars .capl{stroke:#9c1c14;stroke-dasharray:5 3}.bars .minl{stroke:#664300;stroke-dasharray:2 3}
/* the guide */
.guide{position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;border-top:3px solid var(--gold);box-shadow:0 -1px 0 var(--line)}
.g-in{max-width:1240px;margin:0 auto;padding:8px 16px;display:grid;grid-template-columns:minmax(0,230px) minmax(0,1fr) auto;gap:6px 18px;align-items:center}
.g-k{margin:0;font-size:12px;font-weight:700;color:var(--blue-d);text-transform:uppercase;letter-spacing:.03em}.g-t{margin:0;font-weight:700;font-size:15px;line-height:1.25}
.g-b{max-height:88px;overflow:auto;font-size:14px;line-height:1.4}.g-b p{margin:0 0 3px}.g-flash{background:#e6f4ec;border-left:4px solid #1b7a4b;padding:2px 8px}.g-where{color:#664300}
.g-a{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.g-a form{margin:0}
.g-r{display:none;margin:0}.g-tools{display:contents}.g-hide-m{display:none}.g-hide-d{margin:0}.guide.slim .g-in{display:flex;justify-content:space-between;align-items:center;padding:5px 16px;gap:12px}.guide.slim .g-t{font-size:14px;font-weight:600}.g-more{display:none;font:inherit;font-size:13px;background:none;border:0;color:var(--blue-d);text-decoration:underline;padding:6px}
.guide.done{border-top-color:#1b7a4b}
.public .stat{border-top-color:var(--gold)}
@media (max-width:900px){.grid3{grid-template-columns:1fr}.grid2{grid-template-columns:1fr}.g-in{grid-template-columns:minmax(0,1fr) auto}.g-b{grid-column:1/-1;max-height:80px}}
@media (max-width:720px){
 body{--gh:82px}
 h1{font-size:22px;margin:0 0 4px}
 .demobar{font-size:11px;line-height:1.3;padding:4px 10px}
 .top-in{padding:6px 12px 4px;gap:4px 12px}.brand-mark{height:26px;width:6px}.brand-t{font-size:16px}.brand-s{display:none}.who{width:100%;gap:6px;font-size:12.5px}.who select{flex:1;padding:3px 34px 3px 6px;font-size:14px;min-width:0}.who .btn.small{padding:3px 10px}
 .feedbar{font-size:12px;padding:2px 12px}.feedbar .btn.small{padding:0 8px;font-size:12.5px}
 main{padding:12px 12px 20px}.lede{font-size:15.5px;margin-bottom:10px}
 .menu-btn{display:block;padding:7px 12px}.navlinks{display:none;flex-direction:column;padding:0}.navlinks.open{display:flex}.navlinks a{border-bottom:1px solid rgba(255,255,255,.16);padding:11px 16px}
 .guide .g-in{grid-template-columns:minmax(0,1fr) auto;padding:4px 12px;gap:2px 10px}.g-t{font-size:13.5px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.g-k{font-size:11px}.g-b{display:none}.guide.open .g-b{display:block;grid-column:1/-1;max-height:42vh}
 .g-hide-d{display:none}.guide.off .g-r{padding-right:96px}.g-hide-m{display:flex;margin:0;line-height:1.15}.guide .g-hide-m .btn.small{font:inherit;font-size:13px;background:none;border:0;color:var(--blue-d);text-decoration:underline;padding:0;min-height:0;line-height:1.15;font-weight:400}.g-r{display:block;grid-column:1/-1;grid-row:2;padding-right:62px;min-width:0;font-size:12.5px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.g-tools{display:flex;grid-column:2;grid-row:2;justify-self:end;gap:12px;align-items:center}.g-more{display:inline-block;padding:0;line-height:1.15}.guide.slim .g-t{display:block}.g-a{grid-column:2;grid-row:1}.guide.open .g-b{grid-row:3}.g-a{flex-wrap:nowrap;gap:6px}.g-a .btn{padding:6px 9px;font-size:13.5px;white-space:nowrap}
 .filters label{flex:1 1 150px}.filters select,.filters input:not([type=checkbox]){width:100%;min-width:0}.filters .btn{flex:0 0 auto}
 table.cards thead{display:none}
 table.cards th{position:static}
 table.cards,table.cards tbody,table.cards tbody tr,table.cards td{display:block;width:100%}
 table.cards tbody tr{border-bottom:2px solid var(--line);padding:6px 0}
 table.cards td{border:0;padding:3px 10px;display:grid;grid-template-columns:42% 1fr;gap:8px;text-align:left}
 table.cards td.n{text-align:left}
 table.cards td .cv{min-width:0;overflow-wrap:anywhere}
 table.cards td::before{content:attr(data-l);font-weight:600;color:var(--muted-foreground);font-size:13px}
 .tw{border:0;background:none}
 .map svg{max-height:max(240px,calc(100vh - var(--gh) - 215px));aspect-ratio:4/5;height:auto}.map.compact svg{aspect-ratio:auto;max-height:340px}.map.zone svg{aspect-ratio:1/1;max-height:none}.map-tools button{min-height:44px}td .btn.small,.draft-note .btn.small{min-height:40px;padding:6px 12px}.draw-bar .btn.small{min-height:40px}
}
@media print{.guide,nav,.demobar~header nav,.who,.btns,.filters,.map-tools,.skip{display:none!important}body{padding:0;background:#fff}.card{break-inside:avoid;border-color:#999}}

.proves{margin:0 0 10px;font-size:15px;max-width:80ch}

@media (max-width:360px){h1{font-size:20px}.lede{font-size:15px}.brand-t{font-size:15px}.who{font-size:12px}}
.hourline{margin:6px 0 10px;max-width:90ch}
.preview{margin:10px 0}.preview[hidden]{display:none}.preview svg{display:block;width:100%;height:150px;border:1px solid var(--line);background:#e9edf0}
.dp-st{stroke:#fff;stroke-width:20}
.preview polygon{fill:#005695;fill-opacity:.22;stroke:#005695;stroke-width:3;vector-effect:non-scaling-stroke}
.dp-dot{fill:#fff;stroke:#005695;stroke-width:2;vector-effect:non-scaling-stroke}.dp-n{font-weight:700;fill:#00477c;pointer-events:none}
#draw-preview-box{scroll-margin-top:10px}

.draft-top{background:#fff4d6;border:1px solid #e6c26b;padding:6px 10px;margin:6px 0 10px}
.draft-note strong{font-weight:700}
/* fix 4: the page foot, the folded finished bar, and a closed phone bar that carries its result and what follows from it */
.foot{max-width:1208px;margin:0 auto;padding:6px 16px 18px;font-size:13.5px;color:var(--muted-foreground)}.foot p{margin:0}.foot a{color:var(--blue-d)}
.guide.done.slim .g-in{padding:3px 16px}.guide.done.slim .g-t a{color:var(--blue-d)}
.g-r2{color:var(--muted-foreground)}.g-r2::before{content:"· "}
@media (max-width:720px){
 .guide .g-t{-webkit-line-clamp:1}
 .guide:not(.slim) .g-in{padding:2px 12px 1px;gap:0 10px}
 .g-r{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:clip;font-size:12px;line-height:1.1}
 .guide:not(.slim) .g-a .btn{padding:3px 9px;font-size:13px;position:relative}.guide:not(.slim) .g-a .btn::after{content:"";position:absolute;inset:-5px -3px}
 .guide.done.slim .g-in{padding:3px 12px}.guide.done.slim .g-t{font-size:13.5px}.foot{padding:4px 12px 14px}
}
@media (max-width:340px){.g-r2{display:none}}

/* fix 5: the seat line, the overview's start button, the export's note, whole titles and options on the phone, and a short laptop's bar */
.seatnote{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;background:#eef1f4;border:1px solid var(--line);border-left:4px solid var(--blue);padding:8px 12px;margin:0 0 12px;max-width:80ch}.seatnote p{margin:0;flex:1 1 260px}.seatnote form{margin:0}
.proves-row{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;margin:0 0 10px}.proves-row .proves{margin:0;flex:1 1 360px}
.dl-note{margin:6px 0 0;flex-basis:100%}
.g-r2::before{content:none}
.b-s{display:none}
@media (max-width:720px){
 .filters label:has(select){flex:1 1 100%}
 .b-l{display:none}.b-s{display:inline}
 figure.map[data-fitall] svg{aspect-ratio:4/3;max-height:none}
 .seatnote .btn.small{min-height:40px}
}
@media (min-width:721px) and (max-height:800px){
 .guide:not(.slim) .g-in{grid-template-columns:minmax(0,1fr) auto;gap:0 16px;padding:4px 16px}
 .guide:not(.slim) .g-h{grid-column:1;grid-row:1;display:flex;gap:10px;align-items:baseline;min-width:0}
 .guide:not(.slim) .g-t{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
 .g-b{display:none}.guide.open .g-b{display:block;grid-column:1/-1;grid-row:3;max-height:34vh}
 .g-r{display:-webkit-box;grid-column:1;grid-row:2;min-width:0;font-size:13.5px;line-height:1.25;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .guide:not(.slim) .g-a{grid-column:2;grid-row:1}
 .g-tools{display:flex;grid-column:2;grid-row:2;justify-self:end;gap:12px;align-items:center}.g-more{display:inline-block;padding:0}.g-hide-m{display:flex;margin:0}.g-hide-d{display:none}
 .guide .g-hide-m .btn.small{font:inherit;font-size:13px;background:none;border:0;color:var(--blue-d);text-decoration:underline;padding:0;min-height:0;font-weight:400}
 .guide:not(.slim) .g-a .btn{padding:4px 12px;font-size:14px}
}

/* fix 6: a one-line banner on phones, folds for the long phone lists, a saved line beside its control, street names */
.bar-s{display:none}
@media (max-width:720px){
 .demobar{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:3px 8px}
 .bar-l{display:none}.bar-s{display:inline}
}
.fold-btn{display:none}.more-card{display:none}
.saved{background:#e6f4ec;border:1px solid #a7d3b8;border-left:4px solid #1b7a4b;padding:8px 12px;margin:10px 0;scroll-margin-top:12px;scroll-margin-bottom:calc(var(--gh) + 12px)}.saved p{margin:0}
@media (max-width:720px){
 .fold-btn{display:inline-block;margin:6px 0 10px}
 .fold:not(.all) table.cards tbody tr.more{display:none}
 .fold:not(.all) .more-card{display:block;margin:0 0 6px}
}

/* fix 7 */
.caused p{margin:0}.caused ul{margin:6px 0 0;padding-left:18px}.caused li{margin:3px 0}
.map-key{margin:6px 0 4px}.map-key .ks{flex:none}
.applied{margin:10px 0 8px}
nav.pager{background:none}
@media (max-width:720px){
.navlinks.open{display:grid;grid-template-columns:1fr 1fr}
.navlinks.open a{padding:9px 14px;font-size:15px;border-right:1px solid rgba(255,255,255,.16)}
.navlinks.open a:nth-child(2n){border-right:0}
.menu-btn{padding:6px 12px}
}
.btn:active,.btn.pressed{background:#002f55;border-color:#002f55;color:#fff;box-shadow:inset 0 2px 0 rgba(0,0,0,.3)}.btn.ghost:active,.btn.ghost.pressed{background:#c4d9ea;border-color:#002f55;color:#002f55}
html.busy::before{content:"";position:fixed;left:0;top:0;height:4px;width:100%;background:var(--gold);z-index:80;transform-origin:left;animation:busy 1.6s ease-out forwards}
@keyframes busy{from{transform:scaleX(.04)}to{transform:scaleX(.92)}}
@media (prefers-reduced-motion:reduce){html.busy::before{animation:none;transform:none}}
figure.map .map-key svg.ks{display:inline-block;width:16px;height:16px;max-height:none;aspect-ratio:auto;border:0;background:none;cursor:auto;touch-action:auto;flex:none}
/* fix 8: after the tour the finished bar is a small chip in the corner (it opens to the summary link and Tour again), not a strip over the foot of every page */
.guide.done.chip{left:auto;right:10px;bottom:10px;width:auto;max-width:calc(100vw - 20px);border:1px solid var(--line);border-top:3px solid #1b7a4b;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.guide.done.chip summary{cursor:pointer;list-style:none;padding:0 14px;min-height:40px;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--blue-d)}
.guide.done.chip summary::-webkit-details-marker{display:none}
.guide.done.chip summary::after{content:"Show";font-weight:400;color:var(--muted-foreground);text-decoration:underline}
.guide.done.chip details[open] summary::after{content:"Close"}
.guide.done.chip .g-a{padding:2px 12px 10px;justify-content:flex-start}
.guide.done.chip .g-a .btn{min-height:36px;padding:6px 12px;font-size:14px}

/* fix 9 */
/* every dropdown draws its own chevron, 12 px inside the right edge, with right padding the longest option never runs under */
select{appearance:none;-webkit-appearance:none;padding-right:34px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231b2630' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;background-size:12px 8px;text-overflow:ellipsis}
/* a flagged Fleet row is marked, and comes first */
tr.flrow td{background:#fff8e1}
@media (max-width:720px){
 /* the finished chip sits in the flow at the foot of a phone page, so it never covers a line or a control */
 .guide.done.chip{position:static;width:auto;max-width:none;margin:0 12px 12px;box-shadow:none}
 body:has(.guide.done.chip){--gh:12px;padding-bottom:0}
 /* a smaller header: one-line feed bar, tighter brand and menu rows */
 .feedbar{padding:2px 12px}.feedbar p{font-size:11.5px;line-height:1.25;min-width:0}.feedbar .btn.small{white-space:nowrap;flex:none}
 .top-in{padding:4px 12px 2px;gap:2px 12px}.brand-t{font-size:15px}.brand-mark{height:20px}.who{gap:6px}.who select{padding-top:2px;padding-bottom:2px}.who label{white-space:nowrap}
 .menu-btn{padding:4px 12px}
 .proves-row{margin-bottom:6px}.lede{margin-bottom:6px}
 /* Fleet, compact: each row is three short lines (who, where, the figures) instead of six labelled lines */
 table.cmp.cards tbody tr{display:grid;grid-template-columns:auto auto 1fr;gap:0 10px;padding:6px 10px;align-items:baseline}
 table.cmp.cards td{display:block;padding:0;grid-template-columns:none}
 table.cmp.cards td::before{content:none}
 table.cmp.cards td:nth-child(1){grid-column:1/3;grid-row:1;font-weight:600}
 table.cmp.cards td:nth-child(6){grid-column:3;grid-row:1;justify-self:end}
 table.cmp.cards td:nth-child(2){grid-column:1/4;grid-row:2;color:var(--muted-foreground);font-size:13.5px}
 table.cmp.cards td:nth-child(3){grid-column:1;grid-row:3}table.cmp.cards td:nth-child(3)::after{content:" vehicles"}
 table.cmp.cards td:nth-child(4){grid-column:2;grid-row:3}table.cmp.cards td:nth-child(4)::before{content:"cap ";display:inline;font-size:inherit;font-weight:400;color:var(--muted-foreground)}
 table.cmp.cards td:nth-child(5){grid-column:3;grid-row:3}table.cmp.cards td:nth-child(5)::before{content:"min ";display:inline;font-size:inherit;font-weight:400;color:var(--muted-foreground)}
}
details.corrals{margin:12px 0}details.corrals summary{cursor:pointer;font-weight:600;color:var(--blue-d);padding:6px 0}

@media (max-width:720px){.g-r2.g-long{display:none}} /* stop 3's result names its operator and may take both lines of the closed phone bar: then the why stays in Details */

/* point and line zones, the report builder's columns, small inline forms */
.m-zline{fill:none;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:.85;vector-effect:non-scaling-stroke}
.m-zover{fill:none;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:none}
.m-zpt{fill-opacity:.35;stroke-width:2;vector-effect:non-scaling-stroke}
#draw-layer polyline.solid{stroke-dasharray:none;stroke-width:5}
.filters select{max-width:min(330px,100%)}
fieldset.cols{border:1px solid var(--line);border-radius:3px;padding:6px 10px;margin:0;flex:1 1 100%;display:flex;flex-wrap:wrap;gap:4px 16px;min-width:0}
fieldset.cols legend{font-size:13.5px;font-weight:600;padding:0 4px}
.filters .cols .chk{flex:0 1 auto}
.lform{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 6px}
.lform input{flex:1 1 90px;min-width:0;max-width:180px}
.flash.holds{margin:8px 0}
#geofile,#payloadfile{max-width:100%}
@media (max-width:720px){.filters select{max-width:100%}}

/* the press's own words, until the next page is drawn */
#working{position:fixed;left:50%;top:10px;transform:translateX(-50%);z-index:70;margin:0;padding:8px 14px;background:#1b2630;color:#fff;border-radius:4px;font-size:15px;font-weight:600;max-width:calc(100vw - 24px);white-space:nowrap;pointer-events:none}
@media print{#working{display:none}}
/* on a phone the map a zone is drawn on takes the screen's whole width, and at least 320 px of its height */
@media (max-width:720px){
 figure.map.draw>svg,figure.map.zone>svg,figure.map.draw[data-fitall]>svg{width:100vw;max-width:none;margin-left:calc(50% - 50vw);aspect-ratio:auto;height:max(330px,min(100vw,52vh));max-height:none;border-left:0;border-right:0}
}
.btn.wraps{white-space:normal;max-width:100%;overflow-wrap:break-word;text-align:center}

/* the sample streets and their source, named on the map */
.m-attr{position:relative;z-index:1;margin:-18px 1px 0 0;height:17px;text-align:right;pointer-events:none;line-height:1}.m-attr span{display:inline-block;font-size:11px;line-height:15px;color:#3c4954;background:rgba(255,255,255,.88);padding:1px 5px}
.m-clus circle{fill:#fff;fill-opacity:.88;stroke:#22303c;stroke-width:1.5px}.m-clus text{font-size:10px;font-weight:700;fill:#22303c;text-anchor:middle;pointer-events:none}
.field-err{display:block;margin-top:4px;color:#9c1c14;font-weight:600;font-size:14px}.field-err[hidden]{display:none}input[aria-invalid=true]{border-color:#9c1c14;outline:2px solid #9c1c14}
@media (max-width:720px){.guide{transition:transform .2s ease}.guide.g-away{transform:translateY(calc(100% + 4px))}}
@media (prefers-reduced-motion:reduce){.guide{transition:none}}
#draw-layer .dc{cursor:move;touch-action:none}#draw-layer .dc circle{pointer-events:all}#draw-layer .dc circle.dc-hit{fill:transparent;stroke:none}
table.cards tbody tr.pinned td{background:#f3f7fb}.pin-tag{display:inline-block;margin-left:6px;padding:1px 6px;border:1px solid #9fb6cc;border-radius:4px;font-size:12px;line-height:1.4;color:#1d3c58;background:#fff;white-space:normal}
details.filt-fold>summary{display:none}
@media (max-width:720px){details.filt-fold{margin:0 0 10px}details.filt-fold>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 40px 8px 12px;border:1px solid var(--line);border-radius:3px;background:#fff;cursor:pointer;list-style:none;position:relative;font-size:15px}details.filt-fold>summary::-webkit-details-marker{display:none}details.filt-fold>summary::after{content:"";position:absolute;right:16px;top:50%;width:8px;height:8px;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:translateY(-70%) rotate(45deg)}details.filt-fold[open]>summary::after{transform:translateY(-30%) rotate(-135deg)}details.filt-fold .ff-k{font-weight:700}details.filt-fold .ff-v{color:var(--muted-foreground);min-width:0}details.filt-fold[open]>summary{margin-bottom:8px}}
.lim{display:block;margin:2px 0 0;color:var(--muted-foreground);font-size:13px;font-weight:400}.lim.lim-bad{color:var(--red);font-weight:600}
.publish .pub-state{margin:0 0 6px}
.share-link{margin:14px 0 6px;padding:12px;border:1px solid var(--line);border-radius:4px;background:var(--bg)}
.share-link label{display:block;font-weight:600;margin-bottom:6px}
.share-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.share-row input{flex:1 1 320px;min-width:0;min-height:44px;font:inherit;font-size:14px;padding:8px 10px;border:1px solid #6b7684;border-radius:3px;background:#fff;color:var(--ink)}
.share-row .btn{min-height:44px}
.preview-h{margin:26px 0 10px;font-size:19px}
body.shared{padding-bottom:0}
.share-row .btn{display:inline-flex;align-items:center;justify-content:center}
.pub-btns{margin-top:14px}
/* fix pass 18: the program area a drawn zone must sit in; the map outside it is shaded. A shape that would be refused is said beside Create */
.m-area{pointer-events:none}.m-area-out{fill:#1f2933;fill-opacity:.08}.m-area-edge{fill:none;stroke:#5b6670;stroke-width:2;stroke-dasharray:8 6;vector-effect:non-scaling-stroke}
.draw-warn{margin:8px 0;padding:8px 12px;border:1px solid #e3b1ab;border-left:4px solid var(--red);background:#fdf2f1}.draw-err{margin:8px 0}
#draw-warn{color:#8a1810;background:#fdf2f1;font-weight:600}
