:root{--green:#173e32;--lime:#d9ee9b;--bg:#f5f6f3;--ink:#20372e;--muted:#79867e;--border:#e2e7df;--white:#fff;--red:#b34b41;--blue:#397fc1}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid var(--border);border-radius:10px;background:white;color:var(--ink);padding:11px 17px;font-weight:600}button:hover{background:#edf2e8}button:disabled{opacity:.45;cursor:wait}button.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#24553f}button.danger{color:var(--red)}button.small{padding:7px 11px;font-size:12px}button.ghost{background:none;border-color:transparent}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1px}h2{font-size:20px;letter-spacing:-.5px}h3{font-size:16px}p{line-height:1.7}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:2px;color:#8a9d91;font-weight:700}.brand{display:flex;align-items:center;gap:11px;font-size:19px;letter-spacing:-.8px;font-weight:800}.brand img{width:35px}.brand small{font-size:11px;letter-spacing:1.3px;color:#728676;margin-left:4px}.login{min-height:100vh;display:grid;grid-template-columns:1.15fr 1fr}.login-story{background:#112e25;color:white;position:relative;overflow:hidden;padding:56px 9%;display:flex;flex-direction:column;justify-content:space-between;min-height:700px}.login-story .brand small{color:#a7bdac}.login-story h1{font-size:clamp(36px,3.7vw,60px);line-height:1.32;font-weight:650;letter-spacing:-2px;margin:45px 0 22px}.login-story p{color:#b8cabc;font-size:16px}.login-story .eyebrow{color:var(--lime)}.route-art{height:180px;position:relative;margin:35px 0;background:repeating-linear-gradient(0deg,transparent,transparent 39px,#ffffff09 40px),repeating-linear-gradient(90deg,transparent,transparent 39px,#ffffff09 40px);border:1px solid #ffffff15;border-radius:18px}.route-line{position:absolute;left:16%;top:48%;width:65%;height:2px;background:#b7d884;transform:rotate(-14deg)}.route-node{position:absolute;left:12%;top:60%;padding:10px 15px;background:#305242;border:1px solid #56705a;border-radius:10px;font-size:12px}.route-node.end{left:auto;right:10%;top:23%;color:#143727;background:var(--lime)}.route-art .dot{position:absolute;left:47%;top:39%;width:18px;height:18px;border:5px solid white;background:#4d9e6a;border-radius:50%;box-shadow:0 0 0 12px #a8cd7920}.login-bottom{font-size:12px;color:#93ab9a}.login-form-wrap{display:flex;align-items:center;justify-content:center;padding:45px}.login-form{width:100%;max-width:370px}.login-form h2{font-size:28px;margin:14px 0}.login-form p{margin-bottom:28px}.field{display:grid;gap:8px;margin:18px 0}.field label{font-size:13px;font-weight:600}input,select,textarea{background:#fff;border:1px solid #d7dfd5;border-radius:9px;padding:12px 13px;width:100%;min-width:0;color:var(--ink)}input:focus,textarea:focus,select:focus{outline:2px solid #95b78e;border-color:transparent}textarea{resize:vertical;min-height:85px}.input-row{display:flex;gap:8px}.input-row button{white-space:nowrap}.full{width:100%}.help{font-size:12px;color:var(--muted);line-height:1.6}.login-note{border-top:1px solid var(--border);padding-top:23px;margin-top:30px}.shell{min-height:100vh;padding-left:234px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:234px;background:#fdfefb;border-right:1px solid var(--border);padding:29px 22px;display:flex;flex-direction:column;z-index:500}.sidebar .brand{font-size:18px}.workspace-label{margin:43px 12px 13px;font-size:10px;letter-spacing:1.6px;color:#93a08f}.nav{display:grid;gap:7px}.nav button{text-align:left;border:0;color:#79867e;background:transparent;padding:14px}.nav button.active{background:#eaf0e2;color:var(--green)}.nav-icon{display:inline-block;width:26px;font-size:16px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--border);padding:22px 8px 0}.avatar{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e9efdf;margin-right:8px;color:#60744d;font-weight:bold}.user-row{display:flex;align-items:center;margin-bottom:14px}.user-row small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.topbar{height:78px;padding:0 36px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;background:#fcfdf9}.breadcrumb{font-size:13px;color:#819080}.top-actions{display:flex;gap:14px;align-items:center}.connection{font-size:11px;color:#7b8b76}.connection:before{content:'';display:inline-block;width:6px;height:6px;background:#7b9c5f;border-radius:50%;margin-right:6px}.content{padding:34px 36px;max-width:1680px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:27px}.page-head h1{margin:7px 0 10px}.page-head p{font-size:13px;color:var(--muted)}.summary{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:26px}.stat{padding:21px 23px;border:1px solid var(--border);border-radius:13px;background:white}.stat label{display:block;color:var(--muted);font-size:12px}.stat b{font-size:30px;font-weight:600;display:block;margin-top:13px}.stat b small{font-size:12px;color:#9ba58f;font-weight:400;margin-left:6px}.stat.highlight{background:var(--green);color:#fff;border-color:var(--green)}.stat.highlight label{color:#c5d8c9}.stat.highlight b{color:var(--lime)}.toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:20px 0}.tabs{display:flex;gap:4px}.tabs button{border:0;background:none;padding:9px 14px;color:#85907f;font-size:13px}.tabs button.active{color:var(--green);background:#e6ecdf}.search{max-width:260px;padding:10px 13px}.event-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}.event-card{border:1px solid var(--border);border-radius:15px;background:#fff;padding:23px;transition:transform .15s,box-shadow .15s}.event-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #1a402308}.event-card h2{margin:22px 0 13px;font-size:19px}.card-top,.card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.card-footer{border-top:1px solid #edf0e8;padding-top:18px;margin-top:22px;font-size:12px;color:var(--muted)}.meta{font-size:12px;color:#82907d;line-height:1.9}.pill{display:inline-block;font-size:11px;padding:5px 9px;border-radius:6px;background:#eef2e8;color:#6f805a;white-space:nowrap}.pill.active,.pill.riding{background:#e0f0e4;color:#328150}.pill.scheduled,.pill.pickup{background:#e9f0fa;color:#527baf}.pill.arrived{background:#fff3d9;color:#a27b2b}.pill.ended,.pill.completed{background:#eef0ed;color:#7d857b}.pill.warning{background:#fcece7;color:#ae5d47}.empty{padding:65px 25px;text-align:center;border:1px dashed #d5dfcf;border-radius:15px;background:#ffffff77}.empty .empty-icon{font-size:35px;color:#809972;margin-bottom:15px}.empty h3{margin-bottom:10px}.empty p{font-size:13px;color:var(--muted);margin-bottom:20px}.panel{background:white;border:1px solid var(--border);border-radius:14px;overflow:hidden}.panel-head{padding:19px 21px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-head small{color:var(--muted)}.control-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);gap:18px}.map-wrap{position:relative}.map{height:496px;background:#e8ede4;z-index:1}.map-empty{position:absolute;bottom:28px;left:22px;right:22px;background:#ffffffec;z-index:400;padding:13px 17px;border:1px solid var(--border);border-radius:9px;color:#73826c;font-size:12px;box-shadow:0 3px 15px #173e3210}.driver-list{height:496px;overflow:auto}.driver-row{padding:20px;border-bottom:1px solid #eef1e9}.driver-main{display:flex;justify-content:space-between;align-items:center;gap:10px}.driver-name{font-weight:700}.driver-row .meta{margin-top:8px}.driver-actions{display:flex;gap:8px;margin-top:13px}.driver-actions a{border:1px solid var(--border);padding:6px 10px;border-radius:7px;font-size:12px;text-decoration:none}.timeline{margin-top:22px}.log{padding:14px 22px;border-bottom:1px solid #eef1e9;display:flex;gap:17px;align-items:flex-start;font-size:13px}.log time{color:var(--muted);font-size:11px;min-width:49px;line-height:1.8}.log .issue{color:var(--red)}.notice{background:#edf2e3;border:1px solid #dde7cf;padding:14px 18px;border-radius:10px;margin:17px 0;color:#657b4a;font-size:13px;line-height:1.6;white-space:pre-wrap}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-body{padding:24px}.admin-row{display:flex;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--border)}dialog{border:1px solid var(--border);border-radius:17px;width:490px;max-width:calc(100vw - 30px);padding:27px;max-height:90vh;box-shadow:0 22px 85px #0002;color:var(--ink)}dialog::backdrop{background:#122a2566;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.modal-head button{border:0;font-size:20px;padding:3px 9px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.check{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:13px}.check input{width:auto}.form-error{color:var(--red);font-size:13px;line-height:1.6;margin-top:12px;min-height:20px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);max-width:90vw;background:#18372f;color:white;padding:14px 23px;border-radius:12px;opacity:0;pointer-events:none;z-index:10000;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}.loading{padding:90px;text-align:center;color:var(--muted)}.driver-hero{padding:30px;background:var(--green);color:white;border-radius:16px}.driver-hero .eyebrow{color:#c7dfb6}.driver-hero h2{font-size:28px;margin:20px 0 10px}.driver-hero p{color:#c1d6c3}.driver-hero button{margin-top:25px;background:var(--lime);color:var(--green);width:100%;padding:18px;border:0}.driver-tools{display:flex;gap:10px;margin:18px 0}.driver-tools button{flex:1}.driver-body{max-width:680px;margin:auto}.marker-label{background:var(--green);border:2px solid white;box-shadow:0 2px 7px #0003;color:white;white-space:nowrap;padding:7px 11px;border-radius:9px;font:12px sans-serif;width:max-content}.map-legend{display:flex;gap:14px;font-size:10px;color:var(--muted)}.map-legend i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#397fc1;margin-right:4px}.map-legend i.green{background:#328150}.map-legend i.yellow{background:#c2993d}.mobile-brand{display:none}.row-flex{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.member-list{max-height:45vh;overflow:auto}.member-item{padding:13px 0;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px}.session-alert{margin-bottom:18px;padding:15px;background:#fff0df;border-radius:9px;color:#9a642e;font-size:12px} @media(min-width:1500px){.map,.driver-list{height:580px}}@media(max-width:1100px){.shell{padding-left:190px}.sidebar{width:190px;padding:27px 15px}.content{padding:26px 23px}.topbar{padding:0 23px}.control-grid{grid-template-columns:1fr}.driver-list{height:auto;max-height:400px}.map{height:390px}.summary{gap:10px}.stat{padding:18px}.stat b{font-size:25px}}@media(max-width:720px){.login{display:block}.login-story{min-height:0;padding:30px;display:block}.login-story h1{font-size:30px;margin:25px 0 15px}.login-story p{font-size:13px}.route-art,.login-bottom{display:none}.login-form-wrap{padding:30px 25px}.shell{padding-left:0;padding-bottom:68px}.sidebar{width:100%;top:auto;bottom:0;left:0;height:66px;padding:7px 10px;background:#fcfdf9;border-top:1px solid var(--border)}.sidebar>.brand,.workspace-label,.sidebar-bottom{display:none}.nav{display:flex;justify-content:space-around}.nav button{padding:10px 16px;font-size:12px}.nav-icon{width:21px}.topbar{height:63px;padding:0 18px}.mobile-brand{display:block;font-weight:bold}.breadcrumb{display:none}.top-actions{gap:6px}.connection{display:none}.content{padding:23px 17px}.page-head{align-items:flex-start}.page-head h1{font-size:25px}.page-head>.primary{padding:10px 12px;font-size:12px}.summary{grid-template-columns:repeat(2,1fr);gap:10px}.stat{padding:16px}.stat b{font-size:25px;margin-top:9px}.toolbar{flex-wrap:wrap}.search{max-width:none}.event-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.map{height:350px}.map-legend{display:none}.two-fields{grid-template-columns:1fr;gap:0}.driver-tools{flex-wrap:wrap}.page-head .row-flex{justify-content:flex-end}.page-head .row-flex button{font-size:11px;padding:9px}.log{padding:12px 15px}}
@media(min-width:721px) and (max-width:950px){.login{grid-template-columns:1fr}.login-story{min-height:0;padding:30px 40px;display:block}.login-story h1{font-size:34px;margin:25px 0 14px}.login-story p{font-size:14px}.route-art,.login-bottom{display:none}.login-form-wrap{padding:35px 28px}.login-form{max-width:460px}}
.journey-art{position:relative;margin:27px 0 25px;border-radius:22px;overflow:hidden;border:1px solid #ffffff28;box-shadow:0 15px 45px #061b1833}.journey-art img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.journey-caption{position:absolute;bottom:14px;left:16px;font-size:10px;letter-spacing:.5px;color:#426047;background:#f9f8eee6;padding:7px 11px;border-radius:20px}.login-story{padding-top:40px;padding-bottom:35px}.login-story h1{font-size:clamp(34px,3.2vw,51px);margin:32px 0 18px}.login-story p{font-size:14px}.welcome-banner{display:flex;justify-content:space-between;align-items:center;overflow:hidden;background:#eeeede;border:1px solid #e4e6d7;border-radius:17px;height:160px;margin-bottom:24px;padding-left:28px}.welcome-banner h2{margin:13px 0 8px;font-size:21px}.welcome-banner p{font-size:12px;color:#7e8b72}.welcome-banner img{height:100%;width:260px;object-fit:cover;mix-blend-mode:multiply;mask-image:linear-gradient(to right,transparent,#000 20%)}.empty-icon{background:#edf2e2;width:65px;height:65px;margin:0 auto 17px;border-radius:22px;display:grid;place-items:center}.event-card{box-shadow:0 4px 14px #173e3203}.primary{box-shadow:0 3px 8px #173e3210}@media(max-width:950px){.journey-art{max-width:320px;margin:20px 0 0}.login-story{display:grid;grid-template-columns:1fr 1fr;gap:20px}.login-story>.brand{grid-column:1/-1}.login-story>div:nth-child(2){display:contents}.login-story .eyebrow{display:none}.login-story h1{font-size:28px;margin:4px 0}.login-story p{grid-column:1;grid-row:3}.journey-art{grid-column:2;grid-row:2/4;margin:0;align-self:center}.journey-caption{display:none}.welcome-banner{height:145px}.welcome-banner img{width:210px}}@media(max-width:720px){.login-story{padding:25px;gap:14px}.login-story h1{font-size:23px;letter-spacing:-1px}.login-story p{font-size:11px}.journey-art{border-radius:15px}.welcome-banner{height:135px;padding-left:18px}.welcome-banner h2{font-size:16px;line-height:1.5;max-width:190px}.welcome-banner p{font-size:11px;max-width:180px}.welcome-banner .eyebrow{font-size:8px;letter-spacing:1px}.welcome-banner img{width:130px}.input-row input{font-size:14px}.input-row button{padding:11px 12px;font-size:12px}}
@media(min-width:721px) and (max-width:950px){.shell{padding-left:0;padding-bottom:68px}.sidebar{width:100%;top:auto;bottom:0;height:66px;padding:7px 10px;background:#fcfdf9;border-top:1px solid var(--border)}.sidebar>.brand,.workspace-label,.sidebar-bottom{display:none}.nav{display:flex;justify-content:space-around}.nav button{padding:10px 16px;font-size:12px}.connection{display:none}.page-head{flex-wrap:wrap}.page-head>.row-flex{width:100%}.top-actions button{white-space:nowrap}}
.mobile-control-tabs{display:none}@media(max-width:950px){.mobile-control-tabs{display:flex;gap:8px;margin:0 0 15px}.mobile-control-tabs button{flex:1;border-color:var(--border);background:#fff}.mobile-control-tabs button.active{background:var(--green);color:white;border-color:var(--green)}.control-grid[data-view=map]>section:nth-child(2){display:none}.control-grid[data-view=list]>section:first-child{display:none}.driver-list{height:auto;max-height:600px}.page-head{flex-wrap:wrap}.page-head>div:first-child{width:100%}.page-head>.row-flex{width:100%;justify-content:flex-start}}@media(max-width:720px){.nav{gap:3px}.nav button{flex:1;padding:5px 2px;font-size:11px;text-align:center;white-space:nowrap}.nav-icon{display:block;width:auto;margin:0 0 3px;font-size:17px}.page-head{gap:13px}.page-head h1{font-size:25px;line-height:1.3}.page-head p{line-height:1.7}.page-head .row-flex button{font-size:12px;padding:10px 14px}}

.user-item{padding:22px;gap:16px;align-items:flex-start;border-bottom:1px solid var(--border)}.user-info{min-width:0;flex:1}.membership-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.membership-tag{display:flex;align-items:center;gap:4px;background:#f3f6ef;border-radius:12px;padding:4px}.membership-tag button{white-space:normal;text-align:left}#user-role{max-width:210px}@media(max-width:600px){.user-item{padding:16px}.membership-tags{flex-direction:column;align-items:flex-start}#user-role{max-width:160px}}

.manager-option{display:flex;width:100%;gap:16px;align-items:center;text-align:left;margin:8px 0}.manager-option small{margin-left:auto}.manager-option.selected{border-color:#376b45;background:#edf5e6}#manager-results{max-height:300px;overflow:auto}

.pool-pick{display:flex;align-items:center;gap:12px;padding:15px 8px;border-bottom:1px solid var(--border);cursor:pointer}.pool-pick input{width:20px;height:20px;flex-shrink:0}.pool-pick span{flex:1}.pool-pick small{display:block;color:#718078;margin-top:4px}.pool-pick.already{opacity:.55}#pick-results{max-height:300px;overflow:auto;margin:12px 0}
