:root{--bg:#f4f6f7;--ink:#172d28;--muted:#7c8b85;--line:#e6ebe8;--green:#286d54;--lime:#bcf275;--red:#bd4f42;--orange:#b67832;--nav:#142a25;--shadow:0 3px 15px #17362a05}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 "Segoe UI",Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.45}h1,h2,h3,p{margin:0}h3{font-size:15px;font-weight:650}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}[hidden]{display:none!important}.sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 15px;border:1px solid #dce4df;border-radius:8px;background:#fff;color:#365248;font-size:12px;font-weight:600;min-height:39px}.button:hover{background:#eef4f0}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button.primary:hover{background:#205b45}.button.small{padding:6px 12px;min-height:32px}.button.wide{width:100%;padding:13px}.button .icon{width:16px;height:16px}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:6px;padding:7px;color:#7a8d83}.icon-button:hover{background:#eaf0ed;color:var(--green)}.text-button,.panel-link{background:none;border:0;color:var(--green);font-size:12px;font-weight:600}.brand{display:flex;align-items:center;gap:11px;font-size:24px;font-weight:700;letter-spacing:-.9px;color:#fff}.brand small{display:block;font-size:8px;font-weight:500;letter-spacing:2.5px;color:#8da69b;line-height:1}.brand-mark{height:40px;width:40px;background:var(--lime);color:var(--nav);border-radius:11px;font-size:28px;letter-spacing:-2.5px;text-align:center;line-height:35px;position:relative;padding-right:4px}.brand-mark span{position:absolute;font-size:22px;right:4px;bottom:-7px}.application{display:flex;min-height:100vh}.sidebar{width:228px;background:var(--nav);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:32px 18px 18px;color:#9bb0a5;z-index:1050}.sidebar .brand{padding:0 10px}.nav-caption{font-size:9px;letter-spacing:1.8px;color:#739082;margin:49px 16px 13px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;background:transparent;border:0;color:#9db2a8;border-radius:7px;padding:13px 14px;text-align:left;font-size:12px;font-weight:500}.nav-item.active{background:#294538;color:var(--lime)}.nav-item:hover{background:#203b31}.nav-item .icon{width:18px;height:18px}.nav-count{margin-left:auto;border-radius:5px;background:#435b3a;color:var(--lime);min-width:21px;text-align:center;font-size:10px}.sidebar-bottom{margin-top:auto}.local-card{display:flex;align-items:center;gap:10px;margin:30px 5px 20px;padding:13px 8px;border:1px solid #2b4539;border-radius:8px;font-size:11px;color:#c4d1c9}.local-card .icon{color:var(--lime);width:18px}.local-card small{display:block;color:#789486;font-size:9px}.local-card .live-dot{margin-left:auto}.live-dot{display:inline-block;width:6px;height:6px;background:#79b77b;border-radius:100%;box-shadow:0 0 0 3px #79b77b15;flex-shrink:0}.user-row{display:flex;align-items:center;gap:9px;border-top:1px solid #2a4338;padding:19px 5px 0;font-size:11px}.user-row strong{display:block;color:#dbe5df;font-weight:500;max-width:110px;text-overflow:ellipsis;overflow:hidden}.user-row small{color:#7d998b;font-size:10px}.user-row .icon-button{margin-left:auto}.avatar{width:32px;height:32px;display:grid;place-items:center;color:#b5dba4;background:#35513b;border-radius:50%;font-size:10px;font-weight:600}.main{margin-left:228px;width:calc(100% - 228px);padding:0 30px;max-width:2200px}.topbar{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.breadcrumb{color:#819087;font-size:10px}.breadcrumb>span:first-child{padding:0 10px;color:#c4cec8}.breadcrumb #breadcrumb-current{color:#4b6558}.topbar h1{font-size:23px;letter-spacing:-.7px;font-weight:650;margin-top:4px}.topbar-right{display:flex;align-items:center;gap:24px}.live-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid #d7e7dc;background:#edf5ef;color:#568164;padding:5px 10px;font-size:10px;border-radius:5px}.live-badge.failed{background:#fff2e7;color:#a4703b;border-color:#edd9c2}.clock{border-left:1px solid var(--line);padding-left:24px;text-align:right}.clock strong{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.clock small{font-size:9px;display:block;color:#95a198}.section-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 19px}.section-intro h2{font-size:17px;letter-spacing:-.3px;font-weight:600}.section-intro p{color:var(--muted);font-size:11px;margin-top:4px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:19px}.stat{display:flex;gap:13px;align-items:flex-start;background:white;border:1px solid var(--line);border-radius:10px;padding:20px 18px;box-shadow:var(--shadow)}.stat-icon{display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;flex-shrink:0;border-radius:9px}.stat-icon .icon{width:18px;height:18px}.green{background:#edf5ec;color:#5e8856}.blue{background:#eaf2f8;color:#628cad}.orange{background:#f9f0e4;color:#bd8c49}.purple{background:#f0edf7;color:#8b78b3}.stat span:not(.stat-icon){font-size:10px;color:#7f8c85}.stat strong{display:block;font-size:28px;letter-spacing:-1px;line-height:1.4;font-weight:600}.stat small{display:block;font-size:9px;color:#94a198;max-width:180px}.notice{display:flex;align-items:center;gap:10px;background:#ecf3ef;border:1px solid #dce8e0;color:#517262;border-radius:8px;padding:11px 15px;font-size:11px;margin:0 0 17px}.notice .icon{width:17px;height:17px}.notice button{margin-left:auto;color:#356f50;background:none;border:0;font-size:11px;font-weight:600}.notice.error{background:#fff0ec;color:#b45d48;border-color:#eed0c5;margin-top:18px}.workspace{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(310px,1fr);gap:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);overflow:hidden}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:18px 20px;border-bottom:1px solid #eef1ee}.panel-header h3{font-size:13px;font-weight:600}.panel-header p{font-size:10px;color:var(--muted);margin-top:4px}.subtle{font-size:10px;font-weight:400;color:#89968e}.map-container{height:365px;position:relative;background:#e9eeeb}#map{height:100%;width:100%;z-index:1}.map-label{position:absolute;z-index:500;top:16px;left:17px;background:white;border:1px solid #dce5df;border-radius:6px;padding:7px 11px;color:#69806e;box-shadow:0 2px 8px #17362a10;font-size:10px;display:flex;align-items:center;gap:7px}.map-empty{position:absolute;inset:0;z-index:501;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#ecf1eee8;text-align:center;padding:30px}.map-empty .icon{width:40px;height:40px;color:#91a894}.map-empty strong{font-size:14px}.map-empty span{font-size:11px;color:var(--muted)}.map-footer{padding:11px 17px;display:flex;gap:16px;font-size:9px;color:#8b978e;align-items:center}.map-footer>span{display:flex;align-items:center;gap:5px}.map-foot-right{margin-left:auto}.legend-dot{width:5px;height:5px;border-radius:100%;background:#648d64}.legend-dot.offline{background:#b0bbb4}.count-pill{display:inline-block;min-width:20px;text-align:center;border:1px solid #e6e9e3;border-radius:5px;background:#f4f6f2;font-size:9px;color:#809075;margin-left:4px;padding:1px 5px}.activity-panel{display:flex;flex-direction:column}.activity-list{height:365px;overflow-y:auto;padding:0 18px}.activity-item{width:100%;border:0;border-bottom:1px solid #eef1ed;display:flex;gap:12px;background:white;text-align:left;padding:14px 0;color:var(--ink)}.activity-item:hover{background:#fafcf9}.event-symbol{height:31px;width:31px;display:flex;align-items:center;justify-content:center;border-radius:8px;flex-shrink:0;color:#bd8b47;background:#faf3e9}.event-symbol.alarm{background:#f9eeeb;color:#bf7464}.event-symbol .icon{width:16px;height:16px}.activity-body{flex:1;min-width:0}.activity-title{font-size:11px;font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-sub{font-size:9px;color:#91a093;margin-top:4px;display:flex;justify-content:space-between}.activity-time{font-size:9px;color:#8b9b8f;white-space:nowrap}.event-tag{display:inline-block;font-size:8px;color:#a18460;background:#f7f2e9;border-radius:4px;padding:2px 5px;margin-top:5px}.panel-link{display:flex;justify-content:center;gap:8px;align-items:center;border-top:1px solid var(--line);padding:11px;width:100%;font-size:10px;margin-top:auto}.panel-link .icon{width:14px;height:14px}.devices-panel{margin-top:19px}.device-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));padding:7px 20px;gap:0 20px}.device-card{padding:16px 0;display:flex;align-items:center;gap:12px;min-width:0;border-bottom:1px solid #eef2ed}.device-card:last-child{border-bottom:0}.device-card button{margin-left:auto}.device-info{min-width:0}.device-info strong{font-size:11px;font-weight:600}.device-info p{font-size:9px;color:#8d9b91;margin-top:4px}.device-info .badge{margin-left:6px}.badge{display:inline-flex;align-items:center;gap:4px;border-radius:5px;padding:3px 7px;font-size:9px;background:#f0f3ef;color:#8a978c;font-weight:500;white-space:nowrap}.badge.online{background:#edf4e8;color:#74945f}.badge.alarm{background:#fbeee9;color:#b6735b}.badge.warning{background:#fcf3e4;color:#b58a4a}.badge.acknowledged{background:#eef2f9;color:#778dad}.badge.resolved{background:#eaf4ec;color:#6b8f74}.badge.historical{background:#eeeef5;color:#91869d}.main-footer{display:flex;justify-content:space-between;margin:25px 0 20px;color:#a1aca4;font-size:9px}.filters{display:flex;gap:10px;padding:19px 20px 12px;flex-wrap:wrap}.search-box{display:flex;align-items:center;gap:8px;flex:1;min-width:220px;border:1px solid #e1e8e1;border-radius:6px;padding:0 9px}.search-box .icon{width:15px;height:15px;color:#98a59a}.search-box input{border:0;padding:9px 0;min-width:0;width:100%;font-size:11px;background:transparent}.filters select{border:1px solid #e0e7e0;border-radius:6px;background:white;padding:8px 27px 8px 10px;font-size:11px;color:#5e7466}.filter-options{display:flex;justify-content:space-between;align-items:center;padding:0 20px 17px;font-size:10px;color:#8a998d;gap:10px}.check-label{display:flex;align-items:center;gap:7px}.check-label input{accent-color:var(--green)}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap;text-align:left}th{font-weight:500;color:#93a092;padding:11px 20px;background:#fafbf9;border-top:1px solid #edf1ea;border-bottom:1px solid #e9eee7;font-size:9px}td{padding:14px 20px;border-bottom:1px solid #edf1eb;color:#536b5a}td strong{color:#38543f;font-size:11px;font-weight:550}td small{display:block;color:#99a595;font-size:9px;margin-top:3px}.table-row{cursor:pointer}.table-row:hover{background:#f9fcf7}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:13px 20px;color:#96a18f;font-size:10px}.table-footer>div{display:flex;gap:8px}.footnote{font-size:10px;color:#94a18f;margin-top:14px;max-width:900px}.fleet-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}.fleet-card{background:white;border:1px solid var(--line);border-radius:10px;padding:23px}.fleet-card h3{font-size:15px;margin-top:13px}.fleet-card .fleet-top{display:flex;justify-content:space-between}.fleet-card dl{margin:20px 0}.fleet-card dl>div{display:flex;justify-content:space-between;margin:8px 0;font-size:11px}.fleet-card dt{color:var(--muted)}.fleet-card dd{margin:0;color:#61775e;max-width:65%;text-align:right}.integration-explainer{margin-top:22px;display:flex;gap:18px;padding:23px}.integration-explainer p{font-size:11px;color:var(--muted);max-width:700px;margin-top:6px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.settings-card{padding:23px}.settings-title{display:flex;gap:12px;align-items:center;margin-bottom:18px}.settings-title h3{font-size:14px}.settings-title p{font-size:10px;color:var(--muted)}.settings-title>.badge{margin-left:auto}.settings-facts{margin:0}.settings-facts>div{display:flex;justify-content:space-between;font-size:11px;border-bottom:1px solid #edf1e9;padding:10px 0}.settings-facts dt{color:var(--muted)}.settings-facts dd{margin:0;color:#536d54}label:has(>input:not([type=checkbox])),label:has(>select),label:has(>textarea){display:block;font-size:11px;color:#688166;margin:13px 0}label>input:not([type=checkbox]),label>select,label>textarea{width:100%;display:block;border:1px solid #dce5d8;background:#fff;border-radius:7px;padding:10px 12px;margin-top:6px;color:#294c2e;min-height:40px}label>input:focus,label>textarea:focus{border-color:#8fab7a;outline:2px solid #8fab7a20}label>input:disabled{background:#f7f9f4;color:#8b9a82}.help{font-size:11px;color:#91a087;line-height:1.7;margin:12px 0}.settings-card .button{margin-top:8px}details{color:#91a087;font-size:10px;margin:14px 0}.version-pill{font-size:10px;color:#859579;border:1px solid #dfe6d8;border-radius:5px;padding:5px 9px}.form-error{font-size:11px;color:#b7644e;margin:10px 0;min-height:0}.empty{padding:55px 20px;text-align:center;font-size:11px;color:#95a18f}.drawer-backdrop{position:fixed;inset:0;background:#12291f66;z-index:2000;backdrop-filter:blur(2px)}.event-drawer{position:fixed;right:0;top:0;bottom:0;width:490px;max-width:100%;background:white;z-index:2100;box-shadow:-10px 0 40px #19351d15;overflow:auto;padding:26px}.drawer-top{display:flex;align-items:center;justify-content:space-between}.eyebrow{color:#91a27d;font-size:9px;letter-spacing:1.8px;font-weight:600}.drawer-heading{margin:20px 0}.drawer-heading h2{font-size:23px;font-weight:600;letter-spacing:-.6px;margin-top:12px}.drawer-heading p{font-size:11px;color:#94a087;margin-top:7px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;background:#f6f8f3;border:1px solid #e9eee2;border-radius:8px;padding:17px;margin:18px 0}.detail-grid dt{font-size:9px;color:#9ca78e}.detail-grid dd{font-size:11px;margin:4px 0 0;color:#5e7652;overflow-wrap:anywhere}.drawer-section{border-top:1px solid #edf1e7;margin-top:23px;padding-top:21px}.drawer-section h3{font-size:13px}.drawer-section textarea{resize:vertical;min-height:90px}.drawer-actions{display:flex;gap:10px;margin-top:15px}.drawer-actions .button{flex:1}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7f2;padding:14px;border-radius:6px;font:10px/1.7 Consolas,monospace;color:#718466;max-height:350px;overflow:auto}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#264c2d;color:#e1efcd;padding:12px 20px;border:1px solid #5d7e48;border-radius:8px;z-index:3000;box-shadow:0 5px 30px #0002;font-size:12px}.vehicle-pin{border:0;background:transparent}.vehicle-pin>div{height:36px;width:36px;border:3px solid white;border-radius:11px;background:#386d43;color:#f0f8e6;display:grid;place-items:center;box-shadow:0 3px 10px #253b282f;transform:rotate(-6deg)}.vehicle-pin.offline>div{background:#819580}.vehicle-pin .icon{width:19px;height:19px;transform:rotate(6deg)}.leaflet-control-attribution{font-size:8px!important}.leaflet-control-zoom{border:1px solid #d9e2d4!important;box-shadow:0 2px 8px #2d482a10!important}.leaflet-control-zoom a{color:#69855e!important;font-size:18px!important}.leaflet-container{font-family:"Segoe UI",Arial,sans-serif}.leaflet-popup-content{font-size:11px;line-height:1.8}.auth-screen{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh}.auth-story{background:var(--nav);color:#eff3ec;position:relative;padding:45px 60px;display:flex;flex-direction:column;overflow:hidden}.auth-copy{margin:auto 0;padding-top:55px}.auth-copy>.eyebrow{color:#a4c286;font-size:10px}.auth-copy h1{font-size:clamp(33px,3.3vw,52px);font-weight:500;line-height:1.2;letter-spacing:-1.8px;margin:18px 0}.auth-copy>p{font-size:13px;color:#8da88f;max-width:360px;line-height:1.9}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:40px;background:#f7f9f4}.auth-form{width:340px;max-width:100%}.auth-form h2{font-size:27px;font-weight:600;letter-spacing:-.8px;margin:12px 0 6px}.auth-form>p:not(.eyebrow){font-size:12px;color:#92a186;margin-bottom:27px}.auth-form label{margin:19px 0}.auth-form input{padding:13px;font-size:12px}.auth-form>.button{margin-top:14px}.auth-form>.auth-local{display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px!important;margin:20px 0!important}.auth-local .icon{width:14px;height:14px}.auth-foot{display:flex;justify-content:space-between;font-size:9px;color:#769275;gap:15px}.auth-orbit{position:relative;width:250px;height:250px;border:1px solid #37513770;border-radius:50%;margin:40px auto 28px;display:grid;place-items:center}.auth-orbit:before{content:"";position:absolute;inset:35px;border:1px dashed #536b4144;border-radius:50%}.auth-orbit:after{content:"";position:absolute;inset:-30px;border:1px solid #536b4122;border-radius:50%}.orbit-car{height:80px;width:80px;background:#29482e;border:1px solid #64834555;border-radius:22px;color:var(--lime);display:grid;place-items:center;font-size:23px;letter-spacing:-1px;transform:rotate(-8deg)}.orbit-dot{position:absolute;width:10px;height:10px;border:2px solid #b9dc8f;background:#203b25;border-radius:100%;box-shadow:0 0 0 6px #a8ce7710}.d1{top:8px;left:64px}.d2{bottom:19px;right:39px}.d3{top:117px;left:28px}.orbit-badge{position:absolute;bottom:11px;left:30px;padding:10px 16px;background:#2a452c;border:1px solid #516c4055;border-radius:8px;color:#b8d29f;font-size:10px;display:flex;gap:10px;align-items:center;box-shadow:0 5px 20px #0a1d0c33}
@media(min-width:1600px){.main{padding:0 38px}.map-container,.activity-list{height:440px}.stat{padding:24px}.stats{gap:20px}.workspace{gap:22px}.panel-header{padding:21px 24px}}
@media(max-width:1250px){.sidebar{width:200px;padding-left:12px;padding-right:12px}.main{margin-left:200px;width:calc(100% - 200px);padding:0 22px}.stats{gap:10px}.stat{padding:16px 12px;gap:9px}.stat-icon{width:31px;height:31px}.stat small{font-size:8px}.workspace{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr)}.map-footer{gap:9px;font-size:8px}.map-foot-right{display:none!important}.topbar-right{gap:15px}.clock{padding-left:15px}.auth-story{padding:40px}}
@media(max-width:1000px){.sidebar{width:74px;padding:25px 9px}.sidebar .brand{padding:0;justify-content:center}.sidebar .brand>div,.nav-caption,.nav-item>span,.sidebar-bottom .local-card,.sidebar-bottom .user-row>div,.sidebar-bottom .user-row>.avatar{display:none}.nav-item{justify-content:center;padding:14px;margin-top:6px}.sidebar nav{margin-top:35px}.nav-item .icon{height:20px;width:20px}.user-row{justify-content:center;padding:14px 0 0}.user-row .icon-button{margin:0}.main{margin-left:74px;width:calc(100% - 74px)}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat small{font-size:9px}.map-container,.activity-list{height:330px}.settings-grid{gap:15px}.topbar{height:95px}.topbar h1{font-size:21px}.clock{display:none}.auth-story{padding:30px}.auth-copy h1{font-size:34px}.auth-foot>span{display:none}}
@media(max-width:720px){.main{padding:0 15px}.topbar{height:85px}.topbar h1{font-size:18px}.topbar-right{gap:0}.live-badge{font-size:8px;padding:5px}.section-intro{margin-top:19px;align-items:flex-start}.section-intro h2{font-size:15px}.section-intro p{font-size:10px}.section-intro>.button{font-size:0;padding:10px}.section-intro>.button .icon{width:16px}.stats{gap:9px}.stat{padding:13px 10px;gap:9px}.stat>div>span{font-size:9px!important}.stat strong{font-size:24px}.stat small{font-size:8px}.workspace{grid-template-columns:1fr;gap:14px}.map-container{height:330px}.activity-list{height:270px}.settings-grid{grid-template-columns:1fr}.device-cards{padding:5px 15px}.panel-header{padding:15px}.filters{padding:15px;gap:8px}.filters select{flex:1;min-width:100px;font-size:10px;padding-left:8px}.filter-options{padding:0 15px 15px;flex-direction:column;align-items:flex-start}.table-footer{padding:12px 15px}.table-footer .button{padding:5px 8px}.settings-card{padding:19px}.notice{font-size:10px;flex-wrap:wrap;padding:12px}.notice>span{flex:1}.notice button{margin-left:25px}.fleet-cards{grid-template-columns:1fr}.auth-screen{display:flex;flex-direction:column}.auth-story{padding:25px;min-height:240px}.auth-copy{padding:0;margin:25px 0 0}.auth-copy h1{font-size:30px;margin:9px 0;line-height:1.1}.auth-copy>p,.auth-copy>.eyebrow,.auth-orbit,.auth-foot{display:none}.auth-form-wrap{padding:35px 25px;flex:1}.auth-form h2{font-size:25px}.auth-form>p:not(.eyebrow){margin-bottom:20px}.main-footer{gap:20px}.event-drawer{padding:20px}.drawer-actions{flex-wrap:wrap}.integration-explainer{padding:18px}.brand{font-size:22px}}

