:root {
  --demo-ink: #172126;
  --demo-muted: #687277;
  --demo-paper: #f5f2eb;
  --demo-card: #fffdf8;
  --demo-line: #ddd8cd;
  --demo-dark: #222b30;
  --demo-dark-2: #2e393f;
  --demo-teal: #007d82;
  --demo-teal-dark: #00676b;
  --demo-gold: #f4c654;
  --demo-good: #27825a;
  --demo-warn: #ad6b00;
  --demo-bad: #bd352c;
  --demo-shadow: 0 14px 34px rgba(31, 40, 44, .09);
}

body.eiw-demo-active { overflow: hidden; }
body.eiw-demo-active:not(.eiw-demo-native-active) #app { display: none; }
body.eiw-demo-active .app-dialog-backdrop { z-index: 12000; }
body.eiw-demo-active .toast-host { z-index: 12500; }
body.eiw-demo-native-active #app {
  position: fixed;
  inset: 224px 0 42px 224px;
  z-index: 10500;
  display: block;
  min-height: 0;
  overflow: auto;
  background: var(--demo-paper);
}
body.eiw-demo-native-active #app > .sidebar { display: none !important; }
body.eiw-demo-native-active #app > main {
  display: block;
  min-height: 100%;
  padding: 20px 28px 32px;
  background: var(--demo-paper);
}
body.eiw-demo-native-active #app > main > .topbar { display: none !important; }
body.eiw-demo-native-active #app .panel,
body.eiw-demo-native-active #app .list-pane,
body.eiw-demo-native-active #app .detail-pane,
body.eiw-demo-native-active #app .metric {
  border-color: var(--demo-line);
  border-radius: 11px;
  background: var(--demo-card);
  box-shadow: 0 3px 12px rgba(31,40,44,.045);
}
body.eiw-demo-native-active #app button.primary,
body.eiw-demo-native-active #app .file-button.primary {
  border-color: var(--demo-teal);
  background: var(--demo-teal);
}
body.eiw-demo-native-active #app button:focus-visible,
body.eiw-demo-native-active #app input:focus-visible,
body.eiw-demo-native-active #app textarea:focus-visible,
body.eiw-demo-native-active #app select:focus-visible {
  outline: 3px solid rgba(0,125,130,.27);
  outline-offset: 2px;
}
body.eiw-demo-native-focus-item #app .inventory-manager-panel > .inventory-tabs,
body.eiw-demo-native-focus-item #app .relist-control-panel,
body.eiw-demo-native-focus-item #app .inventory-manager-panel > .inventory-toolbar,
body.eiw-demo-native-focus-item #app .inventory-manager-panel > .nifty-filter-row,
body.eiw-demo-native-focus-item #app .inventory-manager-panel > [data-inventory-results] > .inventory-pagination,
body.eiw-demo-native-focus-item #app .inventory-manager-panel > [data-inventory-results] > .inventory-bulk-toolbar,
body.eiw-demo-native-focus-item #app .workflow-list-pane,
body.eiw-demo-native-focus-issue #app .workflow-list-pane { display: none !important; }
body.eiw-demo-native-focus-item #app .workflow-workspace,
body.eiw-demo-native-focus-issue #app .workflow-workspace {
  display: block;
}
body.eiw-demo-native-focus-item #app .workflow-detail-pane,
body.eiw-demo-native-focus-issue #app .workflow-detail-pane {
  width: min(1180px, 100%);
  margin: 0 auto;
}

body.eiw-demo-native-focus-item #app .workflow-detail-pane,
body.eiw-demo-native-focus-item #app .inventory-manager-panel {
  border: 0;
  box-shadow: none;
  padding: 0;
}
@media (max-width: 760px) {
  body.eiw-demo-native-focus-item #app .inventory-edit-rail { order: 2; }
  body.eiw-demo-native-focus-item #app .inventory-edit-main { order: 1; }
  body.eiw-demo-native-focus-item #app .inventory-edit-rail .rail-step { display: none; }
}

#eiw-gui-switcher {
  position: fixed;
  right: 18px;
  bottom: 14px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  border: 1px solid #4b575d;
  border-radius: 10px;
  background: #222b30;
  color: #dce3e6;
  box-shadow: 0 10px 28px rgba(20, 28, 32, .2);
  font: 700 11px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
}

#eiw-gui-switcher .gui-mode-label { padding: 0 7px 0 4px; color: #aeb9bd; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
#eiw-gui-switcher button, .demo-mode-toggle button { min-height: 31px; padding: 0 10px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
#eiw-gui-switcher button[aria-pressed="true"] { border-color: rgba(244,198,84,.55); background: var(--demo-gold); color: var(--demo-dark); }
#eiw-gui-switcher button:hover:not([aria-pressed="true"]) { background: rgba(255,255,255,.08); }

#eiw-demo-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--demo-paper);
  color: var(--demo-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.35;
}
#eiw-demo-root[hidden] { display: none !important; }

#eiw-demo-root *, #eiw-demo-root *::before, #eiw-demo-root *::after { box-sizing: border-box; }
#eiw-demo-root button, #eiw-demo-root input { font: inherit; }
#eiw-demo-root button, #eiw-demo-root a { -webkit-tap-highlight-color: transparent; }
#eiw-demo-root button:focus-visible, #eiw-demo-root a:focus-visible, #eiw-demo-root input:focus-visible, #eiw-demo-root summary:focus-visible { outline: 3px solid rgba(0, 125, 130, .34); outline-offset: 2px; }

