/* One shared OnlyMES frame for every standalone demo screen. */
:root{--mono-sidebar-width:248px;--mono-header-height:68px;--mf-font-body:15px;--mf-font-support:14px;--mf-control-height:38px}
body.onlymes-unified{font-family:Pretendard,'Noto Sans KR','Apple SD Gothic Neo',Inter,system-ui,sans-serif;font-weight:600;background:var(--mf-bg);color:var(--mf-text);padding-top:var(--mono-header-height);min-height:100dvh;height:auto}
.onlymes-unified #mono-actual-shell{display:block!important;position:fixed;inset:0 auto 0 0;width:var(--mono-sidebar-width);z-index:100}
.onlymes-unified #mono-actual-shell>.mono-sidebar{height:100dvh;padding:16px 12px 14px;gap:0;background:var(--mf-surface);box-shadow:none}
.onlymes-unified .mono-brand{gap:11px;padding:2px 7px 15px;border-bottom:1px solid var(--mf-border);margin-bottom:16px}
.onlymes-unified .mono-logo{width:34px;height:42px;border-radius:0;background:transparent}.onlymes-unified .mono-logo img{width:34px;height:34px}.onlymes-unified .mono-brand strong{font-size:20px;letter-spacing:0}.onlymes-unified .mono-brand small{font-size:14px;font-weight:500}
.onlymes-unified .mono-search{font-size:14px;font-weight:500;padding:10px 11px 18px;gap:7px}.onlymes-unified .mono-search input{font-size:14px;font-weight:500;background:var(--mf-soft);border-radius:5px;padding:9px 10px;min-height:38px}
.onlymes-unified .mono-sidebar nav{display:block;overflow-y:auto;overflow-x:hidden;min-height:0;margin:0 -4px;padding:0 4px;scrollbar-width:thin;scrollbar-color:var(--mf-border) transparent}
.onlymes-unified .mono-workspace{font-size:13px;font-weight:500;letter-spacing:.3px;padding:8px 0 10px}.mono-primary{display:grid;gap:4px;padding-bottom:15px;border-bottom:1px solid var(--mf-border)}
.onlymes-unified .mono-sidebar nav a,.onlymes-unified .mono-unavailable{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 11px;min-height:42px;border:1px solid transparent;border-radius:5px;line-height:1.5;font:600 14px/1.5 inherit;color:var(--mf-text);text-align:left;background:transparent;box-sizing:border-box;text-decoration:none;cursor:pointer;font-size:14px}
.onlymes-unified .mono-sidebar nav a:hover,.onlymes-unified .mono-unavailable:hover{background:var(--mf-soft);border-color:var(--mf-border)}
.onlymes-unified .mono-sidebar nav a[aria-current=page]{color:var(--mf-navy);background:#56a9f91f;border-color:#56a9f980;font-weight:750}.onlymes-unified .mono-sidebar nav a[aria-current=page]:before{display:none}
.onlymes-unified .mono-sidebar details{border:0;margin:11px 0 0}.onlymes-unified .mono-sidebar details summary{display:flex;align-items:center;justify-content:space-between;list-style:none;font-size:13px;font-weight:650;letter-spacing:.6px;text-transform:uppercase;line-height:1.5;padding:10px 7px;cursor:pointer}.mono-sidebar summary::-webkit-details-marker{display:none}.mono-sidebar .mono-expand:after{content:'+'}.mono-sidebar details[open] .mono-expand:after{content:'−'}.onlymes-unified .mono-sidebar details>div{margin:2px 0 0;gap:3px;display:grid}.mono-menu-badge{font-size:9px;padding:2px 5px;background:var(--mf-navy);color:white;border-radius:3px;letter-spacing:.3px}.mono-foot{display:grid;gap:10px;border-top:1px solid var(--mf-border);padding:14px 8px 0;margin-top:14px}.mono-demo-label{font-size:10px;letter-spacing:.4px;color:var(--mf-muted)}.mono-mobile-menu{display:none}
#mono-workspace-header{position:fixed;left:var(--mono-sidebar-width);right:0;top:0;z-index:90;min-height:var(--mono-header-height);display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 20px;background:var(--mf-bg);box-sizing:border-box;border-bottom:1px solid var(--mf-border);font-size:13px;color:var(--mf-muted)}
#mono-workspace-header>span{display:flex;gap:16px;align-items:center}#mono-workspace-header b{font-size:12px;border-left:1px solid var(--mf-border);padding-left:16px;color:var(--mf-muted);font-weight:500}.mono-toolbar{display:flex;gap:10px;align-items:center;flex-shrink:0}.mono-toolbar button,.mono-language{border:1px solid var(--mf-border);border-radius:7px;background:var(--mf-soft);color:var(--mf-text);font:600 13px/1.4 inherit;font-size:13px;min-height:38px;padding:8px 12px;white-space:nowrap}.mono-toolbar button{cursor:pointer}
.onlymes-unified>.topbar,.onlymes-unified .dt-top{display:none!important}.onlymes-unified .dt-platform>.mono-sidebar{display:none!important}.onlymes-unified .dt-platform{display:block;min-height:calc(100dvh - var(--mono-header-height));margin-left:var(--mono-sidebar-width);background:var(--mf-bg)}.onlymes-unified .dt-content{padding:18px 20px 32px!important}.onlymes-unified>main{margin-left:var(--mono-sidebar-width);padding:18px 20px 32px}.onlymes-unified.simple-view>main{height:calc(100dvh - var(--mono-header-height));min-height:620px;padding:14px 18px}
.onlymes-unified .dt-panel,.onlymes-unified .panel,.mono-panel{background:var(--mf-surface);border:1px solid var(--mf-border);border-radius:8px;box-shadow:none;padding:14px 16px}.onlymes-unified h1{font-size:24px;font-weight:800;line-height:1.3;letter-spacing:0}.onlymes-unified h2{font-size:18px;letter-spacing:0}.onlymes-unified .dt-button,.onlymes-unified .button{font-size:13px;font-weight:650;border-radius:5px;min-height:36px;line-height:1.4}.onlymes-unified .dt-table-wrap{border:1px solid var(--mf-border);border-radius:6px;max-height:540px;overflow:auto}.onlymes-unified table{border-collapse:collapse;width:100%}.onlymes-unified th,.onlymes-unified td{font-size:13px;line-height:1.5;padding:7px 10px;border-bottom:1px solid var(--mf-border);vertical-align:top}.onlymes-unified th{position:sticky;top:0;background:var(--mf-soft);font-weight:650;color:var(--mf-muted);z-index:1}.onlymes-unified tr:hover td{background:var(--mf-soft)}.onlymes-unified .mr-tabs a{border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 12px;font-size:13px;background:transparent;color:var(--mf-muted)}.onlymes-unified .mr-tabs{gap:0;border-bottom:1px solid var(--mf-border)}.onlymes-unified .mr-tabs a[aria-current]{color:var(--mf-navy);background:#56a9f91a;border-bottom-color:var(--mf-sky)}.onlymes-unified .mr-page h1{font-size:24px}.onlymes-unified .mr-page p{font-size:13px}.onlymes-unified .mr-page th,.onlymes-unified .mr-page td{font-size:13px}
.mono-home{margin-left:var(--mono-sidebar-width);padding:20px;display:grid;gap:18px}.mono-page-heading{display:flex;align-items:start;justify-content:space-between;gap:15px;border-bottom:1px solid var(--mf-border);padding-bottom:15px}.mono-page-heading h1{margin:0 0 8px}.mono-page-heading p{font-size:14px;color:var(--mf-muted);margin:0;line-height:1.6}.mono-status{display:inline-block;font-size:10px;letter-spacing:.3px;border:1px solid #16845b66;background:#16845b12;color:var(--mf-success,#16845b);padding:6px 9px;border-radius:4px;white-space:nowrap}.mono-status.synthetic{border-color:#c7770066;background:#c777000d;color:var(--mf-warning,#c77700)}.mono-workspace-tabs{display:flex;gap:0;border-bottom:1px solid var(--mf-border);overflow:auto}.mono-workspace-tabs a{display:block;padding:11px 18px;font-size:14px;white-space:nowrap;border-bottom:2px solid transparent;color:var(--mf-muted)}.mono-workspace-tabs a[aria-current]{color:var(--mf-navy);border-color:var(--mf-sky);background:#56a9f91a}.mono-twin-launch{display:flex;align-items:center;justify-content:space-between;gap:24px;border-left:3px solid var(--mf-sky)}.mono-overline,.mono-step>span{font-size:11px;font-weight:750;color:var(--mf-muted);letter-spacing:.6px}.mono-twin-launch h2{margin:8px 0}.mono-twin-launch p,.mono-step p,.mono-demo-boundary p{font-size:13px;line-height:1.7;margin:7px 0;color:var(--mf-muted)}.mono-twin-launch button{white-space:nowrap;min-height:42px!important}.mono-help{font-size:11px!important;color:var(--mf-muted);line-height:1.7;margin-bottom:0}.mono-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.mono-step{display:block;text-decoration:none;color:var(--mf-text)}.mono-step:hover{border-color:var(--mf-sky);background:var(--mf-soft)}.mono-step h2{margin:12px 0 4px}.mono-step strong{font-size:12px;color:var(--mf-navy);display:block;margin-top:18px}.mono-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.mono-panel-heading h2{margin:0}.mono-reference{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:24px}.mono-reference>div{display:grid;gap:7px;align-content:start;min-width:0}.mono-reference small{font-size:10px;color:var(--mf-muted);letter-spacing:.3px}.mono-reference strong{font-size:14px;overflow-wrap:anywhere}.mono-reference span{font-size:12px;color:var(--mf-muted);font-weight:500;line-height:1.6}.mono-reference strong span{display:block}.mono-inline-links{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:17px;padding-top:12px;border-top:1px solid var(--mf-border)}.mono-inline-links a{font-size:12px;color:var(--mf-navy)}.mono-demo-boundary{display:flex;align-items:center;gap:30px;justify-content:space-between}.mono-demo-boundary h2{margin:10px 0 5px}.mono-demo-boundary .button{flex-shrink:0}.mono-advanced summary{cursor:pointer;font-size:13px;color:var(--mf-muted)}.mono-error{color:var(--mf-danger,#c53b4d)}
.mono-screen-notice{max-width:560px;width:calc(100vw - 40px);background:var(--mf-surface);color:var(--mf-text);border:1px solid var(--mf-border);border-radius:10px;padding:24px;box-sizing:border-box}.mono-screen-notice::backdrop{background:#0007}.mono-screen-notice p{font-size:14px;line-height:1.7;color:var(--mf-muted)}.mono-screen-notice form{text-align:right}
:root[data-theme=dark] .onlymes-unified #mono-actual-shell>.mono-sidebar{background:linear-gradient(#060e33,#040a26)}:root[data-theme=dark] .onlymes-unified .mono-brand,:root[data-theme=dark] .onlymes-unified .mono-sidebar nav a[aria-current],:root[data-theme=dark] .mono-step strong,:root[data-theme=dark] .mono-inline-links a,:root[data-theme=dark] .mr-tabs a[aria-current],:root[data-theme=dark] .mono-workspace-tabs a[aria-current]{color:#91c9ff}.onlymes-unified :is(a,button,input,select,summary):focus-visible{outline:2px solid var(--mf-sky);outline-offset:2px}
/* Presentation keeps its full-size 3D stage; the normal MES frame returns on exit. */
.onlymes-unified.customer-demo-running #mono-actual-shell,.onlymes-unified.customer-demo-running #mono-workspace-header{display:none!important}.onlymes-unified.customer-demo-running{padding-top:var(--customer-demo-height,120px)}.onlymes-unified.customer-demo-running .dt-platform{margin-left:0!important}.onlymes-unified.customer-demo-running.simple-view>main{height:calc(100dvh - var(--customer-demo-height,120px))}
@media(max-width:1050px){:root{--mono-sidebar-width:215px}.onlymes-unified .mono-sidebar nav a,.onlymes-unified .mono-unavailable{font-size:13px}.onlymes-unified .mono-brand small{font-size:12px}#mono-workspace-header b{display:none}.mono-home{padding:16px}.mono-steps{gap:10px}.mono-reference{gap:15px}}
@media(max-width:760px){:root{--mono-sidebar-width:0px;--mono-header-height:60px}.onlymes-unified #mono-actual-shell{position:relative;inset:auto;width:100%}.onlymes-unified #mono-actual-shell>.mono-sidebar{height:auto;min-height:62px;padding:10px 14px;display:grid;grid-template-columns:1fr auto;gap:0}.onlymes-unified{padding-top:0!important}.onlymes-unified .mono-brand{margin:0;padding:0;border:0;gap:8px}.onlymes-unified .mono-logo{width:30px;height:36px}.onlymes-unified .mono-logo img{width:30px;height:30px}.onlymes-unified .mono-brand strong{font-size:18px}.onlymes-unified .mono-brand small{font-size:11px}.mono-mobile-menu{display:block;font-size:12px;background:var(--mf-soft);border:1px solid var(--mf-border);border-radius:5px;padding:8px;color:var(--mf-text)}.onlymes-unified .mono-sidebar nav,.onlymes-unified .mono-search,.mono-foot{display:none}.onlymes-unified .mono-sidebar.mobile-open nav{display:block;grid-column:1/-1;max-height:60vh}.onlymes-unified .mono-sidebar.mobile-open .mono-search{display:grid;grid-column:1/-1}#mono-workspace-header{position:relative;left:auto;min-height:52px;padding:8px 14px}#mono-workspace-header>span{font-size:11px}.mono-language{display:none}.mono-toolbar button{min-height:32px;padding:6px 8px;font-size:11px}.mono-toolbar{gap:6px}.onlymes-unified .dt-content{padding:16px 12px!important}.onlymes-unified.simple-view>main{height:auto;min-height:0;padding:12px}.mono-home{padding:16px 12px}.mono-page-heading{flex-wrap:wrap}.mono-twin-launch,.mono-demo-boundary{flex-direction:column;align-items:stretch;gap:12px}.mono-steps{grid-template-columns:1fr}.mono-reference{grid-template-columns:1fr}.mono-workspace-tabs a{padding:10px 14px;font-size:13px}.mono-page-heading h1{font-size:23px}.onlymes-unified.customer-demo-running{padding-top:var(--customer-demo-height,120px)!important}.onlymes-unified.customer-demo-running.simple-view>main{height:auto}}

.onlymes-unified.mono-module-active{--mono-header-height:108px}
#mono-workspace-header{flex-wrap:wrap;padding-bottom:0}
#mono-workspace-header>.mono-module-tabs{display:none;flex-basis:100%;margin-top:0;gap:0;overflow:auto}
.mono-module-active #mono-workspace-header>.mono-module-tabs{display:flex}
.mono-module-tabs a{display:block;font-size:13px;color:var(--mf-muted);padding:10px 16px;border-bottom:2px solid transparent;white-space:nowrap}
.mono-module-tabs a[aria-current]{color:var(--mf-navy);border-color:var(--mf-sky);background:#56a9f91a}
.mono-home>.mono-workspace-tabs{display:none}
.onlymes-unified .mono-sidebar .mono-primary>a[href="#digital-twin"]{margin-bottom:8px;background:#56a9f91a;border-color:#56a9f955}
.onlymes-unified .mono-home{max-width:none;margin-right:0;margin-top:0;margin-bottom:0}
:root[data-theme=dark] .mono-module-tabs a[aria-current]{color:#91c9ff}
@media(max-width:760px){.onlymes-unified.mono-module-active{--mono-header-height:108px}#mono-workspace-header{padding-bottom:0}.mono-module-tabs a{padding:8px 13px}}

.onlymes-unified .customer-demo-panel:not(.expanded){display:none}
.onlymes-unified :is(#planning,#predictive,#simulation){scroll-margin-top:calc(var(--mono-header-height) + 16px)}
[data-mono-launch]{display:none}
.mono-module-active [data-mono-launch]{display:block;background:var(--mf-navy);color:#fff;border-color:var(--mf-navy)}
@media(max-width:760px){.mono-module-active [data-mono-launch]{display:none}}

.onlymes-unified input[type=checkbox]{width:auto;min-height:0}
:root[data-theme=dark]{--mf-success:#49c58d;--mf-warning:#f1ad46;--mf-danger:#ff7180}
:root[data-theme=dark] .onlymes-unified :is(.button.primary,.dt-button.primary,[data-mono-launch]){background:#2f8fe9;border-color:#2f8fe9;color:#fff}

.onlymes-unified .mono-home{height:auto;min-height:0;align-content:start}

/* Line Status workspace */
body:not(.virtual-reservation-replay) :is([data-demo-play], [data-demo-restart], [data-demo-phase], .demo-steps) { display: none !important; }
.ops-home {
  --ops-accent: #087a83;
  --ops-hold: #ab6219;
  --ops-selected: #2667aa;
  gap: 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ops-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--mf-border);
}
.ops-heading h1 { margin: 4px 0; font-size: clamp(22px, 3vw, 30px); }
.ops-eyebrow, .ops-snapshot { font-size: 12px; margin: 0; color: var(--mf-muted); }
.ops-totals { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--mf-muted); }
.ops-totals b { color: var(--mf-text); font-size: 16px; margin-right: 2px; }
.ops-totals .has-hold b { color: var(--ops-hold); }
.ops-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(305px, 365px);
  grid-template-areas: 'layout detail' 'flow detail';
  grid-template-rows: auto 1fr;
  gap: 14px;
  align-items: start;
}
.ops-layout, .ops-flow, .ops-detail {
  min-width: 0;
  border: 1px solid var(--mf-border);
  background: var(--mf-surface);
  border-radius: 8px;
}
.ops-layout { grid-area: layout; }
.ops-layout-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
}
.ops-layout-heading h2, .ops-flow h2 { margin: 0; font-size: 16px; }
.ops-layout-heading p { margin: 4px 0 0; font-size: 11px; color: var(--mf-muted); }
.ops-floor {
  position: relative;
  width: 100%;
  height: clamp(290px, 43vh, 470px);
  min-width: 0;
  background: radial-gradient(ellipse at 50% 45%, #f8fafc, #e3ebf1);
  border-block: 1px solid var(--mf-border);
}
.ops-floor > p { margin: 0; padding: 18px; color: #39536a; font-size: 13px; }
.ops-floor > canvas { display: block; width: 100%; height: 100%; }
.ops-floor-labels { position: absolute; inset: 0; pointer-events: none; }
.ops-floor-station {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: grid;
  gap: 2px;
  min-height: 32px;
  padding: 4px 7px;
  border: 1px solid #8197a7;
  border-radius: 5px;
  background: #fff;
  color: #183449;
  font: 700 11px/1.12 system-ui, sans-serif;
  white-space: nowrap;
  box-shadow: 0 2px 5px #1d384426;
  cursor: pointer;
}
.ops-floor-station small { color: #07686d; font-size: 9px; }
.ops-floor-station small[data-hold=true] { color: #88460e; }
.ops-floor-station[aria-pressed=true] { background: #dcebfa; border: 2px solid #2667aa; }

.compat-floor, .compat-replay {
  padding: 10px clamp(8px, 2vw, 24px);
  color: var(--mf-text);
  background: var(--mf-soft);
}
.compat-floor { height: 100%; display: flex; flex-direction: column; gap: 6px; overflow: auto; }
.compat-graphics-note { margin: 0; color: var(--mf-muted); font-size: 11px; }
.compat-floor-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center;
  gap: 5px;
}
.compat-station {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 3px;
  padding: 5px 2px;
  border: 1px solid var(--mf-border);
  border-radius: 7px;
  background: var(--mf-panel, var(--mf-soft));
  color: inherit;
  text-align: center;
  font: inherit;
  font-size: clamp(9px, 1.5vw, 12px);
  cursor: pointer;
}
.compat-station[aria-pressed=true] { border-color: #3079c0; box-shadow: inset 0 0 0 1px #3079c0; }
.compat-machine {
  display: block;
  width: 34px;
  height: 24px;
  margin: 3px 0;
  border: 3px solid #d4e1eb;
  border-bottom: 6px solid #334b60;
  border-right: 6px solid #596e7d;
  background: #527f94;
  transform: skewY(12deg);
}
.compat-station small { color: var(--mf-muted); }
.simple-view .scene.compat-replay-active { min-height: 380px; height: auto; }
.compat-replay { min-height: 100%; border-radius: inherit; }
.compat-lanes { display: grid; gap: 8px; margin-top: 6px; }
.compat-lane { padding: 7px; background: var(--mf-panel, var(--mf-soft)); border: 1px solid var(--mf-border); border-radius: 8px; }
.compat-lane-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 8px; font-size: 11px; }
.compat-track { position: relative; height: 76px; margin: 3px 0; }
.compat-track::before {
  content: "";
  position: absolute;
  top: 47px;
  left: 2%;
  right: 1%;
  height: 6px;
  border-radius: 3px;
  background: #819aaa;
}
.compat-replay-station, .compat-part {
  position: absolute;
  transform: translateX(-50%);
  border-radius: 4px;
  border: 1px solid #778ca0;
  font-size: 10px;
  cursor: pointer;
}
.compat-replay-station { top: 3px; background: #e5edf3; color: #1b3244; }
.compat-part { padding: 1px 4px; font-weight: 700; color: #fff; background: #087983; }
.compat-part[data-state=stopped] { background: #955300; }
.compat-part-selected { outline: 2px solid #58bcc6; outline-offset: 2px; }
.compat-lane-status { min-height: 2em; margin: 0; color: var(--mf-muted); font-size: 11px; }
.compat-replay-mode .scene-controls { display: none; }
.compat-replay-active .tour-note { right: 8px; bottom: 8px; top: auto; }
.ops-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 9px 12px; font-size: 11px; color: var(--mf-muted); }
.ops-legend i { display: inline-block; height: 8px; width: 8px; margin-right: 4px; border-radius: 50%; background: var(--ops-accent); }
.ops-legend span:nth-child(2) i { background: var(--ops-hold); }
.ops-legend span:nth-child(3) i { background: var(--ops-selected); }
.ops-flow { grid-area: flow; padding: 12px; }
.ops-flow ol { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 9px 0 0; padding: 0; list-style: none; }
.ops-flow li { min-width: 0; }
.ops-flow button {
  display: grid;
  gap: 4px;
  align-content: start;
  text-align: left;
  padding: 8px;
  height: 100%;
  width: 100%;
  border: 1px solid var(--mf-border);
  border-radius: 5px;
  background: var(--mf-soft);
  color: var(--mf-text);
  font: inherit;
  cursor: pointer;
}
.ops-flow button[aria-pressed=true] { border-color: var(--ops-selected); box-shadow: inset 0 2px var(--ops-selected); }
.ops-flow small, .ops-flow span { font-size: 10px; color: var(--mf-muted); }
.ops-flow strong { font-size: 12px; line-height: 1.3; }
.ops-detail { grid-area: detail; padding: 14px; scroll-margin-top: calc(var(--mono-header-height) + 8px); }
.ops-detail-heading > span { color: var(--mf-muted); font-size: 11px; }
.ops-detail-heading h2 { margin: 3px 0; font-size: 19px; }
.ops-detail-heading p { margin: 0 0 12px; font-size: 13px; color: var(--mf-muted); }
.ops-field { display: grid; gap: 4px; min-width: 0; font-size: 11px; color: var(--mf-muted); }
.ops-field select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 6px 8px;
  background: var(--mf-surface);
  border: 1px solid var(--mf-border);
  border-radius: 5px;
  color: var(--mf-text);
  font-size: 13px;
}
.ops-work-summary, .ops-wip > div, .ops-impact-heading {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.ops-work-summary { margin: 7px 0 11px; color: var(--mf-muted); font-size: 11px; }
.ops-wip { padding: 9px 10px; border: 1px solid var(--mf-border); border-radius: 5px; background: var(--mf-soft); }
.ops-wip strong, .ops-wip b { font-size: 12px; }
.ops-wip span, .ops-wip p, .ops-wip small { font-size: 11px; color: var(--mf-muted); }
.ops-wip ul { list-style: none; margin: 6px 0; padding: 0; }
.ops-wip li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.ops-wip p { margin: 5px 0 0; }
.ops-impact { margin-top: 14px; }
.ops-impact h3 { margin: 0; font-size: 16px; }
.ops-virtual-slot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 9px;
  padding: 7px 8px;
  background: var(--mf-soft);
  border: 1px solid var(--ops-selected);
  border-radius: 5px;
  font-size: 11px;
}
.ops-virtual-slot span { color: var(--mf-muted); }
.ops-times { display: grid; gap: 5px; margin-top: 9px; }
.ops-times > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 8px;
  padding: 8px;
  border: 1px solid var(--mf-border);
  border-radius: 5px;
}
.ops-times > div:last-child { border-left: 3px solid var(--ops-hold); }
.ops-times span, .ops-times small { color: var(--mf-muted); font-size: 11px; }
.ops-times strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.ops-times small { grid-column: 1/-1; color: var(--ops-hold); font-weight: 700; }
.ops-impact p, .ops-impact details, .ops-refresh-error { font-size: 11px; line-height: 1.55; color: var(--mf-muted); }
.ops-impact details summary { cursor: pointer; }
.ops-back { display: none; }
.ops-refresh-error { margin: 0; }
.ops-heading { scroll-margin-top: calc(var(--mono-header-height) + 8px); }

@media (max-width: 1230px) {
  .ops-flow ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .ops-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'layout' 'flow' 'detail'; grid-template-rows: auto; }
  .ops-back { display: inline-block; margin-top: 10px; font-size: 12px; }
}
@media (max-width: 520px) {
  .ops-floor { height: 258px; }
  .ops-flow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-floor-station { padding: 4px 5px; font-size: 10px; }
  .ops-home { padding-inline: 10px; }
  :is(body[data-mono-page=digital-twin], body.virtual-reservation-replay[data-mono-page=simulation]) #mono-workspace-header { padding-inline: 10px; gap: 5px; }
  :is(body[data-mono-page=digital-twin], body.virtual-reservation-replay[data-mono-page=simulation]) #mono-workspace-header > .mono-module-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }
  :is(body[data-mono-page=digital-twin], body.virtual-reservation-replay[data-mono-page=simulation]) .mono-module-tabs a { padding-inline: 3px; font-size: 11px; text-align: center; }
  body[data-mono-page=digital-twin] #mono-actual-shell > .mono-sidebar { padding-inline: 10px; }
  .virtual-reservation-replay .comparison-summary strong { white-space: normal; }
}