.evidence-item{margin:16px 0}.evidence-item img,.evidence-item video{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:10px;background:#111}.evidence-item figcaption{margin-top:8px;font-size:12px;color:var(--muted)}.evidence-item a{color:inherit}

.alert-with-photo{display:flex;align-items:center;gap:12px}.alert-thumbnail{display:block;width:104px;height:66px;object-fit:cover;flex-shrink:0;border-radius:7px;border:1px solid #dce4df;background:#142a25}.activity-thumbnail{width:72px;height:48px}.media-ready{margin-top:5px}@media(max-width:650px){.alert-thumbnail{width:76px;height:52px}}

.registry-toolbar{display:flex;align-items:end;gap:20px;padding:18px;margin-bottom:18px;flex-wrap:wrap}.registry-toolbar label{margin:0;min-width:180px}.registry-toolbar .search-box{flex:1}.registry-editor{padding:24px;margin:18px 0}.registry-editor>.help{margin:10px 0 20px;max-width:850px}.registry-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.registry-fields label{margin:0}.registry-active{align-self:center}.registry-fields select,.registry-fields input{width:100%;min-width:0}.registry-fields .check-label input{width:auto}.registry-editor .drawer-actions{margin-top:20px}#registry-error:empty{display:none}#registry-rows td{max-width:240px;overflow-wrap:anywhere}#view-registry>.footnote{margin-top:16px}@media(max-width:1000px){.registry-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.registry-fields{grid-template-columns:1fr}}

.history-filters{display:flex;align-items:end;gap:16px;padding:20px;flex-wrap:wrap;margin-bottom:18px}.history-filters label{margin:0;flex:1;min-width:180px}.history-map-panel{padding:12px}#history-map{height:420px;border-radius:10px}.history-readings{padding:22px;margin:18px 0}.history-readings .detail-grid{margin-top:18px}.history-message{margin:14px 0}.history-stats .stat{min-width:0}.history-stats strong{font-size:25px}#history-error:empty{display:none}.nav-item span{white-space:normal}
.fence-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:20px;margin-bottom:20px}.fence-workspace>.panel{min-width:0}#fence-map{height:480px;border-radius:0 0 14px 14px}.fence-workspace form>label{display:flex;flex-direction:column;gap:6px;margin:12px 0}.fence-workspace form>label.check-label{flex-direction:row}.fence-vehicles{border:1px solid var(--border,#e1e6ed);border-radius:8px;margin:16px 0;padding:12px;max-height:180px;overflow:auto}.fence-vehicles .check-label{display:flex;margin:8px 0}@media(max-width:1000px){.fence-workspace{grid-template-columns:1fr}#fence-map{height:360px}}
#view-fences>.section-intro>.button{font-size:12px;white-space:nowrap;flex-shrink:0}#view-fences .section-intro{flex-wrap:wrap}#view-fences .drawer-actions{flex-wrap:wrap}
.operation-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.operation-rule-grid fieldset{border:1px solid var(--border,#e0e6e1);border-radius:10px;padding:15px;min-width:0}.operation-rule-grid legend{font-size:13px;font-weight:600;padding:0 6px}.operation-rule-grid label:not(.check-label){display:flex;flex-direction:column;gap:6px;margin:14px 0;font-size:12px}.operation-rule-grid input[type=number],.operation-rule-grid input[type=time]{max-width:100%;min-width:0}.operation-days{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}.operation-days label{font-size:11px}.operation-rule-grid .help{font-size:11px;line-height:1.7}.operation-rule-grid .history-filters{padding:0;flex-wrap:wrap}.operation-rule-grid .history-filters label{flex:1}#view-operations>.section-intro{flex-wrap:wrap}#view-operations>.section-intro>.button{font-size:12px;white-space:nowrap}#operation-form>.drawer-actions{flex-wrap:wrap}@media(max-width:1200px){.operation-rule-grid{grid-template-columns:1fr}}
.checklist-notice{margin:16px 0}.checklist-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.checklist-answers fieldset{border:1px solid var(--border,#dde5de);border-radius:10px;padding:15px;min-width:0}.checklist-answers legend{font-size:12px;font-weight:600;padding:0 6px}.checklist-answers label,#checklist-form>label,#checklist-model-form>label:not(.check-label){display:flex;flex-direction:column;gap:7px;margin:12px 0;font-size:12px}.checklist-answers textarea,#checklist-model-items{width:100%;resize:vertical;padding:10px;border:1px solid var(--border,#dde5de);border-radius:7px;font:inherit;box-sizing:border-box}#checklist-model summary{cursor:pointer;font-weight:600;margin-bottom:18px}.checklist-answer-detail{padding:14px 0;border-bottom:1px solid var(--border,#dde5de)}.checklist-answer-detail span{display:block;margin:7px 0;font-size:12px}.checklist-answer-detail p{white-space:pre-wrap;font-size:12px}#view-checklists>.section-intro{flex-wrap:wrap}#view-checklists>.section-intro>.button{font-size:12px;white-space:nowrap}@media(max-width:800px){.checklist-answers{grid-template-columns:1fr}}
.maintenance-meters{display:flex;flex-wrap:wrap;gap:15px;margin:18px 0}.maintenance-meters article{flex:1;min-width:150px;padding:15px;border:1px solid var(--border,#dfe6e1);border-radius:9px}.maintenance-meters span,.maintenance-meters small{display:block;font-size:11px;color:var(--muted)}.maintenance-meters strong{display:block;font-size:20px;margin:7px 0}.maintenance-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:15px 0}#view-maintenance form label:not(.check-label){display:flex;flex-direction:column;gap:7px;font-size:12px}#view-maintenance textarea{width:100%;box-sizing:border-box;resize:vertical;padding:10px;border:1px solid var(--border,#dfe6e1);border-radius:7px;font:inherit}#view-maintenance details{margin:15px 0}#view-maintenance summary{cursor:pointer;font-size:12px;font-weight:600}#view-maintenance .drawer-actions{flex-wrap:wrap;margin:15px 0}#view-maintenance>.section-intro{flex-wrap:wrap}#view-maintenance>.section-intro>.button{font-size:12px;white-space:nowrap}.maintenance-trail{padding:14px 0;border-bottom:1px solid var(--border,#dfe6e1)}.maintenance-trail small{display:block;font-size:11px;color:var(--muted);margin:6px 0}.maintenance-trail p,#maintenance-order-description{white-space:pre-wrap;font-size:12px}#maintenance-readings-history p{font-size:11px;padding:8px 0;border-bottom:1px solid var(--border,#dfe6e1)}#maintenance-order-detail form{margin:20px 0}#maintenance-order-detail h4{margin:18px 0}@media(max-width:700px){.maintenance-fields{grid-template-columns:1fr}}
#view-inventory>.section-intro{flex-wrap:wrap}#view-inventory>.section-intro>.button{font-size:12px;white-space:nowrap}#view-inventory .drawer-actions{flex-wrap:wrap}#view-inventory details{margin:18px 0}#view-inventory summary{cursor:pointer;font-size:13px;font-weight:600}#view-inventory form{margin:16px 0}#view-inventory form label:not(.check-label){display:flex;flex-direction:column;gap:6px;font-size:12px}#view-inventory textarea{box-sizing:border-box;width:100%;resize:vertical;padding:10px;border:1px solid var(--border,#dfe6e1);border-radius:8px;font:inherit}#view-inventory .table-wrap input{min-width:90px;width:100%;box-sizing:border-box}#view-inventory .table-wrap select{min-width:190px}#inventory-ledger p,#inventory-products p,#inventory-locations p,#inventory-receipt-items p{font-size:12px;padding:12px 0;border-bottom:1px solid var(--border,#dfe6e1)}#inventory-receipt-form>label{margin:15px 0}
#view-insurance>.section-intro{flex-wrap:wrap}#view-insurance>.section-intro>.button{font-size:12px;white-space:nowrap}#view-insurance .drawer-actions{flex-wrap:wrap;margin:16px 0}#view-insurance form>label:not(.check-label){display:flex;flex-direction:column;gap:7px;margin:16px 0;font-size:12px}#view-insurance .maintenance-fields label:not(.check-label){display:flex;flex-direction:column;gap:7px;font-size:12px}#view-insurance textarea{box-sizing:border-box;width:100%;resize:vertical;border:1px solid var(--border,#dfe6e1);border-radius:8px;padding:10px;font:inherit}#insurance-detail-coverage,#insurance-detail-contact{white-space:pre-wrap;font-size:12px;line-height:1.7}#view-insurance h4{margin:18px 0}#insurance-history details p{white-space:pre-wrap;font-size:12px}#insurance-history summary{cursor:pointer;font-size:12px}

#view-fines>.section-intro{flex-wrap:wrap}#view-fines>.section-intro>.button{font-size:12px;white-space:nowrap}#view-fines .drawer-actions{flex-wrap:wrap;margin:16px 0}#view-fines form>label:not(.check-label){display:flex;flex-direction:column;gap:7px;margin:16px 0;font-size:12px}#view-fines .maintenance-fields label:not(.check-label){display:flex;flex-direction:column;gap:7px;font-size:12px}#view-fines textarea{box-sizing:border-box;width:100%;resize:vertical;border:1px solid var(--border,#dfe6e1);border-radius:8px;padding:10px;font:inherit}#fine-detail-facts,#fine-detail-values,#fine-detail-procedures{white-space:pre-wrap;font-size:12px;line-height:1.7}#view-fines h4{margin:18px 0}#fine-history details p{white-space:pre-wrap;font-size:12px}#fine-history summary{cursor:pointer;font-size:12px}

#view-fines .fine-deadlines{white-space:pre-line;min-width:210px;font-size:11px}#view-fines form{margin:18px 0}

#view-identity>.section-intro{flex-wrap:wrap}#view-identity>.section-intro>.button{font-size:12px;white-space:nowrap}#view-identity .drawer-actions{flex-wrap:wrap;margin:16px 0}#view-identity form>label:not(.check-label){display:flex;flex-direction:column;gap:7px;margin:16px 0;font-size:12px}#view-identity .maintenance-fields label:not(.check-label){display:flex;flex-direction:column;gap:7px;font-size:12px}#view-identity textarea{box-sizing:border-box;width:100%;resize:vertical;border:1px solid var(--border,#dfe6e1);border-radius:8px;padding:10px;font:inherit}#identity-current,#identity-manual-current,#identity-source-health{white-space:pre-wrap;font-size:12px;line-height:1.7}#view-identity h4{margin:18px 0}#identity-audit details p{white-space:pre-wrap;font-size:12px}#identity-audit summary{cursor:pointer;font-size:12px}


#view-identity details{margin:18px 0}#view-identity summary{cursor:pointer;font-size:13px;font-weight:600}#view-identity form{margin:16px 0}#view-identity pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.identity-allowed{display:flex;flex-direction:column;gap:12px;margin:16px 0}#identity-current,#identity-manual-current{font-size:13px;line-height:1.7}

.assistant-layout{display:grid;gap:18px}.assistant-conversation{padding:24px;min-height:200px}.assistant-conversation h3{margin:0 0 10px}.assistant-conversation p{line-height:1.7}.assistant-suggestions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.assistant-message{padding:18px;border:1px solid var(--line);border-radius:12px;margin:14px 0;background:white}.assistant-message.user{background:#edf4ee}.assistant-message>p{white-space:pre-wrap;font-size:13px}.assistant-message>small{color:var(--muted);font-size:11px}.assistant-message .drawer-actions{flex-wrap:wrap;margin:12px 0}.assistant-message summary{cursor:pointer;font-size:12px;font-weight:600}.assistant-facts{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,2fr);gap:8px;font-size:11px;overflow-wrap:anywhere}.assistant-facts dt{font-weight:600}.assistant-facts dd{margin:0}.assistant-fact-item{border-bottom:1px solid var(--line);padding:6px 0}.assistant-fact-list{max-height:440px;overflow:auto}.assistant-composer{padding:20px}.assistant-composer>label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.assistant-composer textarea{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;padding:12px;resize:vertical}.assistant-composer .drawer-actions{margin-top:12px}#view-assistant .history-filters{flex-wrap:wrap}#view-assistant>.section-intro{flex-wrap:wrap}@media(max-width:650px){.assistant-facts{grid-template-columns:1fr}.assistant-facts dd{margin-bottom:10px}}

.history-point-metrics{min-width:250px;max-width:420px;white-space:normal}.history-point-metrics dt{font-size:11px;color:#687b74;margin-top:10px}.history-point-metrics dd{margin:3px 0;overflow-wrap:anywhere}.history-point-metrics small,#history-metrics small{display:block;font-size:10px;color:#788a82}

.intercom-page{display:block;overflow:auto;padding:40px 20px}.intercom-card{max-width:720px;margin:auto;background:white;padding:32px;border:1px solid #dce5df;border-radius:16px}.intercom-card label{display:grid;gap:8px;margin-top:24px}.intercom-card select{padding:12px;border:1px solid #dce5df;border-radius:8px}.intercom-card #audio-status{padding:16px;background:#edf4ed;border-radius:8px}.intercom-card #audio-error{color:#9b322a}.audio-runtime{position:absolute;width:2px;height:2px;overflow:hidden;opacity:0;pointer-events:none}

.live-card{max-width:1080px}.live-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.live-card #live-status{padding:14px;background:#edf4ed;border-radius:8px}.live-card #live-error{color:#9b322a}#live-player{min-height:280px;background:#172a24;border-radius:10px;margin-top:20px}#live-player:empty::before{content:'Aguardando sua ação para abrir a câmera';display:block;color:#c6d5cd;padding:100px 20px;text-align:center}#live-player .hat-player-toolbar,#live-player .hat-player-entry,#live-player .hat-player-source,#live-player .hat-intercom,#live-player .hat-extra-actions,#live-player .hat-player-details,#live-player .hat-player-downloads,#live-player .hat-player-timeline,#live-player .hat-player-log{display:none!important}@media(max-width:700px){.live-filters{grid-template-columns:1fr}}

#view-reports .table-wrap{overflow-x:auto}#view-reports table{min-width:1100px}#view-reports td{vertical-align:top}#view-reports td small{display:block;margin-top:5px}

#view-costs .table-wrap{overflow-x:auto}#view-costs table{min-width:1100px}#view-costs td{vertical-align:top}#view-costs td small{display:block;margin-top:6px}.costs-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.costs-form label{display:flex;flex-direction:column;gap:6px}.costs-form fieldset{grid-column:1/-1;border:1px solid var(--line,#dce4df);border-radius:8px;padding:16px;display:flex;flex-wrap:wrap;gap:16px}.costs-form .costs-check{flex-direction:row;align-items:center}.costs-detail{white-space:pre-wrap;overflow-wrap:anywhere}.costs-form input,.costs-form select,#costs-cancel-note{max-width:100%;padding:10px;border:1px solid #dce4df;border-radius:6px}#costs-cancel-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}

#view-journeys .table-wrap{overflow-x:auto}#view-journeys table{min-width:1050px}#view-journeys td{vertical-align:top}#view-journeys td small{display:block;margin-top:6px}.journey-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;padding:16px 0}.journey-form label{display:flex;flex-direction:column;gap:6px}.journey-form input,.journey-form select,.journey-form textarea,#journey-action-note{padding:10px;border:1px solid #dce4df;border-radius:6px;max-width:100%}.journey-form button{align-self:end}.journey-metrics{line-height:2;overflow-wrap:anywhere}#journey-controls .drawer-actions{margin:14px 0}

/* Live view: reserve the full player width for the camera image. */
#live-player .hat-player-main{grid-template-columns:minmax(0,1fr);gap:0}
#live-player .hat-player-main>.button_box{display:none!important}
#live-player .hat-player-media{width:100%}
#live-player .hat-player-video{width:100%!important;aspect-ratio:16/9}
