:root{color-scheme:dark;--bg:#11191e;--panel:#192228;--line:#2b363d;--text:#e8edee;--muted:#96a6ad;--accent:#77dec8;--font:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;font-family:var(--font);background:var(--bg);color:var(--text);font-size:16px}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;white-space:nowrap}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{opacity:.45;cursor:wait}button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;vertical-align:middle}.app{height:100dvh;min-height:650px;display:flex;flex-direction:column}.header{height:84px;flex-shrink:0;display:flex;align-items:center;padding:0 32px;border-bottom:1px solid var(--line);gap:36px;position:relative;z-index:5;background:#11191e}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--text);font-weight:650;font-size:21px;letter-spacing:1px}.brand-mark{background:var(--accent);color:#16262a;width:39px;height:40px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:23px;letter-spacing:-2px}.brand-mark span{font-size:15px;margin:8px 1px 0}.brand-sub{display:block;font-size:12px;letter-spacing:2px;font-weight:400;color:var(--muted);margin-top:2px}.revision{display:flex;align-items:center;gap:9px;font-size:14px;color:#b6c3c8}.rev-bar{width:2px;height:13px;background:var(--accent);margin-right:3px}.muted{color:#4a5a64}.header-actions{margin-left:auto;display:flex;align-items:center;gap:24px}.quiet{font-size:14px;color:#b4c2c9;display:flex;align-items:center;gap:10px}.quiet:hover{color:var(--accent)}.info-icon{font:12px Georgia;border:1px solid #74858e;width:16px;height:16px;display:inline-flex;justify-content:center;align-items:center;border-radius:50%}.export-btn{font-size:14px;padding:10px 15px;border:1px solid #46555d;border-radius:7px;display:flex;align-items:center;gap:12px}.export-btn:hover{border-color:var(--accent);background:#203137}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 310px}.stage{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#29383e 0,#18232a 48%,#11191e 86%);min-height:530px}#canvasWrap{position:absolute;inset:0}canvas{display:block;width:100%;height:100%;touch-action:none}.stage-top{position:absolute;top:33px;left:36px;right:26px;pointer-events:none;display:flex;justify-content:space-between}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:500;color:var(--accent)}h1{font-size:29px;font-weight:500;letter-spacing:.5px;margin:9px 0 6px}h1+p{color:var(--muted);font-size:14px;margin:0;letter-spacing:.1px}.view-switch{position:absolute;top:32px;right:27px;background:#0f181bcc;border:1px solid #3b474b;border-radius:8px;padding:4px;display:flex;backdrop-filter:blur(10px)}.view-switch button{border-radius:5px;font-size:14px;padding:8px 12px;color:#aab8be}.view-switch button.active{background:#cbd7d6;color:#182629;font-weight:550}.view-switch button:not(.active):hover{color:#fff;background:#29393e}.orientation{position:absolute;right:26px;top:50%;transform:translateY(-55%);display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px;border:1px solid #3e4c5280;border-radius:8px;background:#101b21b3;backdrop-filter:blur(10px)}.orientation button{height:33px;width:33px;border-radius:5px;font-size:13px;color:#a6b8bf}.orientation button:hover,.orientation button.active{background:#31434a;color:var(--accent)}.orientation span{width:22px;height:1px;background:var(--line);margin:3px}.stage-bottom{position:absolute;bottom:20px;left:36px;right:36px;display:flex;flex-direction:column;align-items:center;pointer-events:none}.scene-tools{display:flex;gap:8px;justify-content:center;margin-bottom:17px;pointer-events:auto}.scene-tools button{display:flex;align-items:center;gap:7px;font-size:13px;background:#152027e6;border:1px solid #3a4a5080;border-radius:7px;padding:8px 11px;color:#becbd0}.scene-tools button[aria-pressed=true]{color:#a0f1db;border-color:#618d8580;background:#253e3a}.assembly-control{width:min(100%,540px);padding:15px 21px;display:flex;gap:21px;align-items:center;background:#152026e8;backdrop-filter:blur(15px);border:1px solid #44565f80;box-shadow:0 10px 40px #0003;border-radius:12px;pointer-events:auto}.play-btn{width:38px;height:38px;border-radius:50%;border:1px solid #6e898a;color:var(--accent);padding:0;display:grid;place-items:center;flex-shrink:0}.play-btn svg{width:20px;height:20px;fill:currentColor;stroke-width:0;transform:translateX(-1px)}.play-btn:hover{background:#314d4d}.slider-area{flex:1;min-width:0}.slider-caption{display:flex;justify-content:space-between;font-size:13px;margin-bottom:5px;color:#d6e1e3}.slider-caption span{color:#8fadae;font-size:12px}input[type=range]{appearance:none;width:100%;height:3px;background:linear-gradient(to right,var(--accent) var(--progress,0%),#43555b var(--progress,0%));display:block;margin:12px 0 8px;border-radius:3px;cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#cfefdf;border:2px solid #173237;box-shadow:0 0 0 2px #77dec855}input[type=range]::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:#cfefdf;border:0}.slider-ticks{font-size:12px;color:#7f969f;display:flex;justify-content:space-between}.assembly-control output{font:26px "Segoe UI",sans-serif;font-weight:300;min-width:54px;text-align:right;letter-spacing:-.5px;color:#d7eeea}.assembly-control output span{font-size:12px;margin-left:4px;color:#8ba6a8}.stage-note{display:flex;justify-content:space-between;width:100%;font-size:12px;margin-top:18px;color:#7d959f;gap:10px}.sidebar{border-left:1px solid var(--line);background:#182229;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#46535b transparent;padding:25px 22px 17px;display:flex;flex-direction:column}.sidebar-title{display:flex;align-items:center;margin-bottom:19px}.sidebar h2{font-size:16px;font-weight:550;margin:0}.sidebar-title>span{margin-left:auto;font-size:12px;letter-spacing:1px;color:#748b96}.layer-list{display:flex;flex-direction:column;gap:3px}.layer{display:flex;align-items:center;gap:6px;border:1px solid transparent;border-radius:7px;transition:background .2s}.layer:hover{background:#23323b}.layer.selected{border-color:#4c7a71;background:#233b37}.layer-select{display:flex;align-items:center;gap:12px;min-width:0;flex:1;text-align:left;padding:10px 4px 10px 9px}.layer-num{font:12px "Segoe UI",sans-serif;color:#69828f;width:18px}.layer-title{font-size:14px;color:#cbd6da}.selected .layer-title{color:#b9f2df}.layer-select small{display:block;font-size:12px;color:#7e96a1;margin-top:3px}.layer-eye{padding:10px 8px;color:#7b969f;line-height:0}.layer-eye svg{width:17px;height:17px}.layer.hidden{opacity:.38}.part-detail{border-top:1px solid var(--line);margin-top:21px;padding-top:23px}.part-detail .eyebrow{font-size:11px;letter-spacing:1.5px;color:#7eaea3}.part-detail h3{font-size:18px;line-height:1.5;font-weight:500;margin:6px 0 9px}.part-detail p{font-size:14px;line-height:1.7;color:#9eb0b8;margin:0 0 12px}dl{margin:10px 0 16px}dl>div{display:flex;justify-content:space-between;gap:15px;font-size:13px;margin:8px 0;line-height:1.5}dt{color:#7d96a2;flex-shrink:0}dd{margin:0;color:#cfddde;text-align:right}.detail-actions{display:flex;gap:8px}.detail-actions button{flex:1;font-size:13px;padding:8px 3px;border:1px solid #40535a;border-radius:5px;color:#b7d0d0}.detail-actions button:hover{border-color:#7daca1;background:#233637}.lighting-control{border-top:1px solid var(--line);margin-top:23px;padding-top:20px}.control-title{display:flex;align-items:center;justify-content:space-between}.control-title h3{font-size:14px;margin:0;font-weight:500}.switch{width:31px;height:18px;border-radius:20px;background:#3f555d;padding:3px;display:flex;align-items:center}.switch span{width:12px;height:12px;background:#13272a;border-radius:50%;transition:transform .2s}.switch[aria-checked=true]{background:#78d9c0}.switch[aria-checked=true] span{transform:translateX(13px)}.swatches{display:flex;align-items:center;gap:10px;margin-top:17px}.swatch{background:var(--swatch);width:21px;height:21px;border:3px solid #182229;border-radius:50%;padding:0;flex-shrink:0}.swatch.aurora{background:conic-gradient(#64e5d1,#7386f5,#ea7cb7,#64e5d1)}.swatch.active{outline:1px solid #a1bcb8}.swatches>span{font-size:12px;margin-left:auto;color:#88a4af}.lighting-control p{font-size:12px;color:#7e969f;margin:16px 0 0;line-height:1.5}.sidebar-foot{margin-top:auto;padding-top:29px;display:flex;gap:8px;align-items:center;font-size:12px;color:#7f99a0}.outline-dot{width:6px;height:6px;border:1px solid #8dadad;border-radius:50%;flex-shrink:0}.canvas-loading{position:absolute;inset:0;background:#152127f5;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px;z-index:9}.canvas-loading strong{font-size:17px;font-weight:500}.canvas-loading span{font-size:14px;color:#97b3bc}.loader-ring{width:35px;height:35px;border:2px solid #40595f;border-top-color:var(--accent);border-radius:50%;animation:load 1s linear infinite;margin-bottom:8px}@keyframes load{to{transform:rotate(360deg)}}.toast{position:absolute;left:50%;top:29%;transform:translate(-50%,-8px);opacity:0;transition:.25s;background:#0b191be6;border:1px solid #507973;border-radius:7px;color:#caf0e5;padding:10px 17px;font-size:13px;z-index:8;pointer-events:none;max-width:85%;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.annotations{position:absolute;inset:0;pointer-events:none;overflow:hidden}.annotation{position:absolute;padding:5px 9px;border:1px solid #76bda960;border-radius:5px;color:#c8ede2;font-size:12px;background:#172927d9;transform:translate(12px,-50%);white-space:nowrap;pointer-events:auto}.annotation:before{content:'';position:absolute;left:-13px;top:50%;width:12px;height:1px;background:#76bda9}.icon-btn,#closeSide{display:none}dialog{background:#18262d;color:var(--text);border:1px solid #486069;border-radius:16px;max-width:690px;width:calc(100% - 32px);max-height:85dvh;padding:0;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#071116bb;backdrop-filter:blur(5px)}.dialog-head{position:sticky;top:0;background:#18262d;z-index:1;display:flex;justify-content:space-between;align-items:center;padding:25px 28px 20px;border-bottom:1px solid #344952}.dialog-head h2{font-size:23px;font-weight:500;margin:8px 0 0}.dialog-head>button{font-size:28px;color:#a8c1c5;width:35px;height:35px;border-radius:6px}.dialog-head>button:hover{background:#30474f}.dialog-body{padding:8px 28px 26px}.dialog-body p{font-size:15px;line-height:1.9;color:#b0c1c8}.basis-block{margin-top:25px}.basis-block h3{font-size:16px;color:#bceadf;font-weight:550}.basis-note{border-left:2px solid #bcab77;padding:10px 14px;background:#313b37;color:#d9d9c3;font-size:14px;line-height:1.8;margin-top:22px}@media(min-width:1650px){.workspace{grid-template-columns:minmax(0,1fr) 340px}.sidebar{padding:30px 26px}.layer-select{padding-top:13px;padding-bottom:13px}.layer-title{font-size:15px}.header{padding:0 40px}.stage-top{left:45px}.stage-bottom{left:45px;right:45px}.view-switch{right:36px}.stage{min-height:590px}}@media(max-width:1200px){.workspace{grid-template-columns:minmax(0,1fr) 280px}.header{padding:0 23px;gap:24px}.sidebar{padding:22px 15px}.stage-top{left:25px;top:28px}.view-switch{top:131px;left:25px;right:auto}.stage-bottom{left:25px;right:25px}.orientation{right:18px}.scene-heading h1{font-size:26px}.scene-tools button{padding:8px;font-size:12px}.header-actions{gap:15px}.stage-note span:last-child{display:none}}@media(max-width:760px){.app{min-height:650px}.header{height:69px;padding:0 16px;gap:12px}.brand{font-size:19px;gap:10px}.brand-mark{width:34px;height:35px}.brand-sub{font-size:11px;letter-spacing:1px}.revision{display:none}.header-actions{gap:10px}.export-btn{padding:8px 9px;font-size:12px;gap:7px}.export-btn svg{width:16px}.quiet{font-size:12px;gap:6px}.quiet .info-icon{display:none}.workspace{display:block;position:relative}.stage{height:100%;min-height:580px}.stage-top{top:24px;left:22px;right:20px}.scene-heading h1{font-size:24px}.scene-heading .eyebrow{font-size:11px;letter-spacing:1.5px}.scene-heading p{font-size:12px}.view-switch{top:125px;left:22px}.view-switch button{font-size:12px;padding:7px 11px}.stage-bottom{bottom:15px;left:18px;right:18px}.scene-tools{gap:6px;margin-bottom:12px}.scene-tools button{padding:8px 9px;font-size:12px;gap:5px}.scene-tools svg{width:15px}.assembly-control{padding:13px 15px;gap:14px}.stage-note{font-size:11px;margin-top:13px}.orientation{top:47%;right:12px;padding:4px}.orientation button{height:29px;width:28px}.sidebar{position:absolute;z-index:15;right:0;top:0;bottom:0;width:min(85vw,325px);display:none;padding:22px;box-shadow:-20px 0 70px #0007;background:#172228fa}.sidebar.open{display:flex}.sidebar-title #closeSide{display:block;font-size:26px;margin-left:13px;line-height:1}.icon-btn{display:block;pointer-events:auto;width:34px;height:34px;border:1px solid #53666c;border-radius:7px;background:#17282dbb;font-size:21px;color:#acc7c8}.toast{top:28%;font-size:12px}.dialog-head{padding:22px}.dialog-body{padding:6px 22px 22px}.dialog-head h2{font-size:21px}.annotation{font-size:11px}.part-detail{margin-top:18px}.scene-heading{pointer-events:none}}@media(max-height:800px) and (min-width:761px){.header{height:72px}.stage-top{top:22px}.sidebar{padding-top:20px}.layer-select{padding-top:7px;padding-bottom:7px}.layer-select small{display:none}.part-detail{margin-top:15px;padding-top:16px}.part-detail h3{font-size:17px}.lighting-control{margin-top:17px;padding-top:15px}.sidebar-foot{padding-top:15px}.stage-bottom{bottom:14px}.scene-tools{margin-bottom:12px}.stage-note{margin-top:12px}.assembly-control{padding-top:11px;padding-bottom:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.loader-ring{animation-duration:2s}}
/* Compact 02: graphite shell, satin caps and an amber encoder. */
:root{--bg:#111723;--panel:#192131;--line:#2a3447;--accent:#91bbff;--muted:#97a4b9}.header{background:#111723;height:76px}.brand-mark{background:#9bbfff;color:#162039}.stage{background:radial-gradient(ellipse at 48% 44%,#354359 0,#202c40 48%,#121a29 87%)}.sidebar{background:#171f2e;padding-top:23px}.scene-heading h1{font-size:27px;letter-spacing:1px;font-weight:550}.scene-heading .eyebrow{color:#f1af70;font-size:12px;letter-spacing:2.5px}.dimension-chips{display:flex;gap:7px;margin-top:16px}.dimension-chips span{font-size:12px;padding:5px 8px;border:1px solid #657b994a;border-radius:4px;background:#15203380;color:#c2cfe2;white-space:nowrap}.stage-top{top:28px}.view-switch{top:29px;background:#111c2cdd;border-color:#3a4c67}.view-switch button.active{background:#9bbfff;color:#182238}.orientation{background:#101a2bbf;border-color:#50638366;top:49%}.orientation button.active,.orientation button:hover{background:#2a3d5b}.scene-tools button{background:#142034e8;border-color:#61749466;font-size:14px}.scene-tools button[aria-pressed=true]{background:#253b5b;color:#b5d2ff;border-color:#7e9fd3}.assembly-control{background:#162135eb;border-color:#546c9166}.slider-caption{font-size:14px}.play-btn{color:#a8c9ff;border-color:#7d97bd}.interaction-hint{position:absolute;bottom:194px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;font-size:14px;color:#c0ccdf;white-space:nowrap;pointer-events:none}.hint-mark{width:15px;height:15px;border-radius:4px;border:1px solid #d5a368;box-shadow:inset 0 -3px #d5a36855}.stage-note{color:#93a2b9}.sidebar h2{font-size:16px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-heading>span{font-size:12px;color:#8797b1}.key-test-row{display:flex;gap:7px}.key-test-row button{--key-color:#92b8ff;position:relative;flex:1;min-width:0;border:1px solid #5f72924d;border-radius:7px;background:linear-gradient(#3b485e,#29364d);height:40px;font-size:14px;color:#e7edf6;box-shadow:0 4px 0 #0c1320,0 5px 0 var(--key-color);transition:transform .08s,box-shadow .08s}.key-test-row button.pressed{transform:translateY(4px);box-shadow:0 0 0 #0c1320,0 1px 8px var(--key-color);background:#465f82}.knob-control{display:flex;align-items:center;justify-content:space-between;margin-top:19px;gap:12px;font-size:14px}.knob-control>label{color:#a6b4ca}.knob-control select{font:inherit;color:#d7e4f6;background:#202d43;border:1px solid #3e5271;border-radius:5px;padding:6px 8px;max-width:160px;cursor:pointer}.knob-readout{display:flex;align-items:center;gap:10px;margin-top:12px}.knob-readout>div{flex:1;text-align:center;white-space:nowrap}.knob-readout strong{font-size:30px;font-weight:400;font-variant-numeric:tabular-nums;letter-spacing:-1px;color:#f0b478}.knob-readout span{font-size:12px;color:#91a3be;margin-left:5px}.knob-readout>button{border:1px solid #50648077;background:#243148;border-radius:6px;min-height:32px;min-width:30px;font-size:18px}.knob-readout #knobPress{padding:4px 10px;font-size:14px;border-color:#af815366;color:#f2bd85;background:#3b302b}.knob-readout button:hover{border-color:#b3c7e8}.knob-meter{height:3px;overflow:hidden;border-radius:5px;background:#354459;margin-top:12px}.knob-meter>span{display:block;height:100%;width:50%;background:#f1ad65;transition:width .12s}.input-message{font-size:12px;color:#a0b3cd;line-height:1.65;min-height:36px;margin-top:11px}.lighting-control{margin-top:16px;padding-top:19px}.control-title h3{font-size:14px;font-weight:550}.switch[aria-checked=true]{background:#9bbfff}.switch span{background:#172945}.swatch{border-color:#171f2e;width:23px;height:23px}.swatches{margin-top:15px}.swatches>span{font-size:12px;color:#a1b5ce}.range-label{display:flex;justify-content:space-between;align-items:center;margin-top:16px;font-size:14px;color:#a9b8cd}.range-label output{font-size:12px;color:#c5d2e5}input[type=range]{background:linear-gradient(to right,var(--accent) var(--progress,0%),#3f516e var(--progress,0%));margin-top:15px;margin-bottom:10px}input[type=range]::-webkit-slider-thumb{background:#c8dcff;border-color:#203755;box-shadow:0 0 0 2px #92b9ff44}.appearance-controls{margin-top:21px;padding-top:19px;border-top:1px solid var(--line)}.finish-options{display:flex;gap:9px;margin-top:14px}.finish-options button{display:flex;align-items:center;justify-content:center;flex:1;gap:7px;border:1px solid #42506a;border-radius:6px;padding:9px 5px;color:#aebed6;font-size:14px}.finish-options button.active{border-color:#9ebdee;background:#273a56;color:#dfebff}.finish-sample{width:14px;height:14px;border-radius:50%}.finish-sample.graphite{background:#36445b;border:1px solid #8596b3}.finish-sample.silver{background:linear-gradient(135deg,#fff,#8793a6);border:1px solid #cbd2df}.sidebar-title{border-top:1px solid var(--line);padding-top:21px;margin-top:21px;margin-bottom:12px}.layer-select{padding-top:8px;padding-bottom:8px}.layer-select small{font-size:12px;color:#91a4c0}.layer-title{font-size:14px}.layer-num{color:#7b91b0}.layer:hover{background:#23354e}.layer.selected{border-color:#547db8;background:#273b5a}.selected .layer-title{color:#c4dcff}.part-detail{padding-top:19px}.part-detail p{color:#a3b4cd}.part-detail .eyebrow{font-size:12px;color:#9ebfef}.part-detail dl>div{font-size:14px}.detail-actions button{font-size:14px;color:#c6d7f2}.sidebar-foot{color:#a0b1c7}.toast{background:#142238eF;border-color:#5a769d;color:#dce9ff}.canvas-loading{background:#152034fa}.dialog-head,dialog{background:#192638}.dialog-head{border-color:#3b4f6c}.basis-block h3{color:#bed3f7}.basis-note{background:#40372e;color:#dfd2be}.annotation{background:#1c2c45e8;color:#d5e5fc;border-color:#799ccb80}.view-switch button{font-size:14px}.scene-tools svg{width:17px}select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:1200px){.view-switch{top:143px}.stage-top{top:24px}.dimension-chips{margin-top:13px}.scene-heading h1{font-size:25px}.sidebar{padding-left:16px;padding-right:16px}.interaction-hint{font-size:12px}.scene-tools button{font-size:13px}.knob-readout{gap:6px}.key-test-row{gap:6px}}
@media(max-width:760px){.header{height:69px}.brand-sub{font-size:12px}.scene-heading .eyebrow{font-size:12px}.scene-heading p{font-size:14px}.scene-heading h1{font-size:24px}.dimension-chips{gap:5px;margin-top:11px}.dimension-chips span{font-size:12px;padding:4px 6px}.view-switch{top:149px}.stage{min-height:630px}.app{min-height:700px}.stage-top{left:20px;right:17px;top:20px}.view-switch{left:20px}.orientation{right:9px;top:49%}.sidebar{background:#172236fc;padding:21px}.sidebar-title{margin-top:22px}.sidebar-title #closeSide{position:fixed;right:21px;top:81px;background:#263b59;border-radius:5px;width:30px;height:30px;line-height:1;box-shadow:0 0 0 5px #172236}.play-controls .section-heading{padding-right:37px}.interaction-hint{font-size:12px;bottom:191px;gap:7px}.scene-tools button{font-size:12px}.stage-note{font-size:12px;justify-content:center}.quiet,.export-btn{font-size:12px}.slider-caption{font-size:14px}.icon-btn{background:#223655;color:#ccdef8;border-color:#7c99c3}.layer-title,.view-switch button{font-size:14px}.annotation{font-size:12px}.sidebar-title>span{margin-right:0}}
@media(max-width:370px){.header-actions{gap:4px}.quiet{padding:4px}.export-btn{gap:4px}.export-btn svg{display:none}.scene-tools{gap:4px}.scene-tools button{padding:8px 6px}.scene-tools svg{display:none}.assembly-control{gap:10px;padding:13px 11px}.dimension-chips span{padding:4px 5px}}
@media(prefers-reduced-motion:reduce){.key-test-row button,.knob-meter>span{transition:none}}
/* Print 03: light controls stay within reach on the canvas. */
.print-btn{border:1px solid #c89a67;background:#463827;color:#f6ca96;border-radius:7px;padding:10px 13px;font-size:14px}.print-btn:hover{background:#5d442c}.header-actions{gap:14px}.environment-popup{position:absolute;z-index:12;bottom:195px;left:50%;transform:translateX(-50%);width:min(330px,calc(100% - 40px));padding:18px 20px;border:1px solid #637fa6;border-radius:13px;background:#152137f5;box-shadow:0 20px 65px #0009;backdrop-filter:blur(20px)}.environment-popup[hidden]{display:none}.popup-heading{display:flex;align-items:center;justify-content:space-between}.popup-heading h2{font-size:16px;font-weight:550;margin:0}.popup-heading button{font-size:24px;width:28px;height:28px;color:#bcd0ee}.environment-presets{display:flex;gap:7px;margin:13px 0 19px}.environment-presets button{flex:1;padding:7px 9px;border:1px solid #405775;border-radius:5px;font-size:14px;color:#acbfdc}.environment-presets button.active{color:#ecf3ff;background:#365581;border-color:#8bb4ef}.environment-popup .range-label{margin-top:15px}.environment-popup p{font-size:12px;line-height:1.5;color:#9bb0ce;margin:16px 0 0}.environment-popup input[type=range]{margin-top:14px}.scene-tools{gap:7px}.scene-tools button{padding:8px 10px}.scene-tools #environmentBtn{color:#e8c091;border-color:#be945966;background:#3d3129de}.scene-tools #environmentBtn[aria-expanded=true]{background:#624525;border-color:#d8a662}.print-downloads{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 24px}.print-downloads a{border:1px solid #6986ac;border-radius:7px;padding:11px;color:#d4e5ff;text-decoration:none;text-align:center;font-size:14px;background:#263e5d}.print-downloads a:first-child{grid-column:1/-1;color:#f1c38c;background:#413428;border-color:#9d764e;font-size:16px}.print-downloads a span{display:block;font-size:12px;font-weight:400;margin-top:5px;color:#c3ab8e}.print-downloads a:hover{filter:brightness(1.2)}.print-specs{background:#20314a;border-radius:8px;padding:12px 14px}.print-specs>div{font-size:14px}.dialog-body ol{font-size:15px;line-height:1.9;color:#b0c1d8;padding-left:23px}.dialog-body li{padding-left:4px;margin-bottom:7px}.print-links,.print-links a,.print-links button{font-size:12px!important;color:#9bbfeb!important}.print-links button{text-decoration:underline;padding:0;white-space:normal}.print-btn:focus-visible,.print-downloads a:focus-visible{outline:2px solid #ffb35c;outline-offset:3px}
@media(max-width:1200px){.header-actions{gap:9px}.scene-tools{gap:5px}.scene-tools button{padding:8px 8px;font-size:12px}}
@media(max-width:760px){.header-actions{gap:7px}.header-actions .quiet{display:none}.print-btn{font-size:12px;padding:8px}.export-btn{font-size:12px}.scene-tools{gap:5px}.scene-tools button{font-size:12px;padding:8px 7px;gap:4px}.scene-tools svg{width:14px;height:14px}.environment-popup{bottom:183px;padding:15px 18px}.environment-popup .range-label{margin-top:12px}.environment-popup p{margin-top:12px}.print-downloads a{font-size:14px}.print-specs{padding:10px}.print-specs>div{gap:8px}.print-specs dd{max-width:70%}}
@media(max-width:370px){.header-actions{gap:5px}.scene-tools svg{display:none}.print-btn,.export-btn{padding:8px 6px}.brand{font-size:17px;gap:7px}.brand-sub{font-size:11px}.scene-tools button{padding:8px 7px}}
.inspect-shell{display:block;width:100%;border:1px solid #587da7;border-radius:6px;padding:9px;color:#cfe1fb;background:#253e5c;font-size:14px}.inspect-shell:hover{background:#35557a}

/* Mechanical drawing: readable, printable and shared with the 3D board. */
.drawing-btn{padding:10px 12px;border:1px solid #6382a9;border-radius:7px;color:#c6ddfa;font-size:14px}.drawing-btn:hover{background:#2d435c}.drawing-dialog{width:min(1120px,calc(100vw - 32px));max-width:none}.drawing-downloads{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.drawing-downloads a{font-size:14px;color:#d3e7ff;border:1px solid #52769c;padding:9px 12px;border-radius:6px;text-decoration:none;background:#253b57}.drawing-preview{display:block;background:white;border-radius:7px;overflow:hidden}.drawing-preview img{display:block;width:100%;height:auto}.drawing-tables{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:24px}.drawing-tables h3{font-size:16px}.drawing-tables table{width:100%;border-collapse:collapse;font-size:14px}.drawing-tables th,.drawing-tables td{padding:8px;border-bottom:1px solid #3c5068;text-align:right}.drawing-tables th:first-child,.drawing-tables td:first-child{text-align:left}.drawing-tables p{font-size:14px;line-height:1.75}.header-actions{gap:10px}@media(max-width:1000px){.header-actions .quiet{display:none}.header{gap:20px}}@media(max-width:760px){.drawing-btn{font-size:12px;padding:8px 6px}.header-actions{gap:5px}.drawing-dialog{width:calc(100vw - 16px)}.drawing-tables{grid-template-columns:1fr;gap:15px}.drawing-downloads a{padding:8px;font-size:13px}}@media(max-width:420px){.brand-sub{display:none}.brand{font-size:17px;gap:6px}.brand-mark{width:30px;height:34px;font-size:20px}.header{padding:0 10px;gap:8px}.export-btn{gap:0}.header-actions{gap:4px}}
