:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#edf0f4;background:#0a0e14;--gold:#f5c542;--muted:#96a0ad;--border:#27303c;--surface:#111720;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:4px}[hidden]{display:none!important}.demo-strip{position:relative;z-index:5;min-height:36px;background:#29251a;color:#f5c542;font-size:12px;letter-spacing:.08em;padding:10px 28px;font-weight:650}.demo-strip span{color:#c4b994;letter-spacing:0;font-weight:400;margin-left:18px}.login-wrap{min-height:calc(100vh - 36px);display:grid;place-items:center;padding:30px}.login-card{max-width:430px;width:100%;padding:12px}.wordmark{display:flex;align-items:center;gap:7px;line-height:1;font-size:42px;letter-spacing:2px;font-weight:350}.e{display:flex;flex-direction:column;justify-content:space-between;height:30px;width:27px}.e i{height:4px;background:#f1f4f7;display:block}.e i:nth-child(2){background:var(--gold)}.login-card .wordmark{margin-bottom:55px}.eyebrow{font-size:12px;font-weight:600;letter-spacing:.14em;color:var(--gold);margin:0 0 14px}h1{font-size:32px;letter-spacing:-1.1px;line-height:1.2;margin:0;font-weight:600}h2{font-size:20px;line-height:1.35;letter-spacing:-.4px;margin:0}h3{font-size:17px;font-weight:500;margin:0 0 8px}p{line-height:1.6}.muted{font-size:14px;color:var(--muted)}.login-card>.muted{font-size:16px;margin:18px 0 34px}.button{min-height:48px;border-radius:9px;padding:12px 18px;font-weight:600;font-size:14px;display:flex;justify-content:space-between;align-items:center;gap:22px;border:1px solid var(--border);color:#e9edf2;background:#1b2330}.gold{background:#f5f3ee;border-color:#f5f3ee;color:#0c0f14}.button:hover{filter:brightness(1.08)}.login-card .button{width:100%}.login-note{font-size:12px;color:#788390;margin:17px 0}.error-text{font-size:14px;color:#ffa099;min-height:16px}.sidebar{width:226px;position:fixed;top:36px;bottom:0;border-right:1px solid var(--border);background:#0d121a;padding:35px 18px 22px;display:flex;flex-direction:column}.brand{padding:0 18px 42px}.brand .wordmark{font-size:35px}.brand .e{height:25px;width:23px}.brand .e i{height:3px}.brand>span{display:block;color:#72808f;font-size:10px;letter-spacing:.23em;margin-top:12px}nav{display:grid;gap:7px}.nav-button{display:flex;align-items:center;gap:13px;width:100%;padding:13px 14px;color:#a2adba;background:none;border:1px solid transparent;border-radius:8px;text-align:left;font-size:14px}.nav-button span{font-size:20px;min-width:22px;text-align:center}.nav-button:hover{background:#141d28}.nav-button.active{background:#29251a;border-color:#5c4f28;color:#f5c542}.sidebar-bottom{margin-top:auto;padding:18px 15px 0}.region{font-size:11px;letter-spacing:.18em;color:#72808f}.sidebar-bottom p{font-size:14px;margin:10px 0 4px}.text-button{border:0;color:#8c99a8;background:none;padding:5px 0;font-size:12px}.workspace{margin-left:226px;padding:42px 48px 24px;max-width:1600px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:38px}.page-head .eyebrow{font-size:10px;color:#718091;margin-bottom:12px}.connection{font-size:12px;color:#8fa599;display:flex;align-items:center;gap:8px;white-space:nowrap}.status-dot{height:6px;width:6px;border-radius:50%;background:#77b897}.connection.offline{color:#f0ae80}.connection.offline .status-dot{background:#dd945e}.error-banner{border:1px solid #624238;background:#291e1b;padding:14px 18px;color:#efb9a8;font-size:14px;border-radius:8px;margin-bottom:20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border);border-radius:12px;background:var(--surface);margin-bottom:36px;overflow:hidden}.stats>div{padding:22px 24px;border-right:1px solid var(--border)}.stats>div:last-child{border:0}.stats p{margin:0 0 10px;font-size:12px;color:#929eac}.stats strong{font-size:28px;font-weight:550;letter-spacing:-.8px}.stats>div:nth-child(2) strong{color:var(--gold)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.section-head p{margin:6px 0 0;font-size:13px}select{color:#dce1e8;background:#121923;border:1px solid var(--border);border-radius:8px;min-height:42px;padding:9px 32px 9px 12px;font-size:14px;max-width:100%}.trip-list{display:grid;gap:12px}.trip-card{background:var(--surface);border:1px solid var(--border);border-radius:11px;padding:20px 23px}.trip-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.trip-id{color:#718090;font-size:12px;font-variant-numeric:tabular-nums}.badge{font-size:12px;padding:5px 9px;display:inline-flex;border-radius:5px;color:#bbc6d3;background:#202a38;white-space:nowrap}.badge.waiting{color:#f5c542;background:#332d1a}.badge.done{color:#8bd8b2;background:#173326}.badge.cancelled{color:#eea097;background:#352120}.trip-body{display:grid;grid-template-columns:minmax(200px,1.5fr) minmax(130px,1fr) auto;align-items:center;gap:24px}.route{display:grid;gap:13px;position:relative}.route:before{content:"";position:absolute;left:4px;top:11px;bottom:11px;width:1px;background:#48473e}.route>div{display:flex;align-items:center;gap:15px;font-size:14px}.route i{width:9px;height:9px;border-radius:50%;background:var(--gold);position:relative;flex-shrink:0}.route>div:last-child i{border-radius:2px;background:#121923;border:1px solid #8793a3}.trip-people{font-size:13px;line-height:1.8;color:#c2cbd7}.trip-people small{display:block;color:#7b899a;font-size:12px}.trip-fare{text-align:right;white-space:nowrap}.trip-fare strong{font-size:22px;font-weight:550;display:block}.trip-fare span{display:block;font-size:12px;color:#8795a5;margin-top:7px}.trip-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #242e3b;margin-top:20px;padding-top:14px;gap:15px}.trip-meta{font-size:12px;color:#788899}.small-button{background:transparent;color:#f5c542;border:1px solid #6b5828;border-radius:7px;padding:8px 12px;font-size:12px}.small-button:hover{background:#302a1b}.empty{border:1px dashed #303b4a;border-radius:12px;padding:66px 24px;text-align:center;background:#0e141d}.empty p{font-size:14px;color:#8592a2;max-width:440px;margin:8px auto 0}.small-tag{border:1px solid var(--border);color:#9eabb9;border-radius:6px;font-size:12px;padding:6px 10px}.driver-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.driver-card{border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:24px}.driver-heading{display:flex;justify-content:space-between;gap:15px;margin-bottom:24px}.driver-heading h3{margin:0 0 8px}.driver-heading p{margin:0;font-size:13px;color:#8492a3}.plate{display:inline-block;border:1px solid #394554;border-radius:5px;padding:6px 9px;font-size:13px;letter-spacing:.06em}.driver-state{display:flex;justify-content:space-between;align-items:center;padding-top:22px;margin-top:22px;border-top:1px solid var(--border);font-size:13px;color:#9ba8b8}.tariff-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:950px}.surface{border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:30px}.surface .eyebrow{color:#8291a1;font-size:10px;margin-bottom:14px}.surface>.muted{margin:14px 0 27px}label{display:block;font-size:14px;color:#b5c0cd;margin-bottom:10px}.money-field{display:flex;align-items:center;border:1px solid #655329;background:#0b1119;border-radius:10px;gap:10px;padding:14px 16px}.money-field>span{font-size:18px;color:#d9b74b}.money-field>span:last-child{font-size:14px;color:#788694;white-space:nowrap}.money-field input{width:100%;background:none;border:0;color:#f5c542;font-size:32px;font-weight:500;min-width:0;padding:0;outline:none}.help{font-size:12px;color:#7d8a99;margin:12px 0 28px}.tariff-form .button{width:100%}.feedback{font-size:13px;color:#92d0ae;min-height:20px;margin:12px 0 0}.equation{display:flex;align-items:center;gap:18px;font-size:27px;margin:38px 0 22px}.equation small{font-size:14px;color:#919ca8}.equation b{font-size:17px;color:#627181;font-weight:400}.example-total{border-top:1px solid var(--border);padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:10px}.example-total span{font-size:14px;color:#9babbc}.example-total strong{font-size:27px;color:var(--gold);font-weight:500}.tariff-meta{font-size:12px;display:flex;justify-content:space-between;gap:10px;color:#718192;margin-top:12px}.tariff-meta strong{color:#a1b0c0;font-weight:400}.workspace-foot{display:flex;justify-content:space-between;gap:15px;color:#526171;font-size:11px;border-top:1px solid #1e2834;padding-top:20px;margin-top:50px}dialog{background:#111923;color:#edf0f4;border:1px solid #394657;border-radius:14px;padding:28px;width:min(440px,calc(100% - 32px));box-shadow:0 25px 100px #0007}dialog::backdrop{background:#000a;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.close-button{background:transparent;color:#a8b5c3;border:0;font-size:26px}.dialog-head h2{font-size:20px}dialog select{width:100%;margin-bottom:5px}dialog .button{width:100%}#toast{position:fixed;bottom:25px;right:25px;max-width:calc(100vw - 50px);background:#243b2f;border:1px solid #4c7a60;color:#c1ecd1;border-radius:9px;padding:14px 19px;font-size:14px;box-shadow:0 8px 30px #0005;z-index:10}.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}@media(min-width:1600px){.workspace{margin-right:auto}}@media(max-width:1150px){.workspace{padding:35px 25px}.sidebar{width:205px}.workspace{margin-left:205px}.stats>div{padding:20px 15px}.stats strong{font-size:25px}.tariff-grid{gap:16px}.surface{padding:23px}.trip-body{gap:18px;grid-template-columns:1.4fr 1fr auto}}@media(max-width:800px){.demo-strip{padding:10px 16px;font-size:10px}.demo-strip span{margin-left:8px;font-size:10px}.sidebar{position:static;width:100%;padding:20px 18px 12px;border-right:0;border-bottom:1px solid var(--border)}.brand{padding:0 4px 20px;display:flex;align-items:center;gap:18px}.brand>span{margin:0}.brand .wordmark{font-size:27px}.brand .e{width:18px;height:19px}nav{display:flex;gap:8px}.nav-button{font-size:12px;justify-content:center;gap:6px;padding:10px 7px}.nav-button span{font-size:16px;min-width:16px}.sidebar-bottom{display:none}.workspace{margin:0;padding:28px 18px}.page-head{margin-bottom:28px}.page-head h1{font-size:27px}.stats{grid-template-columns:repeat(2,1fr);margin-bottom:28px}.stats>div:nth-child(2){border-right:0}.stats>div:nth-child(-n+2){border-bottom:1px solid var(--border)}.trip-body{grid-template-columns:1fr auto}.trip-people{grid-column:1/-1;grid-row:2;border-top:1px solid #202b37;padding-top:12px}.trip-fare{align-self:start}.trip-fare strong{font-size:20px}.section-head{align-items:flex-start;gap:12px}.section-head h2{font-size:18px}.section-head p{font-size:12px;max-width:220px}.section-head select{font-size:12px;padding-right:12px;max-width:160px}.trip-card{padding:18px}.driver-grid,.tariff-grid{grid-template-columns:1fr}.workspace-foot{font-size:10px;flex-direction:column}.connection{font-size:10px}.trip-meta{font-size:11px}.trip-bottom{flex-wrap:wrap}.route>div{font-size:13px}.brand .e i{height:3px}}@media(prefers-reduced-motion:no-preference){.page{animation:appear .18s ease}@keyframes appear{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:none}}}

