:root{--ink:#191919;--muted:#737373;--line:#e2e2e2;--bg:#f2f2f2;--card:#ffffff;--accent:#282828;--mint:#f3f3f3;--sidebar:#121212;--danger:#343434;--shadow:0 3px 16px #35353504;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px;line-height:1.5}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #afafaf;outline-offset:3px}input{min-width:0;border:1px solid #e2e2e2;border-radius:9px;padding:12px 13px;color:var(--ink);background:#ffffff;transition:border-color .15s,box-shadow .15s}input:focus{outline:0;border-color:#959595;box-shadow:0 0 0 3px #70707010}input::placeholder{color:#a1a1a1}label{display:block;font-size:12px;font-weight:600;margin:0 0 8px}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.035em}h3{font-size:15px;font-weight:650}.muted{color:var(--muted)}.icon{height:20px;width:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 17px;border-radius:9px;font-size:12px;font-weight:650;border:1px solid transparent;white-space:nowrap;transition:background .15s,transform .15s}.button:active{transform:translateY(1px)}.button-primary{background:var(--accent);color:#ffffff;box-shadow:0 2px 3px #5e5e5e0a}.button-primary:hover:not(:disabled){background:#626262}.button-outline{background:#ffffff;border-color:#e5e5e5;color:#565656}.button-outline:hover:not(:disabled){background:#f6f6f6}.button-small{min-height:36px;padding:8px 13px}.button-small .icon{height:16px;width:16px}.button-full{width:100%;justify-content:space-between}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:4px;border:0;border-radius:7px;background:transparent;color:#969696}.icon-button:hover{background:#f2f2f2;color:var(--ink)}.icon-button .icon{height:16px;width:16px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.14em}.brand{display:flex;align-items:center;gap:10px;font-size:32px;font-weight:750;letter-spacing:-1.9px;line-height:1}.brand-light{color:#ffffff}.brand-dot{color:#cacaca}.brand-mark{background:#bababa;color:#353535;height:34px;width:34px;border-radius:11px;font-size:38px;line-height:18px;text-align:center;padding-top:1px;font-weight:600;letter-spacing:0}.status-dot,.mini-dot{display:inline-block;width:6px;height:6px;background:#afafaf;border-radius:50%;flex:none}.status-dot.offline{background:#bababa}.boot-screen{min-height:100dvh;display:flex;gap:12px;align-items:center;justify-content:center;color:var(--muted)}.spinner{display:inline-block;width:20px;height:20px;border:2px solid #70707020;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}[hidden]{display:none!important}
.mobile-logout{display:none}.receipts-heading{padding:14px 20px 8px;border-top:1px solid #eeeeee}.receipts-heading h4{font-size:10px;font-weight:600;color:#707070;margin:0 0 4px}.receipts-heading p{font-size:8px;line-height:1.65;color:#a6a6a6}.command-receipts{max-height:150px;overflow:auto}.receipt-entry{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;padding:9px 20px;border-top:1px solid #f4f4f4;font-size:9px}.receipt-title{color:#8b8b8b}.receipt-meta{color:#aeaeae;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:8px}.receipt-time{color:#adadad;margin-left:auto;font-size:8px}.receipts-empty{font-size:9px;color:#b3b3b3;padding:5px 20px 16px}
.command-direction{display:block;font-size:8px;font-weight:600;color:#a5a5a5;margin-bottom:5px}.command-entry-incoming{background:#f9f9f9;border-left:3px solid #b0b0b0;padding-left:17px}.incoming-direction{color:#808080}.command-message-text{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;line-height:1.75;color:#616161;white-space:pre-wrap;overflow-wrap:anywhere}.command-entry-incoming .command-time{display:block;color:#a6a6a6}
/* Sign in */
.login-screen{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh;background:#ffffff}.login-visual{position:relative;overflow:hidden;background:var(--sidebar);padding:52px 62px;color:#ffffff;min-height:700px}.login-visual .brand{position:relative;z-index:2}.login-orbit{position:absolute;left:75%;top:40%;width:700px;height:700px;border:1px solid #acacac19;border-radius:50%;transform:translate(-50%,-50%)}.orbit-two{width:970px;height:970px}.orbit-three{width:1200px;height:1200px}.orbit-node{position:absolute;width:12px;height:12px;border-radius:50%;background:#adadad;box-shadow:0 0 0 8px #b0b0b013}.node-one{top:25%;right:11%}.node-two{top:64%;right:33%;width:8px;height:8px;opacity:.55}.node-three{top:17%;left:12%;width:7px;height:7px;opacity:.4}.visual-copy{position:relative;margin-top:190px}.visual-copy .eyebrow{color:#a5a5a5;font-size:9px}.visual-copy h1{font-size:72px;font-weight:580;line-height:1.1;margin:22px 0;letter-spacing:-.06em}.visual-copy h1 span{color:#bebebe}.visual-copy p{font-size:15px;color:#afafaf;line-height:1.8}.visual-footer{position:absolute;bottom:44px;display:flex;align-items:center;gap:10px;font-size:11px;color:#a0a0a0}.login-form-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 32px;position:relative}.login-form{width:100%;max-width:350px}.login-form .eyebrow{color:var(--accent)}.login-form h2{font-size:30px;margin:14px 0 8px;font-weight:650}.login-intro{font-size:13px;margin-bottom:34px}.login-form input{width:100%;margin-bottom:22px;min-height:46px}.login-form .button{margin-top:4px;min-height:46px}.login-note{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#a4a4a4;margin-top:23px}.login-note .icon{width:13px;height:13px}.login-footer{position:absolute;bottom:30px;color:#afafaf;font-size:10px}.login-mobile-brand{display:none}.form-error{font-size:12px;line-height:1.6;color:var(--danger);padding:10px 12px;border-radius:7px;background:#f3f3f3;margin:0 0 16px}
/* Shell */
.app-shell{display:flex;min-height:100dvh}.sidebar{width:224px;flex:none;background:var(--sidebar);color:#ffffff;padding:32px 18px 18px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:1000}.sidebar>.brand{padding-left:12px;margin-bottom:44px}.sidebar-caption{font-size:8px;font-weight:650;letter-spacing:.12em;color:#8c8c8c;display:block}.sidebar>.sidebar-caption{padding-left:14px;margin-bottom:14px}.main-nav{display:flex;flex-direction:column;gap:4px}.nav-item{display:flex;gap:12px;align-items:center;background:transparent;color:#acacac;border:0;text-align:left;padding:11px 14px;border-radius:8px;font-size:12px;width:100%;position:relative}.nav-item .icon{width:18px;height:18px}.nav-item:hover{background:#ffffff07;color:#e6e6e6}.nav-item.active{color:#c6c6c6;background:#393939}.nav-active-mark{margin-left:auto;width:5px;height:5px;border-radius:50%;background:#c6c6c6}.sidebar-device-head{display:flex;align-items:center;justify-content:space-between;padding:0 13px;margin-top:34px;margin-bottom:13px}.device-count{font-size:9px;color:#8b8b8b;font-variant-numeric:tabular-nums}.device-list{overflow:auto;max-height:calc(100dvh - 440px);min-height:24px;display:flex;flex-direction:column;gap:6px}.sidebar-device{display:flex;align-items:center;gap:10px;border:1px solid transparent;color:#a4a4a4;background:transparent;width:100%;text-align:left;border-radius:8px;padding:10px}.sidebar-device:hover{background:#ffffff06}.sidebar-device.selected{background:#303030;border-color:#444444}.sidebar-device-symbol{display:flex;align-items:center;justify-content:center;width:32px;height:36px;border:1px solid #5c5c5c;border-radius:7px;color:#a7a7a7;flex:none}.sidebar-device.selected .sidebar-device-symbol{color:#b8b8b8;border-color:#6b6b6b}.sidebar-device-symbol .icon{height:19px;width:19px}.sidebar-device-copy{min-width:0;flex:1}.sidebar-device-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d8d8d8;font-size:11px;font-weight:550}.sidebar-device-id{font-size:8px;color:#858585;margin-top:2px;display:block;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.sidebar-device .status-dot{width:5px;height:5px}.sidebar-add{margin-top:12px;background:transparent;color:#a5a5a5;border:1px dashed #4c4c4c;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;padding:11px 5px}.sidebar-add .icon{width:14px;height:14px}.sidebar-add:hover{background:#ffffff06;color:#d3d3d3}.sidebar-bottom{margin-top:auto;padding-top:30px}.server-link{display:flex;align-items:center;gap:8px;font-size:9px;color:#9d9d9d;margin:0 9px 18px}.account{display:flex;gap:9px;align-items:center;border-top:1px solid #3d3d3d;padding:18px 5px 0}.account-avatar{height:30px;width:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#404040;color:#d8d8d8;font-size:11px;font-weight:650}.account>div{flex:1;min-width:0}.account strong{display:block;font-size:10px;color:#dcdcdc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account>div>span{display:block;font-size:8px;color:#838383;margin-top:2px}.account .icon-button{width:24px;color:#8b8b8b}.account .icon-button:hover{background:#ffffff0c;color:#e0e0e0}.workspace{margin-left:224px;padding:31px 34px 0;width:calc(100% - 224px);max-width:1800px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.breadcrumb{display:flex;gap:11px;font-size:9px;color:#a6a6a6;margin-bottom:14px}.breadcrumb span:last-child{color:#797979}.page-header h1{font-size:25px;line-height:1.3;font-weight:650}.page-header p{font-size:11px;margin-top:5px}.header-actions{display:flex;gap:17px;align-items:center}.header-date{font-size:10px;color:#979797}.alert{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:11px 15px;background:#f5f5f5;border:1px solid #e2e2e2;color:#5e5e5e;border-radius:10px;font-size:12px;margin-bottom:20px}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:27px}.summary-card{background:#ffffff;border:1px solid var(--line);border-radius:12px;padding:18px 19px;display:flex;align-items:center;gap:15px;box-shadow:var(--shadow)}.summary-icon{height:42px;width:42px;display:flex;align-items:center;justify-content:center;border-radius:11px;color:#7f7f7f;background:#f2f2f2;flex:none}.summary-icon .icon{height:21px;width:21px}.summary-icon.mint{background:#f3f3f3;color:#929292}.summary-icon.sand{background:#f5f5f5;color:#9c9c9c}.summary-label{font-size:10px;color:#969696}.summary-value{font-size:25px;line-height:1.35;letter-spacing:-.04em;margin-top:3px;font-weight:600;display:flex;align-items:baseline;gap:10px}.summary-value small{font-size:9px;color:#a5a5a5;letter-spacing:0;font-weight:400;white-space:nowrap}.summary-value .mini-dot{width:4px;height:4px;margin-right:5px;vertical-align:2px}.device-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.selected-device-title{display:flex;align-items:center;gap:11px;min-width:0}.selected-device-icon{display:flex;align-items:center;justify-content:center;height:41px;width:35px;border:1px solid #e4e4e4;background:#ffffff;border-radius:8px;color:#848484;flex:none}.selected-device-icon .icon{width:20px;height:20px}.device-title-row{display:flex;align-items:center;gap:7px}.device-title-row h2{font-size:16px;font-weight:650;overflow-wrap:anywhere;max-width:400px}.device-title-row>.icon-button{width:22px;height:22px}.device-title-row>.icon-button .icon{width:12px;height:12px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:3px 7px;font-size:8px;background:#f0f0f0;color:#949494;white-space:nowrap;font-weight:500}.badge.online{background:#f0f0f0;color:#747474}.badge::before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.device-id{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;color:#a5a5a5;margin-top:3px}.last-seen{font-size:9px;color:#a0a0a0}.card{background:#ffffff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 20px 16px}.card-description{display:block;font-size:9px;color:#a4a4a4;margin-top:3px}.subtle-icon{color:#a8a8a8}.subtle-icon .icon{width:18px;height:18px}.monitor-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:18px;margin-bottom:20px}.map-card{min-width:0}.map-heading{border-bottom:1px solid #f0f0f0}.segmented{display:flex;padding:3px;border:1px solid #ececec;border-radius:7px;background:#fafafa;gap:2px}.segmented button{border:0;background:transparent;border-radius:4px;color:#a5a5a5;font-size:9px;padding:5px 11px}.segmented button.active{background:#ffffff;color:#636363;box-shadow:0 1px 4px #35353512}.map-stage{position:relative;height:325px;background:#f1f1f1}.map-stage>#map{position:absolute;inset:0;z-index:1;background:#f1f1f1}.map-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:25px;text-align:center;z-index:500;background:#f7f7f7de;backdrop-filter:blur(2px)}.map-empty-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;background:#ffffff;border:1px solid #e7e7e7;border-radius:12px;color:#9b9b9b;margin-bottom:4px}.map-empty-icon .icon{width:22px;height:22px}.map-empty strong{font-size:13px;font-weight:550}.map-empty>span:last-child{font-size:10px;color:#9e9e9e;max-width:260px;line-height:1.7}.map-loading{position:absolute;inset:0;z-index:600;background:#ffffffc9;display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px;color:#7a7a7a}.map-footer{display:flex;justify-content:space-between;gap:10px;padding:11px 17px;font-size:9px;color:#9a9a9a;min-height:37px}.map-footer span:first-child{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.history-filter{padding:12px 16px;background:#fcfcfc;border-bottom:1px solid var(--line);display:flex;align-items:end;gap:9px}.history-filter>div{min-width:0;flex:1}.history-filter label{font-size:9px;margin-bottom:4px;color:#969696}.history-filter input{font-size:10px;padding:7px 8px;width:100%;border-radius:6px;min-height:33px}.history-filter .button{height:33px;min-height:33px;font-size:10px;padding:8px 11px}.device-facts{display:flex;gap:10px;margin:0 20px 20px;padding:13px 0;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0}.device-facts>div{flex:1}.device-facts span{display:block;color:#a4a4a4;font-size:9px;margin-bottom:5px}.device-facts strong{font-size:11px;font-weight:500;color:#777777}.sensor-table-heading{display:flex;justify-content:space-between;padding:0 20px 9px;font-size:8px;font-weight:650;letter-spacing:.08em;color:#ababab}.sensor-list{max-height:235px;overflow:auto;min-height:0}.sensor-row{display:flex;align-items:baseline;justify-content:space-between;gap:15px;padding:10px 20px;border-top:1px solid #f3f3f3;font-size:10px}.sensor-key{color:#818181;min-width:0;overflow-wrap:anywhere}.sensor-value{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#575757;text-align:right;max-width:60%;overflow-wrap:anywhere}.sensor-footer{margin-top:10px;border-top:1px solid #f0f0f0;padding:11px 20px;color:#adadad;font-size:8px;display:flex;align-items:center;gap:6px}.sensor-footer .mini-dot{width:4px;height:4px;background:#bababa}.small-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:150px;padding:20px 24px;gap:7px;color:#a6a6a6}.small-empty>.icon{height:26px;width:26px;stroke-width:1.2;margin-bottom:5px;color:#c3c3c3}.small-empty strong{font-size:11px;font-weight:500;color:#8e8e8e}.small-empty p{font-size:10px;max-width:240px;line-height:1.7}.commands-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-bottom:25px;align-items:start}.command-card form{padding:0 20px 19px}.command-card label{font-size:10px;color:#989898;margin-bottom:8px}.command-input-wrap{display:flex;align-items:center;gap:10px;background:#fafafa;border:1px solid #e8e8e8;border-radius:7px;padding:0 12px}.command-input-wrap:focus-within{border-color:#a9a9a9}.terminal-prompt{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#a9a9a9;font-size:13px}.command-input-wrap input{border:0;background:transparent;width:100%;padding:11px 0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;border-radius:0;box-shadow:none}.field-note{font-size:9px;line-height:1.7;color:#ababab;margin-top:8px}.command-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:19px}.command-bottom .button{font-size:10px;min-height:35px;padding:8px 12px}.command-bottom .button .icon{width:14px;height:14px}.command-availability{display:flex;align-items:center;gap:6px;font-size:9px;color:#999999}.command-availability.online{color:#8b8b8b}.command-availability::before{content:"";background:currentColor;border-radius:50%;width:4px;height:4px;flex:none}.command-card .form-error{margin-top:12px;margin-bottom:0;font-size:10px}.command-log-card .card-heading{padding-bottom:12px}.count-pill{display:inline-flex;align-items:center;justify-content:center;min-width:18px;border-radius:5px;background:#f3f3f3;color:#949494;padding:0 4px;font-size:8px;line-height:17px;margin-left:5px;vertical-align:2px;letter-spacing:0}.command-log{max-height:320px;overflow:auto}.command-entry{padding:12px 20px;border-top:1px solid #f1f1f1}.command-entry-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.command-text{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;color:#6c6c6c;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.command-state{font-size:8px;white-space:nowrap;color:#949494;background:#f4f4f4;padding:3px 7px;border-radius:5px}.command-state.success{color:#737373;background:#f4f4f4}.command-state.failed{color:#7b7b7b;background:#f4f4f4}.command-response{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px;line-height:1.7;color:#818181;background:#f9f9f9;padding:8px 10px;border-radius:5px;margin:8px 0}.command-time{font-size:8px;color:#b4b4b4;margin-top:5px}.commands-only .commands-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr)}.commands-only .command-log{max-height:600px}.workspace-footer{display:flex;justify-content:space-between;border-top:1px solid #eaeaea;padding:17px 0 20px;color:#b2b2b2;font-size:8px}.empty-dashboard{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:480px;margin-bottom:28px;padding:35px 20px}.empty-hero-icon{height:70px;width:70px;display:flex;align-items:center;justify-content:center;background:#f5f5f5;border-radius:22px;color:#a3a3a3;margin-bottom:25px}.empty-hero-icon .icon{height:35px;width:35px;stroke-width:1.3}.empty-dashboard .eyebrow{color:#a0a0a0;font-size:8px;margin-bottom:12px}.empty-dashboard h2{font-size:23px;font-weight:600;margin-bottom:10px}.empty-dashboard p{font-size:11px;line-height:1.8}.empty-dashboard .button{margin-top:25px;font-size:11px}.empty-dashboard .empty-footnote{font-size:9px;color:#b6b6b6;margin-top:13px}.sidebar-empty{color:#898989;font-size:10px;text-align:center;padding:16px 9px;line-height:1.8}
.history-data-card{margin-bottom:20px}.history-table-wrap{overflow:auto;max-height:390px}.history-table{border-collapse:collapse;width:100%;font-size:10px;text-align:left}.history-table th{font-size:8px;letter-spacing:.07em;color:#a3a3a3;font-weight:600;padding:10px 20px;border-top:1px solid #f1f1f1;background:#fcfcfc;position:sticky;top:0}.history-table td{padding:12px 20px;border-top:1px solid #f2f2f2;vertical-align:top;color:#838383}.history-record-time{white-space:nowrap;width:150px;font-size:9px}.history-record-position{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;min-width:160px;width:190px}.sensor-chip{display:inline-block;max-width:100%;overflow-wrap:anywhere;border-radius:4px;padding:3px 6px;background:#f5f5f5;color:#636363;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;margin:0 4px 4px 0}.sensor-chip>span{color:#a3a3a3}.history-more{border:0;border-top:1px solid #f1f1f1;display:block;width:100%;padding:12px;background:#fdfdfd;color:var(--accent);font-size:10px}.history-more:hover{background:#f7f7f7}
/* Dialog and feedback */
.device-dialog{width:min(440px,calc(100% - 32px));border:1px solid #e9e9e9;border-radius:17px;padding:27px;box-shadow:0 24px 90px #25252530;color:var(--ink)}.device-dialog::backdrop{background:#20202066;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:start;justify-content:space-between;gap:10px}.dialog-heading .eyebrow{font-size:8px;color:var(--accent)}.dialog-heading h2{font-size:23px;margin:7px 0 11px;font-weight:600}.device-dialog p.muted{font-size:11px;line-height:1.8;margin-bottom:23px}.device-dialog input{width:100%;font-size:12px}.device-dialog label{font-size:10px}.device-dialog #device-id-field{margin-bottom:19px}.dialog-actions{display:flex;align-items:center;justify-content:end;gap:8px;margin-top:25px}.device-dialog .form-error{margin-top:15px;margin-bottom:0}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:2000;display:flex;align-items:center;gap:10px;background:#353535;color:#ffffff;padding:13px 20px;border-radius:11px;box-shadow:0 5px 30px #2b2b2b20;font-size:12px;max-width:calc(100% - 36px)}.toast-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:#bfbfbf26;color:#cacaca;border-radius:50%}.toast .icon{width:13px;height:13px}
/* Leaflet */
.leaflet-container{font-family:inherit!important}.leaflet-control-attribution{font-size:8px!important;background:#ffffffce!important}.leaflet-control-zoom{border:1px solid #e1e1e1!important;border-radius:8px!important;overflow:hidden;box-shadow:0 2px 8px #33333310!important}.leaflet-control-zoom a{height:27px!important;width:27px!important;line-height:27px!important;font-size:16px!important;color:#6d6d6d!important}.umka-marker{background:transparent;border:0}.map-device-marker{height:27px;width:27px;border:3px solid white;border-radius:50%;background:#707070;box-shadow:0 0 0 6px #70707025,0 3px 9px #30303030;position:relative}.map-device-marker::after{content:"";position:absolute;width:7px;height:7px;left:7px;top:7px;background:#ffffff;border-radius:50%}.leaflet-tooltip{font-family:inherit;font-size:10px;border-radius:6px;border:1px solid #e6e6e6;box-shadow:0 2px 10px #33333310;padding:5px 9px;color:#535353}.history-dot{background:#ffffff;border:3px solid #707070;border-radius:50%;box-shadow:0 1px 5px #40404040}.history-dot.end{background:#707070;border-color:#ffffff;box-shadow:0 0 0 2px #707070}
@media(min-width:1500px){.workspace{padding:38px 45px 0}.map-stage{height:390px}.sensor-list{max-height:300px}.summary-card{padding:22px}.page-header{margin-bottom:33px}}
@media(max-width:1150px){.sidebar{width:200px;padding-inline:13px}.workspace{margin-left:200px;width:calc(100% - 200px);padding:25px 24px 0}.monitor-grid{grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:15px}.summary-card{padding:15px;gap:12px}.summary-value small{font-size:8px}.summary-value{gap:7px}.summary-icon{width:36px;height:36px}.header-date{display:none}.card-heading{padding:17px 17px 14px}.map-heading{gap:8px}.segmented button{padding:4px 8px}.history-filter{flex-wrap:wrap}.history-filter>div{flex:1 1 40%}.history-filter .button{margin-left:auto}.card-description{font-size:8px}.commands-grid{gap:15px}}
@media(max-width:900px){.sidebar{width:180px;padding-inline:10px}.sidebar>.brand{padding-left:8px;font-size:29px}.brand-mark{width:31px;height:31px;font-size:34px}.sidebar-caption{font-size:7px}.nav-item{font-size:11px;padding-inline:12px}.sidebar-device-head{padding-inline:8px}.sidebar-device{gap:7px;padding-inline:7px}.sidebar-device-name{font-size:10px}.sidebar-device-symbol{width:26px;height:31px}.sidebar-device-id{font-size:7px}.sidebar-add{font-size:9px}.workspace{margin-left:180px;width:calc(100% - 180px);padding:24px 20px 0}.summary-card{gap:10px;padding:14px 12px}.summary-icon{display:none}.summary-value small{white-space:normal}.summary-grid{gap:10px}.monitor-grid{grid-template-columns:1fr}.sensors-card .sensor-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:230px}.sensor-table-heading{display:none}.sensor-row{border-top:1px solid #f3f3f3}.device-facts{margin-bottom:5px}.sensor-footer{margin-top:0}.sensors-card .small-empty{min-height:110px}.commands-grid,.commands-only .commands-grid{grid-template-columns:1fr}.command-log{max-height:350px}.login-visual{padding:40px 35px}.visual-copy h1{font-size:56px}.visual-copy{margin-top:200px}.visual-copy .eyebrow{font-size:7px}.login-form-wrap{padding:40px 25px}}
@media(max-width:640px){.app-shell{display:block}.sidebar{position:static;width:100%;padding:18px 18px 0;display:block;z-index:1000}.sidebar>.brand{margin-bottom:20px;padding-left:0;font-size:28px}.sidebar>.brand .brand-mark{height:29px;width:29px;font-size:32px}.sidebar>.sidebar-caption,.sidebar-device-head,.sidebar-bottom{display:none}.main-nav{display:flex;flex-direction:row;gap:5px;margin-bottom:15px}.nav-item{width:auto;flex:1;justify-content:center;padding:9px 10px;font-size:11px}.nav-item .icon{width:15px;height:15px}.nav-active-mark{display:none}.device-list{display:flex;flex-direction:row;max-height:none;overflow-x:auto;padding-bottom:15px;min-height:0;gap:8px}.sidebar-device{width:auto;min-width:150px;max-width:200px;flex-shrink:0;padding:8px 9px;border-color:#4a4a4a;background:#2e2e2e}.sidebar-device.selected{background:#404040;border-color:#7d7d7d}.sidebar-device-symbol{display:none}.sidebar-device-name{font-size:10px}.sidebar-device-id{font-size:7px}.sidebar-add{position:absolute;right:18px;top:18px;width:32px;height:30px;border:1px solid #505050;margin:0;overflow:hidden;font-size:0;padding:6px;gap:0}.sidebar-add .icon{width:18px;height:18px}.sidebar-empty{padding:3px 0 16px;text-align:left}.workspace{margin:0;width:100%;padding:20px 16px 0}.page-header{gap:10px;align-items:start;margin-bottom:20px}.breadcrumb{font-size:8px;margin-bottom:10px}.page-header h1{font-size:22px}.page-header p{font-size:10px}.header-actions{padding-top:24px}.header-actions .button{font-size:0;width:32px;height:32px;min-height:32px;padding:8px;gap:0}.header-actions .button .icon{height:16px;width:16px}.summary-grid{gap:8px;margin-bottom:23px}.summary-card{padding:13px 10px}.summary-label{font-size:8px}.summary-value{font-size:22px;display:block}.summary-value small{display:block;font-size:7px;margin-top:3px;letter-spacing:-.01em}.summary-value .mini-dot{display:none}.device-heading{align-items:start;gap:8px;margin-bottom:13px}.device-title-row{gap:5px;flex-wrap:wrap}.device-title-row h2{font-size:15px;max-width:190px}.device-title-row .badge{font-size:7px}.device-id{font-size:8px}.last-seen{display:none}.selected-device-icon{width:30px;height:36px}.selected-device-title{gap:9px}.monitor-grid{gap:15px;margin-bottom:15px}.card-heading{padding:16px}.card-heading h3{font-size:14px}.map-stage{height:320px}.map-footer{font-size:8px;padding:10px 13px}.map-description{font-size:8px}.history-filter{padding:11px 13px;gap:8px}.history-filter input{font-size:9px}.device-facts{margin-inline:16px}.sensor-row{padding:10px 16px;font-size:9px}.sensor-footer{padding-inline:16px}.command-card form{padding-inline:16px}.command-entry{padding:12px 16px}.commands-grid{gap:15px;margin-bottom:20px}.workspace-footer{font-size:7px;gap:15px}.workspace-footer span:last-child{text-align:right}.empty-dashboard{min-height:420px}.empty-dashboard h2{font-size:20px}.empty-dashboard p{font-size:10px}.empty-hero-icon{height:60px;width:60px;border-radius:18px}.login-screen{grid-template-columns:1fr}.login-visual{display:none}.login-form-wrap{min-height:100dvh;justify-content:center;padding:80px 30px}.login-mobile-brand{display:flex;position:absolute;top:38px;left:30px;font-size:29px}.login-form h2{font-size:29px}.login-form .eyebrow{font-size:9px}.login-footer{bottom:25px}.device-dialog{padding:22px}.dialog-heading h2{font-size:21px}.dialog-actions .button{font-size:11px}.sensors-card .sensor-list{grid-template-columns:1fr}.device-title-row>.icon-button{width:20px}.commands-only .command-log{max-height:500px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(max-width:640px){.header-actions{gap:6px}.mobile-logout{display:flex;width:29px;height:32px}.history-table th,.history-table td{padding:10px 13px}.history-record-position{min-width:150px}.history-record-sensors{min-width:180px}.receipts-heading{padding-inline:16px}.receipt-entry{padding-inline:16px}.receipts-empty{padding-inline:16px}}
@media(max-width:640px){.command-entry-incoming{padding-left:13px}}
/* Named sensors and object map cards */
.custom-sensors-section{margin-bottom:25px}.custom-sensor-row{display:flex;align-items:center;gap:18px;padding:16px 20px;border-top:1px solid var(--line)}.custom-sensor-description{min-width:0;flex:1}.custom-sensor-description strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}.sensor-source{display:block;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;color:#999999;margin-top:4px;overflow-wrap:anywhere}.custom-sensor-value{font-size:15px;font-weight:550;max-width:50%;overflow-wrap:anywhere;white-space:pre-wrap;text-align:right}.custom-sensors-note{padding:16px 20px;border-top:1px solid var(--line);font-size:10px;line-height:1.8;color:#9b9b9b}.sensor-dialog label:not(:first-child){margin-top:17px}.sensor-value-preview{display:flex;gap:20px;align-items:baseline;justify-content:space-between;background:#f6f6f6;border-radius:8px;padding:13px;margin-top:18px;font-size:11px;color:#7a7a7a}.sensor-value-preview strong{color:#4e4e4e;max-width:65%;overflow-wrap:anywhere;white-space:pre-wrap;text-align:right;font-weight:550}.sensor-dialog .dialog-actions{flex-wrap:wrap}.button-danger{color:#626262;background:#f5f5f5;border-color:#e2e2e2;margin-right:auto}.button-danger:hover{background:#ededed}.object-tooltip{padding:0;white-space:normal;border-radius:10px;box-shadow:0 6px 25px #33333320;min-width:230px;max-width:300px}.map-object-card{padding:13px 15px;min-width:220px;font-size:11px;line-height:1.6;color:#636363}.map-object-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:7px}.map-object-heading>strong{font-size:13px;overflow-wrap:anywhere}.map-object-heading .badge{font-size:8px;flex-shrink:0}.map-object-coordinates{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px}.map-object-time{font-size:9px;color:#9f9f9f;margin:3px 0 10px}.map-object-sensors{max-height:200px;overflow:auto;border-top:1px solid #ededed;padding-top:6px}.map-object-sensor{display:flex;justify-content:space-between;align-items:baseline;gap:15px;padding:4px 0}.map-object-sensor>span{overflow-wrap:anywhere;min-width:0}.map-object-sensor>strong{font-weight:550;text-align:right;max-width:55%;white-space:pre-wrap;overflow-wrap:anywhere}.map-object-note{font-size:10px;color:#9f9f9f}.object-popup .leaflet-popup-content{margin:0;min-width:230px}.map-device-marker.offline{background:#969696;box-shadow:0 0 0 5px #96969620,0 3px 9px #30303030}.map-device-marker.selected{outline:2px solid #707070;outline-offset:4px}
@media(max-width:640px){.main-nav{gap:2px}.nav-item{padding:9px 5px;font-size:10px;gap:5px}.nav-item .icon{width:13px;height:13px}.custom-sensor-row{padding:14px 16px;gap:12px}.custom-sensor-value{font-size:13px;max-width:40%}.custom-sensors-section .card-heading{align-items:flex-start}.custom-sensors-section .button{font-size:9px;padding:8px}.custom-sensors-section .button .icon{width:14px;height:14px}.custom-sensors-note{padding-inline:16px}.map-object-card{min-width:200px}.object-tooltip{min-width:210px;max-width:260px}}

/* S-limit · black, white and titanium */
:root{--ink:#191919;--muted:#737373;--line:#e2e2e2;--bg:#f2f2f2;--card:#ffffff;--accent:#282828;--mint:#eeeeee;--sidebar:#121212;--danger:#343434;--shadow:0 3px 16px #00000005}
body{background:var(--bg)}
input{border-color:#d5d5d5}input:focus{border-color:#666666;box-shadow:0 0 0 3px #0000000c}input::placeholder{color:#808080}
button:focus-visible,a:focus-visible{outline-color:#9b9b9b}
.button-primary{background:linear-gradient(145deg,#373737,#1c1c1c);border-color:#393939;box-shadow:0 1px 2px #00000014}
.button-primary:hover:not(:disabled){background:#454545;border-color:#505050}
.button-outline{color:#414141;border-color:#d1d1d1}.button-outline:hover:not(:disabled){background:#eeeeee}
.icon-button{color:#777777}.icon-button:hover{background:#ebebeb;color:#202020}
.brand{gap:10px;font-size:25px;font-weight:700;letter-spacing:-.9px;line-height:1;white-space:nowrap}
.brand-wordmark{display:inline-block;letter-spacing:-.9px;font-weight:700}.brand-wordmark>span{font-weight:400;letter-spacing:-.8px}
.brand-mark{display:flex;align-items:center;justify-content:center;flex:none;width:35px;height:35px;padding:0;border-radius:9px;font-size:30px;font-weight:500;line-height:1;letter-spacing:-1.5px;text-indent:-1.5px;background:linear-gradient(140deg,#f8f8f8,#b9b9b9);color:#151515;border:1px solid #dcdcdc;box-shadow:inset 0 1px 0 #ffffff80}
.sidebar>.brand{padding-left:4px;gap:8px}.sidebar>.brand .brand-wordmark{font-size:17px;letter-spacing:-.65px}.sidebar>.brand .brand-wordmark>span{letter-spacing:-.65px}.sidebar>.brand .brand-mark{width:29px;height:29px;font-size:25px;border-radius:7px}
.login-visual{background:linear-gradient(135deg,#101010,#272727)}.login-visual .brand{font-size:27px}.login-visual .brand-mark{width:40px;height:40px;font-size:33px}
.login-orbit{border-color:#ffffff12}.orbit-node{background:#c9c9c9;box-shadow:0 0 0 8px #ffffff09}.visual-copy .eyebrow{color:#b1b1b1}.visual-copy h1 span{color:#bdbdbd}.visual-copy p{color:#b3b3b3}.visual-footer{color:#a4a4a4}
.sidebar-caption,.device-count{color:#969696}.nav-item{color:#b0b0b0}.nav-item:hover{color:#f4f4f4;background:#ffffff08}.nav-item.active{color:#ffffff;background:linear-gradient(120deg,#353535,#292929);box-shadow:inset 0 0 0 1px #ffffff0d}.nav-active-mark{background:#d5d5d5}
.sidebar-device{color:#b6b6b6}.sidebar-device:hover{background:#ffffff08}.sidebar-device.selected{background:#272727;border-color:#5a5a5a}.sidebar-device-symbol{color:#9f9f9f;border-color:#555555}.sidebar-device.selected .sidebar-device-symbol{color:#e3e3e3;border-color:#858585}.sidebar-device-name{color:#e2e2e2}.sidebar-device-id{color:#a2a2a2}.sidebar-add{color:#b8b8b8;border-color:#515151}.sidebar-add:hover{color:#f0f0f0;background:#ffffff08}.server-link{color:#a4a4a4}.account{border-color:#383838}.account-avatar{background:#3b3b3b;color:#eeeeee}.account strong{color:#eeeeee}.account>div>span{color:#969696}.account .icon-button{color:#b1b1b1}.account .icon-button:hover{color:#ffffff;background:#ffffff0c}.sidebar-empty{color:#aaaaaa}
.status-dot,.mini-dot{background:#494949}.status-dot.offline{background:transparent;border:1px solid #8c8c8c}.sidebar .status-dot,.visual-footer .status-dot{background:#e4e4e4}.sidebar .status-dot.offline{background:transparent;border-color:#858585}
.summary-icon,.summary-icon.mint,.summary-icon.sand{background:#ededed;color:#646464}.summary-label{color:#737373}.summary-value small{color:#767676}.badge{background:#f2f2f2;color:#737373}.badge.online{background:#e7e7e7;color:#323232}.badge:not(.online)::before{background:transparent;border:1px solid currentColor}
.breadcrumb,.header-date,.last-seen,.device-id,.card-description,.map-footer{color:#747474}.breadcrumb span:last-child{color:#555555}.subtle-icon{color:#7d7d7d}.selected-device-icon{color:#666666;border-color:#d5d5d5}
.segmented{background:#f2f2f2;border-color:#dfdfdf}.segmented button{color:#737373}.segmented button.active{color:#292929;box-shadow:0 1px 4px #0000000d}.device-facts span,.sensor-table-heading,.sensor-footer,.field-note,.command-card label,.command-availability{color:#747474}.device-facts strong,.sensor-key{color:#595959}.sensor-value{color:#343434}.sensor-footer .mini-dot{background:#878787}.small-empty{color:#757575}.small-empty strong{color:#585858}.small-empty>.icon{color:#959595}.empty-dashboard .eyebrow,.empty-dashboard .empty-footnote{color:#747474}.empty-hero-icon{background:#eeeeee;color:#737373}
.command-input-wrap{background:#f6f6f6;border-color:#dedede}.command-input-wrap:focus-within{border-color:#7f7f7f}.terminal-prompt{color:#808080}.command-availability.online{color:#383838}.command-direction,.command-time,.receipt-time,.receipt-meta,.receipts-empty,.receipts-heading p{color:#747474}.command-text{color:#414141}.command-state{background:#eeeeee;color:#5a5a5a}.command-state.success{background:#e8e8e8;color:#343434}.command-state.failed{background:#e5e5e5;color:#292929;border:1px dashed #858585}.command-entry-incoming{background:#f4f4f4;border-left-color:#878787}.incoming-direction{color:#454545}.command-message-text{color:#303030}.command-entry-incoming .command-time{color:#707070}.command-response{background:#f2f2f2;color:#484848}.receipt-title,.receipts-heading h4{color:#515151}
.history-table th,.history-table td{color:#656565}.sensor-chip{background:#eeeeee;color:#363636}.sensor-chip>span{color:#666666}.history-more{background:#fafafa}.history-more:hover{background:#ededed}
.form-error,.alert{color:#303030;background:#eeeeee;border:1px solid #a4a4a4}.form-error{border-left:3px solid #505050}.button-danger{color:#303030;background:#eeeeee;border:1px dashed #a0a0a0}.button-danger:hover{background:#dedede}.toast{background:#262626;box-shadow:0 5px 30px #00000020}.toast-icon{color:#ffffff;background:#ffffff16}.workspace-footer,.login-footer,.login-note{color:#767676}
.sensor-source,.custom-sensors-note{color:#737373}.sensor-value-preview{background:#eeeeee;color:#666666}.sensor-value-preview strong{color:#292929}.map-stage,.map-stage>#map{background:#e8e8e8}.map-empty{background:#f3f3f3e8}.map-empty-icon{color:#777777;border-color:#d5d5d5}.map-empty>span:last-child,.map-loading{color:#686868}.map-object-card{color:#414141}.map-object-time,.map-object-note{color:#737373}.map-object-sensors{border-color:#dddddd}
.map-base-tiles{filter:none}
.map-device-marker{background:#303030;box-shadow:0 0 0 6px #33333322,0 3px 9px #00000030}.map-device-marker.selected{outline-color:#353535}.map-device-marker.offline{background:#929292;box-shadow:0 0 0 5px #6666661a,0 3px 9px #00000020}.history-dot{border-color:#333333;box-shadow:0 1px 5px #00000030}.history-dot.end{background:#333333;box-shadow:0 0 0 2px #333333}.leaflet-tooltip{color:#333333;border-color:#d7d7d7}.leaflet-control-zoom a{color:#4f4f4f!important}
@media(max-width:1150px) and (min-width:901px){.sidebar>.brand{padding-left:0;gap:7px}.sidebar>.brand .brand-wordmark{font-size:16px}.sidebar>.brand .brand-mark{width:28px;height:28px;font-size:24px}}
@media(max-width:900px) and (min-width:641px){.sidebar>.brand{padding-left:0;gap:6px}.sidebar>.brand .brand-wordmark{font-size:14.5px;letter-spacing:-.7px}.sidebar>.brand .brand-wordmark>span{letter-spacing:-.7px}.sidebar>.brand .brand-mark{width:25px;height:25px;font-size:22px;border-radius:6px}}
@media(max-width:640px){.sidebar>.brand{font-size:22px;gap:9px;padding-left:0}.sidebar>.brand .brand-wordmark{font-size:20px;letter-spacing:-.8px}.sidebar>.brand .brand-wordmark>span{letter-spacing:-.8px}.sidebar>.brand .brand-mark{width:29px;height:29px;font-size:25px}.sidebar-device{background:#202020;border-color:#424242}.sidebar-device.selected{background:#333333;border-color:#818181}.sidebar-add{border-color:#636363}.login-mobile-brand{font-size:23px;gap:9px}.login-mobile-brand .brand-mark{width:33px;height:33px;font-size:28px;background:linear-gradient(140deg,#343434,#171717);border-color:#363636;color:#ffffff;box-shadow:inset 0 1px 0 #ffffff20}}
/* Workspace display controls */
.display-settings{position:relative;flex:none}.display-settings>summary{list-style:none;cursor:pointer;user-select:none}.display-settings>summary::-webkit-details-marker{display:none}.display-settings>summary:focus-visible{outline:3px solid #9b9b9b;outline-offset:3px}.display-settings[open]>summary{background:#e7e7e7;border-color:#bfbfbf}.display-settings-panel{position:absolute;right:0;top:calc(100% + 9px);z-index:1200;width:235px;padding:15px;background:#ffffff;border:1px solid #d3d3d3;border-radius:10px;box-shadow:0 12px 35px #0000001c;color:#333333}.display-settings-title{display:block;font-size:8px;font-weight:650;letter-spacing:.1em;color:#737373;margin-bottom:8px}.display-settings-panel>label{display:flex;align-items:center;gap:10px;margin:0;padding:9px 0;font-size:11px;font-weight:500;cursor:pointer}.display-settings-panel input[type=checkbox]{width:15px;height:15px;min-width:15px;padding:0;margin:0;accent-color:#353535;cursor:pointer;box-shadow:none}.monitor-grid.terminal-data-hidden{grid-template-columns:minmax(0,1fr)}.commands-grid.command-journal-hidden,.commands-only .commands-grid.command-journal-hidden{grid-template-columns:minmax(0,1fr)}.command-journal-hidden .command-card{max-width:700px}
@media(max-width:640px){.header-actions .display-settings>summary{font-size:10px;width:auto;min-width:58px;gap:5px;padding:7px 9px;min-height:32px;height:32px}.header-actions .display-settings>summary .icon{width:14px;height:14px}.display-settings-panel{width:220px;padding:13px}.display-settings-panel>label{font-size:11px;padding:10px 0}}
/* Named sensor readings in the overview */
.overview-sensors-section{margin-bottom:20px}.overview-sensors-actions{display:flex;align-items:center;gap:8px;flex:none}.overview-sensors-actions .button{font-size:10px}.overview-sensors-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;padding:0 20px 20px}.overview-sensors-list:empty{display:none}.overview-sensor-item{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:15px 16px;background:#f7f7f7;border:1px solid #e3e3e3;border-radius:9px}.overview-sensor-description{min-width:0;max-width:100%}.overview-sensor-description>strong{font-size:11px;font-weight:600;color:#444444;overflow-wrap:anywhere}.overview-sensor-item .sensor-source{font-size:9px;color:#737373;margin-top:3px}.overview-sensor-value{font-size:22px;font-weight:550;line-height:1.45;letter-spacing:-.035em;color:#222222;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;max-height:160px;overflow:auto;margin-top:12px}.overview-sensors-actions .icon-button .icon{transform:rotate(90deg);transition:transform .15s}.overview-sensors-section.is-collapsed .overview-sensors-actions .icon-button .icon,.overview-sensors-actions .icon-button.is-collapsed .icon{transform:rotate(-90deg)}.overview-sensors-section .small-empty{border-top:1px solid #ededed}
.leaflet-container a{color:#4b4b4b}.leaflet-container a:hover{color:#111111}.leaflet-container .leaflet-control-attribution a{color:#4b4b4b;text-decoration:underline;text-decoration-color:#bcbcbc;text-underline-offset:2px}.leaflet-container .leaflet-control-attribution a:hover{color:#111111}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#ffffff;color:#333333}.leaflet-popup-content-wrapper{box-shadow:0 5px 25px #00000024}.leaflet-container a.leaflet-popup-close-button{color:#737373}.leaflet-container a.leaflet-popup-close-button:hover{color:#1d1d1d}
@media(max-width:640px){.overview-sensors-section{margin-bottom:15px}.overview-sensors-section .card-heading{gap:9px;flex-wrap:wrap}.overview-sensors-actions{gap:5px}.overview-sensors-actions .button{min-height:30px;padding:6px 9px;font-size:9px}.overview-sensors-list{padding:0 16px 16px;gap:9px;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.overview-sensor-item{padding:12px 13px}.overview-sensor-value{font-size:20px}}


/* Semantic signals retain color in the titanium interface. */
:root{--signal-ok:#18764f;--signal-ok-dot:#38bd89;--signal-error:#b64343;--signal-warning:#8b600c;--signal-warning-dot:#e8b344}
.status-dot,.mini-dot{background:var(--signal-ok-dot);border:0}.status-dot.offline{background:#d75b5b;border:0}.sidebar .status-dot{background:var(--signal-ok-dot)}.sidebar .status-dot.offline{background:#e46b6b;border:0}#connection-dot.offline{background:var(--signal-warning-dot);border:0}.visual-footer .status-dot{background:#e4e4e4}.sensor-footer .mini-dot{background:#878787}
.badge{color:var(--signal-error);background:#fff0ee}.badge:not(.online)::before{background:currentColor;border:0}.badge.online{color:var(--signal-ok);background:#e7f6ee}.summary-icon.mint{color:var(--signal-ok);background:#eaf6ef}.summary-value .mini-dot{background:var(--signal-ok-dot)}
.command-availability{color:var(--signal-error)}.command-availability.online{color:var(--signal-ok)}.command-state.pending{color:var(--signal-warning);background:#fff3d5;border:1px solid #f0d99c}.command-state.success{color:var(--signal-ok);background:#e7f6ee}.command-state.failed{color:var(--signal-error);background:#fff0ee;border:1px solid #efc7c0}
.command-entry-incoming{border-left-color:#5cab87}.incoming-direction{color:var(--signal-ok)}.receipt-title.success{color:var(--signal-ok)}.receipt-title.failed{color:var(--signal-error)}.form-error,.alert{color:#9e3434;background:#fff1ef;border-color:#e9c3be}.form-error{border-left-color:#c65d52}.button-danger{color:#a43b3b;background:#fff1ef;border-color:#e7bfb8}.button-danger:hover{background:#ffe5df}.toast-icon{color:#8ce3bb;background:#2b74592e}
.map-device-marker{--marker-signal:#188765;background:var(--marker-signal);box-shadow:0 0 0 6px #18876525,0 3px 9px #00000030}.map-device-marker.offline{--marker-signal:#c64c4c;background:var(--marker-signal);box-shadow:0 0 0 5px #c64c4c22,0 3px 9px #00000020}.map-device-marker.selected{outline-color:var(--marker-signal)}.history-dot{border-color:#188765;box-shadow:0 1px 5px #18876530}.history-dot.end{background:#c64c4c;border-color:#ffffff;box-shadow:0 0 0 2px #c64c4c}
/* Collapsible workspace panels */
.panel-heading-actions{display:flex;align-items:center;gap:9px;flex:none}.panel-toggle{flex:none}.panel-toggle .icon{transform:rotate(-90deg);transition:transform .15s}.is-collapsed>.card-heading .panel-toggle .icon{transform:rotate(90deg)}.card.is-collapsed{align-self:start}.is-collapsed>.card-heading{border-bottom:0}.monitor-grid.has-collapsed-panel{grid-template-columns:minmax(0,1fr)}.summary-section{margin-bottom:22px}.summary-section>.card-heading{padding-block:15px}.summary-section .summary-grid{margin:0;padding:0 20px 20px}.summary-section .summary-card{box-shadow:none}.summary-section .summary-label{white-space:nowrap}.display-settings-reset{display:block;width:100%;border:0;border-top:1px solid #dedede;background:transparent;text-align:left;font-size:11px;color:#4c4c4c;font-weight:550;padding:12px 0 0;margin-top:7px}.display-settings-reset:hover{color:#111111}.display-settings-reset:focus-visible{outline:2px solid #858585;outline-offset:3px}.overview-sensors-section .panel-toggle .icon{transform:rotate(-90deg)}.overview-sensors-section.is-collapsed .panel-toggle .icon{transform:rotate(90deg)}
@media(max-width:640px){.panel-heading-actions{gap:6px}.summary-section{margin-bottom:18px}.summary-section .summary-grid{padding:0 16px 16px}.summary-section>.card-heading{padding-block:13px}.map-heading>.panel-heading-actions{gap:5px}.map-heading .segmented button{padding-inline:6px}.map-heading .panel-toggle{width:25px;height:28px}.custom-sensors-section>.card-heading{flex-wrap:wrap}.custom-sensors-section .panel-heading-actions{margin-left:auto}}
/* Sensor readings use one vertical row per value. */
.custom-sensors-list{display:flex;flex-direction:column}.custom-sensor-row{width:100%}.overview-sensors-list{display:flex;flex-direction:column;gap:0;padding:0}.overview-sensor-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:24px;padding:15px 20px;background:#ffffff;border:0;border-top:1px solid var(--line);border-radius:0}.overview-sensor-value{margin:0;font-size:17px;line-height:1.5;text-align:right;max-width:100%;justify-self:end}.overview-sensor-description{max-width:100%}
@media(max-width:640px){.overview-sensors-list{display:flex;gap:0;padding:0}.overview-sensor-item{padding:13px 16px;gap:15px}.overview-sensor-value{font-size:15px}.custom-sensor-row{width:100%}}
/* Command templates and a visible offline queue state. */
.command-templates-card{grid-column:1/-1;min-width:0}.command-template-list{display:flex;flex-direction:column}.command-template-row{display:flex;align-items:center;gap:20px;padding:15px 20px;border-top:1px solid var(--line)}.command-template-copy{min-width:0;flex:1}.command-template-copy>strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}.command-template-text{display:block;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;color:#666666;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:5px}.command-template-actions{display:flex;align-items:center;gap:7px;flex:none}.command-template-note{padding:13px 20px;border-top:1px solid var(--line);font-size:10px;line-height:1.8;color:#777777}.command-template-dialog label{margin-top:16px}.command-template-dialog .dialog-actions{flex-wrap:wrap}.command-availability.pending{color:var(--signal-warning)}.command-state.cancelled{color:#737373;background:#eeeeee;border:1px solid #dddddd}.command-cancel{border:0;background:transparent;color:#8b600c;font-size:9px;padding:3px 0;margin-top:6px;text-decoration:underline;text-decoration-color:#ddc797;text-underline-offset:3px}.command-cancel:hover{color:#5d4009}.command-cancel:focus-visible{outline:2px solid #b58a39;outline-offset:3px}
@media(max-width:640px){.command-template-row{padding:13px 16px;gap:12px;align-items:flex-start}.command-template-actions{gap:3px;flex-wrap:wrap;justify-content:flex-end;max-width:112px}.command-template-actions .button{font-size:9px;min-height:31px;padding:7px 9px}.command-template-note{padding-inline:16px}.command-templates-card>.card-heading{flex-wrap:wrap}.command-templates-card .panel-heading-actions{margin-left:auto}.command-templates-card .panel-heading-actions>.button{font-size:9px;padding:7px 9px}.command-templates-card .panel-heading-actions>.button .icon{width:13px;height:13px}.command-availability.pending{max-width:56%;line-height:1.6}}
/* Per-object icon presets. */
.device-icon-button{padding:5px;cursor:pointer;flex:none}.device-icon-button:hover{background:#eeeeee;border-color:#929292}.device-icon-button:focus-visible{outline:2px solid #777777;outline-offset:3px}.device-icon-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.device-icon-preset{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;min-width:0;min-height:78px;padding:11px 4px;border:1px solid #dedede;border-radius:9px;color:#555555;background:#ffffff}.device-icon-preset .icon{width:27px;height:27px;stroke-width:1.6}.device-icon-preset>span{font-size:8px;line-height:1.35;overflow-wrap:anywhere}.device-icon-preset:hover{background:#f0f0f0;border-color:#999999}.device-icon-preset[aria-pressed=true]{color:#222222;background:#eeeeee;border-color:#555555;box-shadow:inset 0 0 0 1px #777777}.map-device-marker.has-device-icon{display:flex;align-items:center;justify-content:center}.map-device-marker.has-device-icon::after{display:none}.map-device-marker.has-device-icon>.icon{width:17px;height:17px;color:#ffffff;stroke-width:1.8;pointer-events:none}
@media(max-width:640px){.device-icon-presets{gap:6px}.device-icon-preset{min-height:74px;padding:10px 3px}.device-icon-preset .icon{width:24px;height:24px}.device-icon-preset>span{font-size:7.5px}}
/* Formula preview uses the same server calculation as saved sensors. */
.sensor-formula-source{display:block;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;color:#777777;overflow-wrap:anywhere;margin-top:4px}.sensor-preview-stack{margin-top:18px;border:1px solid #e1e5e2;border-radius:8px;overflow:hidden}.sensor-preview-stack .sensor-value-preview{margin:0;border-radius:0;padding:11px 13px}.sensor-preview-stack .sensor-value-preview+.sensor-value-preview{border-top:1px solid #dde3df}.sensor-preview-stack .sensor-value-preview:first-child{background:#f8f8f8}.sensor-preview-error{font-size:10px;line-height:1.7;color:var(--signal-error);margin-top:9px}.custom-sensor-value.sensor-formula-error,.overview-sensor-value.sensor-formula-error,.map-object-sensor>strong.sensor-formula-error,.sensor-value-preview strong.sensor-formula-error{color:var(--signal-error)}.sensor-value-preview strong.sensor-preview-pending{color:#777777}.device-icon-text{border:0;background:transparent;color:#747474;font-size:9px;padding:3px 4px;white-space:nowrap;text-decoration:underline;text-decoration-color:#cccccc;text-underline-offset:3px}.device-icon-text:hover{color:#222222}.device-icon-text:focus-visible{outline:2px solid #888888;outline-offset:2px}
@media(max-width:640px){.sensor-preview-stack .sensor-value-preview{font-size:10px;gap:12px}.sensor-preview-stack .sensor-value-preview>strong{max-width:60%}.device-icon-text{font-size:8px;padding-inline:2px}.command-templates-card .panel-heading-actions{gap:5px}.command-templates-card .panel-heading-actions>.button{font-size:9px}}
/* Connection age and last reported movement are shared by every object view. */
.sidebar-device.device-color-ok{border-left:3px solid var(--signal-ok-dot)}.sidebar-device.device-color-warning{border-left:3px solid var(--signal-warning-dot)}.sidebar-device.device-color-error{border-left:3px solid #e46b6b}.sidebar-device-last,.sidebar-device-movement{display:block;font-size:8px;line-height:1.6;color:#b5b5b5;margin-top:3px;white-space:normal;overflow-wrap:anywhere}.sidebar-device-movement{color:#a0a0a0;margin-top:1px}.status-dot.device-color-ok,.sidebar .status-dot.device-color-ok{background:var(--signal-ok-dot);border:0}.status-dot.device-color-warning,.sidebar .status-dot.device-color-warning{background:var(--signal-warning-dot);border:0}.status-dot.device-color-error,.sidebar .status-dot.device-color-error{background:#e46b6b;border:0}.badge.device-color-ok{color:var(--signal-ok);background:#e7f6ee}.badge.device-color-warning{color:var(--signal-warning);background:#fff3d5}.badge.device-color-error{color:var(--signal-error);background:#fff0ee}.device-heading{padding-left:10px;border-left:3px solid transparent}.device-heading.device-color-ok{border-left-color:var(--signal-ok-dot)}.device-heading.device-color-warning{border-left-color:var(--signal-warning-dot)}.device-heading.device-color-error{border-left-color:#d75b5b}.selected-object-status{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none}.selected-object-status .last-seen{display:block}.selected-movement{font-size:10px;color:#666666}.object-context{padding-left:10px;border-left:2px solid #999999}.object-context.device-color-ok{border-left-color:var(--signal-ok-dot)}.object-context.device-color-warning{border-left-color:var(--signal-warning-dot)}.object-context.device-color-error{border-left-color:#d75b5b}.map-device-marker.device-color-ok{--marker-signal:#188765;background:var(--marker-signal);box-shadow:0 0 0 6px #18876525,0 3px 9px #00000030}.map-device-marker.device-color-warning{--marker-signal:#d5a32a;background:var(--marker-signal);box-shadow:0 0 0 6px #d5a32a25,0 3px 9px #00000030}.map-device-marker.device-color-error{--marker-signal:#c64c4c;background:var(--marker-signal);box-shadow:0 0 0 6px #c64c4c25,0 3px 9px #00000030}.map-object-last-message{font-size:9px;color:#696969;margin:2px 0}.map-object-movement{font-size:10px;font-weight:500;color:#494949;margin:2px 0 7px}.map-object-sensors{max-height:150px}
@media(max-width:640px){.sidebar-device{min-width:185px}.sidebar-device-last,.sidebar-device-movement{font-size:8px}.device-heading{flex-wrap:wrap}.selected-object-status{flex-basis:100%;align-items:flex-start;padding-left:39px;gap:2px}.selected-object-status .last-seen{font-size:9px}.selected-movement{font-size:9px}}
@media(min-width:641px) and (max-width:1100px){.device-heading{flex-wrap:wrap}.selected-object-status{flex-basis:100%;align-items:flex-start;padding-left:48px}}
/* Keep sensor editing comfortable on a laptop-height viewport. */
.sensor-dialog{width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;padding:18px 20px}.sensor-dialog .dialog-heading h2{font-size:22px;margin:5px 0 8px}.sensor-dialog p.muted{font-size:10px;line-height:1.55;margin-bottom:12px}.sensor-dialog label:not(:first-child){margin-top:9px;margin-bottom:6px}.sensor-dialog input{padding:8px 10px;min-height:34px;line-height:1.4}.sensor-dialog .field-note{font-size:9px;line-height:1.5;margin-top:5px}.sensor-dialog .sensor-preview-stack{margin-top:12px}.sensor-dialog .sensor-value-preview{padding:8px 11px}.sensor-dialog .sensor-preview-error{margin-top:6px}.sensor-dialog .form-error{margin-top:9px;padding:7px 10px;font-size:10px}.sensor-dialog .dialog-actions{margin-top:15px;gap:7px}.sensor-dialog .dialog-actions .button{min-height:35px;padding:8px 12px;font-size:11px}
@media(max-width:480px){.sensor-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:17px 16px}.sensor-dialog .dialog-heading h2{font-size:20px}.sensor-dialog .dialog-actions{gap:6px}.sensor-dialog .dialog-actions .button{padding-inline:10px}.sensor-dialog .sensor-value-preview{gap:12px;font-size:10px}}
/* Templates belong to the selected object and lead the command workspace. */
.commands-only .command-templates-card{grid-column:1/-1;border-color:#b8b8b8;box-shadow:0 3px 18px #00000008}.command-templates-card>.card-heading{background:#f7f7f7;align-items:flex-start}.command-templates-card .card-heading>div:first-child{min-width:0;flex:1}.command-templates-card .card-heading h3{font-size:17px}.command-templates-card .object-context{margin-top:8px;font-size:10px;line-height:1.7;max-width:100%}.command-template-list{max-height:420px;overflow-y:auto}.command-template-actions .template-use{min-height:35px;padding-inline:16px}.command-template-dialog #command-template-device{margin-bottom:17px}.sidebar-deleted{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;border:1px solid #414141;background:transparent;color:#a9a9a9;border-radius:8px;font-size:10px;padding:9px 5px;margin-top:9px}.sidebar-deleted .icon{width:14px;height:14px}.sidebar-deleted:hover{background:#ffffff08;color:#ededed}.delete-device-note{margin-top:15px;padding:10px 12px;background:#fff3e7;border:1px solid #edcda8;border-radius:7px;color:#865b27;font-size:10px;line-height:1.7}#device-form .dialog-actions{flex-wrap:wrap}.deleted-devices-dialog{width:min(620px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow-y:auto}.deleted-device-list{display:flex;flex-direction:column;max-height:420px;overflow-y:auto}.deleted-device-row{display:flex;align-items:center;gap:18px;padding:13px 10px 13px 13px;border:1px solid #e8e8e8;border-left-width:3px;border-radius:8px;margin-bottom:9px}.deleted-device-row.device-color-ok{border-left-color:var(--signal-ok-dot)}.deleted-device-row.device-color-warning{border-left-color:var(--signal-warning-dot)}.deleted-device-row.device-color-error{border-left-color:#d75b5b}.deleted-device-copy{flex:1;min-width:0}.deleted-device-copy>strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}.deleted-device-copy>span{display:block;font-size:10px;color:#747474;line-height:1.6;margin-top:3px}.deleted-device-copy .deleted-device-date{font-size:9px;color:#909090}.deleted-device-row>.button{flex:none}.deleted-devices-loading{font-size:11px;color:#777777;padding:10px 0}
@media(max-width:640px){.sidebar-deleted{width:max-content;max-width:100%;font-size:9px;padding:7px 12px;margin:0 0 13px}.command-templates-card>.card-heading{gap:12px}.command-templates-card .card-heading h3{font-size:15px}.command-templates-card .object-context{font-size:9px}.deleted-devices-dialog{padding:20px 16px;max-height:calc(100dvh - 24px)}.deleted-devices-dialog .dialog-heading h2{font-size:20px}.deleted-device-row{gap:10px;align-items:flex-start}.deleted-device-row>.button{font-size:9px;padding:7px 9px;min-height:31px}.deleted-device-copy>span{font-size:9px}}

/* Saved templates are available wherever the command sender is shown. */
.command-template-dialog .command-template-client-option{display:flex;align-items:flex-start;gap:10px;margin:20px 0 8px;padding:13px;border:1px solid var(--line);border-radius:9px;background:#f7f7f7;font-size:12px;line-height:1.6;cursor:pointer}.command-template-client-option input{width:16px;height:16px;min-height:0;flex:none;margin:2px 0 0;padding:0;accent-color:var(--ink)}.command-template-client-option span{min-width:0}.command-template-client-badge{display:inline-block;margin-top:8px;padding:3px 7px;border:1px solid #dedede;border-radius:5px;background:#f5f5f5;color:#626262;font-size:9px;line-height:1.5}
.sender-template-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.command-card .sender-template-heading label{margin:0}.sender-template-settings{padding:0;border:0;background:transparent;color:#626262;font-size:10px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.sender-template-settings:hover{color:#202020}.sender-template-settings:focus-visible{outline:2px solid #777777;outline-offset:4px}.sender-template-settings:disabled{opacity:.5;cursor:default}#sender-command-template{display:block;width:100%;min-width:0;max-width:100%;min-height:39px;padding:9px 11px;border:1px solid #d5d5d5;border-radius:7px;background:#f6f6f6;color:#414141;font:inherit;font-size:11px;line-height:1.5;text-overflow:ellipsis}#sender-command-template:focus{outline:none;border-color:#666666;box-shadow:0 0 0 3px #0000000c}#sender-command-template:disabled{opacity:.65}.command-card .sender-template-note{margin:7px 0 18px;font-size:9px;line-height:1.6}

/* A vehicle flag stays readable while its warning background pulses. */
.vehicle-status-section{margin-bottom:22px}
.vehicle-status-section>.card-heading{border-bottom:1px solid #e8e8e8}
.vehicle-status-section>.panel-body{padding-top:16px}
.vehicle-status-summary{margin:0 20px;padding:13px 15px;border:1px solid #dedede;border-radius:8px;background:#f2f2f2;color:#666666;font-size:13px;font-weight:600;line-height:1.6}
.vehicle-status-summary.has-active{background:#fff3c6;border-color:#e1bf62;color:#7e5906}
.vehicle-status-summary.is-clear{background:#edf5ef;border-color:#bed5c5;color:#306447}
.vehicle-status-summary.is-unknown{background:#f2f2f2;border-color:#dedede;color:#666666}
.vehicle-status-summary.is-stale{background:#fff6db;border-color:#dfca8f;color:#805f1b}
.vehicle-status-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 18px;margin:11px 20px 0;font-size:10px;line-height:1.7;color:#757575}
#vehicle-status-raw{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.vehicle-status-note{margin:10px 20px 17px;font-size:10px;line-height:1.8;color:#737373}
.vehicle-status-note.is-stale,.vehicle-status-note.has-active{color:#8c671c}
.vehicle-status-list{display:flex;flex-direction:column}
.vehicle-state-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 20px;border-top:1px solid #e9e9e9;border-left:3px solid transparent;background:#ffffff;min-width:0}
.vehicle-state-label{min-width:0;font-size:12px;font-weight:550;line-height:1.7;color:#414141;overflow-wrap:anywhere}
.vehicle-state-label code,.vehicle-state-code{display:block;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;font-weight:400;color:#7a7a7a;line-height:1.7}
.vehicle-state-value{flex:none;max-width:48%;padding:4px 9px;border-radius:6px;background:#f1f1f1;color:#666666;font-size:11px;font-weight:600;line-height:1.6;text-align:right;overflow-wrap:anywhere}
.vehicle-state-row.is-clear .vehicle-state-value{background:#edf5ef;color:#306447}
.vehicle-state-row.is-unknown .vehicle-state-value{background:#f1f1f1;color:#777777}
.vehicle-state-row.is-active{border-left-color:#d9aa2f;animation:vehicle-warning-pulse 1.6s ease-in-out infinite}
.vehicle-state-row.is-active .vehicle-state-label{color:#6e520c}
.vehicle-state-row.is-active .vehicle-state-value{background:#eec24d;color:#594006}
@keyframes vehicle-warning-pulse{0%,100%{background-color:#fff6d8;border-left-color:#e6c66a}50%{background-color:#ffe8a3;border-left-color:#bd8b0d}}
@media(prefers-reduced-motion:reduce){.vehicle-state-row.is-active{animation:none!important;background:#fff0bf;border-left-color:#d9aa2f}}
@media(max-width:640px){.main-nav{flex-wrap:wrap}.nav-item{flex:1 1 calc(33.333% - 4px);white-space:nowrap}.vehicle-status-section{margin-bottom:15px}.vehicle-status-summary{margin-inline:16px;padding:11px 12px;font-size:12px}.vehicle-status-meta{margin-inline:16px;font-size:9px}.vehicle-status-note{margin-inline:16px;font-size:9px}.vehicle-state-row{padding:12px 16px;gap:12px}.vehicle-state-label{font-size:11px}.vehicle-state-value{font-size:10px;max-width:43%;padding:4px 7px}}

.vehicle-gear{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 20px;padding:20px;margin:0 20px 18px;border:1px solid #ddd;border-radius:9px;background:#f7f7f7}.vehicle-gear h4{margin:0 0 3px;font-size:12px;font-weight:600}.vehicle-gear>strong{font-size:21px;letter-spacing:-.025em;text-align:right;overflow-wrap:anywhere}.vehicle-gear>p{grid-column:1/-1;font-size:10px;color:#737373;line-height:1.7}.vehicle-gear.is-unknown>strong{color:#777}.vehicle-gear.is-stale{border-color:#dccb9c}.vehicle-status-section>.card-heading>div:first-child{min-width:0;flex:1}#vehicle-status-brief{line-height:1.7;overflow-wrap:anywhere}@media(max-width:640px){.vehicle-gear{margin-inline:16px;padding:14px;gap:8px 14px}.vehicle-gear>strong{font-size:17px;max-width:160px}.vehicle-gear>p{font-size:9px}}

.vehicle-status-list.is-stale .vehicle-state-row.is-clear .vehicle-state-value{background:#f1f1f1;color:#777777}

/* Vehicle change history keeps each incoming change group readable. */
.vehicle-history-section{margin-bottom:22px}
.vehicle-history-section>.card-heading{align-items:flex-start;gap:16px}
.vehicle-history-section>.card-heading>div:first-child{flex:1;min-width:0}
.vehicle-history-section>.card-heading h3{line-height:1.55;overflow-wrap:anywhere}
.vehicle-history-section>.card-heading .panel-heading-actions{flex:none;padding-top:1px}
.vehicle-history-info{padding:0 20px 15px;font-size:10px;color:#737373;line-height:1.8}
.vehicle-history-error{margin:0 20px 15px;padding:10px 12px;border:1px solid #e8cda9;border-radius:7px;background:#fff5e8;color:#805a25;font-size:10px;line-height:1.7;overflow-wrap:anywhere}
.vehicle-history-empty{padding:24px 20px 28px}
.vehicle-history-list{max-height:620px;overflow-y:auto;overscroll-behavior:contain}
.vehicle-history-list:empty{display:none}
.vehicle-event{padding:15px 20px;border-top:1px solid #e9e9e9;border-left:3px solid transparent;background:#fff;min-width:0}
.vehicle-event-top{display:flex;align-items:center;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;margin-bottom:8px}
.vehicle-event-kind{display:inline-flex;align-items:center;gap:6px;border-radius:5px;padding:3px 7px;background:#f1f1f1;color:#666;font-size:9px;font-weight:600;line-height:1.6}
.vehicle-event-kind::before{content:"";width:5px;height:5px;border-radius:50%;background:#939393;flex:none}
.vehicle-event-time{color:#7d7d7d;font-size:10px;font-variant-numeric:tabular-nums;line-height:1.7}
.vehicle-event-description,.vehicle-event-change{font-size:12px;color:#414141;line-height:1.8;overflow-wrap:anywhere}
.vehicle-event-change+.vehicle-event-change{margin-top:3px}
.vehicle-event-source{margin-top:8px;color:#858585;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;line-height:1.7;overflow-wrap:anywhere}
.vehicle-event.has-active{border-left-color:#dfbd5e;background:#fffbef}
.vehicle-event.has-active .vehicle-event-kind{background:#fff0bb;color:#805c0d}
.vehicle-event.has-active .vehicle-event-kind::before{background:#c49b2d}
.vehicle-event.is-clear .vehicle-event-kind::before{background:#4d9270}
.vehicle-event.kind-gear{border-left-color:#b9b9b9;background:#fafafa}
.vehicle-event.kind-gear .vehicle-event-kind{background:#e9e9e9;color:#4c4c4c}
.vehicle-event.kind-baseline .vehicle-event-kind{background:#f2f2f2;color:#7b7b7b}
.vehicle-event.kind-unknown{border-left-color:#d5bb7b;background:#fffaf0}

/* Signal availability is an object setting, separate from its live value. */
.vehicle-state-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0;max-width:70%;flex:0 1 auto}
.vehicle-state-actions .vehicle-state-value{min-width:0;max-width:none;flex:0 1 auto}
.vehicle-signal-settings{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:none;border:0;border-radius:6px;padding:5px;background:transparent;color:#8c8c8c}
.vehicle-signal-settings .icon{width:16px;height:16px}
.vehicle-signal-settings:hover{color:#414141;background:#00000008}
.vehicle-signal-settings:focus-visible{outline:2px solid #8a8a8a;outline-offset:2px}
.vehicle-state-row.is-unavailable{animation:none!important;background:#f7f7f7;border-left-color:transparent}
.vehicle-state-row.is-unavailable .vehicle-state-label{color:#666}
.vehicle-state-row.is-unavailable .vehicle-state-value{background:#ededed;color:#777;font-weight:500}
.vehicle-signal-dialog{width:min(500px,calc(100% - 32px))}
.vehicle-signal-options{padding:0;margin:0;border:0;min-width:0}
.vehicle-signal-options legend{font-size:10px;font-weight:600;color:#6f6f6f;margin-bottom:10px;padding:0}
.vehicle-signal-options>label{display:flex;align-items:flex-start;gap:10px;margin:0 0 9px;padding:13px 12px;border:1px solid #dedede;border-radius:8px;background:#f8f8f8;cursor:pointer;font-size:11px;font-weight:500;line-height:1.7}
.vehicle-signal-options>label:hover{border-color:#bdbdbd;background:#f2f2f2}
.vehicle-signal-options input[type=radio]{width:15px;height:15px;flex:none;margin:2px 0 0;padding:0;accent-color:#353535;box-shadow:none}
.vehicle-signal-options>label>span{min-width:0;overflow-wrap:anywhere}
.vehicle-signal-dialog .form-error{margin:12px 0 0}
@media(max-width:640px){.vehicle-history-section{margin-bottom:15px}.vehicle-history-section>.card-heading{gap:10px}.vehicle-history-section>.card-heading h3{font-size:13px}.vehicle-history-info{padding-inline:16px;font-size:9px}.vehicle-history-error{margin-inline:16px;font-size:9px}.vehicle-history-list{max-height:580px}.vehicle-event{padding:13px 16px}.vehicle-event-top{gap:6px 10px}.vehicle-event-time{font-size:9px}.vehicle-event-description,.vehicle-event-change{font-size:11px}.vehicle-event-source{font-size:8px}.vehicle-state-actions{gap:5px;max-width:70%}.vehicle-state-actions .vehicle-state-value{font-size:9px}.vehicle-signal-settings{width:25px;height:27px;padding:4px}.vehicle-signal-dialog{padding:21px 17px}.vehicle-signal-options>label{padding:11px 10px;font-size:10px}}

@media(min-width:641px) and (max-height:850px){.sidebar{padding-top:22px;overflow-y:auto}.sidebar>.brand{margin-bottom:24px;flex-shrink:0}.sidebar>.sidebar-caption{margin-bottom:9px}.main-nav{gap:2px;flex-shrink:0}.nav-item{padding-block:7px;font-size:11px}.sidebar-device-head{margin-top:22px;margin-bottom:10px;flex-shrink:0}.device-list{min-height:90px;max-height:none;flex:1 1 auto}.sidebar-device{flex-shrink:0;padding-block:7px}.sidebar-add,.sidebar-deleted,.sidebar-bottom{flex-shrink:0}.sidebar-bottom{padding-top:16px}.server-link{margin-bottom:12px}.account{padding-top:12px}}

/* Vehicle tools belong to the Automobiles workspace. */
.vehicle-tools{display:flex;flex-direction:column;min-height:0;flex:1}.vehicle-tools .device-list{max-height:none;flex:0 1 auto;min-height:24px}.vehicle-tools .sidebar-device-head,.vehicle-tools .sidebar-add,.vehicle-tools .sidebar-deleted{flex-shrink:0}.vehicle-tabs{display:flex;gap:5px;flex-wrap:wrap;padding:5px;background:#e6e6e6;border:1px solid #dedede;border-radius:10px;margin-bottom:22px;width:fit-content;max-width:100%}.vehicle-tab{background:transparent;border:0;color:#686868;padding:10px 16px;border-radius:7px;font-size:11px;font-weight:550;cursor:pointer}.vehicle-tab:hover{background:#ffffff70;color:#202020}.vehicle-tab.active{background:#fff;color:#181818;box-shadow:0 1px 5px #0000000a}.vehicle-tab:focus-visible{outline:2px solid #888;outline-offset:1px}
@media(max-width:640px){.vehicle-tools{display:block}.vehicle-tools .sidebar-device-head{display:none}.vehicle-tools .device-list{display:flex;max-height:none}.vehicle-tabs{width:100%;flex-wrap:nowrap;overflow-x:auto;gap:2px;padding:4px;margin-bottom:18px}.vehicle-tab{flex-shrink:0;font-size:10px;padding:9px 11px}.main-nav{flex-wrap:nowrap;overflow-x:auto}.main-nav .nav-item{flex:1 0 auto}.vehicle-tools .sidebar-add{position:absolute}.vehicle-tools .sidebar-deleted{margin-bottom:12px}}
.nav-item:not(.active) .nav-active-mark{display:none}

/* Vehicle photos stay separate from the configurable map icon. */
.selected-vehicle-photo{width:152px;height:76px;object-fit:contain;flex:none;border-radius:8px;background:#fff}.selected-vehicle-photo[hidden]{display:none}
@media(max-width:640px){.selected-vehicle-photo{width:112px;height:64px}}
