:root{--bg:#f8f9f6;--white:#fff;--ink:#28352f;--muted:#879088;--line:#e5e9e1;--green:#5a7259;--dark:#3d553e;--soft:#eef2e9;--amber:#9c793e;--purple:#8b82a9}*{box-sizing:border-box}body{margin:0;font-family:'Noto Sans SC',system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--bg);font-size:14px;line-height:1.7}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9aaf85;outline-offset:3px}button{color:inherit}svg{display:block}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1px;font-weight:600}h2{font-size:17px;font-weight:600}h3{font-size:15px;font-weight:600}.sidebar{width:236px;background:#f0f2eb;border-right:1px solid #e3e7dd;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:32px 20px;z-index:10}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);font-size:18px;font-weight:650;margin:0 8px 38px}.brand-icon{width:38px;height:40px;border-radius:12px;background:#5d745b;color:white;font-size:28px;display:grid;place-items:center;font-weight:400}.brand small{display:block;font-size:10px;font-weight:400;color:#919a8f;letter-spacing:2px}.project-label,.nav-label{font-size:10px;color:#929a8f;letter-spacing:1.5px;margin:0 13px 10px}.project-card{display:flex;gap:10px;align-items:center;border:1px solid #dce2d6;background:#fafbf7;border-radius:9px;padding:13px;margin:0 0 30px;font-size:12px;font-weight:550}.project-emoji{font-size:25px;color:#8a9977}.project-card small{display:block;color:var(--muted);font-size:10px;font-weight:400}.tiny-dot{background:#8b9e78;width:6px;height:6px;border-radius:50%;margin-left:auto}.nav-label{margin-bottom:8px}nav{display:flex;flex-direction:column;gap:7px}.nav-link{display:flex;align-items:center;gap:13px;padding:12px 15px;border-radius:8px;font-size:12px;color:#737e70}.nav-link.active{background:#e1e8d7;color:#4c6344;font-weight:600}.nav-link:hover{background:#e8ecdf}.nav-link svg{width:17px;height:17px;stroke-width:1.6}.nav-link .nav-index{margin-left:auto;font-size:10px;color:#a2ad98}.sidebar-bottom{margin-top:auto;padding:22px 12px 0;color:#9aa292;font-size:10px}.version{color:#65775b;font-size:11px}.version i,.header-badge i{display:inline-block;background:#88a17a;width:6px;height:6px;border-radius:50%;margin-right:7px}.sidebar-bottom p{margin-top:3px}.note-line{height:1px;background:#dee3d7;margin:20px 0}.shell{margin-left:236px}header{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#fcfdfb}.breadcrumb{font-size:11px;color:#8b9488}.breadcrumb span{padding:0 12px;color:#c5cbbf}.breadcrumb b{font-weight:450;color:#586452}.header-badge{font-size:10px;color:#788371;border:1px solid var(--line);border-radius:6px;padding:3px 10px}main{max-width:1440px;margin:0 auto;padding:34px 38px 36px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:15px}.eyebrow{color:#9b9f8d;font-size:10px;letter-spacing:2px;font-weight:500;margin-bottom:6px}.subtitle{color:#8a9285;font-size:12px;margin-top:7px}.actions{display:flex;gap:10px;align-items:center}.btn{border:1px solid #dce2d6;border-radius:7px;background:white;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 15px;font-size:11px;white-space:nowrap;color:#52614a}.btn svg{width:14px;height:14px}.btn.primary{background:#5c7457;border-color:#5c7457;color:white}.btn:hover{filter:brightness(.96)}.btn.text{border:0;background:none;padding:0;color:#76876a;font-size:11px}.notice{display:flex;align-items:flex-start;gap:10px;background:#f4f2e8;border:1px solid #e8e4d3;border-radius:8px;padding:12px 15px;font-size:11px;color:#8e825e;margin-bottom:25px}.notice svg{width:15px;height:15px;flex-shrink:0;margin-top:2px}.notice b{font-weight:550;color:#7b704f}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:17px 18px;position:relative}.stat-label{font-size:10px;color:#899480}.stat-value{font-size:23px;font-weight:550;margin:6px 0 2px;line-height:1.5}.stat-value small{font-size:11px;font-weight:400;color:#8d9785;margin-left:6px}.stat-desc{font-size:10px;color:#9ba38f}.stat-icon{position:absolute;right:16px;top:17px;background:#f4f6ef;border-radius:8px;color:#8a9c7c;padding:8px}.stat-icon svg{width:16px;height:16px}.grid-main{display:grid;grid-template-columns:minmax(0,1.82fr) minmax(290px,1fr);gap:20px}.card{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden}.card-header{display:flex;justify-content:space-between;align-items:flex-start;padding:21px 22px 0;gap:10px}.card-header p,.card-sub{font-size:10px;color:#96a08e;margin-top:4px}.pill{font-size:9px;padding:3px 8px;border-radius:5px;white-space:nowrap;border:1px solid #e0e7d9;color:#879677;background:#f8faf5}.pill.purple{color:#9b8fac;border-color:#eae5f0;background:#f8f6fb}.diagram{padding:15px 20px 0;background:radial-gradient(ellipse at center,#fafbf7,white 75%);min-height:253px}.diagram svg{width:100%;height:auto;max-height:265px}.diagram-foot{display:grid;grid-template-columns:repeat(3,1fr);padding:18px 20px;border-top:1px solid #f0f2eb;gap:10px}.diagram-step{font-size:10px;color:#a0a792;display:flex;gap:9px}.step-dot{border-radius:50%;color:#839372;background:#f0f3e9;width:23px;height:23px;display:grid;place-items:center;flex-shrink:0;font-size:9px}.diagram-step strong{display:block;color:#64745a;font-size:11px;font-weight:500}.sim{padding:20px 22px}.sim-value{display:flex;align-items:flex-end;justify-content:space-between;margin:3px 0 16px}.sim-value strong{font-size:34px;line-height:1.3;font-weight:500}.sim-value strong small{font-size:12px;color:#9ea88e;margin-left:5px}.sim-value span{font-size:10px;background:#f0f3e9;border-radius:5px;padding:4px 8px;color:#8a967a}.range-label{display:flex;justify-content:space-between;font-size:10px;color:#939c87;margin-bottom:8px}input[type=range]{width:100%;accent-color:#81976d;height:5px;cursor:pointer;display:block;margin:12px 0}.range-ticks{display:flex;justify-content:space-between;color:#a6ad9c;font-size:9px;margin-top:9px}.hold-btn{width:100%;border:1px solid #dbe3d0;background:#edf2e6;color:#6c805b;border-radius:7px;margin:17px 0;padding:10px;font-size:11px;touch-action:none;user-select:none}.hold-btn.pressed{background:#748d61;color:white}.sim-status{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid #eef1e7;padding-top:15px}.sim-status small{display:block;font-size:9px;color:#9fa691}.sim-status b{font-size:13px;font-weight:500;color:#6f7d62}.sim-foot{font-size:9px;color:#a2a88e;margin-top:14px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:26px 0 14px}.section-heading h2{font-size:15px}.section-heading small{font-size:10px;color:#a0a795}.levels{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.level{padding:16px;border:1px solid var(--line);background:#fff;border-radius:9px}.level-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:11px;color:#6c7863}.level-top i{height:7px;width:7px;background:#b8c1ac;border-radius:50%}.level:nth-child(2) i{background:#b3c891}.level:nth-child(3) i{background:#91ad70}.level:nth-child(4) i{background:#718e59}.level b{font-size:22px;font-weight:500}.level b small{font-size:10px;margin-left:4px;font-weight:400;color:#949c88}.level p{font-size:10px;color:#9da58f;margin-top:4px}.below{display:grid;grid-template-columns:1.15fr 1fr;gap:20px;margin-top:24px}.compact-list{padding:16px 21px 20px}.mini-row{display:flex;align-items:center;gap:11px;padding:10px 0;font-size:11px;border-bottom:1px solid #f0f2eb}.mini-row:last-child{border:0}.mini-row .num{font-size:10px;background:#f4f5ef;border-radius:5px;padding:3px 7px;color:#94a080}.mini-row span:last-child{margin-left:auto;font-size:9px;color:#ada88e}.mini-row button{margin-left:auto;border:none;background:none;color:#8a987a;font-size:10px}.mini-row strong{font-weight:500}.assembly-mini{display:flex;align-items:center;padding:27px 22px 22px;gap:15px}.layer-stack{width:100px;min-width:100px;height:115px;position:relative}.layer-stack i{position:absolute;width:79px;height:44px;left:10px;border:1px solid #d8d8c4;transform:rotate(-24deg) skew(30deg);border-radius:7px;background:#e8e6d5;top:13px}.layer-stack i:nth-child(2){top:35px;background:#d4d7cb;border-color:#c4cbbb}.layer-stack i:nth-child(3){top:57px;background:#d4bf9f;border-color:#b6a285}.layer-stack i:nth-child(4){top:79px;background:#e6e8df;border-color:#d5dacb}.assembly-mini p{font-size:10px;color:#98a08d;margin-top:7px}.assembly-mini h3{font-size:12px}.body-pad{padding:22px}.body-pad p{margin:8px 0;font-size:12px;color:#7d8874}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.space-top{margin-top:20px}.list-step{padding:17px 0;border-bottom:1px solid var(--line)}.list-step:first-child{padding-top:0}.list-step:last-child{border:0}.list-step h3{font-size:13px}.list-step p{font-size:12px}.tag{display:inline-flex;padding:2px 7px;border-radius:4px;background:#eef3e8;color:#788d63;font-size:10px}.tag.wait{background:#f5f0e6;color:#ab926b}.tag.gray{background:#f0f1ef;color:#90968b}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;font-size:10px;color:#949d89;background:#f9faf6;font-weight:500;padding:12px 17px;border-bottom:1px solid var(--line)}td{padding:16px 17px;border-bottom:1px solid #edf0e7;vertical-align:top;color:#6a7760}td small{display:block;color:#a0a68f;font-size:10px;margin-top:4px}td strong{font-weight:500;color:#485941}tr:last-child td{border-bottom:0}.filter-tabs{display:flex;gap:5px}.filter{border:0;background:none;color:#8b967f;border-radius:5px;padding:5px 11px;font-size:11px}.filter.active{background:#e9efdf;color:#61784e}.toolbar{display:flex;justify-content:space-between;margin:20px 0;align-items:center;gap:12px}.search{border:1px solid var(--line);background:white;border-radius:6px;padding:8px 12px;font-size:11px;max-width:230px}.schematic{padding:23px;font-family:ui-monospace,monospace;font-size:12px;white-space:pre-wrap;background:#f6f8f2;border:1px solid #e6ebdf;border-radius:8px;line-height:2;color:#5a6b4e;overflow:auto;margin:15px 0}.callout{border-left:3px solid #d2b57d;background:#faf7ef;padding:12px 15px;font-size:11px;color:#9b855d;margin:16px 0}.form-row{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:18px 0}.field label{font-size:11px;color:#8d9780;display:block;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe6d6;background:white;border-radius:6px;padding:9px 10px;font-size:12px;color:#657458}.field textarea{min-height:90px;resize:vertical}.calc-result{background:#edf3e5;padding:15px;border-radius:7px;color:#647b50;font-size:12px}.checks{display:flex;flex-direction:column}.check{display:flex;gap:13px;align-items:flex-start;border-bottom:1px solid #edf0e7;padding:16px 0;cursor:pointer}.check input{accent-color:#718b5d;margin-top:5px;width:15px;height:15px;flex-shrink:0}.check strong{display:block;font-size:12px;font-weight:500}.check small{display:block;font-size:10px;color:#96a086;margin-top:4px}.progressbar{height:5px;background:#edf1e7;border-radius:8px;overflow:hidden;margin-top:13px}.progressbar span{display:block;height:100%;background:#91aa78;transition:width .2s}.code{background:#2c382c;color:#cbd6bf;padding:23px;border-radius:9px;line-height:1.9;font:12px/1.9 ui-monospace,monospace;white-space:pre-wrap;overflow:auto;margin:18px 0}.code .comment{color:#91a181}.file-item{display:flex;align-items:center;padding:14px;border:1px solid var(--line);border-radius:7px;gap:12px;margin:10px 0;font-size:12px}.file-item svg{width:20px;color:#95a97e}.file-item small{display:block;font-size:10px;color:#9da68e}.file-item a{margin-left:auto;font-size:11px}.source-list{font-size:11px;line-height:2.4;padding-left:20px;color:#8c9780}.record{background:#f8faf4;border:1px solid var(--line);border-radius:8px;padding:15px;margin-top:13px;font-size:12px}.record small{color:#9aab89;font-size:10px}.record p{white-space:pre-wrap;overflow-wrap:anywhere;color:#7e8d70}.record button{float:right;background:none;border:0;color:#a8947b;font-size:10px}.empty{padding:35px;text-align:center;color:#a1ad94;font-size:12px}footer{max-width:1440px;margin:0 auto;padding:22px 38px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;color:#a9b19d;font-size:9px}.toast{position:fixed;bottom:28px;left:calc(50% + 100px);transform:translateX(-50%) translateY(20px);background:#435b3e;color:white;padding:11px 22px;border-radius:8px;opacity:0;pointer-events:none;transition:.2s;font-size:12px;z-index:100}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}dialog{border:1px solid #dbe2d2;border-radius:15px;padding:30px;width:520px;max-width:90vw;color:var(--ink);box-shadow:0 20px 100px #22331130}dialog::backdrop{background:#28352550;backdrop-filter:blur(3px)}dialog p{font-size:12px;color:#859477;margin-top:12px}.dialog-close{position:absolute;right:13px;top:8px;border:0;background:none;font-size:24px;color:#9ba58f}.hide{display:none!important}.print-only{display:none}ul.content-list,ol.content-list{padding-left:20px;color:#7a886d;font-size:12px;line-height:2}.wiring-band{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.wiring-band>div{padding:17px;background:#f5f7f0;border-radius:8px;font-size:11px;color:#89977b}.wiring-band strong{display:block;font-size:13px;color:#657958;margin:5px 0}.danger-text{color:#a57954!important}.legend{display:flex;gap:16px;font-size:9px;color:#a0ab92;margin:15px 0 0}.legend i{display:inline-block;height:2px;width:18px;vertical-align:middle;background:#a1b98c;margin-right:4px}.legend span:last-child i{background:#cbb994}.muted{color:#949e88}.guide-link{font-size:11px;text-decoration:underline;text-underline-offset:3px}.metric-inline{font-size:13px;padding:10px 0;color:#7e916d}@media(min-width:1500px){main{padding-top:40px}.diagram{min-height:285px}.diagram svg{max-height:290px}.sim{padding:25px}}@media(max-width:1150px){.sidebar{width:206px;padding:26px 14px}.shell{margin-left:206px}main{padding:28px 25px}header{padding:0 25px}.grid-main{grid-template-columns:1.5fr 1fr}.stats{gap:10px}.stat{padding:15px 13px}.stat-icon{display:none}.diagram{min-height:240px;display:flex;align-items:center}.diagram-step{font-size:9px;gap:6px}.diagram-step strong{font-size:10px}.page-heading{align-items:flex-start}h1{font-size:26px}.actions .btn{padding:8px 10px}.below{grid-template-columns:1fr 1fr}}@media(max-width:900px){.sidebar{width:180px}.shell{margin-left:180px}.brand{font-size:15px;gap:7px}.brand-icon{width:30px;height:34px}.grid-main{grid-template-columns:1fr}.sim{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.sim-value,.sim-foot{grid-column:1/-1}.sim .hold-btn{grid-column:2;grid-row:2/5;margin:0}.sim-status{grid-column:1/-1;margin-top:20px}.two-col{grid-template-columns:1fr}.page-heading{flex-wrap:wrap}.stat-value{font-size:20px}.below{grid-template-columns:1fr}.diagram{min-height:unset}.levels{gap:8px}.level{padding:12px}.wiring-band{grid-template-columns:1fr}.sidebar-bottom{padding:15px 5px 0}}@media(max-width:640px){.sidebar{position:relative;inset:auto;width:100%;padding:16px 18px;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0;font-size:16px}.brand small{display:none}.project-label,.project-card,.nav-label,.sidebar-bottom{display:none}nav{flex-direction:row;overflow-x:auto;gap:5px;margin-top:15px}.nav-link{padding:8px 12px;white-space:nowrap;font-size:11px;gap:6px}.nav-index{display:none}.nav-link svg{width:14px}.shell{margin:0}header{height:50px;padding:0 18px}.breadcrumb{font-size:9px}.breadcrumb span{padding:0 6px}.header-badge{font-size:9px}main{padding:24px 17px}.page-heading{gap:14px;margin-bottom:20px}h1{font-size:25px}.subtitle{font-size:11px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat-icon{display:block}.stat-value{font-size:22px}.notice{font-size:10px}.levels{grid-template-columns:1fr 1fr;gap:10px}.card-header{padding:18px 17px 0}.sim{padding:20px 17px}.diagram-foot{padding:15px 12px}.diagram-step{display:block}.step-dot{margin-bottom:7px}.two-col{gap:15px}.body-pad{padding:18px}.form-row{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.search{max-width:100%;width:100%}footer{padding:20px 17px;flex-direction:column;gap:4px}.toast{left:50%;max-width:90vw;width:max-content}.schematic{font-size:10px;padding:14px}.breadcrumb{white-space:nowrap}.stat-desc{font-size:9px}.section-heading h2{font-size:14px}}
@media print{.sidebar,header,footer,.actions,.toast,.no-print{display:none!important}.shell{margin:0}main{max-width:none;padding:0}.card{break-inside:avoid;border-color:#bbb}.two-col,.below,.grid-main{display:block}.card{margin-bottom:20px}body{background:white;color:black}.print-only{display:block}.notice{background:white}.page-heading{margin-top:25px}.print-page{break-before:page}a{color:inherit}table{font-size:10px}.filter-tabs{display:none}}
.wiring-band svg{width:21px;height:21px;margin-bottom:9px}.mini-row>a:last-child{margin-left:auto;white-space:nowrap}.table-wrap{max-width:100%}
