body[data-scene="workstation"] .twin-app { grid-template-rows: 77px 88px minmax(470px, 1fr) 190px 29px; min-height: 854px; }
.model-caption { position: absolute; top: 53px; left: 17px; display: flex; flex-wrap: wrap; gap: 10px; color: #849eaa; font-size: 9px; max-width: calc(100% - 80px); pointer-events: none; }
.model-caption span:first-child { color: var(--cyan); }
.station-status { display: grid; gap: 11px; }
.station-line { display: grid; grid-template-columns: 6px 54px minmax(0, 1fr); align-items: center; gap: 7px; font-size: 10px; }
.station-line span:last-child { text-align: right; color: var(--muted); }
.station-line.active span:last-child { color: var(--amber); }
.control-chain { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 3px; color: #8ea7b4; font-size: 9px; }
.control-chain svg { width: 12px; height: 12px; color: #466e71; }
.control-chain span:first-child { color: var(--green); }
.control-label { display: flex; justify-content: space-between; margin: 12px 0 6px; color: #a8b7c2; font-size: 10px; }
#model-mode, #recipe { background: #19262f; border: 1px solid #364851; border-radius: 3px; padding: 5px 7px; color: #d1e0e4; max-width: 100%; }
#model-mode { width: 100%; font-size: 10px; }
#pressure { width: 100%; margin: 0; accent-color: var(--cyan); }
.range-labels { display: flex; justify-content: space-between; font-size: 8px; color: var(--muted); }
.emergency { color: #f2a59e; border-color: #694540; }
.emergency[aria-pressed="true"] { background: #692e2c; border-color: #df8a7d; }
.io-status { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 10px; }
.io-bit { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #768d9b; font-size: 8px; background: #18222a; padding: 6px 2px; }
.io-bit.on { color: var(--green); background: #19372e; }
.io-bit i { height: 4px; width: 16px; background: #3f525d; }
.io-bit.on i { background: var(--green); }
#vision-preview { width: 100%; height: auto; aspect-ratio: 21 / 11; display: block; background: #0b1318; border: 1px solid #2a4049; }
.inspection-result { display: flex; justify-content: space-between; color: #91adaf; font-size: 10px; margin-top: 8px; }
.inspection-result b { font-weight: 400; }
body[data-scene="workstation"] .asset-details dt { flex: 0 0 60px; }
body[data-scene="workstation"] .asset-details dd { min-width: 0; overflow-wrap: anywhere; }
.order-controls { display: flex; gap: 8px; align-items: center; }
.order-controls .action { font-size: 10px; min-height: 28px; }
.order-controls select { font-size: 10px; }
.shift-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.shift-title .tool { width: 24px; height: 24px; }
.slot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.slot { height: 24px; border: 1px solid #3a4a54; background: #1c2831; display: grid; place-items: center; font: 9px var(--display); color: #79909d; }
.slot.occupied { color: #a1f1ce; border-color: #4b8a70; background: #204537; }
.slot.pending { border-color: var(--amber); color: var(--amber); }
.scene-label.station-label { border-left: 2px solid var(--green); background: #101d24ef; font-size: 10px; }
.scene-label.station-label.active { border-color: var(--amber); color: #ffe2a8; }
.scene-label.station-label.active::before { background: var(--amber); }
@media (max-width: 1180px) { body[data-scene="workstation"] .app-nav { gap: 12px; } body[data-scene="workstation"] .app-nav a { gap: 5px; font-size: 11px; } .header-right { gap: 7px; } }
@media (max-width: 950px) and (min-width: 681px) { body[data-scene="workstation"] .workspace { grid-template-columns: 160px minmax(0, 1fr); } body[data-scene="workstation"] .left-panel { display: block; } body[data-scene="workstation"] .right-panel { display: none; } body[data-scene="workstation"] .stage-top { flex-wrap: wrap; } body[data-scene="workstation"] .model-caption { top: 84px; } }
@media (max-width: 680px) {
    body[data-scene="workstation"] .twin-app { min-height: 0; }
    body[data-scene="workstation"] .app-nav { gap: 20px; }
    body[data-scene="workstation"] .left-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    body[data-scene="workstation"] .left-panel .panel-section { display: block; }
    body[data-scene="workstation"] .left-panel .panel-section:first-child { grid-column: 1 / -1; }
    body[data-scene="workstation"] .left-panel .panel-section:nth-child(2) { border-right: 1px solid var(--line); }
    body[data-scene="workstation"] .shift-summary { display: block; border-left: 0; border-top: 1px solid var(--line); }
    .task-heading { align-items: flex-start; flex-direction: column; }
    .order-controls { width: 100%; justify-content: space-between; }
    .order-controls select { min-width: 0; flex: 1; }
    .scene-label.station-label { font-size: 8px; max-width: 92px; white-space: normal; padding: 2px 5px; }
    .model-caption { top: 53px; font-size: 8px; }
}