:root{--reward-teal:#00776e}
#home .passenger-account-bar{justify-content:flex-end;background:transparent;padding:8px 0 0;gap:10px}
#home .passenger-account-bar a,#home .passenger-account-bar button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 18px;border:1.5px solid var(--reward-teal);border-radius:13px;background:#fff;color:var(--reward-teal);font:750 clamp(13px,2.1vw,21px)/1.2 system-ui,sans-serif;text-decoration:none;cursor:pointer}
#home .home-welcome{margin-top:10px}
.home-rewards{margin:12px 0 0;padding:12px 14px 8px;background:linear-gradient(120deg,#fff8e5,#fff0cb);border:1.5px solid #e5a51f;border-radius:18px;box-shadow:0 5px 16px #b4861915}
.home-rewards-intro{display:flex;align-items:center;gap:14px}.reward-gift{font-size:clamp(38px,7vw,65px);line-height:1.1;flex:none}.home-rewards h2{font-size:clamp(19px,3.8vw,36px);line-height:1.15;letter-spacing:-.5px;margin:0 0 5px;color:#07343c}.home-rewards p{margin:0;color:#485b5e;font-size:clamp(12px,2.1vw,20px);line-height:1.4}
.home-rewards-button{display:flex;align-items:center;justify-content:center;position:relative;min-height:44px;margin-top:10px;padding:10px 24px;border-radius:12px;background:var(--reward-teal);color:#fff;text-decoration:none;font-size:clamp(16px,2.6vw,25px);font-weight:750}.home-rewards-button span{position:absolute;right:18px;font-size:25px}.home-rewards .home-rewards-note{text-align:center;font-size:clamp(11px,1.6vw,15px);margin-top:4px}.home-rewards-button:hover{background:#00665e}
#loginChoice{width:min(420px,calc(100% - 32px));border:1px solid #b9d9d1;border-radius:22px;padding:26px;color:#07343c;background:#f6fcf9;box-shadow:0 20px 60px #003b3850;font-family:system-ui,sans-serif}#loginChoice::backdrop{background:#062d35a6}#loginChoice h2{margin:0 0 8px;font-size:28px}#loginChoice p{font-size:14px;color:#4a6864}.account-close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#00776e;font-size:28px;width:44px;height:44px;cursor:pointer}.account-option{display:block;border:1px solid #a9cec5;border-radius:14px;background:#fff;color:#00776e;padding:16px;margin:12px 0;text-decoration:none}.account-option strong,.account-option span{display:block}.account-option strong{font-size:18px}.account-option span{font-size:13px;margin-top:5px;color:#58706c}.account-register a{color:#00776e}.account-option:hover{background:#e9f6f1}#home .passenger-account-bar button:focus-visible,.home-rewards a:focus-visible,#loginChoice a:focus-visible,#loginChoice button:focus-visible{outline:3px solid #d39b12;outline-offset:3px}
@media(max-width:360px){.home-rewards{padding:10px}.home-rewards-intro{gap:8px}.home-rewards h2{font-size:18px}.home-rewards p{font-size:11px}}
/* Viewport-aware compact home: keep every action visible without clipping. */
.shell:has(#home.active){width:min(100%,760px,calc(100dvh * .96))}
#home.active{min-height:100dvh;padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:0}
#home .hero{padding:clamp(12px,2dvh,20px) 18px;border-radius:20px}
#home .brand-home{font-size:clamp(27px,4dvh,38px);letter-spacing:-.7px;line-height:1.08}
#home .brand-home small{font-size:clamp(16px,2.4dvh,21px);line-height:1.15;margin-top:3px}
#home .hero h1{font-size:clamp(15px,2.1dvh,20px);line-height:1.2;margin:10px 0 6px;max-width:100%;letter-spacing:-.2px}
#home .hero p{font-size:clamp(12px,1.7dvh,15px);line-height:1.3;max-width:64%}
#home .passenger-account-bar{padding-top:6px;gap:8px}
#home .passenger-account-bar a,#home .passenger-account-bar button{min-height:44px;font-size:14px;padding:8px 18px}
#home .home-welcome{font-size:clamp(19px,2.7dvh,25px);line-height:1.2;margin:9px 0 8px;letter-spacing:-.4px}
#home .quick{margin:0;gap:8px}
#home .quick .secondary{min-height:clamp(56px,8dvh,76px);padding:10px 12px;gap:10px;font-size:clamp(14px,2dvh,18px);line-height:1.15;border-radius:15px}
#home .home-action-icon,#home .quick .warning-icon{width:28px;height:30px}
#home .home-how-panel{margin:10px 0 0}
#home .home-how-panel .section-title{font-size:clamp(20px,2.7dvh,25px);line-height:1.15;margin-bottom:6px;letter-spacing:-.4px}
#home .home-how-panel .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#home .home-how-panel .card{flex-direction:column;justify-content:center;align-items:flex-start;gap:5px;padding:8px;min-width:0;border-radius:12px}
#home .home-how-panel .home-step{width:26px;height:26px;font-size:18px}
#home .home-how-panel .card strong{display:block;font-size:clamp(12px,1.7dvh,15px);line-height:1.15}
#home .home-how-panel .card small{font-size:11px;line-height:1.2;margin-top:4px}
#home .home-review-note{font-size:10px;margin-top:5px;line-height:1.2}
#home .home-rewards{margin-top:8px;padding:9px 12px 6px;border-radius:16px}
#home .home-rewards-intro{gap:10px}
#home .reward-gift{font-size:36px}
#home .home-rewards h2{font-size:clamp(18px,2.7dvh,24px);line-height:1.1;margin-bottom:3px;letter-spacing:-.4px}
#home .home-rewards p{font-size:11px;line-height:1.25}
#home .home-rewards-button{min-height:44px;margin-top:7px;padding:8px 25px;font-size:17px}
#home .home-rewards .home-rewards-note{font-size:10px;margin-top:3px}
/* Short phone windows keep explanatory text concise; every control remains. */
@media(max-height:760px){
 #home .hero p{display:none}
 #home .hero h1{margin-bottom:0}
 #home .home-how-panel .card small{display:none}
 #home .home-how-panel .card{flex-direction:row;align-items:center;gap:5px;padding:8px 6px;min-height:54px}
 #home .home-how-panel .home-step{width:22px;height:22px;font-size:16px}
}
@media(max-height:620px){
 #home.active{padding-top:6px;padding-bottom:6px}
 #home .hero{padding:10px 14px}
 #home .brand-home{font-size:27px}
 #home .brand-home small{font-size:15px}
 #home .hero h1{font-size:14px;margin-top:7px}
 #home .home-welcome{margin:6px 0;font-size:18px}
 #home .quick .secondary{min-height:52px;padding:8px 10px;font-size:13px}
 #home .home-how-panel{margin-top:7px}
 #home .home-how-panel .section-title{font-size:18px;margin-bottom:4px}
 #home .home-how-panel .card{min-height:48px;padding:6px 4px}
 #home .home-how-panel .card strong{font-size:11px}
 #home .home-rewards{margin-top:6px;padding:7px 10px 5px}
 #home .home-rewards h2{font-size:18px}
 #home .reward-gift{font-size:30px}
 #home .home-rewards-button{margin-top:5px}
}
/* On very narrow or zoomed windows, preserve readable controls and allow natural scroll. */
@media(max-width:320px){#home .home-how-panel .cards{grid-template-columns:1fr}#home .home-how-panel .card{flex-direction:row}#home .quick .secondary{font-size:13px;padding:8px;gap:6px}}
/* Bring compact live details closer to the approved phone preview. */
#home .reward-gift{display:flex;width:46px;height:52px;align-items:center;justify-content:center}
#home .reward-gift svg{display:block;width:100%;height:100%}
#home .home-action-icon,#home .quick .warning-icon{width:32px;height:34px}
#home .quick .secondary{font-size:clamp(15px,2.1dvh,19px)}
#home .home-how-panel .home-step{width:32px;height:32px;font-size:22px}
#home .home-how-panel .card{gap:7px;padding:9px 7px}
#home .home-how-panel .card strong{font-size:clamp(12px,1.8dvh,15px)}
#home .home-rewards-intro{gap:12px}
#home .home-rewards{background:linear-gradient(120deg,#fff9e9,#fff1cc);border-color:#e5a51f;box-shadow:0 5px 16px #b4861915}
@media(max-height:620px){#home .home-action-icon,#home .quick .warning-icon{width:28px;height:30px}#home .quick .secondary{font-size:13px}#home .home-how-panel .home-step{width:26px;height:26px;font-size:18px}#home .home-how-panel .card{gap:5px;padding:6px 4px}#home .home-how-panel .card strong{font-size:11px}#home .reward-gift{width:38px;height:43px}}
/* Approved bottom account controls: guest reporting comes first. */
#home .home-account-footer{margin-top:8px;padding:0;background:transparent;text-align:center;color:#07343c}
#home .home-account-footer>p{margin:0 0 5px;font-size:12px;line-height:1.25;font-weight:700;color:#07343c}
#home .home-account-footer .passenger-account-bar{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0}
#home .home-account-footer .passenger-account-bar a,#home .home-account-footer .passenger-account-bar button{width:100%;min-height:44px;font-size:16px;border-radius:14px;background:#fff}
@media(max-height:620px){#home .home-account-footer{margin-top:6px}#home .home-account-footer>p{font-size:11px;margin-bottom:4px}}
/* Passenger account state: preserve the compact approved home layout. */
#home .passenger-account-bar [hidden]{display:none!important}
#home .journey-points-notice{margin:5px 0 0;text-align:center;font-size:11px;line-height:1.25;color:#075e54;font-weight:650}
#home #passengerLogout{border:2px solid #96342d;color:#842820;background:#fff5f3;font-weight:800}
#home #passengerLogout:hover{background:#ffe4df}
#home #passengerLogout:disabled{opacity:.65;cursor:wait}
#home .home-admin-link{display:inline-block;color:#405b58;font-size:11px;padding:4px 10px;text-decoration:underline}
#home #homeAccountStatus:empty{display:none}
#home #homeAccountStatus{font-size:12px;line-height:1.3;margin:5px 0;color:#842820}
#home #homeWelcome{overflow-wrap:anywhere}

/* Guest account controls share one compact row. */
#home #passengerLogin{grid-column:auto}

/* One neutral entry point for authorized administrator and partner accounts. */
#home .home-institutional-access{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin-top:6px;padding:8px 12px;border:1px solid #a8bcb6;border-radius:12px;background:#f3f6f5;color:#405b58;font-size:12px;font-weight:650;text-decoration:none}
#home .home-institutional-access:hover{background:#e8f0ed}
#home .home-institutional-access:focus-visible{outline:3px solid #c39321;outline-offset:2px}

/* Passenger entry left, administrator/partner entry right. */
#home .home-account-footer .passenger-account-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#home .home-account-footer .passenger-account-bar a,#home .home-account-footer .passenger-account-bar button{min-width:0;min-height:44px;padding:8px 7px;font-size:clamp(12px,3.2vw,15px);line-height:1.2}
#home .home-account-footer .home-institutional-access{margin-top:0;background:#f3f6f5;color:#405b58;border-color:#a8bcb6}
#home .home-account-footer .passenger-account-bar:has(#passengerLogout:not([hidden])){grid-template-columns:repeat(3,minmax(0,1fr))}
#home .home-account-footer .passenger-account-bar:has(#passengerLogout:not([hidden])) a,#home .home-account-footer .passenger-account-bar:has(#passengerLogout:not([hidden])) button{font-size:12px}
/* Approved teal and blue homepage access controls. */
#home .home-account-footer #passengerLogin{background:linear-gradient(135deg,#087e6c,#056454);border:1.5px solid #056454;color:#fff;box-shadow:0 3px 8px #05645420;font-weight:750;border-radius:13px}
#home .home-account-footer .passenger-account-bar a.home-institutional-access{background:#3a548f;background:linear-gradient(135deg,#526eaf,#3a548f);border:1.5px solid #3a548f;color:#fff;box-shadow:0 3px 8px #3a548f20;font-weight:750;border-radius:13px}
#home .home-account-footer #passengerLogin:hover{background:#056454}
#home .home-account-footer .passenger-account-bar a.home-institutional-access:hover{background:#334c84}
#home .home-account-footer #passengerLogin:focus-visible,#home .home-account-footer .home-institutional-access:focus-visible{outline:3px solid #d5a32a;outline-offset:3px}
