:root{--studio-bg:#15161b;--studio-panel:#202127;--studio-panel-2:#292a31;--studio-gold:#ffb703;--studio-orange:#fb8500;--studio-text:#f8f5eb;--studio-muted:#a8a8b2;--studio-line:#3b3c45;--studio-green:#48d89a}
body.studio-active{background:var(--studio-bg);color:var(--studio-text);overflow-x:hidden}
body.studio-active main{width:100%;max-width:none;margin:0;padding:0}
body.studio-active>.appbar,body.studio-active>.bottom-nav,body.studio-active>main>.view.active{display:none!important}
.rac-studio{position:relative;max-width:none!important;margin:0!important;padding:0!important;background:radial-gradient(circle at 45% 35%,#25262c 0,#17181d 54%,#111217 100%);min-height:100dvh;color:var(--studio-text)}
.rac-studio[hidden]{display:none!important}
.rac-studio button{font:inherit;touch-action:manipulation}
.studio-head{height:58px;padding:0 max(16px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:space-between;background:rgba(18,19,23,.96);border-bottom:1px solid #2d2e35;position:sticky;top:0;z-index:40}
.studio-brand{display:flex;gap:9px;align-items:center;font-size:17px;border:0;background:transparent;color:var(--studio-text);padding:8px 0}.studio-brand>span{color:var(--studio-gold);width:25px;height:25px}.studio-brand svg,.studio-tool svg,.studio-icon svg,.studio-empty svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.studio-head-actions{display:flex;align-items:center;gap:10px}.studio-menu{display:inline-grid;place-items:center;min-width:44px;min-height:44px;padding:6px 11px;border:1px solid #555660;border-radius:11px;background:#303139;color:#fff;font-size:24px;line-height:1}
.studio-save{font-size:12px;color:var(--studio-green);font-weight:700}
.studio-guide{min-height:48px;padding:9px 16px;display:flex;align-items:center;gap:10px;background:#1d1e24;border-bottom:1px solid var(--studio-line);font-size:13px}
.studio-guide span{flex:none;color:#151515;background:var(--studio-gold);padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.studio-guide b{font-weight:650;line-height:1.35}
.studio-pagebar{height:54px;padding:0 12px;display:flex;align-items:center;gap:7px;background:#191a20;border-bottom:1px solid var(--studio-line);position:relative;z-index:20}
.studio-pagebar button{min-width:44px;min-height:44px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--studio-text);display:inline-flex;align-items:center;justify-content:center;gap:7px}.studio-pagebar button:active{background:#303139}.studio-pagebar button:disabled{opacity:.3}.studio-icon svg{width:22px;height:22px}.studio-pagebar strong{font-size:14px;white-space:nowrap}.studio-pagebar-spacer{flex:1}.studio-tool{font-size:12px}.studio-tool svg{width:20px;height:20px;color:var(--studio-gold)}.studio-tool.active{border-color:var(--studio-gold);background:#3b321d;color:#ffd36a}.studio-light-panel{position:absolute;top:160px;left:8px;right:8px;z-index:35;display:flex;align-items:center;gap:10px;padding:9px 10px;border:1px solid #6d5a27;border-radius:13px;background:rgba(31,29,23,.97);box-shadow:0 10px 28px rgba(0,0,0,.38)}.studio-light-panel[hidden]{display:none}.studio-light-panel label{display:flex;align-items:center;gap:8px;flex:1;color:#f3cf6d;font-size:12px;font-weight:800}.studio-light-panel input{width:100%;accent-color:var(--studio-gold)}.studio-light-panel output{min-width:38px;color:#fff}.studio-light-panel button{min-height:40px;white-space:nowrap}
.studio-workspace{min-height:calc(100dvh - 160px);display:grid;grid-template-columns:minmax(0,1fr)}
.studio-stage{min-height:310px;padding:18px 14px calc(48dvh + 20px);display:flex;align-items:flex-start;justify-content:center;overflow:auto;overscroll-behavior:contain}
.studio-paper-wrap{position:relative;width:min(100%,430px);aspect-ratio:210/297;background:#f5f1e8;border-radius:8px;box-shadow:0 22px 60px rgba(0,0,0,.52);overflow:hidden;isolation:isolate}
.studio-paper-wrap canvas#studioPreviewCanvas{width:100%;height:100%;display:block;object-fit:contain;background:#f5f1e8}.studio-paper-wrap canvas[hidden],.studio-paper-wrap canvas#studioPreviewCanvas[hidden]{display:none!important}
.studio-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18%;color:#4c4a47;background:linear-gradient(145deg,#f7f4ec,#e7e2d8)}.studio-empty[hidden]{display:none}.studio-empty span{width:54px;height:54px;color:#b27c00}.studio-empty b{font-size:19px;margin-top:12px}.studio-empty p{font-size:13px;line-height:1.45;max-height:11em;overflow:hidden}
.studio-safezone{position:absolute;inset:3.1%;border:1px dashed rgba(210,47,47,.78);pointer-events:none;z-index:6}.studio-safezone:after{content:'3 mm Sicherheitszone';position:absolute;right:3px;bottom:2px;color:#c93434;background:rgba(255,255,255,.85);padding:2px 4px;border-radius:3px;font-size:8px;font-weight:800}
.studio-zoom{position:absolute;right:7px;top:7px;z-index:7;padding:4px 7px;border-radius:8px;background:rgba(19,20,24,.82);font-size:10px;color:#fff;pointer-events:none}
.studio-paper-wrap.editing{aspect-ratio:auto;background:transparent;overflow:visible;box-shadow:none;width:min(100%,700px)}
.studio-paper-wrap.editing>.studio-safezone,.studio-paper-wrap.editing>.studio-zoom{display:none}
.studio-paper-wrap #canvasViewport{margin:0!important;width:100%;max-width:none;background:#111217;border-radius:9px;overflow:auto;touch-action:pan-x pan-y pinch-zoom}
.studio-paper-wrap #layoutCanvas{display:block;max-width:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.studio-paper-wrap #canvasViewport.text-mode,.studio-paper-wrap #canvasViewport.text-mode #layoutCanvas{touch-action:none!important}
.studio-paper-wrap #canvasViewport.hand-mode,.studio-paper-wrap #canvasViewport.hand-mode #layoutCanvas{touch-action:none!important}
@media (max-width:1023px){.studio-paper-wrap #canvasViewport{min-height:140px}}
.studio-dock{position:fixed;left:0;right:0;bottom:0;z-index:50;max-height:48dvh;background:rgba(32,33,39,.985);border:1px solid #3b3c44;border-bottom:0;border-radius:22px 22px 0 0;padding:0 14px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -20px 55px rgba(0,0,0,.45);display:flex;flex-direction:column}
.studio-handle{width:42px;height:4px;border-radius:9px;background:#62636c;margin:8px auto 7px;flex:none}
.studio-dock-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.studio-dock-title small{display:block;color:var(--studio-gold);font-size:10px;font-weight:900;letter-spacing:.08em}.studio-dock-title h2{font-size:18px;margin:2px 0 0}.studio-status{font-size:11px;color:#fff;background:#9b5c00;padding:5px 8px;border-radius:999px;font-weight:750;white-space:nowrap}.studio-status.complete{background:#14734d}
.studio-tabs{display:grid;grid-template-columns:repeat(3,1fr);background:#17181d;border-radius:12px;padding:3px;gap:3px;flex:none}.studio-tabs button{min-height:42px;border:0;border-radius:9px;background:transparent;color:var(--studio-muted);font-size:11px;font-weight:750;padding:5px}.studio-tabs button.active{background:#33343c;color:var(--studio-text);box-shadow:inset 0 -2px var(--studio-gold)}
.studio-dock-content{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 2px 6px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.studio-chip-group{margin:0 0 11px}.studio-chip-group>b{display:block;font-size:11px;color:#c7c7cf;margin:0 0 6px}.studio-chip-group>div{display:flex;gap:7px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.studio-chip-group>div::-webkit-scrollbar{display:none}.studio-chip{min-height:40px;padding:7px 11px;white-space:nowrap;border:1px solid #494a54;border-radius:11px;background:#292a31;color:#e9e7df;font-size:12px}.studio-chip.active{border-color:var(--studio-gold);background:#3b321d;color:#ffd36a}.studio-veto .studio-chip.active{border-color:#d86464;background:#442526;color:#ffb7b7}.studio-veto .studio-chip.locked:after{content:' · fest';opacity:.65}
.studio-note{margin:4px 0 7px;color:var(--studio-muted);font-size:11px;line-height:1.45}.studio-import-card{display:flex;gap:12px;align-items:center;background:#292a31;border:1px solid #41424b;border-radius:13px;padding:12px}.studio-import-card>span{width:46px;height:46px;min-width:46px;border-radius:12px;background:#3a311d;color:var(--studio-gold);display:grid;place-items:center;font-size:22px}.studio-import-card svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8}.studio-import-card b{font-size:14px}.studio-import-card p{font-size:11px;color:var(--studio-muted);margin:4px 0 0}.studio-import-actions,.studio-text-actions{display:flex;gap:8px;margin-top:9px}.studio-secondary,.studio-text-actions button{min-height:42px;border:1px solid #51525c;border-radius:11px;background:#303139;color:#fff;padding:8px 12px;font-weight:750}.studio-text-label{display:block;font-size:11px;font-weight:800;color:#c7c7cf}.studio-text-label textarea{box-sizing:border-box;width:100%;margin-top:5px;min-height:70px;resize:vertical;border:1px solid #555660;border-radius:11px;padding:10px;background:#17181d;color:#fff;font:500 15px/1.35 system-ui,sans-serif}.studio-text-actions .danger{margin-left:auto;color:#ffb0b0;border-color:#86484c}
.studio-create-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:11px}.studio-create-row>*{min-height:42px}.studio-sfx-add{border:1px solid #f36b2a;border-radius:11px;padding:8px 12px;color:#fff4cf;background:linear-gradient(135deg,#612313,#a94316 48%,#e28a16);font-weight:850;box-shadow:inset 0 0 0 1px rgba(255,216,82,.22)}.studio-quiet{border:0;background:transparent;color:var(--studio-muted);padding:8px 10px}.studio-quiet:disabled,.studio-chip:disabled{opacity:.38;cursor:not-allowed}.studio-element-list{margin-bottom:12px}.studio-element-list>b{display:block;font-size:11px;color:#c7c7cf;margin-bottom:6px}.studio-element-list>div{display:flex;gap:6px;overflow-x:auto}.studio-element-list button{display:flex;align-items:center;gap:7px;min-height:40px;max-width:190px;padding:6px 10px;border:1px solid #494a54;border-radius:10px;background:#25262c;color:#ddd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-element-list button span{display:grid;place-items:center;min-width:22px;height:22px;border-radius:50%;background:#3b3c44;color:#fff;font-size:11px}.studio-element-list button.active{border-color:var(--studio-green);background:#20382f}.studio-element-list button.active span{background:var(--studio-green);color:#092117}.studio-pending{display:flex;align-items:center;gap:7px;margin-top:9px;padding:9px;border-radius:11px;background:#3b321d;border:1px solid #8b762c}.studio-pending span{flex:1;font-size:11px;color:#ffe38c}.studio-pending button{min-height:38px;padding:6px 10px;border:1px solid #a98d31;border-radius:9px;background:#292517;color:#fff;font-weight:800}.studio-pending button:first-of-type{background:var(--studio-gold);color:#17130a}.studio-undo-notice{position:fixed;left:50%;bottom:max(18px,env(safe-area-inset-bottom));z-index:90;transform:translateX(-50%);display:flex;align-items:center;gap:14px;padding:10px 12px 10px 16px;border-radius:14px;background:#f6f3ea;color:#1c1d21;box-shadow:0 14px 40px rgba(0,0,0,.5);font-size:13px;font-weight:750}.studio-undo-notice[hidden]{display:none}.studio-undo-notice button{min-height:38px;border:0;border-radius:9px;background:#292a31;color:#fff;padding:6px 11px;font-weight:850}
.studio-sfx-panel{margin:10px 0;padding:10px;border:1px solid #654a29;border-radius:13px;background:linear-gradient(145deg,#2b2624,#211f24)}.studio-sfx-panel>b{display:block;margin-bottom:8px;color:#ffd36a;font-size:12px}.studio-sfx-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.studio-sfx-presets button{position:relative;min-height:58px;overflow:hidden;border:1px solid #5a4b43;border-radius:11px;background:radial-gradient(circle at 42% 36%,var(--sfx-core),var(--sfx-mid) 45%,var(--sfx-edge) 100%);color:#fff;padding:7px 8px;text-align:left;isolation:isolate}.studio-sfx-presets button:before{content:'';position:absolute;inset:-30%;z-index:-1;background:repeating-conic-gradient(from 8deg,transparent 0 12deg,rgba(255,255,255,.28) 13deg 16deg,transparent 17deg 30deg);transform:rotate(-8deg)}.studio-sfx-presets button span{display:block;font:900 17px/1 "RAC SFX",system-ui,sans-serif;letter-spacing:.02em;text-shadow:-2px -1px 0 #24100c,2px 2px 0 #24100c}.studio-sfx-presets button small{display:block;margin-top:5px;font-size:10px;font-weight:800;text-shadow:0 1px 3px #000}.studio-sfx-presets button.active{border-color:#fff1a1;box-shadow:0 0 0 2px #ff9d00,0 0 18px rgba(255,122,0,.34)}.studio-sfx-panel details{margin-top:9px;border-top:1px solid #51433b;padding-top:7px}.studio-sfx-panel summary{min-height:38px;display:flex;align-items:center;color:#ddd;font-size:11px;font-weight:800;cursor:pointer}.studio-sfx-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.studio-sfx-colors label{display:grid;gap:4px;color:#c9c5c1;font-size:10px}.studio-sfx-colors input[type=color]{box-sizing:border-box;width:100%;min-height:40px;border:1px solid #5b5b63;border-radius:8px;background:#17181d;padding:3px}.studio-sfx-colors .wide{grid-column:1/-1}.studio-sfx-colors input[type=range]{width:100%;accent-color:#ff9d00}
.studio-script-card{grid-column:1/-1;display:grid;gap:7px;margin-bottom:12px;padding:11px;border-radius:12px;background:#292a31;border:1px solid #454650}.studio-script-card>b{color:var(--studio-gold);font-size:13px}.studio-script-card label{font-size:11px;color:#c7c7cf}.studio-script-card textarea{min-height:58px;padding:9px;border:1px solid #555660;border-radius:9px;background:#17181d;color:#fff;font:500 13px/1.35 system-ui,sans-serif;resize:vertical}
.studio-details{grid-column:1/-1;margin:0 0 12px;border:1px solid #464750;border-radius:12px;background:#26272e}.studio-details summary{min-height:44px;box-sizing:border-box;padding:12px;color:#f3cf6d;font-size:12px;font-weight:850;cursor:pointer}.studio-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 11px 12px}.studio-details-grid label{display:grid;gap:4px;color:#c7c7cf;font-size:11px;font-weight:750}.studio-details-grid .wide{grid-column:1/-1}.studio-details-grid input,.studio-details-grid select,.studio-details-grid textarea,.studio-layout-actions select{box-sizing:border-box;width:100%;min-height:42px;border:1px solid #555660;border-radius:9px;background:#17181d;color:#fff;padding:8px;font:500 13px/1.35 system-ui,sans-serif}.studio-details-grid textarea{resize:vertical}.studio-details-grid input[type=range]{padding:4px;accent-color:var(--studio-gold)}.studio-reference-list{display:flex!important;flex-wrap:wrap;gap:7px;border:0;padding:0;margin:3px 0}.studio-reference-list legend{margin-bottom:6px}.studio-reference-list label{display:flex;align-items:center;gap:6px;min-height:38px;padding:5px 9px;border:1px solid #4c4d56;border-radius:9px;background:#1d1e24}.studio-reference-list input{width:20px;min-height:20px;accent-color:var(--studio-gold)}.studio-reference-list p{font-size:11px;color:var(--studio-muted)}
.studio-source-card{grid-column:1/-1;margin-bottom:11px;padding:11px;border:1px solid #544a2c;border-radius:12px;background:#2e2a20}.studio-source-card>b{font-size:13px;color:var(--studio-gold)}.studio-source-card p{margin:6px 0;color:#d1cec3;font-size:11px;line-height:1.4}.studio-source-card>div{display:flex;flex-wrap:wrap;gap:7px}.studio-editor-tools{margin-bottom:11px}.studio-mode-row{display:grid;grid-template-columns:1fr 1fr 44px minmax(78px,.7fr) 44px;gap:6px}.studio-mode-row button{min-height:42px;border:1px solid #51525c;border-radius:10px;background:#303139;color:#fff;font-weight:800}.studio-mode-row button.active{border-color:var(--studio-gold);background:#3b321d;color:#ffd36a}.studio-switches{display:flex;flex-wrap:wrap;gap:8px}.studio-switches label{display:flex;align-items:center;gap:7px;min-height:40px;padding:4px 10px;border:1px solid #4b4c55;border-radius:10px;font-size:12px}.studio-switches input{width:20px;height:20px;accent-color:var(--studio-gold)}.studio-layout-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 11px 12px}.studio-layout-actions select{grid-column:1/-1}.studio-layout-actions button{min-height:42px}.studio-text-actions{flex-wrap:wrap}.studio-text-actions .danger{margin-left:0}.studio-dock-content button:focus-visible,.studio-dock-content input:focus-visible,.studio-dock-content textarea:focus-visible,.studio-dock-content select:focus-visible{outline:3px solid rgba(255,183,3,.55);outline-offset:2px}
.studio-reprompt{margin-top:8px;min-height:36px;border:1px solid #4a4b54;border-radius:9px;background:transparent;color:#bfc0c8;padding:6px 10px;font-size:11px;font-weight:750}
.studio-fixed-caption-note{margin:9px 0;padding:10px 11px;border:1px solid #8b762c;border-radius:11px;background:#3b321d;color:#ffe38c;font-size:12px;line-height:1.4}
.studio-page-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:none}.studio-page-actions[hidden]{display:none}.studio-page-actions .studio-secondary,.studio-page-actions .studio-primary{min-height:52px;border-radius:14px;font-weight:900;font-size:14px;padding:11px 12px}.studio-page-actions .studio-secondary{border:1px solid #676872;background:#303139;color:#fff}.studio-primary{min-height:52px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--studio-gold),var(--studio-orange));color:#17130a;font-weight:900;font-size:14px;padding:11px 16px;box-shadow:0 7px 20px rgba(251,133,0,.24);flex:none}
.studio-page-actions.single{grid-template-columns:1fr}
@media (max-width:699px){
  .studio-stage{box-sizing:border-box;padding-bottom:calc(var(--studio-dock-height,48dvh) + 24px);scroll-padding-bottom:calc(var(--studio-dock-height,48dvh) + 24px)}
  .studio-dock{box-sizing:border-box;max-height:min(52dvh,460px);overflow:hidden}
  .studio-primary{position:relative;z-index:2;width:100%;flex:0 0 auto;margin-top:4px}
}
@media (min-width:700px){
  .studio-head{height:64px;padding-left:24px;padding-right:24px}.studio-guide{padding-left:24px;padding-right:24px}.studio-pagebar{padding:0 20px}.studio-light-panel{top:166px;left:22px;right:22px}.studio-stage{padding:26px 28px calc(43dvh + 24px)}.studio-dock{left:22px;right:22px;bottom:18px;max-height:41dvh;border-bottom:1px solid #3b3c44;border-radius:20px;padding-left:18px;padding-right:18px}.studio-dock-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.studio-note,.studio-import-card,.studio-import-actions,.studio-text-label,.studio-text-actions{grid-column:1/-1}.studio-tabs button{font-size:13px}
}
@media (min-width:1024px){
  body.studio-active{overflow:hidden}.rac-studio{height:100dvh;overflow:hidden}.studio-workspace{height:calc(100dvh - 166px);grid-template-columns:minmax(560px,1fr) 390px}.studio-stage{height:100%;box-sizing:border-box;padding:28px;align-items:center}.studio-paper-wrap{height:min(calc(100dvh - 225px),860px);width:auto}.studio-dock{position:relative;inset:auto;max-height:none;height:100%;box-sizing:border-box;border-radius:0;border-width:0 0 0 1px;padding:14px 20px 18px;box-shadow:-20px 0 55px rgba(0,0,0,.22)}.studio-handle{display:none}.studio-dock-title{margin-top:3px}.studio-dock-content{display:block;flex:1}.studio-primary{min-height:56px}.studio-tool{padding-left:11px!important;padding-right:11px!important}
}
@media (max-width:440px){.studio-tool span{display:none}.studio-save{font-size:10px}.studio-brand{font-size:15px}.studio-stage{padding-left:9px;padding-right:9px}.studio-pagebar strong{font-size:13px}.studio-guide{font-size:12px}.studio-light-panel{gap:6px}.studio-light-panel label{gap:5px}.studio-light-panel output{min-width:34px}.studio-light-panel button{padding:7px 9px}}
@media (max-width:440px){.studio-mode-row{grid-template-columns:1fr 1fr 42px 58px 42px}.studio-mode-row #studioZoomFit{font-size:10px}.studio-details-grid{grid-template-columns:1fr}.studio-details-grid .wide{grid-column:auto}.studio-layout-actions{grid-template-columns:1fr}.studio-layout-actions select{grid-column:auto}.studio-sfx-colors{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-sfx-colors .wide{grid-column:1/-1}.studio-create-row .studio-quiet{width:100%}}
/* Tablet-Querformat: Arbeitsfläche und Werkzeuge bleiben zwei unabhängige
   Höhen- und Scrollbereiche. Geöffnete Bearbeitungsfelder dürfen die Seite
   weder nach unten schieben noch außerhalb des sichtbaren Bereichs festhalten. */
@media (min-width:900px) and (orientation:landscape){
  body.studio-active{overflow:hidden}
  .rac-studio{height:100dvh;min-height:0;overflow:hidden}
  .studio-workspace{height:calc(100dvh - 166px);min-height:0;grid-template-columns:minmax(0,1fr) minmax(320px,38vw);overflow:hidden}
  .studio-stage{height:100%;min-height:0;padding:14px;align-items:flex-start;overflow:hidden}
  .studio-paper-wrap{max-width:100%;max-height:100%}
  .studio-paper-wrap.editing{display:flex;width:min(100%,700px);height:100%;min-height:0;max-height:100%;overflow:hidden}
  .studio-paper-wrap #canvasViewport{flex:1 1 auto;width:100%;height:100%!important;min-height:0;max-height:100%;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
  .studio-dock{position:relative;inset:auto;width:auto;height:100%;min-height:0;max-height:none;border-radius:0;border-width:0 0 0 1px;padding:14px 18px 16px;box-shadow:-18px 0 45px rgba(0,0,0,.22);overflow:hidden}
  .studio-handle{display:none}
  .studio-dock-content{display:block;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
  .studio-primary{flex:0 0 auto}
}
@media (prefers-reduced-motion:reduce){.rac-studio *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.studio-bubble-style{padding:10px;border:1px solid #5f5536;border-radius:12px;background:#2b2922}.studio-bubble-style>p{margin:-2px 0 8px;color:var(--studio-muted);font-size:11px;line-height:1.35}
.studio-text-style{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0;padding:10px;border:1px solid #454650;border-radius:12px;background:#24252b}.studio-text-style label{font-size:11px;color:#d7d7dd}.studio-text-style .wide{grid-column:1/-1}.studio-text-style input[type="color"]{min-height:42px;padding:4px}.studio-text-style input[type="range"]{padding:5px}
.letter-style-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px;border:1px solid var(--line);border-radius:10px;background:#101925}.letter-style-grid label{font-size:.78rem}.letter-style-grid input[type="color"]{min-height:42px;padding:4px}.letter-style-grid input[type="range"]{padding:5px}