.demo-shell { display: grid; grid-template-columns: 224px minmax(0, 1fr); height: 100%; }
.demo-sidebar { display: flex; flex-direction: column; min-height: 0; padding: 18px 13px; background: var(--demo-dark); color: white; border-right: 1px solid #11191d; }
.demo-brand { display: flex; align-items: center; gap: 11px; min-height: 54px; padding: 4px 8px 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.demo-brand > span:last-child { min-width: 0; }
.demo-brand strong, .demo-brand small { display: block; }
.demo-brand strong { font-size: 14px; line-height: 1.15; }
.demo-brand small { margin-top: 4px; color: #aeb9bd; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.demo-mark { display: inline-grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 9px; background: var(--demo-gold); color: #20282d; font-weight: 900; }
.demo-sidebar nav { display: grid; gap: 6px; padding-top: 18px; }
.demo-primary-nav { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 45px; padding: 6px 9px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #dce3e6; cursor: pointer; text-align: left; transition: background .14s ease, border-color .14s ease, transform .14s ease; }
.demo-primary-nav span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 7px; background: var(--demo-dark-2); color: #bfc9cc; font-size: 12px; font-weight: 900; }
.demo-primary-nav strong { font-size: 14px; }
.demo-primary-nav:hover { background: rgba(255,255,255,.06); transform: translateX(2px); }
.demo-primary-nav.active { border-color: rgba(244,198,84,.44); background: rgba(244,198,84,.11); color: white; }
.demo-primary-nav.active span { background: var(--demo-gold); color: var(--demo-dark); }
.demo-sidebar-spacer { flex: 1; }
.demo-exit { display: grid; place-items: center; width: 100%; min-height: 42px; margin-top: 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: transparent; color: #dce3e6; text-decoration: none; font-weight: 800; font-size: 13px; cursor: pointer; }
.demo-exit:hover { background: rgba(255,255,255,.07); }

.demo-main { display: grid; grid-template-rows: auto auto auto minmax(0, 1fr) auto; min-width: 0; min-height: 0; background: var(--demo-paper); }
.demo-topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; padding: 18px 28px 14px; border-bottom: 1px solid var(--demo-line); background: rgba(255,253,248,.92); }
.demo-topbar h1 { margin: 3px 0 0; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; letter-spacing: -.03em; }
.demo-topbar p { margin: 5px 0 0; color: var(--demo-muted); font-size: 13px; }
.demo-preview-label, .demo-kicker { color: var(--demo-teal); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.demo-top-actions { display: flex; gap: 8px; }
.demo-top-actions button, .demo-inspector-actions a, .demo-inspector-actions button, .demo-explainer a, .demo-explainer button, .demo-account a, .demo-account button { display: inline-grid; place-items: center; min-height: 40px; padding: 0 15px; border: 1px solid var(--demo-line); border-radius: 8px; background: var(--demo-card); color: var(--demo-ink); font-weight: 800; text-decoration: none; cursor: pointer; }
.demo-top-actions button:first-child { border-color: rgba(0,125,130,.35); color: var(--demo-teal-dark); }

.demo-hud { display: flex; align-items: center; gap: 20px; min-height: 38px; padding: 0 28px; overflow-x: auto; border-bottom: 1px solid var(--demo-line); background: #ede9e0; color: var(--demo-muted); font-size: 11px; white-space: nowrap; }
.demo-hud span, .demo-footer span { display: inline-flex; align-items: center; gap: 5px; }
.demo-hud b { color: var(--demo-ink); }
.demo-hud i, .demo-footer i { width: 8px; height: 8px; border-radius: 50%; background: #97a0a3; }
.demo-hud i.good, .demo-footer i.good { background: var(--demo-good); box-shadow: 0 0 0 3px rgba(39,130,90,.12); }
.demo-hud i.warn { background: #e8a221; box-shadow: 0 0 0 3px rgba(232,162,33,.14); }
.demo-hud i.bad { background: var(--demo-bad); box-shadow: 0 0 0 3px rgba(189,53,44,.13); }
.demo-hud-action { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 3px 7px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.demo-hud-action:hover, .demo-hud-action[aria-expanded="true"] { border-color: #bbc8c5; background: rgba(255,255,255,.72); }
.demo-hud-action:focus-visible { outline: 2px solid var(--demo-teal); outline-offset: 1px; }
.demo-jobs-drawer { position: fixed; z-index: 8; top: 137px; right: 20px; width: min(500px, calc(100% - 40px)); overflow: hidden; border: 1px solid #aebfbc; border-radius: 12px; background: #fffdfa; box-shadow: 0 22px 60px rgba(20,31,35,.24); }
.demo-jobs-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px; border-bottom: 1px solid var(--demo-line); background: #f3f0e8; }
.demo-jobs-head h2 { margin: 3px 0; font-size: 20px; }
.demo-jobs-head small { color: var(--demo-muted); font-size: 9px; }
.demo-jobs-head > div:last-child { display: flex; gap: 7px; }
.demo-jobs-head button { min-height: 34px; padding: 0 10px; border: 1px solid #aeb9b8; border-radius: 7px; background: white; color: var(--demo-ink); font-size: 10px; font-weight: 900; cursor: pointer; }
.demo-jobs-head button[aria-label] { width: 34px; padding: 0; font-size: 20px; }
.demo-jobs-head button:disabled { opacity: .5; cursor: wait; }
.demo-jobs-drawer > .demo-alert { margin: 10px 12px 0; }
.demo-jobs-list { max-height: min(470px, calc(100vh - 230px)); overflow: auto; }
.demo-job-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: start; min-height: 72px; padding: 13px 16px; border-bottom: 1px solid var(--demo-line); }
.demo-job-row > i { width: 9px; height: 9px; margin-top: 3px; border-radius: 50%; background: var(--demo-warn); }
.demo-job-row > i.running { background: var(--demo-good); box-shadow: 0 0 0 4px rgba(39,130,90,.12); animation: demo-job-pulse 1.5s ease-in-out infinite; }
.demo-job-row > span { display: grid; min-width: 0; gap: 4px; }
.demo-job-row strong { font-size: 12px; }
.demo-job-row small { color: var(--demo-muted); font-size: 10px; line-height: 1.4; }
.demo-job-row em { color: #7b8485; font-size: 9px; font-style: normal; text-transform: capitalize; }
@keyframes demo-job-pulse { 50% { opacity: .45; } }

.demo-secondary { display: flex; align-items: end; gap: 4px; min-height: 48px; padding: 0 28px; overflow-x: auto; border-bottom: 1px solid var(--demo-line); background: var(--demo-card); }
.demo-secondary button { align-self: stretch; min-width: max-content; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--demo-muted); font-weight: 800; font-size: 12px; cursor: pointer; }
.demo-secondary button:hover { color: var(--demo-ink); }
.demo-secondary button.active { border-color: var(--demo-teal); color: var(--demo-teal-dark); }
.demo-content { min-height: 0; overflow: auto; padding: 22px 28px 30px; transition: opacity .14s ease; }
.demo-content.loading { opacity: .56; pointer-events: none; }
.demo-footer { display: flex; align-items: center; gap: 22px; min-height: 42px; padding: 0 28px; border-top: 1px solid var(--demo-line); background: var(--demo-card); color: var(--demo-muted); font-size: 10px; }
.demo-mode-toggle { display: flex; align-items: center; gap: 2px; margin-left: auto; padding: 3px; border: 1px solid var(--demo-line); border-radius: 9px; background: #f0ede5; color: var(--demo-muted); }
.demo-mode-toggle .gui-mode-label { padding: 0 6px; font-size: 8px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.demo-mode-toggle button { min-height: 28px; padding-inline: 9px; color: var(--demo-muted); font-size: 9px; font-weight: 900; }
.demo-mode-toggle button[aria-pressed="true"] { border-color: var(--demo-teal); background: var(--demo-teal); color: white; }
.demo-mode-toggle button:hover:not([aria-pressed="true"]) { background: white; color: var(--demo-ink); }

.demo-stack { display: grid; gap: 18px; max-width: 1500px; margin: 0 auto; }
.demo-pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.demo-pipeline-card { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; min-height: 112px; padding: 15px; overflow: hidden; border: 1px solid var(--demo-line); border-radius: 11px; background: var(--demo-card); color: var(--demo-ink); text-align: left; box-shadow: 0 3px 12px rgba(31,40,44,.035); cursor: pointer; transition: border-color .14s ease, transform .14s ease, box-shadow .14s ease; }
.demo-pipeline-card:hover { transform: translateY(-2px); border-color: #a8b3b5; box-shadow: var(--demo-shadow); }
.demo-pipeline-card span { color: var(--demo-muted); font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.demo-pipeline-card strong { grid-row: 2 / 4; font-size: 35px; letter-spacing: -.04em; }
.demo-pipeline-card small { align-self: end; color: var(--demo-muted); }
.demo-pipeline-card i { grid-column: 2; grid-row: 2 / 4; align-self: end; color: var(--demo-teal); font-size: 21px; font-style: normal; }
.demo-pipeline-card.accent { border-color: rgba(0,125,130,.42); background: #f5fbf9; }
.demo-pipeline.storage .demo-pipeline-card strong { font-size: 24px; }

.demo-panel { overflow: hidden; border: 1px solid var(--demo-line); border-radius: 11px; background: var(--demo-card); box-shadow: 0 3px 12px rgba(31,40,44,.035); }
.demo-panel-head { display: flex; align-items: center; justify-content: space-between; min-height: 65px; padding: 12px 17px; border-bottom: 1px solid var(--demo-line); }
.demo-panel-head h2 { margin: 2px 0 0; font-size: 18px; }
.demo-panel-head > span { color: var(--demo-muted); font-size: 11px; }
.demo-list { min-width: 0; overflow: auto; }
.demo-list.compact { max-height: calc(100vh - 390px); }
.demo-item-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 73px; padding: 9px 13px; border: 0; border-bottom: 1px solid #ebe7df; background: transparent; color: var(--demo-ink); text-align: left; cursor: pointer; }
.demo-item-row:hover { background: #f4f8f6; }
.demo-item-row.selected { background: #eaf5f3; box-shadow: inset 3px 0 var(--demo-teal); }
.demo-item-row-bulk { grid-template-columns: 25px minmax(0, 1fr); gap: 8px; padding: 0 13px; }
.demo-row-check { display: grid; place-items: center; width: 25px; height: 100%; cursor: pointer; }
.demo-row-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--demo-teal); cursor: pointer; }
.demo-item-row-content { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 9px 0; border: 0; background: transparent; color: var(--demo-ink); text-align: left; cursor: pointer; }
.demo-thumb, .demo-large-thumb { display: grid; place-items: center; overflow: hidden; border: 1px solid var(--demo-line); border-radius: 8px; background: #eee9df; color: var(--demo-muted); font-weight: 900; }
.demo-thumb { width: 50px; height: 50px; }
.demo-thumb img, .demo-large-thumb img { width: 100%; height: 100%; object-fit: cover; }
.demo-item-copy, .demo-price { min-width: 0; }
.demo-item-copy strong, .demo-item-copy small, .demo-item-copy em, .demo-price strong, .demo-price small { display: block; }
.demo-item-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.demo-item-copy small { margin-top: 3px; color: var(--demo-muted); font-size: 10px; }
.demo-item-copy em { margin-top: 4px; overflow: hidden; color: var(--demo-bad); font-size: 10px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.demo-price { text-align: right; }
.demo-price > strong { margin-bottom: 5px; font-size: 14px; }
.demo-badge { display: inline-flex; align-items: center; width: fit-content; min-height: 20px; padding: 2px 7px; border: 1px solid #cbd1d2; border-radius: 999px; background: #f1f3f3; color: #536064; font-size: 9px; font-weight: 900; line-height: 1.1; text-transform: uppercase; white-space: nowrap; }
.demo-badge.good { border-color: #9bcdb7; background: #eaf6f0; color: #1e704c; }
.demo-badge.warn { border-color: #e8c789; background: #fff6df; color: #8b5707; }
.demo-badge.bad { border-color: #e5a19d; background: #fff0ee; color: #a32f27; }

.demo-workspace { height: 100%; max-width: 1600px; margin: 0 auto; overflow: hidden; border: 1px solid var(--demo-line); border-radius: 11px; background: var(--demo-card); box-shadow: var(--demo-shadow); }
.demo-inventory-toolbar { display: flex; align-items: center; gap: 12px; min-height: 59px; padding: 9px 13px; border-bottom: 1px solid var(--demo-line); }
.demo-search { display: flex; align-items: center; flex: 1; max-width: 650px; min-height: 39px; padding: 0 12px; border: 1px solid #c9c6bd; border-radius: 8px; background: white; }
.demo-search span { margin-right: 9px; color: var(--demo-muted); font-size: 19px; }
.demo-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--demo-ink); }
.demo-result-count { margin-left: auto; color: var(--demo-muted); font-size: 11px; }
.demo-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 13px; border-bottom: 1px solid var(--demo-line); font-size: 12px; }
.demo-pagination button, .demo-pagination select { min-height: 40px; padding: 4px 10px; border: 1px solid var(--demo-line); border-radius: 6px; background: white; color: var(--demo-ink); }
.demo-pagination button:disabled { opacity: .45; cursor: default; }
.demo-pagination label { margin-left: auto; }
.demo-workspace:has(> .demo-pagination) { display: flex; flex-direction: column; }
.demo-workspace:has(> .demo-pagination) > .demo-split { flex: 1; height: auto; min-height: 0; }
.demo-content.loading:has(.demo-pagination) { pointer-events: auto; opacity: 1; }
.demo-list[aria-busy="true"] { pointer-events: none; opacity: .6; }
.demo-footer i.warn { background: var(--demo-warn); }
.demo-footer i.bad { background: var(--demo-bad); }
[data-demo-load-error][hidden] { display: none; }
.demo-toolbar-action, .demo-panel-actions button { min-height: 36px; padding: 0 12px; border: 1px solid var(--demo-teal); border-radius: 8px; background: var(--demo-teal); color: white; font-size: 10px; font-weight: 900; cursor: pointer; white-space: nowrap; }
.demo-toolbar-action:hover, .demo-panel-actions button:hover { background: var(--demo-teal-dark); }
.demo-panel-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: var(--demo-muted); font-size: 11px; }
.demo-bulk-toolbar { display: grid; grid-template-columns: auto minmax(160px, 1fr) auto; align-items: center; gap: 8px 14px; min-height: 55px; padding: 8px 13px; border-bottom: 1px solid #c8ddd8; background: #edf7f4; }
.demo-bulk-toolbar > strong { color: var(--demo-teal-dark); font-size: 12px; }
.demo-bulk-toolbar > span { color: var(--demo-muted); font-size: 10px; }
.demo-bulk-toolbar > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.demo-bulk-toolbar button { min-height: 35px; padding: 0 11px; border: 1px solid #aeb9b8; border-radius: 8px; background: white; color: var(--demo-ink); font-size: 10px; font-weight: 900; cursor: pointer; }
.demo-bulk-toolbar button.primary { border-color: var(--demo-teal); background: var(--demo-teal); color: white; }
.demo-bulk-toolbar button:hover:not(:disabled) { border-color: var(--demo-teal); transform: translateY(-1px); }
.demo-bulk-toolbar button.primary:hover:not(:disabled) { background: var(--demo-teal-dark); }
.demo-bulk-toolbar button:disabled { opacity: .42; cursor: not-allowed; }
.demo-bulk-toolbar > p { grid-column: 1 / -1; margin: 0; padding: 6px 8px; border-radius: 6px; background: #fff1ef; color: var(--demo-bad); font-size: 10px; }
.demo-review-bulk-toolbar { grid-template-columns: auto minmax(210px, 330px) minmax(320px, 1fr); }
.demo-review-bulk-toolbar > label { display: grid; gap: 3px; color: var(--demo-muted); font-size: 9px; font-weight: 900; }
.demo-review-bulk-toolbar select { width: 100%; min-height: 35px; padding: 0 9px; border: 1px solid #aeb9b8; border-radius: 8px; background: white; color: var(--demo-ink); font-size: 10px; }
.demo-review-bulk-toolbar > span { grid-column: 1 / -1; }
.demo-workflow-action-card { display: grid; grid-template-columns: minmax(220px, 1.2fr) minmax(220px, 1fr) auto; align-items: center; gap: 10px 18px; min-height: 76px; padding: 10px 14px; border-bottom: 1px solid #c8ddd8; background: #edf7f4; }
.demo-workflow-action-card > span { display: grid; gap: 2px; min-width: 0; }
.demo-workflow-action-card small, .demo-workflow-action-card em { color: var(--demo-muted); font-size: 10px; font-style: normal; }
.demo-workflow-action-card strong { overflow: hidden; color: var(--demo-ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.demo-workflow-action-card > p { margin: 0; color: var(--demo-muted); font-size: 10px; line-height: 1.45; }
.demo-workflow-action-card > div { display: flex; justify-content: flex-end; gap: 7px; }
.demo-workflow-action-card button { min-height: 38px; padding: 0 12px; border: 1px solid #aeb9b8; border-radius: 8px; background: white; color: var(--demo-ink); font-size: 10px; font-weight: 900; cursor: pointer; white-space: nowrap; }
.demo-workflow-action-card button.primary { border-color: var(--demo-teal); background: var(--demo-teal); color: white; }
.demo-workflow-action-card button:hover:not(:disabled) { border-color: var(--demo-teal); transform: translateY(-1px); }
.demo-workflow-action-card button.primary:hover:not(:disabled) { background: var(--demo-teal-dark); }
.demo-workflow-action-card button:disabled { opacity: .42; cursor: not-allowed; }
.demo-workflow-action-card > p.error { grid-column: 1 / -1; padding: 6px 8px; border-radius: 6px; background: #fff1ef; color: var(--demo-bad); }
.demo-split { display: grid; grid-template-columns: minmax(360px, .86fr) minmax(450px, 1.14fr); height: calc(100% - 59px); min-height: 0; }
.demo-split > .demo-list { border-right: 1px solid var(--demo-line); }
.demo-inspector { min-width: 0; padding: 20px; overflow: auto; background: #fffdfa; }
.demo-inspector-back { display: none; min-height: 40px; margin: -6px 0 14px; border: 1px solid var(--demo-line); border-radius: 8px; background: white; color: var(--demo-teal-dark); font-weight: 900; cursor: pointer; }
.demo-inspector.empty { display: grid; place-content: center; max-width: 500px; margin: auto; color: var(--demo-muted); text-align: center; }
.demo-inspector.empty h3 { margin: 8px 0; color: var(--demo-ink); }
.demo-empty-icon { margin: auto; color: var(--demo-teal); font-size: 36px; }
.demo-inspector-head { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 15px; align-items: start; }
.demo-large-thumb { width: 90px; height: 90px; }
.demo-inspector h2 { margin: 4px 0 9px; font-size: clamp(18px, 2vw, 24px); line-height: 1.17; }
.demo-badge-row { display: flex; flex-wrap: wrap; gap: 5px; }
.demo-alert { display: flex; align-items: start; gap: 12px; margin: 18px 0; padding: 12px; border: 1px solid; border-radius: 8px; font-size: 11px; }
.demo-alert strong { min-width: max-content; }
.demo-alert.good { border-color: #b7d9ca; background: #f0f8f4; color: #245f47; }
.demo-alert.warn { border-color: #ead09c; background: #fff8e8; color: #775014; }
.demo-alert.bad { border-color: #e4aaa6; background: #fff1ef; color: #8d2c25; }
.demo-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--demo-line); border-radius: 8px; background: var(--demo-line); }
.demo-detail-grid span { min-width: 0; padding: 11px 12px; background: white; }
.demo-detail-grid span.wide { grid-column: 1 / -1; }
.demo-detail-grid small, .demo-detail-grid strong { display: block; }
.demo-detail-grid small { color: var(--demo-muted); font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.demo-detail-grid strong { margin-top: 4px; overflow-wrap: anywhere; font-size: 12px; }
.demo-inspector-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.demo-inspector-actions .primary, .demo-explainer .primary, .demo-account .primary { border-color: var(--demo-teal); background: var(--demo-teal); color: white; }
.demo-inspector-actions .primary:hover, .demo-explainer .primary:hover { background: var(--demo-teal-dark); }
.demo-action-note { margin: 13px 0 0; color: var(--demo-muted); font-size: 10px; }

.demo-issues-workspace { min-height: 520px; }
.demo-issue-list { min-width: 0; overflow: auto; border-right: 1px solid var(--demo-line); }
.demo-issue-list-head { display: flex; align-items: center; justify-content: space-between; min-height: 51px; padding: 9px 13px; border-bottom: 1px solid var(--demo-line); background: #f3f0e8; }
.demo-issue-list-head strong { font-size: 14px; }
.demo-issue-list-head span { display: grid; place-items: center; min-width: 27px; height: 27px; border-radius: 999px; background: var(--demo-dark); color: white; font-size: 10px; font-weight: 900; }
.demo-issue-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 10px; width: 100%; min-height: 88px; padding: 12px 13px; overflow: hidden; border: 0; border-bottom: 1px solid #ebe7df; background: transparent; color: var(--demo-ink); text-align: left; cursor: pointer; }
.demo-issue-row:hover { background: #fff8ef; }
.demo-issue-row.selected { background: #fff1ee; box-shadow: inset 3px 0 var(--demo-bad); }
.demo-issue-row:has(.demo-ended-bar) { padding-top: 35px; }
.demo-ended-bar { position: absolute; inset: 0 0 auto; display: grid; place-items: center; height: 24px; background: #c9251c; color: white; font-size: 9px; font-weight: 900; letter-spacing: .06em; }
.demo-issue-copy { min-width: 0; }
.demo-issue-copy strong, .demo-issue-copy small, .demo-issue-copy em { display: block; }
.demo-issue-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.demo-issue-copy small { margin-top: 3px; color: var(--demo-muted); font-size: 9px; }
.demo-issue-copy em { display: -webkit-box; margin-top: 5px; overflow: hidden; color: #8d2c25; font-size: 9px; font-style: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.demo-issue-detail { min-width: 0; padding: 20px; overflow: auto; background: #fffdfa; }
.demo-issue-detail-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.demo-issue-detail-head h2 { max-width: 800px; margin: 4px 0 9px; font-size: clamp(18px, 2vw, 24px); line-height: 1.17; }
.demo-issue-detail-head small { display: block; margin-top: 8px; color: var(--demo-muted); font-size: 10px; }
.demo-issue-detail-head > div:last-child { display: grid; justify-items: end; flex: 0 0 auto; gap: 5px; }
.demo-issue-detail-head > div:last-child > strong { font-size: 17px; }
.demo-issue-detail-head a { color: var(--demo-teal-dark); font-size: 11px; font-weight: 900; }
.demo-issue-evidence { margin: 18px 0 12px; padding: 13px; border-left: 4px solid var(--demo-bad); background: #fff1ef; }
.demo-issue-evidence strong { font-size: 12px; }
.demo-issue-evidence p { margin: 6px 0 0; color: #702822; font-size: 12px; }
.demo-correction-card { padding: 13px; border: 1px solid #e8aaa5; border-radius: 9px; background: #fff7f5; }
.demo-correction-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.demo-correction-head > span strong, .demo-correction-head > span small { display: block; }
.demo-correction-head > span strong { font-size: 12px; }
.demo-correction-head > span small { margin-top: 3px; color: var(--demo-muted); font-size: 10px; }
.demo-next-step { margin: 12px 0; padding: 11px; border-left: 4px solid var(--demo-teal); background: white; }
.demo-next-step strong { font-size: 11px; }
.demo-next-step p { margin: 5px 0 0; font-size: 11px; }
.demo-decision-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 13px; }
.demo-decision-actions button { min-height: 45px; padding: 0 12px; border: 1px solid var(--demo-line); border-radius: 8px; background: white; color: var(--demo-ink); font-size: 12px; font-weight: 900; cursor: pointer; }
.demo-decision-actions button:hover { border-color: #9ba6a9; transform: translateY(-1px); }
.demo-decision-actions button.primary { border-color: var(--demo-teal); background: var(--demo-teal); color: white; }
.demo-decision-actions button.danger { border-color: #d77c75; color: var(--demo-bad); }
.demo-decision-note { margin: 9px 0 0; color: var(--demo-muted); font-size: 9px; }
.demo-correction-links { display: flex; justify-content: flex-end; margin-top: 12px; }
.demo-correction-links a, .demo-correction-links button { display: inline-grid; place-items: center; min-height: 39px; padding: 0 14px; border: 1px solid var(--demo-teal); border-radius: 8px; background: var(--demo-teal); color: white; font-size: 11px; font-weight: 900; text-decoration: none; cursor: pointer; }

.demo-native-placeholder { display: grid; place-content: center; min-height: 320px; color: var(--demo-muted); text-align: center; }
.demo-native-placeholder h2 { margin: 15px 0 6px; color: var(--demo-ink); }
.demo-native-placeholder p { margin: 0; }

.demo-lifecycle { display: flex; align-items: stretch; gap: 8px; padding: 14px; overflow-x: auto; border: 1px solid var(--demo-line); border-radius: 11px; background: var(--demo-card); }
.demo-lifecycle > i { align-self: center; color: #9aa2a4; font-style: normal; }
.demo-lifecycle-step { display: grid; grid-template-columns: 30px minmax(115px, 1fr); column-gap: 9px; flex: 1; min-width: 165px; padding: 8px; border-radius: 8px; background: #f2efe7; }
.demo-lifecycle-step > span { grid-row: 1 / 3; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--demo-dark); color: white; font-weight: 900; }
.demo-lifecycle-step strong, .demo-lifecycle-step small { display: block; }
.demo-lifecycle-step strong { font-size: 12px; }
.demo-lifecycle-step small { color: var(--demo-muted); font-size: 9px; }
.demo-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.demo-metric-grid article { display: grid; align-content: start; min-height: 104px; padding: 14px; border: 1px solid var(--demo-line); border-radius: 10px; background: var(--demo-card); }
.demo-metric-grid small { color: var(--demo-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.demo-metric-grid strong { margin: 5px 0 8px; font-size: 24px; letter-spacing: -.03em; }
.demo-metric-grid span:not(.demo-badge) { color: var(--demo-muted); font-size: 10px; }
.demo-schedule-list { max-height: calc(100vh - 490px); min-height: 160px; overflow: auto; }
.demo-schedule { border-bottom: 1px solid var(--demo-line); }
.demo-schedule summary { display: grid; grid-template-columns: minmax(220px, 2fr) minmax(100px, .7fr) minmax(90px, .55fr) minmax(220px, 1.4fr); gap: 12px; align-items: center; min-height: 64px; padding: 8px 16px; cursor: pointer; }
.demo-schedule summary:hover { background: #f4f8f6; }
.demo-schedule summary > span strong, .demo-schedule summary > span small { display: block; }
.demo-schedule summary > span strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.demo-schedule summary > span small { margin-top: 3px; color: var(--demo-muted); font-size: 9px; }
.demo-schedule > div { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 13px 38px; background: #f5f2eb; color: var(--demo-muted); font-size: 10px; }
.demo-text-bad { color: var(--demo-bad); }

.demo-system-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.demo-health-list > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 9px 16px; border-bottom: 1px solid var(--demo-line); }
.demo-health-list span strong, .demo-health-list span small { display: block; }
.demo-health-list span strong { font-size: 11px; }
.demo-health-list span small { margin-top: 3px; max-width: 520px; color: var(--demo-muted); font-size: 9px; }
.demo-event-list details { border-bottom: 1px solid var(--demo-line); }
.demo-event-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 47px; padding: 8px 16px; cursor: pointer; }
.demo-event-list summary > span { display: flex; align-items: center; gap: 9px; min-width: 0; }
.demo-event-list summary strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.demo-event-list summary small { color: var(--demo-muted); font-size: 9px; white-space: nowrap; }
.demo-event-list pre { max-height: 280px; margin: 0; padding: 14px; overflow: auto; background: #20292d; color: #dce7e9; font-size: 10px; }
.demo-explainer, .demo-account { max-width: 760px; padding: 32px; }
.demo-explainer h2 { margin: 7px 0; }
.demo-explainer p:not(.demo-kicker), .demo-account p { color: var(--demo-muted); }
.demo-explainer a { margin-top: 8px; }
.demo-account { margin: 8vh auto 0; text-align: center; }
.demo-account > div { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.demo-avatar { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 18px; background: var(--demo-dark); color: white; font-size: 28px; font-weight: 900; }
.demo-empty { padding: 34px 18px; color: var(--demo-muted); text-align: center; }
.demo-empty h3 { margin: 0 0 5px; color: var(--demo-ink); }
.demo-empty p { margin: 0; font-size: 11px; }

.demo-assistant { position: fixed; z-index: 4; top: 104px; right: 24px; width: min(340px, calc(100vw - 32px)); padding: 17px; border: 1px solid #9ebfc0; border-radius: 12px; background: var(--demo-card); box-shadow: 0 20px 60px rgba(20,31,35,.22); }
.demo-assistant > div { display: flex; justify-content: space-between; }
.demo-assistant button { border: 0; background: transparent; color: var(--demo-muted); font-size: 24px; cursor: pointer; }
.demo-assistant h2 { margin: 5px 0 8px; }
.demo-assistant p:not(.demo-kicker) { color: var(--demo-muted); font-size: 12px; }
.demo-assistant a { color: var(--demo-teal-dark); font-weight: 900; }
.demo-assistant [data-demo-target] { display: inline-grid; place-items: center; min-height: 39px; padding: 0 13px; border: 1px solid var(--demo-teal); border-radius: 8px; background: var(--demo-teal); color: white; font-size: 11px; font-weight: 900; }
.demo-boot { display: grid; place-items: center; align-content: center; height: 100%; padding: 30px; text-align: center; }
.demo-boot h1 { margin: 18px 0 5px; }
.demo-boot p { color: var(--demo-muted); }
.demo-boot a { color: var(--demo-teal-dark); font-weight: 900; }
.demo-loader { width: 180px; height: 3px; margin-top: 18px; overflow: hidden; border-radius: 4px; background: #d5d2ca; }
.demo-loader::after { content: ""; display: block; width: 45%; height: 100%; background: var(--demo-teal); animation: demo-load 1.1s ease-in-out infinite alternate; }
@keyframes demo-load { to { transform: translateX(125%); } }

@media (max-width: 1100px) {
  body.eiw-demo-native-active #app { left: 78px; }
  .demo-shell { grid-template-columns: 78px minmax(0, 1fr); }
  .demo-sidebar { padding-inline: 9px; }
  .demo-brand { justify-content: center; padding-inline: 0; }
  .demo-brand > span:last-child, .demo-primary-nav strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .demo-primary-nav { justify-content: center; padding: 5px; }
  .demo-primary-nav:hover { transform: none; }
  .demo-exit { font-size: 10px; }
  .demo-split { grid-template-columns: minmax(330px, .9fr) minmax(380px, 1.1fr); }
  .demo-pipeline, .demo-metric-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .demo-sidebar > .demo-primary-nav, .demo-sidebar > .demo-exit { display: none; }
  .demo-jobs-drawer { top: 142px; right: 10px; left: 10px; width: auto; }
  .demo-inventory-toolbar { flex-wrap: wrap; }
  .demo-inventory-toolbar .demo-search { flex: 1 0 100%; min-width: 0; }
  .demo-inventory-toolbar .demo-result-count { display: block; margin-left: 0; }
  .demo-inventory-toolbar .demo-toolbar-action { margin-left: auto; }
  body.eiw-demo-native-active #app { inset: 216px 0 103px; }
  body.eiw-demo-native-active #app > main { padding: 12px; }
  #eiw-gui-switcher { right: 8px; bottom: 8px; }
  .demo-shell { display: block; padding-bottom: 61px; }
  .demo-sidebar { position: fixed; z-index: 5; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(6, 1fr); min-height: 61px; height: 61px; padding: 5px; border: 0; border-top: 1px solid #10181c; }
  .demo-brand, .demo-sidebar-spacer { display: none; }
  .demo-sidebar nav { display: contents; }
  .demo-primary-nav { display: grid; justify-items: center; gap: 1px; min-height: 49px; padding: 2px; }
  .demo-primary-nav span { width: 25px; height: 25px; font-size: 10px; }
  .demo-primary-nav strong { position: static; width: auto; height: auto; clip: auto; font-size: 8px; }
  .demo-sidebar > .demo-primary-nav strong { display: none; }
  .demo-exit { min-height: 49px; margin: 0; border: 0; font-size: 8px; }
  .demo-main { height: calc(100vh - 61px); }
  .demo-topbar { min-height: 78px; padding: 11px 14px; }
  .demo-topbar p { display: none; }
  .demo-top-actions button:first-child { display: none; }
  .demo-top-actions [data-demo-native-close] { display: inline-grid !important; width: 76px; white-space: nowrap; }
  .demo-top-actions button { max-width: 90px; overflow: hidden; padding-inline: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .demo-hud { min-height: 35px; padding-inline: 14px; gap: 15px; }
  .demo-secondary { min-height: 44px; padding-inline: 9px; }
  .demo-content { padding: 13px; }
  .demo-footer { padding-inline: 13px; }
  .demo-footer span:nth-child(2) { display: none; }
  .demo-mode-toggle .gui-mode-label { display: none; }
  .demo-pipeline, .demo-metric-grid, .demo-system-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .demo-pipeline-card { min-height: 95px; }
  .demo-workspace { overflow: visible; }
  .demo-split { display: block; height: auto; }
  .demo-workspace:has(> .demo-pagination) { overflow: hidden; }
  .demo-workspace:has(> .demo-pagination) > .demo-split { overflow: auto; }
  .demo-split > .demo-list { max-height: none; border-right: 0; }
  .demo-inspector { display: none; }
  .demo-issue-detail { display: none; }
  .demo-split:has(.demo-item-row.selected) > .demo-list { display: none; }
  .demo-split:has(.demo-item-row.selected) > .demo-inspector { display: block; }
  .demo-split:has(.demo-item-row.selected) .demo-inspector-back { display: inline-grid; place-items: center; }
  .demo-issue-split:has(.demo-issue-row.selected) > .demo-issue-list { display: none; }
  .demo-issue-split:has(.demo-issue-row.selected) > .demo-issue-detail { display: block; }
  .demo-issue-split:has(.demo-issue-row.selected) .demo-inspector-back { display: inline-grid; place-items: center; }
  .demo-schedule summary { grid-template-columns: minmax(160px, 1.5fr) 90px 75px; }
  .demo-schedule summary > span:last-child { grid-column: 1 / -1; }
  .demo-lifecycle { padding: 9px; }
  .demo-bulk-toolbar { grid-template-columns: 1fr; align-items: start; }
  .demo-bulk-toolbar > div { justify-content: flex-start; }
  .demo-workflow-action-card { grid-template-columns: 1fr; align-items: start; }
  .demo-workflow-action-card > div { justify-content: flex-start; }
  .demo-assistant { top: 82px; right: 12px; }
}

@media (max-width: 480px) {
  .demo-preview-label { font-size: 8px; }
  .demo-topbar h1 { font-size: 23px; }
  .demo-pipeline, .demo-metric-grid, .demo-system-grid { grid-template-columns: 1fr; }
  .demo-pipeline-card { min-height: 84px; }
  .demo-item-row { grid-template-columns: 45px minmax(0, 1fr) auto; padding-inline: 8px; }
  .demo-item-row-bulk { grid-template-columns: 24px minmax(0, 1fr); }
  .demo-item-row-content { grid-template-columns: 45px minmax(0, 1fr) auto; gap: 8px; }
  .demo-thumb { width: 44px; height: 44px; }
  .demo-price > strong { font-size: 12px; }
  .demo-result-count { display: none; }
  .demo-detail-grid { grid-template-columns: 1fr; }
  .demo-detail-grid span.wide { grid-column: auto; }
  .demo-decision-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  #eiw-demo-root *, #eiw-demo-root *::before, #eiw-demo-root *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