img.wordmark{display:block;width:132px;height:auto;letter-spacing:normal}.login-card img.wordmark{width:160px}.brand img.wordmark{width:112px}.button{transition:background .18s ease,transform .18s ease}.button:active{transform:scale(.985)}@media(prefers-reduced-motion:reduce){.button{transition:none;transform:none}}

/* Keep every existing action reachable on narrow screens. */
.small-button,.text-button,.close-button{min-height:44px}.close-button{min-width:44px;flex-shrink:0}.small-button{white-space:normal;text-align:center}.nav-button{min-height:44px}.trip-body>* ,.driver-heading>div,.driver-state>span,.section-head>div,.dialog-head h2{min-width:0}.route>div,.trip-people,.trip-meta,.driver-heading,.driver-state{overflow-wrap:anywhere}.trip-top,.driver-heading{flex-wrap:wrap}.driver-state{gap:12px}.driver-state .small-button{flex-shrink:0}.dialog-head h2{overflow-wrap:anywhere}#toast.toast-error{background:#352120;border-color:#93554e;color:#ffc6bd}button,input,select,textarea{touch-action:manipulation}
@media(max-width:800px){.sidebar-bottom{display:flex;align-items:center;gap:12px;padding:10px 4px 0;margin-top:6px}.sidebar-bottom .region{display:none}.sidebar-bottom p{margin:0;flex:1;min-width:0;overflow-wrap:anywhere}.sidebar-bottom .text-button{padding:8px 4px;color:#b4c0ce}.page-head{flex-wrap:wrap}.trip-body{grid-template-columns:minmax(0,1fr) auto}.badge{max-width:100%;white-space:normal}.section-head{flex-wrap:wrap}}
@media(max-width:400px){.trip-body{grid-template-columns:minmax(0,1fr)}.trip-fare{text-align:left}.trip-people{grid-row:auto}.trip-fare span{display:inline}.trip-fare strong{display:inline;margin-right:8px}}

.feedback.feedback-error{color:#ffa099}

/* Operations records an observed settlement; no transfer is initiated. */
#payment-dialog{max-height:calc(100dvh - 40px);overflow-y:auto}#payment-dialog textarea{width:100%;resize:vertical;min-height:92px;border:1px solid var(--border);border-radius:9px;padding:12px;background:#0d131c;color:inherit;font:inherit;line-height:1.5}.settlement-summary{border:1px solid var(--border);border-radius:9px;padding:14px;margin:18px 0 20px;display:grid;gap:6px;overflow-wrap:anywhere}.settlement-summary>strong{font-size:24px;font-weight:550}.settlement-summary>span{font-size:12px;color:var(--muted)}.settlement-summary>p{font-size:13px;margin:4px 0}.settlement-confirm{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;margin:16px 0 0}.settlement-confirm input{accent-color:var(--gold);width:18px;height:18px;flex-shrink:0;margin-top:2px}.settlement-dismiss{width:100%;margin-top:8px;min-height:44px}#payment-dialog textarea:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
