.station-workspace{padding:22px 24px 18px;--map-blue:#0969be;--map-border:#dce4ee}.station-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.station-heading h1{font-size:28px}.station-heading p{font-size:13px;color:#64758b;margin:8px 0 0}.workspace-link{font-size:13px;white-space:nowrap}.station-filters{display:grid;grid-template-columns:minmax(230px,2fr) repeat(4,minmax(110px,1fr)) auto;gap:9px;padding:14px;background:#fff;border-radius:12px}.station-filters label{margin:0;min-width:0}.station-filters input,.station-filters select{font-size:12px;height:42px;background:#f8fafc;border-color:#e2e8f0}.station-filters button,.station-results-bar button,.map-controls button,.map-controls select{font-family:inherit;cursor:pointer;border:1px solid var(--map-border);background:white;border-radius:7px;color:#28435f;padding:9px 12px;font-size:12px}.station-filters button[aria-expanded=true]{background:#eaf3ff;color:#0969be}.extra-filters{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:12px}.extra-filters label{font-size:12px;color:#526780}.extra-filters select{margin-top:6px}.station-results-bar{display:flex;align-items:center;gap:15px;font-size:12px;padding:12px 2px}.station-results-bar #reset-filters{padding:4px;border:0;background:transparent;color:#526780}.station-view-toggle{margin-left:auto;display:flex;gap:3px}.station-view-toggle button[aria-pressed=true]{background:#0969be;color:#fff;border-color:#0969be}.station-canvas{position:relative;display:grid;grid-template-columns:285px minmax(0,1fr);height:calc(100vh - 315px);min-height:480px;background:#fff;border:1px solid var(--map-border);border-radius:12px;overflow:hidden}.station-list-panel{overflow:auto;border-right:1px solid var(--map-border);background:#fff;scrollbar-width:thin}.station-result{width:100%;text-align:left;border:0;border-bottom:1px solid #e9eef5;background:white;padding:17px 18px;cursor:pointer;font-family:inherit;color:#152c49;display:block}.station-result:hover{background:#f3f7fc}.station-result[aria-pressed=true]{background:#eaf3ff;box-shadow:inset 3px 0 #0969be}.station-result strong{font-size:13px;line-height:1.5;display:block}.station-result small{display:block;font-size:11px;color:#63758c;margin-top:6px;line-height:1.5}.station-result .result-purpose{color:#0969be}.station-result .location-warning{color:#916521}.station-map-panel{position:relative;min-width:0;overflow:hidden}.station-workspace #station-map{height:100%;min-height:0;margin:0;border-radius:0;background:#edf1ed}.map-controls{position:absolute;right:12px;top:12px;z-index:500;display:flex;flex-direction:column;align-items:stretch;gap:7px;max-width:175px}.map-controls label{background:#fff;padding:8px;border-radius:8px;font-size:10px;color:#526780;margin:0;box-shadow:0 2px 8px #172a4310}.map-controls select{margin-top:4px;width:100%;padding:6px;border:0;background:#f2f5f9}.map-controls button{box-shadow:0 2px 8px #172a4310}.station-legend{position:absolute;bottom:28px;left:10px;right:10px;z-index:500;width:fit-content;max-width:calc(100% - 20px);padding:9px 12px;border-radius:8px;background:#fffffff2;font-size:10px;color:#38526c;display:flex;flex-wrap:wrap;gap:6px 12px;pointer-events:none}.station-legend small{flex-basis:100%;font-size:10px;color:#6a7786}.map-fallback{position:absolute;left:10px;top:10px;right:200px;z-index:500;background:#fff5dc;padding:12px;font-size:12px;border-radius:8px}.station-cluster,.station-symbol{width:34px;height:34px;display:grid;place-items:center;border:3px solid white;border-radius:50%;background:#0969be;color:white;box-shadow:0 2px 8px #172a4350;font-size:16px;font-weight:700}.station-symbol.approximate{border-style:dashed}.station-symbol.selected{background:#e99318;width:40px;height:40px;box-shadow:0 0 0 4px #ffad3733}.station-cluster{background:#fff;color:#0969be;border-color:#c7def8;font-size:13px;box-shadow:0 0 0 4px #0969be1c}.station-marker-icon{background:transparent;border:0}.station-canvas.has-selection{grid-template-columns:260px minmax(280px,1fr) minmax(350px,410px)}.station-inspector{background:#fff;overflow:auto;border-left:1px solid var(--map-border);z-index:800;scrollbar-width:thin}.inspector-heading{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;padding:20px 20px 10px}.inspector-heading small{font-size:10px;letter-spacing:.5px;color:#63758c}.inspector-heading h2{font-size:20px;line-height:1.35;margin:6px 0}.inspector-heading button{font-size:28px;line-height:1;border:0;background:#f1f5f9;border-radius:7px;color:#63758c;cursor:pointer;padding:4px 9px}.inspector-heading h2:focus{outline:none}#station-summary{padding:0 20px 12px;font-size:12px;color:#63758c}#station-summary p{margin:5px 0}.station-badge{display:inline-block;padding:5px 8px;background:#edf4fc;color:#315e8b;border-radius:5px;font-size:10px;margin:4px 5px 0 0}.station-badge.warning{background:#fff4db;color:#8d671e}.inspector-tabs{display:flex;flex-wrap:wrap;gap:5px;padding:12px 16px;border-block:1px solid #e9eef5;position:sticky;top:0;z-index:2;background:#fff}.inspector-tabs button{border:0;border-radius:6px;background:#f3f6fa;color:#526780;font-size:11px;padding:8px;cursor:pointer;font-family:inherit}.inspector-tabs button[aria-selected=true]{background:#0969be;color:white}#station-detail{padding:20px;font-size:12px;line-height:1.65;overflow-wrap:anywhere}#station-detail h3{font-size:14px;margin:0 0 12px}#station-detail p{white-space:pre-line;margin:0 0 15px}#station-detail dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:9px 12px;margin:0 0 20px}#station-detail dt{color:#6b7c91}#station-detail dd{margin:0}.station-actions{padding:16px 20px;display:flex;flex-wrap:wrap;gap:12px;border-top:1px solid #e9eef5;font-size:11px}.station-equipment{padding:14px;background:#f6f9fc;border-radius:9px;margin-bottom:10px}.station-equipment>strong{display:block;line-height:1.5}.station-equipment small{display:block;color:#63758c;margin:5px 0}.equipment-children{margin:12px 0 0;padding-left:12px;border-left:2px solid #d7e4f3}.equipment-children .station-equipment{background:#fff}.station-files{display:grid;gap:12px}.station-file{padding:12px;border:1px solid #e4eaf1;border-radius:9px}.station-file img{display:block;width:100%;max-height:220px;object-fit:contain;margin-bottom:10px;border-radius:5px}.station-file small{display:block;color:#63758c}.station-history{padding:0 0 12px;margin:0 0 12px;border-bottom:1px solid #e9eef5}.station-empty{padding:28px 18px;color:#63758c;text-align:center;font-size:13px}.station-note{color:#63758c;background:#f4f7fb;border-radius:8px;padding:14px}.station-scheme-node{border:1px solid #dce4ee;padding:12px;border-radius:8px;margin-bottom:10px;overflow-wrap:anywhere}.station-scheme-node .equipment-children{margin-bottom:0}.sidebar-collapse{font:inherit;background:transparent;color:#acbdd2;border:0;cursor:pointer;text-align:left;font-size:11px;padding:8px 14px}.workspace.nav-collapsed{grid-template-columns:56px minmax(0,1fr)}.nav-collapsed .sidebar{padding:10px 4px}.nav-collapsed .sidebar>*:not(.sidebar-collapse){display:none}.nav-collapsed .sidebar-collapse{font-size:0;padding:14px}.nav-collapsed .sidebar-collapse:after{content:'☰';font-size:20px}.station-canvas.is-expanded{position:fixed;inset:12px;z-index:1500;height:auto;min-height:0;border-radius:12px;box-shadow:0 0 0 30px #13203966}.station-canvas[data-view=list]:not(.has-selection){grid-template-columns:1fr}.station-canvas[data-view=list]:not(.has-selection) .station-map-panel{display:none}.station-canvas[data-view=list]:not(.has-selection) #station-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.station-canvas[data-view=list].has-selection{grid-template-columns:minmax(0,1fr) minmax(350px,440px)}.station-canvas[data-view=list].has-selection .station-map-panel{display:none}
@media(max-width:1450px){.station-filters{grid-template-columns:minmax(220px,2fr) repeat(2,minmax(120px,1fr))}.station-canvas.has-selection{grid-template-columns:240px minmax(0,1fr)}.station-canvas.has-selection .station-inspector{position:absolute;right:0;top:0;bottom:0;width:min(420px,calc(100% - 255px));box-shadow:-6px 0 25px #172a4314}.station-canvas[data-view=list].has-selection{grid-template-columns:1fr 420px}.station-canvas[data-view=list].has-selection .station-inspector{width:420px}.station-workspace{padding:20px}.station-heading h1{font-size:25px}}
@media(max-width:1000px){.station-canvas{grid-template-columns:230px minmax(0,1fr)}.station-canvas.has-selection .station-inspector{width:min(400px,100%)}.station-canvas[data-view=list]:not(.has-selection) #station-list{grid-template-columns:repeat(2,minmax(0,1fr))}.station-heading p{max-width:350px}}
@media(max-width:760px){.sidebar-collapse{display:none}.station-workspace{padding:14px 12px}.station-heading{margin-bottom:14px;gap:12px}.station-heading h1{font-size:23px}.station-heading p{font-size:11px;line-height:1.5}.workspace-link{font-size:11px;max-width:90px;white-space:normal;text-align:right}.station-filters{padding:10px;grid-template-columns:1fr 1fr;gap:8px}.station-search{grid-column:1/-1}.station-filters>label:not(.station-search){display:none}.station-filters.is-open>label{display:block}.station-filters #more-filters{grid-column:1/-1;text-align:left}.extra-filters{grid-template-columns:1fr 1fr}.station-results-bar{font-size:10px;gap:5px;flex-wrap:wrap}.station-results-bar #result-count{flex:1;min-width:170px}.station-results-bar #reset-filters{font-size:10px}.station-view-toggle{width:100%;margin-top:5px}.station-view-toggle button{flex:1}.station-canvas,.station-canvas.has-selection{display:block;height:calc(100dvh - 340px);min-height:400px}.station-canvas[data-view=map] .station-list-panel{display:none}.station-map-panel{height:100%}.station-canvas[data-view=list] .station-map-panel{display:none}.station-canvas[data-view=list] .station-list-panel{height:100%;border:0}.station-canvas[data-view=list]:not(.has-selection) #station-list{display:block}.station-canvas.has-selection .station-inspector,.station-canvas[data-view=list].has-selection .station-inspector{position:fixed;left:0;right:0;top:18dvh;bottom:0;width:100%;border-radius:18px 18px 0 0;box-shadow:0 -10px 50px #11253a50;z-index:1800;padding-bottom:20px}.station-inspector:before{content:'';display:block;background:#c6d1df;width:40px;height:4px;margin:10px auto 0;border-radius:5px}.inspector-heading{padding:12px 18px 8px}.inspector-heading h2{font-size:19px}.map-controls{right:8px;top:8px;max-width:140px}.map-controls button{font-size:10px;padding:8px}.station-legend{font-size:9px;bottom:22px;padding:7px}.station-legend small{font-size:9px}.map-fallback{right:160px;font-size:10px;padding:8px}.station-canvas.is-expanded{inset:0;border-radius:0;min-height:0;height:auto}.station-canvas.has-selection .station-inspector.is-full{top:0;border-radius:0}.inspector-heading h2{cursor:pointer}.station-canvas.is-expanded .station-inspector{z-index:1800}}
@media(prefers-reduced-motion:reduce){.station-workspace *{scroll-behavior:auto}}
.inspector-expand{display:none}@media(max-width:760px){.inspector-expand{display:block;margin:0 20px 12px;border:0;background:#eef4fc;color:#0969be;border-radius:6px;padding:7px 12px;font-size:11px;cursor:pointer}}

@media(max-width:760px){.workspace .sidebar.open{position:fixed;top:75px;left:0;bottom:0;width:min(285px,85vw);z-index:1600;overflow:auto;box-shadow:10px 0 40px #13203955;}.workspace.nav-collapsed{display:block}}

/* Approved compact map workspace: reserve the screen for stations. */
.station-map-page .topbar{height:52px;min-height:52px;padding:6px 16px;gap:18px}
.station-map-page .brand img{width:166px;max-height:40px;object-fit:contain}
.station-map-page .cabinet-title{font-size:13px;padding-left:8px}
.station-map-page .user-menu{margin-left:auto;font-size:12px}
.station-map-page .user-menu small{font-size:10px}
.station-map-page .workspace{min-height:calc(100dvh - 52px)}
.station-map-page .sidebar{padding-top:8px}
.station-map-page .sidebar-collapse{padding-block:4px}
.station-map-page footer{display:none}
.station-workspace{padding:8px 12px;display:flex;flex-direction:column;min-width:0}
.station-heading{margin-bottom:7px;min-height:30px;gap:12px}
.station-heading h1{font-size:22px;margin:0;line-height:1.2}
.station-heading .workspace-link{font-size:11px}
.station-filters{padding:7px;gap:7px;border-radius:9px;grid-template-columns:minmax(200px,1.8fr) repeat(4,minmax(110px,1fr)) auto}
.station-filters input,.station-filters select{height:34px;padding:6px 9px;font-size:11px}
.station-filters>button{padding:6px 10px;font-size:11px}
.extra-filters{padding-top:6px;gap:8px 12px}
.station-results-bar{padding:5px 1px;min-height:34px;font-size:11px;gap:12px}
.station-results-bar button{padding:5px 10px;font-size:11px}
.station-canvas,.station-canvas.has-selection{min-height:180px;height:calc(100dvh - 185px);flex:none}
.station-symbol{width:32px;height:32px;display:grid;place-items:center;background:#1265ae;color:#fff;border:2px solid #fff;border-radius:7px;box-shadow:0 2px 6px #17345055;position:relative}
.station-symbol>svg{width:23px;height:23px}
.station-symbol.selected{width:38px;height:38px;background:#103c70;color:#fff;border:2px solid #fff;border-radius:8px;box-shadow:0 0 0 3px #75b9ed99,0 3px 9px #17345044}
.station-symbol.selected>svg{width:27px;height:27px}
.station-check{position:absolute;top:-6px;right:-6px;width:15px;height:14px;color:#103c70;display:block}
.station-check svg{display:block;width:100%;height:100%}
.station-cluster{width:32px;height:32px;border-radius:9px;border:2px solid #c6dcef;box-shadow:0 1px 7px #17345033;background:#fff;color:#155b97}
.station-legend span{display:flex;align-items:center;gap:5px}
.station-legend i{display:inline-flex;width:19px;height:19px;padding:2px;background:#1265ae;color:#fff;border-radius:4px;font-style:normal}
.station-legend i svg{width:15px;height:15px}
.map-controls{max-width:148px;gap:5px;top:8px;right:8px}
.map-controls label{padding:5px 7px}
.map-controls select{margin-top:2px;padding:4px}
.map-controls button{font-size:10px;padding:6px 8px}
@media(max-width:1250px) and (min-width:761px){.station-filters{grid-template-columns:minmax(180px,1.8fr) repeat(2,minmax(100px,1fr))}.station-filters input,.station-filters select{height:32px}}
@media(max-width:760px){
 .station-map-page .topbar{height:46px;min-height:46px;flex-wrap:nowrap;padding:5px 10px;gap:10px}
 .station-map-page .brand img{width:126px;max-height:32px}
 .station-map-page .menu-toggle{font-size:22px;padding:0}
 .station-map-page .user-menu{font-size:10px;max-width:110px}
 .station-map-page .user-menu small{font-size:9px}
 .station-map-page .workspace{min-height:calc(100dvh - 46px)}
 .station-map-page .workspace .sidebar.open{top:46px}
 .station-workspace{padding:6px 8px}
 .station-heading{min-height:26px;margin-bottom:5px}
 .station-heading h1{font-size:19px}
 .station-heading .workspace-link{font-size:10px;max-width:none}
 .station-filters{grid-template-columns:minmax(0,1fr) auto;padding:5px;gap:5px}
 .station-search{grid-column:auto}
 .station-filters #more-filters{grid-column:auto;white-space:nowrap;font-size:10px;padding:5px 8px}
 .station-filters.is-open>label:not(.station-search){grid-column:1/-1}
 .extra-filters{grid-template-columns:1fr 1fr}
 .station-filters input,.station-filters select{height:32px;font-size:11px}
 .station-results-bar{gap:5px;flex-wrap:nowrap;font-size:10px;min-height:32px;padding:4px 0}
 .station-results-bar #result-count{min-width:0;font-size:9px;line-height:1.4}
 .station-results-bar #reset-filters{font-size:0;padding:5px}
 .station-results-bar #reset-filters:after{content:'Сброс';font-size:10px}
 .station-view-toggle{width:auto;margin:0;gap:2px}
 .station-view-toggle button{padding:5px 8px;font-size:10px}
 .station-canvas,.station-canvas.has-selection{min-height:180px;height:calc(100dvh - 166px)}
 .station-legend{bottom:22px;font-size:8px;gap:4px 7px;padding:6px}
 .station-legend i{width:17px;height:17px}
 .station-legend small{display:none}
 .map-controls{max-width:132px}
}

.station-popup p{margin:6px 0;line-height:1.4}.station-popup strong{font-size:16px}.station-popup button{border:0;border-radius:6px;background:#0868bf;color:white;padding:9px 12px;cursor:pointer;width:100%;margin-top:7px}


/* ITS categories and compact filter panel. */
.map-categories{display:flex;gap:6px;overflow-x:auto;padding:2px 0 8px;flex:none;scrollbar-width:thin}
.map-category{display:flex;align-items:center;gap:6px;white-space:nowrap;border:1px solid #dce4ee;border-radius:8px;background:white;color:#28435f;padding:8px 10px;cursor:pointer;font:inherit;font-size:11px;min-height:38px}
.map-category[aria-pressed=true]{background:#103c70;border-color:#103c70;color:white}.map-category small{background:#edf3fa;color:#28435f;border-radius:5px;padding:2px 5px;font-size:10px}.map-category i{display:flex}.map-category svg{width:19px;height:19px}
.station-filters{grid-template-columns:minmax(0,1fr) auto}.extra-filters{grid-template-columns:repeat(4,minmax(0,1fr));max-height:35dvh;overflow:auto}.extra-filters label{display:block}.extra-filters select{width:100%}
.object-status{position:absolute;right:-5px;bottom:-5px;width:11px;height:11px;border:2px solid white;border-radius:50%;background:#738297}.status-operating{background:#238447}.status-building{background:#d27b11}.status-planned{background:#7956bc}.status-retired{background:#b44242}.object-functions{position:absolute;left:-6px;top:-7px;background:white;color:#103c70;border:1px solid #c6dcef;border-radius:5px;font-size:9px;line-height:14px;min-width:14px;text-align:center}
.station-canvas.results-hidden{grid-template-columns:minmax(0,1fr)}.station-canvas.results-hidden .station-list-panel{display:none}.station-canvas.results-hidden.has-selection{grid-template-columns:minmax(0,1fr) minmax(350px,410px)}
.station-inspector[hidden],.extra-filters[hidden]{display:none!important}
@media(max-width:1450px) and (min-width:761px){.station-canvas.results-hidden.has-selection{grid-template-columns:minmax(0,1fr)}.station-canvas.results-hidden.has-selection .station-inspector{width:min(420px,100%)}}
@media(max-width:1000px){.extra-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .map-categories{padding-bottom:5px;gap:5px}.map-category{min-height:38px;padding:6px 8px;font-size:10px}.map-category svg{width:17px;height:17px}
 .station-filters #more-filters{min-height:34px}.station-results-bar #toggle-results{display:none}
 .extra-filters{grid-template-columns:repeat(2,minmax(0,1fr));max-height:33dvh}
 .station-canvas[data-view=list] .station-map-panel{display:block;height:100%}
 .station-canvas[data-view=list] .station-list-panel{position:absolute;z-index:750;bottom:0;left:0;right:0;height:65%;border-radius:16px 16px 0 0;box-shadow:0 -4px 24px #13203933;border-top:4px solid #c6d1df}
 .station-canvas.has-selection .station-inspector,.station-canvas[data-view=list].has-selection .station-inspector{top:42dvh}
 .station-canvas.has-selection .station-inspector.is-full{top:0}
 .station-heading h1{font-size:18px}.station-legend{display:none}.station-result{padding:14px}.station-popup strong{font-size:14px}
}

/* Approved object palette: blue weighing, warm orange camera control. */
.station-workspace{--weighing-color:#1768AC;--camera-color:#E76532}
[data-object-tone="weighing"]{--object-color:#1768AC;--object-ink:#1768AC;--object-tint:#edf5fc}
[data-object-tone="camera"]{--object-color:#E76532;--object-ink:#a63814;--object-tint:#fff1e9}
[data-object-tone="neutral"]{--object-color:#526780;--object-ink:#526780;--object-tint:#f1f5f9}
.station-symbol[data-object-tone]{background:var(--object-color);color:#fff;border-color:#fff}
.station-symbol.selected[data-object-tone]{background:var(--object-color);box-shadow:0 0 0 3px var(--object-tint),0 0 0 5px var(--object-color),0 3px 9px #17345044}
.map-category[data-object-tone] i{color:var(--object-color)}
.map-category[aria-pressed=true][data-object-tone]:not([data-object-tone="neutral"]){background:var(--object-tint);border-color:var(--object-color);color:var(--object-ink)}
.map-category[aria-pressed=true][data-object-tone="neutral"] i{color:inherit}
.station-result[data-object-tone][aria-pressed=true]{background:var(--object-tint);box-shadow:inset 3px 0 var(--object-color)}
.station-result .result-purpose{display:flex;flex-wrap:wrap;gap:5px 9px}
.purpose-token{display:inline-flex;align-items:center;gap:5px;color:var(--object-ink)}
.purpose-token i{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:2px;border-radius:4px;background:var(--object-color);color:#fff;flex:none}
.purpose-token svg{width:16px;height:16px}
.station-legend [data-station-icon="asi"]{background:var(--weighing-color)}
.station-legend [data-station-icon="video"],.station-legend [data-station-icon="speed"]{background:var(--camera-color)}
.station-legend [data-station-icon="weather"],.station-legend [data-station-icon="vms"],.station-legend [data-station-icon="rail"]{background:#526780}
.station-cluster[data-object-tone]{color:var(--object-ink);border-color:var(--object-color);box-shadow:0 1px 7px #17345033}
.station-cluster[data-object-tone="mixed"]{color:#28435f;border-color:transparent;background:linear-gradient(white,white) padding-box,conic-gradient(#1768AC 0 50%,#E76532 50% 100%) border-box}
