:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#102a2b;background:#f3f7f6;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#f3f7f6}button,input{font:inherit}button{cursor:pointer}.login-screen{max-width:460px;min-height:100vh;margin:auto;padding:clamp(35px,12vh,110px)24px 36px;display:flex;flex-direction:column;gap:13px;background:radial-gradient(circle at 80% 0,#d7f0e8,transparent 34%),#f7fbfa}.login-mark,.brand-icon{display:grid;place-items:center;background:#df4b36;color:#fff;font-weight:900;box-shadow:0 7px 16px #c53b2b45}.login-mark{width:58px;height:58px;border-radius:19px;font-size:35px;margin-bottom:12px}.eyebrow{margin:0;color:#56817d;font-size:11px;font-weight:800;letter-spacing:1.2px}.login-screen h1{margin:0;font-size:34px;letter-spacing:-1px}.muted{margin:0 0 16px;color:#58706e;line-height:1.5}.login-screen label{display:grid;gap:7px;color:#355452;font-size:13px;font-weight:700}.login-screen input{width:100%;padding:15px 14px;border:1px solid #d4e1df;border-radius:13px;background:#fff;color:#102a2b;outline:none}.login-screen input:focus{border-color:#168072;box-shadow:0 0 0 4px #16807218}.primary{padding:15px;border:0;border-radius:14px;background:#0b7167;color:#fff;font-weight:800;box-shadow:0 8px 16px #0b716733}.primary:active{transform:translateY(1px)}#error{min-height:20px;margin:0;color:#b42318;font-size:14px;font-weight:600}#app{width:min(760px,100%);margin:auto;padding:calc(16px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom))}.topbar,.brand,.welcome,.section-head,.card-head,.card-footer{display:flex;align-items:center}.topbar{justify-content:space-between}.brand{gap:10px}.brand-icon{width:38px;height:38px;border-radius:12px;font-size:23px}.topbar h1{margin:1px 0 0;font-size:20px;letter-spacing:-.4px}.text-button{border:0;background:transparent;color:#37615d;padding:10px 2px;font-size:14px;font-weight:700}.welcome{justify-content:space-between;margin:21px 0 15px;padding:15px 16px;border-radius:16px;background:#e2f1ee;color:#154641}.welcome p{margin:0 0 3px;font-size:13px}.welcome strong{font-size:16px}.live{color:#087363;background:#fff;padding:7px 9px;border-radius:20px;font-size:12px;font-weight:800}.live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#12aa78;margin-right:4px}.map-card{position:relative;height:330px;border-radius:22px;overflow:hidden;background:#dae5e2;box-shadow:0 8px 26px #17413b16}#map{width:100%;height:100%}.map-control{position:absolute;z-index:500;left:12px;bottom:12px;border:0;border-radius:11px;padding:10px 12px;background:#fff;color:#1c4a45;font-size:13px;font-weight:800;box-shadow:0 4px 14px #12382e33}.issue-section{padding-top:26px}.section-head{justify-content:space-between;margin-bottom:10px}.section-head h2{margin:2px 0 0;font-size:22px;letter-spacing:-.5px}.count{min-width:29px;padding:5px 9px;border-radius:15px;text-align:center;background:#d9ebe7;color:#17675d;font-size:13px;font-weight:800}.card{position:relative;overflow:hidden;border:1px solid #e0e9e7;background:#fff;border-radius:18px;padding:16px;margin:12px 0;box-shadow:0 3px 13px #102a2b0d}.card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#e44d38}.card.arrived:before{background:#12a574}.card-head{justify-content:space-between;gap:10px}.brand-name{margin:0;color:#c13a29;font-size:13px;font-weight:900;letter-spacing:.3px}.card.arrived .brand-name{color:#087362}.state{white-space:nowrap;padding:5px 8px;border-radius:9px;background:#fff0ed;color:#c13a29;font-size:11px;font-weight:800}.card.arrived .state{background:#e6f7ef;color:#087362}.summary{margin:10px 0 0;font-size:16px;font-weight:750;line-height:1.35}.address{margin:10px 0;color:#5a716e;font-size:14px;line-height:1.35}.address::before{content:"⌖ ";color:#d64633;font-weight:900}.assigned{margin:0;color:#6a827f;font-size:12px}.actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.actions button,.directions{border:0;border-radius:11px;padding:12px;font-size:13px;font-weight:800}.actions .accept{background:#0b7167;color:#fff}.actions .reject{background:#eff3f2;color:#5f7471}.directions{display:inline-block;margin-top:14px;text-decoration:none;background:#eef6f4;color:#12685d}.warning-pin{display:grid;place-items:center;width:35px!important;height:35px!important;border:3px solid #fff;border-radius:50% 50% 50% 0!important;background:#df4b36;color:#fff;font-size:19px;font-weight:900;transform:rotate(-45deg);box-shadow:0 3px 9px #4c160b66}.warning-pin span{transform:rotate(45deg)}.leaflet-popup-content{font:600 13px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#173d3a}.empty{padding:24px 10px;color:#607773;text-align:center}.leaflet-control-attribution{font-size:9px!important}@media (min-width:760px){#app{padding-left:24px;padding-right:24px}.map-card{height:390px}}
.map-message{display:grid;place-items:center;height:100%;color:#4a6965;font-size:14px;font-weight:700}
#login[hidden],#app[hidden]{display:none!important}
.card.accepted:before{background:#12a574}.card.accepted .brand-name{color:#087362}.card.accepted .state{background:#e6f7ef;color:#087362}
.courier-pin{display:grid;place-items:center;width:38px!important;height:38px!important;border:3px solid #fff;border-radius:50%!important;background:#1769e0;color:#fff;font-size:21px;font-weight:900;box-shadow:0 3px 11px #123b7a77}
.map-control{width:42px;height:42px;padding:0!important;font-size:23px!important}
.header-actions{display:flex;align-items:center;gap:12px}.refresh-button{border:1px solid #cde1dd;border-radius:10px;padding:8px 10px;background:#fff;color:#17685e;font-size:12px;font-weight:800}.refresh-button:active{transform:rotate(20deg)}
.journey{display:flex;align-items:center;gap:8px;margin:12px 0 2px;padding:9px 10px;border-radius:11px;font-size:12px;font-weight:850}.journey.waiting{background:#fff3e8;color:#bd4b13}.journey.approved{background:#eaf7f2;color:#087362}.journey.driving{display:block;background:#eaf2ff;color:#1559bd}.journey.arrived{background:#e5f8ef;color:#087362}.bell{display:inline-block;font-size:18px;animation:ring 1.2s ease-in-out infinite}.journey.approved span{font-size:17px;animation:tools 1.5s ease-in-out infinite}.journey.arrived span{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#12a574;color:#fff;animation:pop .45s ease-out}.road{position:relative;height:22px;margin-bottom:6px;border-radius:14px;background:repeating-linear-gradient(90deg,#c4d8ff 0 15px,transparent 15px 24px);overflow:hidden}.road span{position:absolute;top:-2px;left:7%;font-size:22px;animation:drive 3.2s linear infinite}.actions.single{grid-template-columns:1fr}@keyframes ring{0%,100%{transform:rotate(0)}20%{transform:rotate(-15deg)}40%{transform:rotate(15deg)}60%{transform:rotate(-10deg)}}@keyframes tools{50%{transform:rotate(20deg) scale(1.12)}}@keyframes pop{0%{transform:scale(.3)}100%{transform:scale(1)}}@keyframes drive{0%{left:-10%}100%{left:92%}}
