:root {
  color-scheme: dark;
  --bg: #081015;
  --panel: #10191f;
  --panel-2: #141f26;
  --line: #26353e;
  --line-strong: #344954;
  --text: #e9f0f2;
  --muted: #82939d;
  --accent: #22b88a;
  --accent-strong: #0bd39a;
  --warning: #e9a83a;
  --danger: #e46161;
  --header-h: 72px;
  --footer-h: 28px;
  --left-w: 282px;
  --right-w: 316px;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", sans-serif;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: var(--bg); color: var(--text); }
button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#app-shell { width: 100%; height: 100%; display: grid; grid-template-columns: var(--left-w) 1fr var(--right-w); grid-template-rows: var(--header-h) 1fr var(--footer-h); }
.app-header { grid-column: 1 / -1; display: grid; grid-template-columns: var(--left-w) 1fr var(--right-w); border-bottom: 1px solid var(--line); background: #0d161b; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-right: 1px solid var(--line); }
.brand strong { display: block; font-size: 17px; letter-spacing: .06em; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; letter-spacing: .12em; }
.brand-mark { width: 32px; height: 32px; position: relative; transform: rotate(30deg); }
.brand-mark span { position: absolute; width: 17px; height: 17px; border: 2px solid var(--accent); }
.brand-mark span:nth-child(1) { left: 0; top: 8px; }
.brand-mark span:nth-child(2) { right: 0; top: 0; }
.brand-mark span:nth-child(3) { right: 0; bottom: 0; border-color: #58717d; }
.workflow { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.workflow-step { display: flex; align-items: center; gap: 7px; padding: 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; white-space: nowrap; }
.workflow-step b { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 11px; }
.workflow-step.active { color: var(--text); }
.workflow-step.active b { background: var(--accent); border-color: var(--accent); color: #05110d; }
.workflow i { width: clamp(10px, 2vw, 48px); height: 1px; background: var(--line-strong); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 0 16px; border-left: 1px solid var(--line); }
.save-state { color: var(--muted); font-size: 11px; margin-right: 4px; }
.header-actions button { padding-inline: 9px; }
button { border: 1px solid var(--line-strong); background: #142129; padding: 8px 13px; cursor: pointer; }
button:hover { border-color: #50707e; background: #192a33; }
.primary-button { background: var(--accent); border-color: var(--accent); color: #04110d; font-weight: 700; }
.primary-button:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.ghost-button { background: transparent; }
.panel { background: var(--panel); min-height: 0; overflow: hidden; }
.left-panel { grid-column: 1; grid-row: 2; border-right: 1px solid var(--line); }
.right-panel { grid-column: 3; grid-row: 2; border-left: 1px solid var(--line); }
.panel-heading { min-height: 68px; padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-heading strong { display: block; font-size: 14px; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 210px; }
.project-picker { min-width: 0; flex: 1; }
.project-select { width: 100%; margin-top: 4px; padding: 3px 24px 3px 0; border: 0; background: transparent; color: var(--text); font-size: 13px; font-weight: 700; }
.heading-actions { display: flex; gap: 6px; }
.floor-button { border-radius: 4px; font-size: 11px; }
.kicker { display: block; color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.icon-button { width: 30px; height: 30px; padding: 0; border-radius: 50%; font-size: 19px; }
#step-panel { height: calc(100% - 68px); overflow: auto; padding: 14px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 10px; }
.section-head strong { font-size: 12px; }
.section-head button { padding: 5px 8px; font-size: 11px; }
.floor-list, .asset-list, .binding-list { display: grid; gap: 7px; }
.floor-item, .asset-card, .binding-card { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 1px solid var(--line); background: #0d171c; text-align: left; }
.floor-item.active { border-color: var(--accent); background: #10231e; }
.zone-layer-row { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 5px; }
.zone-layer-row .floor-item { min-width: 0; }
.zone-layer-lock { padding: 5px 2px; font-size: 10px; }
.floor-index { width: 31px; height: 31px; display: grid; place-items: center; background: #192831; color: var(--muted); font-size: 11px; }
.floor-item.active .floor-index { background: var(--accent); color: #04110d; }
.item-copy { min-width: 0; flex: 1; }
.item-copy strong, .item-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-copy strong { font-size: 12px; }
.item-copy span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.floor-item em { font-style: normal; color: var(--muted); font-size: 10px; }
.tip-box { margin-top: 14px; padding: 11px; border-left: 2px solid var(--warning); background: #191a17; color: #b5b4a9; font-size: 11px; line-height: 1.6; }
.zone-types { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.zone-type { display: flex; align-items: center; gap: 7px; padding: 8px; color: #b8c5cb; font-size: 11px; }
.zone-type i { width: 9px; height: 9px; }
.zone-type.active { border-color: var(--accent); color: var(--text); }
.asset-card { cursor: grab; }
.asset-card:active { cursor: grabbing; }
.asset-thumb { width: 42px; height: 34px; display: grid; place-items: center; background: #17272f; border-bottom: 2px solid var(--asset-color, var(--accent)); font-size: 9px; color: #a7b8c0; }
.asset-card small { color: var(--muted); margin-left: auto; font-size: 9px; }
.add-asset { width: 100%; margin-bottom: 10px; border-style: dashed; color: var(--accent); }
.viewport-wrap { grid-column: 2; grid-row: 2; position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #071015; }
#scene { width: 100%; height: 100%; display: block; }
.viewport-topbar, .scene-toolbar, .runtime-badge, .viewport-help { position: absolute; z-index: 5; }
.viewport-topbar { top: 12px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.crumb { padding: 8px 11px; background: rgba(10,18,23,.88); border: 1px solid var(--line); font-size: 11px; pointer-events: auto; }
.crumb span { color: var(--muted); }.crumb b { color: #4b626d; margin: 0 8px; }.crumb strong { color: var(--accent); }
.view-buttons { display: flex; pointer-events: auto; }
.view-buttons button { padding: 7px 10px; font-size: 11px; border-right-width: 0; }
.view-buttons button:last-child { border-right-width: 1px; }
.view-buttons button.active { background: var(--accent); color: #04110d; border-color: var(--accent); }
.scene-toolbar { left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; max-width: calc(100% - 28px); overflow-x: auto; white-space: nowrap; background: rgba(11,20,25,.94); border: 1px solid var(--line); padding: 5px; box-shadow: 0 10px 32px rgba(0,0,0,.3); }
.scene-toolbar button { flex: 0 0 auto; padding: 7px 10px; border-color: transparent; background: transparent; font-size: 11px; }
.scene-toolbar button.active { background: #1c3a33; color: var(--accent-strong); }
.scene-toolbar span { width: 1px; background: var(--line); margin: 3px 5px; }
.inspection-guide { position: absolute; z-index: 6; left: 18px; bottom: 76px; width: min(350px, calc(100% - 36px)); padding: 14px 16px; background: rgba(8, 20, 25, .95); border: 1px solid #2f6c61; box-shadow: 0 14px 35px rgba(0,0,0,.38); pointer-events: none; }
.inspection-guide[hidden] { display: none; }
.inspection-guide small { color: var(--accent-strong); font-size: 10px; letter-spacing: .08em; }
.inspection-guide strong { display: block; margin-top: 5px; font-size: 17px; }
.inspection-guide p { margin: 8px 0; color: #c1d0d2; font-size: 11px; line-height: 1.55; }
.inspection-guide .inspection-status { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); color: #9fb4b8; font-size: 10px; line-height: 1.7; }
.viewport-help { left: 14px; bottom: 16px; max-width: 310px; color: #7f929b; font-size: 10px; }
.plan-compass { display: none; position: absolute; z-index: 5; left: 14px; top: 62px; padding: 6px 9px; background: rgba(10,18,23,.88); border: 1px solid var(--line); color: var(--accent-strong); font-size: 11px; pointer-events: none; }
.plan-compass.visible { display: grid; gap: 4px; }
.runtime-badge { right: 14px; bottom: 16px; padding: 7px 10px; background: rgba(10,18,23,.9); border: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.runtime-badge i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--warning); }
.runtime-badge.live { color: var(--text); border-color: #246c58; }.runtime-badge.live i { background: var(--accent-strong); box-shadow: 0 0 9px var(--accent); }
.right-heading .object-type { padding: 4px 7px; background: #18262d; color: var(--muted); font-size: 9px; }
#inspector { height: calc(100% - 68px); overflow: auto; padding: 15px; }
.inspector-empty { display: grid; place-items: center; align-content: center; text-align: center; color: var(--muted); }
.inspector-empty strong { color: #b9c5ca; font-size: 13px; }.inspector-empty p { max-width: 220px; font-size: 11px; line-height: 1.6; }
.empty-icon { width: 56px; height: 44px; border: 1px dashed #39505b; margin-bottom: 15px; position: relative; }
.empty-icon::after { content: ""; position: absolute; width: 20px; height: 20px; left: 17px; top: 11px; border: 1px solid #39505b; transform: rotate(30deg); }
.inspector-section { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.inspector-section h3 { margin: 0 0 11px; font-size: 11px; color: var(--muted); font-weight: 600; }
.inspector-apply { display: block; width: 100%; margin-top: 10px; }
.field, .wide-field { display: grid; gap: 5px; margin-bottom: 10px; }
.field span, .wide-field span, .form-grid label span { color: var(--muted); font-size: 10px; }
input, select { width: 100%; border: 1px solid var(--line-strong); background: #0b1419; color: var(--text); padding: 8px 9px; }
.coord-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.coord-grid label span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 9px; }
.danger-button { width: 100%; border-color: #603838; color: #ee9090; background: #211517; }
.binding-row { display: grid; grid-template-columns: 1fr 18px 1fr; align-items: center; gap: 5px; margin-bottom: 6px; font-size: 10px; }
.binding-row b { text-align: center; color: var(--accent); }
.telemetry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.telemetry-card { padding: 9px; background: #0c161b; border: 1px solid var(--line); }
.telemetry-card span { display: block; color: var(--muted); font-size: 9px; }.telemetry-card strong { display: block; margin-top: 5px; font-size: 13px; }
.warehouse-flow { display:flex; align-items:center; gap:5px; overflow-x:auto; padding:9px 0 4px; color:#63777f; font-size:9px; white-space:nowrap; }
.warehouse-flow span { padding:5px 7px; border:1px solid #33474f; background:#101d22; }
.warehouse-flow span.active { color:#dffcf1; border-color:#28b884; background:#12382c; box-shadow:0 0 0 1px rgba(40,184,132,.15) inset; }
.warehouse-flow i { color:#52666d; font-style:normal; }
.statusbar { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; gap: 18px; padding: 0 12px; border-top: 1px solid var(--line); background: #0a1217; color: #71848d; font-size: 9px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; }.status-dot.online { background: var(--accent); }
.status-spacer { flex: 1; }
.studio-dialog { width: min(760px, calc(100vw - 32px)); border: 1px solid var(--line-strong); padding: 0; background: #111c22; color: var(--text); box-shadow: 0 24px 90px rgba(0,0,0,.65); }
.studio-dialog[open] { display: block; position: fixed; inset: 50% auto auto 50%; transform: translate(-50%, -50%); z-index: 90; max-height: calc(100vh - 32px); overflow: auto; }
.modal-open::after { content: ""; position: fixed; inset: 0; z-index: 80; background: rgba(2,7,10,.76); backdrop-filter: blur(4px); }
.studio-dialog::backdrop { background: rgba(2,7,10,.76); backdrop-filter: blur(4px); }
.studio-dialog form { padding: 22px; }
.studio-dialog header { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.studio-dialog h2 { margin: 6px 0 5px; font-size: 20px; }.studio-dialog header p { margin: 0; color: var(--muted); font-size: 11px; }
.dialog-close { border: 0; background: transparent; font-size: 25px; padding: 0 6px; color: var(--muted); }
.floor-count-row { display: flex; align-items: center; gap: 14px; margin: 14px 0; font-size: 12px; }.floor-count-row small { color: var(--muted); }
.stepper { display: flex; align-items: center; }.stepper button { width: 30px; height: 30px; padding: 0; }.stepper strong { display: grid; place-items: center; width: 38px; height: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.floor-form-list { display: grid; gap: 8px; max-height: 300px; overflow: auto; }
.floor-form-row { display: grid; grid-template-columns: 46px minmax(150px, 1.35fr) minmax(145px, 1.15fr) repeat(3, minmax(86px, .72fr)); gap: 8px; align-items: end; padding: 10px; background: #0c151a; border: 1px solid var(--line); }
.floor-form-row strong { align-self: center; font-size: 12px; }.floor-form-row label span { display: block; color: var(--muted); font-size: 9px; margin-bottom: 4px; }
.facility-actions,.route-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.floor-appearance { display: grid; gap: 8px; margin-bottom: 12px; padding: 9px; border: 1px solid var(--line); background: #0c151a; }
.floor-appearance label { display: grid; gap: 4px; }.floor-appearance label > span { color: var(--muted); font-size: 9px; }
.floor-appearance select { width: 100%; }.color-field { display: grid; grid-template-columns: 42px 1fr; gap: 7px; align-items: center; }
.color-field input[type="color"] { width: 42px; height: 28px; padding: 2px; }.color-field code { color: #a9bbc3; font-size: 9px; }
.floor-appearance .toggle-field { display: flex; align-items: center; gap: 7px; }.floor-appearance .toggle-field input { width: auto; }
.route-actions { grid-template-columns: 1fr; }
.facility-actions button,.route-actions button { position: relative; padding: 8px; text-align: left; font-size: 10px; }
.route-actions button { border-left: 3px solid var(--route-color); }
.facility-list,.route-list { display: grid; gap: 5px; margin-bottom: 10px; }
.facility-item,.route-item { display: grid; grid-template-columns: 7px 1fr; gap: 8px; align-items: center; padding: 7px 8px; border: 1px solid var(--line); background: #0c151a; }
.route-item { width: 100%; color: var(--text); text-align: left; }.route-item:hover,.route-item.active { border-color: var(--accent); background: #10252a; }
.facility-item i,.route-item i { width: 7px; height: 22px; }.facility-item strong,.route-item strong { display: block; font-size: 10px; }.facility-item small,.route-item small { color: var(--muted); font-size: 9px; }
.route-quick-edit { display: grid; gap: 7px; margin: 0 0 10px; padding: 9px; border: 1px solid #31515c; background: #0d1a20; }
.route-quick-edit > strong { color: var(--accent); font-size: 10px; }.route-quick-edit > small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.route-orientation { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }.route-orientation button { padding: 6px 4px; font-size: 9px; }
.route-orientation .primary-button { grid-column: span 2; }.route-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.route-metrics label { display: grid; gap: 4px; }.route-metrics span { color: var(--muted); font-size: 8px; }.route-metrics input { min-width: 0; padding: 6px; }
.marking-options { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 3px; }
.marking-options label { display: flex; align-items: center; gap: 6px; padding: 6px; border: 1px solid var(--line); background: #0a1419; color: #b9c7cc; font-size: 9px; cursor: pointer; }
.marking-options input { width: auto; accent-color: var(--accent); }
.planning-audit { padding: 9px; border: 1px solid var(--line); background: #0c151a; }.planning-audit > strong { font-size: 10px; }.planning-audit p { margin: 7px 0 0; padding-left: 8px; border-left: 2px solid #e9a83a; color: #b8c5cb; font-size: 9px; line-height: 1.45; }.planning-audit p.error { border-color: #e46161; }.planning-audit p.ok { border-color: var(--accent); }
.inspector-hint { margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.rack-storage .inspector-hint { margin: -4px 0 10px; }
.storage-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 9px; }
.storage-summary span { display: flex; justify-content: space-between; padding: 6px 7px; border: 1px solid var(--line); background: #0b151a; color: var(--muted); font-size: 9px; }
.storage-summary b { color: var(--text); }
.storage-matrix { display: grid; gap: 4px; margin-bottom: 9px; }
.storage-level,.storage-column-axis { display: grid; grid-template-columns: 30px repeat(3, 1fr); gap: 4px; align-items: stretch; }
.storage-level > b { display: grid; place-items: center; color: #7f929b; font-size: 8px; }
.storage-slot { min-width: 0; padding: 6px 3px; border: 1px solid #41525a; background: #26343a; text-align: center; }
.storage-slot span,.storage-slot strong { display: block; font-size: 8px; }
.storage-slot strong { margin-top: 3px; color: #e7efed; font-size: 9px; }
.storage-slot.normal { background: #173d30; border-color: #2d8e68; }
.storage-slot.empty { background: #2a3438; border-color: #55646a; }
.storage-slot.low-stock { background: #4b3b18; border-color: #c99624; }
.storage-slot.out-of-stock,.storage-slot.error { background: #4d2020; border-color: #d64d4d; }
.storage-slot.reserved-in { background: #173b54; border-color: #368bca; }
.storage-slot.reserved-out { background: #4e3017; border-color: #da7c2d; }
.storage-slot.active { box-shadow: 0 0 0 2px #d9fff2 inset; }
.storage-column-axis span { color: #70838b; text-align: center; font-size: 8px; }
.storage-detail { margin: 9px 0; padding: 9px; border: 1px solid #35505a; background: #0b151a; }
.storage-detail strong { font-size: 10px; }.storage-detail em { float: right; color: var(--accent); font-size: 9px; font-style: normal; }
.storage-detail p { margin: 6px 0 0; color: #9fb0b5; font-size: 9px; line-height: 1.55; }
.secondary-button { padding: 8px 10px; border: 1px solid #3c6972; background: #13282d; color: #bde7df; cursor: pointer; }
.secondary-button:hover { border-color: var(--accent); color: #ecfffb; }
.secondary-button:disabled,.primary-button:disabled { cursor: not-allowed; opacity: 0.45; }
.studio-dialog footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.compact-dialog { width: min(620px, calc(100vw - 32px)); }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.form-grid label { display: grid; gap: 5px; }
.file-drop { display: grid; place-items: center; padding: 22px; border: 1px dashed #46606c; margin-bottom: 15px; cursor: pointer; }.file-drop input { display: none; }.file-drop strong { color: var(--accent); }.file-drop span { color: var(--muted); font-size: 10px; margin-top: 5px; }
.history-summary { display: flex; gap: 8px; margin-bottom: 12px; }
.history-summary span { padding: 7px 9px; border: 1px solid var(--line); background: #0c151a; color: var(--muted); font-size: 10px; }
.history-tabs { display: flex; border-bottom: 1px solid var(--line); }
.history-tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 11px; }
.history-tabs button.active { border-bottom-color: var(--accent); color: var(--accent); }
.history-list { max-height: 330px; overflow: auto; padding-top: 8px; }
.history-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 10px; border-bottom: 1px solid var(--line); }
.history-item b { color: var(--accent); font-size: 12px; }.history-item strong { display: block; font-size: 11px; }.history-item small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.history-item button { padding: 5px 8px; font-size: 9px; }
#toast { position: fixed; left: 50%; bottom: 48px; transform: translate(-50%, 18px); z-index: 100; padding: 9px 13px; background: #17262d; border: 1px solid #3b515b; color: var(--text); font-size: 11px; opacity: 0; pointer-events: none; transition: .2s; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.dashboard-overlay { position:absolute; inset:58px 14px 14px; z-index:4; display:none; pointer-events:none; }
.dashboard-overlay.visible { display:block; }
.dashboard-kpi-strip { display:grid; grid-template-columns:repeat(8,minmax(72px,1fr)); gap:6px; }
.dashboard-kpi { min-width:0; padding:7px 9px; background:rgba(11,20,25,.86); border-top:2px solid var(--accent); backdrop-filter:blur(6px); }
.dashboard-kpi span { display:block; overflow:hidden; color:var(--muted); font-size:8px; white-space:nowrap; text-overflow:ellipsis; }
.dashboard-kpi strong { display:block; overflow:hidden; margin-top:3px; font-size:14px; line-height:1.1; white-space:nowrap; text-overflow:ellipsis; }
.dashboard-kpi small { margin-left:2px; color:#69808a; font-size:8px; }
.inbound-order-board { position:absolute; left:50%; bottom:48px; width:min(680px,calc(100% - 20px)); transform:translateX(-50%); background:rgba(8,18,22,.94); border:1px solid #29434b; box-shadow:0 12px 36px rgba(0,0,0,.38); pointer-events:auto; backdrop-filter:blur(8px); }
.inbound-order-toggle { display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; gap:12px; align-items:center; width:100%; min-height:40px; padding:8px 11px; border:0; background:transparent; color:#dffcf1; text-align:left; }
.inbound-order-toggle > span { color:#55d9ad; font-size:10px; font-weight:700; white-space:nowrap; }
.inbound-order-toggle > strong { overflow:hidden; font-size:10px; font-weight:600; white-space:nowrap; text-overflow:ellipsis; }
.inbound-order-toggle > small { color:#7f969f; font-size:9px; white-space:nowrap; }
.inbound-order-toggle > i { color:#7f969f; font-size:9px; font-style:normal; }
.inbound-order-toggle:hover { background:rgba(45,190,141,.08); }
.inbound-order-list { display:none; max-height:190px; overflow:auto; padding:0 11px 8px; border-top:1px solid #20343b; }
.inbound-order-board.expanded .inbound-order-list { display:block; }
.inbound-order-row { display:grid; grid-template-columns:120px 1fr 1.5fr 58px; gap:10px; align-items:center; padding:7px 0; border-top:1px solid #20343b; font-size:9px; color:#a9bac0; }
.inbound-order-row b { color:#55d9ad; }.inbound-order-row em { color:#e8b755; font-style:normal; text-align:right; }
.inbound-order-row.running em { color:#48aef0; }.inbound-order-row.completed { opacity:.58; }.inbound-order-row.completed em { color:#55d9ad; }.inbound-order-row.failed em { color:#ef6767; }
@media (max-width:1100px) { :root { --left-w:240px; --right-w:270px; }.workflow-step span { display:none; }.workflow i { width:16px; }.dashboard-kpi-strip { grid-template-columns:repeat(4,1fr); }.inbound-order-row { grid-template-columns:108px 1fr 58px; }.inbound-order-row span:nth-of-type(2) { display:none; } }
@media (max-width: 780px) { :root { --left-w: 210px; --right-w: 0px; }.right-panel { display: none; }.app-header { grid-template-columns: var(--left-w) 1fr; }.header-actions { position: fixed; right: 8px; bottom: 34px; z-index: 30; display: flex; padding: 5px; border: 1px solid var(--line); background: rgba(10,18,23,.96); }.header-actions .save-state { display: none; }.workflow { justify-content: flex-end; padding-right: 12px; }.viewport-help { display: none; } }

body.standalone-dashboard { --header-h: 64px; --footer-h: 0px; }
body.standalone-dashboard #app-shell { grid-template-columns: 1fr; grid-template-rows: var(--header-h) 1fr; }
body.standalone-dashboard .app-header { grid-column: 1; grid-row: 1; grid-template-columns: 300px 1fr auto; background:linear-gradient(90deg,#0b171c,#10242a 55%,#0b171c); }
body.standalone-dashboard .brand { border-right:0; }
body.standalone-dashboard .workflow,
body.standalone-dashboard .left-panel,
body.standalone-dashboard .right-panel,
body.standalone-dashboard .statusbar,
body.standalone-dashboard .save-state,
body.standalone-dashboard #project-history,
body.standalone-dashboard #save-project,
body.standalone-dashboard #publish-project { display:none; }
body.standalone-dashboard .header-actions { grid-column:3; border-left:0; }
body.standalone-dashboard .viewport-wrap { grid-column:1; grid-row:2; }
body.standalone-dashboard .scene-toolbar > * { display:none; }
body.standalone-dashboard .scene-toolbar #focus-selected,
body.standalone-dashboard .scene-toolbar #follow-selected,
body.standalone-dashboard .scene-toolbar #auto-inspection,
body.standalone-dashboard .scene-toolbar #standalone-inbound { display:block; }
body.standalone-dashboard .scene-toolbar { bottom:18px; }
body.standalone-dashboard .dashboard-overlay { top:64px; }
body.standalone-dashboard .inbound-order-board { bottom:54px; width:min(760px,calc(100% - 28px)); }
body.standalone-dashboard .viewport-topbar { top:12px; }
body.standalone-dashboard .viewport-help { bottom:18px; }
@media (max-width:780px) { .dashboard-kpi-strip { grid-template-columns:repeat(4,1fr); }.dashboard-kpi:nth-child(n+5) { display:none; }.inbound-order-board { bottom:52px; }.inbound-order-toggle { grid-template-columns:auto minmax(0,1fr) auto; }.inbound-order-toggle > small { display:none; } }

/* Guangshen showroom presentation layer ----------------------------------- */
.showroom-masthead,
.showroom-system-state,
.showroom-brand-mark { display: none; }

body.standalone-dashboard {
  --header-h: 82px;
  --showroom-bg: #060b0e;
  --showroom-surface: rgba(10, 21, 26, .88);
  --showroom-surface-strong: rgba(13, 28, 34, .96);
  --showroom-line: rgba(112, 165, 174, .2);
  --showroom-line-strong: rgba(115, 210, 195, .5);
  --showroom-text: #edf8f6;
  --showroom-muted: #819ba0;
  --showroom-accent: #57d3b6;
  --showroom-accent-soft: rgba(87, 211, 182, .12);
  --showroom-brand-red: #ed1c24;
  --font-ui: "Microsoft YaHei UI", "Source Han Sans SC", sans-serif;
  --font-data: Bahnschrift, "DIN Alternate", "Microsoft YaHei UI", sans-serif;
  background: var(--showroom-bg);
  color: var(--showroom-text);
  font-family: var(--font-ui);
}

body.standalone-dashboard #app-shell {
  grid-template-columns: 1fr;
  grid-template-rows: var(--header-h) 1fr;
  background: var(--showroom-bg);
}

body.standalone-dashboard .app-header {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: 320px minmax(360px, 1fr) 300px;
  border-bottom: 1px solid var(--showroom-line-strong);
  background:
    linear-gradient(90deg, rgba(237, 28, 36, .08), transparent 22%),
    linear-gradient(180deg, #101c21 0%, #0a1418 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .34);
}

body.standalone-dashboard .app-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--showroom-brand-red), rgba(237, 28, 36, 0) 20%, var(--showroom-accent) 58%, rgba(87, 211, 182, 0));
  opacity: .72;
}

body.standalone-dashboard .brand {
  gap: 13px;
  padding: 0 24px;
  border-right: 1px solid var(--showroom-line);
}

body.standalone-dashboard .brand-mark { display: none; }
body.standalone-dashboard .showroom-brand-mark {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(237, 28, 36, .22));
}

body.standalone-dashboard[data-showroom-theme="gallery"] .showroom-brand-mark {
  content: url("/assets/guangshen-brand-mark-v2-light.png");
}

body.standalone-dashboard .brand strong {
  color: #fff;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: .18em;
}

body.standalone-dashboard .brand small {
  margin-top: 5px;
  color: #788f94;
  font-family: var(--font-data);
  font-size: 9px;
  letter-spacing: .16em;
}

body.standalone-dashboard .showroom-masthead {
  position: relative;
  display: grid;
  place-content: center;
  min-width: 0;
  text-align: center;
}

body.standalone-dashboard .showroom-masthead::before,
body.standalone-dashboard .showroom-masthead::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(32px, 7vw, 120px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(87, 211, 182, .5));
}
body.standalone-dashboard .showroom-masthead::before { left: calc(50% - 250px); }
body.standalone-dashboard .showroom-masthead::after { right: calc(50% - 250px); transform: rotate(180deg); }
body.standalone-dashboard .showroom-eyebrow {
  color: var(--showroom-accent);
  font-family: var(--font-data);
  font-size: 9px;
  letter-spacing: .24em;
}
body.standalone-dashboard .showroom-masthead strong {
  margin-top: 4px;
  font-size: clamp(17px, 1.45vw, 23px);
  font-weight: 650;
  letter-spacing: .2em;
  text-indent: .2em;
}
body.standalone-dashboard .showroom-masthead small {
  margin-top: 4px;
  color: var(--showroom-muted);
  font-size: 10px;
  letter-spacing: .12em;
}

body.standalone-dashboard .header-actions {
  grid-column: 3;
  gap: 12px;
  padding: 0 22px;
  border-left: 1px solid var(--showroom-line);
}
body.standalone-dashboard .showroom-system-state {
  display: grid;
  grid-template-columns: 8px auto;
  gap: 2px 8px;
  align-items: center;
  margin-right: auto;
}
body.standalone-dashboard .showroom-system-state i {
  grid-row: 1 / 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--showroom-accent);
  box-shadow: 0 0 0 4px rgba(87, 211, 182, .08), 0 0 14px rgba(87, 211, 182, .5);
  animation: showroom-pulse 2.4s ease-in-out infinite;
}
body.standalone-dashboard .showroom-system-state span {
  color: #9fb5b8;
  font-size: 10px;
}
body.standalone-dashboard .showroom-system-state time {
  color: #eef9f7;
  font-family: var(--font-data);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}
body.standalone-dashboard #toggle-runtime {
  min-width: 82px;
  border-color: rgba(87, 211, 182, .42);
  background: rgba(87, 211, 182, .1);
  color: #c8fff1;
  font-size: 11px;
}
body.standalone-dashboard #toggle-runtime:hover {
  background: rgba(87, 211, 182, .18);
  border-color: var(--showroom-accent);
}

body.standalone-dashboard .viewport-wrap {
  grid-column: 1;
  grid-row: 2;
  background: #050a0d;
}
body.standalone-dashboard .viewport-wrap::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 12, 15, .34), transparent 24%, transparent 72%, rgba(5, 10, 13, .4)),
    repeating-linear-gradient(0deg, rgba(139, 219, 207, .018) 0, rgba(139, 219, 207, .018) 1px, transparent 1px, transparent 4px);
}
body.standalone-dashboard .viewport-wrap::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 110px rgba(0, 0, 0, .5);
}

body.standalone-dashboard .dashboard-overlay {
  top: 0;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 5;
  font-family: var(--font-ui);
}
body.standalone-dashboard .dashboard-overlay.visible { animation: showroom-enter .55s cubic-bezier(.2, .8, .2, 1) both; }

body.standalone-dashboard .dashboard-kpi-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(96px, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--showroom-line);
  border-top: 1px solid rgba(87, 211, 182, .32);
  border-bottom: 1px solid rgba(87, 211, 182, .22);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .2);
}
body.standalone-dashboard .dashboard-kpi-strip::before,
body.standalone-dashboard .dashboard-kpi-strip::after {
  content: "";
  position: absolute;
  top: -1px;
  width: 48px;
  height: 2px;
  background: var(--showroom-accent);
}
body.standalone-dashboard .dashboard-kpi-strip::before { left: 0; }
body.standalone-dashboard .dashboard-kpi-strip::after { right: 0; }
body.standalone-dashboard .dashboard-kpi {
  position: relative;
  min-width: 0;
  min-height: 72px;
  padding: 12px 14px 10px;
  border: 0;
  background: linear-gradient(180deg, rgba(12, 27, 33, .95), rgba(8, 18, 23, .84));
  backdrop-filter: blur(12px);
}
body.standalone-dashboard .dashboard-kpi::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--kpi-accent, rgba(87, 211, 182, .42));
  transform: scaleX(.42);
  transform-origin: left;
  transition: transform .35s ease-out;
}
body.standalone-dashboard .dashboard-kpi:hover::after { transform: scaleX(1); }
body.standalone-dashboard .dashboard-kpi.tone-primary { --kpi-accent: #55d9c0; }
body.standalone-dashboard .dashboard-kpi.tone-success { --kpi-accent: #55d9a6; }
body.standalone-dashboard .dashboard-kpi.tone-warning { --kpi-accent: #e6b85c; }
body.standalone-dashboard .dashboard-kpi.tone-danger { --kpi-accent: #ec6167; }
body.standalone-dashboard .dashboard-kpi > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8da4a8;
  font-size: 10px;
  letter-spacing: .08em;
}
body.standalone-dashboard .dashboard-kpi > span b {
  color: #496268;
  font-family: var(--font-data);
  font-size: 8px;
  font-weight: 500;
}
body.standalone-dashboard .dashboard-kpi strong {
  display: block;
  margin-top: 6px;
  color: var(--showroom-text);
  font-family: var(--font-data);
  font-size: clamp(19px, 1.7vw, 27px);
  font-weight: 560;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
body.standalone-dashboard .dashboard-kpi small {
  margin-left: 5px;
  color: #738c91;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 500;
}

body.standalone-dashboard .dashboard-side {
  position: absolute;
  top: 112px;
  width: 230px;
  padding: 16px;
  border: 1px solid var(--showroom-line);
  background: linear-gradient(145deg, var(--showroom-surface-strong), rgba(7, 16, 20, .76));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .25);
  backdrop-filter: blur(14px);
}
body.standalone-dashboard .dashboard-side::before {
  content: "";
  position: absolute;
  top: -1px;
  width: 54px;
  height: 2px;
  background: var(--showroom-accent);
}
body.standalone-dashboard .dashboard-side-production { left: 0; }
body.standalone-dashboard .dashboard-side-warehouse { right: 0; }
body.standalone-dashboard .dashboard-side-production::before { left: -1px; }
body.standalone-dashboard .dashboard-side-warehouse::before { right: -1px; }
body.standalone-dashboard .dashboard-side header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--showroom-line);
}
body.standalone-dashboard .dashboard-side header span {
  grid-column: 1;
  color: var(--showroom-accent);
  font-family: var(--font-data);
  font-size: 8px;
  letter-spacing: .2em;
}
body.standalone-dashboard .dashboard-side header strong {
  grid-column: 1;
  margin-top: 3px;
  font-size: 14px;
  letter-spacing: .08em;
}
body.standalone-dashboard .state-dot {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--showroom-accent);
  box-shadow: 0 0 12px rgba(87, 211, 182, .55);
}
body.standalone-dashboard .state-dot.is-alarm { background: #ec6167; box-shadow: 0 0 12px rgba(236, 97, 103, .55); }
body.standalone-dashboard .state-dot.is-warning { background: #e0a83c; box-shadow: 0 0 12px rgba(224, 168, 60, .58); }
body.standalone-dashboard .radial-meter {
  position: relative;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  margin: 18px auto;
  border-radius: 50%;
  background: conic-gradient(var(--showroom-accent) calc(var(--meter) * 1%), rgba(78, 105, 111, .2) 0);
  box-shadow: 0 0 24px rgba(87, 211, 182, .08);
}
body.standalone-dashboard .radial-meter::before {
  content: "";
  position: absolute;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: #0b171c;
  box-shadow: inset 0 0 0 1px rgba(120, 164, 169, .18);
}
body.standalone-dashboard .radial-meter div { position: relative; z-index: 1; text-align: center; }
body.standalone-dashboard .radial-meter strong {
  display: block;
  font-family: var(--font-data);
  font-size: 30px;
  font-weight: 560;
  font-variant-numeric: tabular-nums;
}
body.standalone-dashboard .radial-meter small { color: var(--showroom-muted); font-size: 9px; letter-spacing: .1em; }
body.standalone-dashboard .dashboard-side dl { display: grid; gap: 1px; margin: 0; background: var(--showroom-line); }
body.standalone-dashboard .dashboard-side dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 8px 10px;
  background: rgba(8, 18, 22, .92);
}
body.standalone-dashboard .dashboard-side dt { color: var(--showroom-muted); font-size: 10px; }
body.standalone-dashboard .dashboard-side dd {
  margin: 0;
  color: var(--showroom-text);
  font-family: var(--font-data);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
body.standalone-dashboard .dashboard-side dd small { color: var(--showroom-muted); font-family: var(--font-ui); font-size: 8px; }
body.standalone-dashboard .dashboard-side .status-copy { max-width: 112px; overflow: hidden; color: #b8cbc9; font-family: var(--font-ui); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
body.standalone-dashboard .dashboard-alarm-notice {
  margin: 12px 0 2px;
  padding: 10px;
  border: 1px solid rgba(236, 65, 73, .5);
  background: linear-gradient(135deg, rgba(124, 12, 18, .56), rgba(56, 7, 12, .42));
  box-shadow: inset 3px 0 0 #ec4149, 0 8px 22px rgba(80, 0, 5, .16);
}
body.standalone-dashboard .dashboard-alarm-notice b,
body.standalone-dashboard .dashboard-alarm-notice strong,
body.standalone-dashboard .dashboard-alarm-notice p,
body.standalone-dashboard .dashboard-alarm-notice small { display: block; }
body.standalone-dashboard .dashboard-alarm-notice b { color: #ff858a; font-family: var(--font-data); font-size: 8px; letter-spacing: .08em; }
body.standalone-dashboard .dashboard-alarm-notice strong { margin-top: 4px; color: #fff; font-size: 11px; }
body.standalone-dashboard .dashboard-alarm-notice p { margin: 4px 0 0; color: #f3c8ca; font-size: 9px; line-height: 1.5; }
body.standalone-dashboard .dashboard-alarm-notice small { margin-top: 4px; color: #d99da0; font-size: 8px; }
body.standalone-dashboard .dashboard-alarm-notice.storage-alert {
  border-color: rgba(224, 168, 60, .5);
  background: linear-gradient(135deg, rgba(111, 70, 8, .48), rgba(54, 33, 5, .36));
  box-shadow: inset 3px 0 0 #e0a83c, 0 8px 22px rgba(65, 39, 0, .12);
}
body.standalone-dashboard .dashboard-alarm-notice.storage-alert b { color: #f1c86d; }
body.standalone-dashboard .dashboard-alarm-notice.storage-alert p { color: #dfcfad; }
body.standalone-dashboard .utilization-copy { display: flex; align-items: end; justify-content: space-between; margin: 22px 0 10px; }
body.standalone-dashboard .utilization-copy span { color: var(--showroom-muted); font-size: 10px; }
body.standalone-dashboard .utilization-copy strong { font-family: var(--font-data); font-size: 28px; font-weight: 560; }
body.standalone-dashboard .utilization-copy small { margin-left: 3px; color: var(--showroom-muted); font-size: 9px; }
body.standalone-dashboard .linear-meter { height: 7px; margin-bottom: 22px; overflow: hidden; background: rgba(76, 101, 106, .22); }
body.standalone-dashboard .linear-meter i { display: block; width: calc(var(--meter) * 1%); height: 100%; background: linear-gradient(90deg, #2b8876, var(--showroom-accent)); box-shadow: 0 0 14px rgba(87, 211, 182, .34); }

body.standalone-dashboard .viewport-topbar {
  top: 98px;
  right: auto;
  left: 50%;
  z-index: 7;
  transform: translateX(-50%);
}
body.standalone-dashboard .viewport-topbar .crumb { display: none; }
body.standalone-dashboard .view-buttons {
  padding: 3px;
  border: 1px solid var(--showroom-line);
  background: rgba(7, 16, 20, .78);
  backdrop-filter: blur(12px);
}
body.standalone-dashboard .view-buttons button {
  min-height: 32px;
  padding: 7px 14px;
  border: 0;
  background: transparent;
  color: #789197;
}
body.standalone-dashboard .view-buttons button.active {
  background: var(--showroom-accent-soft);
  color: #ccfff3;
}

body.standalone-dashboard .scene-toolbar {
  top: 142px;
  bottom: auto;
  z-index: 9;
  gap: 3px;
  padding: 5px;
  border: 1px solid var(--showroom-line);
  background: rgba(7, 16, 20, .9);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .36), 0 0 0 1px rgba(255, 255, 255, .025) inset;
  backdrop-filter: blur(14px);
}
body.standalone-dashboard .scene-toolbar::before {
  content: "场景操作";
  align-self: center;
  padding: 0 8px 0 6px;
  border-right: 1px solid var(--showroom-line);
  color: var(--showroom-muted);
  font-family: var(--font-data);
  font-size: 8px;
  letter-spacing: .12em;
  white-space: nowrap;
}
body.standalone-dashboard .scene-toolbar button {
  min-height: 38px;
  padding: 8px 14px;
  color: #a7babd;
  font-size: 10px;
}
body.standalone-dashboard .scene-toolbar button:hover {
  background: var(--showroom-accent-soft);
  color: #e1fff8;
}
body.standalone-dashboard .runtime-badge {
  right: 18px;
  bottom: 18px;
  padding: 8px 11px;
  border-color: var(--showroom-line);
  background: rgba(7, 16, 20, .86);
  color: #8da4a8;
  font-size: 9px;
  letter-spacing: .08em;
  backdrop-filter: blur(10px);
}
body.standalone-dashboard .runtime-badge.live { border-color: rgba(87, 211, 182, .35); }
body.standalone-dashboard .runtime-badge.live i { background: var(--showroom-accent); box-shadow: 0 0 10px rgba(87, 211, 182, .6); }
body.standalone-dashboard .viewport-help { left: 18px; bottom: 22px; color: #5d767b; font-size: 9px; letter-spacing: .05em; }

body.standalone-dashboard .inbound-order-board {
  bottom: 68px;
  width: min(720px, calc(100% - 540px));
  overflow: hidden;
  border: 1px solid var(--showroom-line);
  background: var(--showroom-surface-strong);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .32);
  backdrop-filter: blur(16px);
}
body.standalone-dashboard .inbound-order-toggle {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  min-height: 46px;
  padding: 10px 14px;
}
body.standalone-dashboard .inbound-order-toggle > span { color: #c7fff2; font-size: 10px; }
body.standalone-dashboard .inbound-order-toggle > span b { margin-right: 8px; color: var(--showroom-accent); font-family: var(--font-data); font-size: 8px; letter-spacing: .15em; }
body.standalone-dashboard .inbound-order-toggle > strong { font-size: 11px; font-weight: 560; }
body.standalone-dashboard .inbound-order-toggle > small,
body.standalone-dashboard .inbound-order-toggle > i { color: #799196; font-size: 9px; }
body.standalone-dashboard .inbound-order-toggle:hover { background: var(--showroom-accent-soft); }
body.standalone-dashboard .inbound-order-list { max-height: 220px; padding: 0 14px 10px; border-top-color: var(--showroom-line); }
body.standalone-dashboard .inbound-order-row {
  grid-template-columns: 122px 1fr 1.35fr 58px;
  min-height: 36px;
  gap: 12px;
  border-top-color: rgba(112, 165, 174, .12);
  color: #9eb1b4;
  font-size: 10px;
}
body.standalone-dashboard .inbound-order-row b { color: var(--showroom-accent); font-family: var(--font-data); }

@keyframes showroom-enter {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes showroom-pulse {
  0%, 100% { opacity: .72; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 1280px) {
  body.standalone-dashboard .app-header { grid-template-columns: 270px minmax(320px, 1fr) 260px; }
  body.standalone-dashboard .dashboard-side { width: 205px; }
  body.standalone-dashboard .inbound-order-board { width: min(620px, calc(100% - 470px)); }
  body.standalone-dashboard .dashboard-kpi { padding-inline: 10px; }
  body.standalone-dashboard .dashboard-kpi > span { letter-spacing: .03em; }
}

@media (max-width: 980px) {
  body.standalone-dashboard { --header-h: 72px; }
  body.standalone-dashboard .app-header { grid-template-columns: 230px 1fr 210px; }
  body.standalone-dashboard .brand { padding-inline: 16px; }
  body.standalone-dashboard .showroom-brand-mark { width: 42px; height: 42px; }
  body.standalone-dashboard .showroom-masthead small,
  body.standalone-dashboard .showroom-system-state span { display: none; }
  body.standalone-dashboard .showroom-system-state { grid-template-columns: 8px auto; }
  body.standalone-dashboard .showroom-system-state i { grid-row: 1; }
  body.standalone-dashboard .dashboard-kpi-strip { grid-template-columns: repeat(4, 1fr); }
  body.standalone-dashboard .dashboard-kpi:nth-child(n+5) { display: none; }
  body.standalone-dashboard .dashboard-side { top: 96px; width: 190px; }
  body.standalone-dashboard .dashboard-side-production { display: none; }
  body.standalone-dashboard .inbound-order-board { width: min(590px, calc(100% - 230px)); transform: none; left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  body.standalone-dashboard .dashboard-overlay.visible,
  body.standalone-dashboard .showroom-system-state i { animation: none; }
  body.standalone-dashboard .dashboard-kpi::after { transition: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Showroom style laboratory --------------------------------------------- */
body.standalone-dashboard .showroom-theme-switcher {
  position: absolute;
  top: 98px;
  right: 260px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--showroom-line);
  background: rgba(7, 16, 20, .9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
  backdrop-filter: blur(14px);
}
body.standalone-dashboard .showroom-theme-switcher > span {
  padding: 0 7px;
  color: var(--showroom-muted);
  font-size: 9px;
  letter-spacing: .12em;
}
body.standalone-dashboard .showroom-theme-switcher button {
  min-height: 28px;
  padding: 5px 9px;
  border: 0;
  background: transparent;
  color: var(--showroom-muted);
  font-size: 9px;
}
body.standalone-dashboard .showroom-theme-switcher button:hover,
body.standalone-dashboard .showroom-theme-switcher button.active {
  background: var(--showroom-accent-soft);
  color: var(--showroom-text);
}

body.standalone-dashboard .dashboard-side {
  display: flex;
  flex-direction: column;
}
body.standalone-dashboard .dashboard-micro-panel {
  margin-top: auto;
  padding-top: 16px;
}
body.standalone-dashboard .dashboard-micro-panel > div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 10px;
}
body.standalone-dashboard .dashboard-micro-panel span {
  color: var(--showroom-muted);
  font-size: 9px;
  letter-spacing: .06em;
}
body.standalone-dashboard .dashboard-micro-panel b {
  color: var(--showroom-text);
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 560;
}
body.standalone-dashboard .dashboard-micro-panel b small {
  color: var(--showroom-muted);
  font-family: var(--font-ui);
  font-size: 8px;
}
body.standalone-dashboard .micro-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 3px;
  height: 60px;
  padding: 8px;
  border: 1px solid var(--showroom-line);
  background: rgba(5, 13, 17, .4);
}
body.standalone-dashboard .micro-bars i {
  display: block;
  height: var(--bar);
  min-height: 4px;
  background: linear-gradient(180deg, var(--showroom-accent), rgba(87, 211, 182, .18));
}
body.standalone-dashboard .slot-matrix {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  padding: 9px;
  border: 1px solid var(--showroom-line);
  background: rgba(5, 13, 17, .4);
}
body.standalone-dashboard .slot-matrix i {
  display: block;
  height: 10px;
  border: 1px solid rgba(125, 159, 166, .22);
  background: rgba(125, 159, 166, .08);
}
body.standalone-dashboard .slot-matrix i.occupied {
  border-color: rgba(87, 211, 182, .44);
  background: var(--showroom-accent);
  box-shadow: 0 0 8px rgba(87, 211, 182, .16);
}

/* A. Dense operations command center */
body.standalone-dashboard[data-showroom-theme="command"] .dashboard-side {
  top: 96px;
  bottom: 94px;
  width: 256px;
}
body.standalone-dashboard[data-showroom-theme="command"] .dashboard-side::after {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(87, 211, 182, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(87, 211, 182, .035) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 32%, #000);
}
body.standalone-dashboard[data-showroom-theme="command"] .dashboard-side-production {
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
body.standalone-dashboard[data-showroom-theme="command"] .dashboard-side-warehouse {
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 16px);
}
body.standalone-dashboard[data-showroom-theme="command"] .inbound-order-board {
  width: min(680px, calc(100% - 590px));
}

/* B. Modular blue technology cockpit */
body.standalone-dashboard[data-showroom-theme="blue"] {
  --header-h: 74px;
  --showroom-bg: #05091a;
  --showroom-surface: rgba(9, 20, 47, .9);
  --showroom-surface-strong: rgba(8, 18, 43, .96);
  --showroom-line: rgba(92, 151, 255, .25);
  --showroom-line-strong: rgba(63, 161, 255, .7);
  --showroom-text: #f2f7ff;
  --showroom-muted: #778cb7;
  --showroom-accent: #39a8ff;
  --showroom-accent-soft: rgba(57, 168, 255, .15);
  --font-ui: "Segoe UI Variable", "Microsoft YaHei UI", sans-serif;
  --font-data: Consolas, "Microsoft YaHei UI", monospace;
}
body.standalone-dashboard[data-showroom-theme="blue"] .app-header {
  grid-template-columns: 300px minmax(360px, 1fr) 300px;
  background: linear-gradient(90deg, #070d24, #0b1736 55%, #070d24);
  box-shadow: 0 12px 36px rgba(0, 6, 25, .54);
}
body.standalone-dashboard[data-showroom-theme="blue"] .app-header::after {
  background: linear-gradient(90deg, var(--showroom-brand-red), transparent 20%, #39a8ff 55%, transparent 88%);
}
body.standalone-dashboard[data-showroom-theme="blue"] .viewport-wrap::before {
  background: linear-gradient(180deg, rgba(4, 12, 37, .4), transparent 26%, transparent 74%, rgba(4, 10, 31, .46)), repeating-linear-gradient(90deg, rgba(67, 146, 255, .018) 0, rgba(67, 146, 255, .018) 1px, transparent 1px, transparent 5px);
}
body.standalone-dashboard[data-showroom-theme="blue"] .dashboard-overlay {
  top: 14px;
  right: 14px;
  bottom: 14px;
  left: 14px;
}
body.standalone-dashboard[data-showroom-theme="blue"] .dashboard-kpi-strip {
  position: absolute;
  top: 0;
  left: 0;
  width: 360px;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--showroom-line-strong);
  background: rgba(42, 104, 202, .3);
  box-shadow: 0 18px 50px rgba(0, 7, 28, .38);
}
body.standalone-dashboard[data-showroom-theme="blue"] .dashboard-kpi {
  min-height: 64px;
  padding: 10px 12px;
  background: linear-gradient(145deg, rgba(12, 31, 72, .96), rgba(7, 18, 46, .92));
}
body.standalone-dashboard[data-showroom-theme="blue"] .dashboard-side {
  border-color: var(--showroom-line-strong);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(11, 29, 67, .96), rgba(6, 15, 39, .9));
  box-shadow: 0 22px 54px rgba(0, 7, 28, .44);
}
body.standalone-dashboard[data-showroom-theme="blue"] .dashboard-side-production {
  top: 286px;
  bottom: 0;
  left: 0;
  width: 360px;
}
body.standalone-dashboard[data-showroom-theme="blue"] .dashboard-side-warehouse {
  top: 0;
  right: 0;
  bottom: 0;
  width: 290px;
}
body.standalone-dashboard[data-showroom-theme="blue"] .radial-meter::before { background: #091b3e; }
body.standalone-dashboard[data-showroom-theme="blue"] .dashboard-side dl div { background: rgba(6, 17, 42, .9); }
body.standalone-dashboard[data-showroom-theme="blue"] .micro-bars,
body.standalone-dashboard[data-showroom-theme="blue"] .slot-matrix { background: rgba(3, 11, 31, .58); }
body.standalone-dashboard[data-showroom-theme="blue"] .micro-bars i { background: linear-gradient(180deg, #7cc7ff, #176ad3); }
body.standalone-dashboard[data-showroom-theme="blue"] .slot-matrix i.occupied { background: #39a8ff; }
body.standalone-dashboard[data-showroom-theme="blue"] .inbound-order-board {
  bottom: 0;
  width: min(680px, calc(100% - 690px));
  border-color: var(--showroom-line-strong);
  border-radius: 7px;
}
body.standalone-dashboard[data-showroom-theme="blue"] .viewport-topbar { top: 14px; }
body.standalone-dashboard[data-showroom-theme="blue"] .scene-toolbar { top: 58px; bottom: auto; }
body.standalone-dashboard[data-showroom-theme="blue"] .showroom-theme-switcher {
  top: 14px;
  right: 314px;
  border-color: var(--showroom-line-strong);
  border-radius: 7px;
  background: rgba(7, 17, 42, .92);
}
body.standalone-dashboard[data-showroom-theme="blue"] .scene-toolbar,
body.standalone-dashboard[data-showroom-theme="blue"] .runtime-badge,
body.standalone-dashboard[data-showroom-theme="blue"] .view-buttons { border-radius: 7px; background: rgba(7, 17, 42, .9); }

/* C. Bright brand gallery for customer presentations */
body.standalone-dashboard[data-showroom-theme="gallery"] {
  --header-h: 78px;
  --showroom-bg: #eef1f0;
  --showroom-surface: rgba(255, 255, 255, .9);
  --showroom-surface-strong: rgba(255, 255, 255, .96);
  --showroom-line: rgba(29, 50, 52, .14);
  --showroom-line-strong: rgba(237, 28, 36, .62);
  --showroom-text: #152326;
  --showroom-muted: #718184;
  --showroom-accent: #ed1c24;
  --showroom-accent-soft: rgba(237, 28, 36, .08);
  --font-ui: "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
  --font-data: Arial, "Microsoft YaHei UI", sans-serif;
}
body.standalone-dashboard[data-showroom-theme="gallery"] .app-header {
  grid-template-columns: 310px minmax(360px, 1fr) 290px;
  border-bottom-color: rgba(29, 50, 52, .13);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 10px 34px rgba(22, 42, 43, .12);
}
body.standalone-dashboard[data-showroom-theme="gallery"] .app-header::after {
  background: linear-gradient(90deg, #ed1c24, rgba(237, 28, 36, .06) 36%, transparent 70%);
}
body.standalone-dashboard[data-showroom-theme="gallery"] .brand strong,
body.standalone-dashboard[data-showroom-theme="gallery"] .showroom-masthead strong,
body.standalone-dashboard[data-showroom-theme="gallery"] .showroom-system-state time { color: #18282b; }
body.standalone-dashboard[data-showroom-theme="gallery"] .brand small,
body.standalone-dashboard[data-showroom-theme="gallery"] .showroom-masthead small,
body.standalone-dashboard[data-showroom-theme="gallery"] .showroom-system-state span { color: #718184; }
body.standalone-dashboard[data-showroom-theme="gallery"] .showroom-eyebrow { color: #ed1c24; }
body.standalone-dashboard[data-showroom-theme="gallery"] .showroom-masthead::before,
body.standalone-dashboard[data-showroom-theme="gallery"] .showroom-masthead::after { background: linear-gradient(90deg, transparent, rgba(237, 28, 36, .28)); }
body.standalone-dashboard[data-showroom-theme="gallery"] .showroom-system-state i { background: #35a976; box-shadow: 0 0 0 4px rgba(53, 169, 118, .08), 0 0 12px rgba(53, 169, 118, .34); }
body.standalone-dashboard[data-showroom-theme="gallery"] #toggle-runtime { border-color: rgba(237, 28, 36, .35); background: rgba(237, 28, 36, .06); color: #c21820; }
body.standalone-dashboard[data-showroom-theme="gallery"] .viewport-wrap { background: #dfe6e4; }
body.standalone-dashboard[data-showroom-theme="gallery"] .viewport-wrap::before { background: linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 38%, transparent 75%, rgba(255, 255, 255, .22)); }
body.standalone-dashboard[data-showroom-theme="gallery"] .viewport-wrap::after { box-shadow: inset 0 0 90px rgba(255, 255, 255, .22); }
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-overlay { top: 18px; bottom: 16px; }
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-kpi-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid rgba(29, 50, 52, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .4);
  box-shadow: 0 18px 42px rgba(22, 42, 43, .14);
  overflow: hidden;
}
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-kpi {
  min-height: 68px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(18px);
}
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-kpi > span { color: #748285; }
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-kpi > span b { color: #a4adae; }
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-kpi small { color: #7a898b; }
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-side {
  top: 74px;
  bottom: 96px;
  width: 248px;
  border-color: rgba(29, 50, 52, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 22px 54px rgba(22, 42, 43, .16);
}
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-side header { border-bottom-color: rgba(29, 50, 52, .12); }
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-side header span { color: #ed1c24; }
body.standalone-dashboard[data-showroom-theme="gallery"] .state-dot { background: #35a976; box-shadow: 0 0 10px rgba(53, 169, 118, .3); }
body.standalone-dashboard[data-showroom-theme="gallery"] .radial-meter { background: conic-gradient(#ed1c24 calc(var(--meter) * 1%), rgba(29, 50, 52, .09) 0); box-shadow: none; }
body.standalone-dashboard[data-showroom-theme="gallery"] .radial-meter::before { background: #fff; }
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-side dl { background: rgba(29, 50, 52, .1); }
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-side dl div { background: rgba(249, 251, 250, .96); }
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-side .status-copy { color: #536467; }
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-alarm-notice { background: #fff0f0; box-shadow: inset 3px 0 0 #ed1c24; }
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-alarm-notice b { color: #c21820; }
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-alarm-notice strong { color: #7d1519; }
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-alarm-notice p,
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-alarm-notice small { color: #8b5558; }
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-alarm-notice.storage-alert { background: #fff8e9; box-shadow: inset 3px 0 0 #d89a23; }
body.standalone-dashboard[data-showroom-theme="gallery"] .linear-meter { background: rgba(29, 50, 52, .1); }
body.standalone-dashboard[data-showroom-theme="gallery"] .linear-meter i { background: linear-gradient(90deg, #b5121a, #ed1c24); box-shadow: none; }
body.standalone-dashboard[data-showroom-theme="gallery"] .micro-bars,
body.standalone-dashboard[data-showroom-theme="gallery"] .slot-matrix { background: rgba(238, 242, 241, .76); }
body.standalone-dashboard[data-showroom-theme="gallery"] .micro-bars i { background: linear-gradient(180deg, #ed1c24, rgba(237, 28, 36, .24)); }
body.standalone-dashboard[data-showroom-theme="gallery"] .slot-matrix i.occupied { border-color: rgba(237, 28, 36, .4); background: #ed1c24; box-shadow: none; }
body.standalone-dashboard[data-showroom-theme="gallery"] .viewport-topbar { top: 18px; }
body.standalone-dashboard[data-showroom-theme="gallery"] .scene-toolbar { top: 62px; bottom: auto; }
body.standalone-dashboard[data-showroom-theme="gallery"] .view-buttons,
body.standalone-dashboard[data-showroom-theme="gallery"] .scene-toolbar,
body.standalone-dashboard[data-showroom-theme="gallery"] .runtime-badge,
body.standalone-dashboard[data-showroom-theme="gallery"] .showroom-theme-switcher,
body.standalone-dashboard[data-showroom-theme="gallery"] .inbound-order-board {
  border-color: rgba(29, 50, 52, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 36px rgba(22, 42, 43, .14);
}
body.standalone-dashboard[data-showroom-theme="gallery"] .view-buttons button,
body.standalone-dashboard[data-showroom-theme="gallery"] .scene-toolbar button,
body.standalone-dashboard[data-showroom-theme="gallery"] .runtime-badge,
body.standalone-dashboard[data-showroom-theme="gallery"] .inbound-order-toggle,
body.standalone-dashboard[data-showroom-theme="gallery"] .inbound-order-row { color: #5f7073; }
body.standalone-dashboard[data-showroom-theme="gallery"] .view-buttons button.active { background: rgba(237, 28, 36, .08); color: #c21820; }
body.standalone-dashboard[data-showroom-theme="gallery"] .showroom-theme-switcher { top: 18px; right: 270px; }
body.standalone-dashboard[data-showroom-theme="gallery"] .showroom-theme-switcher button.active { background: rgba(237, 28, 36, .08); color: #c21820; }
body.standalone-dashboard[data-showroom-theme="gallery"] .inbound-order-board { bottom: 82px; width: min(700px, calc(100% - 560px)); }
body.standalone-dashboard[data-showroom-theme="gallery"] .inbound-order-toggle > span { color: #26383b; }
body.standalone-dashboard[data-showroom-theme="gallery"] .inbound-order-toggle > span b,
body.standalone-dashboard[data-showroom-theme="gallery"] .inbound-order-row b { color: #d11820; }

@media (max-width: 1280px) {
  body.standalone-dashboard .showroom-theme-switcher { right: 225px; }
  body.standalone-dashboard[data-showroom-theme="command"] .dashboard-side { width: 218px; }
  body.standalone-dashboard[data-showroom-theme="blue"] .dashboard-kpi-strip,
  body.standalone-dashboard[data-showroom-theme="blue"] .dashboard-side-production { width: 320px; }
  body.standalone-dashboard[data-showroom-theme="blue"] .dashboard-side-warehouse { width: 250px; }
  body.standalone-dashboard[data-showroom-theme="blue"] .showroom-theme-switcher { right: 270px; }
  body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-side { width: 214px; }
  body.standalone-dashboard[data-showroom-theme="gallery"] .showroom-theme-switcher { right: 230px; }
}

@media (max-width: 980px) {
  body.standalone-dashboard .showroom-theme-switcher { top: 88px; right: 14px; }
  body.standalone-dashboard .showroom-theme-switcher > span { display: none; }
  body.standalone-dashboard .scene-toolbar,
  body.standalone-dashboard[data-showroom-theme="blue"] .scene-toolbar,
  body.standalone-dashboard[data-showroom-theme="gallery"] .scene-toolbar { top: 132px; bottom: auto; }
  body.standalone-dashboard .scene-toolbar::before { display: none; }
  body.standalone-dashboard .scene-toolbar button { min-height: 36px; padding-inline: 10px; }
  body.standalone-dashboard .dashboard-micro-panel { display: none; }
  body.standalone-dashboard[data-showroom-theme="command"] .dashboard-side,
  body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-side { bottom: auto; }
  body.standalone-dashboard[data-showroom-theme="blue"] .dashboard-kpi-strip { width: 280px; }
  body.standalone-dashboard[data-showroom-theme="blue"] .dashboard-side-production { display: none; }
  body.standalone-dashboard[data-showroom-theme="blue"] .dashboard-side-warehouse { top: 226px; width: 220px; }
  body.standalone-dashboard[data-showroom-theme="blue"] .showroom-theme-switcher,
  body.standalone-dashboard[data-showroom-theme="gallery"] .showroom-theme-switcher { top: 88px; right: 14px; }
}

/* Inbound tasks belong to the warehouse context, not the scene footer. */
body.standalone-dashboard .dashboard-side-warehouse {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: var(--showroom-line-strong) transparent;
  scrollbar-width: thin;
}
body.standalone-dashboard .dashboard-side-warehouse .inbound-order-board {
  position: relative;
  left: auto;
  bottom: auto;
  width: 100%;
  margin-top: 16px;
  transform: none;
  border-color: var(--showroom-line);
  background: rgba(5, 13, 17, .42);
  box-shadow: none;
  backdrop-filter: none;
}
body.standalone-dashboard .dashboard-side-warehouse .inbound-order-toggle {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 8px;
  min-height: 74px;
  padding: 10px;
}
body.standalone-dashboard .dashboard-side-warehouse .inbound-order-toggle > span {
  grid-column: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.standalone-dashboard .dashboard-side-warehouse .inbound-order-toggle > small {
  grid-column: 2;
  text-align: right;
}
body.standalone-dashboard .dashboard-side-warehouse .inbound-order-toggle > strong {
  grid-column: 1 / -1;
  grid-row: 2;
  padding-right: 42px;
  color: var(--showroom-text);
  line-height: 1.5;
  white-space: normal;
}
body.standalone-dashboard .dashboard-side-warehouse .inbound-order-toggle > i {
  position: absolute;
  right: 10px;
  bottom: 12px;
}
body.standalone-dashboard .dashboard-side-warehouse .inbound-order-list {
  max-height: 190px;
  padding: 0 10px 8px;
}
body.standalone-dashboard .dashboard-side-warehouse .inbound-order-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  padding: 8px 0;
}
body.standalone-dashboard .dashboard-side-warehouse .inbound-order-row b {
  grid-column: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.standalone-dashboard .dashboard-side-warehouse .inbound-order-row em {
  grid-column: 2;
  grid-row: 1;
}
body.standalone-dashboard .dashboard-side-warehouse .inbound-order-row span {
  grid-column: 1 / -1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.standalone-dashboard .dashboard-side-warehouse .inbound-order-row span:nth-of-type(2) {
  color: var(--showroom-muted);
  font-size: 8px;
}
body.standalone-dashboard .dashboard-side-warehouse:has(.inbound-order-board.expanded) .warehouse-slots {
  display: none;
}
body.standalone-dashboard[data-showroom-theme="gallery"] .dashboard-side-warehouse .inbound-order-board {
  border-color: rgba(29, 50, 52, .14);
  border-radius: 8px;
  background: rgba(238, 242, 241, .78);
  box-shadow: none;
}
