/* Quiet Industrial B — colours sampled from local V48 references; view layer only. */
:root {
  --bg:#1e1b20; --panel:#262328; --panel2:#2d282f; --panel3:#363039;
  --border:#494148; --muted:#b9aea1; --text:#f2f1ca; --soft:#b9aea1;
  --amber:#e5c04b; --cyan:#f2f1ca; --mint:#e5c04b; --red:#f49a4e;
  --shadow:none;
}
body { background:var(--bg); color:var(--text); font-family:"Segoe UI",sans-serif; }
.shell { margin:0 0 0 190px; padding:0 30px 30px; max-width:none; }
.quiet-b .top { height:65px; padding:10px 0; margin:0; border-color:var(--border); }
.quiet-b .top .brand { display:none; }
#qiNavigation { position:fixed; inset:0 auto 0 0; width:190px; padding:23px 20px; border-right:1px solid var(--border); }
.qi-wordmark { font-size:16px; font-weight:750; letter-spacing:.6px; color:var(--amber); }
.qi-wordmark span { color:var(--text); }
.qi-wordmark small { display:block; color:var(--muted); font-size:10px; margin-top:4px; letter-spacing:2px; }
#qiNavigation #fdPageNav { flex-direction:column; border:0; background:none; margin:35px 0 0; padding:0; gap:5px; }
#qiNavigation button { display:block; width:100%; text-align:left; font-size:13px; padding:13px 9px;
  border:0; border-radius:0; background:none; color:var(--text); min-height:44px; }
#qiNavigation button.active, #qiNavigation button[aria-current="page"] { color:var(--amber); background:var(--panel); }
.qi-project-info b { font-size:13px; font-weight:600; }
.qi-project-info small { display:block; color:var(--muted); font-size:11px; margin-top:3px; }
.quiet-b .btn { background:transparent; border:1px solid var(--border); color:var(--text); border-radius:3px;
  font-weight:550; font-size:12px; min-height:36px; box-shadow:none; }
.quiet-b .btn:hover { background:var(--panel3); border-color:var(--muted); }
.quiet-b .btn.primary, .quiet-b #plannerAutoGenerate, .quiet-b #fdFromAuto {
  color:var(--bg); background:var(--amber); border-color:var(--amber); font-weight:650;
}
.quiet-b input, .quiet-b select { background:var(--bg); border-color:var(--border); color:var(--text); border-radius:3px; }
.quiet-b input[type="range"], .quiet-b input[type="checkbox"] { accent-color:var(--amber); }
.quiet-b button:focus-visible, .quiet-b input:focus-visible, .quiet-b select:focus-visible,
.quiet-b summary:focus-visible, .quiet-b a:focus-visible { outline:2px solid var(--amber); outline-offset:3px; }
.quiet-b .top-right { flex-wrap:nowrap; }
.quiet-b .language { background:none; border-color:var(--border); }
.quiet-b .language button.active { background:var(--panel3); color:var(--amber); }
.quiet-b .v29-top-more-menu { background:var(--panel); border-color:var(--border); }
.quiet-b .v29-top-more-menu .btn { min-height:40px; }
#ftnFront, .quiet-b .ftn-workspace-nav { display:none!important; }
#qiOverview { margin:20px 0 0; }
.qi-heading { font-size:10px; letter-spacing:1.5px; color:var(--muted); padding-bottom:13px; }
.qi-heading b { font-weight:500; }
.qi-stats { display:grid; grid-template-columns:1.2fr 1fr 1fr 1fr; padding:20px 0;
  border-block:1px solid var(--border); }
