/*! PlyForge — Copyright (c) 2026 Kim Vandriessche. All rights reserved. Unauthorized copying, modification or distribution of this code, in whole or in part, is prohibited. */
:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font:14px/1.4 system-ui,Segoe UI,Roboto,sans-serif}html,body,#root{width:100%;height:100%;margin:0}body{color:#e6e6ea;background:#1e1f24}*{box-sizing:border-box}button{font:inherit;cursor:pointer}input,select{font:inherit}.app-root{flex-direction:column;width:100vw;height:100vh;display:flex}.toolbar{background:#26272e;border-bottom:1px solid #3a3b42;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:6px 8px;padding:6px 12px;display:flex}.app-title{color:#9fc2ff;margin-right:12px;font-weight:600;text-decoration:none}.project-name{color:#e6e6ea;text-overflow:ellipsis;background:0 0;border:1px solid #0000;border-radius:4px;flex-shrink:1;width:180px;min-width:80px;margin-right:4px;padding:4px 6px}.project-name:hover{border-color:#3a3b42}.project-name:focus{background:#1e1f24;border-color:#4a7bd0;outline:none}.project-name::placeholder{color:#8a8b94;font-style:italic}.server-status{color:#ffb86b;cursor:help;background:#3a2a1c;border:1px solid #6b4a2a;border-radius:4px;padding:3px 8px;font-size:12px}.language-select{color:#e6e6ea;background:#33343c;border:1px solid #45464f;border-radius:6px;width:auto;padding:5px 4px}.toolbar-group{border:1px solid #3a3b42;border-radius:6px;display:flex;overflow:hidden}.toolbar-group button{border:none;border-radius:0}.toolbar-group button+button{border-left:1px solid #2a2b31}.toolbar button,.language-select{height:32px}.toolbar button{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.toolbar .toolbar-group button{height:30px}.toolbar-end{align-items:center;gap:8px;margin-left:auto;display:flex}@media (width<=1240px){.toolbar-label{display:none}.toolbar button:has(>.toolbar-label){padding:0 8px}.project-name{width:130px}}.toolbar-divider{background:#3a3b42;width:1px;height:22px;margin:0 2px}.icon{flex-shrink:0;width:16px;height:16px}button.icon-only{padding:0 8px}.toolbar-spacer{flex:1}button{color:#e6e6ea;background:#33343c;border:1px solid #45464f;border-radius:6px;padding:6px 12px}button:hover{background:#3d3e47}button.active,button.primary{background:#3a7bd5;border-color:#3a7bd5}button.primary:hover{background:#4a8ae0}button:disabled{opacity:.5;cursor:not-allowed}.icon-button{color:#ff8c8c;padding:2px 8px}.toolbar-note{color:#9fc2ff;white-space:nowrap;font-size:12px}.material-notice{color:#c4c8d0;background:#5aa0ff14;border:1px solid #5aa0ff4d;border-radius:6px;margin:4px 0 8px;padding:8px 10px;font-size:12px}.material-notice p{margin:0 0 8px}.material-notice-actions{gap:6px;display:flex}.icon-button.neutral{color:#c4c8d0}.app-body{flex:1;min-height:0;display:flex}.sidebar{background:#232429;flex-direction:column;flex-shrink:0;gap:12px;width:300px;padding:8px;display:flex;overflow-y:auto}.left-sidebar{border-right:1px solid #34353d}.right-sidebar{border-left:1px solid #34353d}.sidebar-resizer{z-index:5;cursor:col-resize;touch-action:none;background:0 0;flex-shrink:0;width:7px;margin:0 -4px 0 -3px;transition:background .15s;position:relative}.sidebar-resizer:hover,.sidebar-resizer:focus-visible,.sidebar-resizer.dragging{background:#5aa0ff80;outline:none}.app-root:has(.sidebar-resizer.dragging){cursor:col-resize;-webkit-user-select:none;user-select:none}.viewport-area{flex:1;min-width:0;position:relative}.flat-preview-scroll{height:100%;padding:12px;overflow-y:auto}.panel-section{background:#26272e;border:1px solid #34353d;border-radius:8px;padding:10px}.panel-section h3{text-transform:uppercase;letter-spacing:.5px;color:#9aa0ab;margin:0 0 8px;font-size:13px}.panel-section-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.panel-section-header h3{margin:0}.material-list,.panel-list{flex-direction:column;gap:6px;display:flex}.material-row{background:#1e1f24;border:1px solid #34353d;border-radius:6px;flex-wrap:wrap;align-items:center;gap:6px;padding:6px;display:flex}.material-name{flex-basis:100%;order:-1}.material-row input[type=color]{background:0 0;border:none;width:24px;height:24px;padding:0}.material-name{min-width:0;color:inherit;background:0 0;border:none;flex:1}.inline-field{color:#9aa0ab;white-space:nowrap;align-items:center;gap:4px;font-size:12px;display:flex}.inline-field input{width:52px;color:inherit;background:#26272e;border:1px solid #3a3b42;border-radius:4px;padding:2px 4px}.panel-row{cursor:pointer;border:1px solid #0000;border-radius:6px;align-items:center;gap:6px;padding:6px 8px;display:flex}.panel-row:hover{background:#2c2d34}.panel-row.selected{background:#2a3f5c;border-color:#3a7bd5}.swatch{border-radius:3px;flex-shrink:0;width:12px;height:12px}.panel-row-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.panel-row-meta{color:#9aa0ab;font-size:11px}.panel-section-actions{gap:6px;display:flex}.panel-section-actions button{padding:4px 8px}.panel-row.is-hidden>:not(.eye-button),.panel-group-header.is-hidden>:not(.eye-button){opacity:.45}.eye-button{align-items:center;padding:2px 6px;display:flex}.panel-row .eye-button .icon,.panel-group-header .eye-button .icon{width:14px;height:14px}.panel-group,.panel-ungrouped{border:1px dashed #0000;border-radius:6px;flex-direction:column;gap:6px;display:flex}.panel-ungrouped.drop-zone{border-color:#45464f;padding:2px}.panel-group.drop-target,.panel-ungrouped.drop-target{background:#3a7bd514;border-color:#3a7bd5}.panel-group-header{cursor:pointer;-webkit-user-select:none;user-select:none;background:#1e1f24;border-radius:6px;align-items:center;gap:6px;padding:4px 8px;display:flex}.panel-group-header:hover{background:#2c2d34}.panel-group-header.active{box-shadow:inset 2px 0 #3a7bd5}.panel-group-header .active-button[aria-pressed=true]{color:#6ea6f0}.panel-group-chevron{color:#9aa0ab;transition:transform .12s;display:flex}.panel-group-chevron.open{transform:rotate(90deg)}.panel-group-chevron .icon{width:12px;height:12px}.panel-group-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:600;overflow:hidden}.panel-group-name-input{min-width:0;color:inherit;font:inherit;background:#26272e;border:1px solid #3a7bd5;border-radius:4px;flex:1;padding:1px 4px;font-weight:600}.panel-group-members{border-left:1px solid #34353d;flex-direction:column;gap:6px;margin-left:7px;padding-left:4px;display:flex}.panel-group-empty{margin:2px 8px}.panel-row[draggable=true]{cursor:grab}.panel-row .icon-button,.panel-group-header .icon-button{padding:2px 5px}.empty-hint{color:#7c8290;font-size:12px}.error-boundary{flex-direction:column;align-items:flex-start;gap:8px;max-width:560px;padding:24px;display:flex}.sidebar .error-boundary{padding:8px}.error-boundary pre{color:#e0868b;white-space:pre-wrap;margin:0;font-size:12px}.field{color:#9aa0ab;flex-direction:column;flex:90px;gap:3px;min-width:90px;margin-bottom:8px;font-size:12px;display:flex}.field input,.field select{color:#e6e6ea;background:#1e1f24;border:1px solid #3a3b42;border-radius:4px;padding:5px 6px}.field-row{flex-wrap:wrap;gap:8px;display:flex}.field-row>.icon-button{align-self:flex-end;margin-bottom:8px}.sheet-presets{margin-bottom:8px}.field-xyz{flex:1 1 0;min-width:0}.field-xyz input{text-align:center;padding:5px 4px}.axis-label{font-weight:600}.axis-label-x{color:#ff5c5c}.axis-label-y{color:#5cd65c}.axis-label-z{color:#5c9cff}.subheading{text-transform:uppercase;letter-spacing:.5px;color:#7c8290;margin:10px 0 4px;font-size:11px}.modal-backdrop{z-index:50;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:#26272e;border:1px solid #3a3b42;border-radius:10px;width:480px;max-width:calc(100vw - 40px);max-height:calc(100vh - 40px);padding:20px;overflow-y:auto}.modal h3{margin-top:0}.modal-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.export-sheet-list{flex-direction:column;gap:6px;max-height:240px;display:flex;overflow-y:auto}.export-sheet-row{background:#1e1f24;border:1px solid #34353d;border-radius:6px;justify-content:space-between;align-items:center;padding:6px 10px;font-size:13px;display:flex}.export-sheet-actions{gap:6px;display:flex}.export-panel-select{flex:1;min-width:0;margin-right:10px}.flat-preview{flex-direction:column;gap:16px;display:flex}.sheet-card{background:#232429;border:1px solid #34353d;border-radius:8px;padding:10px}.sheet-card-title{color:#9aa0ab;margin-bottom:6px;font-size:12px}button.danger{color:#ff8c8c}.sketch-button{width:100%;margin-bottom:10px}.checkbox-field{color:#c4c8d0;flex:1;align-items:center;gap:6px;font-size:12px;display:flex}.sketch-editor{-webkit-user-select:none;user-select:none;background:#1b1c21;position:absolute;inset:0;overflow:hidden}.sketch-canvas{touch-action:none;width:100%;height:100%;position:absolute;inset:0}.sk-world *{vector-effect:non-scaling-stroke;fill:none}.sk-grid-minor{stroke:#26272e;stroke-width:1px}.sk-grid-major{stroke:#30313a;stroke-width:1px}.sk-axis-x{stroke:#ff5c5c73;stroke-width:1px}.sk-axis-y{stroke:#5cd65c73;stroke-width:1px}.sk-world .sk-outline{fill-opacity:.22;stroke:#d9b48a;stroke-width:1.5px}.sk-nominal{stroke:#6b6f7a;stroke-width:1px;stroke-dasharray:2 4}.sk-world .sk-profile{stroke:none;pointer-events:none}.sk-world .sk-profile-cut{fill:#ff5a5a29}.sk-world .sk-profile-add{fill:#5ad6782e}.sk-world .sk-profile-shape{fill:#5aa0ff24}.sk-world .sk-profile.selected{stroke:#ffd24a;stroke-width:2px;stroke-dasharray:6 4}.sk-entity{stroke:#e8ecf4;stroke-width:1.6px}.sk-entity.construction{stroke:#d99a4a;stroke-width:1px;stroke-dasharray:8 4 2 4}.sk-entity.open{stroke:#ff9f40}.sk-entity.hover{stroke:#9fc2ff;stroke-width:2.4px}.sk-entity.selected{stroke:#4a9dff;stroke-width:2.6px}.sk-world .sk-vertex{fill:#e8ecf4}.sk-world .sk-vertex.open{fill:#ff9f40}.sk-preview{stroke:#4a9dff;stroke-width:1.6px;stroke-dasharray:6 3}.sk-preview.construction{stroke:#d99a4a}.sk-trim-preview{stroke:#ff5a5a;stroke-width:3px;stroke-dasharray:5 3}.sk-world .sk-corner{stroke:#ffd24a;stroke-width:1.5px}.sk-world .sk-corner.invalid{stroke:#ff5a5a}.sk-guide{stroke:#7c8290;stroke-width:1px;stroke-dasharray:3 3}.sk-world .sk-draft-point{fill:#4a9dff}.sk-world .sk-box{fill:#4a9dff14;stroke:#4a9dff;stroke-width:1px;stroke-dasharray:4 3}.sk-snap{fill:none;stroke:#ffd24a;stroke-width:1.8px;pointer-events:none}.sk-snap-dot{fill:#ffd24a;pointer-events:none}.sk-angle-guide{stroke:#ffd24a80;stroke-width:1px;stroke-dasharray:4 4;pointer-events:none}.sketch-toolbar{pointer-events:none;flex-wrap:wrap;align-items:center;gap:6px;display:flex;position:absolute;top:8px;left:8px;right:8px}.sketch-toolbar>*{pointer-events:auto}.sketch-toolbar .toolbar-spacer{pointer-events:none}.sketch-toolbar button{white-space:nowrap;align-items:center;gap:6px;height:32px;padding:0 10px;font-size:13px;display:inline-flex}.sketch-toolbar .toolbar-group button{height:30px}.sketch-toolbar button.icon-only{padding:0 8px}.sketch-toolbar .toolbar-group{background:#33343c;flex-wrap:wrap}.construction-toggle.active{background:#a8702e;border-color:#a8702e}.sk-dims{pointer-events:none;flex-direction:column;gap:3px;display:flex;position:absolute}.sk-dim{white-space:nowrap;background:#26272eeb;border:1px solid #45464f;border-radius:4px;align-items:baseline;gap:6px;padding:2px 7px;font-size:12px;display:flex}.sk-dim.active{border-color:#4a9dff}.sk-dim-label{color:#9aa0ab;min-width:52px}.sk-dim-value{color:#9aa0ab;text-align:right;font-variant-numeric:tabular-nums;min-width:48px}.sk-dim.locked .sk-dim-value{color:#fff;font-weight:600}.sk-dim.invalid .sk-dim-value{color:#ff8c8c}.sk-dim-unit{color:#7c8290}.sketch-status{color:#c4c8d0;pointer-events:none;background:#232429eb;border-top:1px solid #34353d;align-items:center;gap:14px;padding:5px 12px;font-size:12px;display:flex;position:absolute;bottom:0;left:0;right:0}.sketch-status-hint,.sketch-status-keys{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.sketch-status-keys{color:#7c8290;flex-shrink:2}.sketch-status-snap,.sketch-status-coords{white-space:nowrap}.sketch-status-notice{color:#ff8c8c;white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.sketch-status-snap{color:#ffd24a}.sketch-status-coords{font-variant-numeric:tabular-nums;text-align:right}.measure-status-value{color:#fff;white-space:nowrap;font-weight:600}.measure-status-delta{color:#9aa0ab;font-variant-numeric:tabular-nums;white-space:nowrap}.measure-dot{background:#4a9dff;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 2px #00000080}.measure-dot.faint{box-sizing:border-box;background:#4a9dff40;border:2px solid #4a9dff;width:14px;height:14px}.measure-label{color:#fff;white-space:nowrap;font-variant-numeric:tabular-nums;background:#232429eb;border:1px solid #4a9dff;border-radius:4px;padding:2px 7px;font-size:12px;font-weight:600}.sketch-warning{color:#ffb870;background:#ff9f4014;border:1px solid #ff9f404d;border-radius:6px;padding:6px 8px;font-size:12px}.skadis-issue{margin:6px 0}.skadis-issue button{margin-top:6px;display:block}.skadis-fixes{gap:6px;display:flex}.skadis-fixes button{flex:1}.skadis-fix-hint{color:#c9a27a;margin-top:6px;display:block}.anchor-grid{background:#1e1f24;border:1px solid #3a3b42;border-radius:4px;grid-template-columns:repeat(3,12px);align-self:flex-start;gap:4px;padding:5px;display:grid}.anchor-grid button{background:0 0;border:1px solid #5a5b63;border-radius:2px;width:12px;min-width:0;height:12px;padding:0}.anchor-grid button.active{background:#3a7bd5;border-color:#3a7bd5}.rect-position .field:not(:first-child){flex:1 1 0;min-width:0}.mode-buttons{grid-template-columns:1fr 1fr;gap:6px;display:grid}.mode-buttons button.active.mode-cut{background:#b04545;border-color:#b04545}.mode-buttons button.active.mode-add{background:#3f9a5a;border-color:#3f9a5a}.mode-buttons button.active.mode-none{background:#555862;border-color:#555862}.sketch-help{color:#9aa0ab;margin-top:10px;font-size:12px}.sketch-help summary{cursor:pointer;color:#c4c8d0}.sketch-help ul{flex-direction:column;gap:4px;margin:6px 0 0;padding-left:16px;display:flex}.sketch-help code{background:#1e1f24;border-radius:3px;padding:0 3px}
