
.waws-page{
    --asphalt:#1C1E22;
    --asphalt-soft:#33363D;
    --motorway-blue:#00539E;
    --motorway-blue-dark:#003C74;
    --verge-green:#00693E;
    --concrete:#E9EAE4;
    --concrete-line:#D3D5CB;
    --chevron-amber:#F2A900;
    --sign-white:#FFFFFF;
    --ok-green:#1E7B4D;
    --stale-red:#B23A2E;
  }
.waws-page *{box-sizing:border-box;}
.waws-page{
    margin:0;
    background:var(--concrete);
    color:var(--asphalt);
    font-family:'Inter',sans-serif;
  }
.waws-page .sign-font{
    font-family:'Barlow Condensed',sans-serif;
    font-weight:800;
    letter-spacing:0.02em;
    text-transform:uppercase;
  }
.waws-page .mono{
    font-family:'IBM Plex Mono',monospace;
  }
/* ---------- Header: gantry strip ---------- */
.waws-page header{
    background:var(--asphalt);
    padding:10px 20px;
    display:flex;
    align-items:center;
    gap:14px;
  }
.waws-page .badge-mark{
    width:34px;height:34px;
    background:var(--motorway-blue);
    border-radius:4px;
    display:flex;align-items:center;justify-content:center;
    flex-shrink:0;
  }
.waws-page .badge-mark svg{width:20px;height:20px;fill:var(--sign-white);}
.waws-page header .wordmark{
    color:var(--sign-white);
    font-size:20px;
    line-height:1.05;
  }
.waws-page header .wordmark span{color:var(--chevron-amber);}
.waws-page header .tagline{
    color:#9AA0A6;
    font-family:'Inter',sans-serif;
    font-size:12px;
    font-weight:500;
    margin-left:auto;
    text-align:right;
    display:none;
  }
  @media(min-width:640px){
.waws-page header .tagline{display:block;}
}
.waws-page .next-services-strip{
    background:var(--motorway-blue);
    color:var(--sign-white);
    padding:7px 20px;
    font-family:'IBM Plex Mono',monospace;
    font-size:12px;
    display:flex;
    gap:24px;
    overflow-x:auto;
    white-space:nowrap;
  }
.waws-page .next-services-strip b{color:var(--chevron-amber);font-weight:600;}
/* ---------- Layout ---------- */
.waws-page .app{
    display:grid;
    grid-template-columns: 400px 1fr;
    height:calc(100vh - 84px);
  }
  @media(max-width:860px){
.waws-page .app{
  grid-template-columns:1fr;
  grid-template-rows: 320px auto;
  height:auto;
}
.waws-page #map{ grid-row: 1; }
.waws-page .panel{
  grid-row: 2;
  border-right: none;
  border-top: 2px solid var(--concrete-line);
  overflow: visible;
}
}

  /* ---------- Mobile touch targets ----------
     Chips, links and buttons below ~44px tall are hard to tap accurately
     on a phone (WCAG's own guidance target). Desktop density is kept by
     only bumping sizes inside this breakpoint, not globally. */
  @media(max-width:640px){
.waws-page .chip{ padding:9px 14px; font-size:13px; }
.waws-page header .wordmark{ font-size:15px; }
.waws-page .modal-close{ width:38px; height:38px; font-size:18px; }
.waws-page .view-link{ padding:4px 0; display:inline-block; }
.waws-page .popup-link{ padding:6px 0; display:inline-block; }
.waws-page .modal-title{ font-size:24px; }
.waws-page .modal-stat-row{ flex-wrap:wrap; gap:14px 20px; }
.waws-page .modal-stat-num{ font-size:20px; }
.waws-page .filters select{ padding:12px 10px; font-size:15px; }
.waws-page .card-title{ font-size:17px; }
.waws-page .verify-badge{ padding:6px 11px; }

}
/* ---------- Filter bar ---------- */
.waws-page .panel{
    display:flex;
    flex-direction:column;
    border-right:2px solid var(--concrete-line);
    overflow:hidden;
  }
.waws-page .filters{
    padding:14px 16px 12px;
    border-bottom:2px solid var(--concrete-line);
    background:#F3F2ED;
  }
.waws-page .filters select{
    width:100%;
    padding:9px 10px;
    font-family:'Inter',sans-serif;
    font-size:14px;
    font-weight:500;
    border:2px solid var(--asphalt);
    border-radius:4px;
    background:var(--sign-white);
    margin-bottom:10px;
  }
.waws-page .chip-row{ display:flex; gap:6px; flex-wrap:wrap; }
.waws-page .chip{
    border:2px solid var(--asphalt);
    border-radius:20px;
    padding:5px 12px;
    font-size:12px;
    font-weight:600;
    background:var(--sign-white);
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:5px;
    user-select:none;
  }
