  .switch{display:inline-flex; background:var(--bg-soft); border-radius:999px; padding:4px; margin-bottom:16px}
  .switch button{font:inherit; font-size:.82rem; font-weight:600; letter-spacing:.06em; border:0; background:none; color:var(--navy); padding:9px 22px; border-radius:999px; cursor:pointer; display:inline-flex; align-items:center; gap:8px}
  .switch button[aria-pressed="true"]{background:var(--navy); color:#fff}
  .switch svg{width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2}
  .view-table .map-wrap{display:none}
  .view-map #trips{display:none}
  .picked{display:none; margin-top:12px; padding:14px 16px; border:1.5px solid var(--sand); border-radius:var(--radius); background:rgba(217,179,130,.12); font-size:.9rem; gap:6px 16px; flex-wrap:wrap; align-items:center}
  .picked.on{display:flex}
  .picked b{color:var(--navy)}
  .picked .enq{margin-left:auto}
  .map-wrap{padding:0 0 8px}
  #map{height:calc(100vh - 300px); min-height:380px; border-radius:var(--radius); border:1px solid var(--line); background:#dfeef2}
  .map-bar{display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:10px}
  .legend{display:flex; gap:18px; flex-wrap:wrap; font-size:.8rem; color:var(--muted)}
  .legend i{display:inline-block; width:22px; height:3px; vertical-align:middle; margin-right:6px; border-radius:2px}
  .show-all{background:none; border:1.5px solid var(--navy); color:var(--navy); border-radius:999px; padding:5px 14px; font:inherit; font-size:.78rem; font-weight:600; cursor:pointer; visibility:hidden}
  .map-note{font-size:.76rem; color:var(--muted); margin:8px 0 0}
  .leaflet-popup-content{font-family:Montserrat,sans-serif; font-size:.82rem; margin:12px 14px}
  .leaflet-popup-content b{font-family:"Cormorant SC",serif; font-size:1.1rem; color:var(--navy)}
  .pin{background:var(--navy); border:2px solid #fff; border-radius:50%; width:16px; height:16px; box-shadow:0 1px 3px rgba(0,0,0,.35)}

  .trips{width:100%; border-collapse:collapse; font-size:.92rem; margin-top:16px}
  .trips th{text-align:left; font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); font-weight:600; padding:10px 12px; border-bottom:2px solid var(--navy)}
  .trips td{padding:14px 12px; border-bottom:1px solid var(--line); vertical-align:top}
  .trips tr.month td{font-family:"Cormorant SC",serif; font-size:1.3rem; color:var(--navy); background:var(--bg-soft); padding:8px 12px; font-weight:600}
  .trips tr.trip{cursor:pointer; transition:background .12s}
  .trips tr.trip:hover{background:#f6fafa}
  .trips tr.trip.active{background:rgba(217,179,130,.18)}
  .trips .num{display:inline-grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--navy); color:#fff; font-weight:600; font-size:.8rem}
  .trips tr.active .num{background:var(--sand); color:var(--navy)}
  .trips .dates{font-weight:600; color:var(--navy); white-space:nowrap}
  .trips .stops{color:var(--muted); font-size:.84rem}
  .tag{display:inline-block; font-size:.68rem; font-weight:600; letter-spacing:.05em; text-transform:uppercase; padding:3px 9px; border-radius:999px; background:var(--bg-soft); color:var(--teal); white-space:nowrap}
  .trips td:nth-child(6) .tag{white-space:normal; line-height:1.4}
  .trips td:nth-child(3){min-width:170px}
  .trips td:nth-child(4){min-width:150px}
  .trips td:nth-child(6){min-width:110px}
  .tag.long{background:rgba(217,179,130,.25); color:#8a6a3d}
  .st{display:inline-flex; align-items:center; gap:6px; font-size:.74rem; font-weight:600; padding:4px 10px; border-radius:999px; white-space:nowrap}
  .st::before{content:""; width:7px; height:7px; border-radius:50%; background:currentColor}
  .st.open{background:#e4f3ec; color:#2f7a55}
  .st.last{background:rgba(217,179,130,.3); color:#8a5a1f}
  .st.full{background:#f3e6e6; color:#9a3d3d}
  .st.past{background:#eceff2; color:#6b7785}
  .trips tr.is-full td:not(:last-child), .trips tr.is-past td:not(:last-child){opacity:.6}
  .enq{font-weight:600; font-size:.82rem; text-decoration:none; white-space:nowrap}
  .data-error{background:#fdecec; border:1.5px solid #e3a3a3; color:#8a2b2b; border-radius:var(--radius); padding:12px 16px; font-size:.85rem; margin-top:16px}
  .data-error:empty{display:none}

  @media (max-width:820px){
    #map{height:60vh; min-height:300px}
    .map-note{display:none}
    .switch{display:flex}
    .switch button{flex:1; justify-content:center}
  }
  @media (max-width:1080px){
    .trips td:nth-child(n){min-width:0}
    .trips thead{display:none}
    .trips, .trips tbody{display:block}
    .trips tr.month{display:block}
    .trips tr.month td{display:block}
    .trips tr.trip{display:grid; grid-template-columns:40px 1fr; gap:2px 10px; padding:14px 8px; border-bottom:1px solid var(--line)}
    .trips tr.trip td{display:block; padding:0; border:0}
    .trips tr.trip td:first-child{grid-row:span 7}
    .trips tr.trip td.cell-meta{display:flex; gap:6px; flex-wrap:wrap; margin-top:6px}
  }
