:root{--navy:#102d38;--navy-2:#183b47;--teal:#087f76;--mint:#4fd7bd;--bg:#f4f7f8;--ink:#172f3b;--muted:#71818a;--line:#e4eaed;--white:#fff;--red:#d25757;--amber:#b27d24;--shadow:0 8px 32px #1837440d;font-family:Inter,"Segoe UI",Tahoma,Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;font-size:14px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #35bba7;outline-offset:3px}a{color:var(--teal)}h1,h2,h3,p{margin-top:0}button svg,.icon svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn{min-height:40px;padding:10px 16px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font-weight:600;transition:background .16s,transform .16s}.btn:hover{background:#f0f5f5}.btn.primary{background:var(--teal);color:white;border-color:var(--teal)}.btn.primary:hover{background:#066a63}.btn.danger{color:#b43b3b;border-color:#edcfcf}.btn.small{min-height:34px;padding:7px 11px;font-size:12px}.btn.wide{width:100%}.icon-btn{border:1px solid transparent;background:transparent;color:var(--muted);padding:9px;border-radius:8px;min-height:36px;min-width:36px}.icon-btn:hover{background:#eaf2f2;color:var(--teal)}.text-btn{border:0;background:transparent;color:var(--teal);padding:4px 0;font-weight:600}.link-button{background:none;border:0;color:var(--teal);padding:0;text-decoration:underline}.muted{color:var(--muted)}.tiny{font-size:11px}.mono{font-family:Consolas,"SFMono-Regular",monospace;direction:ltr;unicode-bidi:plaintext}.eyebrow{text-transform:uppercase;letter-spacing:1.9px;font-size:10px;font-weight:700;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;font-size:10px;font-weight:700;line-height:1.2;white-space:nowrap;background:#e9eef1;color:#73838c}.badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.badge.online,.badge.moving{background:#e3f5ed;color:#23815e}.badge.offline{background:#f0f2f4;color:#84929b}.badge.unknown{background:#fff3db;color:#aa7c30}.badge.disabled{background:#fbe8e8;color:#b75454}.boot{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.boot p{font-size:40px;color:var(--navy);font-weight:800;margin:0}.boot span{color:var(--muted)}.boot-drop{width:30px;height:38px;background:var(--teal);border-radius:60% 40% 60% 40%;transform:rotate(-35deg);animation:breathe 1.6s ease-in-out infinite}@keyframes breathe{50%{opacity:.4;transform:rotate(-35deg) scale(.88)}}
.brand{display:flex;align-items:center;gap:12px;color:white}.brand-logo{display:block;object-fit:contain;filter:brightness(.505) contrast(100);mix-blend-mode:screen;width:42px;height:48px}.brand-title{font-family:Tahoma,"Segoe UI",sans-serif;font-size:30px;font-weight:700;line-height:1.1}.brand-subtitle{font-size:9px;color:#adc1c9;letter-spacing:2.1px;text-transform:uppercase;margin-top:5px}.brand-full{align-items:center}.brand-full .brand-logo{width:65px;height:73px}.brand-full .brand-title{font-size:44px}.brand-full .brand-subtitle{font-size:11px;letter-spacing:3px}
.auth{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.auth-story{position:relative;overflow:hidden;padding:56px 9%;background:var(--navy);display:flex;flex-direction:column;justify-content:space-between;isolation:isolate}.auth-story:after{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(ellipse at 80% 70%,#1d635c55,transparent 65%),linear-gradient(160deg,transparent 20%,#061f27 100%)}.auth-grid{position:absolute;inset:30% -20% -20%;transform:perspective(700px) rotateX(40deg) rotateZ(-16deg);background-image:linear-gradient(#6baba71a 1px,transparent 1px),linear-gradient(90deg,#6baba71a 1px,transparent 1px);background-size:65px 65px;z-index:-1;mask-image:linear-gradient(transparent,#000 25%,#000 75%,transparent)}.auth-orbit{position:absolute;border:1px solid #4fd7bd33;width:420px;height:420px;border-radius:50%;top:32%;left:26%;z-index:-1}.auth-orbit:after{content:"";position:absolute;inset:62px;border:1px solid #4fd7bd33;border-radius:50%}.auth-pin{position:absolute;width:20px;height:20px;border:5px solid var(--mint);border-radius:50%;box-shadow:0 0 0 16px #4fd7bd12;top:48%;left:57%;z-index:-1}.auth-copy{padding-top:160px;max-width:450px}.auth-copy h1{font-size:clamp(32px,3.5vw,54px);font-weight:500;line-height:1.15;letter-spacing:-1.6px;color:#fff;margin-bottom:22px}.auth-copy h1 em{font-style:normal;color:var(--mint)}.auth-copy p{color:#adc1c9;font-size:15px;line-height:1.8;max-width:360px}.auth-foot{display:flex;align-items:center;gap:10px;color:#a5c2c9;font-size:11px;margin-top:70px}.auth-foot span{width:6px;height:6px;background:var(--mint);border-radius:50%}.auth-panel{display:flex;align-items:center;justify-content:center;padding:60px 9%;position:relative}.auth-language{position:absolute;top:30px;right:35px}.auth-form{width:100%;max-width:370px}.auth-form .eyebrow{color:var(--teal);margin-bottom:15px}.auth-form h2{font-size:30px;font-weight:600;letter-spacing:-.8px;margin-bottom:12px}.auth-form>p{color:var(--muted);line-height:1.7;margin-bottom:30px}.auth-form .btn{height:47px;margin-top:10px}.auth-note{font-size:11px!important;margin:24px 0 0!important;line-height:1.7!important;text-align:center}.form-field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}.form-field label{font-size:12px;font-weight:600;color:#405560}.form-field input,.form-field select,.form-field textarea,.search-input,.toolbar input,.toolbar select{width:100%;border:1px solid #dce5e9;border-radius:7px;background:#fff;color:var(--ink);min-height:42px;padding:10px 12px;transition:border-color .2s}.form-field input:hover,.form-field select:hover,.search-input:hover{border-color:#a6bbb9}.form-field small{font-size:11px;color:var(--muted);line-height:1.5}.form-field textarea{resize:vertical;min-height:82px}.form-error{background:#fff1ef;color:#b64236;border:1px solid #fad9d3;padding:11px 13px;border-radius:7px;font-size:12px;line-height:1.5;margin:0 0 18px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.check-label{display:flex;align-items:center;gap:9px;font-size:12px;margin-bottom:18px}.check-label input{accent-color:var(--teal);width:16px;height:16px}.hint-box{padding:14px 16px;border-radius:8px;background:#eff7f6;border:1px solid #dcefed;color:#4b6968;font-size:12px;line-height:1.7;margin:18px 0}.hint-box p:last-child{margin-bottom:0}.hint-box.warning{background:#fff8e8;border-color:#f2e4be;color:#896d2d}
.shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#9bb2bc;display:flex;flex-direction:column;padding:30px 16px 18px;position:fixed;inset:0 auto 0 0;width:224px;z-index:600}.sidebar .brand{padding:0 10px 35px}.nav-section-label{font-size:9px;letter-spacing:1.9px;padding:0 16px 13px;color:#78949f}.nav{display:flex;flex-direction:column;gap:5px}.nav button{border:0;background:transparent;color:#9cb3bd;justify-content:flex-start;border-radius:7px;padding:13px 15px;min-height:46px;font-size:12px;font-weight:500;position:relative}.nav button svg{width:18px;height:18px;margin-inline-end:4px}.nav button:hover{background:#1a3b47;color:white}.nav button.active{background:#245348;color:#98efda}.nav button.active:before{content:"";position:absolute;inset:11px auto 11px -16px;width:3px;background:var(--mint);border-radius:0 2px 2px 0}.nav-count{margin-inline-start:auto;font-size:10px;padding:2px 5px;background:#ffffff12;border-radius:4px}.sidebar-spacer{flex:1;min-height:40px}.sidebar-status{margin:0 9px 20px;padding:14px 0;border-top:1px solid #ffffff10;border-bottom:1px solid #ffffff10;font-size:10px;display:flex;align-items:center;gap:7px}.connection-dot{width:6px;height:6px;border-radius:50%;background:#8a9b9f;display:inline-block;flex:none}.connection-dot.live{background:var(--mint);box-shadow:0 0 0 3px #4fd7bd12}.connection-dot.error{background:#e9ab57}.sidebar-status strong{font-weight:500;color:#a7c3c8}.sidebar-user{display:flex;gap:10px;align-items:center;padding:0 9px}.avatar{width:33px;height:33px;display:flex;align-items:center;justify-content:center;flex:none;border-radius:8px;background:#31505b;color:#d3e7e9;font-size:11px;font-weight:700}.user-name{font-size:11px;color:#d9e5e8;max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-role{font-size:9px;color:#7f9ca8;margin-top:4px}.sidebar-user .icon-btn{margin-inline-start:auto;color:#9bb2bc;padding:4px;min-width:24px}.sidebar-user .icon-btn svg{width:15px;height:15px}.workspace{grid-column:2;min-width:0}.topbar{height:80px;border-bottom:1px solid var(--line);background:white;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:18px}.topbar h1{font-size:20px;font-weight:600;letter-spacing:-.6px;margin:0}.topbar .subheading{font-size:11px;color:var(--muted);margin-top:6px}.topbar-actions{display:flex;align-items:center;gap:12px}.date-label{font-size:11px;color:var(--muted);padding-inline-end:16px;border-inline-end:1px solid var(--line)}.topbar .mobile-menu{display:none}.page{padding:25px 32px 30px}.page-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}.page-intro h2{font-size:19px;letter-spacing:-.5px;font-weight:600;margin-bottom:7px}.page-intro p{font-size:12px;color:var(--muted);margin:0;line-height:1.5}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:18px 20px;display:flex;align-items:center;gap:16px}.stat-icon{height:40px;width:40px;border-radius:10px;background:#eff4f6;display:flex;align-items:center;justify-content:center;color:#728d9a;flex:none}.stat-icon svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.stat.teal .stat-icon{background:#e9f7f1;color:#268f72}.stat.amber .stat-icon{background:#fff6e5;color:#bc9347}.stat.gray .stat-icon{background:#f0f1f4;color:#87939e}.stat-number{font-size:25px;line-height:1;letter-spacing:-.8px;font-weight:600;margin-top:9px}.stat-label{font-size:10px;color:var(--muted);white-space:nowrap}.stat-aside{font-size:10px;color:#8c9ca5;margin-inline-start:auto;align-self:flex-end;margin-bottom:3px}.live-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;min-height:530px;height:calc(100vh - 281px)}.map-card{position:relative;min-height:450px;background:#e8efed;border:1px solid var(--line);border-radius:11px;overflow:hidden;isolation:isolate}.map{height:100%;width:100%;z-index:1;min-height:450px;background:#e8efed}.map-top{position:absolute;top:18px;left:18px;right:18px;z-index:405;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;gap:12px}.map-label{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #e5ebec;background:#fffffff5;box-shadow:var(--shadow);border-radius:7px;pointer-events:auto;font-size:10px;color:#4b666e;font-weight:500}.map-label .connection-dot{background:var(--teal)}.map-actions{display:flex;gap:6px;pointer-events:auto}.map-actions button{background:white;border:1px solid #dfe7e8;box-shadow:var(--shadow);color:#5a747d;min-height:34px;min-width:34px;padding:8px;border-radius:7px}.map-actions button:hover,.map-actions button.active{color:var(--teal);background:#e9f6f0}.map-actions button svg{width:17px;height:17px}.map-legend{position:absolute;bottom:27px;left:18px;display:flex;align-items:center;gap:14px;background:#fffffff5;border:1px solid #e3e9e9;box-shadow:var(--shadow);border-radius:6px;padding:9px 12px;font-size:9px;color:#6f858b;z-index:405}.map-legend span{display:flex;align-items:center;gap:5px}.legend-dot{width:6px;height:6px;border-radius:50%;background:#738b97}.legend-dot.online{background:#2d9c70}.legend-dot.moving{background:#16a1aa}.legend-dot.offline{background:#95a2ad}.map-empty{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:404;background:#fffffff2;border:1px solid #e3e9e9;border-radius:12px;padding:25px;text-align:center;max-width:330px;width:80%;box-shadow:0 14px 60px #223c4a16}.map-empty .empty-icon{margin-bottom:12px;width:42px;height:42px}.map-empty h3{font-size:16px;margin-bottom:9px;font-weight:600}.map-empty p{font-size:11px;line-height:1.7;color:var(--muted);margin-bottom:18px}.map-offline-note{position:absolute;inset:auto 15px 55px;z-index:406;padding:9px 13px;border-radius:7px;background:#fff8e9eF;font-size:11px;color:#8e7138;box-shadow:var(--shadow)}.map-detail{position:absolute;bottom:58px;left:18px;width:286px;max-width:calc(100% - 36px);background:#fffffff7;border:1px solid #dde8e8;border-radius:10px;z-index:406;box-shadow:0 5px 30px #21434820;overflow:hidden}.map-detail-head{padding:15px 16px 12px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #e6eded}.device-symbol{width:35px;height:35px;display:flex;align-items:center;justify-content:center;background:#eef4f5;border:1px solid #e4ecee;border-radius:8px;color:#5c7a85;flex:none}.device-symbol svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.map-detail-name{font-size:12px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:175px}.map-detail-head .tiny{margin-top:4px;color:var(--muted);font-size:9px}.map-detail-head .icon-btn{margin-inline-start:auto;padding:3px;min-width:23px;min-height:23px}.map-detail-body{padding:14px 16px}.detail-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:13px}.detail-metrics label{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}.detail-metrics strong{font-size:16px;font-weight:600}.detail-metrics strong small{font-size:10px;font-weight:400;color:var(--muted)}.detail-location{display:flex;align-items:flex-start;gap:7px;color:#73868e;font-size:10px;line-height:1.6;overflow-wrap:anywhere}.detail-location svg{width:13px;height:13px;flex:none;stroke:currentColor;fill:none;stroke-width:1.5;margin-top:2px}.detail-actions{display:flex;gap:7px;margin-top:13px}.detail-actions .btn{flex:1;font-size:10px;min-height:31px;padding:5px}.fleet-panel{background:white;border:1px solid var(--line);border-radius:11px;display:flex;flex-direction:column;min-height:0;overflow:hidden}.panel-head{padding:19px 18px 14px;border-bottom:1px solid var(--line)}.panel-head-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.panel-head h2{font-size:13px;font-weight:600;margin:0}.panel-head .count-pill{display:inline-flex;justify-content:center;align-items:center;min-width:21px;height:20px;background:#edf2f4;border:1px solid #e3eaec;border-radius:5px;margin-inline-start:6px;font-size:10px;color:#788f99}.search-wrap{position:relative}.search-wrap svg{position:absolute;left:10px;top:11px;width:15px;height:15px;stroke:#8b9da5;fill:none;stroke-width:1.7;pointer-events:none}.search-input{padding:9px 12px 9px 33px;min-height:36px;font-size:10px;background:#f7f9fa}.filter-tabs{display:flex;gap:5px;margin-top:13px}.filter-tabs button{padding:5px 9px;border:0;border-radius:5px;background:transparent;color:#82949c;font-size:9px;font-weight:500}.filter-tabs button.active{background:#e9f5ef;color:#298165}.fleet-list{overflow:auto;flex:1;min-height:0}.device-row{width:100%;border:0;border-bottom:1px solid #f0f3f4;background:white;display:flex;align-items:flex-start;text-align:start;padding:16px 17px;gap:11px;color:var(--ink);border-inline-start:3px solid transparent}.device-row:hover{background:#f7fbfa}.device-row.selected{background:#eef8f4;border-inline-start-color:#319d7a}.device-row .device-symbol{width:34px;height:34px}.device-row-text{flex:1;min-width:0}.device-name-line{display:flex;align-items:center;gap:5px;justify-content:space-between}.device-name-line strong{font-size:11px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:136px}.device-row .badge{font-size:8px;padding:3px 4px;gap:3px}.device-row .badge:before{width:4px;height:4px}.device-meta{font-size:9px;color:#91a0a6;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.device-speed{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#7b9299;margin-top:12px}.device-speed strong{color:#58787a;font-size:10px;font-weight:500}.panel-foot{border-top:1px solid var(--line);padding:12px 17px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#8a9ba2}.panel-foot span{display:flex;align-items:center;gap:6px}.panel-foot .connection-dot{width:4px;height:4px;background:#48a780}.panel-foot button{font-size:9px;font-weight:500}.empty-list{text-align:center;padding:45px 22px;color:var(--muted)}.empty-icon{width:48px;height:48px;background:#eef6f3;color:#559786;border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 17px}.empty-icon svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.empty-list h3{font-size:12px;font-weight:600;color:#4c6974;margin-bottom:9px}.empty-list p{font-size:10px;line-height:1.8;margin-bottom:16px}.page-footer{display:flex;justify-content:space-between;margin-top:19px;color:#95a3aa;font-size:9px;letter-spacing:.1px}.page-footer span:first-child{display:flex;align-items:center;gap:5px}.page-footer svg{height:11px;width:11px;stroke:currentColor;fill:none;stroke-width:1.5}
.card{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.card-heading{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.card-heading h2{font-size:14px;font-weight:600;margin:0}.card-body{padding:22px}.toolbar{display:flex;align-items:flex-end;gap:13px;padding:20px 22px;border-bottom:1px solid var(--line);flex-wrap:wrap}.toolbar .form-field{margin:0;min-width:150px;flex:1}.toolbar .form-field label{font-size:10px;color:var(--muted)}.toolbar input,.toolbar select{min-height:38px;font-size:11px;padding:8px 11px}.toolbar .search-wrap{max-width:320px;flex:1}.toolbar .search-input{min-height:38px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:start;white-space:nowrap}th{text-align:start;background:#fafbfc;color:#8a9aa3;font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.8px;padding:13px 21px;border-bottom:1px solid var(--line)}td{font-size:11px;padding:17px 21px;border-bottom:1px solid #edf1f3;max-width:300px;overflow:hidden;text-overflow:ellipsis}tr:last-child td{border-bottom:0}td .cell-name{display:flex;align-items:center;gap:10px}td .cell-name strong{font-size:11px;font-weight:600}td .cell-name small{display:block;color:var(--muted);font-size:9px;margin-top:5px}td .device-symbol{height:31px;width:31px}td .device-symbol svg{width:17px;height:17px}.row-actions{display:flex;align-items:center;gap:3px}.row-actions .icon-btn{min-height:29px;min-width:29px;padding:5px}.row-actions svg{width:15px;height:15px}.table-empty{padding:65px 24px;text-align:center;white-space:normal}.table-empty h3{font-weight:600;font-size:16px;color:#415e6c}.table-empty p{color:var(--muted);font-size:12px;line-height:1.7}.table-foot{display:flex;align-items:center;justify-content:space-between;padding:14px 22px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);gap:20px}.pager{display:flex;gap:8px;align-items:center}.pager button{font-size:10px;min-height:27px;min-width:27px;padding:4px}.route-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;margin-top:20px}.route-layout .map-card{height:440px}.route-summary{padding:23px}.route-summary h3{font-size:14px;font-weight:600;margin-bottom:25px}.summary-row{padding:17px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:11px;color:var(--muted)}.summary-row strong{font-size:15px;font-weight:600;color:var(--ink)}.route-summary .summary-row:last-child{border-bottom:0}.route-slider{margin-top:25px}.route-slider input{width:100%;accent-color:var(--teal)}.route-slider p{font-size:10px;color:var(--muted);margin:8px 0 0;line-height:1.7}.geofence-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;min-height:520px;height:calc(100vh - 260px)}.geofence-item{padding:17px 18px;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:flex-start}.geofence-item .device-symbol{background:#ebf5ef;color:#56917a}.geofence-item h3{font-size:12px;font-weight:600;margin:2px 0 6px}.geofence-item p{font-size:10px;line-height:1.5;margin:0;color:var(--muted)}.geofence-item .row-actions{margin-inline-start:auto}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid .card h3{font-size:14px;margin:0}.settings-row{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--line);font-size:11px;align-items:flex-start}.settings-row:last-child{border-bottom:0}.settings-row>span{color:var(--muted)}.settings-row>strong{text-align:end;font-weight:500;overflow-wrap:anywhere;max-width:65%}.settings-list{padding:8px 22px 18px}.setup-steps{margin:0;padding:0;list-style:none;counter-reset:step}.setup-steps li{display:flex;gap:13px;align-items:flex-start;padding:16px 0;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);line-height:1.7;counter-increment:step}.setup-steps li:last-child{border-bottom:0}.setup-steps li:before{content:counter(step);width:25px;height:25px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:#edf6f2;color:var(--teal);font-size:11px;font-weight:600;flex:none}.setup-steps strong{display:block;font-size:12px;color:var(--ink);font-weight:600;margin-bottom:3px}.settings-grid .hint-box{margin-bottom:0}.status-banner{padding:12px 16px;background:#fff7e4;border:1px solid #f1dfb0;color:#8f742e;border-radius:8px;font-size:12px;line-height:1.7;margin-bottom:20px}.status-banner:empty{display:none}.loading-block{display:flex;align-items:center;justify-content:center;padding:70px;color:var(--muted);font-size:12px;gap:10px}.spinner{height:15px;width:15px;border:2px solid #d4e5e1;border-top-color:var(--teal);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
dialog{border:1px solid #e1e9eb;padding:0;border-radius:13px;box-shadow:0 20px 100px #0c2d3b40;max-width:520px;width:calc(100% - 32px);color:var(--ink);max-height:calc(100vh - 60px)}dialog::backdrop{background:#0a28375c;backdrop-filter:blur(3px)}.modal-heading{padding:23px 25px 19px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.modal-heading h2{font-size:18px;font-weight:600;letter-spacing:-.4px;margin:0}.modal-heading p{font-size:11px;line-height:1.6;color:var(--muted);margin:8px 0 0}.modal-heading .icon-btn{min-height:25px;min-width:25px;padding:2px;margin-top:-1px}.modal-body{padding:23px 25px 5px}.modal-body>p{font-size:12px;line-height:1.8;color:var(--muted)}.modal-footer{padding:18px 25px 23px;display:flex;justify-content:flex-end;gap:10px}.modal-footer .btn{font-size:12px}.modal-error{padding:0 25px}.modal-error .form-error{margin-bottom:0}.code-block{padding:14px 15px;border:1px solid #dce7e7;background:#f2f6f7;overflow:auto;border-radius:7px;direction:ltr;text-align:left;white-space:pre-wrap;word-break:break-all;font-family:Consolas,monospace;font-size:11px;color:#45616d;line-height:1.7;max-height:220px}.credential-row{display:flex;gap:7px;align-items:center}.credential-row input{flex:1;min-width:0}.credential-row .btn{height:42px}.credentials-warning{padding:11px 14px;background:#fff8e9;border:1px solid #f0e1bc;color:#8f7239;font-size:11px;line-height:1.7;border-radius:7px;margin-bottom:18px}.toasts{position:fixed;bottom:24px;right:25px;z-index:1200;display:flex;flex-direction:column;gap:10px;max-width:calc(100vw - 40px);width:350px;pointer-events:none}.toast{display:flex;gap:10px;align-items:flex-start;background:#fff;border:1px solid #d9e9e3;border-inline-start:3px solid var(--teal);box-shadow:0 5px 25px #24425220;padding:14px 16px;border-radius:8px;font-size:12px;line-height:1.6;pointer-events:auto;animation:slide-in .2s ease-out}.toast.error{border-inline-start-color:var(--red)}.toast svg{width:17px;height:17px;color:var(--teal);stroke:currentColor;fill:none;stroke-width:1.7;flex:none;margin-top:1px}.toast.error svg{color:var(--red)}.toast button{border:0;background:transparent;color:var(--muted);margin-inline-start:auto;padding:0}.toast button svg{width:13px;height:13px;color:var(--muted)}@keyframes slide-in{from{opacity:0;transform:translateY(8px)}}
.qatra-marker{background:transparent!important;border:0!important}.marker-inner{height:32px;width:32px;border-radius:50%;border:3px solid white;box-shadow:0 2px 10px #234a5550;display:flex;align-items:center;justify-content:center;color:white;background:#8f9da9}.marker-inner.online{background:#29936c}.marker-inner.moving{background:#1096a1}.marker-inner.selected{box-shadow:0 0 0 7px #169a7e26,0 2px 10px #234a5550}.marker-inner svg{height:17px;width:17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.leaflet-container{font:inherit}.leaflet-control-zoom{border:1px solid #dce6e6!important;box-shadow:var(--shadow)!important;border-radius:7px!important;overflow:hidden}.leaflet-control-zoom a{font-family:Arial,sans-serif!important;color:#607c85!important;width:32px!important;height:32px!important;line-height:32px!important;border-bottom:1px solid #e4eaea!important}.leaflet-control-attribution{font-size:8px!important;background:#ffffffdd!important;color:#80969c!important}.leaflet-control-attribution a{color:#6d8d91!important}.leaflet-tooltip{font-family:inherit;font-size:10px;border-color:#dfebeb;border-radius:5px;padding:7px 9px;box-shadow:var(--shadow)}.leaflet-bottom.leaflet-right .leaflet-control-zoom{margin-bottom:36px;margin-right:18px}.mobile-overlay{display:none}
[dir=rtl] .sidebar{inset:0 0 0 auto}[dir=rtl] .nav button.active:before{inset:11px -16px 11px auto;border-radius:2px 0 0 2px}[dir=rtl] .search-wrap svg{left:auto;right:10px}[dir=rtl] .search-input{padding:9px 33px 9px 12px}[dir=rtl] .auth-language{right:auto;left:35px}[dir=rtl] .toasts{right:auto;left:25px}[dir=rtl] .brand-subtitle{letter-spacing:.5px}[dir=rtl] .eyebrow,[dir=rtl] .nav-section-label{letter-spacing:.3px}[dir=rtl] .map-top,[dir=rtl] .map-legend,[dir=rtl] .map-detail{direction:rtl}[dir=rtl] .map-detail{left:auto;right:18px}[dir=rtl] .map-legend{left:auto;right:18px}[dir=rtl] .map{direction:ltr}
@media(min-width:1500px){.sidebar{width:240px}.shell{grid-template-columns:240px minmax(0,1fr)}.topbar{padding:0 40px}.page{padding:28px 40px}.live-layout{grid-template-columns:minmax(0,1fr) 340px}.stat{padding:22px 24px}.stat-number{font-size:28px}.live-layout{height:calc(100vh - 300px)}}
@media(max-width:1200px){.sidebar{width:190px;padding-inline:12px}.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar .brand{padding-inline:7px}.brand-logo{width:35px;height:40px}.brand-title{font-size:26px}.brand-subtitle{font-size:8px}.nav button{font-size:11px;padding:12px}.nav button.active:before{left:-12px}.topbar{padding:0 23px}.page{padding:22px 23px}.live-layout{grid-template-columns:minmax(0,1fr) 280px;gap:16px;height:calc(100vh - 277px)}.stats{gap:12px}.stat{padding:17px 14px;gap:11px}.stat-icon{width:34px;height:34px}.stat-label{font-size:9px}.stat-number{font-size:22px}.stat-aside{display:none}.geofence-layout{grid-template-columns:minmax(0,1fr) 280px}[dir=rtl] .nav button.active:before{right:-12px}}
@media(max-width:960px){.sidebar{width:74px;padding-inline:11px}.shell{grid-template-columns:74px minmax(0,1fr)}.sidebar .brand{padding:0 0 32px;justify-content:center}.sidebar .brand-logo{width:40px;height:45px}.sidebar .brand>div,.sidebar .nav-section-label,.sidebar .nav button>span,.sidebar .sidebar-status strong,.sidebar .sidebar-user>div,.sidebar .sidebar-user>button{display:none}.sidebar .nav button{justify-content:center;padding:13px}.sidebar .nav button svg{margin:0;width:20px;height:20px}.sidebar .nav button.active:before{left:-11px}.sidebar .sidebar-status{justify-content:center;border:0;margin:0 0 22px}.sidebar .sidebar-user{justify-content:center;padding:0}.sidebar .nav-count{display:none}.topbar{height:72px}.topbar h1{font-size:18px}.date-label{display:none}.live-layout{grid-template-columns:minmax(0,1fr) 265px;height:calc(100vh - 262px);gap:13px}.page{padding:20px}.topbar{padding:0 20px}.stats{margin-bottom:20px;gap:10px}.stat{padding:15px 11px;gap:9px}.stat-icon{width:30px;height:30px}.stat-icon svg{width:17px}.stat-label{font-size:8px}.stat-number{font-size:21px}.fleet-panel .panel-head{padding:16px 14px 13px}.device-row{padding:15px 12px}.device-row .device-symbol{width:30px;height:30px}.device-name-line strong{max-width:123px}.auth-story{padding:40px 10%}.auth-panel{padding:60px 11%}.auth-copy h1{font-size:40px}.route-layout{grid-template-columns:minmax(0,1fr) 225px;gap:15px}.settings-grid{gap:16px}.settings-row{flex-direction:column;gap:8px}.settings-row>strong{max-width:100%;text-align:start}.geofence-layout{grid-template-columns:minmax(0,1fr) 265px;gap:13px}[dir=rtl] .nav button.active:before{right:-11px}}
@media(max-width:720px){.shell{display:block}.workspace{display:block}.sidebar{width:235px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.sidebar .brand{padding:0 10px 32px;justify-content:flex-start}.sidebar .brand>div,.sidebar .nav-section-label,.sidebar .nav button>span,.sidebar .sidebar-status strong,.sidebar .sidebar-user>div,.sidebar .sidebar-user>button{display:block}.sidebar .brand-logo{width:42px;height:48px}.sidebar .nav button{justify-content:flex-start;font-size:12px}.sidebar .nav button svg{margin-inline-end:4px}.sidebar .nav-count{display:block}.sidebar .sidebar-status{justify-content:flex-start;border-top:1px solid #ffffff10;border-bottom:1px solid #ffffff10;padding:18px 0;margin:0 9px 20px}.sidebar .sidebar-user{justify-content:flex-start;padding:0 9px}.topbar .mobile-menu{display:inline-flex}.mobile-overlay.show{display:block;position:fixed;inset:0;background:#102d3866;z-index:599}.topbar{height:73px;padding:0 15px;gap:9px}.topbar-title{margin-inline-end:auto}.topbar h1{font-size:17px}.topbar .subheading{font-size:9px}.topbar-actions{gap:5px}.topbar-actions .btn{padding:8px 10px;min-height:35px;font-size:10px}.topbar-actions .btn svg{width:15px;height:15px}.topbar-actions .icon-btn{padding:6px}.page{padding:17px 15px 25px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:15px}.stat{padding:14px 15px;gap:13px}.stat-label{font-size:10px}.stat-number{font-size:22px}.stat-icon{width:34px;height:34px}.live-layout{display:flex;flex-direction:column;height:auto;min-height:0;gap:15px}.live-layout .map-card{height:430px;min-height:430px}.map{min-height:300px}.fleet-panel{min-height:260px;max-height:440px}.device-row{padding:15px 17px}.device-name-line strong{max-width:200px}.device-row .badge{font-size:9px}.device-meta,.device-speed{font-size:10px}.fleet-panel .panel-head{padding:17px}.panel-foot{padding:13px 17px}.page-footer{font-size:8px;gap:15px}.map-top{top:13px;left:13px;right:13px}.map-label{font-size:9px;padding:8px 10px}.map-legend{left:13px;font-size:8px;gap:10px}.map-detail{left:13px;bottom:56px;width:263px}.map-empty{padding:22px;max-width:285px}.page-intro{align-items:flex-start;gap:12px;margin-bottom:18px}.page-intro h2{font-size:17px}.page-intro p{font-size:11px}.page-intro .btn{padding:8px 12px;font-size:10px;white-space:nowrap}.page-intro .btn svg{width:15px;height:15px}.toolbar{padding:17px;gap:13px}.toolbar .form-field{min-width:calc(50% - 13px)}.toolbar .btn{flex:1;font-size:11px}.toolbar .search-wrap{max-width:none;min-width:100%;margin-bottom:0}.route-layout,.geofence-layout{display:flex;flex-direction:column;height:auto;gap:15px}.route-layout .map-card{height:350px;min-height:350px}.route-summary{padding:20px}.route-summary h3{margin-bottom:10px}.route-summary .summary-row{padding:13px 0}.geofence-layout .map-card{height:400px;min-height:400px}.settings-grid{grid-template-columns:1fr}.settings-row{flex-direction:row;gap:20px}.settings-row>strong{max-width:65%;text-align:end}.auth{display:flex;flex-direction:column;min-height:100vh}.auth-story{padding:27px 26px 30px;min-height:270px}.brand-full .brand-logo{width:45px;height:50px}.brand-full .brand-title{font-size:32px}.brand-full .brand-subtitle{font-size:8px;letter-spacing:2px}.auth-copy{padding-top:28px;max-width:none}.auth-copy h1{font-size:29px;max-width:320px;letter-spacing:-.8px;margin-bottom:10px}.auth-copy p{font-size:11px;line-height:1.7;max-width:290px;margin-bottom:0}.auth-foot{display:none}.auth-orbit{top:-35%;left:47%;width:340px;height:340px}.auth-pin{top:42%;left:83%;width:15px;height:15px;border-width:4px}.auth-panel{padding:42px 27px 32px;flex:1;align-items:flex-start}.auth-language{top:-253px;right:21px;color:#acc2c9;z-index:1}.auth-language:hover{background:#ffffff12;color:white}.auth-form h2{font-size:25px}.auth-form>p{font-size:12px;margin-bottom:24px}.auth-form .eyebrow{font-size:9px}.modal-heading{padding:20px}.modal-body{padding:20px 20px 3px}.modal-footer{padding:16px 20px 20px}.modal-error{padding:0 20px}.form-row{gap:12px}.form-field label{font-size:11px}.table-foot{padding:14px 17px}.table-empty{padding:45px 15px}.table-empty h3{font-size:14px}.toasts{bottom:17px;right:17px;width:calc(100vw - 34px)}[dir=rtl] .sidebar{transform:translateX(100%)}[dir=rtl] .sidebar.open{transform:translateX(0)}[dir=rtl] .auth-language{right:auto;left:21px}[dir=rtl] .map-detail,[dir=rtl] .map-legend{right:13px}[dir=rtl] .toasts{left:17px;right:auto}}
.sidebar{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#31505b transparent}.sidebar-spacer{min-height:18px}.sidebar .nav button{flex-shrink:0}.device-assignment .check-label{line-height:1.5}.device-assignment .search-input{padding-inline:12px}.badge.enabled{background:#e3f5ed;color:#23815e}
dialog{overflow:hidden}#modal-form{display:flex;flex-direction:column;max-height:calc(100vh - 60px);max-height:calc(100dvh - 60px);margin:0}.modal-heading,.modal-footer,.modal-error{flex-shrink:0;background:var(--white)}.modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}.modal-footer{border-top:1px solid var(--line);flex-wrap:wrap}.phone-guide{margin:0 0 20px;padding:15px;border:1px solid #dcefed;border-radius:8px;background:#f4faf8}.phone-guide h3{font-size:13px;line-height:1.6;margin:0 0 10px;font-weight:650}.phone-guide ol{margin:0 0 15px;padding-inline-start:19px;color:#4b6968;font-size:11px;line-height:1.8}.phone-guide li+li{margin-top:8px}.phone-guide .form-field{margin-bottom:12px}.phone-reachability,.phone-http-warning{margin:0;color:#4b6968;font-size:11px;line-height:1.8}.phone-reachability.warning,.phone-http-warning{padding:10px 12px;border:1px solid #f0e1bc;background:#fff8e9;border-radius:7px;color:#896d2d}.phone-http-warning{margin-top:10px}.credential-example{margin:3px 0 18px}.credential-example summary{cursor:pointer;color:var(--teal);font-size:12px;font-weight:600;line-height:1.6;padding:7px 0}.credential-example>p{margin:8px 0 0;line-height:1.7}
@media(max-height:820px) and (min-width:721px){.sidebar{padding-top:21px}.sidebar .brand{padding-bottom:24px}.sidebar .nav button{min-height:38px;padding-block:10px}.sidebar .sidebar-status{margin-bottom:15px;padding-block:12px}.sidebar-spacer{min-height:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.map-offline-note{display:flex;align-items:center;justify-content:space-between;gap:12px}.map-offline-note>span{flex:1;line-height:1.6}.map-offline-note>.btn{flex:none;background:#fff;border-color:#ead5ab;color:#7c6231}.leaflet-gl-layer .maplibregl-canvas{outline:none}@media(max-width:720px){.map-offline-note{inset-inline:10px;gap:8px;font-size:10px}.map-offline-note>.btn{font-size:10px;padding:6px 8px}}
