*{box-sizing:border-box}html{scrollbar-gutter:stable}@supports not (scrollbar-gutter: stable){html{overflow-y:scroll}}body{margin:0;background:#f7f6f2;color:#292e2b;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible{outline:3px solid #368474;outline-offset:4px}.shapes-app{max-width:1600px;padding:38px 40px 20px;margin:auto}.shapes-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.brand{font-size:10px;font-weight:750;letter-spacing:2px;color:#547265}.brand span{color:#bbbfb6;margin:0 10px}.brand a{color:inherit;text-decoration:none}.brand a:hover{text-decoration:underline}h1{font-size:clamp(24px,3vw,34px);font-weight:550;letter-spacing:-1px;margin:10px 0 7px}.shapes-header p{margin:0;color:#747971;font-size:14px}.preview-tag{display:inline-block;vertical-align:middle;letter-spacing:.3px;font-size:10px;border:1px solid #d5d9ce;border-radius:5px;color:#6e7c65;padding:4px 7px;margin-left:14px}.reset-button,.camera-reset{border:1px solid #d7d9d0;border-radius:7px;background:#fffefa;color:#414b40;font-size:12px;padding:11px 16px}.reset-button{white-space:nowrap}.studio-layout{display:grid;grid-template-columns:minmax(0,1fr) 284px;gap:20px;align-items:stretch}.viewport-panel{position:sticky;top:16px;align-self:start;height:clamp(640px,calc(100dvh - 220px),900px);border:1px solid #d7d7cd;border-radius:12px;overflow:hidden;min-height:640px;background:#e8e5df}.viewport{position:absolute;top:0;right:0;bottom:48px;left:0}.viewport canvas{display:block;touch-action:none;width:100%;height:100%}.viewport-caption{position:absolute;bottom:0;left:0;right:0;min-height:48px;padding:12px 60px 12px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f0eee8;color:#74776d;font-size:11px}.viewport-caption span:first-child{color:#485346}.viewport-bottom-controls{position:absolute;bottom:7px;right:10px;pointer-events:none}.fullscreen-button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #d4d8c9;border-radius:5px;background:#fafaf5;color:#59664d;opacity:0;pointer-events:none;transition:opacity .15s ease}.viewport-panel[data-bottom-hover=true] .fullscreen-button,.fullscreen-button:focus-visible{opacity:1;pointer-events:auto}.fullscreen-button:hover{background:#e0e7d3}.viewport-panel:fullscreen,.viewport-panel.is-expanded{position:fixed;right:0;bottom:0;left:0;top:0;width:100vw;height:100dvh;min-height:0;max-height:none;margin:0;border:0;border-radius:0;z-index:1000}@media (hover: none){.fullscreen-button{opacity:1;pointer-events:auto}}.controls-panel{position:relative;border:1px solid #dedfd6;border-radius:12px;padding:20px;background:#fffefa}.controls-panel section+section{border-top:1px solid #e8e8df;padding-top:20px;margin-top:20px}h2{font-size:13px;margin:0;font-weight:650}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading>span{font-size:11px;color:#7a8174}.control-hint{color:#83877b;font-size:11px;line-height:1.8;margin:7px 0 14px}.add-shapes{display:grid;gap:7px}.add-shapes button{border:1px solid #e2e3da;background:#fafaf5;border-radius:6px;display:flex;align-items:center;gap:10px;padding:10px 12px;font-size:12px;color:#4d5749}.add-shapes button:hover:not(:disabled),.camera-reset:hover,.reset-button:hover{background:#eeeee5}.plus{margin-left:auto;color:#7b8574}.shape-icon{width:14px;height:14px;background:#c6c8b9;border:1px solid #90977f;display:inline-block}.shape-icon.cube{transform:rotate(-10deg);border-radius:2px}.shape-icon.sphere{border-radius:50%;background:radial-gradient(circle at 30% 25%,#e7e9df,#9aA18b)}.shape-icon.cylinder{border-radius:45%/20%}.object-list{margin:13px 0;display:flex;flex-wrap:wrap;gap:5px}.object-chip{display:flex;align-items:stretch;border:1px solid #dedfd4;border-radius:5px;overflow:hidden}.object-chip[data-selected=true]{background:#ecedde;border-color:#a2ad8c}.object-chip button{border:0;background:transparent;padding:7px;font-size:10px;color:#6b7363}.object-chip .remove-shape{padding:3px 8px;border-left:1px solid #dedfd4;font-size:16px;line-height:1}.object-chip .remove-shape:hover{background:#f0dfd5;color:#8c4430}.object-chip button:hover{background:#e9ecdf}.shape-settings{margin:0;padding:0;border:0;min-width:0}.shape-settings:disabled{opacity:.45}.selection-hint{font-size:10px;line-height:14px;color:#6f7866;margin:0;height:14px}.selection-hint[data-active=false]{visibility:hidden}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.slider-label{display:block;margin-top:15px;color:#6f7866;font-size:11px}.slider-label>label{display:flex;justify-content:space-between}.slider-label output{color:#8a907e;font-variant-numeric:tabular-nums}.number-field{display:block;width:86px;margin:5px 0 0 auto;border:1px solid #d7d9ce;border-radius:4px;padding:5px 7px;background:#fffefa;color:#4d5749;font-size:11px;font-variant-numeric:tabular-nums}.rotation-heading{margin:18px 0 0;padding-top:14px;border-top:1px solid #e2e3da;font-size:11px;font-weight:600}.reset-shape{margin-top:12px;padding:9px;width:100%;background:#f0f1e6;color:#536245;border:1px solid #d6dcc7;border-radius:5px;font-size:11px}.reset-shape:hover:not(:disabled){background:#e4e8d8}.color-presets{border:0;padding:0;margin:16px 0 0;min-width:0}.color-presets legend{padding:0;margin-bottom:8px;font-size:11px;color:#6f7866}.color-presets:disabled{opacity:.45}.softness-settings{margin:0;padding:0;border:0;min-width:0}.softness-settings:disabled{opacity:.4}.color-options{display:flex;gap:12px;padding:4px}.color-options button{width:28px;height:28px;padding:0;border:0;border-radius:50%;box-shadow:0 2px 5px #0003}.color-options button[aria-pressed=true]{outline:2px solid #8c9c76;outline-offset:3px}.color-options button:hover:not(:disabled){box-shadow:0 3px 7px #0005}.color-options button:focus-visible{outline:3px solid #368474;outline-offset:4px}@media (pointer: coarse){.color-options button{width:36px;height:36px}}.more-settings{margin-top:16px;padding:11px 12px;border:1px solid #e2e3da;border-radius:6px;background:#fafaf5}.more-settings summary{cursor:pointer;color:#6f7866;font-size:11px}.more-settings summary:focus-visible{outline:3px solid #368474;outline-offset:4px}.more-settings[open]{padding-bottom:14px}input[type=range]{display:block;width:100%;margin:10px 0 0;accent-color:#72845c;height:14px;cursor:pointer}.text-button{border:0;background:none;padding:10px 0 0;color:#8c7665;font-size:10px}.camera-reset{width:100%;padding:9px;font-size:11px}.shapes-footer{text-align:center;padding:18px 0 0;color:#8e9385;font-size:11px}.viewer-error{position:absolute;z-index:1;inset:20px 20px auto;padding:20px;border-radius:8px;background:#fffefa;line-height:1.6}.model-loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:14px 20px;border-radius:8px;background:#fffefae8;color:#59664d;font-size:13px}.model-credits p{font-size:11px;line-height:1.7;color:#7b8174;margin:9px 0 0}.model-credits a{color:#526a53}.camera-helper{margin:0 0 14px;color:#68715f;font-size:10px}.mouse-guide{display:flex;gap:9px;align-items:center;margin-top:12px}.mouse-guide strong{display:block;font-size:10px;color:#45513e;font-weight:600;margin-bottom:3px}.mouse-icon{flex-shrink:0;width:18px;height:26px;color:#72845c}.mouse-highlight{fill:#a7b78d}.camera-helper p{margin:12px 0 0;line-height:1.7}.touch-help{display:none}.view-widget{position:absolute;top:16px;right:16px;width:136px;padding:8px;border:1px solid #d8dbcf;background:#fafaf5e8;border-radius:8px;text-align:center}.view-widget button{border:1px solid #d4d8c9;color:#59664d;background:#f8f9f2;border-radius:4px}.view-widget button:hover,.view-widget button[aria-pressed=true]{background:#e0e7d3;border-color:#9daa8a}.view-home{display:block;width:100%;font-size:11px;padding:5px}.cube-stage{height:106px;display:grid;place-items:center;perspective:400px}.orientation-cube{position:relative;width:52px;height:52px;transform-style:preserve-3d}.view-widget .cube-face{position:absolute;top:0;right:0;bottom:0;left:0;width:52px;height:52px;backface-visibility:hidden;border-radius:1px;font-size:9px;text-transform:uppercase;background:#ecedde;border:1px solid #a2ad8c}.cube-face.face-front{transform:translateZ(26px)}.cube-face.face-back{transform:rotateY(180deg) translateZ(26px)}.cube-face.face-left{transform:rotateY(-90deg) translateZ(26px)}.cube-face.face-right{transform:rotateY(90deg) translateZ(26px)}.cube-face.face-top{transform:rotateX(90deg) translateZ(26px)}.view-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.view-shortcuts button{padding:6px 2px;font-size:9px;text-transform:capitalize}.view-status{display:block;font-size:9px;color:#7d8671;text-transform:capitalize;margin-top:8px}@media (pointer: coarse){.touch-help{display:block}.object-chip .remove-shape{min-width:30px;min-height:30px}}@media (max-width: 800px){.shapes-app{padding:22px 16px}.studio-layout{grid-template-columns:1fr}.viewport-panel{position:relative;top:auto;height:480px;min-height:480px}.controls-panel{display:grid;grid-template-columns:1fr 1fr;gap:20px}.controls-panel section+section{margin-top:0;padding-top:0;border-top:0}.controls-panel section:last-child{grid-column:1 / -1;border-top:1px solid #e8e8df;padding-top:16px}.controls-panel .camera-section,.controls-panel .model-credits{grid-column:1 / -1}}@media (max-width: 480px){.shapes-header{align-items:flex-start;flex-direction:column;gap:14px}.viewport-panel{height:400px;min-height:400px}.viewport-caption{flex-direction:column;align-items:flex-start;gap:3px;padding:8px 55px 8px 12px;font-size:10px}.controls-panel{grid-template-columns:1fr}.controls-panel section+section{border-top:1px solid #e8e8df;padding-top:18px}.view-widget{top:10px;right:10px;width:118px;padding:6px}.cube-stage{height:95px}}.model-picker{display:grid;gap:8px;margin:16px 0;font-size:12px}.model-picker select{width:100%;padding:10px 12px;font:inherit;color:inherit;background:#fafaf5;border:1px solid #d9ddcf;border-radius:6px}.model-picker select:focus-visible{outline:2px solid #81965f;outline-offset:2px}.viewport-column{min-width:0;display:flex;flex-direction:column;gap:10px}.camera-section{display:flex;align-items:center;gap:16px;padding:0 8px}.camera-helper{display:flex;flex:1;align-items:center;gap:20px;margin:0}.mouse-guide{margin:0}.camera-section .camera-reset{width:auto;white-space:nowrap}.camera-tips,.model-credits{position:relative;font-size:10px;color:#68715f}.camera-tips summary,.model-credits summary{cursor:pointer}.camera-tips>div,.model-credits>div{position:absolute;bottom:calc(100% + 12px);left:0;width:280px;max-width:80vw;padding:14px;border:1px solid #dedfd6;border-radius:8px;background:#fffefa;box-shadow:0 5px 20px #0002;z-index:5}.camera-tips p:first-child,.model-credits p:first-child{margin-top:0}.model-credits{padding:0 8px}.palette-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media (min-width: 801px){.shapes-app{height:100dvh;display:flex;flex-direction:column;padding:12px 24px 8px}.shapes-header{flex-shrink:0;margin-bottom:10px}h1{font-size:26px;margin:6px 0 0}.studio-layout{flex:1;min-height:0;gap:16px;grid-template-columns:minmax(0,1fr) 300px}.viewport-column{min-height:0}.viewport-panel{position:relative;top:auto;flex:1;width:100%;height:auto;min-height:0;align-self:stretch}.controls-panel{min-height:0;overflow-y:auto;scrollbar-width:thin;padding:12px}.controls-panel section+section{padding-top:10px;margin-top:10px}.control-hint{line-height:1.5;margin:6px 0 10px}.add-shapes{grid-template-columns:repeat(3,1fr);gap:5px}.add-shapes button{padding:8px 6px;gap:5px;font-size:11px}.shape-icon{width:12px;height:12px;flex-shrink:0}.object-list{margin:8px 0 4px}.slider-label{margin-top:6px;line-height:14px}input[type=range]{margin-top:4px;height:12px}.slider-label:has(.number-field){position:relative}.slider-label:has(.number-field) input[type=range]{width:calc(100% - 72px)}.number-field{position:absolute;right:0;bottom:-4px;width:60px;padding:4px 6px;margin:0}.reset-shape{margin-top:10px;padding:7px}.more-settings{margin-top:10px;padding:6px 10px}.color-presets{margin-top:8px}.color-presets legend{margin-bottom:5px}.color-options{gap:10px}.color-options button{width:24px;height:24px}.model-picker{margin:10px 0;gap:6px}.model-picker select{padding:8px 10px}.shapes-footer{flex-shrink:0;padding-top:8px;font-size:10px}}@media (min-width: 801px) and (max-width: 1150px){.camera-helper{gap:12px;flex-wrap:wrap}.camera-section{gap:10px}}@media (max-width: 800px){.camera-section{flex-wrap:wrap}.camera-helper{flex-wrap:wrap;gap:14px}.camera-tips>div{left:auto;right:0}}
