:root{font-family:Arial,"Helvetica Neue",sans-serif;color:#222;background:#f1f2f4;font-synthesis:none;--ink:#222;--muted:#777;--line:#ededed;--yellow:#ffdd2d;--blue:#1677f2;--red:#f43b39;--panel:400px;--shadow:0 4px 24px #00000014,0 1px 4px #0000000a}
*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,select,textarea{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #8ab9ff;outline-offset:3px}button[hidden],[hidden]{display:none!important}a{color:inherit}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.workspace{position:fixed;inset:0}.map-section{position:absolute;inset:0;isolation:isolate;background:#e8e9e5}.map-section #map{position:absolute;inset:0;width:100%;height:100%;background-color:#eef0eb;background-image:radial-gradient(#cfd4db .8px,transparent .8px);background-size:24px 24px}
.topbar{position:fixed;z-index:1100;top:16px;left:16px;width:var(--panel);height:76px;display:flex;align-items:center;gap:14px;background:#fff;border-radius:20px 20px 0 0;padding:18px 22px}.brand{display:flex;align-items:center;gap:9px;color:#171717;text-decoration:none;font-size:25px;font-weight:750;letter-spacing:-1.1px}.brand-icon{display:grid;place-items:center;width:31px;height:36px;background:var(--red);color:white;border-radius:12px 12px 12px 4px;transform:rotate(-7deg)}.brand-icon .icon{width:22px;height:27px;transform:rotate(7deg);stroke-width:1.8}.brand-dot{color:var(--red)}.topbar-divider{height:25px;width:1px;background:#ededed}.city-name{font-size:12px;line-height:1.4;color:#3c3c3c}.city-label{font-size:9px;display:block;color:#929292;margin-top:3px;letter-spacing:.6px}.header-actions{position:fixed;top:16px;right:20px;display:flex;gap:8px;align-items:center}.header-actions .text-button,.download-button{display:flex;align-items:center;justify-content:center;gap:7px;height:42px;padding:0 14px;border:0;border-radius:13px;background:#fff;box-shadow:0 2px 12px #00000014;font-size:12px;font-weight:500;text-decoration:none}.header-actions .text-button:hover,.download-button:hover{background:#f7f7f7}.header-actions .icon{width:17px;height:17px}.download-button{background:#fff}.download-button .icon{color:#888}
.sidebar{position:absolute;z-index:1000;left:16px;top:92px;bottom:64px;width:var(--panel);display:flex;flex-direction:column;background:#fff;border-radius:0 0 20px 20px;box-shadow:0 10px 26px #00000012;overflow:hidden}.view-switch{display:flex;gap:4px;padding:0 20px 16px;flex-shrink:0;border-bottom:1px solid #f0f0f0}.view-switch button{flex:1;padding:12px 10px;background:#f3f3f3;border:0;border-radius:11px;font-size:13px;color:#666;font-weight:600;text-align:center}.view-switch button[aria-selected=true]{background:var(--yellow);color:#222}.view-switch button span{font-size:16px;float:none;margin-left:5px}.sidebar-intro{padding:20px 22px 0}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1px;color:#999}.tiny-line{display:none}h1{font-size:24px;line-height:1.2;letter-spacing:-.7px;font-weight:700;margin:19px 0 8px}.intro-copy{font-size:13px;line-height:1.55;color:#888;margin:0 0 18px}.search-field{height:48px;display:flex;align-items:center;gap:10px;background:#f2f3f5;border:2px solid transparent;border-radius:12px;padding:0 12px;margin:0 0 18px;color:#777}.search-field:focus-within{border-color:var(--yellow);background:#fff}.search-field .icon{width:19px;height:19px;color:#777}.search-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:14px;color:#222}.search-field input::placeholder{color:#979797}.search-field kbd{font:11px Arial;border:1px solid #ddd;border-radius:4px;padding:1px 5px;color:#aaa}.stats{display:flex;gap:20px;margin:0 0 18px}.stat{display:flex;flex:1;flex-direction:column-reverse;gap:6px}.stat strong{font-size:26px;line-height:1;font-weight:650;letter-spacing:-1px;color:#222}.stat-label{font-size:11px;color:#888;display:flex;gap:5px;align-items:center}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}.signal-dot{background:var(--red)}.crossing-dot{background:#4f91e8}.filters{display:flex;gap:6px;padding:0 0 18px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}.filter{border:1px solid #e9e9e9;background:#fff;border-radius:9px;padding:9px 10px;white-space:nowrap;font-size:11px;color:#666}.filter:hover{background:#f6f6f6}.filter.active{background:#f0f5ff;border-color:#b5d3ff;color:#1769d3}
.results-panel{flex:1;min-height:0;overflow:auto;padding:0 0 12px;scrollbar-width:thin}.results-heading{display:flex;align-items:center;justify-content:space-between;padding:17px 22px 7px}.results-heading h2{font-size:12px;font-weight:500;color:#888;margin:0}.count-badge{padding:3px 7px;border-radius:5px;background:#f2f3f5;color:#888;font-size:11px;font-weight:500}.result-item{display:flex;align-items:center;gap:12px;position:relative;width:100%;padding:15px 22px;border:0;border-bottom:1px solid #f2f2f2;text-align:left;background:#fff}.result-item:hover{background:#f7f8fa}.result-icon{display:grid;place-items:center;width:38px;height:42px;background:#fff0ef;border-radius:12px;color:var(--red);flex-shrink:0}.result-icon.crossing{background:#eff5ff;color:#4c8bdc}.result-icon .icon{width:21px;height:24px}.result-copy{flex:1;min-width:0}.result-copy strong{display:block;font-size:13px;font-weight:550;line-height:1.4;color:#292929}.result-copy small{display:block;font-size:10px;color:#999;line-height:1.4;margin-top:5px}.result-arrow{width:15px;height:15px;color:#bbb}.more-button{margin:14px 22px 0;width:calc(100% - 44px);padding:12px;border:0;border-radius:10px;background:#f2f3f5;font-size:12px;color:#666}.list-message{padding:15px 22px;color:#999;font-size:13px;line-height:1.7}.list-message strong{display:block;color:#555;font-weight:550}.sidebar-footer{padding:14px 22px 17px;border-top:1px solid #f0f0f0;background:#fff;flex-shrink:0}.snapshot-label{display:flex;align-items:center;gap:6px;font-size:10px;color:#777}.snapshot-dot{width:6px;height:6px;background:#a4afbc;border-radius:50%}.sidebar-footer p{font-size:10px;display:flex;gap:8px;color:#aaa;margin:6px 0 0}.sidebar-footer button{padding:0;background:transparent;border:0;color:#777;text-decoration:underline;text-underline-offset:2px;font-size:10px}
.map-heading{position:absolute;z-index:500;top:20px;left:440px;display:flex;align-items:center;gap:10px;background:#fffffff0;backdrop-filter:blur(10px);padding:11px 15px;border-radius:14px;box-shadow:0 2px 15px #0000000c;pointer-events:none}.map-heading-icon{display:grid;place-items:center;color:#777}.map-heading strong{font-size:12px;font-weight:600;display:block}.map-heading span:not(.map-heading-icon){display:block;color:#8a8a8a;font-size:10px;margin-top:4px}.map-heading b{font-weight:400}.map-tools{position:absolute;z-index:500;right:20px;top:calc(50% - 106px);padding:5px;display:flex;flex-direction:column;gap:2px;background:#fff;border-radius:16px;box-shadow:var(--shadow)}.map-tools button{display:grid;place-items:center;width:42px;height:43px;padding:0;background:transparent;border:0;border-radius:10px;font-size:27px;line-height:1;font-weight:400}.map-tools button:hover{background:#f3f3f3}.map-tools button:disabled{opacity:.35}.map-tools .icon{width:22px;height:22px;color:#555}.tool-separator{height:1px;background:#eee;margin:4px 8px}.map-legend{position:absolute;z-index:500;left:440px;bottom:90px;display:flex;flex-wrap:wrap;gap:10px 15px;background:#fffffff2;padding:11px 14px;border-radius:12px;box-shadow:0 2px 12px #0000000a;max-width:300px}.map-legend>span{display:flex;align-items:center;gap:6px;font-size:11px;color:#555}.map-legend small{flex-basis:100%;font-size:9px;color:#999}.map-status{position:absolute;z-index:500;left:440px;bottom:50px;background:#fffffff2;border-radius:9px;padding:9px 12px;font-size:10px;color:#777;display:flex;align-items:center;gap:7px;max-width:calc(100% - 530px)}.map-status strong{font-weight:400}.status-icon{display:grid;place-items:center;border:1px solid #aaa;border-radius:50%;width:13px;height:13px;font-size:9px;flex-shrink:0}.status-separator{color:#ccc;margin:0 5px}.mobile-list-toggle{display:none}
.yandex-point,.yandex-cluster,.routing-point,.selection-halo,.location-dot{transform:translate(-50%,-50%)}.yandex-point{padding:0;width:26px;height:26px;border:0;border-radius:50%;background:transparent}.map-point{display:grid;place-items:center;background:var(--red);color:white;border:2px solid white;box-shadow:0 2px 6px #0004;width:100%;height:100%;border-radius:50%;transition:transform .15s}.map-point.crossing{background:#4f91e8}.map-point .icon{width:15px;height:15px;stroke-width:1.8}.yandex-point:hover .map-point{transform:scale(1.2)}.yandex-cluster{width:39px;height:39px;border-radius:50%;background:#ffde46;border:3px solid #fff;color:#222;font-size:13px;font-weight:700;box-shadow:0 2px 8px #0003;padding:0}.yandex-cluster.large{width:45px;height:45px;font-size:14px}.yandex-cluster.blue{background:#4f91e8;color:#fff}.selection-halo{width:44px;height:44px;border:3px solid #207cf4;background:#ffffff66;border-radius:50%;pointer-events:none}.location-dot{width:19px;height:19px;border-radius:50%;border:3px solid #fff;background:#1677f2;box-shadow:0 0 0 10px #1677f21a}.routing-point{width:34px;height:34px;pointer-events:none}.routing-point>span{display:grid;place-items:center;border:3px solid white;border-radius:50%;height:100%;width:100%;background:#1677f2;color:#fff;font-size:13px;font-weight:700;box-shadow:0 2px 10px #0004}.routing-point.end>span{background:#333}
.details-panel{flex:1;min-height:0;overflow:auto;padding:20px 22px}.back-button{display:flex;align-items:center;gap:7px;border:0;background:none;padding:0;color:#777;font-size:12px;margin-bottom:25px}.back-button .icon{width:17px;height:17px}.detail-type{display:flex;gap:6px;align-items:center;font-size:11px;color:#888}.detail-title{font-size:23px;line-height:1.3;font-weight:650;letter-spacing:-.5px;margin:12px 0}.detail-id{font-size:10px;color:#aaa}.signal-unavailable{display:flex;gap:12px;align-items:center;background:#f5f6f8;border-radius:12px;padding:16px;margin:22px 0}.unknown-lights{display:flex;flex-direction:column;gap:4px;align-items:center;width:23px;padding:7px 0;border-radius:8px;background:#dfe2e7;flex-shrink:0}.unknown-lights i{width:6px;height:6px;background:#a8adb5;border-radius:50%}.signal-unavailable strong{font-size:12px;font-weight:550}.signal-unavailable p{font-size:11px;color:#999;line-height:1.55;margin:5px 0 0}.detail-fields{font-size:12px;margin:0}.detail-fields>div{padding:13px 0;border-bottom:1px solid #eee;display:flex;gap:15px;justify-content:space-between}.detail-fields dt{color:#999}.detail-fields dd{text-align:right;max-width:65%;margin:0;line-height:1.5;color:#555}.detail-link,.detail-copy{width:100%;border:0;border-radius:10px;padding:13px;font-size:12px;text-align:center;display:flex;justify-content:center;align-items:center;gap:7px;text-decoration:none;background:#f1f5fd;color:#2674d9;margin-top:20px}.detail-link .icon{width:14px;height:14px}.detail-copy{margin-top:8px;background:#f3f3f3;color:#777}
.sidebar.route-mode>.sidebar-intro,.sidebar.route-mode>.results-panel,.sidebar.route-mode>.details-panel{display:none!important}.routing-panel{flex:1;min-height:0;overflow:auto;padding:24px 22px;scrollbar-width:thin}.routing-panel .eyebrow{font-size:10px;color:#999}.routing-panel h2{font-size:25px;letter-spacing:-.6px;line-height:1.2;font-weight:700;margin:12px 0}.route-intro{font-size:12px;color:#888;line-height:1.6;margin:0 0 22px}.route-endpoints{display:flex;flex-direction:column;gap:5px}.endpoint{position:relative;display:flex;gap:11px;align-items:center;border:2px solid transparent;background:#f3f4f6;border-radius:12px;padding:11px 10px}.endpoint:focus-within,.endpoint.picking{border-color:var(--yellow);background:#fff}.endpoint>b{display:grid;place-items:center;font-size:12px;color:white;background:#1677f2;border-radius:50%;width:24px;height:24px;flex-shrink:0}.endpoint[data-endpoint=to]>b{background:#333}.endpoint-body{flex:1;min-width:0}.endpoint label{font-size:10px;color:#999;display:block}.endpoint input{display:block;width:100%;padding:5px 0 3px;border:0;outline:0;background:transparent;font-size:13px;color:#222;text-overflow:ellipsis}.endpoint input::placeholder{color:#888}.endpoint small{display:block;font-size:9px;line-height:1.4;color:#aaa;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pick-endpoint{background:#fff;border:0;border-radius:8px;width:31px;height:32px;padding:7px;display:grid;place-items:center;flex-shrink:0;color:#777}.pick-endpoint .icon{width:17px;height:17px}.route-swap{align-self:flex-end;background:transparent;border:0;border-radius:6px;font-size:21px;padding:0 12px;color:#777;height:24px;line-height:24px;margin:0 8px}.route-swap:hover{background:#f3f3f3}.address-status{margin:0;font-size:11px;line-height:1.5;color:#9a741e}.address-status:empty{display:none}.address-credit{font-size:9px;color:#aaa;margin:10px 0}.address-suggestions{position:absolute;z-index:100;top:calc(100% + 5px);left:-2px;right:-2px;margin:0;padding:5px;background:#fff;border-radius:12px;box-shadow:0 5px 25px #0002;border:1px solid #eee;list-style:none;max-height:220px;overflow:auto}.address-suggestions li{padding:10px;border-radius:8px;cursor:pointer}.address-suggestions li:hover,.address-suggestions li[aria-selected=true]{background:#f0f5ff}.address-suggestions strong{display:block;font-size:13px;font-weight:550}.address-suggestions small{display:block;white-space:normal;font-size:10px;line-height:1.5;color:#888;margin-top:4px}.delay-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#666;margin:23px 0 8px}.delay-heading output{font-size:13px;font-weight:600;color:#222}#route-delay{width:100%;accent-color:var(--blue);height:20px;margin:0;cursor:pointer}.delay-explanation{font-size:10px;line-height:1.6;color:#aaa;margin:7px 0 19px}.calculate-route{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 16px;border:0;border-radius:12px;background:var(--yellow);color:#222;font-size:14px;font-weight:600}.calculate-route:hover:not(:disabled){background:#ffd31d}.calculate-route:disabled{background:#f1f1f1;color:#aaa}.calculate-route>span{font-size:20px;line-height:1}.route-secondary{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.route-secondary button{background:none;border:0;padding:5px 0;font-size:11px;color:#777}.route-secondary button:hover{color:var(--blue)}.route-progress{padding:20px 0;font-size:12px;color:#888}.route-error{font-size:12px;line-height:1.6;border-radius:10px;background:#fff8e7;padding:13px;color:#9a7626}.route-results{margin-top:23px}.route-legend{display:flex;gap:16px;font-size:10px;color:#999}.route-legend span{display:flex;align-items:center;gap:5px}.route-legend i{display:block;width:17px;border-top:3px solid var(--blue)}.route-legend .base-line{border-top:3px dashed #929aa6}.route-card{display:block;width:100%;text-align:left;padding:16px;border:1px solid #e7e8eb;border-radius:14px;background:#fff;color:#222;margin:12px 0}.route-card.selected{border:2px solid #1677f2;padding:15px;background:#f4f8ff}.route-card-head{font-size:12px;color:#666;display:block}.route-card>strong{font-size:29px;letter-spacing:-1px;font-weight:650;display:block;margin-top:10px;color:#222}.route-card-data{display:block;font-size:12px;color:#666;margin-top:7px}.route-card-breakdown{font-size:10px;color:#999;line-height:1.6;margin:9px 0 0}.route-saving{font-size:12px;line-height:1.6;padding:12px 14px;border-radius:10px;background:#edf5ff;color:#2874d4}.route-comparison-note{font-size:10px;color:#aaa;line-height:1.7}.route-model-note{display:flex;gap:8px;border-top:1px solid #eee;padding-top:16px;margin-top:24px}.route-model-note .icon{width:15px;height:15px;margin-top:2px;color:#aaa}.route-model-note p{font-size:10px;line-height:1.7;color:#aaa;margin:0}.route-pick-banner{position:absolute;z-index:600;top:90px;left:440px;right:90px;max-width:510px;background:#222;color:white;border-radius:14px;box-shadow:var(--shadow);padding:16px 18px;display:flex;gap:20px;align-items:center;justify-content:space-between;font-size:13px}.route-pick-banner button{font-size:12px;background:none;border:0;color:#ffde40}.map-section.picking-route #map{cursor:crosshair}.workspace.route-mode .map-legend{display:none}
.load-error{position:absolute;z-index:600;right:86px;bottom:50px;width:330px;border-radius:18px;background:white;box-shadow:var(--shadow);padding:22px}.load-error>.icon{color:#d59d27;width:24px;height:24px}.load-error h2{font-size:17px;line-height:1.3;margin:12px 0 8px;font-weight:600}.load-error p{font-size:12px;line-height:1.6;color:#888;margin:0 0 17px}.load-error button{background:var(--yellow);border:0;border-radius:9px;font-size:12px;padding:11px 13px}.load-error button.secondary{background:#f2f3f5;margin-left:6px;color:#666}.tile-warning{position:absolute;left:440px;right:90px;top:90px;border-radius:12px;background:#fff8e6;color:#8e702d;padding:15px;font-size:12px;line-height:1.6}.toast{position:fixed;z-index:2000;left:50%;bottom:45px;transform:translateX(-50%);background:#292929;color:#fff;border-radius:12px;box-shadow:0 4px 20px #0002;font-size:13px;line-height:1.5;padding:15px 20px;max-width:calc(100vw - 30px);text-align:center}.about-dialog{position:fixed;border:0;border-radius:22px;color:#222;background:white;width:calc(100% - 32px);max-width:510px;max-height:85dvh;padding:35px;box-shadow:0 20px 100px #0002;overflow:auto}.about-dialog::backdrop{background:#0005;backdrop-filter:blur(3px)}.dialog-close{position:absolute;right:16px;top:16px;display:grid;place-items:center;border:0;background:#f3f3f3;border-radius:50%;width:32px;height:32px;font-size:23px;color:#777}.dialog-close .icon{width:17px;height:17px}.about-dialog h2{font-size:28px;letter-spacing:-.8px;margin:18px 0 13px}.about-dialog h3{font-size:13px;margin:25px 0 8px}.about-dialog p{font-size:13px;line-height:1.75;color:#888}.about-numbers{display:flex;gap:35px;margin:25px 0;padding:20px;border-radius:12px;background:#f5f6f8}.about-numbers strong{font-size:28px;font-weight:600;letter-spacing:-.8px}.about-numbers span{display:block;font-size:10px;color:#999;letter-spacing:0;margin-top:5px;font-weight:400}.source-link{font-size:12px;display:flex;align-items:center;gap:7px;color:var(--blue);text-underline-offset:3px}.source-link .icon{width:14px;height:14px}.about-credit{font-size:10px;color:#aaa;border-top:1px solid #eee;margin-top:25px;padding-top:17px;line-height:1.8}.noscript{position:fixed;z-index:3000;top:25%;left:20%;right:20%;padding:25px;background:white;border-radius:16px;line-height:1.7}
@media(min-width:1700px){:root{--panel:420px}.map-heading,.map-status,.map-legend,.route-pick-banner,.tile-warning{left:460px}}
@media(max-width:1200px){:root{--panel:365px}.map-heading,.map-status,.map-legend,.route-pick-banner,.tile-warning{left:400px}.header-actions .text-button span,.download-button span{display:none}.header-actions .text-button,.download-button{padding:0;width:42px}.header-actions{gap:7px}.map-status{max-width:calc(100% - 470px)}.load-error{width:300px}}
@media(max-width:760px), (max-height:500px) and (pointer:coarse){
  :root{--panel:340px}.topbar{top:12px;left:12px;width:calc(100% - 82px);max-width:400px;height:58px;border-radius:16px;padding:12px 15px;box-shadow:var(--shadow);gap:12px}.brand{font-size:22px;gap:8px}.brand-icon{width:27px;height:31px;border-radius:10px 10px 10px 3px}.brand-icon .icon{width:18px;height:23px}.topbar-divider{height:23px}.city-name{font-size:11px}.city-label{font-size:8px;letter-spacing:.2px}.header-actions{top:12px;right:12px;display:block}.header-actions .text-button,.download-button{display:none}.header-actions #about-button{display:flex;width:45px;height:45px;border-radius:13px;margin-top:6px}.sidebar{display:none;left:0;right:0;top:auto;bottom:0;width:100%;height:54%;border-radius:22px 22px 0 0;box-shadow:0 -6px 30px #0002;padding-top:14px}.sidebar:before{content:"";width:36px;height:4px;border-radius:4px;background:#ddd;position:absolute;top:6px;left:calc(50% - 18px)}.sidebar.mobile-open{display:flex}.view-switch{padding:7px 16px 12px;gap:6px}.view-switch button{font-size:13px;padding:11px}.sidebar-intro{padding:14px 18px 0}.sidebar-intro>.eyebrow,h1,.intro-copy,.stats{display:none}.search-field{height:44px;margin:0 0 12px}.search-field input{font-size:16px}.search-field kbd{display:none}.filters{padding-bottom:13px}.filter{font-size:11px;padding:8px 11px}.results-heading{padding:13px 18px 5px}.result-item{padding:13px 18px}.result-copy strong{font-size:13px}.result-copy small{font-size:10px}.sidebar-footer{display:none}.map-heading{top:80px;left:12px;padding:10px 13px;border-radius:12px;max-width:calc(100% - 86px)}.map-heading strong{font-size:11px}.map-heading span:not(.map-heading-icon){font-size:9px}.map-heading-icon{display:none}.map-tools{right:12px;top:calc(44% - 70px);border-radius:14px;padding:3px}.map-tools button{width:36px;height:38px;font-size:25px}.map-tools .icon{width:20px;height:20px}.mobile-list-toggle{position:absolute;z-index:1200;bottom:50px;left:50%;transform:translateX(-50%);display:flex;gap:9px;align-items:center;justify-content:center;background:#fff;border:0;border-radius:14px;box-shadow:var(--shadow);padding:14px 18px;font-size:13px;font-weight:550;white-space:nowrap}.mobile-list-toggle .icon{width:18px;height:18px;color:#666}.mobile-list-toggle b{padding:3px 6px;border-radius:5px;background:#f1f2f4;font-size:10px;color:#888;font-weight:400}.workspace.has-mobile-list .mobile-list-toggle{bottom:calc(54% + 54px)}.map-status{left:12px;bottom:108px;max-width:calc(100% - 80px);font-size:9px;padding:8px 10px}.map-legend{display:none}.workspace.has-mobile-list .map-status,.workspace.has-mobile-list .map-heading{display:none}.workspace.has-mobile-list #map{height:46%}.workspace.has-mobile-list .map-tools{top:calc(23% - 65px)}.workspace.has-mobile-list .map-tools button{height:31px}.workspace.has-mobile-list .map-tools #fit-button,.workspace.has-mobile-list .tool-separator{display:none}.routing-panel{padding:19px 18px 30px}.routing-panel h2{font-size:23px;margin:10px 0}.route-intro{font-size:12px;margin-bottom:17px}.routing-panel .eyebrow{font-size:9px}.endpoint{padding:10px}.endpoint input{font-size:16px}.endpoint label{font-size:10px}.endpoint small{font-size:9px}.address-suggestions strong{font-size:14px}.address-suggestions small{font-size:11px}.delay-heading{font-size:12px;margin-top:20px}.calculate-route{padding:14px 16px}.route-card>strong{font-size:28px}.route-pick-banner{top:133px;left:12px;right:65px;max-width:none;padding:13px;font-size:12px}.load-error{bottom:160px;left:12px;right:68px;width:auto;padding:18px;border-radius:15px;max-width:360px}.load-error h2{font-size:15px}.load-error p{font-size:11px}.load-error button{font-size:11px;padding:10px}.load-error>.icon{display:none}.workspace.has-mobile-list .load-error{display:none}.details-panel{padding:18px}.detail-title{font-size:22px}.detail-fields{font-size:12px}.about-dialog{padding:29px 24px}.about-dialog .eyebrow{display:block}.toast{bottom:70px;font-size:12px}.noscript{left:10%;right:10%}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Railway locations have their own type color; actual barrier status is shown in the card. */
.railway-dot{background:#7652bd}.result-icon.railway{color:#7652bd;background:#f1ecfa}.map-point.railway{background:#7652bd}.stats{gap:12px}.stat{min-width:0;flex:1}.stat-label{font-size:10px;white-space:nowrap}.filters{flex-wrap:wrap;gap:6px}.filter{font-size:11px;padding:9px 11px}.railway-data-note{font-size:10px;line-height:1.6;color:#888;margin:0 0 13px}.railway-details{margin:18px 0 24px}.railway-status{padding:15px;background:#f6f5f9;border-radius:12px}.railway-state{font-size:16px;display:block;color:#74727b}.railway-state[data-state=open]{color:#23824c}.railway-state[data-state=closed]{color:#c33b3b}.railway-freshness{font-size:11px;color:#85828b;line-height:1.6;margin:8px 0 0}.railway-details h3{font-size:17px;margin:24px 0 7px}.railway-timezone{font-size:11px;color:#888;margin:0 0 18px}.railway-timeline{position:relative;height:30px;border-radius:7px;overflow:hidden;background:repeating-linear-gradient(135deg,#eeeef2 0,#eeeef2 5px,#f8f8fa 5px,#f8f8fa 10px);border:1px solid #e3e3e9}.railway-closure{position:absolute;top:0;bottom:0;min-width:2px;background:#e96767}.railway-axis{display:flex;justify-content:space-between;font-size:10px;color:#888;margin-top:7px}.railway-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:10px;color:#777;margin:16px 0}.railway-legend span{display:flex;gap:6px;align-items:center}.railway-legend span:before{content:'';width:9px;height:9px;border-radius:2px;background:#e96767}.railway-legend .unknown-key:before{background:#e7e7ec}.railway-empty{padding:14px;background:#f6f6f8;border-radius:10px;font-size:12px;color:#777}.railway-window{padding:14px 0;border-bottom:1px solid #eee;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.railway-window strong{display:block;font-size:12px}.railway-window p{margin:5px 0}.railway-window a{color:#1677f2;font-size:11px}.railway-plan-active{color:#a55339}.railway-plan-note{font-size:11px;color:#999;line-height:1.7;margin-top:16px}
@media(max-width:760px), (max-height:500px) and (pointer:coarse){.railway-data-note{font-size:10px;margin-bottom:9px}.filters{padding-bottom:8px}.filter{padding:8px 10px;font-size:10px}.railway-details h3{font-size:16px}.railway-state{font-size:15px}}
.sidebar.has-selection>.sidebar-intro{display:none}
.workspace:not(.objects-visible) .map-legend,.workspace:not(.objects-visible) .map-status{display:none}
.map-tools #toggle-map-objects[aria-pressed=true]{background:#fff0a6}

/* On phones the public panel is for routing or a tapped map point. */
@media(max-width:760px), (max-height:500px) and (pointer:coarse){
  .sidebar>.view-switch,.sidebar>.sidebar-intro,.sidebar>#results-panel{display:none!important}
  .mobile-list-toggle b{display:none}
}

/* Signal phases are shown only when backed by a current API response. */
.header-actions a.text-button{text-decoration:none}.signals-details{margin:18px 0}.scheme-estimate-note{font-size:11px;line-height:1.7;color:#9b8149;background:#fff9e9;border-radius:10px;padding:12px 14px}.signal-detail-card{display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #eee}.signal-detail-card.is-section{margin-left:18px;padding:12px 0}.signal-lamps{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;width:25px;min-height:57px;background:#353b43;border-radius:8px;padding:7px;flex-shrink:0}.signal-lamps>i{display:block;width:8px;height:8px;border-radius:50%;background:#555b62}.signal-lamps.state-red .lamp-red,.signal-lamps.state-red_yellow .lamp-red{background:#f25c62;box-shadow:0 0 5px #f25c6277}.signal-lamps.state-yellow .lamp-yellow,.signal-lamps.state-red_yellow .lamp-yellow,.signal-lamps.state-flashing_yellow .lamp-yellow{background:#ffda55}.signal-lamps.state-green .lamp-green,.signal-lamps.state-flashing_green .lamp-green{background:#48c27f;box-shadow:0 0 5px #48c27f77}.is-section .signal-lamps{min-height:31px;background:#edeff2;color:#a5abb4}.is-section .signal-lamps.state-green{background:#e6f7ed;color:#2caa66}.section-arrow{font-size:22px;font-weight:500}.signal-detail-body{flex:1;min-width:0}.signal-detail-body>strong{display:block;font-size:12px;line-height:1.5}.signal-detail-body>small{display:block;font-size:9px;color:#929ba7;line-height:1.6;margin-top:3px}.signal-state-text{display:block;font-size:12px;margin-top:7px;color:#69727e}.signal-state-text.state-red,.signal-state-text.state-red_yellow{color:#d14a54}.signal-state-text.state-green,.signal-state-text.state-flashing_green{color:#29945a}.signal-state-text.state-yellow{color:#b99424}.signal-detail-timer{font-size:25px;color:#39424f;letter-spacing:-1px;font-weight:600;min-width:46px;text-align:right}.signal-detail-timer small{display:block;font-size:9px;color:#a1a8b2;letter-spacing:0;font-weight:400;margin-top:2px}.yandex-point.has-signal{width:auto;height:auto;display:flex;flex-direction:column;gap:3px;border-radius:8px;white-space:nowrap;align-items:center}.signal-map-chip{display:flex;align-items:center;justify-content:center;gap:5px;min-height:25px;background:#fff;color:#48505d;border:2px solid white;border-radius:8px;padding:2px 5px;box-shadow:0 2px 9px #0004;font-size:12px;line-height:1}.signal-map-chip.estimated{border-style:dashed;border-color:#d4dbe5}.signal-map-chip b{font-size:12px;min-width:13px;font-weight:700}.signal-map-chip small{font-size:10px;color:#9da6b3}.signal-bearing{display:block;font-size:16px;line-height:1;color:#4d5b6e}.signal-color{display:block;width:8px;height:8px;border-radius:50%;background:#b5bbc6}.state-red .signal-color{background:#e9535e}.state-red_yellow .signal-color{background:linear-gradient(90deg,#e9535e 50%,#f2c44c 50%)}.state-green .signal-color,.state-flashing_green .signal-color{background:#31ad67}.state-yellow .signal-color,.state-flashing_yellow .signal-color{background:#e9bd36}.map-section-signal{font-size:16px;line-height:1;color:#b1b8c2;border-left:1px solid #e7e9ee;padding-left:4px}.map-section-signal.state-green{color:#2ba566}.signal-extra-count{font-size:9px;background:#fff;color:#7b8796;border-radius:4px;padding:3px 5px;box-shadow:0 2px 6px #0002}
@media(max-width:760px), (max-height:500px) and (pointer:coarse){.signal-detail-card{gap:9px}.signal-detail-timer{font-size:23px}.signal-detail-body>strong{font-size:12px}}

.vehicle-settings{margin:18px 0;padding:15px;background:#f6f8fb;border:1px solid #e5eaf1;border-radius:13px}.vehicle-settings>label{display:block;font-size:12px;font-weight:600;color:#536172;margin:10px 0 7px}.vehicle-settings>label:first-child{margin-top:0}.vehicle-settings input,.vehicle-settings select{display:block;width:100%;box-sizing:border-box;margin-top:6px;min-height:40px;padding:9px 11px;border:1px solid #dce3ec;border-radius:9px;background:#fff;font:13px Arial,sans-serif;color:#334153}.vehicle-settings .vehicle-hint{font-size:10px;line-height:1.6;color:#8894a4;margin:8px 0 12px}.vehicle-settings details{border-top:1px solid #e0e6ef;border-bottom:1px solid #e0e6ef;padding:12px 0;margin:12px 0}.vehicle-settings summary{font-size:12px;cursor:pointer;color:#63768f;min-height:22px}.vehicle-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.vehicle-grid label{font-size:11px;line-height:1.5;color:#7e8998}.vehicle-grid input{margin-top:7px}.route-average-speed{display:block;margin-top:11px;color:#8b96a5;font-size:11px}.vehicle-settings .traffic-source-note{margin-bottom:0}.vehicle-settings input:focus-visible,.vehicle-settings select:focus-visible{outline:3px solid #a5c9ff;outline-offset:2px}@media(max-width:700px){.vehicle-settings input,.vehicle-settings select{font-size:16px;min-height:44px}.vehicle-settings summary{min-height:32px;padding-top:4px}}

@media(max-width:760px), (max-height:500px) and (pointer:coarse){.workspace .map-section>.watch-map-button{top:130px;left:12px;right:auto;max-width:calc(100% - 130px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
.passenger-forecast{margin:25px 0;border-top:1px solid #e7e9ee;padding-top:6px}.passenger-forecast p{font-size:12px;line-height:1.7;color:#818a97}.passenger-forecast-note{background:#fff7e5;border-radius:10px;padding:12px}.passenger-forecast-event{padding:14px 0;border-bottom:1px solid #eee}.passenger-forecast-event strong{font-size:12px;color:#a66d32}.passenger-forecast-event p{margin:6px 0}.passenger-attribution{display:block;font-size:12px;color:#818a97;margin:18px 0 8px;line-height:1.7}.passenger-forecast-updated{display:block;font-size:10px;color:#929ba7;margin-top:12px;line-height:1.6}.passenger-show-more{border:0;background:#f0f3f8;border-radius:9px;padding:12px;margin-top:12px;font-size:12px;min-height:44px}.passenger-forecast iframe{max-width:100%;display:block}
.passenger-forecast{margin:18px 0 22px;border-top:0;padding-top:0}.railway-details .passenger-forecast h3{margin-top:18px}.passenger-forecast-note{padding:10px 12px;margin:8px 0 12px}.passenger-next-window{display:grid;gap:7px;padding:14px;background:#fff4df;border:1px solid #f5e3bc;border-radius:12px;margin-bottom:15px}.passenger-next-window span{font-size:12px;color:#835f29}.passenger-next-window strong{font-size:17px;line-height:1.4;color:#5c431e;overflow-wrap:anywhere}.passenger-next-window small{font-size:10px;color:#846e4e}.passenger-timeline .railway-closure{background:#dfa638}.passenger-legend .planned-key:before{background:#dfa638}.passenger-legend{margin:12px 0}.passenger-method{margin:12px 0;color:#818a97;font-size:12px}.passenger-method summary{padding:10px 0;cursor:pointer;min-height:44px;box-sizing:border-box}.passenger-forecast h4{font-size:12px;color:#555;margin:17px 0 0}.passenger-attribution{margin-top:12px}.passenger-forecast-event{padding:11px 0}
.passenger-forecast .passenger-horizon{font-size:10px;margin:0 0 7px}
.route-railway-attribution{display:block;font-size:10px;color:#aaa;line-height:1.7;margin:12px 0}.route-comparison-note a{color:#1677f2}

/* Interactive railway timelines: hover, keyboard and touch inspection. */
.railway-timeline-view{position:relative;margin:0 0 12px}.interactive-timeline{cursor:crosshair;touch-action:pan-y}.interactive-timeline:focus-visible{outline:3px solid #3185ff;outline-offset:3px}.railway-timeline-cursor{position:absolute;inset-block:0;width:2px;background:#252a34;pointer-events:none;z-index:2;transform:translateX(-1px);box-shadow:0 0 0 1px #fff9}.railway-timeline-hint{display:block;margin-top:7px;font-size:10px;line-height:1.5;color:#8b919c}.timeline-touch-hint{display:none}.railway-timeline-tooltip{position:fixed;top:var(--timeline-tooltip-top,0);left:var(--timeline-tooltip-left,0);right:auto;width:var(--timeline-tooltip-width,320px);max-height:calc(100dvh - 24px);overflow-y:auto;z-index:30;padding:13px 14px;border:1px solid #e1e5eb;border-radius:12px;background:#fff;box-shadow:0 8px 28px #1b273b26;pointer-events:none;overflow-wrap:anywhere;color:#303743}.timeline-tooltip-heading{display:block;font-size:13px;line-height:1.5}.timeline-tooltip-moment{display:block;margin:3px 0 9px;font-size:11px;color:#7e8794}.timeline-tooltip-details{display:grid;gap:7px;font-size:12px;line-height:1.55}.timeline-tooltip-range{display:block;font-size:13px;line-height:1.6;color:#a66d32}.timeline-tooltip-duration{color:#707b89;font-size:11px}.timeline-tooltip-train{display:grid;gap:3px;padding-top:8px;border-top:1px solid #edf0f4}.timeline-tooltip-details small{font-size:10px;line-height:1.6;color:#7d8795}.timeline-tooltip-caution{border-top:1px solid #edf0f4;padding-top:7px}.railway-timeline-cursor[hidden],.railway-timeline-tooltip[hidden]{display:none}
@media(hover:none),(max-width:760px){.timeline-desktop-hint{display:none}.timeline-touch-hint{display:inline}.railway-timeline-tooltip{position:relative;top:auto;left:auto;right:auto;width:auto;max-height:none;overflow:visible;margin-top:10px;box-shadow:none;background:#fafbfc}.interactive-timeline{height:38px}}

/* Readable closure schedule: explicit closing/opening times, no hover required. */
.passenger-schedule .passenger-next-clear{margin:10px 0 12px;padding:15px;border-radius:14px;gap:12px}.passenger-next-clear>.passenger-next-label{font-weight:650;font-size:12px;color:#835f29}.closure-times{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:9px;align-items:center}.closure-time-column{display:grid;gap:5px;min-width:0}.closure-times .closure-time-label{display:block;font-size:11px;line-height:1.4;color:#767e8a;min-height:30px}.closure-times time{display:block;font-variant-numeric:tabular-nums;font-size:27px;line-height:1.1;letter-spacing:-.7px;font-weight:750;color:#30343d}.closure-times .closure-time-day{display:block;font-size:10px;line-height:1.4;color:#858d99;overflow-wrap:anywhere}.closure-times .closure-times-arrow{color:#b4bac2;font-size:19px;align-self:center}.passenger-next-clear .closure-times time{font-size:32px;color:#604721}.passenger-next-clear .closure-time-label{color:#927349}.passenger-next-clear .closure-time-day{color:#947b58}.passenger-next-clear>.passenger-relative-time{display:block;padding-top:10px;border-top:1px solid #eed9b8;font-size:11px;line-height:1.6;color:#866b43}.passenger-schedule .passenger-forecast-note{font-size:11px;line-height:1.6;margin:8px 0 13px;padding:0;background:none;color:#8a919b}.passenger-schedule-controls{display:grid;gap:10px;margin:12px 0 17px}.passenger-schedule-controls[hidden]{display:none}.passenger-quick-days{display:flex;gap:6px}.passenger-quick-days button{flex:1;padding:9px 7px;border:1px solid #e7e9ed;border-radius:9px;background:#fff;font-size:12px;font-weight:550;color:#707986;cursor:pointer}.passenger-quick-days button[aria-pressed=true]{background:#fff4cf;border-color:#f7d766;color:#604a1a}.passenger-schedule .passenger-date-label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;font-size:11px;color:#929aa5}.passenger-schedule .passenger-date{width:100%;min-width:0;height:39px;border:1px solid #e1e5eb;border-radius:9px;background:#fff;padding:8px 10px;font-size:13px;color:#404752}.passenger-view-switch{display:flex;padding:3px;border-radius:10px;background:#f2f3f5;gap:3px}.passenger-view-switch button{flex:1;border:0;border-radius:8px;background:none;padding:9px;font-size:12px;color:#7c8390;cursor:pointer}.passenger-view-switch button[aria-pressed=true]{background:#fff;color:#30343d;font-weight:650;box-shadow:0 1px 4px #252e3e12}.passenger-window-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:14px 0 11px}.passenger-window-heading h4{font-size:13px;margin:0;color:#454c58}.passenger-window-heading>span{font-size:10px;color:#98a0ac}.passenger-closure-window{padding:13px 14px;margin:0 0 10px;background:#fff;border:1px solid #e5e8ed;border-radius:13px}.closure-window-header{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px;color:#838c99;font-size:11px}.closure-duration{padding:4px 6px;background:#f6f1e6;color:#94723c;border-radius:6px;font-size:10px;white-space:nowrap}.passenger-window-trains{margin-top:12px;border-top:1px solid #edf0f3;padding-top:10px}.passenger-window-trains>summary{cursor:pointer;color:#9099a6;font-size:10px;line-height:1.5}.passenger-window-trains .passenger-forecast-event{padding:11px 0 2px;border-bottom:0}.passenger-window-trains .passenger-forecast-event strong{color:#606a79;font-size:11px;font-weight:600}.passenger-window-trains .passenger-forecast-event p,.passenger-window-trains .passenger-forecast-event small{font-size:10px;line-height:1.6;margin:5px 0;color:#919ba8}.passenger-quick-days button:focus-visible,.passenger-view-switch button:focus-visible{outline:2px solid #3185ff;outline-offset:2px}.passenger-schedule .passenger-show-more{width:100%;padding:11px;border-radius:9px;border:1px solid #e5e8ed;background:#f8f9fb;font-size:12px;color:#687586;cursor:pointer}
@media(max-width:760px), (max-height:500px) and (pointer:coarse){.passenger-next-clear .closure-times time{font-size:30px}.closure-times time{font-size:26px}.passenger-schedule .passenger-date{font-size:16px}.passenger-quick-days button{min-height:40px}.passenger-view-switch button{min-height:39px}.passenger-schedule .passenger-next-clear{padding:14px}.passenger-closure-window{padding:13px}}
