*{box-sizing:border-box}:root{color:#10151c;font-synthesis:none;--navy:#0b1e3b;--muted:#657080;--line:#e3e7ec;--blue:#274d86;background:#fff;font-family:Arial,Helvetica,sans-serif}body{margin:0}button,input,select,a{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #6894cb}button{border:0}header{background:var(--navy);color:#fff;justify-content:space-between;align-items:center;height:76px;padding:0 30px;display:flex}.brand{align-items:center;gap:13px;display:flex}.brand-icon{border:1px solid #61708a;border-radius:6px;place-items:center;width:39px;height:39px;display:grid}.brand strong{letter-spacing:.2px;font-size:17px}.brand small{letter-spacing:2.2px;color:#a3b2ca;margin-top:6px;font-size:10px;display:block}.header-actions{align-items:center;gap:24px;display:flex}.status{color:#c3cede;letter-spacing:1px;font-size:10px}.header-link{color:#fff;background:0 0;padding:8px;font-size:12px;text-decoration:none}.workspace{grid-template-columns:minmax(0,1fr) 374px;height:calc(100dvh - 184px);min-height:460px;display:grid}.assembly{background:#f3f5f8;flex-direction:column;display:flex;position:relative;overflow:hidden}.stage-top{z-index:2;pointer-events:none;justify-content:space-between;align-items:flex-start;gap:15px;height:86px;padding:23px 28px 0;display:flex}.stage-top h1{letter-spacing:-.5px;margin:0 0 6px;font-size:23px;font-weight:500;line-height:1.25}.kicker{color:#7a8594;text-transform:uppercase;letter-spacing:1.7px;margin:0 0 9px;font-size:10px}.stage-top .meta{color:#758092;margin:0;font-size:11px}.view-switch{pointer-events:auto;background:#fff;border:1px solid #dfe5ec;border-radius:6px;padding:3px;display:flex}.view-switch button{white-space:nowrap;color:#637188;background:0 0;border-radius:4px;padding:8px 11px;font-size:11px}.view-switch button.active{background:var(--navy);color:#fff}.canvas-wrap{flex:1;min-height:0;position:relative}.canvas{touch-action:none;position:absolute;inset:0}.canvas canvas{touch-action:none;width:100%;height:100%;display:block}.loading{text-align:center;color:#748195;z-index:4;background:#f3f5f8;place-content:center;gap:13px;font-size:12px;display:grid;position:absolute;inset:0}.spinner{border:2px solid #d6dfe9;border-top-color:#0b1e3b;border-radius:50%;width:28px;height:28px;margin:auto;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.view-tools{z-index:3;gap:7px;display:flex;position:absolute;top:12px;left:25px}.tool{background:#ffffffed;border:1px solid #e0e6ed;border-radius:5px;padding:9px 11px;font-size:11px;box-shadow:0 2px 3px #0b1e3b04}.tool.active{color:#fff;background:#294569;border-color:#294569}.interaction-hint{color:#8591a1;pointer-events:none;z-index:2;font-size:10px;position:absolute;bottom:14px;left:27px}.legend{color:#718098;z-index:2;gap:15px;font-size:10px;display:flex;position:absolute;bottom:14px;right:25px}.dot{background:#214b88;border-radius:50%;width:6px;height:6px;margin-right:5px;display:inline-block}.dot.gray{background:#8e97a3}.selection{z-index:3;background:#fff;border:1px solid #dce3ec;border-radius:6px;max-width:300px;padding:11px 13px;font-size:11px;line-height:1.7;position:absolute;bottom:43px;left:26px;box-shadow:0 5px 20px #0a1e3810}.selection strong{font-size:12px;display:block}.selection small{color:#7b8796}.timeline{border-top:1px solid var(--line);background:#fff;align-items:center;gap:15px;height:65px;min-height:65px;padding:12px 25px;display:flex}.play-button{background:var(--navy);color:#fff;text-align:center;border-radius:5px;min-width:132px;padding:12px 17px;font-size:12px}.replay{color:#506176;background:0 0;padding:9px;font-size:17px}.timeline input{min-width:20px;accent-color:var(--navy);flex:1;height:4px}.phase{color:#6b798c;text-align:right;width:116px;font-size:10px}.sidebar{border-left:1px solid var(--line);background:#fff;flex-direction:column;padding:25px 26px;display:flex;overflow:auto}.sidebar>*{flex-shrink:0}.sidebar h2{letter-spacing:-.4px;margin:0 0 12px;font-size:20px;font-weight:500;line-height:1.35}.body{color:#566172;margin:0 0 20px;font-size:12px;line-height:1.85}.section-heading{text-transform:uppercase;letter-spacing:1.3px;color:#66758a;margin:0 0 12px;font-size:10px;font-weight:600}.parts{flex-wrap:wrap;gap:7px;margin-bottom:22px;display:flex}.part{background:#fbfcfd;border:1px solid #e1e6ed;border-radius:4px;padding:8px 10px;font-size:11px}.part b{margin-right:11px;font-size:11px}.hardware-list{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px;display:grid}.hardware-card{text-align:left;background:#f7f9fc;border:1px solid #dfe5ee;border-radius:5px;align-items:center;gap:10px;padding:11px 10px;display:flex}.hardware-card.active{background:#edf2f9;border-color:#173e72}.hardware-icon{flex:none;place-items:center;width:25px;height:32px;display:grid}.hardware-icon svg{width:22px;height:30px}.hardware-card strong{font-size:12px}.hardware-card span.spec{color:#6b7a90;margin-top:4px;font-size:9px;line-height:1.3;display:block}.hardware-card .qty{color:#66758a;margin-left:auto;font-size:11px}.callout{color:#425b7b;background:#f2f5fa;border-left:2px solid #284e85;margin:1px 0 19px;padding:11px 12px;font-size:11px;line-height:1.75}.notes{color:#68778a;margin:0 0 20px;padding-left:16px;font-size:11px;line-height:1.75}.notes li+li{margin-top:6px}.source-button{text-align:left;background:#fff;border:1px solid #e0e6ee;border-radius:6px;width:100%;margin:1px 0 20px;padding:0;overflow:hidden}.source-button img{object-fit:contain;background:#fff;width:100%;height:132px;padding:8px;display:block}.source-label{color:#687a91;border-top:1px solid #e8ecf1;justify-content:space-between;padding:10px 12px;font-size:10px;display:flex}.page-actions{grid-template-columns:1fr 1.55fr;gap:8px;margin-top:auto;padding-top:16px;display:grid}.secondary,.primary{background:#fff;border:1px solid #dce3ec;border-radius:5px;padding:12px;font-size:12px}.primary{color:#fff;background:var(--navy);border-color:var(--navy)}.saved{color:#8a96a6;margin-top:11px;font-size:9px;line-height:1.5}.stepbar{border-top:1px solid var(--line);background:#fff;gap:17px;height:108px;padding:17px 24px;display:flex}.jump{border-right:1px solid var(--line);flex-shrink:0;width:160px;padding-top:3px;padding-right:17px}.jump label{letter-spacing:1px;text-transform:uppercase;color:#8290a2;margin:0 0 9px;font-size:9px;display:block}.jump select{color:#172b49;background:#fff;border:0;max-width:145px;font-size:12px;font-weight:600}.steprail{scrollbar-width:thin;scrollbar-color:#dbe1ea transparent;flex:1;gap:8px;display:flex;overflow-x:auto}.step-card{text-align:left;background:#fff;border:1px solid #e4e9f0;border-radius:6px;flex-shrink:0;align-items:flex-start;gap:10px;width:148px;padding:11px 12px;display:flex}.step-card.active{color:#fff;background:#0b1e3b;border-color:#0b1e3b}.step-card .num{color:#778ba6;border:1px solid #dbe2ec;border-radius:50%;flex:none;place-items:center;width:23px;height:23px;font-size:10px;display:grid}.step-card.active .num{color:#fff;border-color:#657892}.step-card .step-name{font-size:10px;line-height:1.45}.step-card small{color:#8b9ab0;margin-top:4px;font-size:8px;display:block}.overview-stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;gap:18px;margin:0 0 20px;padding:19px 0;display:grid}.overview-stats strong{color:#102b51;font-size:26px;font-weight:400;display:block}.overview-stats small{color:#77879d;margin-top:5px;font-size:10px;display:block}.review-note{color:#8c7a5c;background:#faf7f0;border:1px solid #eee7d9;border-radius:4px;margin:0 0 16px;padding:10px 12px;font-size:10px;line-height:1.7}.branch{gap:6px;margin-bottom:20px;display:flex}.branch button{background:#fff;border:1px solid #dfe5ed;border-radius:5px;flex:1;padding:10px;font-size:11px}.branch button.active{color:#fff;background:#0b1e3b}.connection-hud{z-index:3;background:#fff;border:1px solid #dce4ee;border-radius:6px;max-width:240px;padding:12px 14px;position:absolute;top:15px;right:23px;box-shadow:0 3px 15px #0a1e3808}.connection-hud strong{margin-bottom:6px;font-size:12px;display:block}.connection-hud small{color:#7b8ca3;font-size:9px;line-height:1.5;display:block}.joint-picker{color:#5b6f89;justify-content:space-between;align-items:center;gap:9px;margin-top:10px;font-size:10px;display:flex}.joint-picker button{background:#eef2f7;border-radius:4px;padding:5px 10px}.hidden{display:none!important}dialog{background:#fff;border:1px solid #d8e0ea;border-radius:9px;width:min(1050px,96vw);max-height:94dvh;padding:0;box-shadow:0 20px 70px #06152d44}dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#06152d9c}.dialog-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:15px 20px;font-size:12px;display:flex}.dialog-head a{color:#2d5488;text-decoration:none}.dialog-head button{background:#edf1f6;border-radius:4px;padding:7px 11px;font-size:11px}.dialog-image{object-fit:contain;width:100%;max-height:80dvh;display:block}.fatal{color:#182c49;padding:40px;line-height:1.8}.empty-hardware{color:#8794a6;margin-bottom:20px;font-size:11px}.context-toggle{margin-left:auto}@media (min-width:1600px){.workspace{grid-template-columns:minmax(0,1fr) 410px}.sidebar{padding:30px}.stage-top{height:97px;padding:28px 34px 0}.stage-top h1{font-size:27px}}@media (max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr) 320px}.sidebar{padding:22px 19px}.stage-top{flex-direction:column;gap:6px;height:105px;padding:20px 20px 0}.stage-top h1{font-size:20px}.view-switch{position:absolute;top:73px;right:20px}.legend,.phase{display:none}.view-tools{left:18px}.interaction-hint{left:20px}.header-actions{gap:12px}.status{font-size:9px}}@media (max-width:760px){header{height:65px;padding:0 16px}.brand strong{font-size:14px}.brand small{letter-spacing:1.4px;font-size:8px}.brand-icon{width:31px;height:31px}.status{font-size:8px}.header-link{display:none}.workspace{flex-direction:column;height:auto;min-height:0;display:flex}.assembly{height:calc(52dvh + 130px);min-height:480px}.stage-top{height:93px;min-height:93px;padding:18px 18px 0}.stage-top h1{max-width:90%;margin-bottom:5px;font-size:21px}.stage-top .kicker{margin-bottom:7px;font-size:8px}.stage-top .meta{font-size:10px}.view-switch{z-index:4;top:auto;bottom:77px;right:13px}.view-switch button{padding:7px 9px;font-size:10px}.view-tools{gap:5px;top:10px;left:15px}.tool{padding:8px 9px;font-size:10px}.interaction-hint{font-size:8px;bottom:9px;left:15px}.timeline{gap:10px;height:61px;min-height:61px;padding:10px 15px}.play-button{min-width:115px;padding:11px;font-size:11px}.replay{padding:7px}.sidebar{border-left:0;border-top:1px solid var(--line);padding:24px 21px;overflow:visible}.sidebar h2{font-size:22px}.body{font-size:12px}.stepbar{z-index:5;gap:10px;height:92px;padding:10px 12px;position:sticky;bottom:0;box-shadow:0 -3px 20px #10213a05}.jump{width:80px;padding-right:8px}.jump select{max-width:72px;font-size:11px}.jump label{letter-spacing:.5px;font-size:8px}.step-card{gap:8px;width:130px;padding:10px 9px}.step-card .step-name{font-size:9px}.step-card .num{width:20px;height:20px;font-size:9px}.source-button img{height:170px}.overview-stats{grid-template-columns:repeat(4,1fr);gap:10px}.overview-stats strong{font-size:22px}.overview-stats small{font-size:9px}.connection-hud{max-width:190px;padding:10px;top:48px;right:12px}.connection-hud strong{font-size:11px}.selection{max-width:240px;bottom:47px;left:15px}.hardware-list{grid-template-columns:repeat(3,1fr)}.hardware-card{flex-wrap:wrap;gap:6px;padding:10px 8px}.hardware-card .qty{margin-left:0}.hardware-icon{width:20px}.hardware-card span.spec{font-size:9px}.sidebar .page-actions{padding-top:8px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (max-width:760px){.stage-top{height:auto;min-height:118px;padding-bottom:10px}.status{flex-shrink:0;max-width:79px;font-size:0}.status:after{content:"REVIEW PREVIEW";letter-spacing:1px;font-size:8px;line-height:1.5}.brand strong,.brand small{white-space:nowrap}.brand small{letter-spacing:1px}.header-actions{max-width:79px}.brand{min-width:0}body{padding-bottom:8px}}

/* 白底 header（发布版统一观感，后置覆盖） */
header{background:#fff;color:#131211;border-bottom:1px solid #e3e7ec}
.brand small{color:#8b867f}
.brand-icon{border-color:#d8d4cd}
.status{color:#8b867f}
.header-link{color:#131211}
a.brand{color:inherit;text-decoration:none;cursor:pointer}
a.brand:hover .brand-icon{border-color:#131211}
