@font-face{font-family:Studio;src:local("Aptos"),local("Segoe UI");font-display:swap}*{box-sizing:border-box} :root{font-family:Studio,"Segoe UI",Arial,sans-serif;color:#1c2840;font-size:16px;background:#f5f7fb;--blue:#3158e9;--line:#e7ebf2;--muted:#738098}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button,input,select{outline-offset:3px}button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #849bff}button{color:inherit}button svg,.icon{width:18px;height:18px;flex:none;stroke-width:1.65;vertical-align:middle}button{display:inline-flex;align-items:center;justify-content:center;gap:8px}button svg{pointer-events:none}button:hover{filter:brightness(.98)}.app-header{height:80px;display:flex;align-items:center;padding:0 32px;background:#fff;border-bottom:1px solid var(--line);gap:28px}.brand{text-decoration:none;color:#18243a;font-size:29px;font-weight:750;letter-spacing:-1.2px;display:flex;align-items:center;gap:11px}.brand-dot{color:var(--blue)}.brand-icon{display:grid;place-items:center;width:37px;height:37px;background:var(--blue);border-radius:10px;color:white}.brand-icon svg{width:25px;height:25px}.brand-caption{font-size:11px;font-weight:650;letter-spacing:1.9px;color:var(--muted);border-left:1px solid var(--line);padding-left:27px}.header-actions{display:flex;gap:10px;margin-left:auto}.button{border:1px solid #dfe4ee;border-radius:8px;background:white;min-height:39px;padding:9px 14px;font-size:14px;font-weight:600}.primary{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 3px 7px #3158e91a}.subtle{border-color:transparent}.workspace{display:grid;grid-template-columns:366px minmax(0,1fr);height:calc(100dvh - 80px);min-height:670px}.sidebar{background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;padding:28px 23px 20px}.eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:1.25px;color:#8a95a8}.sidebar-heading .eyebrow{font-size:9px;letter-spacing:1.05px}h1{font-size:23px;letter-spacing:-.5px;margin:9px 0 0;font-weight:650}.count{vertical-align:middle;font-size:12px;font-weight:600;background:#eff2f8;padding:4px 8px;border-radius:6px;margin-left:6px;color:#687790}.icon-button{border:0;background:transparent;border-radius:6px;width:30px;height:30px;padding:5px;color:#7b879a}.icon-button:hover{background:#edf1fa;color:var(--blue)}.tabs{display:flex;margin:0 23px;border-bottom:1px solid var(--line);gap:26px}.tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:0 0 13px;font-size:14px;color:var(--muted);white-space:nowrap}.tabs button[aria-selected=true]{border-color:var(--blue);color:var(--blue);font-weight:650}.panel{min-height:0;overflow:auto;flex:1;padding:0 16px 16px;scrollbar-width:thin;scrollbar-color:#dfe4ec transparent}[hidden]{display:none!important}.list-caption{display:flex;justify-content:space-between;padding:19px 8px 13px;color:#8c97a9;font-size:10px;letter-spacing:.6px}.list-caption span+span{letter-spacing:0;font-size:11px}.layer-list{display:flex;flex-direction:column;gap:6px}.layer-row{border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;padding:7px 7px 7px 3px;min-height:57px;background:white;position:relative}.layer-row:hover{background:#fafbff;border-color:#cdd7f2}.layer-row.selected{background:#f1f5ff;border-color:#8da6f9;box-shadow:0 0 0 1px #3158e918}.layer-row.drag-over{border-top:3px solid var(--blue)}.grip{cursor:grab;color:#c1c8d6;width:19px;text-align:center;font-size:15px}.layer-select{padding:0;border:0;background:none;flex:1;min-width:0;justify-content:flex-start;gap:10px;text-align:left}.material-swatch{width:33px;height:33px;border-radius:7px;flex:none;box-shadow:inset 0 0 0 1px #0000000b;position:relative;overflow:hidden;background-color:var(--swatch)}.swatch-foam{background-image:radial-gradient(#6d73802c .7px,transparent .8px);background-size:5px 5px}.swatch-latex,.swatch-graphite{background-image:radial-gradient(#32394565 1px,transparent 1.2px);background-size:7px 7px}.swatch-fiber{background-image:repeating-linear-gradient(25deg,transparent 0 4px,#9a8b5c38 4px 5px)}.swatch-pocket,.swatch-nano{background-image:radial-gradient(ellipse,#fff 35%,#84929d88 41%,transparent 52%);background-size:10px 9px}.swatch-fabric,.swatch-tnt{background-image:repeating-linear-gradient(45deg,transparent 0 6px,#58627c25 6px 7px)}.swatch-felt{background-image:repeating-linear-gradient(105deg,transparent 0 3px,#39465844 3px 4px)}.layer-copy{min-width:0;flex:1}.layer-name{display:block;font-size:12px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:181px}.layer-group{display:block;color:#8993a5;font-size:10px;margin-top:4px}.row-thickness{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#63718a;margin-right:3px}.row-moves{display:flex;flex-direction:column;gap:0;margin-left:2px}.row-moves .icon-button{height:18px;width:20px;padding:1px}.row-moves svg{width:12px;height:12px}.add-layer{width:100%;margin-top:13px;border:1px dashed #b9c9f6;color:var(--blue);background:#f5f8ff;min-height:43px}.library-intro{font-size:13px;line-height:1.6;color:var(--muted);padding:18px 7px 14px}.library-group-title{font-size:10px;font-weight:700;letter-spacing:1px;color:#8a95a7;margin:15px 7px 9px}.material-card{display:flex;align-items:center;gap:11px;padding:10px 8px;border:1px solid var(--line);border-radius:8px;margin-bottom:7px;width:100%;background:white;justify-content:flex-start;text-align:left}.material-card:hover{border-color:#b4c5fa;background:#f7f9ff}.material-card .layer-copy{flex:1}.material-card .icon{color:var(--blue)}.sidebar-footer{padding:19px 23px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);background:#fcfdff}.total{font-size:29px;font-weight:650;letter-spacing:-.7px;margin-top:4px;font-variant-numeric:tabular-nums}.total small{font-size:15px;font-weight:450;color:#74819a;letter-spacing:0}.footer-detail{font-size:11px;color:#8a95a7;display:flex;flex-direction:column;text-align:right;gap:6px}.footer-detail span:first-child{color:#475572;font-weight:550}.stage{padding:29px 32px 16px;display:flex;flex-direction:column;min-width:0;min-height:0}.project-heading{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-bottom:24px}.project-title-block{min-width:0;flex:1}.project-title-block input{border:1px solid transparent;background:transparent;width:100%;font-size:25px;font-weight:630;letter-spacing:-.7px;padding:5px 0;margin:4px 0 2px;color:#1f2e46;text-overflow:ellipsis}.project-title-block input:hover,.project-title-block input:focus{border-bottom:1px solid #b8c7ed;outline:none}.project-note{font-size:12px;color:#8290a4}.example{font-size:12px;color:#60708b;border-color:#e1e7f0;background:transparent;padding:8px 10px;white-space:nowrap}.preview-card{background:white;border:1px solid #e2e8f2;border-radius:13px;box-shadow:0 3px 12px #243a5a03;display:flex;flex-direction:column;flex:1;min-height:400px;overflow:hidden}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;padding:15px 19px;border-bottom:1px solid #eff2f7;gap:10px}.view-tabs{display:flex;padding:3px;gap:3px;background:#f2f4f8;border-radius:7px}.view-tabs button{border:0;background:none;border-radius:5px;font-size:12px;font-weight:550;color:#7b879b;padding:7px 11px}.view-tabs button.active{background:white;color:#284dcf;box-shadow:0 1px 4px #1a30571a}.view-tabs button svg{width:16px;height:16px}.view-caption{font-size:11px;color:#8390a3;white-space:nowrap;display:flex;gap:7px;align-items:center}.live-dot{width:5px;height:5px;background:#5c7fef;border-radius:50%}.drawing{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;position:relative;background-image:radial-gradient(#dae1ed 0.65px,transparent .7px);background-size:18px 18px;overflow:hidden}.drawing>svg{width:100%;height:100%;position:absolute;inset:0;padding:15px 12px}.drawing svg [data-layer]{cursor:pointer;outline:none}.drawing svg [data-layer]:hover .layer-top{filter:brightness(1.025);stroke:#688bee;stroke-width:1.5}.drawing svg [data-layer]:focus .layer-top{stroke:#3158e9;stroke-width:3}.preview-bottom{display:flex;justify-content:space-between;gap:12px;padding:13px 19px;font-size:10px;color:#98a2b4;border-top:1px solid #f3f5f8}.preview-bottom span:first-child{display:flex;align-items:center;gap:6px;font-size:11px}.preview-bottom svg{width:14px;height:14px}.preview-bottom span:last-child{font-size:9px;letter-spacing:1.5px}.view-controls{display:flex;align-items:center;justify-content:center;gap:25px;margin:20px 0 14px;font-size:12px;color:#66758f}.spacing-control{display:flex;align-items:center;gap:13px}.spacing-control>span{display:flex;gap:7px;align-items:center}.spacing-control input{width:105px;accent-color:var(--blue);height:4px}.spacing-control output{font-size:11px;width:22px}.control-divider{height:20px;width:1px;background:#dfe5ef}.toggle{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:12px}.toggle input{position:absolute;opacity:0;width:1px;height:1px}.switch{height:17px;width:29px;background:#ccd3df;border-radius:99px;position:relative;transition:background .15s;flex:none}.switch:after{content:"";width:11px;height:11px;background:white;border-radius:50%;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0001;transition:transform .15s}.toggle input:checked+.switch{background:var(--blue)}.toggle input:checked+.switch:after{transform:translateX(12px)}.toggle input:focus-visible+.switch{outline:3px solid #9bb0fa;outline-offset:2px}.stage-footnote{font-size:10px;line-height:1.6;color:#909cae;display:flex;justify-content:space-between;gap:12px}.stage-footnote>span:first-child{display:flex;gap:5px;align-items:flex-start;max-width:650px}.stage-footnote svg{width:13px;height:13px;margin-top:2px}.stage-footnote>span:last-child{white-space:nowrap}.inspector{padding:15px 23px 18px;background:#f7f9ff;border-top:1px solid #dce5fc}.inspector-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.inspector-heading .eyebrow{color:#5574c9}.inspector input,.inspector select{width:100%;min-width:0;border:1px solid #dae1ef;border-radius:6px;padding:8px 9px;background:white;font-size:13px;color:#3b4b67}.inspector label{font-size:10px;color:#7c89a1;display:block;margin-top:9px}.inspector label>span{display:block;margin-bottom:5px}.inspector-grid{display:grid;grid-template-columns:1fr 1.35fr 38px;gap:8px}.inspector input[type=color]{height:34px;padding:4px;width:38px;cursor:pointer}.inspector-actions{display:flex;justify-content:space-between;margin-top:12px}.inspector-actions button{padding:0;border:0;background:none;font-size:11px;color:#6e7d97}.inspector-actions button:last-child{color:#bf6b73}.inspector-actions svg{width:14px;height:14px}.empty-state{text-align:center;color:#8a97ac;padding:45px 15px;font-size:14px;line-height:1.7}.empty-state svg{width:35px;height:35px;margin-bottom:12px}.empty-state strong{color:#4e5f7a;display:block}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,15px);background:#20304d;color:white;border-radius:9px;padding:13px 21px;font-size:14px;box-shadow:0 5px 25px #18243a30;opacity:0;pointer-events:none;transition:.2s;z-index:10;max-width:90vw}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:16px;padding:29px;width:500px;max-width:calc(100vw - 30px);color:#253550;box-shadow:0 20px 100px #16284733}dialog::backdrop{background:#10234466;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start}h2{font-size:23px;margin:9px 0 0;letter-spacing:-.6px}dialog p{font-size:14px;color:#75829a;line-height:1.7;margin:17px 0}.export-toggle{font-size:14px;margin:19px 0}.export-options{display:flex;flex-direction:column;gap:10px}.export-option{display:grid;grid-template-columns:46px 1fr;gap:5px 14px;text-align:left;padding:16px;border:1px solid #dfe5f0;border-radius:9px;background:white;justify-content:start}.export-option:hover{background:#f5f8ff;border-color:#a9bdfb}.format-icon{grid-row:span 2;padding:12px 5px;border-radius:7px;background:#edf2ff;color:var(--blue);font-size:11px;font-weight:700;text-align:center}.export-option strong{font-size:14px}.export-option>span:last-child{font-size:12px;color:#8793a7}.confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1600px){.workspace{grid-template-columns:395px minmax(0,1fr)}.stage{padding:34px 48px 22px}.layer-row{min-height:62px}.layer-name{font-size:14px;max-width:205px}.layer-group{font-size:12px}.row-thickness{font-size:12px}}@media(max-width:1100px){.app-header{padding:0 20px}.brand-caption{display:none}.workspace{grid-template-columns:325px minmax(0,1fr)}.stage{padding:25px 20px 14px}.project-title-block input{font-size:21px}.example{font-size:0;gap:0;padding:9px}.example svg{width:16px}.view-caption{display:none}.view-controls{gap:14px}.spacing-control{gap:6px}.spacing-control input{width:75px}.layer-name{max-width:151px}.stage-footnote>span:last-child{display:none}.tabs{gap:20px;margin:0 18px}}@media(max-width:760px){.app-header{height:67px;padding:0 15px;gap:10px}.brand{font-size:24px;gap:8px}.brand-icon{width:30px;height:30px}.header-actions{gap:4px}.header-actions .button{font-size:0;gap:0;padding:10px}.header-actions .button.primary{font-size:12px;gap:6px}.workspace{display:flex;flex-direction:column-reverse;height:auto;min-height:0}.stage{padding:20px 14px 18px}.project-heading{margin-bottom:17px}.project-title-block input{font-size:20px}.project-note{font-size:11px}.preview-card{height:540px;flex:auto}.drawing>svg{padding:8px 0}.preview-toolbar{padding:10px}.preview-bottom{padding:11px}.preview-bottom span:last-child{display:none}.view-controls{gap:12px;flex-wrap:wrap}.spacing-control{gap:7px}.control-divider{display:none}.stage-footnote{font-size:10px}.sidebar{border-right:0;border-top:1px solid var(--line)}.sidebar-heading{padding-top:22px}.panel{overflow:visible;max-height:570px;overflow-y:auto;padding:0 18px 18px}.layer-name{font-size:14px;max-width:220px}.layer-group{font-size:12px}.layer-row{min-height:62px}.row-thickness{font-size:13px}.inspector{position:static}.sidebar-footer{padding:20px 25px}.row-moves .icon-button{height:23px;width:25px}.row-moves svg{width:15px;height:15px}.list-caption{font-size:11px}.eyebrow{font-size:10px}.tabs button{padding-top:3px}.preview-card .view-tabs button{font-size:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Readable editing controls at the standard desktop size. */
.layer-name{font-size:14px}.layer-group,.row-thickness{font-size:12px}.library-intro{font-size:14px}.material-card{min-height:62px}.view-tabs button,.toggle,.view-controls{font-size:14px}.inspector label{font-size:12px}.inspector input,.inspector select{font-size:14px}.inspector-actions button{font-size:13px}.list-caption,.footer-detail,.project-note,.preview-bottom span:first-child{font-size:12px}.stage-footnote{font-size:12px}.eyebrow{font-size:12px}.sidebar-heading .eyebrow{font-size:10px}.view-caption{font-size:12px}.brand-caption{font-size:12px}.list-caption span+span{font-size:12px}.stage-footnote>span:last-child{display:none}@media(max-width:1100px){.view-controls{gap:12px}.toggle{font-size:12px}.spacing-control{font-size:12px}.list-caption,.list-caption span+span{font-size:11px}}

.material-info{padding:17px 23px;background:#f8faff;border-bottom:1px solid #e6ecf7;display:flex;flex-direction:column;gap:5px}.material-info strong{font-size:17px;font-weight:650;color:#344b70}.material-info span{font-size:14px;color:#7a899f;line-height:1.6}.drawing.material-detail{background-image:none;background:linear-gradient(135deg,#fff,#f6f8fc)}.drawing.material-detail>svg{padding:30px}.preview-bottom button{background:none;border:0;color:#607baf;font-size:12px;padding:0;text-decoration:underline;text-underline-offset:3px}.preview-bottom #cutaway-note{font-size:10px;letter-spacing:.6px;color:#927843}.view-controls{flex-wrap:wrap;gap:20px}.reference-links{padding-left:20px;line-height:1.7}.reference-links li{margin:12px 0;font-size:14px}.reference-links a{color:#3158d0}.view-tabs{flex-wrap:wrap}.view-tabs button{white-space:nowrap}.toggle:has(input:disabled){opacity:.5;cursor:default}@media(max-width:1300px){.view-caption{display:none}}@media(max-width:760px){.preview-toolbar{align-items:flex-start}.view-tabs{width:100%}.view-tabs button{padding:7px 8px;font-size:12px}.material-info{padding:13px 16px}.material-info strong{font-size:15px}.material-info span{font-size:12px}.preview-bottom{flex-wrap:wrap}.preview-bottom #cutaway-note{display:block}.view-controls{gap:13px}.drawing.material-detail>svg{padding:8px}}

/* Premium studio: warm canvas, quiet chrome, material-first workspace. */
:root{--blue:#866447;--line:#e9e6e1;--muted:#85847e;color:#343831;background:#f6f5f2;font-family:Studio,"Segoe UI",Arial,sans-serif}
body{background:#f6f5f2}.app-header{height:70px;padding:0 27px;gap:24px;background:#fdfcfb;border-color:#e5e3df}.brand{font-size:28px;letter-spacing:-1.3px;color:#29332f;font-weight:700}.brand-icon{background:#35453c;border-radius:11px;width:34px;height:34px}.brand-dot{color:#a48060}.brand-caption{font-size:9px;font-weight:600;color:#98988f;letter-spacing:2px;padding-left:24px}.button{border-color:#dedfd8;border-radius:8px;font-size:12px;min-height:37px;font-weight:550}.primary{background:#354b40;border-color:#354b40;color:#fff;box-shadow:0 3px 7px #283b3214}.subtle{border-color:transparent;color:#687069}.header-actions{gap:8px}.header-actions .primary{margin-left:10px;padding-left:17px;padding-right:17px}.workspace{grid-template-columns:324px minmax(0,1fr);height:calc(100dvh - 70px);min-height:700px}.sidebar{background:#fdfcfb;border-color:#e3e4dd}.sidebar-heading{padding:27px 22px 21px}.eyebrow{font-size:9px;color:#9b9b8e;font-weight:650;letter-spacing:1.8px}.sidebar-heading .eyebrow{font-size:9px;letter-spacing:1.5px}.sidebar-heading h1{font-size:22px;letter-spacing:-.6px;margin-top:10px;font-weight:600;color:#303b33}.count{border-radius:5px;background:#f0f0e9;color:#798175;font-size:11px;padding:3px 7px}.icon-button{color:#9b9e93}.icon-button:hover{background:#edeee7;color:#3a5141}.tabs{gap:0;margin:0 22px;border:1px solid #e5e6df;border-radius:8px;background:#f0f1ec;padding:3px}.tabs button{width:50%;padding:7px 8px;border:0;border-radius:5px;font-size:12px;color:#8a9084;font-weight:550}.tabs button[aria-selected=true]{background:#fff;color:#445342;box-shadow:0 1px 3px #28382414}.panel{padding:0 14px 17px;scrollbar-color:#d8dbd0 transparent}.list-caption{padding:21px 8px 13px;color:#9a9e92;font-size:9px;letter-spacing:1px}.list-caption span+span{font-size:10px}.layer-list{gap:4px}.layer-row{min-height:55px;padding:6px 6px 6px 4px;border:1px solid transparent;background:transparent;border-radius:9px}.layer-row:hover{background:#f2f3ed;border-color:#e6e7de}.layer-row.selected{background:#f0eee6;border-color:#d1c8b6;box-shadow:none}.layer-row.drag-over{border-top:3px solid #84694d}.grip{font-size:10px;color:#b1b5a8;font-variant-numeric:tabular-nums;width:24px}.layer-select{gap:9px}.layer-name{font-size:12px;font-weight:550;max-width:151px;color:#43503f}.layer-group{font-size:10px;color:#99a08e;margin-top:3px}.row-thickness{font-size:10px;color:#7c8871;margin-left:5px}.row-moves{opacity:0}.layer-row:hover .row-moves,.layer-row:focus-within .row-moves,.layer-row.selected .row-moves{opacity:1}.row-moves .icon-button{width:15px}.material-swatch{width:31px;height:33px;border-radius:5px;box-shadow:inset 0 0 0 1px #4a4c3620,0 1px 3px #242d2410}.add-layer{background:transparent;color:#617456;border-color:#cbd3c1;border-radius:8px;font-size:12px;margin-top:17px}.sidebar-footer{background:#f7f8f3;border-color:#e7e9df;padding:20px 22px}.sidebar-footer .eyebrow{font-size:9px;letter-spacing:1.3px;color:#9a9f8e}.total{color:#3f5037;font-size:31px;letter-spacing:-1.2px;font-weight:500;margin-top:5px}.total small{font-size:14px;color:#9aa58c}.footer-detail{font-size:10px;color:#a4aa99;gap:5px}.footer-detail span:first-child{color:#7b8870;font-size:11px}.footer-detail span:last-child{max-width:104px;line-height:1.4}.stage{padding:28px 30px 15px;min-height:0;background:#f6f5f2}.project-heading{margin-bottom:17px;gap:12px}.project-title-block .eyebrow{font-size:9px;letter-spacing:1.6px;color:#a2a18f}.project-title-block input{font-size:24px;font-weight:500;color:#354135;letter-spacing:-.65px;margin:7px 0 1px;min-width:0}.project-title-block input:hover,.project-title-block input:focus{border-color:transparent;border-bottom-color:#b2bda6}.project-note{font-size:11px;color:#9b9e90}.example{font-size:0;background:transparent;border:1px solid #dedfd7;width:35px;height:35px;padding:7px;color:#8a937f}.example svg{width:16px}.composition-summary{display:flex;gap:30px;margin:1px 0 24px;padding-top:3px}.composition-summary>span{display:flex;align-items:center;gap:6px;font-size:10px;color:#9a9c90}.composition-summary strong{font-weight:600;color:#7b8572;font-size:11px;margin-left:3px}.composition-summary small{font-weight:400;font-size:9px}.group-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#c5b693}.group-1{background:#858e83}.group-2{background:#a1afb0}.preview-card{background:#f9f8f5;border:1px solid #e5e4dd;border-radius:15px;box-shadow:0 9px 25px #3e493008;min-height:410px;position:relative}.preview-toolbar{background:#fdfcfb;border-color:#eeeae4;padding:11px 14px;gap:12px}.view-tabs{background:#f0f0eb;border-radius:7px;padding:3px;gap:1px;flex-wrap:nowrap}.view-tabs button{font-size:11px;letter-spacing:-.1px;color:#8f9587;padding:7px 10px;font-weight:500}.view-tabs button.active{color:#46593c;background:#fff;box-shadow:0 1px 3px #38483414}.view-tabs button svg{width:14px;height:14px}.engine-switch{display:flex;gap:1px;white-space:nowrap}.engine-switch button{border:0;border-bottom:1px solid transparent;background:none;padding:8px 7px;font-size:10px;color:#a3a698}.engine-switch button.active{color:#6c7860;border-bottom-color:#98a48a}.viewport-shell{position:relative;flex:1;min-height:0;overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#fffefa 5%,#f4f2ed 70%,#efeee8 100%)}.three-host,.drawing{position:absolute;inset:0;overflow:hidden;display:block}.three-host canvas{display:block;width:100%;height:100%;outline-offset:-3px;cursor:grab;touch-action:none}.three-host canvas:active{cursor:grabbing}.drawing{background:#fcfbf8;background-image:radial-gradient(#b7bcaa35 .7px,transparent .7px);background-size:20px 20px}.drawing>svg{padding:22px}.viewport-label{position:absolute;top:24px;left:25px;display:flex;align-items:center;gap:7px;font-size:8px;letter-spacing:1.7px;color:#b0ad9d;z-index:2;pointer-events:none}.live-dot{background:#9ba98b;width:4px;height:4px}.scene-signature{position:absolute;left:25px;bottom:20px;font-size:23px;color:#c2c1b3;font-weight:650;letter-spacing:-1px;pointer-events:none;opacity:.7}.scene-signature>span{color:#b8a27f}.scene-signature small{display:block;font-size:6px;letter-spacing:1.8px;font-weight:500;margin-top:3px}.camera-tools{position:absolute;right:17px;top:21px;display:flex;flex-direction:column;background:#fffdfad9;border:1px solid #e8e7df;border-radius:9px;padding:4px;box-shadow:0 4px 12px #4a4e3b08;gap:3px}.camera-tools button{width:29px;height:31px;background:none;border:0;border-radius:5px;color:#89957b}.camera-tools button:hover{background:#eef0e6;color:#485e3e}.camera-tools span{height:1px;background:#e6e8df;margin:3px 4px}.camera-tools svg{width:15px;height:15px}.preview-bottom{padding:12px 17px;border-color:#eae8e2;background:#fdfcfb;color:#a2a691;align-items:center;flex-wrap:wrap}.preview-bottom span:first-child{font-size:10px;gap:6px}.preview-bottom button{color:#9a9d88;font-size:10px;text-decoration:none}.preview-bottom button:hover{text-decoration:underline}.preview-bottom #cutaway-note{color:#a08a65;font-size:8px}.view-controls{margin:20px 0 14px;gap:22px;color:#899477;flex-wrap:wrap}.spacing-control{gap:11px;font-size:11px}.spacing-control input{width:96px;accent-color:#81916d}.spacing-control output{font-size:10px;color:#aaaF9d}.spacing-control .icon{width:14px;height:14px}.control-divider{background:#dedfd4;height:17px}.toggle{font-size:11px;color:#899477;gap:7px}.switch{height:15px;width:27px;background:#d5dacb}.switch:after{width:9px;height:9px;top:3px;left:3px}.toggle input:checked+.switch{background:#80916f}.toggle input:checked+.switch:after{transform:translateX(12px)}.stage-footnote{font-size:9px;color:#abae9e;justify-content:center}.stage-footnote>span:first-child{max-width:none;gap:5px}.stage-footnote svg{width:11px;height:11px;margin-top:1px}.material-info{background:#f9f9f4;border-color:#e8e9e0;padding:14px 22px;gap:4px}.material-info strong{color:#536647;font-size:15px;font-weight:550}.material-info span{font-size:11px;color:#9ca48e;line-height:1.5}.drawing.material-detail{background:#faf9f6}.three-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.three-label{position:absolute;left:0;top:0;padding:0;border:0;background:none;pointer-events:auto;display:flex;gap:7px;align-items:center;margin-left:10px;margin-top:-10px;white-space:nowrap}.three-label>span{font-size:8px;color:#9a9d8b;background:#fcfbf4b0;border:1px solid #dbdecf;min-width:21px;height:20px;border-radius:5px;display:grid;place-items:center;backdrop-filter:blur(5px)}.three-label.selected>span{background:#8b7459;border-color:#8b7459;color:#fff}.three-label:hover>span{border-color:#9b8769}.three-label strong{font-size:10px;background:#fffdf6de;padding:5px 8px;color:#89785f;font-weight:500;border-radius:5px;max-width:160px;overflow:hidden;text-overflow:ellipsis}.scene-empty{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#97a08a;background:#f8f8f2;z-index:2}.scene-empty>.icon{width:38px;height:38px}.scene-empty h2{font-size:27px;font-weight:400;line-height:1.35;color:#637556}.scene-empty p{font-size:12px;margin:15px 20px 24px}.inspector{background:#f4f5ee;border-color:#e0e4d6;padding:13px 20px 18px;max-height:45%;overflow:auto;flex-shrink:0}.inspector-heading{margin-bottom:2px}.inspector-heading .eyebrow{color:#8a9b77;font-size:9px}.inspector label{font-size:10px;color:#899a75;margin-top:8px}.inspector input,.inspector select{border-color:#dde3d3;background:#fdfefa;color:#59694b;border-radius:6px;font-size:12px;padding:7px 8px}.inspector-grid{grid-template-columns:1fr 1.25fr 34px}.inspector input[type=color]{width:34px;height:32px}.inspector-actions button{font-size:11px;color:#7f9270}.inspector-actions button:last-child{color:#aa856e}.isolate-selected{width:100%;font-size:11px;margin-top:12px;background:#fafbf6;color:#7b8b6c;border-color:#dce2d2;min-height:33px;padding:7px}.isolate-selected svg{width:13px;height:13px}.library-intro{font-size:12px;color:#929f82;padding:18px 8px 12px}.library-group-title{font-size:9px;color:#9aa889;letter-spacing:1.2px}.material-card{border-color:#e7eade;background:#fffefa;border-radius:9px;padding:12px 10px;min-height:66px}.material-card:hover{background:#f3f5e9;border-color:#c9d5b6}.material-card .material-swatch{width:38px;height:38px}.material-card .icon{color:#879c70;width:15px;height:15px}.material-card .layer-name{max-width:200px}.toast{background:#3d5035;color:#fffef4;font-size:12px;border-radius:10px;box-shadow:0 5px 25px #283b2830}dialog{color:#4a5c3f;background:#fffefb;border-color:#e0e4d4}dialog::backdrop{background:#2e3d2d55;backdrop-filter:blur(5px)}dialog p{color:#929f81;font-size:13px}.export-option{border-color:#e2e7d7;background:#fffefa}.export-option:hover{border-color:#becfab;background:#f6f9ee}.format-icon{background:#eef2e6;color:#758e5e}.export-option>span:last-child{color:#9da98d}.reference-links a{color:#728e58}button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline-color:#9aab83}.toggle input:focus-visible+.switch{outline-color:#9aab83}
@media(min-width:1600px){.workspace{grid-template-columns:350px minmax(0,1fr)}.stage{padding:35px 42px 20px}.sidebar-heading{padding:30px 25px 22px}.layer-row{min-height:58px}.layer-name{font-size:13px;max-width:165px}.row-thickness{font-size:11px}.layer-group{font-size:11px}.project-title-block input{font-size:29px}.preview-toolbar{padding:13px 20px}.view-tabs button{font-size:12px;padding:8px 13px}.engine-switch button{font-size:11px}.view-controls{margin:23px 0 18px}.viewport-label{top:28px;left:30px}}
@media(max-width:1100px){.workspace{grid-template-columns:294px minmax(0,1fr)}.stage{padding:24px 20px 14px}.project-title-block input{font-size:22px}.preview-toolbar{flex-wrap:wrap;justify-content:center;padding:10px;gap:6px}.engine-switch{margin-left:auto}.view-tabs button{padding:7px 8px}.view-tabs svg{display:none}.composition-summary{gap:20px;margin-bottom:18px}.layer-name{max-width:132px;font-size:11px}.view-controls{gap:13px}.spacing-control input{width:74px}.toggle{font-size:10px}.stage-footnote{font-size:9px}.tabs{margin:0 18px}}
@media(max-width:760px){.app-header{height:63px;padding:0 15px}.brand{font-size:24px}.brand-icon{width:29px;height:29px}.header-actions .button{font-size:0;padding:9px;gap:0}.header-actions .primary{font-size:0;padding:9px;margin-left:0}.header-actions{gap:2px}.workspace{display:flex;flex-direction:column-reverse;height:auto;min-height:0}.stage{padding:23px 14px 16px}.project-title-block input{font-size:21px}.project-note{font-size:10px}.composition-summary{gap:19px;margin-bottom:18px;flex-wrap:wrap}.composition-summary>span{font-size:9px}.preview-card{height:550px;min-height:0;flex:none}.preview-toolbar{justify-content:space-between;padding:10px}.view-tabs{width:auto}.preview-card .view-tabs button{font-size:10px;padding:7px}.engine-switch{margin-left:auto}.engine-switch button{font-size:9px;padding:7px}.viewport-label{left:17px;top:18px;font-size:7px}.camera-tools{right:10px;top:14px}.camera-tools button{width:25px;height:27px}.scene-signature{left:17px;bottom:15px;font-size:19px}.preview-bottom{padding:10px 12px;gap:7px}.preview-bottom span:first-child{font-size:9px}.preview-bottom span:last-child{display:inline}.preview-bottom button{font-size:9px}.view-controls{gap:12px;margin:18px 0 13px}.spacing-control{font-size:10px}.toggle{font-size:10px}.stage-footnote{font-size:8px}.sidebar{border-right:0;border-top:1px solid #e0e4d6}.sidebar-heading{padding:25px 22px 20px}.panel{max-height:470px;padding:0 16px 18px}.layer-row{min-height:62px}.layer-name{font-size:13px;max-width:210px}.layer-group{font-size:11px}.row-thickness{font-size:12px}.row-moves{opacity:1}.row-moves .icon-button{width:23px;height:24px}.grip{width:26px}.inspector{max-height:none;padding:20px 24px}.material-info{padding:11px 16px}.material-info strong{font-size:13px}.material-info span{font-size:10px}.scene-empty h2{font-size:23px}.drawing>svg{padding:8px}.material-card .layer-name{font-size:13px}.inspector input,.inspector select{font-size:14px}.brand-caption{display:none}}
/* Readable small type on the warm studio surfaces. */
.layer-name{font-size:13px;color:#3e4938}.layer-group{font-size:11px;color:#858e7b}.row-thickness{font-size:11px;color:#76816a}.project-note{color:#858d7b}.composition-summary>span{color:#879078}.composition-summary strong{color:#69755b}.view-tabs button{font-size:12px;color:#79856d}.engine-switch button{font-size:11px;color:#89917e}.toggle,.spacing-control{font-size:12px;color:#748465}.preview-bottom span:first-child,.preview-bottom button{font-size:11px;color:#899478}.preview-bottom #interaction-hint{letter-spacing:0}.stage-footnote{font-size:10px;color:#959d86}.material-info span{color:#869577;font-size:12px}.inspector label{font-size:11px;color:#7a8e63}.three-label>span{font-size:9px;color:#7a816f;background:#fffef5dd}.footer-detail{font-size:11px}.library-intro{color:#859374}.brand-caption{color:#898e81}.list-caption{color:#8b937d}.material-card .layer-name{font-size:13px}@media(max-width:1100px){.layer-name{font-size:12px}.toggle,.spacing-control{font-size:11px}.view-tabs button{font-size:11px}.engine-switch button{font-size:10px}}@media(max-width:760px){.layer-name{font-size:13px}.view-controls{gap:12px}.toggle,.spacing-control{font-size:10px}.preview-bottom span:first-child,.preview-bottom button{font-size:9px}.stage-footnote{font-size:9px}.material-info span{font-size:11px}}
@media(max-width:760px){.camera-tools{top:auto;bottom:13px;right:11px;flex-direction:row;gap:1px}.camera-tools span{height:18px;width:1px;margin:4px 3px}.camera-tools button{width:25px;height:26px}}

/* Numbered assemblies share their identity across the editor and both views. */
.tabs button{width:33.333%;font-size:13px}
.group-number{display:inline-grid;place-items:center;flex:none;width:25px;height:25px;border-radius:6px;background:#405446;color:#fff;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.composition-summary{gap:8px;flex-wrap:wrap;margin-bottom:17px;max-height:112px;overflow:auto}
.composition-summary>button{border:1px solid #e0e4d9;border-radius:8px;background:#fdfcf8;padding:7px 10px;gap:8px;color:#56634c;font-size:13px;max-width:100%;text-align:left}
.composition-summary>button>span{overflow-wrap:anywhere;white-space:normal;max-width:240px}
.composition-summary strong{font-size:13px;white-space:nowrap;margin-left:3px}
.composition-summary small{font-size:12px}
.composition-summary .group-number{width:23px;height:23px;font-size:12px}
.layer-list{gap:14px}
.layer-section{border-bottom:1px solid #e3e6da;padding-bottom:12px}
.layer-section-heading{display:flex;align-items:center;margin:0 0 6px;padding:2px 4px;gap:4px}
.layer-section-heading>button:first-child{flex:1;min-width:0;justify-content:flex-start;background:none;border:0;text-align:left;padding:4px 0;gap:9px;color:#40543c;font-size:14px;font-weight:600}
.layer-section-heading>button>span{min-width:0;overflow-wrap:anywhere}
.layer-section-heading small{display:block;margin-top:3px;font-size:12px;color:#7e8a72;font-weight:400}
.layer-row .layer-group{font-size:11px}
.layer-section.drag-over{outline:2px dashed #9cad8a;outline-offset:2px;background:#f2f5e9}
.empty-group{font-size:12px;line-height:1.55;color:#859279;margin:8px 6px 4px 38px}
.add-group{width:100%;background:#f2f5ed;border-color:#d7dfcd;color:#536948;margin-top:10px;font-size:14px}
.groups-intro{font-size:14px;line-height:1.55;color:#7d8c72;margin:20px 5px}
.group-editor{border:1px solid #e0e5d8;border-radius:10px;background:#fffef9;padding:13px 11px;margin-bottom:11px}
.group-editor.active{border-color:#bac8ab}
.group-editor-title{display:flex;align-items:center;gap:10px}
.group-editor-title label{flex:1;min-width:0;font-size:12px;color:#7b8c6d;line-height:1.4}
.group-editor input,.material-group-picker select{width:100%;background:#fffefb;border:1px solid #d9e0d0;border-radius:6px;color:#42573a;font-size:14px;padding:8px;margin-top:5px}
.group-editor-foot{display:flex;align-items:center;gap:1px;margin-top:9px}
.group-editor-foot>span{flex:1;color:#7c896e;font-size:12px}
.group-editor-foot .icon-button{width:30px;height:30px}
.material-group-picker{display:block;font-size:14px;color:#637854;margin:20px 6px 0}
.library-intro{font-size:13px;line-height:1.5;padding-top:9px}
.three-groups{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.three-group-mark{position:absolute;inset:0;pointer-events:none}
.three-group-mark path{stroke:#6d7d62;stroke-width:1.2;fill:none;opacity:.8}
.three-group-button{position:absolute;border:1px solid #fffdf5;background:#405446;color:#fff;font-size:13px;font-weight:600;min-width:27px;height:27px;padding:0 5px;border-radius:6px;pointer-events:auto;transform:translate(-50%,-50%);box-shadow:0 2px 5px #26372c18}
.three-group-button:hover{background:#758665}
.view-controls{gap:16px}
@media(max-width:760px){.composition-summary>button{font-size:12px;padding:6px 8px}.composition-summary>button>span{max-width:140px}.composition-summary{max-height:155px}.composition-summary strong{font-size:12px}.three-group-button{font-size:12px;min-width:23px;height:23px}.tabs button{font-size:14px}.groups-intro{font-size:14px}.view-controls{gap:12px}.toggle{font-size:11px}}

.header-actions .tutorial-trigger{color:#466044;border-color:#cdd8c4;background:#f3f6ef;font-size:13px;white-space:nowrap}
.tour-welcome{width:min(540px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:34px;border:1px solid #dce3d4;border-radius:20px;color:#344c38;box-shadow:0 24px 100px #17231b40;overflow:auto}
.tour-welcome::backdrop{background:#1e2c246b;backdrop-filter:blur(3px)}
.tour-kicker{display:block;font-size:12px;font-weight:650;letter-spacing:1.6px;color:#698464}
.tour-welcome h2{font-size:30px;line-height:1.2;font-weight:550;letter-spacing:-.7px;margin:18px 0}
.tour-welcome p{font-size:16px;line-height:1.6;color:#667561;margin:16px 0}
.tour-close{width:32px;height:32px;border:0;border-radius:7px;background:transparent;color:#6c7f62;font-size:27px;line-height:1;padding:0;flex:none}
.tour-close:hover{background:#eaf0e3}
.tour-welcome>.tour-close{position:absolute;top:15px;right:15px}
.tour-overview{display:flex;flex-direction:column;gap:13px;margin:24px 0;font-size:15px;color:#425b3c}
.tour-overview span{display:flex;align-items:center;gap:12px}
.tour-overview b{display:grid;place-items:center;width:29px;height:29px;border:1px solid #d4ddc9;border-radius:7px;font-size:12px;font-weight:600;color:#6d8659;background:#f5f7ee}
.tour-welcome .tour-demo-note{font-size:14px;background:#eef3e7;border-radius:9px;padding:12px 15px;line-height:1.5;color:#607651}
.tour-welcome-footer>span{display:block;font-size:12px;color:#839476;margin:20px 0 14px}
.tour-welcome-footer>div{display:flex;justify-content:flex-end;gap:10px}
.tour-welcome .button,.tour-card .button{font-size:14px;min-height:40px}
.studio-tour{position:fixed;inset:0;z-index:1000;pointer-events:none}
.tour-shade{position:fixed;background:#17231b70;pointer-events:auto}
.tour-focus{position:fixed;border:2px solid #d5bc82;border-radius:10px;box-shadow:0 0 0 3px #f4f2d428;pointer-events:none}
.tour-card{position:fixed;width:360px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;background:#fffef9;border:1px solid #dce4d3;border-radius:16px;box-shadow:0 18px 60px #192a2240;pointer-events:auto;padding:20px;color:#3b5339;overscroll-behavior:contain}
.tour-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:-5px}
.tour-card .tour-kicker{font-size:11px}
.tour-progress{height:3px;background:#e7eddf;border-radius:3px;overflow:hidden;margin:9px 0 17px}
.tour-progress>span{display:block;height:100%;background:#6c855d;transition:width .2s}
.tour-step{font-size:12px;color:#829275;letter-spacing:1px}
.tour-card h2{font-size:23px;line-height:1.2;font-weight:550;letter-spacing:-.45px;margin:10px 0 13px}
.tour-card p{font-size:15px;line-height:1.6;color:#61735a;margin:0 0 14px}
.tour-hint{font-size:13px;line-height:1.5;color:#7b795b;border-left:2px solid #cbb98b;padding-left:11px;margin:15px 0}
.tour-hint.tour-done{border-color:#759565;color:#507540}
.tour-demo{width:100%;background:#f0f5e8;border-color:#cbdabf;color:#4f713d;margin-bottom:15px}
.tour-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #e6ebdf;padding-top:15px;margin-top:16px}
.tour-mode{margin-top:16px;color:#87967b;font-size:10px;text-align:center;letter-spacing:.35px}
.tour-running .row-moves{opacity:1}
.tour-small .tour-card{width:calc(100vw - 24px);max-height:55dvh;padding:15px 17px;border-radius:14px}
.tour-small .tour-card h2{font-size:20px;margin:7px 0 9px}
.tour-small .tour-card p{font-size:14px;line-height:1.45;margin-bottom:10px}
.tour-small .tour-hint{font-size:12px;margin:10px 0}
.tour-small .tour-progress{margin:6px 0 10px}
.tour-small .tour-mode{margin-top:10px;font-size:10px}
.tour-small .tour-card-footer{margin-top:10px;padding-top:12px}
@media(max-width:760px){.header-actions .tutorial-trigger{font-size:0;padding:8px;gap:0}.header-actions .tutorial-trigger svg{width:18px;height:18px}.app-header{gap:6px}.header-actions .button{padding:8px}.tour-welcome{padding:25px}.tour-welcome h2{font-size:27px}.tour-welcome p{font-size:15px}.tour-welcome-footer>div{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.tour-progress>span{transition:none}}
@media(max-width:760px){.tour-running{padding-bottom:60dvh}.tour-running .panel,.tour-running .inspector{max-height:42dvh;overflow:auto;flex-shrink:0}}
