/* OS-WEB 1.3. Manufacture: shared type and spacing, steel/blue identity. */
:root{--surface-paper:#eef2f5;--surface-one:#e3eaf0;--surface-two:#d4e0e9;--surface-rule:#b7c9d7;--surface-rule-strong:#83a1b6;--text-ink:#192a38;--text-muted:#4e6475;--brand-forest:#263e50;--brand-deep:#132534;--brand-accent:#7ab6e4;--brand-accent-strong:#245d8c;--brand-accent-light:#b5d9f4;--brand-accent-soft:#d7e9f7;--brand-accent-rule:#93b5cf;--text-on-dark:#f1f6fa;--text-muted-on-dark:#c4d8e6;--paper:#eef2f5;--text:#192a38;--ink:#192a38;--muted:#4e6475;--line:#b7c9d7;--lime:#7ab6e4;--lime-text:#192a38;--lime-hover:#99c6e8;--surface:#e3eaf0;--surface-neutral:#dce6ee;--green:#245d8c;--labs:#245d8c;--accent:#245d8c;--accent-soft:#d7e9f7;--bg:#eef2f5;--card:#f8fafc}
:root[data-theme=dark]{--surface-paper:#152632;--surface-one:#1f3443;--surface-two:#294556;--surface-rule:#486273;--surface-rule-strong:#7e9caf;--text-ink:#eaf3fa;--text-muted:#b3c8d8;--brand-forest:#263e50;--brand-deep:#0c1b27;--brand-accent:#7ab6e4;--brand-accent-strong:#a2ceef;--brand-accent-light:#b5d9f4;--brand-accent-soft:#294556;--text-on-dark:#f1f6fa;--text-muted-on-dark:#c4d8e6;--paper:#152632;--text:#eaf3fa;--ink:#eaf3fa;--muted:#b3c8d8;--line:#486273;--lime:#7ab6e4;--surface:#1f3443;--surface-neutral:#294556;--green:#a2ceef;--labs:#a2ceef;--accent:#a2ceef;--accent-soft:#294556;--bg:#152632;--card:#1c303e}
.manufacture-host{background:var(--paper);color:var(--text)}.container{width:min(1440px,100%);padding-inline:clamp(22px,5vw,75px)}.os-app-preview{font-size:11px;letter-spacing:.02em;text-align:center;padding:8px 20px;background:#132534;color:#dbeaf3}.os-app-header{border-bottom:1px solid var(--line)}.os-app-header-inner{display:flex;min-height:94px;align-items:center;gap:32px}.os-app-brand{font-size:30px;letter-spacing:-1.6px;font-weight:800;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.os-app-brand span{font-size:10px;line-height:1.3;letter-spacing:-.2px;padding:4px 5px;border:1px solid var(--accent);border-radius:4px;color:var(--accent)}.os-app-nav{display:flex;gap:27px;margin-left:auto;font-size:13px;font-weight:600}.os-app-nav a{min-height:44px;display:inline-flex;align-items:center}.os-app-nav a:hover{color:var(--accent)}.os-app-header .header-controls{gap:16px;margin-left:auto}.os-app-header .theme-toggle{border-radius:6px;min-height:40px;font-size:11px}.demo-bar{background:var(--surface);border-bottom:1px solid var(--line)}.demo-intro h1{font-size:clamp(34px,4.6vw,64px);letter-spacing:-.055em;line-height:1.1;max-width:950px;font-weight:650}.demo-intro p{font-size:16px;line-height:1.8;color:var(--muted);max-width:800px}.demo-guide{border-radius:8px;background:var(--paper);border:1px solid var(--line)}.demo-step-number{background:var(--accent-soft);color:var(--accent);border-radius:4px}.demo-guide-title,.demo-scenario-title{font-weight:750}.demo-data-note{color:var(--muted)}.demo-scenario{border-color:var(--line);border-radius:6px;background:var(--surface)}.device-stage{background:linear-gradient(160deg,var(--surface),var(--surface-two))}.device-lid{border-radius:14px;background:#233644;box-shadow:0 25px 70px #10192330}.device-screen{border-radius:5px}.device-base{background:#adbcc6}.app{border-color:var(--line)}.app-side{background:var(--surface)}.app-brand>svg{border-radius:6px}.app-tab{border-radius:5px}.app-tab[aria-selected=true]{background:var(--lime);color:#192a38}.btn{border-radius:5px}.btn-labs,.btn-dark{background:var(--lime);color:#192a38;border-color:var(--lime)}.btn-labs:hover,.btn-dark:hover{background:#a2ceef;color:#192a38}.btn-ghost,.btn-outline{color:var(--text);border-color:var(--line)}.panel,.kpi{border-radius:6px}.offer{border-radius:8px;background:var(--surface);border-color:var(--line)}.offer h2 span{color:var(--accent)}.os-app-footer{padding-block:45px 28px;border-top:1px solid var(--line);display:grid;gap:22px}.os-app-footer nav{display:flex;flex-wrap:wrap;gap:16px 30px;font-size:12px}.os-app-footer p{font-size:11px;color:var(--muted);line-height:1.8}.toast{background:var(--text);color:var(--paper)}:focus-visible{outline-color:var(--accent)}
@media(max-width:900px){.os-app-nav{display:none}.os-app-header-inner{min-height:82px;gap:18px}.os-app-header .mobile-menu{display:block}.os-app-header .header-controls{margin-left:auto}.os-app-brand{font-size:27px}.os-app-preview{font-size:10px}.os-app-header .theme-toggle{padding:8px;min-height:38px}.os-app-header .theme-toggle [data-theme-label]{display:none}.os-app-header .mobile-menu summary{border-radius:5px;font-size:12px}.os-app-header .mobile-menu nav{background:var(--paper);color:var(--text);border-color:var(--line)}.demo-intro h1{font-size:40px}.demo-intro p{font-size:15px}.device-lid{border-radius:8px}.os-app-footer{gap:19px}.container{padding-inline:22px}}@media(max-width:360px){.container{padding-inline:18px}.os-app-brand{font-size:25px}.os-app-header-inner{gap:12px}.os-app-header .header-controls{gap:10px}.demo-intro h1{font-size:35px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.crumbs span,.demo-bar .crumbs span[aria-hidden]{color:var(--muted)}.status.crit{background:#f9dfdb;color:#8b2c27;border-color:#d6988e}.status.warn{background:#d7e9f7;color:#245d8c;border-color:#93b5cf}:root[data-theme=dark] .status.crit{background:#533530;color:#ffc5b9;border-color:#a06e61}:root[data-theme=dark] .status.warn{background:#294556;color:#b5d9f4;border-color:#6c92ad}
/* Manufacture 1.4: presentation layer, original workflow and controls preserved. */
.manufacture-host{font-family:Manrope,Arial,sans-serif}.os-app-header-inner{min-height:76px}.os-app-preview{font-size:10px;padding:6px 20px}.os-app-nav{font-size:12px;gap:24px}.os-app-header .brand-wordmark{font-size:24px}.os-app-header .brand-symbol{width:32px;height:30px}.os-app-header .brand-os{font-size:11px}.demo-bar{background:var(--paper);padding-block:24px 28px}.demo-intro h1{font-weight:550;letter-spacing:-.045em;font-size:clamp(30px,3.4vw,48px);max-width:800px;line-height:1.14;margin-block:12px 16px}.demo-intro p{font-size:14px;line-height:1.8}.crumbs{font-size:10px}.demo-bar .app-actions{gap:10px}.btn{border-radius:8px;min-height:40px;font-weight:650}.btn-dark,.btn-labs{background:#294d67;border-color:#294d67;color:#f5f9fc}.btn-dark:hover,.btn-labs:hover{background:#3d6581;color:#fff}.btn-outline{background:var(--paper)}.demo-guide{padding:26px 28px;border-radius:12px;background:var(--surface);border-color:var(--line);box-shadow:none}.demo-guide-title{font-size:15px}.demo-guide ol{gap:24px}.demo-guide ol li p{font-size:12px;line-height:1.7}.demo-step-number{border-radius:6px;background:var(--paper)}.demo-scenario{padding:20px;border-radius:9px;background:var(--paper)}.demo-scenario p{font-size:12px}.demo-data-note{font-size:11px}.device-stage{padding-block:40px;background:var(--surface);border-block:1px solid var(--line)}.device-wrap{max-width:1380px}.device-lid{border-radius:16px;padding:12px;background:#263d4b;box-shadow:0 22px 50px #1026381a}.device-screen{border-radius:8px}.device-base{height:12px;border-radius:0 0 15px 15px}.win-bar{background:#1c3444;color:#dceaf4;padding-inline:20px}.win-title,.win-meta{font-size:10px}.win-dots i{background:#658293}.app-side{border-right:1px solid var(--line)}.app-brand{padding-block:24px}.app-brand>svg{width:35px;height:35px}.app-brand b{font-size:13px}.app-brand span{font-size:10px}.app-tabs{padding:12px}.app-tab{border-radius:7px;min-height:44px;padding:12px 14px;font-size:12px}.app-tab[aria-selected=true]{background:#294d67;color:#f4f8fb}.app-tab .count{background:#deebf3;color:#26475d}.app-main{background:var(--paper)}.app-head h2{font-size:25px;font-weight:600;letter-spacing:-.035em}.app-head p{font-size:12px}.kpis{gap:12px}.kpi{border:1px solid var(--line);border-radius:9px;background:var(--card);box-shadow:none}.kpi-label{font-size:10px;letter-spacing:.035em}.kpi-value{font-weight:600;letter-spacing:-.04em}.panel{border:1px solid var(--line);border-radius:10px;box-shadow:none;background:var(--card)}.panel-head{padding:16px 20px;border-bottom:1px solid var(--line)}.panel-head h3{font-size:14px;font-weight:700}.app-table thead th{font-size:10px;color:var(--muted)}.app-table tbody td{font-size:12px}.status{border-radius:5px;font-size:10px}.offer{border-radius:14px;padding:36px}.offer h2{font-weight:550;letter-spacing:-.045em}.os-app-footer{padding-block:38px 25px}.os-app-footer .brand-wordmark{font-size:24px}.os-app-footer .brand-symbol{width:32px}.os-app-footer p{font-size:11px}.toast{border-radius:10px;box-shadow:0 12px 35px #122b3c26}.modal,.dialog{border-radius:14px}.theme-toggle,.mobile-menu summary{border-radius:8px!important}
.manufacture-host .app .app-tab .count{color:#26475d;background:#deebf3}
:root[data-theme=dark] .btn-dark,:root[data-theme=dark] .btn-labs{background:#acd0e7;color:#213f53;border-color:#acd0e7}:root[data-theme=dark] .app-tab[aria-selected=true]{background:#acd0e7;color:#213f53}:root[data-theme=dark] .demo-guide{background:#1c3546}:root[data-theme=dark] .device-lid{background:#405f72}
@media(max-width:900px){.os-app-header-inner{min-height:70px}.demo-intro h1{font-size:35px}.demo-guide{padding:22px}.demo-guide ol{gap:16px}.device-stage{padding-block:26px}.device-lid{padding:7px;border-radius:10px}.os-app-header .brand-wordmark{font-size:22px}.os-app-header .header-controls{gap:10px}}
@media(max-width:600px){.demo-bar{padding-block:18px 24px}.demo-intro h1{font-size:31px}.demo-intro p{font-size:13px}.container{padding-inline:18px}.demo-guide{padding:22px 18px}.demo-scenario{padding:17px}.device-stage{padding-block:20px}.device-lid{padding:5px}.offer{padding:25px}.app-head h2{font-size:22px}.os-app-nav{gap:16px}.os-app-footer nav{font-size:11px;gap:15px}.brand-wordmark .brand-os{padding-left:8px}.os-app-preview{font-size:9px}}

/* Keep theme aliases as specific as the inherited Group dark theme. */
:root[data-theme=dark]{--support-text:var(--text-muted);--support-strong:var(--text-ink);--pill-bg:var(--surface-two);--pill-line:var(--surface-rule);--tag-bg:var(--surface-two);--tag-line:var(--surface-rule);--tag-text:var(--text-ink);--closed-bg:var(--surface-two);--closed-line:var(--surface-rule);--closed-text:var(--text-muted)}
:root[data-theme=dark] .mf{--mf-side-text:var(--text-on-dark);--mf-side-muted:var(--text-muted-on-dark);--mf-side-2:#1e3a4d}
:root[data-theme=dark] .os-app-header .brand-wordmark,:root[data-theme=dark] .os-app-footer .brand-wordmark{color:var(--text-on-dark)}
:root[data-theme=dark] .skip{color:var(--brand-deep)}

/* Keep short counters readable next to multi-line tab labels. */
.manufacture-host .app .app-tab .count{flex-shrink:0;white-space:nowrap}
:root[data-theme=dark] .btn-dark:hover,:root[data-theme=dark] .btn-labs:hover{background:#c3e0f2;border-color:#c3e0f2;color:#213f53}
.device.manufacture .win-title,.device.manufacture .win-meta{color:var(--text-muted-on-dark)}
.device.manufacture .win-title b{color:var(--text-on-dark)}
