:root{--green:#087c72;--dark:#102a27;--muted:#617672;--line:#dce8e4;--bg:#f4f8f6;--orange:#f59e0b}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--dark);font:15px/1.5 Inter,system-ui,-apple-system,"Segoe UI",sans-serif}a{color:var(--green)}button,input,select{font:inherit}.driver-header{height:70px;padding:0 max(20px,calc((100% - 1180px)/2));display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.driver-header>div,.driver-header form{display:flex;align-items:center;gap:9px}.brand{display:flex;align-items:center;gap:10px;color:var(--dark);font-size:19px;font-weight:900;text-decoration:none}.brand img{width:34px;height:34px;border-radius:9px}.link-button{border:0;background:none;color:var(--green);font-weight:800;cursor:pointer}.online-dot{width:9px;height:9px;border-radius:50%;background:#94a3b8}.online-dot.on{background:#18a576;box-shadow:0 0 0 4px #dff7ee}.driver-shell{max-width:1180px;margin:auto;padding:32px 20px 60px}.hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.hero h1{font-size:34px;line-height:1.1;margin:3px 0}.hero p{margin:5px 0;color:var(--muted)}.eyebrow{font-size:11px!important;letter-spacing:.14em;color:var(--green)!important;font-weight:900;margin:0}.profile-chip{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px}.profile-chip img{width:44px;height:44px;object-fit:cover;border-radius:50%}.profile-chip span,.profile-chip small{display:block}.profile-chip small{color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stats article,.panel{background:#fff;border:1px solid var(--line);border-radius:14px}.stats article{padding:17px}.stats span,.stats strong{display:block}.stats span{color:var(--muted);font-size:12px;font-weight:800}.stats strong{font-size:23px;margin-top:4px}.portal-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:18px}.panel{padding:20px;margin-bottom:18px}.panel h2{margin:3px 0 12px}.panel-title,.job-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-title>span{background:#e5f5f1;color:var(--green);padding:5px 10px;border-radius:999px;font-weight:800;font-size:12px}.job{border:1px solid var(--line);border-radius:12px;padding:17px;margin-top:14px}.job h3{font-size:20px;margin:15px 0 10px}.job-top b{margin-right:auto}.status{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eaf1ef;color:#48615c;font-size:11px;font-weight:900}.status.assigned,.status.picked_up,.status.in_transit{background:#e1f1ff;color:#156090}.status.arrived{background:#fff2cf;color:#8a5900}.status.delivered{background:#def6eb;color:#08765d}.status.failed,.status.cancelled{background:#fde7e5;color:#a13027}.route{background:var(--bg);border-radius:10px;padding:12px}.route>div{display:flex;gap:10px;position:relative;padding:4px}.route i{width:10px;height:10px;border:3px solid var(--green);border-radius:50%;margin-top:6px}.route>div:first-child:after{content:"";position:absolute;left:8px;top:19px;height:18px;border-left:2px dotted #91aaa5}.route span,.route small{display:block}.route small{font-size:9px;letter-spacing:.12em;color:var(--muted);font-weight:900}.contact{display:flex;gap:8px;margin:12px 0;flex-wrap:wrap}.contact a{padding:7px 10px;background:#edf7f4;border-radius:7px;text-decoration:none;font-weight:800}.notes{padding:9px 11px;background:#fff9e8;border-radius:8px}.status-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid var(--line);padding-top:13px}.status-form label:last-of-type{grid-column:1/-1}.panel form label{display:grid;gap:5px;font-weight:800;margin:10px 0}.panel input,.panel select{width:100%;padding:10px;border:1px solid #bdcec9;border-radius:8px;background:#fff}.panel button,.login-card button{border:0;border-radius:8px;background:var(--green);color:#fff;padding:10px 14px;font-weight:900;cursor:pointer}.panel button.secondary{background:#eaf1ef;color:var(--dark);margin-top:8px;width:100%}.empty{text-align:center;padding:42px 15px;color:var(--muted)}.empty b{font-size:18px;color:var(--dark)}.alert{padding:12px 15px;border-radius:9px;margin-bottom:16px}.alert.success{background:#dff6eb;color:#09634f}.alert.error{background:#fde7e5;color:#972d25}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:11px;border-bottom:1px solid var(--line);white-space:nowrap}th{font-size:11px;color:var(--muted);letter-spacing:.06em}.driver-login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(145deg,#e4f6f0,#f8faf9 52%,#e8f0ff)}.login-card{width:min(440px,calc(100% - 32px));background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px;box-shadow:0 24px 70px #173a3220}.login-card h1{font-size:31px;margin:8px 0}.login-card>p{color:var(--muted)}.login-card form label{display:grid;gap:6px;font-weight:800;margin:13px 0}.login-card input{padding:12px;border:1px solid #b8cac5;border-radius:8px}.login-card button{width:100%;margin-top:7px}.login-links{display:flex;justify-content:space-between;gap:12px;margin-top:18px;font-size:13px;font-weight:700}@media(max-width:800px){.stats{grid-template-columns:1fr 1fr}.portal-grid{grid-template-columns:1fr}.hero{align-items:flex-start}.profile-chip{display:none}}@media(max-width:520px){.driver-header{padding:0 14px}.driver-header>div{font-size:0}.driver-header .link-button{font-size:13px}.driver-shell{padding:22px 14px 40px}.hero h1{font-size:29px}.stats{gap:8px}.stats article{padding:13px}.stats strong{font-size:18px}.panel{padding:15px}.status-form{grid-template-columns:1fr}.status-form label:last-of-type{grid-column:auto}.job-top{flex-wrap:wrap}.job-top b{order:3;width:100%}.login-links{flex-direction:column}}
