/* Vector instruments: one stroke grammar, semantic resource color, no decorative loops. */
.device-glyph{width:36px;height:36px;display:block;flex-shrink:0;overflow:visible;color:var(--icon-color,#c4baa3);--icon-warning:#d8ad70;pointer-events:none;contain:layout style}.device-glyph [data-p=shell],.device-glyph [data-p=housing]{stroke-opacity:.7}.device-glyph .icon-medium{fill:currentColor;stroke:none}.device-glyph .icon-particle{fill:currentColor;stroke:none}.device-glyph [data-icon-family]{stroke-width:1.25}.device-glyph[data-icon-family=liquid]{--icon-color:#8dafc3}.device-glyph[data-device-icon=raw]{--icon-color:#aaa88a}.device-glyph[data-device-icon=reject]{--icon-color:#baa078}.device-glyph[data-icon-family=gas]{--icon-color:#c4b68d}.device-glyph[data-device-icon=oxygen]{--icon-color:#8fbec2}.device-glyph[data-icon-family=electricity]{--icon-color:#a3c4a9}.device-glyph[data-icon-family=logic]{--icon-color:#b4a4c8}.device-glyph[data-icon-family=separation]{--icon-color:#a4bcc1}.device-glyph[data-icon-family=field]{--icon-color:#b4add0}.device-glyph [data-p=h]{fill:#bdb18d}.device-glyph [data-p=o],.device-glyph [data-p=clean-drop]{fill:#91c0c6}.device-glyph [data-p=grains],.device-glyph [data-p=reject-grain],.device-glyph [data-p=concentrate]{fill:#c6a474}.device-glyph [data-p=heat]{stroke:#c49f7b}.device-glyph .icon-fault-mark{stroke:var(--icon-warning);fill:none;stroke-width:1.5}.device-glyph[data-state=off] [data-p=shell],.device-glyph[data-state=paused]{opacity:.6}.device-glyph[data-output=false] [data-p=out-led],.device-glyph[data-output=false] [data-p=output-led]{fill:none;stroke:currentColor}.device-glyph[data-output=true] [data-p=out-led],.device-glyph[data-output=true] [data-p=output-led]{fill:currentColor}.device-glyph[data-output=invalid] [data-p=out-led]{stroke-dasharray:1 2}
/* Replace equipment codes with recognizable functional silhouettes at every zoom level. */
.card-head{grid-template-columns:38px minmax(0,1fr);column-gap:9px}.card-id.device-icon-slot{width:38px;max-height:none;grid-row:1 / 3;align-self:center;overflow:visible;padding:0}.card-head .device-glyph{width:36px;height:36px}.card-head .card-name{align-self:end}.card-head .node-state{margin-top:-5px}.catalog-symbol{width:34px}.catalog-symbol .device-glyph{width:30px;height:30px}.inspector-device-icon{display:block;flex:0 0 46px;margin-right:4px}.inspector-device-icon .device-glyph{width:44px;height:44px}.inspector-head>div{flex:1}.inspector-head>span.inspector-device-icon{flex:0 0 46px}#placement-preview>.device-glyph{float:left;margin:0 10px 18px 0;width:32px;height:32px}#placement-preview>span{clear:both}.device-glyph[data-schematic=true]{opacity:.7}.catalog-entry:hover .device-glyph[data-schematic=true]{opacity:1}.catalog-entry:hover .device-glyph [data-p=shell],.catalog-entry:hover .device-glyph [data-p=mesh]{stroke-opacity:1;stroke-width:1.5}
#viewport[data-detail=far] .card-head{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:1fr 1fr;padding:8px 12px;column-gap:10px;row-gap:0}#viewport[data-detail=far] .card-id.device-icon-slot{display:block;width:40px;grid-row:1 / 3}#viewport[data-detail=far] .device-glyph{width:40px;height:40px}#viewport[data-detail=far] .card-head .card-name{font-size:18px;width:auto;grid-column:2;grid-row:1;align-self:end}#viewport[data-detail=far] .card-head .node-state{font-size:12px;width:auto;grid-column:2;grid-row:2;margin:0;align-self:start}
/* State transitions stay local to the mechanism; status and values remain legible. */
html[data-motion=full] .card[data-transition=starting] .device-glyph [data-p=bath],html[data-motion=full] .card[data-transition=starting] .device-glyph [data-p=dc]{animation:instrument-prime .32s ease-out both}
html[data-motion=full] .card[data-transition=starting] .device-glyph[data-icon-family=logic] [data-p=scan]{animation:logic-latch .24s steps(3,end) both}
html[data-motion=full] .card[data-transition=stopping] .device-glyph [data-p=arc]{opacity:0}
html[data-motion=full] .card[data-transition=recovered] .device-glyph .icon-fault-mark{animation:interlock-release .45s ease-out}
html[data-motion=full] .card[data-transition=recovered] .node-state{text-decoration:underline;text-decoration-color:#a8c19a;text-underline-offset:3px}
html[data-motion=full] .card[data-inventory-change=in] .bar{background:#93b5c126}
html[data-motion=full] .card[data-inventory-change=out] .bar{background:#b1a58326}
html[data-motion=full] .card .bar i{transition:width .24s cubic-bezier(.2,.7,.3,1)}
html[data-motion=full] .card[data-enter]{animation:plate-deploy .18s ease-out!important}
html[data-motion=full] .card[data-enter=liquid] .ports{animation:hydraulic-open .28s ease-out}
html[data-motion=full] .card[data-enter=logic] .ports{animation:logic-latch .22s steps(3,end)}
html[data-motion=full] .card[data-enter=electrochemistry] .formula{animation:reaction-label .28s ease-out}
#appearance-actions .motion-quality-row{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#b9c2a5;font-size:13px;padding:13px 0 0}.motion-quality-row select{font-size:13px;background:#1a1d18;border-color:#535c46;padding:7px}
/* Separate gestures: a panel translates, a tab reveals, a breakthrough records a fine rule. */
html[data-motion=full] .content-workspace:not([hidden]){animation:workspace-focus .16s ease-out}
html[data-motion=full] .inspector[data-tab=control] [data-inspector-section=control],html[data-motion=full] .inspector[data-tab=history] [data-inspector-section=history]{animation:inspector-focus .14s ease-out}
html[data-motion=full] .tech-node.breakthrough,html[data-motion=full] .el.breakthrough{animation:research-record .7s ease-out!important;box-shadow:none!important;filter:none!important}
.milestone.achieved{position:relative}.milestone.achieved:after{content:'';position:absolute;bottom:5px;left:40px;width:35px;height:1px;background:#9cb08a;opacity:.5}
@keyframes instrument-prime{from{stroke-opacity:.2}to{stroke-opacity:1}}
@keyframes logic-latch{from{opacity:.2}to{opacity:1}}
@keyframes interlock-release{0%{opacity:.8;stroke-dasharray:1 2}100%{opacity:0;stroke-dasharray:1 8}}
@keyframes plate-deploy{from{clip-path:inset(0 0 9% 0);opacity:.5}to{clip-path:inset(0);opacity:1}}
@keyframes hydraulic-open{from{transform:translateY(-2px);opacity:.3}to{transform:translateY(0);opacity:1}}
@keyframes reaction-label{from{letter-spacing:.06em;opacity:.3}to{letter-spacing:normal;opacity:1}}
@keyframes workspace-focus{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@keyframes inspector-focus{from{opacity:.5;transform:translateX(3px)}to{opacity:1;transform:translateX(0)}}
@keyframes research-record{0%{border-bottom-color:#d8ba83}35%{border-bottom-color:#d8ba83}100%{border-bottom-color:inherit}}
html[data-motion=reduced] .device-glyph,html[data-motion=reduced] .card .bar i{transition:none!important;animation:none!important}
@media(prefers-reduced-motion:reduce){.device-glyph,.device-glyph *,.card .bar i{animation:none!important;transition:none!important}}
.device-glyph .icon-packet{stroke:currentColor;stroke-width:.7;fill:currentColor}.device-glyph[data-output=false] .icon-packet{fill:none}#viewport[data-simulation=paused] .device-glyph *{animation-play-state:paused!important}
html[data-motion=full] .device-glyph{transition:opacity .18s ease-out}html[data-motion=full] .device-glyph[data-motion=still] .icon-particle{transition:opacity .14s linear}html[data-motion=reduced] .device-glyph *{transition:none!important}
