/* Requested V19.80.7 fixes; preserve original layouts and animation renderers. */
.panel-telemetry,.valve-command-feedback{font:12px/1.6 system-ui,sans-serif;padding:9px 10px;border:1px solid #52707b;border-radius:6px;color:#c4e5e7;font-variant-numeric:tabular-nums}
.panel-telemetry[data-state=stale]{color:#ffcec4;border-color:#f27969;background:#42232b}
.panel-telemetry[data-state=paused],.valve-command-feedback[data-state=held]{color:#e7d2a4;border-color:#aa9155}
.valve-command-feedback[data-state=moving]{color:#f6d78e;border-color:#e3b756;animation:command-feedback 1.5s ease-in-out infinite}
.valve-command-feedback[data-state=confirmed]{color:#a6dfca;border-color:#589a85}
@keyframes command-feedback{50%{box-shadow:0 0 0 2px #e3b75655}}
html[data-theme-preview=light] :is(.panel-telemetry,.valve-command-feedback){background:#f1eee7;color:#514d46;border-color:#bdb5a8}
html[data-theme-preview=light] .panel-telemetry[data-state=stale]{background:#fff0eb;color:#92291e;border-color:#ba4b39}
html[data-theme-preview=light] .valve-command-feedback[data-state=moving]{background:#fff3d6;color:#805208;border-color:#98732b}
html[data-theme-preview=light] .valve-command-feedback[data-state=confirmed]{background:#eef7f2;color:#205b45;border-color:#6e9d86}
html[data-theme-preview=light] .application-card .image-shade{background:linear-gradient(180deg,transparent 16%,#11171370 45%,#111713e8 100%)!important}
html[data-theme-preview=light] .application-card .application-content{color:#fff!important;text-shadow:0 1px 3px #0006}
html[data-theme-preview=light] .application-card .application-content :is(p,h3,.eyebrow,button,span){color:#fff!important}
html[data-theme-preview=light] :is(.world-vignette,.world-shade){background:linear-gradient(90deg,#f7f5f0ed 0%,#f7f5f080 25%,transparent 53%)!important}
html[data-theme-preview=light] .family-shade{background:linear-gradient(90deg,#f7f5f0ed,transparent 55%)!important}
.hardware-photos figure{display:flex;flex-direction:column;align-items:stretch}
.hardware-photos figure img{display:block;width:100%;height:clamp(280px,37vw,540px);object-fit:contain;object-position:center;background:#0b171b}
html[data-theme-preview=light] .hardware-photos figure img{background:#e8e3da!important;border-color:#d8d2c8}
.hardware-photos figcaption{flex:1}
.visitor-settings-floating{z-index:160!important;max-width:calc(100vw - 32px);right:16px!important;bottom:12px!important}
@media(prefers-reduced-motion:reduce){.valve-command-feedback{animation:none!important}}
html[data-motion=reduced] .valve-command-feedback{animation:none!important}
html[data-theme-preview=light] body :is(.world-vignette,.world-shade){background:linear-gradient(90deg,#f7f5f0ed 0%,#f7f5f080 25%,transparent 53%)!important}
html[data-theme-preview=light] body .family-shade{background:linear-gradient(90deg,#f7f5f0ed,transparent 55%)!important}
body.approved-network-open>.visitor-settings-floating,body.farm-room-active>.visitor-settings-floating{display:none!important}
html[data-theme-preview=light] #panel .asset-alert-status[data-severity=critical]{background:#fff0eb!important;color:#92291e!important;border-color:#ba4b39!important}
html[data-theme-preview=light] #panel .asset-alert-status[data-severity=warning]{background:#fff3d6!important;color:#805208!important;border-color:#98732b!important}
body.city-lab>.visitor-settings-floating,body.challenge-page>.visitor-settings-floating{left:16px!important;right:auto!important}

/* Plan replaces the same right-hand drawer instead of reducing the network twice. */
body.approved-network-open.inspect-open .lab-layout{right:0!important;bottom:0!important}
body.approved-network-open.inspect-open .officer-dock{right:0;top:48px;bottom:0;width:360px;max-width:none;border-radius:0;border:0;border-left:1px solid #476b74;box-shadow:none;z-index:9}
body.approved-network-open .officer-dock>.officer-panel-empty{display:none!important}
body.approved-network-open .officer-dock .context-close{display:none}
#unified-plan-tabs{position:sticky;top:0;z-index:2;padding:12px;background:inherit}
@media(max-width:760px){body.approved-network-open.inspect-open .officer-dock{width:min(44vw,360px);left:auto;top:48px;bottom:0;max-height:none}body.approved-network-open .officer-dock .inspector{padding:10px}}

body.unified-plan .context-mode-switch{display:none!important}

body.farm-room-active .ops-open{display:none!important}
