:root{--bg:#f6f7f3;--panel:#fff;--ink:#23352c;--muted:#859087;--line:#e6eae2;--green:#305b42;--lime:#d5e9b4;--amber:#a17a37;--shadow:0 4px 16px #203e2b03}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;color:var(--ink);font-size:14px}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.sidebar{position:fixed;left:0;top:0;bottom:0;width:220px;background:#fff;border-right:1px solid var(--line);padding:36px 22px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;font-size:27px;font-weight:800;letter-spacing:2px}.brand-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:var(--ink);color:var(--lime);font-size:39px;line-height:1}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:2px;color:var(--muted);margin-top:3px}.workspace-label{font-size:10px;color:var(--muted);margin:48px 12px 16px;letter-spacing:1px;display:flex;justify-content:space-between}.workspace-label span{font-size:9px;background:#f3f5ee;border-radius:4px;padding:2px 5px}nav{display:flex;flex-direction:column;gap:6px}nav button{border:0;background:none;text-align:left;padding:14px;border-radius:8px;color:#738075;font-size:13px;display:flex;gap:15px;align-items:center}nav button span{font-size:20px;width:20px;text-align:center}nav button.active{background:#edf3e7;color:#2c5036;font-weight:650}nav button:hover{background:#f2f5ed}.sidebar-bottom{margin-top:auto;padding:20px 10px 0}.server-status{display:flex;gap:8px;align-items:center;font-size:11px}.server-status i{width:7px;height:7px;background:#bf9b61;border-radius:50%}.sidebar-bottom p{font-size:11px;line-height:1.9;color:var(--muted);margin:14px 0 26px}.version{font-size:8px;color:#a4afa3;letter-spacing:1px}main{margin-left:220px}header{height:76px;background:#ffffffa6;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 13px;color:#bdc5b9}.breadcrumb b{font-weight:500;color:var(--ink)}.header-right{display:flex;align-items:center;gap:22px;font-size:11px;color:var(--muted)}.local-badge{border:1px solid var(--line);border-radius:5px;padding:6px 10px;color:#6d7c66}.avatar{display:grid;place-items:center;border-radius:50%;width:30px;height:30px;background:#e6ecdd;color:#51654c;font-size:10px}.content{max-width:1560px;margin:auto;padding:33px 38px 22px}.page{display:none}.page.active{display:block}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{font-size:9px;letter-spacing:2px;color:var(--muted);margin-bottom:10px}h1{font-size:29px;font-weight:600;letter-spacing:-1px;margin:0;display:flex;align-items:center;gap:14px}.page-heading p{font-size:12px;color:var(--muted);margin:10px 0 0}.live-chip{font-size:8px;letter-spacing:1px;border:1px solid #d5e3ca;border-radius:4px;padding:4px 6px;color:#6c8c55}.primary{border:0;background:var(--green);color:#fff;border-radius:7px;padding:12px 18px;font-size:12px;box-shadow:0 3px 5px #1c472c0c}.primary:hover{background:#244b34}.secondary{padding:10px 17px;background:#fff;border:1px solid #dce3d6;border-radius:7px;color:var(--ink);font-size:12px}.text-button{border:0;background:transparent;color:#66755d;font-size:11px;padding:5px 0}.notice{display:flex;align-items:center;gap:12px;background:#edf2e6;border:1px solid #e1e9d7;border-radius:8px;padding:13px 16px;margin-bottom:22px;font-size:11px;color:#65785a}.notice-icon{display:grid;place-items:center;width:17px;height:17px;border:1px solid #839875;border-radius:50%;font-family:serif;flex-shrink:0}.notice b{font-weight:600;margin-right:14px}.notice span:not(.notice-icon){line-height:1.8}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.stats article{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px 23px;box-shadow:var(--shadow)}.stat-label{font-size:11px;color:#778574;display:flex;justify-content:space-between;align-items:center}.stat-label span{font-size:17px;color:#9ba58f}.stat-value{font-size:32px;letter-spacing:-1px;font-weight:550;margin:15px 0 10px;font-variant-numeric:tabular-nums;line-height:1}.stat-value.text{font-size:25px;padding-top:4px;padding-bottom:3px}.stat-value small{font-size:12px;color:#87907c;margin-left:5px;letter-spacing:0}.stat-foot{font-size:10px;color:var(--muted)}.overview-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);gap:20px;margin-bottom:22px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:var(--shadow)}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 23px;min-height:62px}h2{font-size:13px;font-weight:600;margin:0}.subtle{font-size:10px;color:var(--muted)}.location-canvas{height:312px;background:#f0f3e9;position:relative;overflow:hidden}.map-grid{position:absolute;inset:0;background-image:linear-gradient(#dfe5d65c 1px,transparent 1px),linear-gradient(90deg,#dfe5d65c 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(ellipse,#000,transparent 95%)}.location-canvas:after{content:"";position:absolute;inset:20px;border:1px solid #dae1d180;pointer-events:none}.map-cross{position:absolute;width:12px;height:12px;border-top:1px solid #c3cdb6;border-left:1px solid #c3cdb6}.x1{top:20px;left:20px}.x2{top:20px;right:20px;transform:rotate(90deg)}.x3{bottom:20px;left:20px;transform:rotate(-90deg)}.location-empty{position:absolute;inset:0;display:flex;align-items:center;flex-direction:column;justify-content:center}.radar{width:90px;height:90px;border:1px solid #d5dfc8;border-radius:50%;display:grid;place-items:center;position:relative;margin-bottom:12px;background:#edf2e4}.radar span{width:65px;height:65px;border:1px dashed #bfd1ad;border-radius:50%;position:absolute}.radar i{width:39px;height:39px;background:#dbe8cb;border-radius:50%}.radar b{position:absolute;font-size:29px;font-weight:400;color:#6e8d55}.location-empty h3{font-size:14px;font-weight:500;margin:0 0 9px}.location-empty p{text-align:center;font-size:10px;line-height:1.8;color:#8c9980;margin:0}.map-pill{border:1px solid #dce4d3;background:#ffffff90;border-radius:20px;padding:5px 11px;font-size:9px;color:#81916e;margin-top:13px}.map-caption{position:absolute;bottom:10px;left:14px;right:14px;display:flex;justify-content:space-between;font-size:8px;letter-spacing:1px;color:#98a38c}.coordinate-strip{display:grid;grid-template-columns:1fr 1fr 1.3fr;padding:20px 23px;gap:15px}.coordinate-strip span{display:block;font-size:8px;letter-spacing:.7px;color:var(--muted);margin-bottom:8px}.coordinate-strip strong{font-size:13px;font-weight:500;font-variant-numeric:tabular-nums}.device-panel select{margin:0 23px;width:calc(100% - 46px);background:#f8f9f5;border:1px solid var(--line);border-radius:6px;padding:9px 10px;font-size:11px;color:#63735b}.device-drawing{height:96px;display:flex;align-items:center;justify-content:center}.device-drawing svg{width:240px;max-width:100%}.device-panel h3{text-align:center;font-size:15px;font-weight:550;margin:0 12px 5px}.device-meta{text-align:center;font-size:9px;color:var(--muted)}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:5px;background:#f1f3ed;padding:5px 8px;font-size:10px;color:#7d8679;white-space:nowrap}.pill.green{background:#edf4e7;color:#64834e}.pill.amber{background:#faf2e4;color:#a48954}.pill.red{background:#f9ece7;color:#aa735e}.detail-list{margin:19px 23px 17px}.detail-list div{display:flex;justify-content:space-between;gap:8px;font-size:10px;margin:12px 0}.detail-list dt{color:#919a8a}.detail-list dd{margin:0;color:#607057}.countdown{margin:0 23px 20px;border-top:1px solid var(--line);padding-top:14px}.countdown>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8b957f}.countdown b{font-size:18px;font-weight:500;letter-spacing:1px;color:#507040;font-variant-numeric:tabular-nums}.progress{height:4px;background:#edf0e5;border-radius:4px;margin:10px 0}.progress i{display:block;width:0;height:100%;background:#a6c182;border-radius:4px;transition:width .5s}.countdown small{font-size:9px;color:#9aa38e}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}th{background:#fafbf8;color:#9aa28f;font-size:9px;font-weight:500;padding:12px 23px;border-top:1px solid #f2f4ee;border-bottom:1px solid #f2f4ee}td{font-size:11px;padding:15px 23px;border-bottom:1px solid #f1f3ed;color:#73806b}tbody tr:last-child td{border-bottom:0}td strong{font-weight:500;color:#4a6143}td small{font-size:9px;color:#9ca68f;display:block;margin-top:5px}.count{background:#f0f3e9;border-radius:4px;font-size:9px;padding:3px 6px;color:#8d9d7b;margin-left:7px}.empty-cell{text-align:center;padding:40px;color:#9ba58f}footer{display:flex;justify-content:space-between;font-size:9px;color:#a0a994;margin-top:25px;letter-spacing:.3px}.help-card{margin-top:22px;padding:24px 26px;background:#eef2e7;border:1px solid #e3e9db;border-radius:10px}.help-card h3{font-size:13px;font-weight:500;margin:0 0 12px}.help-card p{font-size:12px;line-height:1.9;color:#859278;margin:0;max-width:950px}input,select{border:1px solid #dfe6d7;padding:10px 12px;border-radius:6px;background:#fff;color:#495f43}#device-search{font-size:11px;width:230px}label{display:block;font-size:12px;color:#68775e}label input:not([type=checkbox]):not([type=range]){display:block;width:100%;margin:9px 0 21px}.policy-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}.form-pad{padding:4px 25px 25px}.input-unit{display:flex;align-items:center;gap:12px;margin:10px 0 23px}.input-unit input{width:100px!important;margin:0!important}.input-unit span{font-size:10px;color:#99a28e}.form-note{font-size:10px;line-height:1.9;color:#99a28e;margin:0 0 19px}.segmented{display:flex;background:#f2f5ec;border-radius:7px;padding:4px;margin:22px 0}.segmented button{flex:1;border:0;padding:11px;background:none;color:#8b987b;border-radius:5px;font-size:12px}.segmented button.active{background:white;color:#547042;box-shadow:0 2px 5px #344e2010}.check-row{display:flex;align-items:center;gap:8px;margin:25px 0}.check-row input{accent-color:#5d7b48}.simulator label b{float:right;font-size:11px;font-weight:400}input[type=range]{width:100%;margin:18px 0;accent-color:#6e8b56;padding:0}.simulation-result{background:#f5f8ef;border:1px dashed #d9e3cc;border-radius:10px;text-align:center;margin:16px 0;padding:22px}.simulation-result>span{font-size:11px;color:#849571;display:block}.simulation-result strong{font-size:36px;font-weight:500;display:block;margin:14px}.simulation-result strong small{font-size:12px;color:#94a184}.simulation-result p{font-size:10px;color:#96a18c;margin:0}.sleep-flow{display:flex;align-items:center;justify-content:space-between;padding:16px 28px 25px;gap:12px}.sleep-flow>div{flex:1}.sleep-flow>span{color:#a5b499}.sleep-flow i{font-style:normal;font-size:10px;color:#93a77d}.sleep-flow h3{font-size:12px;font-weight:500;margin:12px 0}.sleep-flow p{font-size:10px;line-height:1.9;color:#94a186;margin:0}.sleep-note{background:#f8faf4;padding:16px 26px;font-size:10px;line-height:1.9;color:#8f9b82;border-top:1px solid var(--line)}.command-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:23px}.command-actions button{background:#fff;border:1px solid var(--line);border-radius:9px;padding:23px;text-align:left;color:var(--ink)}.command-actions button:hover:not(:disabled){border-color:#98b87d;background:#fbfdf7}.command-actions button>span{font-size:23px;color:#7f9b65;display:block;margin-bottom:18px}.command-actions b{display:block;font-size:13px;font-weight:500;margin-bottom:9px}.command-actions small{font-size:10px;color:#97a08e}.architecture{display:flex;align-items:center;gap:20px;margin:30px 0}.architecture>div{flex:1;background:#fff;border:1px solid var(--line);padding:25px;border-radius:10px}.architecture>i{font-size:24px;font-style:normal;color:#a1b08e}.architecture span{font-size:8px;letter-spacing:2px;color:#9ea892;display:block}.architecture b{font-size:14px;font-weight:500;display:block;margin:17px 0 11px}.architecture small{font-size:10px;color:#9ca68e}.architecture .architecture-main{background:#294834;color:#e4eddc;border-color:#294834}.architecture-main small,.architecture-main span{color:#a3b697}.api-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.endpoint{padding:18px 24px;border-top:1px solid #f1f4ea}.endpoint b{font-size:9px;color:#97864d;background:#f4f0de;padding:4px 6px;border-radius:4px;margin-right:7px}.endpoint b.get{background:#eaf1e2;color:#77965a}.endpoint code{font-size:11px;color:#566d45}.endpoint p{font-size:10px;color:#9ca58e;margin:12px 0 0}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.9;padding:24px;background:#f6f8f2;margin:0;color:#647657;font-family:ui-monospace,SFMono-Regular,monospace}.pad-note{padding:17px 24px 0}.tag-row{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.tag-row span{font-size:10px;background:#e3ebd7;color:#83976c;padding:6px 10px;border-radius:5px}dialog{border:1px solid var(--line);border-radius:13px;box-shadow:0 25px 100px #1e342333;padding:28px;width:440px;max-width:calc(100% - 32px);color:var(--ink)}dialog::backdrop{background:#20342655;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-head h2,dialog h2{font-size:18px}dialog p{font-size:12px;line-height:1.9;color:var(--muted);margin:17px 0 22px}.close{border:0;background:none;font-size:26px;color:#91a080}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:15px}dialog pre{margin:15px 0}#toast{position:fixed;bottom:25px;left:calc(50% + 80px);transform:translateX(-50%);padding:13px 22px;border-radius:8px;background:#274a35;color:white;font-size:12px;box-shadow:0 10px 25px #25422b20;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s;max-width:80vw}#toast.show{opacity:1}.banner{padding:14px;border-radius:7px;margin-bottom:18px;font-size:12px}.banner.error{background:#f8ece4;color:#ad7758}.result-cell{white-space:normal;min-width:200px;max-width:400px;font-size:10px;line-height:1.7}#track-svg{width:100%;height:100%;position:relative;z-index:1}.row-actions{display:flex;gap:13px}
@media(min-width:1550px){.location-canvas{height:350px}.device-drawing{height:120px}.stats article{padding:23px 27px}}@media(max-width:1150px){.sidebar{width:180px;padding:28px 14px}main{margin-left:180px}header{padding:0 25px}.content{padding:25px}.overview-grid{grid-template-columns:1.6fr 1fr}.stats article{padding:17px}.notice b{display:block;margin-bottom:3px}.coordinate-strip{padding:20px 16px;gap:8px}.coordinate-strip strong{font-size:11px}.command-actions{gap:10px}.command-actions button{padding:18px}.architecture{gap:10px}.architecture>div{padding:20px 15px}.endpoint code{font-size:10px}}@media(max-width:850px){.sidebar{width:72px;padding:26px 10px}.brand>span:last-child,.workspace-label,.sidebar-bottom{display:none}.brand{justify-content:center}nav{margin-top:35px}nav button{font-size:0;justify-content:center;padding:14px 8px}nav button span{font-size:23px}main{margin-left:72px}.overview-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.device-panel{display:none}.policy-grid,.api-grid{grid-template-columns:1fr}.architecture{flex-direction:column}.architecture>div{width:100%}.architecture>i{transform:rotate(90deg)}.command-actions{grid-template-columns:repeat(2,1fr)}.sleep-flow{flex-wrap:wrap}.sleep-flow>div{min-width:40%}.sleep-flow>span{display:none}.header-right #clock{display:none}#toast{left:55%}.coordinate-strip strong{font-size:13px}}@media(max-width:520px){.content{padding:22px 16px}header{padding:0 16px;height:62px}.header-right{gap:10px}.avatar{display:none}.page-heading{align-items:flex-start}h1{font-size:23px}.page-heading p{font-size:11px;line-height:1.7}.page-heading>.primary{padding:10px;white-space:nowrap;font-size:10px}.stats{gap:10px}.stats article{padding:15px}.stat-value{font-size:28px}.stat-value.text{font-size:21px}.notice{padding:12px}.coordinate-strip{grid-template-columns:1fr 1fr}.coordinate-strip>div:last-child{grid-column:1/-1}.panel-title{padding:18px 16px}.table-wrap th,.table-wrap td{padding:13px 16px}footer{font-size:8px}.panel-title input{width:145px!important}.page-heading>.pill{display:none}.command-actions button{padding:15px}.command-actions small{line-height:1.7;display:block}}
/* Google Maps keeps its own attribution and controls unobstructed. */
.map-actions{display:flex;gap:17px;align-items:center}.map-actions button{white-space:nowrap}#google-map{position:absolute;inset:0;width:100%;height:100%;z-index:3}.google-ready .map-grid,.google-ready .map-cross,.google-ready #track-svg,.google-ready .map-caption,.google-ready .location-empty,.google-ready:after{display:none!important}.map-message{position:absolute;left:16px;right:16px;top:14px;padding:10px 13px;background:#fff8e9;border:1px solid #e7d8b4;border-radius:6px;z-index:4;font-size:10px;line-height:1.7;color:#997846}.location-canvas{height:360px}

/* Icon-only vehicle marker. Bottom dot remains the location anchor. */
.truck-map-marker{position:relative;display:flex;justify-content:center;width:58px;height:65px;cursor:default;filter:drop-shadow(0 3px 5px #172d2733)}
.truck-marker-card{position:relative;display:grid;place-items:center;width:56px;height:50px;border:2px solid #fff;border-radius:13px;background:#305b42;color:#fff}
.truck-marker-card:after{content:"";position:absolute;bottom:-5px;left:calc(50% - 4px);width:8px;height:8px;background:#305b42;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg)}
.truck-marker-point{position:absolute;bottom:-4px;left:calc(50% - 4px);width:8px;height:8px;border:2px solid #fff;border-radius:50%;background:#3b7351;box-shadow:0 0 0 4px #3b735123}
.map-toolbar{display:flex;justify-content:flex-end;align-items:center;height:38px;padding:0 17px}.map-toolbar .text-button{padding:4px 0;font-size:11px}

/* Half-size marker, scaled around its exact geographic anchor. */
.truck-map-marker{transform:scale(.5);transform-origin:50% 100%}
#ota .form-pad label{display:block;margin-bottom:18px}#ota .form-pad label select{display:block;width:100%;margin-top:9px}#ota .form-pad label input{margin-top:9px}

.wake-panel{margin-bottom:22px}.wake-panel .form-pad{padding-top:4px}.wake-switch{position:relative;width:46px;height:26px;display:block}.wake-switch input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0;z-index:1}.wake-switch span{display:block;width:46px;height:26px;background:#d4dacf;border-radius:20px;transition:.2s}.wake-switch span:after{content:"";display:block;position:absolute;top:3px;left:3px;width:20px;height:20px;background:white;border-radius:50%;transition:.2s}.wake-switch input:checked+span{background:#42654a}.wake-switch input:checked+span:after{transform:translateX(20px)}.wake-switch input:focus-visible+span{outline:2px solid #42654a;outline-offset:3px}.wake-switch input:disabled+span{opacity:.45}
.auth-loading{visibility:hidden}.ordinary-user [data-admin]{display:none!important}[hidden]{display:none!important}#account-name{white-space:nowrap}.header-right{flex-wrap:wrap}#account-device-list{border:1px solid #e1e6dd;border-radius:10px;max-height:240px;overflow:auto;padding:16px}#account-device-list label{display:flex;align-items:center;gap:9px;margin:10px 0}#account-device-list input{width:auto}.auth-page{margin:0;min-height:100vh;background:#f4f6f1}.auth-layout{max-width:1180px;min-height:100vh;margin:auto;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:80px;padding:60px}.auth-intro{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;padding:32px 0}.auth-intro .brand{width:max-content}.auth-intro h1{font-size:48px;line-height:1.35;letter-spacing:-1px;margin:24px 0}.auth-intro p{font-size:17px;line-height:1.9;color:#73816b}.auth-intro small{color:#86917e}.auth-line{display:flex;align-items:center;width:230px;margin:36px 0}.auth-line i{height:12px;width:12px;border:3px solid #72945d;border-radius:50%}.auth-line span{height:1px;background:#cad5c0;flex:1}.auth-card{background:#fff;border:1px solid #e1e7dc;border-radius:20px;padding:46px;box-shadow:0 12px 48px #203b2910}.auth-card h1{font-size:30px;margin:12px 0}.auth-card>p{color:#7d8874;line-height:1.7}.auth-card form{margin-top:30px}.auth-card label{display:block;margin:20px 0;color:#3c4c3d}.auth-card input{display:block;width:100%;margin-top:10px;padding:13px 14px}.auth-card button{width:100%;justify-content:center;padding:14px;margin-top:10px}.auth-foot{border-top:1px solid #edf0e8;padding-top:22px;margin-top:28px;display:flex;flex-direction:column;gap:18px;font-size:12px;color:#849078}.auth-foot a{color:#416349;text-decoration:none}#auth-error{color:#a34c3f;min-height:18px;font-size:13px}@media(max-width:800px){.auth-layout{grid-template-columns:1fr;padding:28px;gap:28px;max-width:520px}.auth-intro{padding:0}.auth-intro>div,.auth-intro>small{display:none}.auth-card{padding:28px}.header-right{gap:10px}#accounts .row-actions{flex-wrap:wrap}}

.ordinary-user #devices th:nth-child(3),.ordinary-user #devices td:nth-child(3),.ordinary-user #overview table th:nth-child(6),.ordinary-user #overview table td:nth-child(6){display:none}.ordinary-user .command-actions{grid-template-columns:minmax(220px,320px)}

#selector-search{width:100%;margin-bottom:8px}#selector-count{display:block;color:#788772;margin-bottom:8px}#selector-count:empty{display:none}#customer-search{width:min(380px,100%)}.customer-device{display:block;text-align:left;margin:4px 0}#customer-count{font-size:13px;color:#788772;font-weight:400}@media(max-width:700px){#customers .panel-title{align-items:stretch;flex-direction:column;gap:12px}}

.device-filters{display:flex;gap:12px;flex-wrap:wrap}.device-filters select{min-width:170px}.device-filters input{min-width:220px}@media(max-width:700px){#devices .panel-title{flex-direction:column;align-items:stretch;gap:12px}.device-filters>*{flex:1}}

/* Compact company and device picker. */
.device-picker{background:#f6f8f3;border:1px solid #e2e8dc;border-radius:12px;padding:15px;display:grid;gap:12px}
.picker-field{display:grid;gap:7px;margin:0;min-width:0}.picker-field>span{font-size:11px;font-weight:600;color:#74816e;letter-spacing:.2px}
.device-picker select{width:100%;min-width:0;background:#fff;border:1px solid #dfe6d8;border-radius:8px;padding:10px 12px;color:#304c36;font-size:12px;margin:0;min-height:40px}
.picker-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dfe6d8;border-radius:8px;padding:0 11px}.picker-search>span{font-size:21px;color:#829677}
.device-picker #selector-search{border:0;background:transparent;box-shadow:none;margin:0;padding:10px 0;min-width:0;font-size:12px;min-height:40px}.picker-search:focus-within{outline:2px solid #9bb78c;outline-offset:1px}
.picker-result-label{display:flex;justify-content:space-between;align-items:center}.device-picker #selector-count{display:inline-block;margin:0;font-size:10px;font-weight:500;color:#68825a;background:#e8efdf;padding:3px 7px;border-radius:20px}
.picker-hint{font-size:11px;color:#8d774b;line-height:1.6}.device-panel .device-drawing{height:72px;margin-top:16px}.device-panel .device-drawing svg{max-height:70px}.device-panel h3{margin-top:8px}.device-panel .detail-list{margin-top:20px}
@media(max-width:850px){.device-panel{display:block}.device-picker{grid-template-columns:1fr 1fr}.device-picker>.picker-field:last-of-type,.picker-hint{grid-column:1/-1}}
@media(max-width:520px){.device-picker{grid-template-columns:1fr}.device-picker>.picker-field{grid-column:1/-1}}
.device-panel .device-picker{margin:0 22px}.picker-search #selector-search:focus{outline:none}.device-picker select:focus{outline:2px solid #9bb78c;outline-offset:1px}

.fleet-summary{display:flex;align-items:center;flex-wrap:wrap;gap:14px 28px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 22px;margin-bottom:22px}.summary-group{display:flex;align-items:center;gap:12px;min-width:0}.summary-group+.summary-group{border-left:1px solid var(--line);padding-left:28px}.summary-label{font-size:12px;color:#7a8876}.summary-group strong{font-size:18px;font-weight:600;color:#304e38;font-variant-numeric:tabular-nums}.summary-detail{font-size:12px;color:#859080}@media(max-width:700px){.fleet-summary{gap:14px;padding:16px}.summary-group{width:100%;flex-wrap:wrap;gap:8px 12px}.summary-group+.summary-group{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}.summary-detail{margin-left:auto}}

.device-location-status{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 12px;margin:16px 22px 0;padding:12px;background:#f6f8f3;border:1px solid #e5eadf;border-radius:9px}.device-location-status>span{font-size:11px;color:#7a8876}.device-location-status strong{font-size:15px;font-weight:600;color:#304e38}.device-location-status small{font-size:11px;color:#859080}

#personal-password-dialog{width:min(440px,92vw)}#personal-password-error{color:#a34c3f;font-size:12px;line-height:1.6;margin:12px 0}#personal-password-error:empty{display:none}

.motion-alert-text{color:#b34236!important;font-weight:600;font-size:12px;margin-left:10px}.device-status-group{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.motion-alert-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}.motion-alert-row small{display:block;color:#8a766d;font-size:11px;margin-top:8px}.fleet-summary .summary-group{flex-wrap:wrap}.fleet-summary .summary-detail{line-height:1.8}

.device-panel{align-self:start;padding-bottom:8px}.device-panel #device-name{margin:22px 22px 0;font-size:20px}.device-panel .compact-device-details{margin:16px 22px 8px;padding:0}.device-panel .compact-device-details>div{padding:12px 0}.device-location-status{margin-top:14px}
/* Compact current-device filters. */
.device-panel .device-picker{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 10px;padding:11px;margin:0 18px}
.device-picker>.picker-field:last-of-type,.device-picker>.picker-hint{grid-column:1/-1}
.device-picker .picker-field{gap:5px}
.device-picker .picker-field>span{font-size:10px}
.device-picker select{min-height:34px;padding:7px 9px;font-size:11px}
.device-picker #selector-search{min-height:32px;padding:7px 0;font-size:11px}
.device-picker .picker-search{padding:0 8px;gap:5px}
.device-picker .picker-search>span{font-size:18px}
.device-picker #selector-count{padding:2px 6px}
.ordinary-user .device-picker>.picker-field{grid-column:1/-1}
@media(max-width:520px){.device-panel .device-picker{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.device-picker>.picker-field{grid-column:auto}.device-picker>.picker-field:last-of-type{grid-column:1/-1}.ordinary-user .device-picker>.picker-field{grid-column:1/-1}}

#device-reports{margin-top:22px;scroll-margin-top:20px}#device-reports h2{font-size:15px}.ordinary-user #device-reports th:nth-child(6),.ordinary-user #device-reports td:nth-child(6){display:none}#devices .row-actions{flex-wrap:wrap}

/* Give the map the remaining width; keep the device controls compact. */
.overview-grid{grid-template-columns:minmax(0,1fr) 310px;gap:18px}
.overview-grid .device-panel{min-width:0}
.device-panel .panel-title{padding:18px}
.device-panel #device-name{font-size:18px;overflow-wrap:anywhere}
@media(min-width:1600px){.overview-grid{grid-template-columns:minmax(0,1fr) 330px}}
@media(max-width:1050px) and (min-width:851px){.overview-grid{grid-template-columns:minmax(0,1fr) 280px;gap:14px}.device-panel .device-picker{margin:0 12px;padding:9px;gap:8px}.device-panel .device-location-status{margin-left:12px;margin-right:12px}}
@media(max-width:850px){.overview-grid{grid-template-columns:minmax(0,1fr)}}

/* Map metadata shares the toolbar; fleet totals live in the device card. */
.map-toolbar{height:auto;min-height:60px;padding:12px 16px;gap:12px;justify-content:space-between;flex-wrap:wrap}
.map-toolbar .coordinate-strip{display:flex;align-items:center;flex-wrap:wrap;padding:0;gap:12px 20px;min-width:0}
.map-toolbar .coordinate-strip span{font-size:9px;letter-spacing:0;margin-bottom:4px}
.map-toolbar .coordinate-strip strong{font-size:11px;overflow-wrap:anywhere}
.map-toolbar .map-actions{margin-left:auto;flex-shrink:0;gap:12px}
.location-panel .location-canvas{height:clamp(500px,calc(100vh - 250px),850px)}
.device-panel .fleet-summary{margin:10px 18px 12px;padding:14px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}
.device-panel .summary-group{gap:8px;flex-wrap:wrap;width:100%}
.device-panel .summary-label{font-size:11px}.device-panel .summary-group strong{font-size:15px}
.device-panel .summary-detail{flex-basis:100%;font-size:11px;line-height:1.9;margin:0}
.device-panel #fleet-alert{margin:0;padding:0;font-size:11px}
@media(max-width:850px){.location-panel .location-canvas{height:65vh;min-height:380px;max-height:700px}}
@media(max-width:520px){.map-toolbar{padding:10px 12px;gap:10px}.map-toolbar .coordinate-strip{gap:8px 14px}.map-toolbar .map-actions{width:100%;justify-content:flex-end}}
/* Fit the overview map within the initial desktop viewport. */
header{height:54px}
.content{padding-top:20px}
#overview>.page-heading{margin-bottom:16px}
#overview>.page-heading .eyebrow{margin-bottom:7px}
#overview>.page-heading h1{font-size:25px}
#overview>.page-heading p{margin-top:7px}
@media(min-width:851px){
 body:has(#overview.active) .content{height:calc(100dvh - 54px);display:flex;flex-direction:column;padding-bottom:12px;min-height:0}
 #overview.active{display:flex;flex-direction:column;flex:1;min-height:0}
 #overview>.page-heading{flex-shrink:0}
 #overview>.overview-grid{flex:1;min-height:0;margin-bottom:0;align-items:start}
 #overview .location-panel{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 #overview .map-toolbar{flex-shrink:0;min-height:48px;padding-top:8px;padding-bottom:8px}
 #overview .location-canvas{flex:1;height:auto;min-height:0;max-height:none}
 #overview .device-panel{max-height:100%;overflow-y:auto}
 body:has(#overview.active) .content>footer{flex-shrink:0;margin-top:8px;padding-top:0;padding-bottom:0}
}
@media(max-width:850px){header{height:54px}#overview .location-panel .location-canvas{height:calc(100dvh - 260px);min-height:220px;max-height:650px}}

/* Current device: selection, live details, then fleet totals. */
.overview-grid .device-panel{padding:0 18px 16px;border-radius:12px}
.device-panel>.panel-title{padding:18px 0 14px;border:0;min-height:0}
.device-panel>.panel-title h2{font-size:15px;letter-spacing:0}
.device-panel .device-picker{margin:0;padding:0;border:0;background:transparent;border-radius:0;gap:10px}
.device-panel .picker-field>span{font-size:10px;font-weight:500;color:#7e897c}
.device-panel .device-picker select,.device-panel .picker-search{background:#f7f8f5;border-color:#e3e8de;border-radius:7px}
.device-panel .device-picker select{height:34px;font-size:11px;color:#344839}
.device-panel .picker-device{gap:0}.device-panel .picker-device>span{display:none}
.device-panel .picker-device select{font-weight:600;background:#f0f4eb;border-color:#dce5d4}
.device-detail-section{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}
.device-identity{display:flex;justify-content:space-between;align-items:center;gap:8px}
.device-panel .device-identity #device-name{margin:0;font-size:16px;line-height:1.4;text-align:left;letter-spacing:0}
.device-identity .pill{font-size:10px;padding:5px 7px;white-space:nowrap}
.device-info-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:14px;font-size:12px}
.device-info-row>span{color:#879081;font-size:11px}.device-info-row>div{text-align:right;display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.device-info-row strong{font-size:12px;font-weight:500;color:#41573e}.device-info-row small{font-size:10px;color:#929b8c}
.device-panel .fleet-summary{display:block;margin:16px 0 0;padding:14px 0 0;border-top:1px solid var(--line)}
.fleet-summary-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.device-panel .fleet-summary-heading h3{font-size:11px;color:#7c8876;font-weight:500;margin:0;text-align:left}
.fleet-summary-heading>span{font-size:10px;color:#8a9584}.fleet-summary-heading strong{font-size:12px;color:#516549;font-weight:600}
.fleet-counts{display:grid;grid-template-columns:1fr 1fr;gap:6px 8px}
.fleet-count{display:flex;justify-content:space-between;align-items:center;background:#f7f8f5;border-radius:6px;padding:8px 10px;gap:8px}
.fleet-count span{font-size:10px;color:#819078}.fleet-count strong{font-size:13px;color:#48603e;font-weight:600}.fleet-count.has-lost{background:#fcf0ee}.fleet-count.has-lost strong{color:#b34236}
.device-panel #fleet-alert{margin-top:10px}.device-panel #current-motion-alert{margin:8px 0 0;padding:0}
@media(max-width:1050px) and (min-width:851px){.overview-grid .device-panel{padding:0 14px 14px}.device-panel .device-picker{margin:0;padding:0;gap:8px}}

.device-tracking{border-top:1px solid var(--line);padding-top:12px;margin-top:14px}.tracking-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.device-panel .tracking-heading h3{font-size:12px;font-weight:600;text-align:left;margin:0;color:#42563d}.device-tracking #wake-status{display:block;font-size:11px;font-weight:500;color:#708365;margin-top:5px}.device-tracking #wake-detail{font-size:10px;line-height:1.6;color:#8a9383;margin:4px 0 0}.device-tracking .wake-switch{margin:0}.device-tracking .wake-switch span{transform:scale(.85);transform-origin:right center}

.company-policy-picker{display:flex;align-items:center;gap:10px;color:#73816c;font-size:12px}.company-policy-picker select{min-width:180px;padding:10px;border:1px solid var(--line);border-radius:8px;background:white}.company-policy-status{margin:0;padding:0 24px;color:#7f8b76;font-size:12px}

.policy-field{margin-bottom:22px}.policy-label{display:flex;align-items:center;gap:8px;margin-bottom:10px}.policy-label label{margin:0!important;font-size:13px}.policy-help{position:relative;display:inline-flex}.info-dot{display:grid;place-items:center;width:17px;height:17px;padding:0;border:1px solid #98a78f;border-radius:50%;font-size:11px;font-weight:600;color:#74866a;background:transparent}.policy-tooltip{display:none;position:absolute;left:24px;top:-8px;width:240px;max-width:65vw;padding:11px 13px;border-radius:8px;background:#304936;color:white;font-size:12px;line-height:1.65;z-index:20;box-shadow:0 5px 18px #20382422}.policy-help:hover .policy-tooltip,.info-dot[aria-expanded=true]+.policy-tooltip{display:block}.frequency-note{padding:12px;background:#faf2df;border-radius:8px;color:#8a6a32;font-size:12px;line-height:1.7}.advice-values{margin:0 0 20px}.advice-values>div{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line);gap:14px}.advice-values dt{color:#7a8872;font-size:13px}.advice-values dd{margin:0;color:#3d5735;font-weight:600}.advice-note{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.advice-note strong{font-size:13px}.advice-note p{font-size:12px;color:#85917b;line-height:1.8}.policy-advice{align-self:start}@media(max-width:700px){.policy-tooltip{left:auto;right:-12px;top:24px}}
.history-query{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px;padding:20px}.history-query label{display:grid;gap:8px;font-size:12px;color:#7d8975}.history-query input,.history-query select{padding:10px;border:1px solid var(--line);border-radius:7px;background:#f7f9f5;min-width:180px}.history-summary{margin:0;padding:8px 20px 14px;color:#7a8872;font-size:12px;line-height:1.7}.history-controls{padding:4px 20px 10px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.history-controls label{font-size:11px;color:#7a8872}.history-controls select{margin-left:8px;padding:7px;border:1px solid var(--line);border-radius:6px}.history-controls input[type=range]{flex:1;min-width:130px}.history-controls #history-point{flex-basis:100%;font-size:12px;color:#52694b;font-variant-numeric:tabular-nums}.history-records{margin-top:20px}#history-map{height:480px;border-top:1px solid var(--line)}.history-marker{font-size:26px;color:#305b42;text-shadow:0 0 3px white}.history-records th,.history-records td{white-space:nowrap}.history-records #history-page{margin:0 10px;font-size:12px}@media(max-width:700px){.history-query label{width:100%}.history-query input,.history-query select{width:100%;min-width:0}#history-map{height:360px}}

.map-usage-summary{font-size:12px;color:#7f8c75;line-height:1.8;margin:0 0 18px}#account-map-limit-label input{display:block;width:100%;margin-top:8px}

/* History workspace: aligned filters, distinct map and record views. */
#history>.page-heading{margin-bottom:18px}#history>.page-heading h1{font-size:25px}
#history .history-query{display:grid;grid-template-columns:minmax(180px,1.15fr) minmax(180px,1fr) minmax(180px,1fr) auto;align-items:end;gap:14px;padding:18px 20px 14px;margin:0}
#history .history-query label{display:flex;flex-direction:column;gap:7px;margin:0;padding:0;min-width:0;width:auto;font-size:11px;line-height:1.4}
#history .history-query input,#history .history-query select{box-sizing:border-box;width:100%;min-width:0;height:38px;margin:0;padding:8px 10px;font-size:12px;line-height:20px}
#history .history-query button{height:38px;padding:0 20px;margin:0;white-space:nowrap}
.history-result-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 20px 14px;color:#91a086;font-size:10px}
#history .history-summary{padding:0;margin:0;font-size:11px;line-height:1.6}.history-result-bar>span{flex-shrink:0}
.history-view-tabs{display:flex;gap:20px;margin:18px 0 12px;border-bottom:1px solid #e1e6db}.history-view-tabs button{border:0;background:none;padding:10px 2px;font-size:13px;color:#8b9781;border-bottom:2px solid transparent;margin-bottom:-1px}.history-view-tabs button[aria-selected=true]{color:#35543c;border-bottom-color:#35543c;font-weight:600}
.history-track-panel{overflow:hidden}.history-map-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;min-height:50px}.history-map-toolbar>span{font-size:11px;color:#87947c;line-height:1.5}.history-map-toolbar button{padding:7px 12px;font-size:11px;white-space:nowrap}
.history-map-stage{position:relative;height:clamp(180px,calc(100dvh - 480px),540px);background:#f0f3eb}
#history #history-map{height:100%;width:100%;border:0}
#history-map-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#829576;background:radial-gradient(ellipse at center,#e7edde 0,transparent 65%)}
#history-map-empty>span{font-size:42px;line-height:1;margin-bottom:14px;color:#a0b68e}#history-map-empty strong{font-size:14px;font-weight:500;color:#647c56}#history-map-empty p{font-size:11px;margin:8px 12px;text-align:center}
#history .history-controls{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px 14px;padding:12px 16px;border-top:1px solid var(--line)}
#history .history-controls button{padding:8px 14px;font-size:11px}#history .history-controls input[type=range]{width:100%;min-width:0;margin:0;accent-color:#64834e}#history .history-controls select{margin:0;height:32px;padding:5px 8px;font-size:11px;background:#f7f9f4}
#history #history-point{grid-column:1/-1;font-size:10px;color:#88977b;line-height:1.5;min-height:15px}
#history .history-records{margin-top:0}#history .history-records .panel-title{padding:16px 20px}#history .history-records .panel-title h2{font-size:14px}#history .history-records .table-wrap{max-height:calc(100dvh - 430px);min-height:180px;overflow:auto}#history .history-records th{position:sticky;top:0;background:#f7f9f4;z-index:1}#history .history-records th,#history .history-records td{padding:13px 16px;font-size:11px}
@media(max-width:1100px){#history .history-query{grid-template-columns:1fr 1fr}#history .history-query button{justify-self:stretch}}
@media(max-width:600px){#history .history-query{grid-template-columns:1fr;padding:14px;gap:12px}.history-result-bar{padding:0 14px 12px}.history-map-stage{height:300px}.history-map-toolbar{align-items:flex-start}#history .history-records .table-wrap{max-height:500px}}

/* Give the timeline map the remaining viewport space. */
#history>.page-heading{margin-bottom:8px}#history>.page-heading h1{font-size:22px}
#history .history-query{padding:10px 16px 8px;gap:10px}#history .history-query label{gap:4px}
#history .history-result-bar{padding:0 16px 8px}#history .history-view-tabs{margin:8px 0 6px;gap:20px}#history .history-view-tabs button{padding:7px 2px}
#history .history-map-toolbar{padding:5px 12px;min-height:36px}#history .history-map-toolbar button{padding:5px 10px}
#history .history-controls{padding:8px 12px;gap:5px 12px}
@media(min-width:1101px){body:has(#history.active) .content{height:calc(100dvh - 54px);padding-top:12px;padding-bottom:8px;display:flex;flex-direction:column;min-height:0}#history.active{display:flex;flex-direction:column;flex:1;min-height:0}#history>.page-heading,#history>.history-filter-panel,#history>.history-view-tabs{flex-shrink:0}#history .history-track-panel{flex:1;min-height:0;display:flex;flex-direction:column}#history .history-map-stage{height:auto;min-height:150px;flex:1}#history .history-map-toolbar,#history .history-controls{flex-shrink:0}body:has(#history.active) .content>footer{margin-top:6px;padding:0;flex-shrink:0}}

/* Keep the map first and its query controls below the active view. */
#history>.history-filter-panel{margin-top:8px}
#history>.page-heading .history-view-tabs{margin:0 auto 0 12px;border-bottom:0;gap:18px}
#history>.page-heading{gap:14px}
@media(min-width:1101px){
 #history .history-query{padding:8px 12px 5px}
 #history .history-query label{flex-direction:row;align-items:center;gap:8px;white-space:nowrap}
 #history .history-query input,#history .history-query select{flex:1;width:0;height:34px;padding:6px 8px}
 #history .history-query button{height:34px}
 #history .history-result-bar{padding:0 12px 6px}
 #history .history-controls{grid-template-columns:auto minmax(100px,1fr) auto;position:relative}
 #history #history-point{font-size:10px}
 #history .history-records{flex:1;min-height:0;display:flex;flex-direction:column}
 #history .history-records .table-wrap{flex:1;min-height:0;max-height:none}
}
@media(max-width:600px){#history>.page-heading{flex-wrap:wrap}#history>.page-heading .history-view-tabs{order:3;width:100%;margin:0}#history .history-map-stage{height:360px}}

.history-timeline{position:relative;min-width:0;display:flex;align-items:center}
#history-time-tip{position:absolute;bottom:calc(100% + 12px);transform:translateX(-50%);padding:7px 10px;border-radius:6px;background:#294834;color:#fff;font-size:11px;white-space:nowrap;pointer-events:none;z-index:5;box-shadow:0 3px 10px #203e2b20}
#history .history-controls{grid-template-columns:auto minmax(0,1fr) auto;column-gap:12px}
#history #history-speed{grid-column:3;grid-row:1;justify-self:end}
#history #history-point{grid-column:2/4;grid-row:2;justify-self:end;text-align:right;white-space:nowrap;min-height:12px;font-variant-numeric:tabular-nums}

.brand-logo{display:block;width:43px;height:43px;flex-shrink:0;border-radius:12px;object-fit:contain}.auth-intro .brand-logo{width:56px;height:56px;border-radius:15px}

.fleet-battery-alert{margin-top:10px;padding:10px 12px;background:#fff1ef;border:1px solid #f0c9c4;border-radius:8px;color:#ad3932}
.battery-alert-heading{display:flex;align-items:center;gap:8px;font-size:12px}.battery-info{border:1px solid currentColor;color:inherit;background:transparent;width:17px;height:17px;padding:0;border-radius:50%;font-size:11px;line-height:15px}
#fleet-battery-list{max-height:125px;overflow:auto}.battery-alert-device{display:flex;flex-direction:column;gap:4px;margin-top:8px;font-size:11px}.battery-alert-device small{font-size:10px;line-height:1.5}

#devices .device-filters{flex-wrap:wrap;justify-content:flex-end}#device-sort{min-width:145px;max-width:100%;font-size:12px}

.device-panel>.panel-title{display:flex;justify-content:space-between;align-items:center;gap:8px}
.header-tracking{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;color:#687e5e}
.header-tracking .wake-switch{width:34px;height:20px;margin:0;flex-shrink:0}
.header-tracking .wake-switch input{width:34px!important;height:20px}
.header-tracking .wake-switch span{width:34px;height:20px}
.header-tracking .wake-switch span:after{width:14px;height:14px;top:3px;left:3px}
.header-tracking .wake-switch input:checked+span:after{transform:translateX(14px)}

.tracking-help-text{background:#f0f4e9;border:1px solid #dce5d2;border-radius:8px;padding:10px 12px;margin-bottom:10px;font-size:11px;line-height:1.8;color:#63775a}.header-tracking .battery-info{flex-shrink:0}
#devices #device-sort{appearance:none;-webkit-appearance:none;padding:10px 34px 10px 12px;min-width:154px;line-height:20px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23566d45' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:12px 12px}

.tracking-help-text{position:fixed;z-index:200;width:285px;max-width:calc(100vw - 24px);margin:0;padding:13px 15px;background:#fff;border:1px solid #dce5d2;box-shadow:0 6px 24px #23352c26;white-space:normal;pointer-events:none}

.device-panel .report-countdown{margin:14px 0 0;padding:12px 0 0}.report-countdown>div:first-child{font-size:11px;gap:12px}.report-countdown b{font-size:15px;letter-spacing:0}.report-countdown .progress{height:4px;margin:9px 0 0}

.history-live-option{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px;color:#73866a}.history-live-option input{margin:0;accent-color:#64834e}#history-end:disabled{color:#879081;background:#f3f5ef}
