.slicer-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.slicer-heading input{border:0;background:transparent;font-size:27px;font-weight:650;color:#243438;padding:0;width:min(520px,100%)}.slicer-heading p{font-size:12px;color:#7b898e;margin:8px 0 0}.studio-preview{font-size:8px;letter-spacing:.5px;background:#fff0cf;color:#977a30;border-radius:4px;padding:4px 6px;margin-left:7px}.studio-project-actions{display:flex;gap:7px}.studio-plates{display:flex;gap:7px;overflow-x:auto;margin-bottom:12px;padding-bottom:5px}.studio-plates button{flex-shrink:0;background:#eef2ef;border-color:transparent;font-size:11px;padding:10px 13px}.studio-plates button.active{background:white;border-color:#92bf7e}.studio-plates small{display:block;font-size:8px;font-weight:400;color:#84938c;margin-top:5px}.studio-plates span{color:#7d9f6c;margin-right:5px}.studio-shell{display:grid;grid-template-columns:228px minmax(300px,1fr) 192px;min-height:660px;background:white;border:1px solid #e0e6e5;border-radius:10px;overflow:hidden}.studio-left,.studio-right{padding:16px;max-height:calc(100vh - 245px);min-height:660px;overflow-y:auto}.studio-left{border-right:1px solid #e5e9e7}.studio-right{border-left:1px solid #e5e9e7}.studio-left label{font-size:10px;color:#6d7e80;display:flex;justify-content:space-between;align-items:center;gap:8px;margin:10px 0}.studio-left>label{display:block}.studio-left>label select{margin-top:9px;width:100%;font-size:10px}.studio-left input[type=number]{width:70px;text-align:right;font-size:11px;padding:7px}.studio-left input[type=checkbox]{margin:0}.studio-section-head{display:flex;align-items:center;justify-content:space-between;margin:23px 0 11px;font-size:10px;color:#536a62;letter-spacing:.2px}.studio-section-head:first-child{margin-top:4px}.studio-section-head button{padding:5px 8px;font-size:9px}.studio-row{display:flex;gap:6px;margin-top:10px}.studio-row button{padding:6px 10px;font-size:10px}#studio-printer-info{font-size:9px;color:#84988d;margin-top:9px;line-height:1.5}#studio-objects button[data-object]{display:flex;align-items:center;gap:7px;width:100%;padding:9px 7px;font-size:10px;margin-bottom:5px;border-color:transparent;background:#f5f7f6;text-align:left}#studio-objects button[data-object].selected{border-color:#95b885;background:#eef6e8}#studio-objects span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}#studio-objects small{font-size:8px;color:#8c9b90}#studio-objects i{display:block;flex-shrink:0;width:7px;height:7px;background:var(--object-color);border-radius:2px}.studio-material{display:flex;align-items:center;gap:6px;margin:7px 0}.studio-material input{width:25px;height:25px;padding:1px;border-radius:4px;cursor:pointer}.studio-material button{padding:5px 7px;font-size:9px}.studio-material .active{background:#e6f3dc;border-color:#95b885}.studio-check{justify-content:flex-start!important;line-height:1.6}.studio-center{min-width:0;display:flex;flex-direction:column;background:#151d21}.studio-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:5px;background:#1d282c;border-bottom:1px solid #334247;padding:8px}.studio-toolbar>div{display:flex;gap:3px}.studio-toolbar button{padding:7px 8px;background:#263438;color:#aebeb9;border-color:transparent;font-size:9px}.studio-toolbar button.active{background:#405a42;color:#c8f4b3}.studio-toolbar button:hover{background:#405046}#studio-viewport{position:relative;flex:1;min-height:500px;overflow:hidden}#studio-viewport>canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}#studio-empty{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#9eb8aa;pointer-events:none;background:#18231d35}#studio-empty[hidden]{display:none}#studio-empty b{font-size:15px;font-weight:500}#studio-empty p{font-size:11px;color:#728e7b}#studio-empty button{pointer-events:auto;font-size:10px;margin-top:12px;background:#a0e77c;border:0}#studio-view-info{position:absolute;top:16px;left:16px;right:16px;pointer-events:none;color:#b3d7a4;font-size:11px;line-height:1.7}.studio-bottom{padding:13px;color:#91a99a;font-size:9px;background:#1d282c;border-top:1px solid #334247;min-height:65px}.studio-bottom label{display:flex;align-items:center;gap:5px}.studio-bottom input[type=number]{padding:5px;width:60px;background:#293c3a;color:#d2e6cb;border-color:#405c4d;font-size:10px}#studio-transforms{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:8px}#studio-transforms>span{margin-right:auto}.studio-right>button{display:block;width:100%;font-size:10px;padding:10px 6px;margin-bottom:9px}.studio-right p{font-size:10px;line-height:1.8;color:#81918a}.studio-right pre{font-size:8px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow-y:auto}.studio-right summary{font-size:10px;color:#6b8072;cursor:pointer}.studio-delivery{border-top:1px solid #e6ebe5;border-bottom:1px solid #e6ebe5;margin:20px 0;padding:15px 0}.studio-delivery b{font-size:10px;color:#687d6e}.studio-note{font-size:9px!important;line-height:1.8;color:#9aa59f!important}.studio-job-state{font-size:10px;background:#edf6e4;padding:10px;margin:15px 0;color:#5e7b45}.studio-job-state.error{background:#fae7e2;color:#ab6054}.studio-download{display:block;font-size:10px;border:1px solid #dce6d9;padding:10px 8px;border-radius:5px;margin:9px 0;overflow-wrap:anywhere}.studio-download small{display:block;margin-top:4px;color:#8c9b8b}.studio-advanced{margin-top:20px;border-top:1px solid #e5eae7;padding-top:15px;font-size:10px;color:#748b7a}.studio-advanced p{font-size:9px;line-height:1.7}.studio-advanced select,.studio-advanced>input{width:100%;padding:7px;font-size:10px;margin-bottom:8px}#advanced-fields{max-height:400px;overflow:auto}#advanced-fields label{display:block;text-transform:capitalize}#advanced-fields textarea{display:block;width:100%;height:45px;margin-top:5px;font-size:9px;border:1px solid #dce4dd;padding:7px;border-radius:4px;resize:vertical}#studio-layers{margin-top:8px}#studio-layers input{flex:1;accent-color:#8dcc69}#studio-layers output{min-width:55px;text-align:right}#studio-resin-preview{position:absolute;inset:0;z-index:1;display:flex;justify-content:center;align-items:center;background:#121712}#studio-resin-preview[hidden]{display:none}#studio-resin-preview img{max-width:100%;max-height:100%;object-fit:contain}body[data-view=slicer] #content{padding:24px;max-width:none}body[data-view=slicer] footer{display:none}@media(min-width:1700px){.studio-shell{grid-template-columns:260px minmax(400px,1fr) 230px}#studio-viewport{min-height:650px}}@media(max-width:1200px){.studio-shell{grid-template-columns:190px minmax(250px,1fr)}.studio-right{grid-column:1 / -1;min-height:0;max-height:none;display:flex;gap:10px;flex-wrap:wrap}.studio-right>button{width:auto}.studio-right .studio-section-head{width:100%}.studio-right .studio-note{display:none}.studio-toolbar .studio-tools{flex-wrap:wrap}.studio-left{padding:12px}.slicer-heading{align-items:flex-start}.studio-project-actions{flex-wrap:wrap}}@media(max-width:700px){.slicer-heading{display:block}.studio-project-actions{margin-top:15px}.studio-shell{display:flex;flex-direction:column}.studio-left{min-height:0;max-height:400px}.studio-center{min-height:520px}.studio-left .studio-section-head{margin-top:15px}#studio-viewport{min-height:400px}.studio-plates button{font-size:10px}.slicer-heading input{font-size:24px}body[data-view=slicer] #content{padding:15px}.studio-right{display:block}.studio-right>button{width:100%}}
.studio-delivery>button{display:block;width:100%;font-size:10px;margin:8px 0;padding:9px 5px}.studio-print-dialog{max-width:480px;max-height:85vh;overflow:auto;border:1px solid #dce5d8;border-radius:12px;padding:28px}.studio-print-dialog p{font-size:12px;line-height:1.8;color:#6d8072;overflow-wrap:anywhere}.studio-print-dialog label{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.7;margin:15px 0}.studio-print-dialog form>div{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.studio-print-dialog::backdrop{background:#0d171db0}
.studio-material{flex-wrap:wrap}.studio-material select{width:100%;max-width:100%;font-size:10px;padding:7px}.studio-left #process-profile{min-width:0;max-width:140px;font-size:10px}.studio-right>button[hidden]{display:none}
.object-properties{margin-top:16px;font-size:10px}.object-properties summary{cursor:pointer;color:#536a62}.object-properties details{margin:12px 0;padding:8px 0;border-top:1px solid #e5e9e7}.object-properties p{font-size:10px;line-height:1.6;color:#81918a}.object-properties select{max-width:130px;font-size:10px}.object-properties button{padding:5px 7px;font-size:10px}.object-properties .object-layer-table{max-height:220px;overflow:auto}.object-layer-table th{font-size:9px;font-weight:400}.studio-left .object-layer-table input[type=number]{width:50px;font-size:10px;padding:5px}.object-layer-table table{border-collapse:collapse;width:100%}.object-override-list{max-height:150px;overflow:auto;font-size:9px;white-space:pre-wrap;overflow-wrap:anywhere}.studio-project-actions{flex-wrap:wrap}.studio-left #object-override-value{width:100%;font-size:10px;margin:7px 0}
#layer-curve{width:100%;max-height:230px;background:#f4f7f4;touch-action:none;margin:6px 0}#layer-curve path{fill:none;stroke:#a3afa8;stroke-width:1}#layer-curve polyline{fill:none;stroke:#719c61;stroke-width:2}#layer-curve circle{fill:#86b16e;stroke:white;stroke-width:1;cursor:grab}#layer-curve text{fill:#7c8b80;font-size:7px}
.resin-placement-tools{flex-wrap:wrap}.resin-placement-tools .active{background:#e2f2df;border-color:#9cbd91}.resin-help{font-size:10px;color:#81918a;line-height:1.6}.resin-feature-list{display:flex;gap:5px;flex-wrap:wrap;margin:9px 0;max-height:160px;overflow:auto}.resin-feature-list .selected{border-color:#83b9d6;background:#e6f5ff}.resin-coordinate-grid{display:flex;gap:5px}.resin-coordinate-grid label{display:block!important;flex:1;min-width:0}.resin-coordinate-grid input[type=number]{width:100%!important;margin-top:4px}.object-properties .resin-help{color:#81918a}.object-properties>div>button{width:100%;margin-top:14px}
.studio-mesh-dialog{width:min(520px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid #cdd9d3;border-radius:14px;padding:24px;color:#18312f;background:#fff}.studio-mesh-dialog::backdrop{background:#10272380}.studio-mesh-dialog h2{margin:0 0 18px;font-size:20px;overflow-wrap:anywhere}.studio-mesh-dialog label{display:grid;gap:7px;margin:12px 0;font-size:12px}.studio-mesh-dialog select,.studio-mesh-dialog input[type=number]{box-sizing:border-box;min-width:0;width:100%;padding:9px;border:1px solid #cdd9d3;border-radius:6px;background:#fff;color:#18312f}.studio-mesh-dialog input[type=range]{width:100%}.studio-mesh-dialog fieldset{border:1px solid #d8e2dc;border-radius:8px;margin:16px 0;padding:8px 14px 14px}.studio-mesh-dialog .mesh-check{display:flex;align-items:center;gap:8px}.studio-mesh-dialog p,.studio-mesh-dialog small{font-size:12px;line-height:1.6}.mesh-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.studio-mesh-dialog #mesh-feedback{overflow-wrap:anywhere;color:#274e41}.studio-mesh-dialog [hidden]{display:none!important}.studio-mesh-dialog #mesh-normal>label{flex:1;min-width:0}
.studio-mesh-dialog .mesh-check input{width:auto;flex:none}.studio-mesh-dialog::backdrop{backdrop-filter:none;background:#10272335}@media(min-width:1000px){.studio-mesh-dialog{width:380px;position:fixed;left:258px;top:50%;margin:0;transform:translateY(-50%)}}
#studio-paint-panel{border-top:1px solid #e5e9e7;margin-top:16px;padding-top:4px}#studio-paint-panel select{font-size:10px;max-width:126px}#studio-paint-panel p{font-size:10px;line-height:1.6;color:#7a8b83}#studio-paint-panel .paint-actions{flex-wrap:wrap;margin:10px 0}#studio-paint-panel button{padding:6px 8px;font-size:10px}#studio-paint-panel details{font-size:10px;margin:14px 0}#studio-paint-panel summary{cursor:pointer;color:#536a62}.paint-views{display:flex;gap:5px;flex-wrap:wrap;margin:14px 0}.paint-views button{text-transform:capitalize}.studio-left #studio-paint-panel [hidden]{display:none!important}
.studio-paint-palette{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:10px 0}.studio-paint-palette button.active{background:#e3f3db;border-color:#83b56f;color:#315324}.studio-tools button.active{background:#40594d;color:#b3fa8a}
.preparation-properties{margin-top:16px;font-size:10px}.preparation-properties summary{cursor:pointer;color:#536a62}.preparation-properties p{font-size:10px;line-height:1.6;color:#7b8a82}.preparation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.preparation-grid>b{grid-column:1/-1;font-size:9px;margin-top:10px;color:#6c8175}.studio-left .preparation-grid label{display:block;min-width:0;margin:0}.studio-left .preparation-grid input[type=number]{width:100%;min-width:0;margin-top:3px;padding:6px;font-size:10px}.preparation-buttons{display:flex;gap:4px;flex-wrap:wrap;margin-top:12px}.preparation-buttons button{padding:5px 7px;font-size:9px}.preparation-summary{overflow-wrap:anywhere}.studio-object-row{display:flex;gap:5px;align-items:center}.studio-object-row>input[type=checkbox]{flex:none}.studio-object-row>button{flex:1;min-width:0}.preparation-marquee{position:absolute;pointer-events:none;border:1px solid #a4e47e;background:#91d87a20;z-index:4}#studio-viewport canvas:focus-visible{outline:2px solid #a2c28b;outline-offset:-2px}

.mesh-inspection-report{display:grid;grid-template-columns:1fr auto;gap:5px 16px;font-size:12px;text-align:left}.mesh-inspection-report dt,.mesh-inspection-report dd{margin:0}.mesh-inspection-report dd{font-variant-numeric:tabular-nums}#studio-objects .mesh-issue{color:#a33248;background:#ffe6ed;padding:2px 5px;border-radius:3px;font-weight:700}

.studio-mesh-dialog.mesh-inspect-visible{position:fixed;top:70px;bottom:auto;left:16px;right:16px;margin:0;width:calc(100vw - 32px);max-height:55vh;z-index:35}@media(min-width:1100px){.studio-mesh-dialog.mesh-inspect-visible{top:112px;left:clamp(12px,calc(50vw - 560px),260px);right:auto;width:380px;max-height:calc(100vh - 130px)}}

.studio-mesh-dialog.mesh-inspect-visible{transform:none}

.resin-auto-dialog .mesh-dialog-actions{position:sticky;bottom:-24px;margin:20px -24px -24px;padding:12px 24px;background:#fff;border-top:1px solid #e1e8e3;z-index:1}.resin-auto-dialog #auto-support-feedback{overflow-wrap:anywhere}

#studio-resin-preview{overflow:hidden;touch-action:none;cursor:grab}#studio-resin-preview>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;transform-origin:center}.resin-issue-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#studio-resin-analysis{margin:18px 0;padding:16px 0;border-top:1px solid #e0e8e1;font-size:10px}#studio-resin-analysis[hidden]{display:none}#studio-resin-analysis>button{width:100%;margin:8px 0;padding:9px;font-size:10px}#studio-resin-analysis p{font-size:10px;line-height:1.6;overflow-wrap:anywhere}#studio-resin-analysis label{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:8px 0;font-size:10px}#studio-resin-analysis label.analysis-check{justify-content:flex-start}#studio-resin-analysis input[type=number]{width:62px;min-width:0;font-size:10px;padding:5px}#studio-resin-analysis select{min-width:0;max-width:135px;font-size:10px}#resin-analysis-list{display:flex;flex-direction:column;gap:5px;max-height:220px;overflow:auto}#resin-analysis-list button{text-align:left;font-size:10px;padding:8px}#resin-analysis-list button.selected{border-color:#d67890;background:#fff1f4}#resin-analysis-list small{display:block;margin-top:4px;color:#7f8d88}.analysis-actions,.analysis-pager{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin:10px 0}.analysis-actions button,.analysis-pager button,#resin-analysis-export{font-size:9px;padding:6px}.analysis-summary{font-size:10px;line-height:1.7;color:#816c46;overflow-wrap:anywhere}#studio-resin-analysis [hidden]{display:none!important}

#studio-exposure-edits{padding:16px 0;margin:16px 0;border-top:1px solid #dce6de;font-size:10px}#studio-exposure-edits[hidden],#studio-exposure-edits [hidden]{display:none!important}#studio-exposure-edits p{font-size:10px;line-height:1.6}#studio-exposure-edits>button,#exposure-edit-apply{width:100%;padding:8px;font-size:10px}#studio-exposure-edits label{display:flex;justify-content:space-between;align-items:center;gap:5px;margin:9px 0;font-size:10px}#studio-exposure-edits label.analysis-check{justify-content:flex-start}#studio-exposure-edits input[type=number]{min-width:0;width:63px;padding:5px;font-size:10px}#studio-exposure-edits select{font-size:10px;max-width:125px}.exposure-layer-range{display:flex;gap:5px}.exposure-layer-range>label{min-width:0;display:block!important}.exposure-layer-range input{max-width:100%}.exposure-progress-dialog p{overflow-wrap:anywhere}

.resin-geometry-dialog .mesh-dialog-actions{flex-wrap:wrap}.resin-geometry-dialog .mesh-dialog-actions button{flex:1 1 calc(50% - 8px);min-width:0}.resin-geometry-dialog input[type=range]{min-width:0}
.resin-geometry-dialog{position:fixed;top:50%;left:16px;right:16px;margin:0;width:calc(100vw - 32px);max-height:90vh;transform:translateY(-50%);z-index:40}@media(min-width:1000px){.resin-geometry-dialog{left:258px;right:auto;width:380px}}
.resin-geometry-dialog [hidden]{display:none!important}.resin-geometry-dialog fieldset{border:1px solid #dce6de;margin-top:14px;padding:10px;min-width:0}.resin-geometry-dialog .studio-row{flex-wrap:wrap}.resin-geometry-dialog .studio-row label{display:block;flex:1;min-width:65px}.resin-geometry-dialog .studio-row input{width:100%;min-width:0}.resin-geometry-dialog .studio-row select{min-width:0;flex:1}.resin-geometry-dialog #cavity-blocker-list{display:flex;flex-wrap:wrap;gap:5px}.resin-geometry-dialog #cavity-blocker-list button{font-size:10px;overflow-wrap:anywhere}.resin-geometry-dialog #cavity-blocker-list .selected,.resin-geometry-dialog [data-cavity-mode].active{background:#eef6e8;border-color:#95b885}.resin-geometry-dialog .cavity-region{border-bottom:1px solid #e6ebe5;padding:7px 0;display:flex;gap:8px;align-items:center}.resin-geometry-dialog .cavity-region button{flex:1;min-width:0;font-size:10px}.resin-geometry-dialog .cavity-region label{flex:none;gap:5px}.resin-geometry-dialog small,.resin-geometry-dialog p{overflow-wrap:anywhere}

#resin-section-view{border-top:1px solid #dce6de;margin:14px 0;padding:12px 0;font-size:10px}#resin-section-view[hidden]{display:none!important}#resin-section-view label{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:10px 0}#resin-section-view input[type=number],#resin-section-view select{min-width:0;width:94px;font-size:10px;padding:6px}#resin-section-view input[type=range],#resin-section-view button{width:100%;max-width:100%}#resin-section-view p{font-size:10px;line-height:1.6}

#studio-measurements{border-top:1px solid #dce6de;margin:14px 0;padding:12px 0;font-size:10px}#studio-measurements[hidden],#studio-measurements [hidden]{display:none!important}#studio-measurements h3{font-size:12px;margin:0 0 12px}#studio-measurements label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;margin:10px 0}#studio-measurements select{max-width:100%;min-width:0;font-size:10px;padding:6px}#studio-measurements input{width:100%;max-width:100%;min-width:0;font-size:11px;padding:7px}#studio-measurements p,#studio-measurements small{font-size:10px;line-height:1.6}#measurement-status{min-height:30px;line-height:1.6;color:#56715f;overflow-wrap:anywhere}#measurement-results dl{display:grid;grid-template-columns:minmax(0,1fr);gap:3px}#measurement-results dt{font-size:9px;color:#718477;margin-top:7px}#measurement-results dd{margin:0;font-size:11px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.measurement-actions{display:flex;gap:4px;flex-wrap:wrap}#studio-measurements button{font-size:10px;padding:7px;max-width:100%}#measurement-scale{margin-top:14px;padding-top:8px;border-top:1px solid #dce6de}#measurement-label{position:absolute;z-index:5;transform:translate(-50%,-140%);padding:5px 9px;background:#11252de8;border:1px solid #92c4cf;border-radius:6px;color:#fff;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none}#measurement-label[hidden]{display:none}

.vector-dialog{position:fixed;top:50%;left:16px;right:16px;margin:0;width:calc(100vw - 32px);max-height:90vh;transform:translateY(-50%);z-index:40}.vector-dialog textarea{width:100%;min-height:66px;resize:vertical;font:inherit;padding:7px}.vector-dialog .studio-row label{display:block;min-width:0;flex:1}.vector-dialog .studio-row input{width:100%;min-width:0}.vector-dialog [hidden]{display:none!important}.vector-dialog .mesh-dialog-actions{position:sticky;bottom:-24px;display:flex;flex-wrap:wrap;margin:20px -24px -24px;padding:12px 24px;background:#fff;border-top:1px solid #e1e8e3;z-index:2}.vector-dialog .mesh-dialog-actions button{flex:1 1 calc(50% - 8px);min-width:0}.vector-dialog small,.vector-dialog p{overflow-wrap:anywhere}.vector-dialog fieldset{border:1px solid #dce6de;margin-top:14px;padding:10px}@media(min-width:1000px){.vector-dialog{left:258px;right:auto;width:380px}}
.studio-mesh-dialog.cad-dialog{position:fixed;top:50%;left:16px;right:16px;margin:0;max-height:calc(100dvh - 32px);transform:translateY(-50%);z-index:40;box-sizing:border-box;width:calc(100vw - 32px)}.cad-dialog .mesh-dialog-actions{position:sticky;bottom:-24px;display:flex;flex-wrap:wrap;margin:20px -24px -24px;padding:12px 24px;background:#fff;border-top:1px solid #e1e8e3;z-index:2}.cad-dialog .mesh-dialog-actions button{flex:1 1 calc(50% - 8px);min-width:0}@media(min-width:1000px){.studio-mesh-dialog.cad-dialog{left:258px;right:auto;width:410px}}
.cad-dialog{width:min(410px,calc(100vw - 28px));max-height:calc(100dvh - 40px);overflow:auto}.cad-dialog fieldset{min-width:0}.cad-dialog #cad-parts{max-height:220px;overflow:auto}.cad-dialog .cad-part-row{display:flex;align-items:center;gap:8px;padding:6px 0}.cad-dialog .cad-part-row input{width:auto}.cad-part-row span{min-width:0;overflow-wrap:anywhere}.cad-part-row small{display:block;opacity:.65;font-size:10px}.cad-dialog label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.cad-dialog input[type=checkbox]{width:auto}.cad-dialog #cad-colors label{display:flex;gap:7px;align-items:center}.cad-swatch{width:16px;height:16px;flex-shrink:0;border:1px solid #789}.cad-dialog #cad-colors select{width:auto;flex:1}.cad-dialog small{overflow-wrap:anywhere}
.studio-mesh-dialog.support-route-dialog{position:fixed;top:50%;left:16px;right:16px;margin:0;max-height:calc(100dvh - 32px);transform:translateY(-50%);z-index:40;box-sizing:border-box;width:calc(100vw - 32px)}.support-route-dialog .mesh-dialog-actions{position:sticky;bottom:-24px;display:flex;flex-wrap:wrap;margin:20px -24px -24px;padding:12px 24px;background:#fff;border-top:1px solid #e1e8e3;z-index:2}.support-route-dialog .mesh-dialog-actions button{flex:1;min-width:0}.support-route-dialog #support-route-issues{max-height:220px;overflow:auto;display:grid;gap:6px}.support-route-dialog #support-route-issues button{white-space:normal;text-align:left;overflow-wrap:anywhere}.resin-route-points{min-width:0}.resin-bend-list{display:flex;flex-wrap:wrap;gap:4px}.resin-bend-list .selected{background:#c8f8ca;color:#17372d}@media(min-width:1000px){.studio-mesh-dialog.support-route-dialog{left:258px;right:auto;width:400px}}

.resin-drain-dialog .drain-hole-option{display:flex;align-items:flex-start;justify-content:flex-start;gap:8px;border-bottom:1px solid #e6ebe5;padding:8px 0}.resin-drain-dialog .drain-hole-option input{flex:none;margin-top:3px}.resin-drain-dialog #drain-holes{max-height:200px;overflow:auto}

.resin-drain-dialog .drain-hole-option input{width:auto;flex:0 0 auto}.resin-drain-dialog .drain-hole-option span{min-width:0;flex:1;overflow-wrap:anywhere}

#studio-hollow2d{border-top:1px solid #dce6de;padding-top:16px;margin-top:16px;font-size:10px}#studio-hollow2d label{display:flex;flex-direction:column;gap:5px;margin:10px 0}#studio-hollow2d input,#studio-hollow2d select{width:100%;min-width:0;padding:7px;font-size:10px}#studio-hollow2d .hollow2d-check{flex-direction:row;align-items:flex-start;gap:7px}#studio-hollow2d input[type=checkbox]{width:auto;flex:none;margin-top:2px}#studio-hollow2d .hollow2d-check span{min-width:0;overflow-wrap:anywhere}#studio-hollow2d button{font-size:10px;padding:7px}#studio-hollow2d .hollow2d-blocker{border-bottom:1px solid #e6ebe5;padding:6px 0;display:flex;align-items:center;gap:5px}#studio-hollow2d .hollow2d-blocker span{flex:1;min-width:0;overflow-wrap:anywhere}#hollow2d-feedback{overflow-wrap:anywhere}

#studio-resin-profiles{font-size:10px;margin-top:14px;border-top:1px solid #dce6de;padding-top:8px}#studio-resin-profiles[hidden]{display:none!important}#studio-resin-profiles label{display:flex;flex-direction:column;gap:5px}#studio-resin-profiles select{min-width:0;width:100%;font-size:10px;padding:7px}#resin-profile-status,.profile-import-note{font-size:10px;line-height:1.6;overflow-wrap:anywhere}.profile-actions{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.profile-actions button{font-size:10px;padding:7px;flex:1 1 42%;min-width:0}
.studio-mesh-dialog.resin-profile-dialog{width:min(780px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto}.resin-profile-dialog .profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.resin-profile-dialog label{display:flex;flex-direction:column;gap:5px;margin:8px 0;font-size:11px}.resin-profile-dialog input,.resin-profile-dialog select,.resin-profile-dialog textarea{width:100%;min-width:0;box-sizing:border-box;padding:8px;font:inherit}.resin-profile-dialog textarea{min-height:70px}.resin-profile-dialog small{display:block;font-size:10px;opacity:.7;overflow-wrap:anywhere}.resin-profile-dialog .mesh-dialog-actions{display:flex;gap:8px;justify-content:flex-end;position:sticky;bottom:-24px;margin:16px -24px -24px;padding:12px 24px;border-top:1px solid #dce6de;background:white}.profile-unapplied{margin:16px 0}.profile-unapplied table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:10px}.profile-unapplied td,.profile-unapplied th{padding:5px;border-bottom:1px solid #dce6de;text-align:left;overflow-wrap:anywhere}.profile-import-list{max-height:50vh;overflow:auto}.profile-import-row{display:grid;grid-template-columns:18px minmax(0,1fr) 190px;gap:8px;align-items:start;padding:8px 0;border-bottom:1px solid #dce6de}.profile-import-row input[type=checkbox]{width:auto}.profile-history{display:grid;gap:7px}.profile-history button{text-align:left}#profile-feedback{color:#7b4030;overflow-wrap:anywhere}.resin-usage-summary{font-size:10px;line-height:1.6}
@media(max-width:600px){.resin-profile-dialog .profile-grid{grid-template-columns:minmax(0,1fr)}.profile-import-row{grid-template-columns:18px minmax(0,1fr)}.profile-import-row select{grid-column:2}.resin-profile-dialog .mesh-dialog-actions button{flex:1;min-width:0}}

.studio-mesh-dialog.resin-profile-dialog{position:fixed;left:50%;right:auto;top:50%;margin:0;transform:translate(-50%,-50%)}.resin-profile-dialog h2{position:sticky;top:-24px;z-index:2;background:white;margin:-24px -24px 12px;padding:18px 24px;border-bottom:1px solid #dce6de}

#studio-resin-calibration{border-top:1px solid #dce6de;margin-top:16px;padding-top:12px;font-size:11px}#studio-resin-calibration label{display:grid;gap:5px;margin:10px 0}#studio-resin-calibration select,#studio-resin-calibration input,#studio-resin-calibration textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:7px;border:1px solid #cdd9d3;border-radius:6px}#studio-resin-calibration textarea{min-height:65px}.calibration-series-name{line-height:1.7;overflow-wrap:anywhere}
#studio-resin-calibration label{grid-template-columns:minmax(0,1fr);width:100%;box-sizing:border-box;align-items:stretch}

#studio-filament-profiles,#studio-fdm-calibration{border-top:1px solid #dce6de;margin-top:16px;padding-top:12px;font-size:11px}#studio-filament-profiles label,#studio-fdm-calibration label{display:flex;flex-direction:column;align-items:stretch;gap:5px;margin:10px 0;width:100%;box-sizing:border-box}#studio-filament-profiles select,#studio-fdm-calibration input,#studio-fdm-calibration select,#studio-fdm-calibration textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:7px;border:1px solid #cdd9d3;border-radius:6px}#studio-fdm-calibration textarea{min-height:70px}#studio-fdm-calibration p{line-height:1.7;overflow-wrap:anywhere}.resin-profile-dialog label.filament-checkbox{flex-direction:row;align-items:center}.resin-profile-dialog .filament-checkbox input{width:auto;flex:none}.filament-profile-dialog #filament-native-json{min-height:210px;max-height:360px;font-family:Consolas,monospace;font-size:11px;resize:vertical}.filament-import-row{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:9px!important}.filament-import-row input{width:auto!important}.filament-import-row small{display:block}.filament-profile-dialog #filament-import-list{max-height:45vh;overflow:auto}

.layer-profile-editor{font-size:10px;line-height:1.6}.layer-profile-editor label{display:flex;flex-direction:column;gap:4px}.layer-profile-editor label.studio-check{flex-direction:row;align-items:center}.layer-profile-editor .studio-check input{width:auto}.layer-profile-editor input,.layer-profile-editor select{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:5px}.layer-profile-editor .layer-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.layer-profile-editor button{font-size:10px;padding:6px}.layer-legend{display:flex;justify-content:space-between}.layer-nozzle-limits{overflow-wrap:anywhere}.layer-profile-editor #layer-curve{width:100%;max-height:310px;touch-action:none}.layer-profile-editor #layer-brush-strip{stroke:#536975;cursor:crosshair}.layer-profile-editor #layer-feedback{color:#8c4030}.layer-profile-editor #layer-curve text{font-size:8px}.layer-profile-editor .object-layer-table{max-height:260px;overflow:auto}

.fdm-settings-dialog{position:fixed;left:50%;top:50%;margin:0;transform:translate(-50%,-50%);width:min(1100px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #b8c8c0;border-radius:12px;box-sizing:border-box;color:#294136;background:#fff;overflow:hidden;font-size:12px}.fdm-settings-dialog::backdrop{background:#10272366}.fdm-settings-dialog>header{padding:16px 22px;border-bottom:1px solid #dce6de}.fdm-settings-dialog h2{margin:0}.fdm-settings-dialog p{line-height:1.6}.fdm-settings-controls{display:flex;align-items:flex-end;gap:12px;padding:12px 20px;border-bottom:1px solid #dce6de;flex-wrap:wrap}.fdm-settings-controls label{display:grid;gap:5px}.fdm-settings-controls .fdm-settings-check{display:flex;align-items:center}.fdm-settings-search{flex:1;min-width:160px}.fdm-settings-dialog input,.fdm-settings-dialog select,.fdm-settings-dialog textarea{min-width:0;box-sizing:border-box;padding:7px;border:1px solid #bdcdc3;border-radius:5px;font:inherit}.fdm-settings-dialog button{padding:7px 10px;font:inherit;border:1px solid #cbd8d0;border-radius:5px;background:#f7faf7;color:#294136;cursor:pointer}.fdm-settings-dialog button.active{background:#dfefd9;border-color:#8cb879}.fdm-settings-dialog button.primary{background:#a3ef75}.fdm-settings-dialog button:disabled{opacity:.5;cursor:default}.fdm-settings-scopes{display:flex;gap:4px}.fdm-settings-body{display:grid;grid-template-columns:160px minmax(0,1fr);height:min(60dvh,680px);min-height:160px}.fdm-settings-categories{display:flex;flex-direction:column;gap:5px;padding:14px;overflow:auto;border-right:1px solid #dce6de}.fdm-settings-categories button{text-align:left}.fdm-settings-fields{padding:10px 22px;overflow:auto;min-width:0}.fdm-setting{padding:16px 0;border-bottom:1px solid #e0e7e1}.fdm-setting-heading{display:flex;align-items:center;gap:10px;margin-bottom:8px}.fdm-setting-heading b{flex:1}.fdm-setting-heading>span{color:#718375}.fdm-setting.overridden .fdm-setting-heading b:before{content:'\2022 ';color:#589c37}.fdm-setting-entries{display:grid;gap:8px}.fdm-setting-entries>label{display:grid;grid-template-columns:minmax(100px,1fr) minmax(100px,1fr);align-items:center;gap:15px}.fdm-setting input:not([type=checkbox]),.fdm-setting select,.fdm-setting textarea{width:100%}.fdm-setting textarea{resize:vertical;min-height:80px;font:11px Consolas,monospace}.fdm-setting-nullable{display:grid;gap:6px}.fdm-setting-nullable>label{display:flex;align-items:center;gap:5px}.fdm-setting-help{margin-top:9px;color:#718375}.fdm-setting-help summary{cursor:pointer}.fdm-setting-help code{overflow-wrap:anywhere}.fdm-setting-inherited{color:#5d8269}.fdm-settings-dialog>footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 20px;border-top:1px solid #dce6de}.fdm-settings-dialog>footer p{flex:1;margin:0;color:#91432d;overflow-wrap:anywhere}.fdm-settings-dialog>footer span{font-size:11px;white-space:nowrap}
@media(max-width:650px){.fdm-settings-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.fdm-settings-body{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:56dvh}.fdm-settings-categories{flex-direction:row;padding:8px;border-right:none;border-bottom:1px solid #dce6de}.fdm-settings-categories button{flex:none;white-space:nowrap}.fdm-settings-fields{padding:8px 12px}.fdm-setting-entries>label{grid-template-columns:minmax(0,1fr);gap:5px}.fdm-settings-controls{padding:10px;gap:8px}.fdm-settings-dialog>footer{padding:10px;flex-wrap:wrap}.fdm-settings-dialog>footer p{flex-basis:100%}.fdm-settings-dialog>header{padding:12px}.fdm-settings-search{min-width:100px}}

.fdm-settings-dialog[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;height:min(900px,calc(100dvh - 32px))}.fdm-settings-dialog .fdm-settings-body{height:auto;min-height:0}@media(max-width:650px){.fdm-settings-dialog[open]{height:calc(100dvh - 16px)}}

body[data-view=slicer] .fdm-settings-dialog>footer{display:flex}
#studio-toolpath{padding:12px 16px;border-top:1px solid #40504a;max-height:340px;overflow:auto;background:#1a2428;font-size:12px}
#studio-toolpath[hidden]{display:none}.toolpath-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:8px}.toolpath-controls label{display:flex;align-items:center;gap:6px}.toolpath-controls input[type=range]{width:130px}.toolpath-controls select{max-width:200px}#toolpath-legend{padding:5px 0;margin-bottom:10px}#toolpath-legend.numeric{border-bottom:6px solid transparent;border-image:linear-gradient(90deg,#295cd9,#33d9a6,#f55230) 1}.toolpath-move{display:flex;align-items:center;gap:8px}.toolpath-move input{flex:1;min-width:80px}.toolpath-filters{display:flex;flex-wrap:wrap;gap:8px 16px;padding:10px 0}.toolpath-filters label{display:flex;gap:5px;align-items:center}.toolpath-filters i{width:10px;height:10px;border-radius:2px}#studio-toolpath pre,#toolpath-native-stats{white-space:pre-wrap;overflow-wrap:anywhere}#studio-toolpath table{width:100%;border-collapse:collapse}#studio-toolpath th,#studio-toolpath td{padding:5px;text-align:left;border-bottom:1px solid #33433c}#studio-toolpath details{margin:10px 0}#studio-toolpath p{line-height:1.5}

#studio-toolpath{color:#c4d1c9}#studio-toolpath select{font-size:12px}#studio-toolpath input[type=range]{accent-color:#8dcc69}

#studio-layer-events{margin:18px 0}#studio-layer-events button{width:100%;font-size:11px}#studio-layer-events small{display:block;color:#718078;font-size:10px;margin-top:6px}.layer-event-dialog{width:min(950px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #cdd8cd;border-radius:12px;padding:20px;color:#243438}.layer-event-dialog::backdrop{background:#07130dbb}.layer-event-dialog header{display:flex;justify-content:space-between;gap:15px}.layer-event-dialog h2{margin:0 0 8px}.layer-event-dialog p{font-size:12px;line-height:1.5}.layer-event-dialog header>button{align-self:flex-start}.layer-event-body{display:grid;grid-template-columns:minmax(210px,.85fr) minmax(240px,1.15fr);gap:20px;margin:14px 0}.layer-event-actions{display:flex;gap:5px;flex-wrap:wrap}.layer-event-actions button{font-size:11px;padding:8px}.layer-event-dialog label{display:flex;flex-direction:column;gap:6px;font-size:12px;margin:12px 0}.layer-event-dialog input,.layer-event-dialog select,.layer-event-dialog textarea{font-size:12px;max-width:100%}.layer-event-dialog textarea{width:100%;font-family:monospace;resize:vertical}.layer-event-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#eef3ed;padding:10px;font-size:11px}.layer-event-row{display:flex;gap:12px}.layer-event-row label{flex:1;min-width:0}#layer-event-list{max-height:440px;overflow:auto;margin-top:12px}#layer-event-list>div{display:flex;gap:8px;align-items:center;margin:5px 0}#layer-event-list button{flex:1;text-align:left;font-size:12px;padding:10px}#layer-event-list button[aria-pressed=true]{background:#e6f2dd;border-color:#8daf78}#layer-event-list small{display:block;margin-top:5px;font-size:10px}#layer-event-feedback{color:#8b423c;min-height:18px}body[data-view=slicer] .layer-event-dialog footer{display:flex;align-items:center;gap:8px;position:sticky;bottom:-20px;background:white;padding:14px 0;margin-top:12px;border-top:1px solid #e0e6dc}.layer-event-dialog footer span{margin-right:auto;font-size:11px}@media(max-width:650px){.layer-event-dialog{padding:12px}.layer-event-body{grid-template-columns:1fr}#layer-event-list{max-height:180px}body[data-view=slicer] .layer-event-dialog footer{bottom:-12px;flex-wrap:wrap}.layer-event-dialog footer span{width:100%}}

.layer-event-dialog header{height:auto;min-height:80px;padding:0 0 14px;align-items:flex-start}.layer-event-dialog footer{letter-spacing:0;max-width:none}#layer-event-color{width:64px;height:36px;padding:3px}
.spectrum-dialog{background:#1a252b;color:#e3ebe6;border:1px solid #43584d;border-radius:12px;width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:24px;overflow:auto}.spectrum-dialog::backdrop{background:#0009}.spectrum-dialog h2{margin:0 0 12px}.spectrum-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.spectrum-fields label{display:flex;flex-direction:column;gap:6px}.spectrum-fields input,.spectrum-fields select{max-width:100%;padding:8px}.spectrum-fields input[type=checkbox]{align-self:start}.spectrum-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.spectrum-error{color:#ff9c9c}.spectrum-dialog p{line-height:1.5}#studio-spectrum{padding:16px 0;border-top:1px solid #354239}#studio-spectrum .studio-row{display:flex;flex-wrap:wrap;margin-bottom:8px;gap:6px}#studio-spectrum p{font-size:12px;line-height:1.5}@media(max-width:520px){.spectrum-fields{grid-template-columns:1fr}}

.spectrum-fields label{color:#d7e4dd}.spectrum-fields label:has(input[type=checkbox]){flex-direction:row;align-items:center;gap:8px}.spectrum-fields input[type=checkbox]{align-self:auto}
