.studio-shell{--studio-accent:#3d66f5;--studio-text:#19283d;--studio-muted:#65758a;--studio-border:#e1e7ef;color:var(--studio-text);background:#f3f5f9;min-height:100vh;font-family:Inter,Arial,sans-serif}.studio-shell>header{border-bottom:1px solid var(--studio-border);background:#fff;height:72px;padding:0 32px}.studio-shell .brand{letter-spacing:-.8px;font-size:21px;font-weight:800}.studio-shell .badge{color:#345ae0;letter-spacing:2px;background:#edf1ff;border:0;padding:7px 10px;font-size:10px}.studio-shell .header-note{color:#526177;border:1px solid var(--studio-border);border-radius:10px;padding:10px 16px;text-decoration:none}.studio-shell .intro{align-items:center;margin-bottom:22px}.studio-shell .eyebrow{color:#647792;letter-spacing:2px;font-size:10px}.studio-shell h1{letter-spacing:-1px;margin:8px 0;font-size:30px}.studio-shell .intro p{color:var(--studio-muted);font-size:14px}.studio-shell .local{color:#267457;background:#e8f5ee;border-radius:20px;padding:8px 12px}.studio-shell .workspace{background:0 0;border:0;grid-template-columns:350px minmax(0,1fr);align-items:start;gap:18px}.studio-shell .workspace>aside{border:1px solid var(--studio-border);background:#fff;border-radius:16px;overflow:hidden}.studio-shell section{border-color:#edf0f5;padding:22px}.studio-shell h2{color:#24354b;letter-spacing:.1px;font-size:14px;font-weight:700}.studio-shell h2 b{color:#7184a0;background:#eef2fa;border-radius:7px;padding:5px}.studio-shell h3{color:#62718a;margin:20px 0 10px;font-size:13px}.studio-shell .workspace>.preview{background:#fff;border:1px solid #d7e0ec;border-radius:18px;height:calc(100dvh - 36px);min-height:450px;max-height:900px;top:18px;box-shadow:0 15px 45px #1b31520b}.studio-shell .viewport{background-color:#eaf0f8;background-image:radial-gradient(#bdcce0 .8px,#0000 .8px);background-size:20px 20px;min-height:240px}.studio-shell .preview-toolbar{color:#657894;border-bottom:1px solid #e6edf6;padding:16px 20px;font-size:12px}.studio-shell .preview-footer{color:#74869c;background:#fff;font-size:11px}.studio-shell .preview-toolbar button,.studio-shell .assembly-controls button,.studio-shell .reset{color:#425d87;background:#fff;border:1px solid #dce4ef;border-radius:9px}.studio-shell .assembly-controls{border-top:1px solid var(--studio-border);background:#fff;padding:16px 20px}.studio-shell .assembly-controls input{accent-color:var(--studio-accent)}.studio-shell .field{color:#526278;gap:12px;margin:17px 0;font-size:13px}.studio-shell .field>span:not(.parameter-help){background:#f7f9fc;border:1px solid #e2e8f0;border-radius:8px}.studio-shell .field input{color:#1e3659;font-variant-numeric:tabular-nums;width:82px;padding:10px;font-size:14px}.studio-shell .field i{color:#92a0b1;font-size:11px}.studio-shell select{font:inherit;color:#314765;background:#f7f9fc;border:1px solid #dbe3ee;border-radius:8px;max-width:100%;padding:9px}.studio-shell .field.changed{color:#b2503c;border-color:#e7907c}.studio-shell .field.changed>span:not(.parameter-help){background:#fff9f7;border-color:#edc2b6}.studio-shell input[type=range]{accent-color:var(--studio-accent);cursor:pointer}.studio-shell button,.studio-shell a,.site button,.site .button{transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}.studio-shell button:hover:not(:disabled){border-color:#7794ef;box-shadow:0 3px 12px #304e9e12}.studio-shell button:active:not(:disabled){transform:translateY(1px)}:is(.studio-shell button:focus-visible,.studio-shell input:focus-visible,.studio-shell select:focus-visible,.studio-shell textarea:focus-visible){outline-offset:3px;outline:3px solid #9cb4ff}.studio-shell .primary,.studio-action{color:#fff;background:#3d66f5;border:0;border-radius:11px;padding:14px 16px;font-weight:600;box-shadow:0 7px 16px #3d66f52a}.studio-shell .primary:hover:not(:disabled),.studio-action:hover:not(:disabled){background:#2a52df}.studio-shell .drop{color:#50658a;background:#f7f9ff;border:1px dashed #c6d4ed;border-radius:12px;padding:22px 12px}.studio-shell .drop .upload{color:#5379e5;font-size:26px}.studio-shell .example{color:#4b6ebf}.studio-shell .range-labels{color:#94a0b1}.studio-shell .support-settings{background:#f8fafd;border:1px solid #edf1f8;border-radius:10px;padding:0 12px}.studio-shell .source-tabs{background:#f0f3f8;border-radius:10px;gap:5px;margin-bottom:18px;padding:4px;display:flex}.studio-shell .source-tabs button{color:#718198;background:0 0;border:0;border-radius:7px;flex:1;padding:9px 5px;font-size:12px}.studio-shell .source-tabs button[aria-pressed=true]{color:#315edc;background:#fff;box-shadow:0 2px 5px #243b5b0c}.text-source label{color:#65758b;margin:14px 0;font-size:12px;display:block}.text-source textarea{resize:vertical;color:#203555;font-variant-ligatures:none;background:#f7f9fc;border:1px solid #dce4ef;border-radius:10px;width:100%;min-height:110px;margin-top:8px;padding:14px;font-size:26px}.text-source select{width:100%;margin-top:8px;display:block}.text-source input[type=range]{width:100%;margin-top:12px}.text-source output{float:right}.text-source .studio-action{width:100%;font-size:13px}.studio-shell .style-choices{grid-template-columns:repeat(5,1fr);gap:5px;display:grid}.studio-shell .style-choices button{color:#617289;background:#f7f9fc;border:1px solid #e1e8f2;border-radius:10px;padding:10px 2px;font-size:10px}.studio-shell .style-choices button span{color:#7890b6;height:34px;font-size:24px;display:block}.studio-shell .style-choices button[aria-pressed=true]{color:#3158d7;background:#edf2ff;border-color:#7290f3}.studio-shell .style-choices button[aria-pressed=true] span{color:#3d66f5}.studio-shell .studio-switch{border-top:1px solid #edf1f6;justify-content:space-between;align-items:center;gap:15px;margin-top:22px;padding-top:18px;display:flex}.studio-switch strong{font-size:13px;font-weight:600}.studio-switch small{color:#8390a2;margin-top:5px;font-size:11px;display:block}.studio-switch input{accent-color:#3d66f5;width:19px;height:19px}.studio-note{color:#7c8a9e;line-height:1.6;font-size:11px!important}.studio-cut-ready{color:#28795d;background:#edf6f2;border-radius:8px;margin-bottom:14px;padding:10px;font-size:12px}.studio-shell .workshop-notice{color:#4c6590;background:#edf3ff;border:1px solid #d9e5ff;font-size:12px}.studio-shell .history-item{color:#445e85;background:#fafbfe;border-color:#e1e8f2}.studio-shell .history-item.selected{border-color:#6c8deb}.studio-shell .file-tags{color:#46618a;font-size:12px}.studio-shell .save-icon,.studio-shell .save-preset,.studio-shell .preset-row button,.studio-shell .reset-settings>button{color:#48628c;background:#f3f6fd;border-color:#dbe4f4}.studio-shell .letter-cutter{background:#fff;border-color:#e1e8f2;padding:14px 18px}.studio-shell .letter-cutter .cut-open{color:#315adc;background:#edf2ff;border:1px solid #bfcffb;border-radius:10px;padding:13px;font-weight:600}.studio-shell footer{color:#8c98ab;font-size:11px}.studio-shell .cut-dialog{color:#243957;background:#f5f7fc;border:1px solid #d4dff2;border-radius:18px;width:min(1460px,96vw);max-height:94dvh;padding:22px}.cut-dialog-heading small{color:#8a9bb5;margin-top:7px;font-size:11px;font-weight:400;display:block}.studio-shell .cut-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#101d34a8}.studio-shell .cut-dialog button{color:#4a6286;background:#fff;border-color:#d8e2f1;border-radius:9px;font-size:12px}.studio-shell .cut-dialog button[aria-pressed=true]{color:#315cde;background:#e8efff}.studio-shell .cut-dialog .cut-actions button{color:#fff;background:#3d66f5;border:0;padding:12px 16px}.cut-editor-views{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.cut-editor-views>.cut-3d{grid-column:1/-1}.cut-live-label{color:#5a769f;border-bottom:1px solid #dce5f2;padding:10px 12px;font-size:12px}.cut-live{background:#eaf0f8;border:1px solid #dce5f2;border-radius:12px;overflow:hidden}.studio-shell .cut-3d{background:#eaf0f8;height:330px}.studio-shell .cut-canvas{background:#fff;border-color:#dce5f2;border-radius:12px;height:410px}.cut-live .cut-spread{padding:0 12px;font-size:11px}.cut-waiting{text-align:center;color:#9aa9be;place-content:center;height:100%;font-size:13px;line-height:1.8;display:grid}.studio-shell .cut-actions{z-index:3;background:#f5f7fc;border-top:1px solid #dce5f2;margin-bottom:0;padding:14px 0;position:sticky;bottom:-22px}.studio-shell .cut-hint{color:#7486a1;font-size:11px}.studio-shell .cut-tools{font-size:12px}.studio-shell .cut-tools input[type=number]{border-color:#d8e2f1}.studio-shell .cut-spread input{accent-color:#3d66f5}.studio-shell .cut-coordinates input{border-color:#dce5f2;border-radius:6px}@media (min-width:1100px){.studio-shell .workspace>aside{scrollbar-width:thin;scrollbar-color:#cbd5e6 transparent;max-height:calc(100dvh - 40px);position:sticky;top:18px;overflow:auto}}@media (max-width:1099px){.studio-shell .workspace{flex-direction:column;display:flex}.studio-shell .workspace>.preview{z-index:auto;order:-1;width:100%;height:580px;min-height:450px;max-height:none;position:relative;top:0}.studio-shell .workspace>aside{width:100%;max-height:none;overflow:visible}.studio-shell .preview-footer{display:flex}.studio-shell .local{display:none}.studio-shell .workspace>aside{grid-template-columns:1fr 1fr;display:grid}.studio-shell .workspace>aside>.export{grid-column:1/-1}}@media (max-width:700px){.studio-shell>header{height:62px;padding:0 16px}.studio-shell>main{padding:20px 12px}.studio-shell .intro h1{font-size:25px}.studio-shell .intro p{font-size:12px}.studio-shell .workspace>aside{display:block}.studio-shell .workspace>.preview{height:490px;min-height:400px}.studio-shell .preview-footer{font-size:10px}.cut-editor-views{grid-template-columns:1fr}.studio-shell .cut-canvas{height:310px}.studio-shell .cut-3d{height:260px}.studio-shell .cut-dialog{padding:14px}.studio-shell .cut-actions{bottom:-14px}.studio-shell .cut-tools>label{max-width:100%}.studio-shell .cut-tools select{font-size:11px}.studio-shell .cut-dialog button{min-height:40px}.studio-shell .header-note{padding:8px;font-size:11px;display:block}.studio-shell .badge{margin-left:5px}}@media (prefers-reduced-motion:reduce){.studio-shell *,.site *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.studio-shell>header{height:54px;padding:0 22px}.studio-shell>main{max-width:none;padding:12px 18px}.studio-shell .intro{margin-bottom:12px}.studio-shell .intro h1{margin:3px 0;font-size:23px}.studio-shell .intro .eyebrow{display:none}.studio-shell .intro p{font-size:12px}.studio-shell .workspace{grid-template-columns:minmax(0,1fr) 340px;gap:14px}.studio-shell .workspace>aside{grid-area:1/2;max-height:calc(100dvh - 140px);top:12px}.studio-shell .workspace>.preview{grid-area:1/1;height:calc(100dvh - 140px);min-height:540px;max-height:none;top:12px}.studio-shell .viewport{min-height:200px}.studio-shell .assembly-controls{padding:8px 16px}.studio-shell .assembly-controls label{font-size:11px}.studio-shell .assembly-controls button{padding:5px 12px}.studio-shell .preview-toolbar{padding:10px 16px}.studio-shell .letter-cutter{padding:7px 16px}.studio-shell .letter-cutter .cut-open{padding:8px}.studio-shell section{padding:17px}.studio-shell .field{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:16px 0;display:grid}.studio-shell .field .parameter-slider{grid-column:1/-1;width:100%;height:5px;margin:4px 0 0;padding:0}.studio-shell .style-choices{grid-template-columns:repeat(4,1fr)}.studio-shell .pattern-choices{grid-template-columns:repeat(3,1fr)}.studio-shell .style-choices button{min-height:58px}.studio-shell .text-source textarea{min-height:80px}.text-source small{color:#7c8a9e;font-size:10px}.live-text-status{color:#367c60;font-size:11px}.model-updating{z-index:2;color:#3d66f5;background:#fffe;border-radius:9px;padding:8px 12px;font-size:12px;position:absolute;top:12px;left:12px}.material-stats{background:#f7f9fd;border-top:1px solid #e1e7ef;flex-wrap:wrap;align-items:center;gap:10px 22px;padding:10px 16px;display:flex}.material-stats small{color:#7a889a;margin-bottom:4px;font-size:10px;display:block}.material-stats strong{color:#25416a;white-space:nowrap;font-size:14px}.material-stats label{color:#7a889a;margin-left:auto;font-size:10px}.material-stats select{margin-top:2px;font-size:11px;display:block;padding:3px 6px!important}.material-stats p{color:#8491a4;flex-basis:100%;margin:0;font-size:10px;line-height:1.4}.studio-shell .preview-footer{padding:6px 16px}.studio-shell .preview-footer>span:first-child{display:none}@media (max-width:1099px){.studio-shell .workspace{display:flex}.studio-shell .workspace>.preview{height:650px;min-height:550px}.studio-shell .workspace>aside{max-height:none;position:relative;top:0}}@media (max-width:700px){.studio-shell>main{padding:10px}.studio-shell .workspace>.preview{height:600px;min-height:500px}.studio-shell .intro p{display:none}.material-stats{gap:8px 16px}.material-stats strong{font-size:12px}.studio-shell .assembly-controls{padding:6px 12px}.studio-shell .viewport{min-height:180px}}.studio-shell .workspace>.preview{height:var(--preview-space,calc(100dvh - 140px));min-height:450px}.studio-shell .workspace>aside{max-height:var(--preview-space,calc(100dvh - 140px))}.studio-shell .workshop-notice{margin:0 0 12px;padding:8px 12px;font-size:11px}.studio-shell .assembly-controls label{margin-bottom:2px}.studio-shell .assembly-controls input[type=range]{margin:5px 0}.studio-shell .assembly-controls div{margin-top:0}.studio-shell .material-stats,.studio-shell .preview-toolbar{padding:8px 14px}@media (max-width:1099px){.studio-shell .workspace>.preview{height:600px}.studio-shell .workspace>aside{max-height:none}}body:has(.studio-shell){overflow:hidden}.studio-shell{flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}.studio-shell>header{flex:0 0 48px;height:48px}.studio-shell>main{flex-direction:column;flex:1;min-height:0;padding:10px 12px;display:flex;overflow:hidden}.studio-shell .intro,.studio-shell>main>footer{display:none}.studio-shell .workshop-notice{flex:none;max-height:34px;margin-bottom:8px;overflow:auto}.studio-shell>main>.error{flex:none;max-height:46px;margin:4px 0;overflow:auto}.studio-shell .workspace{flex:1;grid-template-columns:330px minmax(0,1fr);align-items:stretch;width:100%;min-height:0;display:grid;overflow:hidden}.studio-shell .workspace>aside{overscroll-behavior:contain;scrollbar-gutter:stable;grid-area:1/1;height:100%;min-height:0;max-height:none;position:relative;top:0;overflow:auto}.studio-shell .workspace>.preview{flex-direction:column;grid-area:1/2;height:100%;min-height:0;max-height:none;display:flex;position:relative;top:0;overflow:hidden}.studio-shell .viewport{flex:1;min-height:0}.studio-shell .preview-toolbar,.studio-shell .assembly-controls,.studio-shell .letter-cutter,.studio-shell .material-stats,.studio-shell .preview-footer{flex-shrink:0}.studio-shell .assembly-controls{grid-template-columns:auto minmax(80px,1fr) auto;align-items:center;gap:12px;padding:7px 12px;display:grid}.studio-shell .assembly-controls label{margin:0;font-size:10px}.studio-shell .assembly-controls input{width:100%}.studio-shell .assembly-controls>div{gap:4px;display:flex}.studio-shell .assembly-controls button{padding:5px 8px;font-size:11px}.studio-shell .pattern-catalog{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;display:grid}.pattern-catalog button{color:#788ca8;background:#f7f9fd;border:1px solid #dfe6ef;border-radius:9px;flex-direction:column;justify-content:flex-start;align-items:center;gap:4px;min-height:78px;padding:8px 2px;display:flex}.pattern-catalog button svg{width:36px;height:36px}.pattern-catalog button span{color:#455975;overflow-wrap:anywhere;font-size:9px;line-height:1.25}.pattern-catalog button[aria-pressed=true]{color:#3d66f5;background:#e8efff;border-color:#7794ef}.studio-shell .material-stats{gap:5px 16px}.studio-shell .material-stats p{font-size:9px}.studio-shell .preview-footer{padding:3px 12px;font-size:9px}@media (max-width:900px){.studio-shell .workspace{grid-template-columns:275px minmax(0,1fr)}.studio-shell .workspace>aside{display:block}.studio-shell section{padding:12px}.studio-shell .assembly-controls{grid-template-columns:1fr auto}.studio-shell .assembly-controls>input{grid-area:2/1/auto/-1}.studio-shell .assembly-controls>div{grid-area:1/2}.studio-shell .material-stats{gap:5px 10px}.studio-shell .material-stats strong{font-size:11px}}@media (max-width:600px){.studio-shell .workspace{grid-template-rows:58% minmax(0,1fr);grid-template-columns:1fr;gap:8px}.studio-shell .workspace>.preview{grid-area:1/1}.studio-shell .workspace>aside{grid-area:2/1;width:100%;max-height:none}.studio-shell .pattern-catalog{grid-template-columns:repeat(4,1fr)}.studio-shell .material-stats p,.studio-shell .preview-footer{display:none}.studio-shell .preview-toolbar{padding:5px 10px;font-size:10px}.studio-shell .letter-cutter{padding:3px 10px}.studio-shell .letter-cutter .cut-open{padding:4px;font-size:10px}.studio-shell .material-stats{padding:4px 10px}.studio-shell .assembly-controls{padding:3px 10px}}.safe-wall-controls{background:#f5f8ff;border:1px solid #cbd9f5;border-radius:12px;margin:14px -4px 20px;padding:12px}.studio-shell .safe-wall-controls h3{color:#3158a3;margin-top:0;font-size:14px}.safe-wall-controls .pattern-catalog{grid-template-columns:repeat(2,minmax(0,1fr))!important}.safe-wall-controls .pattern-catalog button{min-height:82px}.safe-wall-controls .pattern-catalog span{font-size:11px}
