:root{color-scheme:light;--ink:#192e27;--muted:#4b6056;--paper:#f1f4ef;--line:#d7e0d8;--white:#fff;--lime:#dafa75;--soft:#e7f4e8;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:100%}
*,*::before,*::after{box-sizing:border-box}
body{margin:0}
[hidden]{display:none!important}
button,input,select{font:inherit;color:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.5}
button:active:not(:disabled){filter:brightness(.91)}
:focus-visible{outline:3px solid #33816a;outline-offset:3px}
h1,h2,p{margin:0}
h2{font-size:1.22rem;letter-spacing:-.035em;line-height:1.2}
.top{background:var(--ink);color:#fff;padding-inline:clamp(16px,4vw,32px)}
.bar{max-width:720px;min-height:68px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:inline-flex;align-items:center;gap:8px;color:inherit;text-decoration:none;font-weight:850;font-size:1.42rem;letter-spacing:-.07em;min-height:44px}
.period{color:var(--lime);margin-left:-7px}
.mark{width:29px;height:29px;border-radius:9px;background:var(--lime);position:relative}
.mark::before{content:"";position:absolute;inset:6px 9px 6px 9px;border:2px solid var(--ink);border-left:0;border-radius:50% 55% 50% 35%;transform:rotate(34deg)}
.demo{font-size:.8rem;border:1px solid #62766b;border-radius:40px;padding:5px 10px;color:#ecf5e9}
main{max-width:760px;margin:auto;padding:18px clamp(14px,4vw,24px) max(14px,env(safe-area-inset-bottom))}
.views,.segments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;background:#e3eae2;border-radius:14px;margin:0 0 16px;border:0}
.views button,.segments span{border:0;background:transparent;border-radius:10px;min-height:44px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;padding:5px}
.views button[aria-pressed=true],.segments input:checked+span{background:#fff;box-shadow:0 1px 3px #192e2718}
.count{background:var(--lime);font-size:.8rem;border-radius:20px;min-width:23px;padding:2px 5px}
.profile,.card,.driver-hero{border-radius:20px;overflow:hidden;margin-bottom:14px}
.profile,.card{background:var(--white);border:1px solid var(--line)}
.hero,.driver-hero{background:var(--ink);color:#fff;position:relative}
.hero-copy,.driver-hero{padding:24px clamp(18px,5vw,34px)}
.hero-copy{position:relative}
.hero-copy p,.driver-hero p:first-child{font-size:.75rem;font-weight:800;letter-spacing:.1em;color:var(--lime);margin-bottom:9px}
h1{font-size:clamp(2.65rem,8vw,4rem);font-weight:850;line-height:.95;letter-spacing:-.074em}
.driver-hero p:last-child{color:#e0ebdf;margin-top:12px}
#map{position:absolute;inset:0;width:100%;height:100%}
.identity{padding:14px 16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.identity h2{font-size:1.01rem}.identity p{font-size:.88rem;color:var(--muted);margin-top:3px}
.avatar{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:50%;font-weight:850;background:#e4eadc}
.badge{background:var(--soft);color:#27553b;border-radius:30px;font-size:.83rem;font-weight:750;padding:6px 9px;display:inline-block}
.identity .badge{margin-left:auto}.badge[data-tone=busy]{background:#fff1cc;color:#654605}.badge[data-tone=off]{background:#efefea;color:#54594f}
.card{padding:16px clamp(15px,4vw,24px)}
.card h2{margin-bottom:12px}
.segments{margin-bottom:13px}
.segments label{position:relative;cursor:pointer}
.segments input,.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.segments input:focus-visible+span{outline:3px solid #33816a}
label{display:block;font-weight:700;font-size:.88rem;min-width:0}
input:not([type=radio]),select{display:block;width:100%;min-width:0;min-height:46px;background:#f6f8f4;border:1px solid #b7c7bb;border-radius:10px;padding:9px 11px;margin-top:5px;font-size:1rem}
select{appearance:none;padding-right:32px;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-size:5px 5px;background-position:calc(100% - 17px) center,calc(100% - 12px) center;background-repeat:no-repeat}
.route,.settings{display:grid;gap:10px;margin-bottom:12px}
.route{padding-left:20px;position:relative}.route::before{content:"";position:absolute;top:11px;bottom:58px;left:5px;border-left:1px dashed #708579}
.point{position:relative}.point::before{content:"";position:absolute;left:-19px;top:4px;width:9px;height:9px;border:2px solid #386951;border-radius:50%;background:#fff}.to::before{border-radius:2px;background:var(--ink);border-color:var(--ink)}
#schedule-fields{margin-top:12px}
.hint,.fine{color:var(--muted);line-height:1.4}.hint{font-size:.92rem;margin:8px 0 12px}.fine{font-size:.82rem;margin-top:9px}
.primary,.secondary,.reject{border:1px solid transparent;border-radius:11px;min-height:46px;padding:9px 14px;font-weight:800}
.primary{width:100%;background:var(--lime);color:var(--ink)}.secondary{background:var(--ink);color:#fff}.reject{background:#fff;border-color:#b7c7bb}
.share{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.share img{object-fit:contain;padding:8px;border:1px solid var(--line);border-radius:12px}
.trip{border-top:1px solid var(--line);padding:12px 0;overflow-wrap:anywhere}.trip:last-child{padding-bottom:0}
.trip-head,.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.trip-head{justify-content:space-between}
.actions{margin-top:8px}
footer{font-size:.8rem;color:var(--muted);text-align:center;padding:8px 0 12px}
@media(min-width:560px){.settings{grid-template-columns:1fr 1fr}.identity{padding-inline:24px}}
#copy-status{overflow-wrap:anywhere}
#sign-out{display:none}
body[data-contabo] #driver:not([hidden]) + #sign-out{display:block;margin-bottom:12px}
.login-link{display:inline-flex;align-items:center;min-height:46px}
