@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');
:root{--orange:#f2762e;--tosca:#16897b;--tosca-soft:#e4f3f0;--laut:#0e3f5c;--cream:#fbf8f3;--ink:#16232b;--ink-soft:#5b6b74;--line:#eae3d8;color-scheme:light}
body[data-bridge=mobile]{font:14px/1.5 Inter,system-ui,sans-serif;color:var(--ink);background:radial-gradient(circle at 15% -10%,#fdefe0 0%,transparent 45%),radial-gradient(circle at 100% 0%,var(--tosca-soft) 0%,transparent 40%),var(--cream);padding:36px 16px 48px}
.ferry-showcase{text-align:center;margin:0 auto 22px;max-width:396px;color:var(--laut);font-size:14px}.ferry-showcase p{margin:8px 0 0;font-size:11px;color:var(--ink-soft)}
main.ferry-phone{position:relative;display:flex;flex-direction:column;width:396px;max-width:100%;height:800px;max-height:calc(100dvh - 140px);min-height:580px;margin:auto;padding:30px 0 0;border-radius:38px;background:#fff;box-shadow:0 30px 60px -20px #0e3f5c47,0 0 0 10px #fff,0 0 0 11px #e7e0d2;overflow:hidden}
.ferry-notch{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:110px;height:22px;border:1px solid #eee;border-radius:99px;pointer-events:none}
.ferry-topbar{display:flex;align-items:center;gap:10px;padding:14px 18px 12px;background:#fff;flex-shrink:0}
.ferry-back,.ferry-refresh{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;padding:0;border-radius:14px;background:#e7eef3;border:0;color:var(--laut);text-decoration:none}
.ferry-refresh{background:#f5f7f7}.ferry-back svg,.ferry-refresh svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ferry-brand{min-width:0;flex:1;line-height:1.35}.ferry-brand strong{display:block;font:800 16px 'Plus Jakarta Sans',Inter,sans-serif;letter-spacing:-.5px;color:var(--laut)}.ferry-brand span{display:block;font-size:10px;color:var(--ink-soft);margin-top:3px}
.ferry-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:none;padding:4px 18px 20px;background:#fff;scroll-padding-top:16px}.ferry-scroll::-webkit-scrollbar{display:none}
.ferry-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:23px;padding:19px 20px 18px;background:linear-gradient(120deg,#0e3f5c 15%,#15526a 62%,#16897b);color:white;margin-bottom:18px;box-shadow:0 12px 20px -14px #0e3f5c99}
.ferry-hero-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.ferry-service-icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff4d;background:#ffffff16;border-radius:13px}.ferry-service-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ferry-mode{font-size:10px;font-weight:700;letter-spacing:.2px;color:#fff0d4;background:#ffffff17;border:1px solid #ffffff38;border-radius:30px;padding:4px 10px}
.ferry-eyebrow{font-size:9px;font-weight:700;letter-spacing:1.1px;color:var(--ink-soft);margin:0 0 5px}.ferry-hero .ferry-eyebrow{color:#d1e8eb;font-size:9px;letter-spacing:1.5px}
.ferry-hero h1{font:800 28px/1.2 'Plus Jakarta Sans',Inter,sans-serif;letter-spacing:-.8px;margin:0 0 7px;color:white}.ferry-vessel{font-size:12px;color:#e0eff1;margin:0 0 17px}.ferry-vessel span{opacity:.6;padding:0 4px}
.ferry-hero-facts{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff30;padding-top:12px;font-size:11px;color:#d5e8ec}.ferry-hero-facts strong{font-size:15px;color:#fff;font-weight:700}.ferry-hero-facts>span:last-child{border:1px solid #ffffff40;border-radius:8px;padding:3px 8px;font-size:10px}
.ferry-waves{position:absolute;bottom:0;left:0;width:100%;height:46px;z-index:-1;fill:#ffffff08}.ferry-waves path:last-child{fill:#ffffff0a}
.ferry-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--cream);border:1px solid var(--line);padding:4px;border-radius:14px;margin:0 0 18px}
.ferry-tabs button{min-height:44px;padding:10px 8px;border:0;border-radius:10px;background:none;color:var(--ink-soft);font-size:12px;font-weight:700}
.ferry-tabs button[aria-pressed=true]{background:var(--laut);color:#fff;box-shadow:0 3px 6px #0e3f5c14}
.ferry-scroll .card{padding:17px 16px;margin:0 0 15px;border:1px solid var(--line);border-radius:18px;box-shadow:0 4px 14px #0e3f5c04}
.ferry-section-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}.ferry-step{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;background:var(--tosca-soft);color:#12796d;border-radius:10px;font-size:12px;font-weight:800}
.ferry-scroll h2{font:800 15px/1.4 'Plus Jakarta Sans',Inter,sans-serif;letter-spacing:-.3px;color:var(--laut);margin:0}.ferry-section-heading .ferry-eyebrow{font-size:8px;margin-bottom:2px;letter-spacing:1px}
.ferry-scroll .fields{display:grid;grid-template-columns:1fr;gap:13px}.ferry-scroll label{gap:7px;font-size:11px;font-weight:600;color:var(--ink-soft)}.ferry-scroll input,.ferry-scroll select{font:500 13px/1.4 Inter,system-ui,sans-serif;min-height:46px;max-width:100%;width:100%;padding:11px 12px;border:1px solid #e3e7e7;border-radius:11px;background:#fafbfb;color:var(--ink);appearance:auto}
.ferry-scroll input[type=date]{display:block;min-width:0;box-sizing:border-box;-webkit-appearance:none;appearance:none}.ferry-scroll input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:18px}
.ferry-scroll button{min-height:44px;font-size:12px;border-radius:11px;font-weight:700}.ferry-scroll .fields button,#ferry-google,#ferry-reserve-button{width:100%;min-height:46px;background:var(--tosca);color:#fff;border:1px solid var(--tosca);box-shadow:0 7px 14px -9px #16897b88}
.ferry-scroll button:disabled{box-shadow:none}.ferry-scroll .muted{font-size:11px;line-height:1.65;color:var(--ink-soft)}
#ferry-status{font-size:11px;line-height:1.6;color:var(--ink-soft);margin:0 2px 15px;min-height:0;overflow-wrap:anywhere}#ferry-status:empty{display:none}
.ferry-login{text-align:center;background:linear-gradient(150deg,#fff,var(--cream))}.ferry-login-icon{width:40px;height:40px;display:grid;place-items:center;background:#e7eef3;border-radius:14px;color:var(--laut);margin:0 auto 12px}.ferry-login-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.ferry-login p{font-size:11px;line-height:1.65;color:var(--ink-soft);margin:8px 0 15px}#ferry-member-login{display:inline-flex;align-items:center;min-height:44px;font-size:11px;text-underline-offset:3px}
.ferry-scroll .card-head{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.ferry-scroll #ferry-departure{font-size:12px;line-height:1.6;font-weight:700;margin:0;color:var(--laut)}.ferry-scroll #ferry-remaining{padding:5px 10px;border-radius:8px;font-size:10px;background:var(--tosca-soft);color:#12796d}
.ferry-scroll .legend{display:flex;justify-content:space-between;gap:5px;margin:16px 0 12px;font-size:10px;color:var(--ink-soft)}.legend span{display:flex;align-items:center;gap:5px}.seat-dot{width:11px;height:11px;border-radius:3px;background:#f2f8f6;border:1px solid #a6cec6;display:inline-block}.seat-dot.selected{background:var(--tosca);border-color:var(--tosca)}.seat-dot.booked{background:#e0e4e7;border-color:#c7cdd2}
#ferry-seats{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}#ferry-seats button{position:relative;min-width:0;min-height:44px;padding:10px 0;border-radius:10px;font-size:12px;background:#f4f9f7;color:#25675c;border-color:#c6ddd7}#ferry-seats button[aria-pressed=true]{background:var(--tosca);color:#fff;border-color:var(--tosca);box-shadow:0 4px 8px #16897b22}#ferry-seats button:disabled{background:#e5e8eb;color:#7b858e;border-color:#d8dde1;opacity:1}#ferry-seats button[data-booked=true]{background:repeating-linear-gradient(135deg,#e5e8eb,#e5e8eb 5px,#d9dee2 5px,#d9dee2 6px);color:#606f78}
#ferry-soldout{font-size:12px;background:#fbf0da;color:#805908;padding:12px;border-radius:11px}
.passenger-row{grid-template-columns:55px 1fr;gap:8px;margin:12px 0}.passenger-row>span{font-size:11px;color:var(--laut)}
#ferry-passengers>p{font-size:12px;color:var(--ink-soft);padding:10px 0}.ferry-scroll .total{border:1px solid var(--line);background:var(--cream);padding:13px;border-radius:12px;margin:14px 0;align-items:center;gap:8px;font-size:12px}.ferry-scroll .total strong{font:800 20px 'Plus Jakarta Sans',Inter,sans-serif;color:var(--laut);letter-spacing:-.5px}
#ferry-wallet{padding:10px 12px;background:#e4f3f077;border-radius:10px;color:#166456;font-size:11px}.order-head{gap:9px}.ferry-scroll .order-code{font-size:10px;overflow-wrap:anywhere;word-break:break-all;line-height:1.5;flex:1;min-width:0}
.ferry-scroll .badge{font-size:9px;padding:4px 9px;white-space:nowrap;align-self:flex-start;flex-shrink:0}.ferry-scroll #ferry-order-list>.card>p{font-size:12px;line-height:1.65;margin:11px 0}.ferry-scroll #ferry-order-list>.card>strong{color:var(--laut);font-size:15px}
.ferry-scroll .ticket{display:flex;flex-direction:column;align-items:stretch;border-color:#bad4ca;padding:15px;border-radius:14px;background:linear-gradient(140deg,#fff,#f6faf8);gap:14px;margin:15px 0}
.ferry-scroll .ticket img{display:block;width:160px;height:160px;align-self:center;background:#fff;padding:6px;border-radius:8px}.ferry-scroll .ticket>div{font-size:12px;line-height:1.6}.ferry-scroll .ticket p{margin:5px 0}.ferry-scroll .ticket strong{color:var(--laut);font-size:14px}
.ferry-scroll .order-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:15px}.ferry-scroll .order-actions>button{width:100%;padding:11px;font-size:11px}.ferry-scroll .secondary{border-color:#bbd4cd;color:#147c6f;background:#fff}
#ferry-ticket-search p{font-size:11px}.ferry-disclaimer{font-size:9px;line-height:1.8;color:#75838b;text-align:center;margin:20px 4px 0}
.ferry-bottomnav{flex-shrink:0;display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0;padding:10px 7px 13px;border-top:1px solid var(--line);background:#fff;z-index:2}
.ferry-bottomnav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:44px;text-decoration:none;color:#8a9aa3;font-size:9px;font-weight:600;white-space:nowrap}.ferry-bottomnav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ferry-bottomnav a.active{color:#c85a1c}.ferry-bottomnav a:hover{color:var(--laut)}
@media(max-width:600px){.ferry-scroll input,.ferry-scroll select{font-size:16px}.ferry-scroll label{font-size:12px}.ferry-scroll button{font-size:13px}.ferry-scroll .muted{font-size:12px}body[data-bridge=mobile]{padding:0;background:#fff}.ferry-showcase,.ferry-notch{display:none}main.ferry-phone{width:100%;height:100vh;height:100dvh;max-height:none;min-height:0;padding:0;border-radius:0;box-shadow:none}.ferry-topbar{padding-top:calc(12px + env(safe-area-inset-top,0px));padding-left:calc(18px + env(safe-area-inset-left,0px));padding-right:calc(18px + env(safe-area-inset-right,0px))}.ferry-bottomnav{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}}
html[data-app-mode=app] body[data-bridge=mobile]{padding:0;background:white}html[data-app-mode=app] .ferry-showcase,html[data-app-mode=app] .ferry-notch{display:none}html[data-app-mode=app] main.ferry-phone{width:100%;height:100vh;height:100dvh;max-height:none;min-height:0;padding:0;border-radius:0;box-shadow:none}
@media(max-width:350px){.ferry-topbar{padding-left:14px;padding-right:14px;gap:8px}.ferry-scroll{padding-left:14px;padding-right:14px}.ferry-brand strong{font-size:14px}.ferry-brand span{font-size:9px}.ferry-hero{padding:17px}.ferry-scroll .card{padding:15px 13px}.ferry-scroll .legend{font-size:9px}}
@media(prefers-reduced-motion:no-preference){.ferry-tabs button,#ferry-seats button{transition:background .15s,color .15s,box-shadow .15s}}
@media print{html,body[data-bridge=mobile]{background:white!important;padding:0!important;height:auto!important}.ferry-showcase{display:none!important}main.ferry-phone{display:block!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;min-height:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}main.ferry-phone>*{display:none!important}main.ferry-phone>#ferry-print{display:block!important}.ticket{break-inside:avoid}#ferry-print .ticket{display:flex!important;flex-direction:row;padding:16px;border:1px dashed #a7c9c2}#ferry-print .ticket img{width:160px;height:160px;print-color-adjust:exact}a{color:inherit}}
/* Keep the ticket itself in view once the customer switches to their orders. */
body[data-ferry-tab=orders] .ferry-hero{padding:15px 18px;margin-bottom:14px}
body[data-ferry-tab=orders] .ferry-hero>.ferry-eyebrow,body[data-ferry-tab=orders] .ferry-hero-facts,body[data-ferry-tab=orders] .ferry-waves{display:none}
body[data-ferry-tab=orders] .ferry-hero h1{font-size:23px;margin-bottom:5px}
body[data-ferry-tab=orders] .ferry-vessel{margin:0;font-size:11px}
.ferry-ticket-help{font-size:10px;line-height:1.7;color:var(--ink-soft);margin:8px 0 12px}
.ferry-ticket-help summary{cursor:pointer;min-height:24px}
.ferry-ticket-help p{margin:6px 0;font-size:11px}
#ferry-orders-title{margin-bottom:8px}
@media print{body[data-ferry-tab=orders] .ferry-hero{display:none!important}}
.ferry-tabs{position:sticky;top:0;z-index:3}
.ferry-scroll{scroll-padding-top:76px}
.ferry-scroll .card,.ferry-scroll input,.ferry-scroll select,#ferry-seats{scroll-margin-top:76px}
body[data-ferry-tab=orders] .ferry-hero-top{position:absolute;right:16px;top:15px;margin:0}
body[data-ferry-tab=orders] .ferry-service-icon{display:none}