/* Green Accent map controls float over the full Leaflet viewport. */
.green-atlas{--green:#267c37;--muted:#486155;--line:#d4e3d6;color:#123c2f;background:#fafcf9}
.green-atlas .workspace,.green-atlas .mapbox{height:100vh;height:100dvh;min-height:0;overflow:hidden}
.green-atlas .mapbox #map{position:absolute;inset:0;width:100%;height:100%;margin:0;border:0;border-radius:0;isolation:isolate}
.green-atlas .topbar{
  position:fixed;z-index:500;inset:max(12px,env(safe-area-inset-top)) auto auto max(12px,env(safe-area-inset-left));
  width:min(375px,calc(100vw - 106px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  height:auto;display:flex;justify-content:start;gap:8px;padding:0;border:0;background:none;pointer-events:none
}
.green-atlas .topbar>*{pointer-events:auto}
.green-atlas #menuToggle,.green-atlas #findPort,.green-atlas #closeMap,.green-atlas #baseMap{
  min-height:44px;border:1px solid var(--line);background:#fff;color:var(--green);box-shadow:0 3px 12px #123c2f22
}
.green-atlas #menuToggle,.green-atlas #closeMap,.green-atlas #baseMap{width:44px;border-radius:14px}
.green-atlas #findPort{min-width:0;max-width:none;flex:1;display:flex;align-items:center;gap:7px;padding:0 10px;margin:0;text-align:start;border-radius:24px;color:#123c2f}
.green-atlas #findPort svg{color:var(--green);flex:none}
.green-atlas #findPort span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.green-atlas .map-heading{position:absolute;inset:max(12px,env(safe-area-inset-top)) calc(max(12px,env(safe-area-inset-right)) + 52px) auto auto;z-index:450;display:block;padding:0;margin:0;background:none;border:0}
.green-atlas .map-heading>div:first-child,.green-atlas #closeMap>span:not(#filterCount){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.green-atlas .map-heading #closeMap{position:relative;display:grid;place-items:center;padding:0}
.green-atlas #filterCount:not([hidden]){position:absolute;right:-4px;bottom:-5px;padding:0 4px;min-width:15px;border-radius:10px;background:#267c37;color:white;text-align:center;font-size:10px}
.green-atlas .leaflet-top.leaflet-right{top:max(2px,calc(env(safe-area-inset-top) - 10px));right:max(2px,calc(env(safe-area-inset-right) - 10px))}
.green-atlas .leaflet-container{--atlas-map-button-size:42px}
.green-atlas .leaflet-control-zoom a,.green-atlas #locateMe{color:var(--green)}
.green-atlas .leaflet-control-zoom a{line-height:var(--atlas-map-button-size)}
.green-atlas #mapCredit{position:absolute;z-index:1101;right:env(safe-area-inset-right);bottom:env(safe-area-inset-bottom)}
.green-atlas #mapCredit .leaflet-control-attribution{margin:0;padding:0 5px;background:#fafcf9ed;color:#3d5e4a}
.green-atlas #mapCredit a{color:#267c37}
.green-atlas #baseMapControl{position:relative}
.green-atlas #baseMap{appearance:none;color:transparent;padding:0}
.green-atlas #baseMap option{color:#123c2f}
.green-atlas .map-layer-icon{pointer-events:none;position:absolute;right:12px;top:12px;color:var(--green)}
.green-atlas .map-empty{bottom:34px}
.green-atlas .map-footer{display:none}

.green-atlas .site-menu,.green-atlas .filter-sheet,.green-atlas .map-selection:not([hidden]){
  position:fixed;inset:0 auto 0 0;margin:0;width:min(440px,calc(100vw - 58px));height:100vh;height:100dvh;
  max-width:none;max-height:none;border:0;border-radius:0;background:#fafcf9;color:#123c2f;
  box-shadow:9px 0 28px #123c2f25;padding-inline-start:env(safe-area-inset-left)
}
.green-atlas .site-menu{
  overflow:auto;align-content:start;grid-auto-rows:max-content;padding-block:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-bottom));padding-inline-end:8px
}
.green-atlas .site-menu>a,.green-atlas .site-menu>button{background:transparent}
.green-atlas .site-menu>a:hover,.green-atlas .site-menu>button:hover{background:#dbf4de}
.green-atlas .atlas-menu-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 12px 12px;border-bottom:1px solid var(--line);margin-bottom:6px}
.green-atlas .brand-mark{background:#b5edbc;color:#267c37;border-radius:10px}
.green-atlas .close-button{width:44px;height:44px;color:#267c37}
.green-atlas .filter-sheet .explorer{height:100%;max-height:none;min-height:0;visibility:visible;background:#fafcf9}
.green-atlas .filter-sheet .explorer-head{padding-top:max(12px,env(safe-area-inset-top));background:#dbf4de}
.green-atlas .filter-sheet-body{flex:1}
.green-atlas .filter-sheet::backdrop{background:#123c2f14}
.green-atlas #viewFilteredMap{background:#267c37;border-color:#267c37}
.green-atlas .mode-choices input:checked+.mode-tile{background:#dbf4de;border-color:#267c37;box-shadow:inset 0 0 0 1px #267c37;color:#123c2f}
.green-atlas .expert-filters #openInfo{display:block;text-align:start}
.green-atlas .map-selection:not(.port-sheet):not([hidden]){padding:14px;overflow:auto}
.green-atlas .map-selection.journey-port-page:not([hidden]){padding-block-start:env(safe-area-inset-top);z-index:1100}
.journey-port-boat{display:grid;place-items:center;color:#267c37;flex:none;width:44px;height:44px}
.journey-port-boat svg{width:34px;height:34px}
.journey-map-context{font-size:12px;font-weight:650;color:#365b43}

.journey-port-page>.panel-head{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr) 44px;gap:3px 8px;margin:12px 14px 0;background:#dbf4de;color:#183628;padding:18px 17px 5px;border-radius:18px 18px 0 0;flex:none}
.journey-port-page>.panel-head .journey-map-context{grid-column:2;grid-row:1}
.journey-port-page>.panel-head h2{grid-column:2;grid-row:2;color:#183628;font-size:25px;letter-spacing:-.9px;margin:3px 0 0}
.journey-port-page>.panel-head .journey-port-boat{grid-column:1;grid-row:1/3}
.journey-port-page>.tray-subtitle{margin:0 14px 14px;background:#dbf4de;color:#4e6958;border-radius:0 0 18px 18px;padding:4px 17px 17px;font-size:13px;flex:none}
.journey-port-page .port-nav{margin:0 14px 6px;border:1px solid #d8e5da;border-radius:11px;padding:0 3px;background:white;flex:none}
.journey-port-page .port-nav button{font-size:13px;min-height:44px;color:#4c6755}
.journey-port-page .port-nav button[aria-pressed=true]{background:#dbf4de;border-bottom-color:#267c37;color:#123c2f}
.journey-port-page .port-body{padding:3px 14px 20px}
.journey-port-page .journey-port-section-title{margin:14px 2px 10px;font-size:20px;letter-spacing:-.6px;font-weight:750;color:#183628}
.journey-port-page .connection-button{display:block;width:100%;margin:0 0 10px;padding:14px 30px 14px 14px;min-height:70px;border:1px solid #dbe6dd;border-radius:15px;background:white;text-align:left;color:#183628}
.journey-port-page .connection-button strong{display:block;font-size:15px;font-weight:700;line-height:1.4}
.journey-port-page .connection-button small{display:block;font-size:12px;color:#5a6e60;line-height:1.5;margin-top:3px}
.journey-port-page .port-directory-destination{border:1px solid #dbe6dd;border-radius:15px;margin:0 0 10px;background:#fff;overflow:hidden}
.journey-port-page .port-directory-destination>summary{font-weight:650;font-size:15px;padding:14px;min-height:60px;color:#214c32;cursor:pointer}
.journey-port-page .port-directory-destination>.connection-button{width:calc(100% - 16px);margin:0 8px 8px;background:#f5faf5}
.journey-port-page .port-day{font-size:12px;color:#4e6958;gap:12px;flex-wrap:wrap}
.journey-port-page .port-day input{border-color:#cdded0;border-radius:9px;font-size:14px;background:white;max-width:100%;min-height:44px}
.journey-port-page .port-sailing{gap:14px;padding:13px 0;border-color:#dce6de}
.journey-port-page .port-sailing time{font-size:18px;letter-spacing:-.5px;color:#204e32}
.journey-port-page .port-sailing a{color:#2c5c3b;font-size:14px;text-decoration:none}
.journey-port-page .port-sailing small{font-size:12px;line-height:1.5;color:#59705e}
.journey-port-page .journey-port-map-link{border:0;background:none;color:#477452;font:inherit;font-size:14px;min-height:48px;padding:12px 0;text-align:left}
.journey-port-page>.panel-head .journey-port-boat{width:36px}
.green-atlas .journey-port-page>.panel-head .close-button{
  grid-column:3;grid-row:1/3;align-self:start;border:1px solid #b3d7b9;background:#fff;color:#267c37
}
.journey-port-page .connection-button{min-height:52px}
.journey-port-page .port-destination-row{padding-block:10px;min-height:62px}
.journey-port-page .port-destination-row::after{right:12px}
.green-atlas .port-destination-list>.port-destination-row{
  position:relative;display:block;width:100%;min-height:58px;padding:8px 30px 8px 13px;margin:0 0 6px;
  border:1px solid #d4e3d6;border-radius:11px;background:#fff;text-align:start;color:#123c2f
}
.green-atlas .port-destination-row>strong,.green-atlas .port-destination-row>small{display:block}
.green-atlas .port-destination-row>strong{font-size:14px;font-weight:700;line-height:1.3}
.green-atlas .port-destination-row>small{margin-top:3px;font-size:12px;color:#486155}
.green-atlas .port-destination-list>.port-destination-row::after{content:'›';position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:20px;color:#267c37}
.green-atlas .port-destination-row:hover{background:#f2faf2}
.port-destination-services{display:grid;gap:6px;margin-block:14px}
.port-destination-services h4{font-size:13px;margin:0 0 2px;color:#486155}
.destination-with-editor{display:flex;align-items:center;gap:.5rem}.destination-with-editor>.port-destination-row{flex:1;min-width:0}.destination-editor[hidden]{display:none!important}.destination-editor{max-width:46%}.destination-editor a,.destination-editor summary{display:block;padding:.5rem;cursor:pointer}.destination-editor a:focus-visible{outline:2px solid currentColor}
