:root{font:15px/1.5 'DM Sans',sans-serif;color:#193d39;background:#f6f8f5;font-synthesis:none;--green:#116d60;--muted:#65756e;--line:#dce4dd;--paper:#fff}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a{color:var(--green);text-underline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #e2b34f;outline-offset:3px}[hidden]{display:none!important}
.topbar{height:84px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;background:var(--paper);border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:#193d39;font-size:22px;font-weight:700;letter-spacing:-.7px;line-height:1.2}.brand small{display:block;font-size:9px;letter-spacing:.19em;margin-top:4px;color:#5b786e}.brand-mark{display:grid;place-items:center;width:44px;height:44px;background:#e8f2e9;border-radius:50%;font-size:35px;color:var(--green);padding-bottom:5px}.top-actions{display:flex;align-items:center;gap:26px}.text-button{background:none;border:0;padding:8px 0;color:var(--green);font-size:13px;font-weight:600;min-height:40px}.language{display:flex;background:#f0f4ef;border:1px solid var(--line);padding:3px;border-radius:8px;gap:3px}.language select{border:0;border-radius:5px;background:transparent;color:#1b443a;font:inherit;font-size:12px;font-weight:700;padding:7px 8px;max-width:155px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.workspace{display:grid;grid-template-columns:minmax(370px,480px) minmax(0,1fr);height:calc(100dvh - 84px)}.explorer{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line);background:#f9faf7}.explorer-head{padding:28px 28px 12px;border-bottom:1px solid var(--line);background:var(--paper)}h1{font-size:28px;line-height:1.14;letter-spacing:-1px;font-weight:600;margin:0 0 9px}.intro{font-size:14px;color:var(--muted);margin:0 0 23px}.view-switch{display:flex;border-bottom:1px solid var(--line);margin-bottom:19px;gap:24px}.view-switch button{border:0;border-bottom:2px solid transparent;background:none;font-size:14px;font-weight:600;padding:8px 0 10px;color:var(--muted)}.view-switch button.active{color:var(--green);border-color:var(--green)}label{font-size:12px;font-weight:600;color:#35534a}input[type=search],input[type=date],select,textarea,input[type=number]{display:block;width:100%;min-height:44px;border:1px solid #cad8ce;border-radius:7px;background:white;color:#193d39;padding:10px 12px}input[type=search]{margin:6px 0 14px}input::placeholder{color:#87958a}.date-controls{display:flex;gap:12px;align-items:end}.date-controls>label{flex:1}.date-controls small{font-size:10px;font-weight:400;color:var(--muted);float:right;padding-top:2px}.date-controls input{margin-top:5px}.checkbox-label{display:flex;align-items:center;gap:8px;font-weight:400;margin-top:12px;color:#52665c;cursor:pointer}.checkbox-label input{margin:0;width:16px;height:16px;accent-color:var(--green)}.filter-line{display:flex;gap:16px;align-items:end;justify-content:space-between;margin-top:15px}.select-label{flex:1;max-width:260px}.select-label>span{display:none}.select-label select{font-size:12px;min-height:36px;padding:7px 10px}.results-head{display:flex;align-items:center;justify-content:space-between;padding:16px 28px 10px}.results-head p{font-size:12px;color:var(--muted);margin:0}.results-head b{color:#234c3f;font-weight:600}.route-list{overflow:auto;overscroll-behavior:contain;padding:0 16px 18px;flex:1}.route-card{display:block;text-align:left;width:100%;border:1px solid var(--line);background:white;border-radius:10px;padding:18px 18px 14px;margin:0 0 10px;color:inherit;transition:border-color .12s,box-shadow .12s}.route-card:hover{border-color:#87b59c;box-shadow:0 3px 13px #123e3a08}.route-card.selected{border-color:var(--green)}.route-title{display:flex;align-items:start;gap:10px;font-size:17px;font-weight:600;line-height:1.35}.route-title .endpoints{display:flex;flex-wrap:wrap;gap:5px 8px;align-items:baseline}.route-arrow{color:#9aaca1;font-size:16px}.operator-name{font-size:12px;color:#6b7c71;margin:6px 0 14px}.card-status{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:#62776b}.status-pill{border-radius:4px;padding:4px 7px;background:#edf5eb;color:#386a42}.status-pill.reference{background:#f7f2e6;color:#8b6b31}.card-status .quay-label{margin-left:auto;color:#77877d}.next-departure{font-size:13px;color:#345f47;margin:9px 0 0}.empty-state{padding:25px 12px;color:var(--muted);font-size:14px}.empty-state strong{display:block;color:#315447;font-size:16px;margin-bottom:8px}.view-note{margin:3px 28px 14px;padding:12px 14px;font-size:12px;color:#7d6330;background:#fbf5e7;border-radius:7px}.list-footer{border-top:1px solid var(--line);padding:11px 28px;display:flex;align-items:center;gap:14px;justify-content:space-between;font-size:10px;color:#829084}.list-footer a{font-size:11px}
.mapbox{position:relative;min-height:0;display:flex;flex-direction:column;background:#dfece6}.map-heading{position:relative;z-index:450;background:#ffffffed;padding:19px 26px;border-bottom:1px solid #cfded4;display:flex;gap:15px;align-items:start;justify-content:space-between}.map-heading h2{font-size:16px;font-weight:600;margin:0 0 3px}.map-heading p{font-size:11px;color:var(--muted);margin:0;max-width:540px}#map{flex:1;min-height:0;width:100%;background:#e4eee8}.leaflet-container{font:12px 'DM Sans',sans-serif}.leaflet-control-attribution{font-size:9px!important}.map-footer{background:#fff;padding:9px 24px;display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);border-top:1px solid var(--line);min-height:47px}.map-footer .text-button{margin-left:auto;min-height:27px}.map-dot{display:inline-block;width:8px;height:8px;border:2px solid #fff;border-radius:50%;background:var(--green);box-shadow:0 0 0 1px var(--green)}.map-empty{position:absolute;z-index:450;bottom:85px;left:24px;right:24px;margin:auto;max-width:350px;background:#fffffff2;padding:17px 20px;border:1px solid #dbe7dc;border-radius:10px;box-shadow:0 6px 25px #1d4e3710;font-size:13px;color:#5c7366}.mobile-map{display:none}
dialog{color:inherit;border:1px solid #d7e2d8;padding:0;border-radius:14px;box-shadow:0 15px 65px #13372a26;background:white}dialog::backdrop{background:#173e346b;backdrop-filter:blur(3px)}.route-dialog{width:min(680px,calc(100vw - 36px));max-height:88dvh}.dialog-head{display:flex;gap:16px;align-items:start;justify-content:space-between;padding:25px 28px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.dialog-head h2{font-size:24px;font-weight:600;letter-spacing:-.6px;line-height:1.25;margin:0 0 7px}.dialog-head p{font-size:13px;color:var(--muted);margin:0}.close-button{flex:none;font-size:25px;line-height:1;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:white;color:#486356}.details-body{padding:22px 28px 28px}.detail-section+.detail-section{margin-top:25px}.detail-section h3{font-size:15px;font-weight:600;margin:0 0 11px}.detail-section p{font-size:13px;color:#617467;margin:8px 0}.quay-row{padding:11px 0;border-bottom:1px solid #edf1eb;display:flex;align-items:center;gap:12px;justify-content:space-between;font-size:13px}.quay-row small{display:block;color:#788c7e;font-size:11px;margin-top:3px}.quay-row button{flex:none}.detail-callout{background:#f6f5eb;border-radius:7px;color:#7e6b3f;font-size:12px;padding:12px 15px}.direction-block{padding:16px;border:1px solid var(--line);border-radius:9px;margin:10px 0}.direction-block h4{font-size:14px;font-weight:600;margin:0 0 12px}.schedule-row{display:flex;gap:15px;align-items:baseline;border-bottom:1px solid #edf2ec;padding:8px 0}.schedule-row:last-child{border:0}.schedule-time{font-size:19px;font-weight:600;min-width:57px;color:#244b3a}.schedule-meta{font-size:12px;color:#6b8070}.schedule-meta span{display:block}.schedule-label{display:inline-block;font-size:10px;color:#497250;margin-bottom:5px}.reference-note{font-size:12px;color:#886f39;padding:8px 0}.evidence{margin-top:12px;font-size:11px;color:#718274}.evidence summary{cursor:pointer}.evidence p{font-size:11px;margin:7px 0}.evidence a{display:inline-block;margin-top:6px}.primary-link{display:inline-block;text-align:center;border:1px solid var(--green);background:var(--green);color:white;border-radius:7px;padding:11px 18px;text-decoration:none;font-size:13px;font-weight:600}.secondary-link{display:inline-block;padding:10px 0;font-size:12px}.show-more{display:block;border:1px solid #dce5d9;background:#f6f9f3;padding:8px;width:100%;font-size:12px;color:var(--green);border-radius:6px;margin-top:10px}
@media(min-width:1450px){.workspace{grid-template-columns:510px minmax(0,1fr)}.explorer-head{padding:30px 34px 17px}.route-list{padding-left:23px;padding-right:23px}.results-head{padding-left:35px;padding-right:35px}}
@media(max-width:800px){.topbar{height:72px;padding:0 18px}.brand{font-size:20px}.brand-mark{width:37px;height:37px;font-size:30px}.top-actions{gap:15px}.top-actions>.text-button{font-size:11px}.language button{font-size:11px;padding:6px 8px}.workspace{display:block;height:auto;min-height:calc(100dvh - 72px)}.explorer{border:0;min-height:calc(100dvh - 72px)}.explorer-head{padding:25px 22px 15px}h1{font-size:28px}.intro{font-size:13px;margin-bottom:17px}.view-switch{margin-bottom:17px}.route-list{padding:0 12px 18px;overflow:visible}.results-head{padding:14px 22px 11px}.results-head .text-button{min-height:30px}.route-card{padding:16px}.list-footer{padding:12px 22px;margin-top:auto}.mapbox{display:none}.mobile-map{display:block}body.show-map{overflow:hidden}body.show-map .mapbox{position:fixed;inset:72px 0 0;z-index:800;display:flex}body.show-map .explorer{visibility:hidden}.map-heading{padding:16px 18px}.map-heading p{font-size:11px;max-width:250px}.map-heading button{max-width:85px;text-align:right;line-height:1.3;font-size:11px}.map-footer{padding:8px 18px}.map-empty{bottom:85px;left:18px;right:18px}.route-dialog{width:100%;max-width:100%;max-height:92dvh;margin:auto 0 0;border-radius:20px 20px 0 0}.dialog-head{padding:22px}.dialog-head h2{font-size:22px}.details-body{padding:19px 22px 30px}.view-note{margin-left:22px;margin-right:22px}.route-title{font-size:17px}}
@media(max-width:380px){.topbar{padding:0 13px}.brand{font-size:18px}.top-actions{gap:10px}.top-actions>.text-button{max-width:65px;line-height:1.2}.brand small{font-size:8px}.date-controls{gap:7px}.date-controls small{float:none;display:block}.card-status .quay-label{margin-left:0}.filter-line{gap:8px}.filter-line>.text-button{font-size:11px}}
.brand{white-space:nowrap}.terminal-source{font-size:11px;display:inline-block;margin-top:4px}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* The national map is the entry point at every screen width. */
.topbar{height:58px;padding:0 20px}.brand{font-size:20px}.brand-mark{width:34px;height:34px;font-size:28px}
.workspace{position:relative;display:block;height:calc(100dvh - 58px);min-height:0;overflow:hidden}
.mapbox{display:flex;height:100%;width:100%}.map-heading{align-items:center;padding:9px 18px;background:#fff}
.map-heading h1{font-size:19px;line-height:1.25;letter-spacing:-.45px;margin:0}.map-heading p{font-size:12px;max-width:none}
.directory-button{flex:none;border:1px solid #346859;border-radius:7px;background:#fff;color:#214c41;font-size:13px;padding:8px 13px;font-weight:650}
#map{background:#dfedf0}
.map-footer{padding:4px 16px;min-height:38px;gap:17px;flex-wrap:wrap}.map-footer .text-button{margin-left:auto}
.map-legend{display:flex;align-items:center;gap:13px}.line-key{display:inline-flex;align-items:center;gap:5px}.line-key:before{content:'';width:20px;border-top:3px solid #08718b}
.line-key.schematic:before{border-top:2px dashed #a35722}.line-key.observation:before{border-top:2px dotted #586e80}.map-options{position:relative}.map-options summary{cursor:pointer}
.excursion-key{display:inline-flex;align-items:center;gap:5px;color:#87520a}.excursion-key:before{content:'';width:10px;height:10px;border-radius:50%;background:#c27b18;border:2px solid #fff;box-shadow:0 0 0 1px #87520a}
.explorer .view-switch,.map-legend{flex-wrap:wrap}
.port-directory-entry{border-bottom:1px solid #cbdad5;padding:5px 1px}.port-directory-entry summary,.port-directory-destination>summary{cursor:pointer;padding:10px 5px;font-weight:650}.port-directory-entry .connection-button{margin:3px 0}
.trip-filters,.route-sources{margin-top:12px}.trip-filters>summary,.route-sources>summary{cursor:pointer;font-size:13px;padding:8px 0;color:#305c50}.route-sources{border-top:1px solid var(--line);padding-top:8px}
.map-options[open]>div{width:min(270px,86vw);white-space:normal;display:grid;gap:10px}.map-options[open] .map-legend{display:grid;gap:5px}
.traveller-summary>h3{font-size:15px;margin:18px 0 6px}.traveller-summary>h3:first-child{margin-top:0}
.traveller-summary>p{margin:4px 0;font-size:14px;line-height:1.5}.ticket-links{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.ticket-link{display:inline-block;padding:8px 12px;border:1px solid #307364;background:#f2f8f5;border-radius:7px;color:#155346;text-decoration:none;font-weight:650;font-size:13px}
.ticket-link:hover,.ticket-link:focus-visible{background:#dceee6}.traveller-times{margin-top:12px}.traveller-times .direction-block{padding-top:5px}.travel-booking{margin-top:10px}.travel-booking>summary{cursor:pointer;font-size:13px}.travel-booking .booking-preparation>h3{display:none}.trip-filters[open]{padding-bottom:4px}
.departure-board h3{font-size:16px;margin:16px 0 6px}.departure-board h4{font-size:14px;margin:6px 0}.departure-board .traveller-times{display:grid;gap:3px;border-top:1px solid var(--line);padding:7px 0;margin:0}.departure-board .traveller-times p{font-size:14px;line-height:1.4;margin:0}.departure-board .traveller-times strong{font-variant-numeric:tabular-nums}
#mapScope{width:clamp(190px,24vw,280px);min-height:36px;padding:5px 9px;font-size:12px}
.leaflet-container{--atlas-map-button-size:26px}
.leaflet-container.leaflet-touch{--atlas-map-button-size:30px}
.leaflet-container .leaflet-control-zoom a,.leaflet-container #locateMe{width:var(--atlas-map-button-size);height:var(--atlas-map-button-size)}
.location-button-bar{display:block;background:white}
.location-control{display:grid;justify-items:end;gap:4px;pointer-events:none}.location-control button{display:grid;place-items:center;padding:0;border:0;border-radius:3px;color:#16564c;background:white;pointer-events:auto;cursor:pointer}.location-control button:focus-visible{outline:3px solid #13796d;outline-offset:2px}.location-control button[aria-busy=true]{color:#738b86;cursor:progress}
#locationStatus:not(:empty){max-width:170px;padding:5px 8px;background:white;color:#254841;border-radius:5px;line-height:1.35}
#locationStatus[data-i18n="located"]{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.my-location-dot{border-radius:50%;background:#2275dc;border:3px solid white;box-shadow:0 0 0 1px #165294,0 1px 5px #163e536b}
.base-map-control{display:grid;justify-items:end;gap:3px}.base-map-control select{border:1px solid #789a90;border-radius:7px;background:#fff;color:#174b43;font:600 13px system-ui,sans-serif;min-height:40px;padding:5px 8px;cursor:pointer;box-shadow:0 1px 5px #163e5333}.base-map-control select:focus-visible{outline:3px solid #13796d;outline-offset:2px}
.base-map-control [role="status"]:not([hidden]){max-width:150px;background:white;padding:3px 6px;border-radius:4px;color:#7a341f;font-size:11px}
.map-options{display:flex;align-items:center;gap:7px;flex:none}.map-options label{font-size:11px;white-space:nowrap}
.map-source-link{font-size:11px;white-space:nowrap}
.explorer,.map-selection{position:absolute;z-index:600;background:#fff;border:1px solid #b4c8c2;border-radius:12px;box-shadow:0 5px 23px #1d403724}
.explorer{left:12px;top:65px;bottom:48px;width:min(410px,calc(100% - 24px));min-height:0;overflow:auto}
.explorer-head{padding:16px 18px 12px}.explorer .intro{margin:0 0 10px}.explorer .view-switch{gap:17px;margin-bottom:10px}
.panel-head{display:flex;align-items:center;gap:12px;justify-content:space-between}.panel-head h2{font-size:19px;line-height:1.3;margin:0}.panel-head .close-button{width:34px;height:34px}
.route-list{min-height:150px;overflow:auto}.map-selection{left:14px;top:69px;width:min(350px,calc(100% - 28px));padding:15px 16px;max-height:65%;overflow:auto}
.tray-subtitle{font-size:12px;color:#506961;margin:4px 0 10px}.map-selection h3{font-size:13px;margin:12px 0 5px}
.connection-button{background:#fff;border:0;border-top:1px solid var(--line);width:100%;padding:10px 1px;text-align:left;color:#174b43;display:block}
.connection-button strong,.connection-button small{display:block}.connection-button small{color:#5f746a;margin-top:2px}.connection-button:hover{background:#eff6f2}
.map-legend,.map-options{color:#34534e}.map-empty{bottom:58px}
.leaflet-tooltip.port-label{background:#f9fcf3e8;border:0;box-shadow:none;padding:1px 3px;border-radius:2px;color:#28484f;font:600 10px/1.2 system-ui,sans-serif}.port-label:before{display:none}
.map-actions{display:flex;gap:7px}.directory-button[aria-pressed=true]{background:#116252;color:white}.reference-list{padding-left:18px}.reference-list>li{margin:6px 0}.detail-fields{display:grid;grid-template-columns:auto 1fr;gap:5px 12px;font-size:13px}.detail-fields dt{color:#55695d}.detail-fields dd{margin:0}
@media(max-width:800px){
 .topbar{height:50px;padding:0 12px}.brand{font-size:17px}.brand small{font-size:7px}.brand-mark{width:29px;height:29px;font-size:23px}.top-actions{gap:10px}
 .workspace{height:calc(100dvh - 50px);min-height:0}.map-heading{padding:8px 11px;align-items:center;gap:5px}.map-heading h1{font-size:17px}.map-heading p{font-size:10px;max-width:235px}
 .directory-button{padding:8px;font-size:12px}.explorer{inset:0;width:100%;height:100%;border:0;border-radius:0;min-height:0}.explorer .route-list{overflow:auto}
 .map-selection{inset:auto 7px 65px;width:calc(100% - 14px);max-height:38%;padding:10px 14px}
 .map-footer{padding:4px 9px;gap:3px 9px;font-size:10px}.map-legend{gap:9px}.map-footer .text-button{font-size:11px}.map-legend{order:5;flex-basis:100%}
 .map-options{order:2;flex:1 1 auto;min-width:220px}.map-options label{display:none}
 #mapScope{width:min(250px,62vw);max-width:100%;font-size:11px}.map-source-link{order:3;font-size:10px}
 .map-footer #resetMap{order:4;margin-left:auto}
 .explorer .list-footer{margin-top:0}
 .map-heading{flex-wrap:wrap}.map-actions{margin-left:auto}.map-heading p{max-width:100%}
}

@media (max-width: 360px) {
  .topbar, .top-actions, .topbar .brand { gap: 6px; }
}

.excursions-link{display:inline-block;color:#87520a;font-size:13px;font-weight:650;text-underline-offset:3px;padding:3px 7px;border:1px solid #dfbd82;border-radius:999px;background:#fff8e9}.map-heading .excursions-link{margin-top:2px}.excursion-departure-note{display:block;color:#70460d;font-size:12px;margin:2px 0 7px}
.port-source-picker label{display:flex;align-items:center;gap:8px;font-size:12px;color:#34534e}
.port-source-picker select{flex:1;min-width:0;max-width:100%;padding:5px;border:1px solid #b4c8c2;border-radius:5px;background:#fff;color:#174b43}
.local-boat-times{font-size:12px;color:#34534e;padding:5px 0 8px}
.local-boat-times p{margin:4px 0}
@media(max-width:800px){.map-selection{bottom:calc(var(--map-footer-height,65px) + 6px)}}

/* Fit the map to the space below the navigation. */
body{height:100dvh;display:flex;flex-direction:column}
.topbar{flex:0 0 auto}
.workspace{flex:1 1 auto;height:auto;min-height:0}
.travel-mode-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start;width:100%;min-width:0}
.travel-mode-row>.travel-mode-row-content{display:block;min-width:0;overflow-wrap:anywhere}
.schedule-row.travel-mode-row>.travel-mode-row-content{display:flex;gap:14px;align-items:start}
.travel-mode-row .schedule-time{flex:none}
.travel-mode-row>.travel-mode-badges{display:flex!important;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:2px;margin:0;line-height:1;align-self:start}
.travel-mode-badges>.travel-mode-badge{position:relative;display:inline-flex!important;align-items:center;justify-content:center;width:24px;height:24px;padding:2px;border:0;border-radius:4px;white-space:nowrap;cursor:help}
.travel-mode-badges .travel-mode-icon{display:inline-flex!important;width:20px;height:20px;line-height:1;color:var(--travel-icon-color,#3e744b)}
.travel-mode-icon svg{display:block;width:100%;height:100%}
.travel-mode-badge:focus-visible{outline:2px solid var(--green);outline-offset:1px;background:#e7f3eb}
.travel-mode-badge:is(:hover,:focus)::after{content:attr(aria-label);position:absolute;z-index:10;right:0;top:calc(100% + 3px);padding:4px 7px;border-radius:4px;background:#193d39;color:white;font:12px/1.3 'DM Sans',sans-serif;box-shadow:0 2px 6px #193d3926;pointer-events:none}
.schedule-meta{min-width:0}
.crossing-travel-filter{display:flex;align-items:center;gap:10px;margin:0 0 14px}
.crossing-travel-filter label{white-space:nowrap;font-size:13px}
.crossing-travel-filter select{width:240px;max-width:100%;min-height:40px;font-size:13px}
@media(max-width:800px){
}

/* Passenger details: make the next step and published evidence easy to scan. */
.departure-board{margin:0 0 22px;padding:17px 18px;border:1px solid #d4e2da;border-radius:12px;background:#f8fbf8}
.departure-board>h3:first-child{margin:0 0 12px;font-size:18px;letter-spacing:-.2px;color:#183f38}
.departure-board>h3{margin-top:19px}
.departure-board .traveller-times{padding:10px 0}
.departure-board .schedule-time{font-size:15px;font-weight:700;color:#143e37}
.departure-board .schedule-row{padding:7px 10px;border-radius:7px;background:white}
.departure-board .ticket-links{margin:11px 0 4px}
.departure-board .ticket-link{background:#fff;border-width:1px;font-size:13px}
.departure-board .fare-card{padding:12px 13px;border:1px solid #dce7df;background:white;border-radius:9px}
.departure-board .fare-card>strong{display:block;margin-bottom:5px}
.departure-board .fare-card select{min-height:38px;border:1px solid #bdcec3;border-radius:6px;padding:6px 9px;background:#fff;color:#174b43}
.departure-board .fare-unavailable{color:#66786d;font-size:13px}
.departure-board .private-boat-offer{margin-top:14px;padding:13px;border-left:3px solid #af8d48;border-radius:5px;background:#f6f4eb}
.departure-board .private-boat-offer>strong{display:block;color:#644e20}
.departure-board .private-boat-offer p{line-height:1.55}
.departure-board .private-boat-offer a{font-weight:600}
.traveller-summary>h3{margin-top:17px}
.ticket-links .ticket-link{min-height:42px;display:inline-flex;align-items:center}
.feedback-teaser{justify-content:space-between;min-height:43px}
.feedback-teaser-score{font-size:13px}
@media(max-width:600px){
 .departure-board{padding:13px 12px;margin-bottom:17px}
 .departure-board>h3:first-child{font-size:17px}
 .departure-board .traveller-times p{font-size:13px}
 .departure-board .ticket-links{display:grid;grid-template-columns:1fr}
 .departure-board .ticket-link{justify-content:center;text-align:center}
}

/* Port guide over the public map. Only its content area scrolls. */
.map-selection.port-sheet:not([hidden]){
  display:flex;flex-direction:column;width:min(400px,calc(100% - 28px));padding:0;
  max-height:calc(100% - var(--map-footer-height,65px) - 82px);overflow:hidden;
  z-index:1050;color:#173d38;border:1px solid #adc6be;border-radius:14px;box-shadow:0 8px 28px #173d3833
}
.port-sheet>.panel-head{padding:12px 16px 0;background:#174943;color:#fff}
.port-sheet>.panel-head h2{font-size:21px;line-height:1.16;overflow-wrap:anywhere}
.port-sheet>.panel-head .close-button{background:transparent;border-color:#82a9a0;color:white;width:44px;height:44px;flex:none}
.port-sheet>.tray-subtitle{margin:0;padding:0 16px 12px;background:#174943;color:#dfede7;font-size:13px}
.port-nav{display:flex;flex:none;border-bottom:1px solid #cbdad5;background:#fff;padding:0 10px}
.port-nav button{flex:1 1 0;background:none;border:0;border-bottom:3px solid transparent;color:#395952;font:inherit;font-size:14px;font-weight:650;min-height:44px}
.port-nav button[aria-pressed=true]{color:#09594d;border-bottom-color:#147665;background:#f3f8f5}
.port-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px 16px 14px;scrollbar-gutter:stable;overflow-wrap:anywhere}
.port-body .connection-button{position:relative;min-height:48px;padding:10px 22px 10px 0;font:inherit}
.port-body .connection-button::after{content:'›';position:absolute;right:3px;top:50%;transform:translateY(-50%);font-size:21px;color:#43726a}
.port-body .connection-button strong{font-size:15px}.port-body .connection-button small,.port-sailing small,.port-caption{font-size:12px;line-height:1.45;color:#4a645f}
.port-body h3{font-size:13px;letter-spacing:.015em;color:#375e55;margin:10px 0 6px}
.port-body summary,.port-guide-link{min-height:44px;align-content:center}
.port-body .port-source-picker{margin:12px 0}.port-source-picker select{min-height:44px}
.port-guide-link{display:inline-block;padding:10px 0;color:#096457;text-underline-offset:3px;font-weight:600}
.port-quay{display:block;align-content:center;min-height:44px;padding:8px 0;border-bottom:1px solid #dbe5df;color:#095c50}
.port-location summary{cursor:pointer;font-size:14px;font-weight:650}
.port-location-actions{display:grid;gap:4px;margin:0 0 12px}
.port-location-actions>a,.port-location-actions>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:44px;padding:8px 12px;border-radius:6px;font-size:14px;line-height:1.35;text-align:start;color:#095c50}
.port-location-actions>button{border:1px solid #afc9bf;background:#f0f7f3;font-weight:650}
.port-location-actions>a{border-bottom:1px solid #dde7e1;text-underline-offset:3px}
.port-location-actions>a::after{content:'↗' / '';flex:none;color:#467368}
.port-body .port-source-picker label{display:grid;gap:6px}
.port-body .port-source-picker select{width:100%;min-height:44px;padding:8px;font-size:16px}
.port-sharing{display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px;border-top:1px solid #dbe5df;padding-top:6px}
.port-sharing>.text-button{min-height:44px}
.port-day{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;font-weight:600}
.port-demand{padding:4px 10px 10px;background:#f0f6f1;border-radius:8px;margin:8px 0}
.port-demand a,.port-demand small{display:block}.port-demand a{padding:6px 0;font-weight:650;color:#095c50}
.port-day input{width:auto;max-width:58%;font:inherit;color:inherit;border:1px solid #aac3bb;background:#fff;border-radius:6px;min-width:0;padding:5px 8px;min-height:44px}
.port-caption{margin:6px 0}.port-empty{font-size:14px;line-height:1.5;color:#425e55}
.port-sailing{display:grid;grid-template-columns:3.2em minmax(0,1fr);gap:8px;padding:10px 0;border-top:1px solid #dbe5df}
.port-sailing time{font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;color:#174943}
.port-sailing a{color:#095c50;font-weight:650;text-underline-offset:3px}
.port-sailing small{display:block}
.port-sailing .port-ticket{display:inline-block;padding:6px 0;color:#22665a;font-size:12px;font-weight:500}
.port-sheet :focus-visible{outline:2px solid #ab670d;outline-offset:-2px}
@media(min-width:801px){
 .map-selection.port-sheet:not([hidden]){top:calc(var(--map-heading-height,72px) + 8px);max-height:calc(100% - var(--map-heading-height,72px) - var(--map-footer-height,65px) - 16px)}
}
@media(max-width:800px){
 .map-selection.port-sheet:not([hidden]){width:calc(100% - 14px);max-height:min(58%,510px)}
 .port-sheet>.panel-head{padding:6px 14px 0}.port-sheet>.tray-subtitle{padding:0 14px 8px}
 .port-body{padding:4px 12px 10px;scrollbar-gutter:auto}
}
@media(max-height:520px){
 .map-selection.port-sheet:not([hidden]){top:4px;bottom:auto;max-height:calc(100% - 8px)}
}

/* The map stays full height until the traveller opens the shared filter sheet. */
#closeMap{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 12px}
#filterCount:not([hidden]){display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:10px;background:#17695c;color:white;font-size:12px}
.filter-sheet{width:min(430px,calc(100vw - 32px));max-width:100%;max-height:88dvh;overflow:hidden;padding:0;color:#183e37}
.filter-sheet::backdrop{background:#173d344d;backdrop-filter:none}
.filter-sheet .explorer{position:static;inset:auto;width:100%;height:auto;max-height:88dvh;min-height:0;overflow:hidden;border:0;border-radius:0;box-shadow:none;background:#fff}
.filter-sheet .explorer-head{padding:14px 20px 10px;border-bottom:1px solid #dce7e1;background:white;flex:none}
.filter-sheet h2{font-size:20px;margin:0;letter-spacing:-.4px}
.filter-sheet .close-button{min-width:44px;min-height:44px}
.filter-sheet-body{padding:16px 20px 0;overflow-y:auto;overscroll-behavior:contain;min-height:0}
.filter-sheet #searchForm{display:grid;gap:7px;margin:0}
.filter-sheet #searchForm>label,.mode-field legend{font-size:14px;font-weight:650;color:#294a42}
.filter-sheet #searchForm>label:not(:first-child){margin:7px 0 0}
.mode-field{margin:0 0 3px;padding:0;border:0;min-width:0}
.mode-field legend{padding:0 0 8px}
.mode-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.mode-choices label{position:relative;display:block;min-width:0;cursor:pointer}
.mode-choices input{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.mode-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:61px;height:100%;padding:7px 3px;border:1px solid #c8d7d0;border-radius:9px;background:#fff;color:#39564e;text-align:center;font-weight:600;font-size:12px;line-height:1.2;overflow-wrap:anywhere}
.mode-glyph{display:grid;place-items:center;line-height:1;color:var(--travel-icon-color,#3e744b)}
.mode-glyph svg{display:block;width:28px;height:26px}
.mode-choices input:checked+.mode-tile{border-color:#17695c;box-shadow:inset 0 0 0 1px #17695c;background:#edf6ef;color:#145346}
.mode-choices input:focus-visible+.mode-tile{outline:3px solid #bf780d;outline-offset:2px}
.filter-sheet #mapScope,.filter-sheet #search{width:100%;max-width:none;min-height:44px;border:1px solid #a9bdb2;border-radius:8px;background-color:#fff;padding:8px 10px;font:inherit;font-size:16px}
.filter-sheet .trip-filters{margin:0}
.filter-sheet :is(.trip-filters,.expert-filters)>summary,.filter-directory>summary{padding:13px 2px;cursor:pointer;color:#24564a;font-weight:600}
.expert-filters{border-top:1px solid #dce7e1}
.expert-filters .scope-label{display:block;margin:4px 0 6px}
.filter-directory{border-top:1px solid #dce7e1}
.filter-directory>summary{font-size:14px}
.filter-directory .route-list{overflow:visible;height:auto;max-height:none;padding:0}
.filter-directory .results-head,.filter-directory .list-footer{padding:8px 0}
.filter-sheet-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-top:1px solid #dce7e1;background:#f9fcf9;flex:none}
.filter-sheet-actions button{min-height:44px}
#viewFilteredMap{padding:9px 24px;border:1px solid #17695c;border-radius:8px;color:white;background:#17695c;font-weight:650}
@media(max-width:600px){
  .filter-sheet{position:fixed;inset:auto 0 0;width:100%;max-height:90dvh;margin:0;border-radius:18px 18px 0 0;border-bottom:0}
  .filter-sheet .explorer{max-height:90dvh}
  .filter-sheet-actions{padding-bottom:max(12px,env(safe-area-inset-bottom))}
  .map-heading{flex-wrap:nowrap}
  .map-heading>div:first-child{min-width:0}
}
#viewFilteredMap{display:inline-flex;align-items:center;gap:9px}
.filter-result-count:not(:empty){padding:2px 6px;border-radius:5px;background:#ffffff24;font-size:12px;font-variant-numeric:tabular-nums}

.menu-toggle{display:grid;place-items:center;width:44px;height:44px;padding:0;background:#fff;color:#195449;border:1px solid #bdcfc5;border-radius:8px}
#findPort{margin-inline-start:auto;margin-inline-end:8px;max-width:42%;min-height:44px;line-height:1.2;text-wrap:balance}
.topbar .menu-toggle{flex:none}
#filterSheet[data-panel="directory"] .visitor-places-option{display:none}
.filter-sheet .filter-source-link{min-height:44px}
.site-menu{position:fixed;inset:58px 16px auto auto;margin:0;width:min(294px,calc(100vw - 24px));max-height:calc(100dvh - 72px);overflow:auto;padding:6px;border:1px solid #bdcfc5;border-radius:12px;background:#fff;color:#193d39;box-shadow:0 10px 32px #163e532b}
.site-menu:popover-open{display:grid}
.site-menu>a,.site-menu>button{display:flex;align-items:center;min-height:44px;width:100%;padding:9px 12px;border:0;border-radius:7px;text-decoration:none;text-align:left;background:white;color:inherit;font-size:15px;font-weight:550}
.site-menu>a:hover,.site-menu>button:hover{background:#eef5f0}
.site-menu .language{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 5px;margin-top:4px;border:0;border-top:1px solid #dce7e1;border-radius:0;background:white}
.site-menu .language label{margin:0;font-size:14px}
.site-menu select{max-width:68%;min-height:44px}
#filterSheet[data-panel="filters"] #portDirectory,#filterSheet[data-panel="directory"] :is(.mode-field,.expert-filters,.trip-filters,.filter-directory>summary){display:none}
#filterSheet[data-panel="directory"] .filter-directory{margin-top:12px}
#filterSheet .map-legend{display:flex;margin:8px 0;gap:8px 14px;align-items:center;font-size:12px}
.filter-source-link{justify-self:start;display:inline-flex;align-items:center;min-height:32px;font-size:13px}
.mapbox .map-footer[hidden]{display:none}
@media(max-width:800px){.site-menu{inset:50px 8px auto auto}}

.departure-board .departure-quay{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 9px;color:#466158;font-size:13px}
.departure-quay button{min-height:36px;text-align:left;text-decoration:underline;text-underline-offset:3px}
.departure-quay-popup{display:grid;gap:4px}
#filterSheet[data-panel="directory"] .visitor-places-option{display:none}
.visitor-place-icon{display:grid;place-items:center}
.visitor-place-icon span{display:grid;place-items:center;box-sizing:border-box;width:12px;height:12px;background:#624081;color:white;border:1px solid white;border-radius:50%;font:9px/1 system-ui}
.visitor-place-popup{display:grid;gap:4px}
.visitor-place-popup p{margin:3px 0}
.visitor-place-photo{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#edf4ef;border-radius:6px}
.visitor-place-price{font-weight:650}
.visitor-place-credit{color:#486155;font-size:10px}
.visitor-place-sources{font-size:12px}
:root:not(.ferry-expert) :is(.expert-filters,.route-sources,.journey-ticket-sources){display:none!important}
.port-excursion{margin:16px 0 10px}
.port-excursion-link{display:flex;width:100%;min-height:88px;border:1px solid #9bc9a1;border-radius:14px;background:#f1faf0;color:#123c2f;text-decoration:none;overflow:hidden}
.port-excursion-link:hover{background:#c8efcf;border-color:#609d67}
.port-excursion-link:focus-visible{outline:2px solid #267c37;outline-offset:2px}
.port-excursion-preview{display:grid;grid-auto-rows:minmax(0,1fr);gap:2px;flex:0 0 35%;max-width:146px;contain:size;overflow:hidden;background:#dbf4de}
.port-excursion-preview img{display:block;width:100%;height:100%;min-height:0;object-fit:cover}
.port-excursion-preview img[hidden]{display:none}
.port-excursion-preview:not(:has(img:not([hidden]))){display:none}
.port-excursion-action{display:grid;flex:1;min-width:0;align-content:center;justify-items:start;gap:7px;padding:10px 12px}
.port-excursion-label{display:grid;min-width:0;gap:2px;line-height:1.2;font-size:16px;overflow-wrap:anywhere}
.port-excursion-category,.port-excursion-label small,.port-excursion-credit{color:#365846}
.port-excursion-category{font-size:13px;font-weight:650}
.port-excursion-link:hover strong{text-decoration:underline}
.port-excursion-cta{display:inline-flex;align-items:center;gap:8px;min-height:30px;padding:5px 8px;border-radius:8px;background:#267c37;color:white;font-size:13px;font-weight:700;line-height:1.2}
.port-excursion-link:hover .port-excursion-cta{background:#1c622b}
.port-excursion-cta span{font-size:17px;line-height:1}
.port-excursion-credit{display:flex;flex-wrap:wrap;gap:2px 10px;margin:3px 2px;font-size:10px;text-underline-offset:2px}
.port-excursion-credit a{color:inherit}
.port-excursion:not(:has(img:not([hidden]))) .port-excursion-credit,
.port-excursion:has(img:first-child[hidden]) .port-excursion-credit > :first-child,
.port-excursion:has(img:nth-child(2)[hidden]) .port-excursion-credit > :nth-child(2){display:none}
.journey-port-map-link{display:block;min-height:44px;margin-top:8px}