.qi-stats > div { padding:0 18px; border-right:1px solid var(--border); min-width:0; }
.qi-stats > div:first-child { padding-left:0; }
.qi-stats > div:last-child { border:0; }
.qi-stats small { display:block; color:var(--muted); font-size:11px; margin-bottom:8px; }
.qi-stats strong { display:block; font-size:23px; font-weight:550; line-height:1.3; letter-spacing:-.4px; }
#qiEvidence { color:var(--muted); font-size:11px; margin:8px 0 16px; }
#qiHarvest { padding:16px 18px; background:var(--panel); border-block:1px solid var(--border); margin-bottom:22px; }
.quiet-b #v29ConfigBody .v29-config-grid { display:flex; gap:24px; flex-wrap:wrap; }
.quiet-b #v29ConfigBody .v29-config-grid > section { padding:0; border:0; background:none; min-width:0; flex:1; }
.quiet-b #v29ConfigBody .v29-config-grid > section:first-child { flex:4; }
.quiet-b #v29ConfigBody h3 { font-size:13px; margin:0 0 10px; }
.quiet-b .ftn-harvest-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.quiet-b .v29-step { display:grid; grid-template-columns:minmax(55px,1fr) 25px 42px 25px; gap:4px; font-size:11px; }
.quiet-b .v29-step input { width:100%; min-height:32px; padding:4px; text-align:center; }
.quiet-b .v29-step button { width:25px; min-height:32px; border:1px solid var(--border); background:none; }
.quiet-b #v29ConfigBody [data-v29-open-upgrades] { display:none; }
.quiet-b .ftn-workspace-panes { padding:0; }
.quiet-b #ftnPane-production { display:grid; grid-template-columns:minmax(0,1fr) 295px; gap:26px; }
#qiProduction { min-width:0; }
.quiet-b .card { background:none; border:0; border-radius:0; padding:0; box-shadow:none; }
.quiet-b #chainEditor { padding:0; border:0; }
.quiet-b .chain-tabs { margin:13px 0; }
.quiet-b .chain-tabs button { background:none; border:0; border-bottom:1px solid var(--border); border-radius:0; }
.quiet-b .chain-tabs button.active { border-color:var(--amber); color:var(--amber); }
.quiet-b .chain-settings { grid-template-columns:minmax(0,1fr); gap:0; }
.quiet-b .chain-setting { border:0; border-radius:0; padding:0; background:none; }
.quiet-b .chain-setting:first-child .setting-top { display:none; }
.quiet-b .chain-setting:not(:first-child) { margin-top:15px; border-top:1px solid var(--border); padding-top:12px; }
.quiet-b .chain-setting:not(:first-child) .transport-note { font-size:11px; margin:5px 0; }
.quiet-b .target { gap:4px; margin-bottom:15px; }
.quiet-b .target button { background:none; border:1px solid var(--border); padding:9px 4px; min-height:40px; }
.quiet-b .target button span:first-child { display:none; }
.quiet-b .target button.active { background:var(--panel); border-color:var(--amber); color:var(--amber); }
.quiet-b .section-label { color:var(--muted); font-size:10px; }
.quiet-b .topline { padding:0 0 12px; gap:10px; }
.quiet-b .topline input { font-size:12px; }
.quiet-b .topline label.small { font-size:11px; }
.qi-machine-table { width:100%; border-collapse:collapse; font-size:12px; }
.qi-machine-table th { color:var(--muted); text-align:left; font-size:10px; letter-spacing:.7px; font-weight:500;
  padding:10px 0; border-bottom:1px solid var(--border); }
.qi-machine-table td { padding:13px 0; border-bottom:1px solid var(--border); }
.qi-machine-table td:first-child { width:38%; }
.qi-machine-table td:nth-child(2) { width:36%; }
.qi-machine-table td:last-child, .qi-machine-table th:last-child { text-align:right; }
.qi-machine-table b { font-size:13px; font-weight:550; }
.qi-machine-table small { color:var(--muted); font-size:12px; }
.quiet-b .step { grid-template-columns:28px 52px 28px; gap:4px; max-width:116px; }
.quiet-b .step button { min-height:32px; background:none; border-color:var(--border); }
.quiet-b .step input { width:52px; padding:5px; min-height:32px; }
.quiet-b .chain-results { margin:14px 0; border:0; background:var(--panel); border-left:2px solid var(--amber);
  padding:12px 15px; border-radius:0; }
.quiet-b .chain-results b { color:var(--text); font-size:17px; }
.quiet-b .tag { color:var(--muted); background:none; border:0; border-radius:0; padding:3px 0; }
.quiet-b .tag.warn { color:var(--red); }
.quiet-b #v29UpgradesDialog { padding:0 0 0 23px; margin:0; border:0; border-left:1px solid var(--border);
  background:none; width:auto; min-width:0; }
