@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');
:root{--green:#146c54;--dark:#20342d;--muted:#7d8782;--line:#e7ece8;--bg:#f6f8f5;--pale:#eaf4ed;--blue:#4978b7}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:'Be Vietnam Pro',sans-serif;color:var(--dark);font-size:13px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #91be9d;outline-offset:3px}a{color:var(--green)}h1,h2,h3,p{margin:0}svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}small{font-size:11px}strong{font-weight:600}.sidebar{width:238px;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);padding:30px 18px 0;display:flex;flex-direction:column;z-index:50}.brand{text-decoration:none;display:flex;align-items:center;gap:10px;margin:0 12px 34px;font-size:31px;letter-spacing:-1.5px;color:var(--dark)}.brand strong>span{color:var(--green)}.brand-mark{position:relative;width:37px;height:39px;border-radius:11px;background:var(--green);font-size:36px;line-height:35px;color:white;font-weight:600;text-align:center}.brand-mark span{position:absolute;font-size:21px;top:-10px;right:1px;color:#c5ed7c}.workspace{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:9px;padding:12px 10px;margin-bottom:30px}.workspace small,.profile small{display:block;color:var(--muted);margin-top:2px}.workspace strong{font-size:11px}.workspace-icon{background:#eef2eb;border-radius:7px;padding:8px 6px;font-size:11px;font-weight:700}.chevron{margin-left:auto}.nav-label{font-size:9px;letter-spacing:1.4px;color:#a1aaa5;margin:0 12px 13px}.nav-item{display:flex;gap:11px;align-items:center;text-align:left;width:100%;font-size:11px;padding:13px 12px;margin-bottom:6px;border-radius:7px;color:#707c75;font-weight:500}.nav-item.active{background:var(--pale);color:var(--green)}.nav-item svg{width:18px}.sidebar-bottom{margin-top:auto}.help-card{background:#f6f8f3;padding:16px;border-radius:10px;margin:25px 2px}.help-card>span{display:block;color:var(--green);margin-bottom:8px}.help-card strong{font-size:11px}.help-card p{font-size:10px;color:var(--muted);margin:6px 0 12px;line-height:1.8}.help-card button{font-size:10px;color:var(--green);padding:0;font-weight:600}.help-card button span{padding-left:38px}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:20px 4px}.profile strong{font-size:11px}.avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;height:38px;border-radius:50%;background:#e9eee4;color:var(--green);font-size:12px;font-weight:600}.avatar.small{width:32px;height:32px;font-size:10px}.app-shell{margin-left:238px}.topbar{height:76px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px}.breadcrumb{font-size:11px;color:#939b96}.breadcrumb span{padding:0 13px;color:#c5ccc7}.breadcrumb strong{color:#59675e;font-weight:500}.top-actions{display:flex;align-items:center;gap:20px}.demo-label{display:inline-flex;gap:7px;align-items:center;color:#7c876c;font-size:10px}.demo-label i,.footer-dot{width:6px;height:6px;border-radius:100%;background:#7aab69;display:inline-block}.icon-button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border-radius:7px}.icon-button:hover{background:var(--pale)}#unreadBadge{position:absolute;right:0;top:0;background:#df8367;color:white;font-size:8px;border-radius:20px;min-width:14px;padding:1px}main{padding:30px 32px 18px;max-width:1800px;margin:auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.7px;color:#83907e;margin-bottom:9px}h1{font-size:27px;font-weight:600;letter-spacing:-1.2px}.heading p{color:var(--muted);font-size:11px;margin-top:7px}.role-switch{display:flex;padding:4px;background:#eaf0e9;border-radius:8px;white-space:nowrap}.role-switch button{display:flex;gap:7px;align-items:center;font-size:10px;padding:9px 12px;border-radius:6px;color:#7b887e}.role-switch button.selected{background:white;box-shadow:0 2px 5px #273a2110;color:var(--green);font-weight:600}.role-switch svg{width:15px;height:15px}.demo-banner{display:flex;align-items:center;gap:9px;background:#edf2e7;color:#6c7b5d;border:1px solid #e0e8d5;border-radius:7px;padding:10px 13px;font-size:10px;margin-bottom:22px}.demo-banner>span:first-child{align-self:flex-start}.demo-banner svg{width:16px;height:16px}.demo-banner button{margin-left:auto;white-space:nowrap;font-size:10px;color:var(--green);font-weight:600}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.metric{background:white;border:1px solid var(--line);border-radius:10px;padding:18px 19px;position:relative}.metric .metric-label{color:var(--muted);font-size:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.metric .metric-label svg{color:#a1afa0;width:17px}.metric-value{font-size:29px;letter-spacing:-1px;font-weight:600;margin:8px 0 3px;line-height:1.2}.metric-value small{font-size:13px;font-weight:400;color:#a3aca5;letter-spacing:0;margin-left:5px}.metric-note{font-size:9px;color:#8b968d}.metric-note.positive{color:var(--green)}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:12px}.toolbar h2{font-size:15px;font-weight:600}.toolbar h2 small{font-size:10px;color:#97a098;margin-left:9px;font-weight:400}.toolbar-actions{display:flex;gap:8px;align-items:center}.button,.date-input{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:white;border:1px solid #dfe6de;border-radius:7px;padding:9px 13px;font-size:10px;font-weight:500;white-space:nowrap}.button svg{width:15px;height:15px}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button.primary:hover{background:#0f5844}.button.light{background:var(--pale);border-color:#d8e8dd;color:var(--green)}.button.danger{border-color:#eaded5;color:#a16b50}.date-input{color:#6f7d70;max-width:160px}.dashboard-grid{display:grid;grid-template-columns:265px 1fr;gap:17px}.panel{border:1px solid var(--line);background:white;border-radius:10px;overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:17px 19px;border-bottom:1px solid var(--line)}.panel-heading h2,.panel-heading h3{font-size:12px;font-weight:600}.count-pill{font-size:9px;background:#f0f3ed;border-radius:15px;padding:2px 7px;color:#86927c}.search-box{margin:14px;display:flex;align-items:center;gap:6px;background:#f7f9f6;border:1px solid var(--line);border-radius:6px;padding:8px 10px}.search-box svg{width:15px;color:#94a18f}.search-box input{width:100%;border:0;background:none;font-size:10px;outline:none;color:var(--dark)}.employee-card{display:block;width:calc(100% - 20px);margin:0 10px 7px;border:1px solid transparent;border-radius:8px;padding:13px;text-align:left}.employee-card:hover{background:#fafbf8}.employee-card.selected{background:#f0f6ef;border-color:#dbe7d7}.employee-top{display:flex;gap:9px;align-items:center}.employee-name{font-size:11px;display:block}.employee-region{font-size:9px;color:#8c978a;margin-top:2px}.employee-status{font-size:9px;display:flex;gap:6px;align-items:center;margin:11px 0 8px}.status-dot{width:6px;height:6px;background:#6da484;border-radius:50%}.status-dot.moving{background:#6c96d0}.status-dot.offline{background:#aab2a8}.employee-footer{display:flex;justify-content:space-between;font-size:9px;color:#8b9686}.progress{height:3px;background:#e3eadd;margin-top:9px;border-radius:5px;overflow:hidden}.progress span{display:block;height:100%;background:#8dae74}.team-footnote{padding:13px 17px;border-top:1px solid var(--line);font-size:9px;color:#98a18f;margin-top:14px}.map-panel{position:relative;min-width:0}.map-panel .panel-heading{height:57px}.map-tag{font-size:9px;color:var(--green);display:flex;align-items:center;gap:6px}.map-tag i{background:#75a66d;width:6px;height:6px;border-radius:50%}.map-wrap{height:400px;position:relative;background:#e9eee5}.map{height:100%;width:100%;z-index:1}.map-info{position:absolute;z-index:450;left:15px;top:15px;background:#ffffffee;backdrop-filter:blur(8px);padding:11px 13px;border:1px solid #e5eae1;border-radius:8px;box-shadow:0 3px 10px #38502d0c;max-width:230px}.map-info strong{font-size:11px}.map-info p{font-size:9px;color:#899581;margin-top:4px}.map-focus{position:absolute;right:12px;bottom:35px;z-index:450;box-shadow:0 2px 6px #0001;background:white}.legend{display:flex;flex-wrap:wrap;align-items:center;gap:16px;font-size:9px;color:#819075;border-top:1px solid var(--line);padding:11px 18px}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:8px;height:8px;border-radius:50%;background:#a3b19c}.legend .done{background:var(--green)}.legend .active{background:#e7a14b}.legend .planned{width:20px;height:3px;background:#477fca;border-radius:2px}.legend .traced{width:20px;height:0;border-top:2px dashed var(--green);border-radius:0}.store-marker{border-radius:50%;width:27px;height:27px;display:flex;align-items:center;justify-content:center;background:white;border:2px solid #9aa78e;color:#78846d;box-shadow:0 2px 5px #0002;font-weight:600;font-size:10px}.store-marker.done{background:var(--green);color:white;border-color:white}.store-marker.active{background:#e8a34b;color:white;border:3px solid white;box-shadow:0 0 0 5px #e8a34b33}.person-marker{border-radius:50%;display:flex;align-items:center;justify-content:center;width:35px;height:35px;background:#254b3c;color:white;border:3px solid white;box-shadow:0 0 0 6px #146c5422;font-size:10px;font-weight:bold}.map-error{padding:80px 30px;text-align:center;color:#6d7966}.route-panel{margin-top:17px;display:grid;grid-template-columns:230px 1fr}.route-summary{padding:20px;border-right:1px solid var(--line);background:#fcfdfa}.route-summary .label{font-size:9px;letter-spacing:1px;color:#91a081}.route-summary h3{font-size:13px;margin:8px 0}.route-summary p{font-size:10px;color:#8a9584}.route-summary .button{margin-top:15px}.journey{padding:17px 21px;display:flex;gap:0;overflow-x:auto}.journey-item{flex:1;min-width:140px;position:relative;padding-right:20px}.journey-item:before{content:'';position:absolute;top:11px;left:18px;right:0;height:1px;background:#e4eadd}.journey-item:last-child:before{display:none}.journey-dot{position:relative;width:23px;height:23px;border-radius:50%;background:var(--pale);border:1px solid #cfe0ca;color:var(--green);display:flex;align-items:center;justify-content:center;font-size:9px;margin-bottom:9px}.journey-item.active .journey-dot{background:#fcf3df;border-color:#edd5a4;color:#b78a35}.journey-item h4{font-size:10px;font-weight:500;margin:0 0 5px}.journey-item p{font-size:9px;color:#8e9986}.journey-item .dwell{display:inline-block;margin-top:8px;font-size:9px;border-radius:4px;background:#f1f5ed;color:#7e936b;padding:2px 6px}.empty{padding:32px;text-align:center;color:#8d9886;font-size:12px}.muted{color:var(--muted);font-size:11px}.section-note{font-size:10px;color:#95a18b;margin:13px 0}.sale-grid{display:grid;grid-template-columns:360px 1fr;gap:18px}.shift-card{background:var(--green);color:white;border-radius:10px;padding:22px;margin-bottom:18px}.shift-card .eyebrow{color:#b7d0aa}.shift-card h2{font-size:20px;font-weight:500;margin-bottom:6px}.shift-card p{font-size:10px;color:#d3e1ce}.shift-card .button{margin-top:17px;background:#e2f0ce;color:#27563d;border:0}.shift-row{display:flex;gap:18px;margin-top:16px}.shift-row strong{display:block;font-size:22px;font-weight:500}.shift-row small{font-size:9px;color:#c4d4bb}.sale-store{padding:16px 18px;border-bottom:1px solid var(--line)}.sale-store:last-child{border-bottom:0}.store-top{display:flex;gap:10px;align-items:flex-start;justify-content:space-between}.store-top h3{font-size:12px}.store-top p{font-size:10px;color:var(--muted);margin-top:4px}.badge{display:inline-flex;white-space:nowrap;font-size:9px;padding:3px 7px;border-radius:4px;background:#f0f3ee;color:#91a084}.badge.done{background:#e9f3e8;color:var(--green)}.badge.active{background:#fff1d8;color:#ad7d31}.store-actions{margin-top:12px;display:flex;gap:7px;flex-wrap:wrap}.sale-map{position:sticky;top:18px}.sale-map .map-wrap{height:430px}.gps-status{padding:12px 16px;font-size:10px;border-top:1px solid var(--line);color:#7a886f}.route-directions{padding:17px 18px;border-top:1px solid var(--line)}.route-directions h3{font-size:12px;margin-bottom:6px}.route-directions ol{font-size:11px;line-height:2;margin:13px 0;padding-left:22px;max-height:180px;overflow:auto}.route-directions p{font-size:10px;color:#8b9782}.route-stats{display:flex;align-items:baseline;gap:14px;margin:8px 0}.route-stats strong{font-size:22px;font-weight:500;color:var(--blue)}.route-stats small{color:#7f8e7b}.route-directions .button{margin-top:7px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:11px}th{text-align:left;background:#f9fbf7;color:#92a084;font-size:9px;font-weight:500;letter-spacing:.3px;padding:12px 18px;white-space:nowrap}td{border-top:1px solid var(--line);padding:15px 18px}td small{display:block;color:#94a087;font-size:9px;margin-top:4px}td .button{padding:7px 9px}.table-note{max-width:230px;white-space:normal}.filter-row{display:flex;gap:9px;align-items:center}.filter-row .search-box{margin:0;width:230px}.filter-row select{border:1px solid var(--line);background:white;border-radius:6px;padding:9px;font-size:10px;color:#748267}footer{display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#a0aa97;padding-top:24px}footer .footer-dot{margin-right:5px;width:5px;height:5px}#toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);padding:12px 20px;background:#244a3b;color:white;box-shadow:0 6px 20px #0002;border-radius:9px;z-index:3000;max-width:90vw;opacity:0;pointer-events:none;transition:.2s;font-size:12px}#toast.show{opacity:1;transform:translate(-50%,0)}.hidden{display:none!important}.drawer-backdrop{position:fixed;inset:0;background:#172e2240;z-index:2000}.drawer{position:fixed;right:0;top:0;bottom:0;width:390px;max-width:100vw;background:white;z-index:2001;padding:27px;overflow-y:auto;box-shadow:-10px 0 40px #0001}.drawer-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.drawer-heading h2{font-size:23px}.notification{padding:17px 0;border-bottom:1px solid var(--line);display:flex;gap:11px}.notification .avatar{width:31px;height:31px;font-size:9px}.notification p{font-size:11px}.notification small{color:#98a38e;font-size:9px}.notification .notification-place{color:#78866d;font-size:10px;margin:3px 0}dialog{border:1px solid var(--line);border-radius:14px;padding:26px;width:440px;max-width:calc(100vw - 32px);color:var(--dark);box-shadow:0 20px 70px #142c2625}dialog::backdrop{background:#102d2240;backdrop-filter:blur(2px)}.dialog-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.dialog-title h2{font-size:19px}.dialog-body p{font-size:12px;color:#819075;margin:10px 0;line-height:1.8}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.field{display:block;margin:13px 0;font-size:11px;color:#7e8e71}.field input,.field textarea,.field select{display:block;width:100%;border:1px solid #dce5d5;border-radius:7px;padding:10px;margin-top:6px;color:var(--dark);background:white}.field textarea{resize:vertical;min-height:90px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.notice{padding:10px;background:#f3f6ef;border-radius:6px;font-size:10px;color:#829273;margin:12px 0}.form-error{color:#b2543c;font-size:11px}.employee-select{border:1px solid var(--line);background:white;padding:8px;border-radius:7px;font-size:11px;color:#6e7f64;max-width:220px}.leaflet-container{font-family:'Be Vietnam Pro',sans-serif!important}.leaflet-popup-content{font-size:11px;line-height:1.8}.leaflet-control-attribution{font-size:9px!important}.leaflet-control-zoom a{color:#617d53!important}.leaflet-control-zoom{border:1px solid #d7e2d2!important;box-shadow:0 2px 5px #0001!important}.leaflet-tile-pane{filter:saturate(.53)}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:1000px}.settings-section{padding:22px;margin-bottom:18px}.settings-section h2{font-size:15px;margin-bottom:12px}.settings-section>.button{margin:12px 6px 0 0}.settings-person{padding:10px 0;border-bottom:1px solid var(--line)}.settings-person small{float:right;color:var(--muted)}.shift-card .button{margin-right:7px}.mapboxgl-marker .store-marker{box-shadow:0 2px 5px #0002}
@media(min-width:1600px){.map-wrap{height:450px}.dashboard-grid{grid-template-columns:300px 1fr}}
@media(max-width:1200px){.sidebar{width:205px;padding-left:12px;padding-right:12px}.app-shell{margin-left:205px}main{padding:25px 22px}.topbar{padding:0 22px}.dashboard-grid{grid-template-columns:240px 1fr}.metrics{gap:10px}.metric{padding:15px}.heading{align-items:flex-start}.heading h1{font-size:24px}.role-switch button{padding:8px;font-size:9px}.sale-grid{grid-template-columns:320px 1fr}.route-panel{grid-template-columns:195px 1fr}}
@media(max-width:960px){.sidebar{width:76px;padding:25px 10px}.brand{margin:0 auto 35px}.brand strong,.workspace,.nav-label,.nav-item{font-size:0}.brand-mark{font-size:36px}.nav-item{justify-content:center;padding:14px}.nav-item svg{width:23px;height:23px}.workspace,.help-card,.profile div{display:none}.profile{justify-content:center}.app-shell{margin-left:76px}.metrics{grid-template-columns:repeat(2,1fr)}.breadcrumb{font-size:10px}.heading{flex-wrap:wrap}.dashboard-grid{grid-template-columns:230px 1fr}.route-panel{grid-template-columns:1fr}.route-summary{border-right:0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px}.route-summary .button{margin-top:0}.route-summary p{display:none}.sale-grid{grid-template-columns:300px 1fr}.map-info{max-width:190px}.map-info p{font-size:8px}}
@media(max-width:700px){.settings-grid{grid-template-columns:1fr}.sidebar{position:fixed;bottom:0;top:auto;right:0;width:100%;height:63px;padding:0;background:white;border-top:1px solid var(--line);border-right:0}.brand,.sidebar-bottom{display:none}.sidebar nav{display:flex;justify-content:space-around}.nav-item{font-size:8px;flex-direction:column;gap:3px;padding:8px 4px;margin:0;flex:1;border-radius:0}.nav-item svg{width:20px;height:20px}.app-shell{margin-left:0}.topbar{height:57px;padding:0 17px}.breadcrumb{font-size:9px}.breadcrumb>span{padding:0 6px}.breadcrumb>strong{display:none}.top-actions{gap:11px}main{padding:22px 16px 85px}.heading{gap:15px;margin-bottom:16px}.heading h1{font-size:25px}.heading p{font-size:10px}.eyebrow{font-size:8px}.role-switch{width:100%}.role-switch button{flex:1;justify-content:center;padding:10px;font-size:10px}.demo-banner{align-items:flex-start;flex-wrap:wrap;padding:11px;font-size:9px}.demo-banner>span:nth-child(2){flex:1}.demo-banner button{margin-left:25px}.metrics{gap:9px;margin-bottom:21px}.metric{padding:13px}.metric-value{font-size:26px}.metric-label{font-size:9px!important}.metric-note{font-size:8px}.toolbar{flex-wrap:wrap}.toolbar-actions{justify-content:space-between}.toolbar h2{font-size:14px}.toolbar h2 small{display:none}.button,.date-input{font-size:9px;padding:9px 10px}.dashboard-grid,.sale-grid{grid-template-columns:1fr}.team-panel .panel-heading{display:none}.team-panel .search-box{margin:10px}.employees{display:flex;overflow-x:auto;padding:0 4px}.employee-card{min-width:215px;margin:0 5px 10px;padding:11px}.team-footnote{display:none}.map-wrap{height:370px}.panel-heading{padding:14px 16px}.map-panel .panel-heading{height:49px}.legend{font-size:8px;gap:10px;padding:10px 12px}.route-summary{padding:15px}.route-summary h3{font-size:12px}.journey{padding:17px}.journey-item{min-width:140px}.sale-map{position:static}.sale-grid .map-panel{grid-row:1}.sale-map .map-wrap{height:310px}.shift-card{margin-top:0}.filter-row{width:100%;flex-wrap:wrap}.filter-row .search-box{flex:1;min-width:140px}.employee-select{font-size:10px;max-width:100%}footer{flex-direction:column;gap:6px;font-size:8px}.notification{padding:15px 0}.table-scroll td,.table-scroll th{padding:12px}.drawer{padding:22px}}
