.ev-page { color: #10233c; }
.ev-page, .ev-page * { box-sizing: border-box; }
.ev-heading { margin-bottom: 28px; }
.ev-heading .ev-eyebrow { margin: 0 0 12px; color: #087f68; font-size: .88rem; font-weight: 800; }
.ev-heading h1 { margin: 0; color: #101828; font-size: 2.45rem; line-height: 1.18; letter-spacing: 0; }
.ev-heading > p:last-child { max-width: 780px; margin: 18px 0 0; color: #60718a; font-size: 1.05rem; line-height: 1.75; }
.ev-tool { overflow: hidden; border: 1px solid #d5e0ea; border-radius: 7px; background: #fff; }
.ev-search-panel { padding: 26px; border-bottom: 1px solid #dbe4ec; background: #f7fafc; }
.ev-panel-title, .ev-results-head, .ev-map-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ev-panel-title span, .ev-results-head span { color: #087f68; font-size: .72rem; font-weight: 900; }
.ev-panel-title h2, .ev-results-head h2 { margin: 2px 0 0; color: #13233a; font-size: 1.55rem; line-height: 1.25; }
.ev-locate, #evRegionSearch, #evRefreshMap { min-height: 44px; border: 0; border-radius: 6px; background: #0b8874; color: #fff; font-size: .9rem; font-weight: 800; cursor: pointer; }
.ev-locate { padding: 0 17px; white-space: nowrap; }
.ev-locate span { margin-right: 6px; color: inherit; font-size: 1rem; }
.ev-region-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 120px; gap: 12px; margin-top: 22px; }
.ev-region-fields label { color: #30445d; font-size: .84rem; font-weight: 800; }
.ev-region-fields select, #evSort { width: 100%; height: 48px; margin-top: 8px; padding: 0 38px 0 14px; border: 1px solid #cbd8e5; border-radius: 6px; background-color: #fff; color: #172b44; }
#evRegionSearch { align-self: end; height: 48px; }
.ev-filter-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; margin-top: 14px; }
.ev-keyword { position: relative; display: block; }
.ev-keyword > span { position: absolute; top: 12px; left: 14px; color: #637895; }
.ev-keyword input { width: 100%; height: 46px; padding: 0 14px 0 40px; border: 1px solid #cbd8e5; border-radius: 6px; background: #fff; color: #172b44; }
.ev-keyword > span { top: 50%; left: 15px; z-index: 1; line-height: 1; pointer-events: none; transform: translateY(-50%); }
.modern-subpage #content .ev-keyword input { padding: 0 14px 0 44px; }
.ev-segments { display: flex; height: 46px; overflow: hidden; border: 1px solid #cbd8e5; border-radius: 6px; background: #fff; }
.ev-segments button { min-width: 66px; padding: 0 14px; border: 0; border-left: 1px solid #e1e7ee; background: #fff; color: #53677f; font-weight: 800; cursor: pointer; }
.ev-segments button:first-child { border-left: 0; }
.ev-segments button.is-active { background: #e1f4ef; color: #077360; }
.ev-status { min-height: 22px; margin: 14px 0 0; color: #60718a; font-size: .83rem; }
.ev-status.is-error { color: #c1453b; }
.ev-map-shell { position: relative; }
.ev-map-topbar { min-height: 66px; padding: 12px 22px; border-bottom: 1px solid #dbe4ec; background: #fff; }
.ev-map-topbar strong, .ev-map-topbar span { display: block; }
.ev-map-topbar strong { color: #14263e; font-size: .96rem; }
.ev-map-topbar span { margin-top: 3px; color: #718198; font-size: .78rem; }
#evRefreshMap { min-height: 38px; padding: 0 14px; background: #eef4f7; color: #28415e; }
#evMap { width: 100%; height: 470px; background: #e7edf1; }
/* Keep Leaflet's positioned layers isolated from legacy global image/layout rules. */
#evMap.leaflet-container { position: relative; overflow: hidden !important; outline: 0; }
#evMap .leaflet-pane,
#evMap .leaflet-tile,
#evMap .leaflet-marker-icon,
#evMap .leaflet-marker-shadow,
#evMap .leaflet-tile-container,
#evMap .leaflet-map-pane svg,
#evMap .leaflet-map-pane canvas { position: absolute !important; top: 0; left: 0; }
#evMap .leaflet-map-pane,
#evMap .leaflet-tile-pane,
#evMap .leaflet-overlay-pane,
#evMap .leaflet-shadow-pane,
#evMap .leaflet-marker-pane,
#evMap .leaflet-tooltip-pane,
#evMap .leaflet-popup-pane { width: 0; height: 0; }
#evMap .leaflet-map-pane { z-index: 400; }
#evMap .leaflet-tile-pane { z-index: 200; }
#evMap .leaflet-overlay-pane { z-index: 400; }
#evMap .leaflet-shadow-pane { z-index: 500; }
#evMap .leaflet-marker-pane { z-index: 600; }
#evMap .leaflet-tooltip-pane { z-index: 650; }
#evMap .leaflet-popup-pane { z-index: 700; }
#evMap .leaflet-tile { width: 256px !important; height: 256px !important; max-width: none !important; max-height: none !important; visibility: hidden; user-select: none; }
#evMap .leaflet-tile-loaded { visibility: inherit; }
#evMap .leaflet-control-container { position: static; }
#evMap .leaflet-top,
#evMap .leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; }
#evMap .leaflet-top { top: 0; }
#evMap .leaflet-right { right: 0; }
#evMap .leaflet-bottom { bottom: 0; }
#evMap .leaflet-left { left: 0; }
#evMap .leaflet-control { position: relative; z-index: 800; margin: 10px; pointer-events: auto; }
#evMap .leaflet-left .leaflet-control { float: left; clear: both; }
#evMap .leaflet-right .leaflet-control { float: right; clear: both; }
.ev-map-legend { position: absolute; z-index: 500; top: 80px; right: 14px; display: flex; gap: 11px; padding: 8px 11px; border: 1px solid rgba(206,218,227,.9); border-radius: 5px; background: rgba(255,255,255,.94); color: #475b73; font-size: .72rem; box-shadow: 0 3px 12px rgba(15,35,55,.08); }
.ev-map-legend i { display: inline-block; width: 9px; height: 9px; margin-right: 4px; border-radius: 50%; background: #718198; }
.ev-map-legend i.rapid { background: #e65e4f; }
.ev-map-legend i.slow { background: #0b8874; }
.ev-marker { display: grid !important; place-items: center; width: 28px !important; height: 28px !important; margin: -14px 0 0 -14px !important; border: 3px solid #fff; border-radius: 50%; background: #718198; color: #fff; font-size: 13px; font-weight: 900; box-shadow: 0 3px 9px rgba(16,35,60,.3); }
.ev-marker.rapid { background: #e65e4f; }
.ev-marker.slow { background: #0b8874; }
.ev-popup strong { display: block; margin-bottom: 5px; color: #14263e; }
.ev-popup span { display: block; color: #64748b; font-size: .76rem; line-height: 1.5; }
.ev-results-head { padding: 22px 24px 12px; }
#evSort { width: 105px; height: 42px; margin: 0; font-size: .83rem; }
.ev-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 10px 24px 26px; }
.ev-card { position: relative; min-width: 0; padding: 18px; border: 1px solid #d9e3ec; border-radius: 7px; background: #fff; cursor: pointer; transition: border-color .16s, box-shadow .16s, transform .16s; }
.ev-card:hover, .ev-card:focus-within { border-color: #91bfb5; box-shadow: 0 8px 20px rgba(26,58,79,.08); transform: translateY(-1px); }
.ev-card-top { display: flex; justify-content: space-between; gap: 12px; }
.ev-card h3 { min-width: 0; margin: 0; overflow: hidden; color: #14263e; font-size: 1rem; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.ev-distance { flex: 0 0 auto; color: #087f68; font-size: .78rem; font-weight: 900; }
.ev-address { min-height: 42px; margin: 8px 0 12px; color: #66778e; font-size: .8rem; line-height: 1.6; }
.ev-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ev-tags span { padding: 4px 7px; border-radius: 4px; background: #edf5f3; color: #08735f; font-size: .7rem; font-weight: 800; }
.ev-card-meta { display: grid; gap: 5px; margin: 13px 0 0; padding-top: 12px; border-top: 1px solid #e7edf2; color: #64748b; font-size: .75rem; }
.ev-card-actions { display: flex; gap: 7px; margin-top: 13px; }
.ev-card-actions button, .ev-card-actions a { min-height: 36px; padding: 0 11px; border: 1px solid #cbd8e5; border-radius: 5px; background: #fff; color: #29445e; font-size: .76rem; font-weight: 800; line-height: 34px; text-decoration: none; }
.ev-card-actions a { border-color: #0b8874; background: #0b8874; color: #fff; }
.ev-empty, .ev-loading { grid-column: 1 / -1; min-height: 140px; display: grid; place-items: center; padding: 28px; border: 1px dashed #cbd8e5; border-radius: 6px; color: #718198; text-align: center; }
.ev-guide { margin-top: 34px; padding-top: 30px; border-top: 1px solid #d8e2eb; }
.ev-guide > header p { margin: 0 0 8px; color: #087f68; font-size: .78rem; font-weight: 900; }
.ev-guide > header h2 { margin: 0; color: #14263e; font-size: 1.72rem; }
.ev-guide > header span { display: block; margin-top: 12px; color: #64748b; line-height: 1.75; }
.ev-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.ev-steps section, .ev-info-grid section { min-height: 0; margin: 0 !important; padding: 20px; border: 1px solid #dbe4ec; background: #fff; }
.ev-steps b { color: #0b8874; font-size: .82rem; }
.ev-guide h3 { margin: 8px 0; color: #1a2d45; font-size: 1rem; }
.ev-guide p, .ev-guide li { color: #64748b; font-size: .88rem; line-height: 1.75; }
.ev-steps p, .ev-info-grid p { margin: 0; }
.ev-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; border-top: 1px solid #dbe4ec; border-left: 1px solid #dbe4ec; }
.ev-info-grid section { align-self: stretch; border-top: 0; border-left: 0; }
.ev-checklist { display: grid; grid-template-columns: .82fr 1.18fr; gap: 14px; margin-top: 14px; }
.ev-checklist > div { padding: 22px; border: 1px solid #dbe4ec; background: #f7fafc; }
.ev-checklist ul { margin: 12px 0 0; padding-left: 20px; }
.ev-source { border-left: 4px solid #0b8874 !important; }
.ev-source a { color: #087f68; font-size: .84rem; font-weight: 800; }
.ev-faq { margin-top: 24px; }
.ev-faq h2 { margin-bottom: 12px; color: #14263e; font-size: 1.35rem; }
.ev-faq details { border-top: 1px solid #dbe4ec; }
.ev-faq details:last-child { border-bottom: 1px solid #dbe4ec; }
.ev-faq summary { padding: 16px 3px; color: #263b55; font-weight: 800; cursor: pointer; }
.ev-faq details p { margin: -4px 0 16px; }
@media screen and (max-width: 760px) {
  .ev-heading h1 { font-size: 1.82rem; }
  .ev-panel-title { align-items: flex-start; }
  .ev-region-fields { grid-template-columns: 1fr 1fr; }
  #evRegionSearch { grid-column: 1 / -1; }
  .ev-filter-row { grid-template-columns: 1fr; }
  .ev-segments button { flex: 1; }
  #evMap { height: 420px; }
  .ev-results, .ev-steps, .ev-info-grid, .ev-checklist { grid-template-columns: 1fr; }
  .ev-info-grid { border-left: 0; }
  .ev-info-grid section { border-left: 1px solid #dbe4ec; }
}
@media screen and (max-width: 480px) {
  .ev-search-panel, .ev-results { padding-left: 16px; padding-right: 16px; }
  .ev-panel-title { flex-direction: column; align-items: stretch; }
  .ev-panel-title h2 { font-size: 1.35rem; }
  .ev-locate { width: 100%; }
  .ev-region-fields { grid-template-columns: 1fr; }
  #evRegionSearch { grid-column: auto; }
  .ev-map-topbar { align-items: flex-start; }
  #evRefreshMap { padding: 0 9px; font-size: .72rem; }
  #evMap { height: 390px; }
  .ev-map-legend { top: 80px; left: auto; right: 12px; }
}
