/* JadęPL Ocean i mandarynka. Brand mark and wordmark retain production styling. */
:root{--blue:#087e8b;--blue2:#066570;--red:#ef3340;--green:#168a43;--text:#20364a;--muted:#5d7183;--line:#dce7ed;--bg:#f2f7fa;--card:#fff;--shadow:0 14px 34px #143a5510;--shadow-soft:0 5px 18px #143a5507;--ocean:#087e8b;--ocean-soft:#e2f2f4;--mandarin:#c96030;--mandarin-soft:#fff0e6}
html{background:#f2f7fa}body{background:radial-gradient(ellipse at 95% 0,#e1f0f4,transparent 52%),#f2f7fa;color:var(--text)}.app{background:transparent}.top{background:#1B2635;color:#f8fafc;border-color:#ffffff12;box-shadow:0 5px 18px #102c4712}.top .brand span{color:#ef3340}.top .brand{color:#F8FAFC}.top .brand small{color:#AAB7C7}.brand-mark{background:linear-gradient(145deg,#2F6FED,#2459C9);box-shadow:0 8px 20px #2f6fed47}
.card,.result,.verify-card,.admin-card,.notification-item,.report-admin-card{background:#fff;border-color:var(--line);color:var(--text)}.card{box-shadow:var(--shadow-soft)}.home-hero,.hero{background:linear-gradient(112deg,#122d44,#10465a);color:#fff;border-color:transparent;box-shadow:none}.home-hero{border-radius:18px;padding:28px!important;overflow:hidden}.home-hero h1{font-weight:750;letter-spacing:-.7px}.home-hero p{color:#dde8f4}.home-hero .hero-kicker{background:#ffffff12;color:#c8edf1;border-color:#ffffff24}.home-route-mini{color:#ecf6ff}.home-route-mini span{background:#ffffff10;padding:4px 7px;border:1px solid #ffffff1c;border-radius:6px;font-size:10px}.home-route-mini i{background:#ffffff40}.home-actions{gap:12px}.home-action{border-radius:14px;min-height:91px;border:1px solid var(--line);box-shadow:0 5px 14px #143a5505;padding:17px 20px}.home-action-copy strong{font-size:17px;font-weight:750}.home-action-copy small{font-size:12px;line-height:1.45}.home-action-search{background:linear-gradient(110deg,#087e8b,#086c7c);color:#fff;border-color:transparent}.home-action-search small{color:#e0f3f5}.home-action-search .home-action-icon{background:#ffffff18;color:#fff}.home-action-drive{background:#fff;color:var(--text)}.home-action-drive .home-action-icon{background:#e2f2f4;color:#087e8b}.home-action-drive small{color:#5d7183}.home-action-icon{border-radius:12px}.home-action-arrow{font-size:26px}.home-action:hover{box-shadow:0 9px 24px #143a5510}.home-action:focus-visible{outline:3px solid #c96030;outline-offset:3px}#transportAction{border-left:3px solid #c96030}#transportAction .home-action-icon{background:#fff0e6;color:#c96030}
.home-section-title,.home-section-title>span{color:#29465b}.home-text-link,.home-round-link{color:#08717d}.home-stat{border-color:var(--line);box-shadow:var(--shadow-soft)}.home-stat strong{color:#08717d}.home-stat span{color:#5d7183}.home-round-link{background:#e2f2f4}.home-nearest,.home-push-card{border-color:var(--line)}
.primary{background:#087e8b;color:#fff}.primary:hover{background:#066570}.ghost{background:#e2f2f4;color:#086b76}.top .ghost{background:#ffffff14;color:#f8fafc}.neutral{background:#edf3f6;color:#334b5f}.tab.active,.tab.tab-primary.active{background:#e2f2f4;color:#086b76;box-shadow:inset 3px 0 #087e8b}.tabs{border-color:var(--line);background:#fff;box-shadow:0 10px 32px #143a550b}.tab:not(.active){color:#5d7183}.tab:not(.active):hover{color:#08717d}.tab .tab-icon,.tab.tab-primary .tab-icon{background:#eff5f7!important;color:#536f7e}.tab.active .tab-icon,.tab.tab-primary.active .tab-icon{background:#cfe9eb!important;color:#086b76}.mobile-more[open]>summary,.mobile-more.more-active>summary{background:#e2f2f4;color:#086b76}.mobile-more-menu{background:#fff;border-color:var(--line)}.mobile-more-item{color:var(--text)}.ocean-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;line-height:0;flex-shrink:0}.ocean-icon svg{width:22px;height:22px}.home-action-icon .ocean-icon svg{width:27px;height:27px}.notify-btn .ocean-icon svg{width:20px;height:20px}
input,select,textarea{border-color:#cfdee6;background:#fff;color:#20364a}input:focus,select:focus,textarea:focus{border-color:#087e8b;box-shadow:0 0 0 3px #087e8b20}.notification-item.unread{border-left-color:#087e8b;background:#eff9fa}.notification-dot{background:#087e8b}.chat-send,.send-btn{background:#087e8b;color:#fff}.public-links a{color:#086b76}
/* Transport keeps its own layout and adopts the same tokens. */
body:has(.top-inner){--blue:#087e8b;--navy:#20364a;--bg:#f2f7fa;--muted:#5d7183;--border:#dce7ed;--orange:#c96030;background:#f2f7fa}.top:has(.top-inner){background:#1B2635;color:#fff}.top-inner>.brand{color:#f8fafc}.top-inner>.brand span{color:#ef3340}.hero .eyebrow{color:#b8e7ed}.hero p{color:#dde8f4}body:has(.top-inner) .btn:not(.secondary):not(.danger){background:#087e8b}.btn.secondary,.secondary{background:#e2f2f4;color:#086b76}.choice.selected{border-color:#087e8b;background:#eaf5f6}.choice .icon{color:#08717d}.choice .icon svg{width:32px;height:32px}.tabs button[aria-selected=true]{background:#087e8b;border-color:#087e8b;color:white}.notice:not(.error):not(.success){background:#eef7f9;color:#315e6c}.pill{background:#e2f2f4;color:#086b76}.bubble{background:#e5f3f5}.chat-head{background:#e2f2f4}
@media(max-width:850px){body{background:#f2f7fa}.home-hero{padding:23px!important}.home-action{padding:15px 14px;min-height:90px}.home-action-copy strong{font-size:16px}.home-action-copy small{font-size:11px}.tab.active,.tab.tab-primary.active{box-shadow:none;background:#e2f2f4}.home-route-mini{gap:5px}.home-route-mini span{font-size:9px;padding:4px 5px}.home-route-mini i{max-width:18px}}
@media(prefers-reduced-motion:reduce){.home-action{transition:none}}

/* Keep the active mobile tab in the Ocean palette. */
.tabs>.tab.active,.tabs>.tab.tab-primary.active{background:#e2f2f4!important;color:#086b76!important;box-shadow:inset 3px 0 #087e8b!important}.tabs>.tab.active .tab-icon,.tabs>.tab.tab-primary.active .tab-icon{background:#cfe9eb!important;color:#086b76!important}
@media(max-width:850px){.tabs>.tab.active,.tabs>.tab.tab-primary.active{box-shadow:none!important}}

/* Contrast correction: dark navigation, distinct fields, truthful PUSH state. */
main>section[data-view]>h2,section[data-view="chats"]>h2{color:#18384b!important;text-shadow:none!important}.rides-section-label{color:#3e5d70!important}
.card,.result,.notification-item,.verify-card,.report-admin-card,.home-stat{border-color:#b8cdd9;box-shadow:0 5px 18px #173b5010}.card{border-width:1px}.notification-item.unread{border-left-color:#087e8b;background:#e3f3f5}.notification-item{border-color:#b4cad7}
input:not([type="checkbox"]):not([type="radio"]),select,textarea{border:1.5px solid #8eaab9;background:#fcfeff;color:#17384b;box-shadow:inset 0 1px 2px #17384b05}input::placeholder,textarea::placeholder{color:#5a7182;opacity:1}label{color:#25475b}input:focus,select:focus,textarea:focus{border-color:#087e8b;box-shadow:0 0 0 3px #087e8b24}
#app .tabs{background:#19374a!important;border-color:#2b5064;box-shadow:0 12px 30px #102e4a20}#app .tabs-title{color:#b8d5e4}#app .tabs-divider{background:#426174}#app .tabs>.tab,#app .tabs .mobile-more>summary{color:#e3edf4!important;background:transparent}#app .tabs>.tab .tab-icon,#app .tabs .mobile-more>summary .tab-icon{background:#2a4b60!important;color:#e2f1f6!important}#app .tabs>.tab.active,#app .tabs>.tab.tab-primary.active,#app .tabs .mobile-more.more-active>summary,#app .tabs .mobile-more[open]>summary{background:#087e8b!important;color:#fff!important;box-shadow:none!important}#app .tabs>.tab.active .tab-icon,#app .tabs>.tab.tab-primary.active .tab-icon{background:#ffffff22!important;color:#fff!important}#app .tabs>.tab:hover{background:#254c61;color:#fff}#app .tabs .mobile-more-menu{background:#19374a;border-color:#426174}#app .tabs .mobile-more-item{color:#f0f6fa}#app .tabs .mobile-more-item:hover{background:#2a4b60}
#enablePushBtn.btn{background:#087e8b!important;color:#fff!important;border:1px solid #086570;font-weight:800;opacity:1}#enablePushBtn.btn:hover:not(:disabled){background:#066570!important}#enablePushBtn.btn:disabled{background:#d9e5eb!important;color:#344e61!important;border-color:#9fb7c5;cursor:not-allowed;opacity:1}#pushNotice.err{background:#fff0e8;color:#7c381d;border:1px solid #e4aa8b}#pushNotice.ok{background:#e4f3eb;color:#1c5c3f;border:1px solid #9dc6ae}
@media(max-width:850px){main>section[data-view]>h2{color:#18384b!important;text-shadow:none!important}#app .tabs>.tab.active{background:#087e8b!important;color:#fff!important}}



/* Compact greeting; explicit desktop tracks prevent the empty auto-grid row. */
@media(min-width:851px){#app.app{grid-template-rows:auto minmax(0,1fr);align-content:start}#app>main{padding-top:16px}#app>.tabs{margin-top:16px}}
.home-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:0!important;padding:17px 22px!important;margin-bottom:14px;border-radius:15px}.home-hero:before,.home-hero:after{display:none}.home-hero .welcome-copy{min-width:0}.home-hero h1{font-size:23px;line-height:1.2;margin:0 0 5px;overflow-wrap:anywhere}.home-hero p{font-size:12px;line-height:1.4;margin:0;color:#d8e8ef}.home-route-mini{margin:0;display:flex;align-items:center;gap:7px;flex-shrink:0;flex-wrap:wrap}.home-route-mini .country-flag{display:grid;place-items:center;padding:4px;background:#ffffff0d;border:1px solid #ffffff24;border-radius:5px;line-height:0}.country-flag img{display:block;width:30px;height:20px;object-fit:contain}.home-actions{margin-top:0}
@media(max-width:850px){.home-hero{padding:15px 17px!important;gap:12px;flex-wrap:wrap}.home-hero h1{font-size:22px}.home-route-mini{gap:6px;margin:0}.home-route-mini .country-flag{padding:3px}.country-flag img{width:27px;height:18px}}
.home-route-mini{width:max-content;max-width:100%;flex-wrap:nowrap}

/* Auth uses explicit selected and secondary states; original logo stays white/red on navy. */
#auth .authlogo{display:table;background:#1B2635;color:#f8fafc;padding:13px 22px;border-radius:16px;margin:0 auto 14px;text-shadow:none;box-shadow:0 5px 16px #15364d12}#auth .authlogo span{color:#ef3340}#auth>.muted{color:#476174!important;text-shadow:none;opacity:1;font-weight:650}
#auth .btn.primary{background:#087e8b;color:#fff;border:1px solid #086570;opacity:1}#auth .btn.primary:hover{background:#066570}#auth .btn.neutral,#auth .btn.ghost{background:#e2f2f4;color:#075d67;border:1px solid #94bcc3;opacity:1}#auth .btn.neutral:hover,#auth .btn.ghost:hover{background:#cfe7eb;color:#064d56}#auth .btn:focus-visible{outline:3px solid #c96030;outline-offset:3px}#auth .auth-switch{background:#fff;border:1px solid #bdced8;box-shadow:0 4px 14px #173b500d}#auth .btn:disabled{background:#d9e5eb;color:#344e61;border-color:#9fb7c5;opacity:1;cursor:not-allowed}
#auth>.public-links a{color:#355669!important;text-shadow:none;opacity:1}#auth>.public-links a:hover{color:#075d67!important;text-decoration:underline}

/* Explicit foreground/background pairing for the mobile More menu (including Safari). */
#app .tabs .mobile-more .mobile-more-menu{background:#19374a!important;border:1px solid #52768a!important}
#app .tabs .mobile-more .mobile-more-item{background:#264b60!important;color:#f8fafc!important;border:1px solid #52768a!important;opacity:1;min-height:48px}
#app .tabs .mobile-more .mobile-more-item span,#app .tabs .mobile-more .mobile-more-item .ocean-icon{color:inherit!important;-webkit-text-fill-color:currentColor}
#app .tabs .mobile-more .mobile-more-item:hover,#app .tabs .mobile-more .mobile-more-item:active{background:#087e8b!important;color:#fff!important}
#app .tabs .mobile-more .mobile-more-item:focus-visible{outline:3px solid #7de1e0;outline-offset:2px}
