/* Isolated station layout replaces the older mixed grid/flex counter rules. */
.section.evr-stations-page{display:block;max-width:1440px;padding:16px clamp(16px,3vw,44px) 28px!important;background:#071b13}
.evr-stations-page>p:first-child{margin:0 0 10px}.evr-stations-page>.eyebrow{display:none}.evr-stations-page .evr-back{border:0;padding:3px 0;font-size:.8rem}
.evr-stations-hero{position:relative;isolation:isolate;overflow:hidden;margin:0 calc(-1 * clamp(16px,3vw,44px));min-height:280px;display:flex;flex-direction:column;justify-content:flex-end;background:#071b13}
.evr-stations-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 67%;z-index:-3}
.evr-stations-hero:after{content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#04150ea6,#04150e33 70%),linear-gradient(0deg,#04150e66,transparent 90%)}
.evr-stations-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:54px clamp(20px,4vw,58px) 14px}
.evr-stations-heading h1{font-size:clamp(34px,4.5vw,62px);letter-spacing:-.045em;line-height:1.1;margin:0;color:#fff}
.evr-stations-heading .eyebrow{font-size:10px;letter-spacing:.16em;color:#e4ece3;margin:0 0 12px}
.evr-stations-page .evr-stations-heading .evr-station-totals{display:flex;flex-flow:row nowrap;justify-content:center;align-items:center;gap:0;padding:0;margin:0;min-width:230px;flex:0 0 auto;background:none;border:0}
.evr-stations-page .evr-stations-heading .evr-station-totals>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:105px;padding:0 20px;border:0;background:none;border-radius:0}
.evr-stations-page .evr-stations-heading .evr-station-totals>div+div{border-left:1px solid #ffffff66}
.evr-stations-page .evr-stations-heading .evr-station-totals strong{font-size:clamp(38.4px,4.8vw,64.8px);line-height:1.1;letter-spacing:-.03em;white-space:nowrap;overflow-wrap:normal;color:#ff8625;font-variant-numeric:tabular-nums}
.evr-stations-page .evr-stations-heading .evr-station-totals span{font-size:14px;line-height:1.2;color:#fff;grid-column:auto}
.evr-stations-page .evr-stations-hero>.evr-trips-road{height:85px;margin:10px 0 -2px;color:#ff801d}.evr-stations-page .evr-stations-hero .evr-brand-car{width:80px;height:35px}
.evr-stations-page #portal-map{height:clamp(402.5px,57.5vh,621px);margin:0;border-radius:14px}
.evr-stations-page #portal-map+.small{margin:6px 0;font-size:11px}
.evr-stations-page .evr-filter-panel{margin:6px 0;padding:10px 0 8px;border:0;border-bottom:1px solid #78956b33;background:none}
.evr-stations-page .evr-filter-panel>summary{margin:0 0 8px;padding:0;font-size:11px;line-height:1.3}
.evr-stations-page .evr-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px 10px;align-items:end;margin:0}
.evr-stations-page .evr-filters>label{display:grid;gap:4px;font-size:11px;margin:0;min-width:0}
.evr-stations-page .evr-filters input,.evr-stations-page .evr-filters select,.evr-stations-page .evr-filters>button,.evr-stations-page .evr-choice>summary{min-height:42px;height:42px;padding:8px 10px!important;border-radius:8px;font-size:13px;line-height:1.2;box-sizing:border-box}









.evr-stations-page .evr-more-filters{order:10;grid-column:auto;margin:0;padding:0;border:0;background:none;min-width:0}
.evr-stations-page .evr-more-filters>summary{display:flex;align-items:center;min-height:42px;padding:8px 10px;margin:0;border:1px solid #4b6857;border-radius:8px;font-size:12px;box-sizing:border-box;cursor:pointer;background:#103024}
.evr-stations-page .evr-more-filters[open]{grid-column:1/-1;order:12}
.evr-stations-page .evr-more-filters>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:10px 0 0}
.evr-stations-page #clear-filters{order:11;background:#8bc43f;color:#0c2516;border:0;white-space:normal}
.evr-stations-page #brand-filters{display:none}.evr-stations-page #result-count{margin:5px 0;font-size:11px}
.evr-stations-page .evr-networks{margin:14px 0 0}.evr-stations-page .evr-networks h2{font-size:clamp(21px,2.4vw,29px);margin:0 0 5px}.evr-stations-page .evr-networks>.small{font-size:11px;line-height:1.5;margin:0 0 10px}
.evr-stations-page .evr-network-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.evr-stations-page .evr-network-grid button{min-height:84px;padding:14px 18px;gap:10px}.evr-stations-page .evr-network-brand img{max-width:115px;max-height:34px}.evr-stations-page .evr-network-count strong{font-size:25px}
@media(max-width:1000px){.evr-stations-heading{gap:14px}.evr-stations-page .evr-stations-heading .evr-station-totals{min-width:190px}.evr-stations-page .evr-stations-heading .evr-station-totals>div{min-width:90px;padding:0 14px}.evr-stations-page .evr-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.evr-stations-page .evr-network-grid button:after{display:none}.evr-stations-page .evr-network-brand img{max-width:95px}}
@media(max-width:650px){.evr-stations-heading{flex-direction:column;align-items:flex-start;padding:30px 20px 0;gap:18px}.evr-stations-hero{min-height:300px}.evr-stations-page .evr-stations-heading .evr-station-totals{width:auto;min-width:0;gap:0}.evr-stations-page .evr-stations-heading .evr-station-totals>div{min-width:105px;padding:0 22px}.evr-stations-page .evr-stations-heading .evr-station-totals>div:first-child{padding-left:0;min-width:85px}.evr-stations-page .evr-stations-heading .evr-station-totals strong{font-size:43.2px}.evr-stations-page .evr-stations-hero>.evr-trips-road{height:70px}.evr-stations-page #portal-map{height:414px}.evr-stations-page .evr-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.evr-stations-page .evr-filters input{font-size:16px}.evr-stations-page .evr-more-filters>div{grid-template-columns:repeat(2,minmax(0,1fr))}.evr-stations-page .evr-network-grid{grid-template-columns:1fr;gap:8px}.evr-stations-page .evr-network-grid button{min-height:68px}.evr-stations-page .evr-networks{margin-top:12px}}
/* 2.20: one dedicated, stable grid. Opening advanced fields never moves controls. */
.evr-stations-page .evr-station-filter-panel{padding:16px;margin:10px 0 0;background:#103024;border:1px solid #486647;border-radius:13px}
.evr-stations-page .evr-filters.evr-station-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0;align-items:stretch;width:100%}
.evr-stations-page .evr-station-filter-grid>label,.evr-stations-page .evr-station-filter-grid>.evr-filter-actions,.evr-stations-page .evr-station-extra-grid>label{display:flex;flex-direction:column;gap:6px;min-width:0;width:100%;margin:0;padding:0;order:0;grid-column:auto;align-items:stretch}
.evr-stations-page .evr-field-caption{display:block;font-size:11px;line-height:15px;min-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#c5d7c8;font-weight:600}
.evr-stations-page .evr-station-filter-grid input,.evr-stations-page .evr-station-filter-grid select,.evr-stations-page .evr-station-filter-grid .evr-choice,.evr-stations-page .evr-station-extra-grid .evr-choice{width:100%;min-width:0;max-width:none;margin:0;box-sizing:border-box}
.evr-stations-page .evr-station-filter-grid input,.evr-stations-page .evr-station-filter-grid select,.evr-stations-page .evr-station-filter-panel .evr-choice>summary,.evr-stations-page .evr-filter-actions button{height:46px;min-height:46px;width:100%;padding:10px 11px!important;border:1px solid #63805a;border-radius:8px;background:#0a2319;color:#f6faf5;font-size:13px;line-height:20px;box-sizing:border-box;margin:0!important}
.evr-stations-page .evr-station-filter-panel .evr-choice>summary>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.evr-stations-page .evr-station-filter-panel .evr-choice>summary:after{flex:0 0 auto;margin-left:2px}.evr-stations-page .evr-choice img{flex-shrink:0}
.evr-stations-page .evr-filter-actions>div{display:grid;grid-template-columns:1fr 1fr;gap:6px;min-width:0}
.evr-stations-page .evr-filter-actions #clear-filters{order:0;background:#8bc43f;color:#0c2516;border-color:#8bc43f}.evr-stations-page .evr-filter-actions #station-more-toggle[aria-expanded=true]{border-color:#8bc43f;color:#b8e977}
.evr-stations-page .evr-station-extra-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border-top:1px solid #54724d;margin-top:14px;padding-top:14px}.evr-stations-page .evr-station-extra-grid[hidden]{display:none}
.evr-stations-page .evr-network-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;width:100%;margin:0}
.evr-stations-page .evr-network-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:13px 10px;min-width:0;min-height:104px;border-radius:11px}.evr-stations-page .evr-network-grid button:after{display:none}.evr-stations-page .evr-network-brand{height:34px;max-width:100%;font-size:13px}.evr-stations-page .evr-network-brand img{max-width:110px;width:auto;max-height:32px}.evr-stations-page .evr-network-count{font-size:12px;color:#fff}.evr-stations-page .evr-network-count strong{font-size:24px;color:#fff}
@media(max-width:1100px){.evr-stations-page .evr-filters.evr-station-filter-grid{gap:10px}.evr-stations-page .evr-station-filter-grid .evr-choice>summary,.evr-stations-page .evr-station-filter-grid input,.evr-stations-page .evr-filter-actions button{font-size:12px;padding:9px 7px!important}.evr-stations-page .evr-field-caption{font-size:10px}}
@media(max-width:850px){.evr-stations-page .evr-filters.evr-station-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.evr-stations-page .evr-station-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.evr-stations-page .evr-network-grid{grid-template-columns:repeat(5,minmax(135px,1fr));overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}.evr-stations-page .evr-network-grid button{scroll-snap-align:start}.evr-stations-page .evr-field-caption{font-size:11px}.evr-stations-page .evr-station-filter-grid input{font-size:16px}}
@media(max-width:400px){.evr-stations-page .evr-station-filter-panel{padding:10px}.evr-stations-page .evr-filters.evr-station-filter-grid{gap:10px 8px}.evr-stations-page .evr-filter-actions>div{gap:4px}}

/* 2.21: a tighter frame, no redundant counts, full rows without sorting. */
.evr-stations-page .evr-station-filter-panel{margin-top:6px;padding:9px 12px 11px;border-width:1px}
.evr-stations-page .evr-station-filter-grid>label:has(#portal-search){grid-column:span 2}
.evr-stations-page .evr-networks{margin-top:12px}
.evr-stations-page .evr-networks h2{margin-bottom:10px}
@media(max-width:400px){.evr-stations-page .evr-station-filter-panel{padding:8px}}

/* One explicit column inside every field; neutralize inherited flex alignment. */
.evr-stations-page .evr-station-filter-grid>label,
.evr-stations-page .evr-station-filter-grid>.evr-filter-actions,
.evr-stations-page .evr-station-extra-grid>label{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:15px 46px;gap:6px;justify-content:stretch;justify-items:stretch;align-content:start;align-items:stretch;align-self:start;min-height:0;height:67px;box-sizing:border-box}
.evr-stations-page .evr-station-filter-panel .evr-field-caption{height:15px;min-height:0;margin:0;padding:0;line-height:15px;grid-row:1;grid-column:1}
.evr-stations-page .evr-station-filter-panel label>input,
.evr-stations-page .evr-station-filter-panel label>select,
.evr-stations-page .evr-station-filter-panel label>.evr-choice,
.evr-stations-page .evr-filter-actions>div{grid-row:2;grid-column:1;width:100%;min-width:0;height:46px;margin:0;padding:0;align-self:stretch;box-sizing:border-box}
.evr-stations-page .evr-filter-actions button{display:flex;align-items:center;justify-content:center;min-width:0;height:46px;min-height:46px;max-height:46px;margin:0!important}
.evr-stations-page .evr-station-filter-panel .evr-choice{position:relative;align-self:start}
.evr-stations-page .evr-station-filter-panel .evr-choice-list{position:absolute;left:0;right:0;top:100%;min-width:0;max-height:280px;overflow:auto;z-index:1100}
.evr-stations-page .evr-stations-heading{padding-bottom:76px;align-items:flex-start}
.evr-stations-page .evr-stations-heading .evr-station-totals{position:absolute;right:8%;bottom:56px;padding:10px 6px;background:#08251ded;border:1px solid #ff862570;border-radius:14px;box-shadow:0 8px 28px #0005;z-index:2}
.evr-stations-page .evr-station-totals:after{content:'';position:absolute;width:2px;height:var(--counter-stem,24px);background:#ff8625;top:100%;left:50%}
.evr-stations-page #portal-map:not(.evr-map-full){border-radius:14px 14px 0 0}
.evr-stations-page #portal-map:not(.evr-map-full):after{content:'';position:absolute;inset:auto 0 0;height:70px;box-shadow:none;background:linear-gradient(transparent,#071b13);pointer-events:none;z-index:450}
.evr-stations-page #portal-map .leaflet-bottom{bottom:36px}
.evr-stations-page #portal-map.evr-map-full .leaflet-bottom{bottom:0}
.evr-stations-page .evr-station-filter-panel{position:relative;z-index:500;margin-top:-22px;background:linear-gradient(#103024e8,#103024 55px);box-shadow:0 -12px 24px #071b1340}
@media(max-width:850px){.evr-stations-page .evr-filter-actions{grid-column:span 2}.evr-stations-page .evr-stations-heading{padding-bottom:100px}.evr-stations-page .evr-stations-heading .evr-station-totals{right:8%;bottom:48px}.evr-stations-page .evr-filter-actions>div{grid-template-columns:1fr 1fr}}