.quiet-b #v29UpgradesDialog .v29-dialog-head h2 { font-size:17px; }
.quiet-b #v29UpgradesDialog .ey { display:none; }
.quiet-b #v29UpgradesDialog .v29-dialog-head p { display:none; }
.quiet-b .v29-upgrade-actions { gap:5px; margin:13px 0; }
.quiet-b .v29-upgrade-actions .btn { font-size:11px; padding:7px 8px; }
.quiet-b .v29-upgrade-search { display:block; }
.quiet-b #v29UpgradeSearch { width:100%; }
.quiet-b #v29UpgradeSummary { font-size:11px; display:block; margin:9px 0; color:var(--amber); }
.quiet-b .v29-upgrade-group { border:0; border-top:1px solid var(--border); background:none; border-radius:0; margin:0; }
.quiet-b .v29-upgrade-group summary { padding:13px 0; font-size:12px; }
.quiet-b .v29-upgrade-group summary b { color:var(--muted); background:none; }
.quiet-b .v29-upgrade-row { padding:13px 0; border:0; border-bottom:1px solid var(--border); background:none; }
.quiet-b .v29-upgrade-title { font-size:12px; }
.quiet-b .v29-upgrade-title b { color:var(--amber); }
.quiet-b .v29-upgrade-meta { color:var(--muted); font-size:10px; }
.quiet-b #v29UpgradeFeedback { color:var(--amber); font-size:11px; margin-top:10px; }
.quiet-b #productionLive { border-top:1px solid var(--border); margin-top:18px; padding-top:16px; }
.quiet-b #productionLive h2 { font-size:15px; }
.quiet-b #productionLive .head { margin-bottom:9px; }
.quiet-b .diagnosis { background:var(--panel); border-left:2px solid var(--amber); border-radius:0; padding:12px; }
.quiet-b .diagnosis.warn { border-left-color:var(--red); }
.quiet-b .diagnosis p, .quiet-b .diagnosis li { font-size:12px; }
.quiet-b .diagnosis h3 { color:var(--amber); font-size:13px; }
.quiet-b .diagnosis.warn h3 { color:var(--red); }
.quiet-b .ftn-monitor-details { border:0; }
.quiet-b .ftn-monitor-details > summary { display:none; }
.quiet-b .ftn-monitor-details .flow { margin-top:16px; }
.quiet-b .flow .node { background:var(--panel); border-color:var(--border); color:var(--text); border-radius:3px; }
.quiet-b .flow .arrow { color:var(--amber); }
.quiet-b #qiOptimizeTools { border-top:1px solid var(--border); margin-top:18px; }
.quiet-b #qiOptimizeTools > summary { padding:13px 0; color:var(--text); font-size:13px; }
.quiet-b #qiOptimizeTools .card { padding:12px 0; }
.quiet-b #qiOptimizeTools .note { display:block; color:var(--muted); }
.quiet-b #qiOptimizeTools #autoDesignCard { border-top:1px solid var(--border); margin-top:16px; }
.quiet-b #qiOptimizeTools #autoDesignBody { font-size:12px; }
.quiet-b #qiProjects { padding:32px 0; }
.quiet-b #qiProjects h2 { font-size:25px; }
.quiet-b #qiProjects p { color:var(--muted); font-size:12px; }
.qi-project-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.quiet-b dialog { background:var(--panel); border-color:var(--border); color:var(--text); border-radius:4px; }
.quiet-b dialog::backdrop { background:#000a; }
.quiet-b .v28-project { border:0; border-bottom:1px solid var(--border); border-radius:0; background:none; }
.quiet-b .v28-project b, .quiet-b .v28-project small { color:var(--text); }
.quiet-b .fd-designer-heading h2 { font-size:25px; font-weight:550; }
.quiet-b .fd-designer-heading p { color:var(--muted); font-size:12px; }
.quiet-b .fd-page-columns { display:block; }
.quiet-b #qiDesignerDetails { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:30px; padding-top:22px; }
.quiet-b #fdRight { min-width:0; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; }
.quiet-b #fdRight #productionLive { margin-top:0; }
.quiet-b .fd-inspector { border-top:1px solid var(--border); padding-top:16px; }
.quiet-b .fd-palette { border-top:1px solid var(--border); padding-top:16px; }
.quiet-b .fd-work-toolbar { gap:7px; }
.quiet-b .fd-work-toolbar select { min-height:36px; }
.quiet-b .fd-work-stats { background:none; border:0; border-block:1px solid var(--border); border-radius:0; }
.quiet-b .fd-work-stats > div { border-color:var(--border); }
.quiet-b .fd-work-stats b { color:var(--text); }
.quiet-b .fd-viewport { background:var(--bg); border:1px solid var(--border); border-radius:0;
  height:520px; max-height:none; }
.quiet-b .fd-scene { background-color:var(--bg); }
.quiet-b .fd-work-node { background:var(--panel); border-color:var(--border); border-radius:3px; box-shadow:none; }
.quiet-b .fd-work-node.selected { border-color:var(--amber); box-shadow:none; }
.quiet-b .fd-node-head, .quiet-b .fd-handle { background:none; color:var(--muted); }
.quiet-b .fd-work-node button { background:none; color:var(--text); border-color:var(--border); }
.quiet-b .fd-node-flow { color:var(--text); }
.quiet-b .fd-message { color:var(--muted); background:none; }
.quiet-b .fd-message.warn { color:var(--red); }
.quiet-b .fd-edge-row { border-color:var(--border); }
.quiet-b .fd-edge-list { border-color:var(--border); background:none; }
.quiet-b .fd-harvest-flyout { background:var(--panel); border-color:var(--border); color:var(--text); }
.quiet-b footer { margin-top:25px; border-top:1px solid var(--border); padding-top:16px; }
.quiet-b .footer > span { display:inline; color:var(--muted); font-size:11px; }
.quiet-b .footer a { color:var(--muted); }
@media (min-width:1800px) { .shell { max-width:2050px; } .quiet-b #ftnPane-production { grid-template-columns:1fr 340px; }
  .quiet-b .fd-viewport { height:720px; } }
@media (max-width:1100px) {
  .shell { margin-left:155px; padding:0 20px 25px; } #qiNavigation { width:155px; padding:22px 12px; }
  .qi-wordmark { font-size:14px; } .quiet-b #ftnPane-production { grid-template-columns:minmax(0,1fr) 255px; gap:18px; }
  .quiet-b .ftn-harvest-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .quiet-b #qiDesignerDetails { display:block; } .quiet-b #fdPalette { margin-top:24px; }
  .quiet-b .target { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .qi-stats { grid-template-columns:1fr 1fr; gap:18px 0; } .qi-stats > div:nth-child(3) { padding-left:0; }
  .qi-stats > div:nth-child(2) { border:0; }
}
@media (max-width:900px) {
  .quiet-b #ftnPane-production { grid-template-columns:minmax(0,1fr); }
  .quiet-b #v29UpgradesDialog { padding:20px 0 0; border-left:0; border-top:1px solid var(--border); margin-top:15px; }
  .quiet-b #fdRight { grid-template-columns:minmax(0,1fr); }
  .quiet-b .ftn-harvest-options { grid-template-columns:minmax(0,1fr); }
  .quiet-b .qi-stats strong { font-size:20px; }
}
@media (max-width:700px) {
  .shell { margin:0; padding:0 16px 85px; } .quiet-b .top { min-height:65px; height:auto; gap:8px; }
  .qi-project-info { min-width:0; flex:1; } .qi-project-info b { font-size:12px; }
  .qi-project-info small { font-size:10px; } .quiet-b .top-right { gap:5px; }
  .quiet-b .top-right .language button { min-width:36px; min-height:44px; }
  #qiNavigation { position:fixed; inset:auto 0 0; width:auto; height:64px; display:flex; z-index:15;
    padding:0; border:0; border-top:1px solid var(--border); background:var(--bg); }
  .qi-wordmark { display:none; } #qiNavigation #fdPageNav { margin:0; display:flex; flex-direction:row; width:50%; }
  #qiNavigation > button { width:25%; } #qiNavigation #fdPageNav button { width:50%; }
  #qiNavigation button { font-size:10px; min-height:63px; padding:8px 4px; text-align:center; white-space:normal; }
  #qiOverview { margin-top:18px; } .qi-stats { padding:16px 0; } .qi-stats > div { padding:0 10px; }
  .qi-stats strong { font-size:19px; } #qiEvidence { font-size:10px; line-height:1.5; }
  #qiHarvest { padding:12px; margin-bottom:18px; }
  .quiet-b #v29ConfigBody .v29-config-grid { display:block; }
  .quiet-b #v29ConfigBody .v29-config-grid > section { margin-top:12px; }
  .quiet-b .ftn-harvest-options { grid-template-columns:minmax(0,1fr); gap:8px; }
  .quiet-b .v29-step { grid-template-columns:minmax(70px,1fr) 44px 56px 44px; font-size:12px; gap:6px; }
  .quiet-b .v29-step button { width:44px; min-height:44px; }
  .quiet-b .v29-step input { min-height:44px; }
  .quiet-b .target { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .quiet-b .target button { min-height:44px; font-size:11px; }
  .quiet-b #plannerAutoGenerate { font-size:12px; padding:8px 10px; max-width:220px; min-height:44px; }
  .quiet-b .chain-tabs button { min-height:44px; } .quiet-b .topline { flex-wrap:wrap; }
  .qi-machine-table th { font-size:9px; letter-spacing:0; } .qi-machine-table td { padding:12px 2px; }
  .qi-machine-table td:first-child { width:35%; } .qi-machine-table td:nth-child(2) { width:43%; }
  .qi-machine-table b, .qi-machine-table small { font-size:11px; }
  .quiet-b .step { grid-template-columns:32px 42px 32px; gap:2px; width:110px; }
  .quiet-b .step button { width:32px; min-height:44px; } .quiet-b .step input { width:42px; min-height:44px; }
  .quiet-b input[type="range"] { min-height:40px; } .quiet-b summary, .quiet-b .btn { min-height:44px; }
  .quiet-b #qiOptimizeTools .note { font-size:12px; } .quiet-b .fd-viewport { height:410px; }
  .quiet-b .fd-work-toolbar { flex-wrap:wrap; } .quiet-b .fd-work-toolbar select { max-width:170px; }
  .quiet-b .fd-help, .quiet-b .fd-disclaimer { display:block; font-size:11px; color:var(--muted); }
  .quiet-b #qiDesignerDetails { padding-top:16px; } .quiet-b .footer { font-size:10px; }
  .quiet-b .top-right #v29TopMore summary { font-size:11px; padding:8px; }
  .quiet-b .v29-upgrade-actions .btn { font-size:11px; }
}

.quiet-b #v29UpgradeCatalog { display:block; }
.quiet-b .v29-upgrade-search { background:none; border:0; padding:0; }
.quiet-b .v29-upgrade-group-body { padding:0; }
.quiet-b .v29-upgrade-group summary { color:var(--text); }
.quiet-b .v29-dialog-head { border:0; }
.quiet-b .v29-step span, .quiet-b #v29ConfigBody h3 { color:var(--text); }
.quiet-b .banner, .quiet-b #kpis { display:none; }
.quiet-b .fd-page-columns { min-width:0; }
.quiet-b .chain-setting:not(:first-child) { background:none; }
.quiet-b #chainEditor .line { display:none; }

.quiet-b #designerCard, .quiet-b #designerBody { background:none; border:0; }
.quiet-b .fd-work-stats > div { background:none; border:0; border-right:1px solid var(--border); border-radius:0; }
.quiet-b .fd-work-node.source, .quiet-b .fd-work-node.sale,
.quiet-b .fd-work-node.generator, .quiet-b .fd-work-node.water { background:var(--panel); border-color:var(--border); }
.quiet-b .fd-node-rate { color:var(--muted); }
.quiet-b .fd-work-node.chosen { outline-color:var(--amber); }
.quiet-b .fd-work-node.linkfrom { outline-color:var(--amber); }
.quiet-b .fd-path { stroke:var(--amber); }
.quiet-b .fd-path.water { stroke:var(--muted); }
.quiet-b .fd-path.power { stroke:var(--red); }
.quiet-b .fd-path.chosen { filter:none; }
.quiet-b .fd-scene.snap { background-image:linear-gradient(#49414855 1px,transparent 1px),
  linear-gradient(90deg,#49414855 1px,transparent 1px); }
.quiet-b #chainEditor .chain-results { display:none; }
.quiet-b #qiProduction .chain-settings .chain-setting:not(:first-child) { display:none; }
.quiet-b #qiProduction .chain-settings .chain-setting:not(:first-child)[data-qi-expanded] { display:block; }
.quiet-b #qiLineOptions { padding:12px 0; border-top:1px solid var(--border); }
.quiet-b #qiLineOptions > summary { color:var(--muted); font-size:12px; }