.waws-page .chip svg{width:13px;height:13px;}
.waws-page .chip.active{ background:var(--verge-green); border-color:var(--verge-green); color:#fff; }
.waws-page .chip.disabled{ opacity:0.4; cursor:not-allowed; border-style:dashed; }
.waws-page .data-note{
    font-size:11px;
    color:var(--asphalt-soft);
    margin-top:10px;
    line-height:1.4;
    font-style:italic;
  }
.waws-page .result-count{
    padding:10px 16px 4px;
    font-size:12px;
    font-weight:600;
    color:var(--asphalt-soft);
    text-transform:uppercase;
    letter-spacing:0.04em;
  }
/* ---------- List ---------- */
.waws-page .list{
    overflow-y:auto;
    padding:10px 12px 24px;
    flex:1;
  }
.waws-page .card{
    background:var(--motorway-blue);
    border-radius:6px;
    color:var(--sign-white);
    margin-bottom:12px;
    padding:12px 12px 10px;
    cursor:pointer;
    border:2px solid transparent;
    transition:transform .12s ease;
  }
.waws-page .card:hover{ transform:translateY(-1px); }
.waws-page .card.selected{ border-color:var(--chevron-amber); }
.waws-page .card-top{
    display:flex;
    align-items:flex-start;
    gap:10px;
  }
.waws-page .pictogram{
    background:var(--sign-white);
    border-radius:4px;
    width:38px;height:38px;
    flex-shrink:0;
    display:flex;align-items:center;justify-content:center;
  }
.waws-page .pictogram svg{width:22px;height:22px;fill:var(--motorway-blue-dark);}
.waws-page .card-title{ font-size:19px; line-height:1.05; }
.waws-page .card-sub{
    font-family:'IBM Plex Mono',monospace;
    font-size:11.5px;
    opacity:0.9;
    margin-top:2px;
  }
.waws-page .amenity-row{
    display:flex;
    gap:8px;
    margin:10px 0 8px;
    flex-wrap:wrap;
  }
.waws-page .amenity{
    background:rgba(255,255,255,0.14);
    border-radius:4px;
    width:26px;height:26px;
    display:flex;align-items:center;justify-content:center;
  }
.waws-page .amenity svg{width:15px;height:15px;fill:var(--sign-white);}
.waws-page .ev-badge{
    background:rgba(255,255,255,0.14);
    border-radius:4px;
    padding:5px 9px;
    font-family:'IBM Plex Mono',monospace;
    font-size:11px;
    font-weight:600;
    margin-bottom:8px;
    display:inline-block;
    cursor:help;
  }
.waws-page .card-foot{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-top:8px;
  }
.waws-page .verify-badge{
    font-family:'IBM Plex Mono',monospace;
    font-size:10.5px;
    font-weight:600;
    padding:3px 7px;
    border-radius:3px;
    display:flex;
    align-items:center;
    gap:4px;
  }
.waws-page .verify-fresh{ background:var(--ok-green); }
.waws-page .verify-aging{ background:var(--chevron-amber); color:var(--asphalt); }
.waws-page .verify-stale{ background:var(--stale-red); }
.waws-page .verify-badge svg{width:9px;height:9px;}
.waws-page .view-link{
    font-size:11.5px;
    font-weight:700;
    text-decoration:underline;
    color:var(--sign-white);
  }
.waws-page .empty-state{
    padding:40px 20px;
    text-align:center;
    color:var(--asphalt-soft);
    font-size:14px;
  }
/* ---------- Map ---------- */
.waws-page #map{ height:100%; width:100%; }
.waws-page .leaflet-popup-content-wrapper{ border-radius:6px; }
.waws-page .popup-name{ font-family:'Barlow Condensed',sans-serif; font-weight:800; font-size:16px; text-transform:uppercase; }
.waws-page .popup-sub{ font-family:'IBM Plex Mono',monospace; font-size:11px; color:#555; }
.waws-page .popup-link{
    font-family:'Inter',sans-serif;
    font-size:12px;
    font-weight:700;
    color:var(--motorway-blue);
    margin-top:8px;
    cursor:pointer;
  }
.waws-page .popup-link:hover{ text-decoration:underline; }
/* ---------- Modal (expanded card) ---------- */
.waws-page .modal-overlay{
    position:fixed; inset:0;
    background:rgba(28,30,34,0.55);
    display:none;
    align-items:center; justify-content:center;
    z-index:1000;
    padding:20px;
  }
.waws-page .modal-overlay.open{ display:flex; }
.waws-page .modal{
    background:var(--sign-white);
    border-radius:8px;
    max-width:520px;
    width:100%;
    max-height:88vh;
    overflow-y:auto;
    box-shadow:0 12px 40px rgba(0,0,0,0.35);
  }
  @media(max-width:480px){
.waws-page .modal-overlay{ padding:0; align-items:flex-end; }
.waws-page .modal{ border-radius:12px 12px 0 0; max-height:92vh; }

}
.waws-page .modal-head{
    background:var(--motorway-blue);
    color:var(--sign-white);
    padding:18px 20px 16px;
    border-radius:8px 8px 0 0;
    position:relative;
  }
.waws-page .modal-close{
    position:absolute; top:14px; right:14px;
    width:28px; height:28px;
    border-radius:50%;
    background:rgba(255,255,255,0.2);
    border:none;
    color:var(--sign-white);
    font-size:16px;
    cursor:pointer;
    display:flex; align-items:center; justify-content:center;
  }
.waws-page .modal-close:hover{ background:rgba(255,255,255,0.32); }
.waws-page .modal-title{ font-size:28px; line-height:1; margin-bottom:4px; }
.waws-page .modal-sub{ font-family:'IBM Plex Mono',monospace; font-size:12.5px; opacity:0.9; }
.waws-page .modal-body{ padding:18px 20px 22px; }
.waws-page .modal-section{ margin-bottom:18px; }
.waws-page .modal-section:last-child{ margin-bottom:0; }
.waws-page .modal-section-title{
    font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.06em;
    color:var(--asphalt-soft); margin-bottom:8px;
  }
.waws-page .modal-amenity-list{ display:flex; flex-direction:column; gap:8px; }
.waws-page .modal-amenity-row{ display:flex; align-items:center; gap:10px; font-size:14px; }
.waws-page .modal-amenity-row .amenity{ background:var(--motorway-blue); flex-shrink:0; }
.waws-page .modal-amenity-row svg{ fill:var(--sign-white); }
.waws-page .ev-network-chips{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.waws-page .ev-network-chip{
    background:var(--concrete);
    border:1.5px solid var(--concrete-line);
    border-radius:14px;
    padding:4px 10px;
    font-size:12px;
    font-weight:600;
  }
.waws-page .modal-stat-row{ display:flex; gap:18px; }
.waws-page .modal-stat{ }
.waws-page .modal-stat-num{ font-family:'IBM Plex Mono',monospace; font-size:22px; font-weight:600; line-height:1; }
.waws-page .modal-stat-label{ font-size:11px; color:var(--asphalt-soft); margin-top:3px; }
.waws-page .modal-footer-actions{
    display:flex; gap:10px; margin-top:4px;
  }
.waws-page .modal-btn{
    flex:1;
    text-align:center;
    padding:11px;
    border-radius:5px;
    font-weight:700;
    font-size:13.5px;
    text-decoration:none;
    cursor:pointer;
    border:2px solid var(--asphalt);
  }
.waws-page .modal-btn-primary{ background:var(--asphalt); color:var(--sign-white); }
.waws-page .modal-btn-secondary{ background:var(--sign-white); color:var(--asphalt); }
.waws-page .brand-chip-list{ display:flex; flex-wrap:wrap; gap:6px; }
.waws-page .brand-chip{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--concrete); border:1.5px solid var(--concrete-line);
  border-radius:14px; padding:4px 10px; font-size:12.5px; font-weight:600; color:var(--asphalt);
}
.waws-page .open-status{
  font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.02em;
  padding:2px 7px; border-radius:9px;
}
.waws-page .open-status-open{ background:var(--ok-green); color:#fff; }
.waws-page .open-status-closed{ background:var(--asphalt-soft); color:#fff; }

.waws-page .find-nearest-btn{
  width:100%; padding:10px 14px; margin:8px 0;
  background:var(--motorway-blue); color:#fff; border:none; border-radius:8px;
  font-size:14px; font-weight:700; cursor:pointer;
}
.waws-page .find-nearest-btn:hover{ background:var(--motorway-blue-dark); }
.waws-page .find-nearest-btn:disabled{ opacity:0.6; cursor:wait; }
.waws-page .card-distance{
  font-size:12.5px; font-weight:700; color:var(--motorway-blue); margin:4px 0;
}

/* Collapsible filter dropdowns -- closed by default (native <details>
   behaviour), on EVERY screen size including desktop. Vertical space in
   the results panel is scarce on desktop too (a 400px-wide column next
   to the map, same as mobile's panel just laid out side-by-side rather
   than stacked), so there's no screen size where showing 4 dropdowns +
   the Find my nearest button before any actual results makes sense.
   A previous version of this file force-expanded the filters on desktop
   via a min-width media query -- removed, since that's exactly what was
   pushing real content below the fold on desktop again. Amenity chips
   and the data note stay outside this, always visible, since they're
   already compact -- and homepage-script.js now only renders chips for
   amenities that actually have real data, instead of every possible one
   including disabled placeholders, to keep that row genuinely small. */
.waws-page .filters-details{ margin-bottom:10px; }
.waws-page .filters-details summary{
  cursor:pointer; list-style:none;
  display:flex; align-items:center; justify-content:space-between;
  padding:11px 12px;
  font-family:'Inter',sans-serif; font-weight:700; font-size:14px;
  border:2px solid var(--asphalt); border-radius:4px;
  background:var(--sign-white); color:var(--asphalt);
}
.waws-page .filters-details summary::-webkit-details-marker{ display:none; }
.waws-page .filters-details summary::after{ content:"▾"; font-size:12px; }
.waws-page .filters-details[open] summary::after{ content:"▴"; }
.waws-page .filters-details[open] summary{ margin-bottom:10px; border-radius:4px 4px 0 0; }
.waws-page .filters-details-body select:last-of-type{ margin-bottom:10px; }
