.theme-studio,.theme-editor{--studio-ink:#302c26;--studio-muted:#766f64;--studio-line:#e1dbd0;--studio-paper:#fffdf8;--studio-accent:#735633;color:var(--studio-ink);text-align:left;letter-spacing:normal;font:13px/1.5 Inter,sans-serif}.theme-studio *,.theme-editor *{box-sizing:border-box}.theme-studio button,.theme-editor button{cursor:pointer}.theme-studio button:disabled,.theme-editor button:disabled{opacity:.4;cursor:not-allowed}.theme-studio :is(button,input,select,textarea):focus-visible,.theme-editor :is(button,input,select,textarea):focus-visible{outline-offset:3px;outline:2px solid #946b33}.theme-studio button svg,.theme-editor button svg{flex-shrink:0}.theme-studio fieldset,.theme-editor fieldset{border:0;min-width:0;margin:0;padding:0}.theme-studio{background:#faf8f3;border:1px solid #d5cbbb;border-radius:20px;width:min(1380px,100vw - 40px);max-width:none;height:min(850px,100dvh - 40px);max-height:calc(100dvh - 40px);margin:auto;padding:0;position:fixed;inset:0;overflow:hidden;box-shadow:0 32px 100px #120d0966}.theme-studio[open]{flex-direction:column;display:flex}.theme-studio::backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#17120cb3}.theme-studio>header{flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:20px 26px;display:flex}.theme-studio .studio-eyebrow{letter-spacing:.14em;color:var(--studio-accent);align-items:center;gap:7px;margin-bottom:5px;font-size:9px;font-weight:600;display:flex}.theme-studio h2{letter-spacing:-.035em;margin:0;font:600 24px/1.25 Inter,sans-serif}.theme-studio header p{color:var(--studio-muted);margin:5px 0 0;font:12px/1.5 Inter,sans-serif}.theme-studio header>button{border:1px solid var(--studio-line);background:var(--studio-paper);width:36px;height:36px;color:var(--studio-ink);border-radius:50%;place-items:center;display:grid}.studio-history{border-block:1px solid var(--studio-line);background:#f1ede5;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:8px 26px;display:flex}.studio-save-status{color:var(--studio-muted);align-items:center;gap:8px;font-size:11px;display:flex}.studio-save-status>span,.theme-live-dot{background:#6a8061;border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.studio-save-status[data-dirty=true]>span{background:#bc863b}.studio-history>div{gap:4px;display:flex}.studio-history button{background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-size:11px;display:inline-flex}.studio-history button:hover:not(:disabled){background:var(--studio-paper);border-color:var(--studio-line)}.theme-studio-body{flex:1;grid-template-columns:200px minmax(0,1fr);min-height:0;display:grid;overflow:auto}.studio-collection{border-right:1px solid var(--studio-line);background:#f3efe7;padding:22px 18px}.studio-collection-heading{align-items:center;gap:8px;display:flex}.studio-collection-heading h3{margin:0;font:600 13px/1.5 Inter,sans-serif}.studio-collection-heading>span{background:#e5ddcf;border-radius:5px;margin-left:auto;padding:1px 6px;font-size:10px}.studio-collection-intro{color:var(--studio-muted);margin:8px 0 22px;font-size:11px}.studio-collection-fields{gap:16px;display:grid}.studio-collection label{gap:7px;font-size:11px;font-weight:500;display:grid}.studio-collection :is(input,select){background:var(--studio-paper);width:100%;min-width:0;height:38px;color:var(--studio-ink);border:1px solid #d5cbbb;border-radius:7px;padding:7px 9px;font:12px Inter,sans-serif}.studio-collection-actions{gap:7px;margin-top:16px;display:grid}.studio-collection-actions button{border:1px solid var(--studio-line);background:0 0;border-radius:7px;align-items:center;gap:8px;padding:9px 10px;font-size:11px;display:flex}.studio-collection-actions button:first-child{background:#e6dbc8;border-color:#d8c7ab}.studio-collection-actions button:hover:not(:disabled){background:#e9e1d5}.studio-collection-notice{color:var(--studio-muted);margin:16px 0 0;font-size:11px}.theme-editor{min-width:0}.theme-studio .theme-editor{grid-template-columns:minmax(280px,330px) minmax(0,1fr);align-items:start;display:grid}.theme-studio .theme-editor .theme-inspector{padding:22px}.theme-section-label{letter-spacing:.08em;text-transform:uppercase;color:var(--studio-muted);margin-bottom:10px;font-size:10px;font-weight:600;display:block}.theme-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:22px;display:grid}.theme-presets button{text-align:left;border:1px solid var(--studio-line);background:var(--studio-paper);color:var(--studio-ink);border-radius:9px;padding:7px;font-size:10px;line-height:1.3;position:relative}.theme-presets button[aria-pressed=true]{border-color:#99713d;box-shadow:0 0 0 1px #99713d}.theme-preset-palette{border-radius:4px;height:30px;margin-bottom:8px;display:flex;overflow:hidden}.theme-preset-palette i{flex:1}.theme-preset-check{color:#46351c;background:#fff8e7;border-radius:50%;position:absolute;top:10px;right:8px}.theme-sections{background:#eee9df;border-radius:10px;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:4px;display:grid}.theme-sections button{color:var(--studio-muted);background:0 0;border:0;border-radius:7px;flex-direction:column;align-items:center;gap:5px;padding:8px 3px;font-size:10px;display:flex}.theme-sections button[aria-pressed=true]{background:var(--studio-paper);color:var(--studio-accent);box-shadow:0 2px 5px #36251112}.theme-inspector-heading{margin:23px 0 18px}.theme-inspector-heading h3{margin:0 0 5px;font:600 17px/1.3 Inter,sans-serif}.theme-inspector-heading p{color:var(--studio-muted);margin:0;font:11px/1.6 Inter,sans-serif}.theme-fields{gap:18px;display:grid}.theme-editor .theme-fields label,.theme-editor .theme-field{color:var(--studio-ink);gap:7px;margin:0;font:12px/1.5 Inter,sans-serif;display:grid}.theme-editor .theme-fields :is(select,textarea){background:var(--studio-paper);width:100%;min-width:0;color:var(--studio-ink);border:1px solid #d5cbbb;border-radius:7px;padding:10px;font:12px/1.5 Inter,sans-serif}.theme-editor .theme-fields textarea{resize:vertical;min-height:160px;font-family:monospace}.theme-color{border-bottom:1px solid var(--studio-line);gap:9px;padding-bottom:15px;display:grid}.theme-color>div:first-child{flex-direction:column;gap:3px;font-size:12px;font-weight:500;display:flex}.theme-color small{color:var(--studio-muted);font-size:10px;font-weight:400}.theme-color-input{background:var(--studio-paper);border:1px solid #d5cbbb;border-radius:8px;align-items:center;gap:10px;padding:5px 10px 5px 5px;display:flex}.theme-color-input input[type=color]{cursor:pointer;background:0 0;border:0;flex-shrink:0;width:30px;height:30px;padding:0}.theme-color-input input[type=color]::-webkit-color-swatch-wrapper{padding:0}.theme-color-input input[type=color]::-webkit-color-swatch{border:1px solid #0002;border-radius:5px}.theme-color-input input:not([type=color]){width:100%;min-width:0;color:var(--studio-ink);background:0 0;border:0;padding:4px;font:12px monospace}.theme-color .theme-color-error{color:#a13a2e}.theme-slider{grid-template-columns:minmax(30px,1fr) 62px 20px;align-items:center;gap:8px;display:grid}.theme-slider input[type=range]{accent-color:#8b6b42;border:0;width:100%;height:24px;padding:0}.theme-slider input[type=number]{background:var(--studio-paper);width:62px;color:var(--studio-ink);border:1px solid #d5cbbb;border-radius:6px;padding:6px;font-size:12px}.theme-slider>span{color:var(--studio-muted);font-size:10px}.theme-editor .theme-help,.theme-editor .theme-message{margin:0;color:var(--studio-muted)!important;font:11px/1.6 Inter,sans-serif!important}.theme-editor .theme-message{margin-top:10px}.theme-reset{color:var(--studio-accent);background:0 0;border:0;align-items:center;gap:7px;margin-top:18px;padding:8px 0;font-size:11px;display:inline-flex}.theme-transfer-actions{gap:8px;display:flex}.theme-transfer-actions button{background:var(--studio-paper);border:1px solid #d5cbbb;border-radius:7px;padding:8px 14px}.theme-preview-workspace{border-left:1px solid var(--studio-line);background:#ece7dd;min-width:0;padding:20px}.theme-studio .theme-preview-workspace{align-self:start;min-height:100%;position:sticky;top:0}.theme-preview-toolbar,.theme-preview-footnote{justify-content:space-between;align-items:center;gap:8px;display:flex}.theme-preview-tabs{background:#dfd8ca;border-radius:8px;gap:2px;padding:3px;display:flex}.theme-preview-tabs button{color:#766b5d;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;gap:6px;padding:7px 9px;font-size:11px;display:flex}.theme-preview-tabs button[aria-pressed=true]{color:#3c3227;background:#fffdf8;box-shadow:0 1px 4px #32271815}.theme-preview-stage{justify-content:center;min-width:0;padding:20px 0;display:flex}.theme-editor .theme-preview{background:var(--bl-background);width:100%;min-width:0;color:var(--bl-text);border:1px solid #0002;border-radius:12px;transition:max-width .2s;overflow:hidden;box-shadow:0 12px 24px #30261920}.theme-preview[data-compact=true]{max-width:310px}.theme-preview-caption{border-bottom:1px solid #ffffff1a;align-items:center;gap:7px;padding:16px;font:9px/1.5 Inter,sans-serif;display:flex}.theme-preview-caption>span:first-of-type{letter-spacing:.15em;margin-right:auto}.theme-preview-caption .theme-live-dot{background:var(--bl-primary)}.theme-mini-room{background:radial-gradient(ellipse at 70% 0%, color-mix(in srgb, var(--bl-primary) 28%, transparent), transparent 70%), var(--bl-background);padding:30px 28px 16px;position:relative;overflow:hidden}.theme-room-window{border:5px solid var(--bl-secondary);background:linear-gradient(145deg, var(--bl-tertiary), var(--bl-primary));opacity:.18;border-radius:45px 45px 0 0;width:80px;height:145px;position:absolute;top:-15px;right:25px;transform:skewY(-8deg)}.theme-preview[data-environment=garden] .theme-room-window{border-radius:100% 0;transform:rotate(-20deg)}.theme-preview[data-environment=observatory] .theme-room-window{width:90px;height:90px;box-shadow:0 0 60px var(--bl-primary);border-radius:50%}.theme-mini-shelf{border-bottom:12px solid var(--bl-secondary);justify-content:center;align-items:flex-end;gap:5px;padding:8px 8px 0;display:flex;position:relative;box-shadow:0 12px 14px #0004}.theme-mini-shelf>span{background:linear-gradient(90deg, #0002, transparent 20%, #fff1 80%, #0003), var(--bl-tertiary);width:29px;color:var(--bl-on-surface);writing-mode:vertical-rl;transform-origin:bottom;transition:transform var(--bl-duration) ease;border-radius:3px 4px 0 0;justify-content:center;align-items:center;font:10px Georgia,serif;display:flex;box-shadow:2px 0 4px #0005}.theme-mini-shelf>span:nth-child(2n){background-color:var(--bl-primary);color:var(--bl-on-primary)}.theme-mini-shelf>span:nth-child(3){margin-inline:5px;transform:rotate(-7deg)}.theme-mini-room:hover .theme-mini-shelf>span:nth-child(3){transform:translateY(-7px)rotate(-3deg)}.theme-preview[data-shelf=classic] .theme-mini-shelf{border-inline:8px solid var(--bl-secondary);border-top:8px solid var(--bl-secondary)}.theme-preview[data-shelf=frame] .theme-mini-shelf{border:3px solid var(--bl-primary);padding-bottom:7px}.theme-room-label{text-align:center;letter-spacing:.1em;opacity:.7;margin-top:16px;font:9px Inter,sans-serif;display:block}.theme-editor .theme-preview-content{width:calc(100% - 32px);padding:var(--bl-padding-block) var(--bl-padding-inline);margin:max(16px, var(--bl-content-margin)) auto;border:var(--bl-border-width) solid var(--bl-primary);border-radius:var(--bl-radius);background:var(--bl-tertiary);color:var(--bl-on-surface);font-family:var(--bl-font-body);font-size:var(--bl-font-size);font-weight:var(--bl-font-weight);font-style:var(--bl-font-style);line-height:var(--bl-line-height);letter-spacing:var(--bl-letter-spacing);text-align:var(--bl-alignment);overflow-wrap:anywhere}.theme-preview-kicker{letter-spacing:.14em;opacity:.65;margin-bottom:12px;font:8px/1.5 Inter,sans-serif;display:block}.theme-editor .theme-preview-content h3{font:inherit;font-family:var(--bl-font-heading);font-size:var(--bl-heading-size);margin:0 0 var(--bl-section-gap);line-height:1.15}.theme-editor .theme-preview-content p{margin:0 0 var(--bl-section-gap);font:inherit!important;color:inherit!important}.theme-preview-content blockquote{border-left:2px solid var(--bl-primary);margin:0 0 var(--bl-section-gap);padding-left:12px;font-style:italic}.theme-preview-button{background:var(--bl-primary);color:var(--bl-on-primary);padding:var(--bl-control-padding) calc(var(--bl-control-padding) * 1.5);border-radius:var(--bl-radius);font:12px/1.5 var(--bl-font-body);transition:transform var(--bl-duration) ease;border:0;align-items:center;gap:10px;display:inline-flex}.theme-preview-button:hover{transform:translateY(-2px)}.theme-preview-footnote{color:var(--studio-muted);flex-wrap:wrap;font-size:9px}.theme-preview-footnote>span:first-child{align-items:center;gap:6px;display:flex}.theme-studio>footer{border-top:1px solid var(--studio-line);background:var(--studio-paper);flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;padding:14px 24px;display:flex}.studio-footer-hint{color:var(--studio-muted);font-size:11px}.theme-studio footer p{color:#a13a2e;font-size:12px}.theme-studio footer>div{justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}.theme-studio footer button{color:var(--studio-ink);background:#fffdf8;border:1px solid #d5cbbb;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:10px 16px;font-size:12px;display:inline-flex}.theme-studio footer button:last-child{color:#fff4df;background:#493821;border-color:#493821}.studio-discard{flex-wrap:wrap;font-size:12px}.welcome-studio .room-customizer:has(.theme-editor){color:#302c26;background:#faf8f3;border-radius:12px;padding:18px}.room-customizer>.theme-editor{margin-top:18px}.room-customizer .theme-preview-workspace{border:1px solid var(--studio-line);border-radius:10px;margin-top:20px}@media (width<=1100px){.theme-studio-body{grid-template-columns:170px minmax(0,1fr)}.theme-studio .theme-editor{grid-template-columns:minmax(250px,1fr) minmax(0,1fr)}.theme-studio .theme-editor .theme-inspector,.theme-preview-workspace{padding:16px}.theme-preview-toolbar{flex-wrap:wrap}}@media (width<=850px){.theme-studio-body{grid-template-columns:1fr}.studio-collection{border-right:0;border-bottom:1px solid var(--studio-line);padding:16px}.studio-collection-intro{margin:4px 0 12px}.studio-collection-fields{grid-template-columns:1fr 1fr;gap:12px}.studio-collection-actions{flex-wrap:wrap;margin-top:10px;display:flex}.studio-collection-notice:empty{display:none}.theme-studio .theme-preview-workspace{position:static}}@media (width<=580px){.theme-studio{border-radius:14px;width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.theme-studio>header{padding:16px}.theme-studio h2{font-size:21px}.studio-history{padding:7px 16px}.theme-studio .theme-editor{grid-template-columns:1fr}.theme-preview-workspace{border-left:0;border-top:1px solid var(--studio-line)}.theme-studio>footer{padding:12px 16px}.studio-footer-hint{display:none}}@media (prefers-reduced-motion:reduce){.theme-editor *,.theme-studio *{transition:none!important}}
