.studio-preview,.studio-preview *{box-sizing:border-box}.studio-preview{font-family:var(--font);color:var(--txt);background:var(--bg);height:100dvh;margin:0;font-size:13px;overflow:hidden}.studio-preview button,.studio-preview input,.studio-preview select,.studio-preview textarea{font:inherit}.studio-preview button{cursor:pointer}.studio-preview button:disabled{opacity:.35;cursor:default}.studio-preview button,.studio-preview a,.studio-preview input,.studio-preview textarea,.studio-preview select{-webkit-tap-highlight-color:transparent}.studio-preview button:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}.studio-preview button{color:inherit}.studio-preview svg{shape-rendering:auto;vertical-align:middle;flex-shrink:0}.studio-preview [hidden]{display:none!important}.studio-preview ::selection{background:var(--sel)}.studio-preview ::-webkit-scrollbar{width:7px;height:7px}.studio-preview ::-webkit-scrollbar-thumb{background:var(--scroll);border-radius:var(--r-ctl);border:2px solid var(--bg-1)}.studio-preview .studio-header{border-bottom:1px solid var(--line);background:var(--bg-1);align-items:center;gap:25px;height:68px;padding:0 20px;display:flex}.studio-preview .brand{text-align:left;letter-spacing:-.5px;background:0 0;border:0;align-items:center;gap:10px;min-width:174px;padding:0;font-size:24px;font-weight:600;display:flex}.studio-preview .brand-sub{color:var(--txt-3);letter-spacing:.1px;margin-top:-2px;font-size:12px;font-weight:400;display:block}.studio-preview .project-heading{flex:1;align-items:center;gap:9px;min-width:120px;display:flex}.studio-preview .project-kind{color:var(--txt-3)}.studio-preview #project-name{color:var(--txt);border-radius:var(--r-s);background:0 0;border:1px solid #0000;outline:none;width:230px;min-width:80px;max-width:100%;padding:6px 5px;font-size:13px;font-weight:500}.studio-preview #project-name:focus{border-color:var(--acc)}.studio-preview .demo-chip{white-space:nowrap;color:var(--txt-3);border:1px solid var(--line);border-radius:var(--r-full);padding:3px 8px;font-size:12px}.studio-preview .header-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.studio-preview .history-buttons{border-right:1px solid var(--line);gap:1px;padding-right:10px;display:flex}.studio-preview .icon-btn{border-radius:var(--r-ctl);width:32px;height:32px;color:var(--txt-2);background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.studio-preview .icon-btn:hover:not(:disabled){background:var(--bg-2);color:var(--txt)}.studio-preview .button{border:1px solid var(--line-2);border-radius:var(--r-btn);background:var(--btn2);color:var(--txt);justify-content:center;align-items:center;gap:8px;min-height:34px;padding:8px 13px;font-size:12px;display:inline-flex}.studio-preview .button:hover{background:var(--btn2h)}.studio-preview .button.primary{background:var(--acc);color:var(--on-acc);box-shadow:var(--sh-btn-acc);border-color:#0000;font-weight:500}.studio-preview .button.primary:hover{background:var(--acc-strong)}.studio-preview .button.small{min-height:30px;padding:5px 10px;font-size:12px}.studio-preview .wide{width:100%}.studio-preview .theme-select{border:1px solid var(--line);border-radius:var(--r-s);color:var(--txt-2);background:0 0;width:94px;height:34px;padding:7px 8px;font-size:12px}.studio-preview .export-more{display:none}.studio-preview .workspace{grid-template-columns:232px minmax(0,1fr) 294px;height:calc(100dvh - 68px);display:grid}.studio-preview .left-panel,.studio-preview .right-panel{background:var(--bg-1);z-index:4;flex-direction:column;min-height:0;display:flex}.studio-preview .left-panel{border-right:1px solid var(--line)}.studio-preview .right-panel{border-left:1px solid var(--line)}.studio-preview .panel-heading{align-items:center;gap:8px;height:49px;padding:0 16px;display:flex}.studio-preview .panel-heading>b{flex:1;font-size:13px;font-weight:500}.studio-preview .panel-heading>span{color:var(--txt-3)}.studio-preview .panel-tabs{border-bottom:1px solid var(--line);flex-shrink:0;gap:17px;height:36px;padding:0 16px;display:flex}.studio-preview .panel-tabs>button{color:var(--txt-3);background:0 0;border:0;align-items:center;gap:5px;padding:0 0 10px;font-size:12px;display:flex;position:relative}.studio-preview .panel-tabs>button[aria-selected=true]{color:var(--txt)}.studio-preview .panel-tabs>button[aria-selected=true]:after{content:"";background:var(--acc);height:2px;position:absolute;bottom:-1px;left:0;right:0}.studio-preview .panel-scroll{flex:1;min-height:0;overflow:auto}.studio-preview .page-label{color:var(--txt-3);align-items:center;gap:7px;margin:17px 15px 12px;font-size:12px;display:flex}.studio-preview .page-label b{color:var(--txt-2);flex:1;font-weight:400}.studio-preview .page-label span{font-size:12px}.studio-preview .layer-tree{padding:0 8px 16px}.studio-preview .layer-row{border-radius:var(--r-s);height:33px;padding-left:calc(var(--depth) * 12px + 4px);color:var(--txt-2);align-items:center;gap:4px;display:flex;position:relative}.studio-preview .layer-row:hover{background:var(--bg-2)}.studio-preview .layer-row.selected{background:var(--acc-soft);color:var(--txt)}.studio-preview .layer-fold{width:15px;height:25px;color:var(--txt-3);background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:flex}.studio-preview .layer-spacer{flex-shrink:0;width:15px}.studio-preview .layer-main{text-align:left;min-width:0;height:31px;color:inherit;background:0 0;border:0;flex:1;align-items:center;gap:7px;padding:0;font-size:12px;display:flex}.studio-preview .layer-symbol{color:var(--txt-3);display:flex}.studio-preview .selected .layer-symbol{color:var(--acc)}.studio-preview .layer-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.studio-preview .layer-grip{opacity:0;cursor:grab;color:var(--txt-3);touch-action:none;justify-content:center;align-items:center;width:17px;display:flex}.studio-preview .layer-row:hover .layer-grip,.studio-preview .layer-row.selected .layer-grip{opacity:1}.studio-preview .layer-grip svg{transform:rotate(90deg)}.studio-preview .layer-row.drop-before:before,.studio-preview .layer-row.drop-after:after{content:"";background:var(--acc);z-index:5;border-radius:0;height:2px;position:absolute;left:5px;right:5px}.studio-preview .layer-row.drop-before:before{top:0}.studio-preview .layer-row.drop-after:after{bottom:0}.studio-preview .layer-row.dragging{opacity:.4}.studio-preview .layer-help{color:var(--txt-3);border-top:1px solid var(--line);margin:2px 15px 18px;padding-top:12px;font-size:12px;line-height:1.7}.studio-preview .add-section{margin:0 15px 17px}.studio-preview .left-footer{border-top:1px solid var(--line);align-items:center;gap:9px;padding:15px;display:flex}.studio-preview .left-footer-code{color:var(--txt-3)}.studio-preview .left-footer b{font:400 11px Geist Mono,monospace}.studio-preview .left-footer span:not(.left-footer-code){color:var(--txt-3);margin-top:3px;font-size:12px;display:block}.studio-preview .block-intro{color:var(--txt-3);margin:16px;font-size:12px;line-height:1.7}.studio-preview .block-card{border:1px solid var(--line);background:var(--bg);border-radius:var(--r-m);margin:0 14px 14px;overflow:hidden}.studio-preview .block-preview{background:var(--bg-2);height:75px;color:var(--acc);justify-content:center;align-items:center;gap:8px;display:flex}.studio-preview .block-mini{width:85px}.studio-preview .block-mini i{background:var(--txt-3);opacity:.4;border-radius:var(--r-s);height:5px;margin-bottom:6px;display:block}.studio-preview .block-mini i:first-child{background:var(--acc);opacity:.8;width:80%}.studio-preview .block-mini i:last-child{width:60%}.studio-preview .block-card-body{justify-content:space-between;align-items:center;gap:6px;padding:12px;display:flex}.studio-preview .block-card-body b{font-size:12px;font-weight:500}.studio-preview .block-card-body small{color:var(--txt-3);margin-top:3px;font-size:12px;display:block}.studio-preview .center{background:var(--bg);flex-direction:column;min-width:0;min-height:0;display:flex}.studio-preview .canvas-toolbar{border-bottom:1px solid var(--line);background:var(--bg-1);flex-shrink:0;justify-content:space-between;align-items:center;gap:14px;height:49px;padding:0 16px;display:flex}.studio-preview .toolbar-left{align-items:center;gap:8px;display:flex}.studio-preview .segmented{border-radius:var(--r-s);background:var(--bg-2);gap:1px;padding:3px;display:flex}.studio-preview .segmented button{color:var(--txt-3);border-radius:var(--r-s);background:0 0;border:0;padding:5px 10px;font-size:12px}.studio-preview .segmented button.active{background:var(--raise);color:var(--txt)}.studio-preview .device-controls{gap:2px;display:flex}.studio-preview .device-controls button{color:var(--txt-3);border-radius:var(--r-s);background:0 0;border:0;align-items:center;gap:5px;padding:6px 8px;font-size:12px;display:flex}.studio-preview .device-controls button.active{color:var(--txt);background:var(--bg-2)}.studio-preview .canvas-subbar{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;height:42px;padding:0 17px;display:flex}.studio-preview .mode-controls{align-items:center;gap:8px;display:flex}.studio-preview .mode-controls button{border-radius:var(--r-s);color:var(--txt-3);background:0 0;border:0;align-items:center;gap:6px;padding:5px 6px;font-size:12px;display:flex}.studio-preview .mode-controls button.active{color:var(--acc-strong);background:var(--acc-soft)}.studio-preview .canvas-mode-hint{color:var(--txt-3);text-align:right;font-size:12px}.studio-preview .stage-scroll{background-color:var(--bg);background-image:linear-gradient(color-mix(in srgb, var(--line) 28%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--line) 28%, transparent) 1px, transparent 1px);background-size:32px 32px;flex:1;padding:24px 26px 36px;overflow:auto}.studio-preview .artboard-heading{color:var(--txt-3);justify-content:space-between;align-items:center;max-width:100%;margin:0 auto 9px;font-size:12px;display:flex}.studio-preview .artboard-live{align-items:center;gap:5px;font-size:12px;display:flex}.studio-preview .artboard-live i{background:var(--ok);border-radius:50%;width:4px;height:4px}.studio-preview .artboard-wrap{background:var(--bg);box-shadow:0 0 0 1px var(--line-2), var(--sh-modal);border-radius:0;margin:0 auto;position:relative;overflow:hidden}.studio-preview #canvas-frame{transform-origin:0 0;background:var(--bg);border:0;display:block;position:absolute;top:0;left:0}.studio-preview .stage-footnote{color:var(--txt-3);text-align:center;max-width:460px;margin:20px auto 0;font-size:12px;line-height:1.6}.studio-preview .canvas-status{background:var(--bg-1);border-top:1px solid var(--line);height:31px;color:var(--txt-3);flex-shrink:0;align-items:center;gap:12px;padding:0 15px;font-size:12px;display:flex}.studio-preview .save-state{white-space:nowrap;align-items:center;gap:5px;display:flex}.studio-preview .save-state i{background:var(--ok);border-radius:50%;width:5px;height:5px}.studio-preview #revision-status{color:var(--txt-3);border-right:1px solid var(--line);padding-right:12px;font-family:Geist Mono,monospace}.studio-preview #fit{color:var(--txt-3);background:0 0;border:0;align-items:center;gap:5px;padding:0;font-size:12px;display:flex}.studio-preview .status-selected{text-overflow:ellipsis;white-space:nowrap;margin-left:auto;overflow:hidden}.studio-preview .selection-head{border-bottom:1px solid var(--line);padding:17px 16px 15px}.studio-preview .selection-type{align-items:center;gap:8px;display:flex}.studio-preview .selection-type b{font-size:13px;font-weight:500}.studio-preview .type-icon{color:var(--acc)}.studio-preview .selection-path{color:var(--txt-3);margin-top:8px;font-size:12px;line-height:1.7}.studio-preview .source-link{color:var(--txt-3);background:0 0;border:0;align-items:center;gap:5px;margin-top:9px;padding:0;font:10px Geist Mono,monospace;display:flex}.studio-preview .source-link:hover{color:var(--acc)}.studio-preview .prop-group{border-bottom:1px solid var(--line);padding:16px}.studio-preview .group-title{color:var(--txt-2);justify-content:space-between;align-items:center;margin:0 0 13px;font-size:12px;font-weight:500;display:flex}.studio-preview .group-title small{color:var(--txt-3);font-size:12px;font-weight:400}.studio-preview .field{flex-direction:column;gap:7px;margin:0 0 13px;display:flex}.studio-preview .field:last-child{margin-bottom:0}.studio-preview .field>span{color:var(--txt-3);font-size:12px}.studio-preview .ctl{background:var(--bg);border:1px solid var(--line-2);color:var(--txt);border-radius:var(--r-s);resize:vertical;outline:none;width:100%;min-height:34px;padding:8px 10px;font-size:12px;line-height:1.5}.studio-preview .ctl:focus{outline:2px solid var(--acc);outline-offset:-2px;box-shadow:none;border-color:#0000}.studio-preview textarea.ctl{min-height:85px}.studio-preview .field-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.studio-preview .field-row .field{margin-bottom:0}.studio-preview .align-options{gap:4px;display:flex}.studio-preview .align-options button{border:1px solid var(--line);background:var(--bg);color:var(--txt-3);border-radius:var(--r-s);text-align:center;flex:1;padding:7px 1px;font-size:12px}.studio-preview .align-options button.selected{background:var(--acc-soft);color:var(--acc-strong);outline:1px solid var(--acc);border-color:#0000}.studio-preview .swatches{gap:7px;display:flex}.studio-preview .swatch{border:1px solid var(--line-2);border-radius:var(--r-s);justify-content:center;align-items:center;width:34px;height:28px;display:flex;position:relative}.studio-preview .swatch.selected{outline:2px solid var(--acc);outline-offset:2px;border-color:#0000}.studio-preview .swatch-selected-label{color:var(--txt-3);margin-top:9px;font-size:12px}.studio-preview .surface-clear{background-image:linear-gradient(45deg, var(--bg-2) 25%, transparent 25%), linear-gradient(-45deg, var(--bg-2) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--bg-2) 75%), linear-gradient(-45deg, transparent 75%, var(--bg-2) 75%);background-position:0 0,0 4px,4px -4px,-4px 0;background-size:8px 8px}.studio-preview .token-note{color:var(--txt-3);margin:13px 0 0;font-size:12px;line-height:1.7}.studio-preview .element-actions{grid-template-columns:1fr 1fr;gap:7px;display:grid}.studio-preview .element-actions .button{min-height:32px;padding:6px 8px;font-size:12px}.studio-preview .element-actions .danger{color:var(--danger-txt)}.studio-preview .select-empty{color:var(--txt-3);padding:22px 18px;font-size:12px;line-height:1.7}.studio-preview .assistant-intro{flex-wrap:wrap;align-items:center;gap:9px;margin:20px 16px 10px;display:flex}.studio-preview .assistant-intro b{font-size:13px;font-weight:500}.studio-preview .local-badge{border-radius:var(--r-s);background:var(--bg-2);color:var(--txt-3);margin-left:30px;padding:4px 6px;font-size:12px}.studio-preview .assistant-caption{color:var(--txt-3);margin:12px 16px;font-size:12px;line-height:1.7}.studio-preview .context-chip{border-radius:var(--r-s);background:var(--acc-soft);align-items:center;gap:7px;margin:17px 16px;padding:10px 11px;font-size:12px;display:flex}.studio-preview #assistant-content>.field,.studio-preview #assistant-content>.button{width:calc(100% - 32px);margin-left:16px;margin-right:16px}.studio-preview .prompt-presets{flex-wrap:wrap;gap:5px;margin:0 16px 15px;display:flex}.studio-preview .prompt-presets button{border:1px solid var(--line);color:var(--txt-3);border-radius:var(--r-full);background:0 0;padding:5px 7px;font-size:12px}.studio-preview .prompt-presets button:hover{color:var(--txt);background:var(--bg-2)}.studio-preview .micro-note{color:var(--txt-3);margin:15px 16px;font-size:12px;line-height:1.7}.studio-preview .proposal-card{border:1px solid var(--line);border-radius:var(--r-m);background:var(--bg);margin:17px 16px;padding:14px}.studio-preview .proposal-card h3{margin:0 0 8px;font-size:12px;font-weight:500}.studio-preview .proposal-card p{color:var(--txt-3);margin:0 0 12px;font-size:12px;line-height:1.6}.studio-preview .proposal-diff{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:var(--r-s);background:var(--bg-2);color:var(--ok-txt);margin:0 0 12px;padding:9px;font:10px/1.7 Geist Mono,monospace}.studio-preview .proposal-error{color:var(--danger-txt);margin:17px 16px;font-size:12px;line-height:1.7}.studio-preview .code-view,.studio-preview .history-view{background:var(--bg);flex:1;min-height:0;overflow:auto}.studio-preview .code-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;display:flex}.studio-preview .code-heading b{margin-bottom:6px;font:12px Geist Mono,monospace;display:block}.studio-preview .code-heading span{color:var(--txt-3);font-size:12px}.studio-preview .code-notice{color:var(--txt-3);border-bottom:1px solid var(--line);padding:12px 22px;font-size:12px;line-height:1.6}.studio-preview .source-rows{padding:14px 0;overflow:auto}.studio-preview .source-row{text-align:left;width:100%;color:var(--txt-2);font:12px/1.8 var(--font-mono);background:0 0;border:0;gap:17px;min-width:max-content;padding:2px 15px;display:flex}.studio-preview .source-row.selectable:hover{background:var(--bg-2);cursor:pointer}.studio-preview .source-row.selected{background:var(--acc-soft);color:var(--acc-strong);box-shadow:inset 2px 0 var(--acc)}.studio-preview .source-number{color:var(--txt-3);text-align:right;-webkit-user-select:none;user-select:none;flex-shrink:0;width:35px}.studio-preview .source-text{white-space:pre}.studio-preview .history-view{padding:30px}.studio-preview .history-title{color:var(--acc);align-items:center;gap:11px;display:flex}.studio-preview .history-title h2{color:var(--txt);margin:0;font-size:24px;font-weight:500}.studio-preview .history-view>p{color:var(--txt-3);max-width:490px;font-size:12px;line-height:1.7}.studio-preview #history-list{margin:24px 0}.studio-preview .history-event{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:13px 0;font-size:12px;display:flex}.studio-preview .history-event>span{color:var(--txt-3);min-width:24px;font:10px Geist Mono,monospace}.studio-preview .history-event b{flex:1;font-weight:400}.studio-preview .history-event small{color:var(--txt-3);font-size:12px}.studio-preview .history-empty{color:var(--txt-3);padding:20px 0;font-size:12px}.studio-preview .toast{background:var(--float);color:var(--txt);box-shadow:var(--sh-pop);border:1px solid var(--line);border-radius:var(--r-pop);z-index:40;max-width:calc(100% - 32px);padding:10px 16px;font-size:12px;line-height:1.6;position:fixed;bottom:44px;left:50%;transform:translate(-50%)}.studio-preview .app-dialog{background:var(--bg-1);color:var(--txt);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--sh-modal);width:calc(100% - 32px);max-width:650px;padding:26px}.studio-preview .app-dialog::backdrop{background:var(--shade)}.studio-preview .app-dialog.narrow{max-width:440px}.studio-preview .dialog-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.studio-preview .dialog-header h2{letter-spacing:-.5px;margin:0;font-size:24px;font-weight:500;line-height:1.3}.studio-preview .app-dialog>p{color:var(--txt-2);margin:0 0 20px;font-size:12px;line-height:1.8}.studio-preview .about-grid{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;gap:20px;margin-bottom:19px;padding:18px 0;display:grid}.studio-preview .about-grid b{font-size:12px;font-weight:500}.studio-preview .about-grid ul{color:var(--txt-3);padding-left:16px;font-size:12px;line-height:1.8}.studio-preview .app-dialog>.dialog-note{color:var(--txt-3);font-size:12px}.studio-preview .dialog-actions{justify-content:flex-end;gap:10px;display:flex}.studio-preview .export-choice{text-align:left;border:1px solid var(--line);border-radius:var(--r-m);background:var(--bg);align-items:center;gap:13px;width:100%;margin-top:10px;padding:15px 12px;display:flex}.studio-preview .export-choice:hover{background:var(--bg-2)}.studio-preview .export-choice>span:first-child{color:var(--acc)}.studio-preview .export-choice b{font-size:12px;font-weight:500}.studio-preview .export-choice small{color:var(--txt-3);margin-top:4px;font-size:12px;line-height:1.6;display:block}.studio-preview .mobile-panel-button,.studio-preview .mobile-close{display:none}.studio-preview .mobile-scrim{background:var(--shade);z-index:5;position:fixed;inset:68px 0 0}@media (min-width:1800px){.studio-preview .workspace{grid-template-columns:250px minmax(0,1fr) 310px}}@media (max-width:1150px){.studio-preview .workspace{grid-template-columns:200px minmax(0,1fr) 270px}.studio-preview .studio-header{gap:15px}.studio-preview .brand{min-width:185px;font-size:20px}.studio-preview .demo-chip{display:none}.studio-preview #project-name{width:200px}.studio-preview .canvas-mode-hint{display:none}.studio-preview .header-actions{gap:6px}}@media (max-width:1000px){.studio-preview .workspace{grid-template-columns:minmax(0,1fr) 280px}.studio-preview .left-panel{display:none}.studio-preview .mobile-panel-button{display:inline-flex}.studio-preview .left-panel.open{z-index:6;width:250px;box-shadow:var(--sh-drawer);display:flex;position:fixed;top:68px;bottom:0;left:0}.studio-preview .left-panel.open .mobile-close{display:inline-flex}.studio-preview .brand{min-width:150px}.studio-preview .project-heading{min-width:0}.studio-preview .project-kind{display:none}.studio-preview #project-name{width:185px;min-width:0}.studio-preview .history-buttons{padding-right:6px}}@media (max-width:820px){.studio-preview .device-text{display:none}}@media (max-width:700px){.studio-preview .studio-header{gap:10px;height:57px;padding:0 12px}.studio-preview .brand{gap:7px;min-width:0;font-size:20px}.studio-preview .brand svg{width:26px;height:26px}.studio-preview .brand-sub{font-size:12px}.studio-preview .project-heading{display:none}.studio-preview .header-actions{gap:2px;margin-left:auto}.studio-preview .history-buttons{border:0;padding:0}.studio-preview .theme-select{width:75px;height:31px;padding:5px;font-size:12px}.studio-preview .export-more{display:inline-flex}.studio-preview #about{display:none}.studio-preview .workspace{height:calc(100dvh - 57px);display:flex}.studio-preview .center{width:100%}.studio-preview .left-panel,.studio-preview .right-panel{display:none}.studio-preview .left-panel.open,.studio-preview .right-panel.open{z-index:6;box-shadow:var(--sh-drawer);width:min(320px,100vw - 34px);display:flex;position:fixed;top:57px;bottom:0}.studio-preview .left-panel.open{left:0}.studio-preview .right-panel.open{right:0}.studio-preview .mobile-close{display:inline-flex}.studio-preview .mobile-scrim{top:57px}.studio-preview .canvas-toolbar{gap:5px;height:48px;padding:0 9px}.studio-preview .toolbar-left{gap:4px}.studio-preview .segmented button{padding:5px 8px;font-size:12px}.studio-preview .device-controls button{padding:6px}.studio-preview .device-text{display:none}.studio-preview .canvas-subbar{height:41px;padding:0 12px}.studio-preview .stage-scroll{padding:20px 16px 25px}.studio-preview .canvas-status{gap:9px;padding:0 10px;font-size:12px}.studio-preview .status-selected{display:none}.studio-preview .stage-footnote,.studio-preview .artboard-live{font-size:12px}.studio-preview .code-heading{padding:15px}.studio-preview .code-heading span{font-size:12px}.studio-preview .code-notice{padding:11px 15px;font-size:12px}.studio-preview .source-row{gap:12px;font-size:12px}.studio-preview .source-number{width:27px}.studio-preview .history-view{padding:22px}.studio-preview .history-title h2{font-size:20px}.studio-preview .about-grid{grid-template-columns:1fr;gap:12px}.studio-preview .app-dialog{padding:22px}.studio-preview .dialog-header h2{font-size:24px}}@media (max-width:380px){.studio-preview .brand>span:last-child{display:none}.studio-preview .segmented button{padding:5px 6px}.studio-preview .device-controls button{padding:6px 4px}}@media (prefers-reduced-motion:reduce){.studio-preview,.studio-preview *{scroll-behavior:auto!important;transition:none!important}}.studio-preview{isolation:isolate;width:100%;height:100dvh;color:var(--txt);background:var(--bg);font-family:Onest,sans-serif;position:relative;overflow:hidden}.studio-stage-shell{height:100dvh;overflow:hidden}.studio-stage-shell>main{outline:none;height:100%}.studio-stage-loading{gap:14px;padding:32px;display:grid}
.studio-preview.studio-code{flex-direction:column;display:flex}.studio-code .studio-header{flex-shrink:0}.studio-code .workspace{flex:1;height:auto;min-height:0}.studio-code .artboard-wrap iframe{transform-origin:0 0;border:0;display:block}.studio-code .r0-project-name{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-weight:500;overflow:hidden}.studio-code .r0-project-title{align-items:center;gap:2px;min-width:0;display:flex}.studio-code .r0-rename{flex-shrink:0}.studio-code .r0-rename-form{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.studio-code .r0-rename-form .ctl{width:min(280px,100%);min-width:0}.studio-code .r0-rename-error{color:var(--danger-txt);flex-basis:100%;font-size:12px}.studio-code .studio-header .r0-rename-form{flex-wrap:nowrap;position:relative}.studio-code .studio-header .r0-rename-form .ctl{flex:0 280px;width:auto}.studio-code .studio-header .r0-rename-error{white-space:nowrap;line-height:14px;position:absolute;top:calc(100% + 2px);left:0}@media (max-width:1000px){.studio-code .studio-header:has(.r0-rename-form) .brand{display:none}.studio-code .studio-header .r0-rename-form .ctl{min-width:120px}}.studio-code .r0-sidebar-project{margin:8px 16px 0;display:none}@media (max-width:700px){.studio-code .r0-sidebar-project{display:flex}}.studio-code .r0-error-banner{background:var(--warn-soft);color:var(--warn-txt);border-bottom:1px solid var(--warn-line);flex-shrink:0;align-items:center;gap:16px;padding:12px 20px;line-height:1.6;display:flex}.studio-code .r0-error-banner span{flex:1}.studio-code .r0-error-banner button{flex-shrink:0}.studio-code .r0-projects{background:radial-gradient(ellipse at 15% 20%,var(--acc-soft),transparent 55%);flex:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:center;gap:80px;min-height:0;padding:64px max(32px,50vw - 590px);display:grid;overflow:auto}.studio-code .r0-project-intro h1{letter-spacing:-1px;margin:16px 0 24px;font-size:32px;font-weight:600;line-height:1.1}.studio-code .r0-eyebrow{letter-spacing:1.5px;color:var(--acc-strong);font-size:12px;font-weight:500}.studio-code .r0-project-intro>p{color:var(--txt-2);max-width:480px;margin-bottom:28px;font-size:16px;line-height:1.7}.studio-code .r0-project-intro .button{padding:12px 18px;font-size:14px}.studio-code .r0-project-intro .micro-note{color:var(--txt-3);margin:18px 0;font-size:12px;line-height:1.8}.studio-code a:not(.icon-btn){color:var(--acc-strong)}.studio-code .r0-project-list h2{margin-bottom:22px;font-size:16px;font-weight:500}.studio-code .r0-project-list>.micro-note{border:1px dashed var(--line-2);border-radius:var(--r-m);padding:28px}.studio-code .r0-project-card{text-align:left;background:var(--bg-1);border:1px solid var(--line);border-radius:var(--r-m);align-items:center;gap:16px;width:100%;margin-bottom:12px;padding:24px;display:flex}.studio-code .r0-project-card:hover{background:var(--bg-2)}.studio-code .r0-project-card>svg:first-child{color:var(--acc)}.studio-code .r0-project-card>span{flex:1;min-width:0}.studio-code .r0-project-card b{margin-bottom:8px;font-size:14px;font-weight:500;display:block}.studio-code .r0-project-card small{color:var(--txt-3);overflow-wrap:anywhere;font:12px/1.5 Geist Mono,monospace;display:block}.studio-code .r0-inspector{padding-bottom:24px}.studio-code .r0-project-switcher{display:none}.studio-code .r0-group{border-bottom:1px solid var(--line);padding:20px 16px}.studio-code .r0-group h2{align-items:center;gap:8px;margin:0 0 14px;font-size:14px;font-weight:500;display:flex}.studio-code .r0-group h2 svg{color:var(--acc)}.studio-code .r0-group h3{margin:0 0 18px;font-size:12px;font-weight:500}.studio-code .r0-group>p{color:var(--txt-2);overflow-wrap:anywhere;margin:0 0 12px}.studio-code .r0-group code{color:var(--txt-3);margin-bottom:8px;font:12px/1.6 Geist Mono,monospace;display:block}.studio-code .r0-group small{color:var(--txt-3);overflow-wrap:anywhere;font-size:12px;display:block}.studio-code .r0-group fieldset{border:0;min-width:0;margin:0;padding:0}.studio-code .r0-group textarea{resize:vertical;min-height:128px}.studio-code .r0-group .micro-note{color:var(--txt-3);margin-top:12px;font-size:12px;line-height:1.8}.studio-code .r0-actions{gap:8px;display:flex}.studio-code .r0-actions .button{flex:1}.studio-code .r0-layer{border-radius:var(--r-s);align-items:center;gap:4px;min-height:34px;padding-right:6px;display:flex;position:relative}.studio-code .r0-layer:hover{background:var(--bg-2)}.studio-code .r0-layer.selected{background:var(--acc-soft)}.studio-code .r0-layer.selected .r0-tag{color:var(--acc-strong)}.studio-code .r0-tag{color:var(--txt-3);place-items:center;min-width:18px;display:inline-grid}.studio-code .r0-layer-search{border-bottom:1px solid var(--line);padding:10px 12px}.studio-code .r0-layer-search label{margin-bottom:8px;font-size:12px;font-weight:500;display:block}.studio-code .r0-layer-search-controls{align-items:center;gap:4px;min-width:0;display:flex}.studio-code .r0-layer-search-controls input{flex:1;width:100%;min-width:0;min-height:36px;font-size:14px}.studio-code .r0-layer-search-controls input::-webkit-search-cancel-button{appearance:none}.studio-code .r0-layer-search-controls .icon-btn{flex-shrink:0;width:36px;min-height:36px}@media (pointer:coarse){.studio-code .r0-layer-search-controls input{min-height:44px}.studio-code .r0-layer-search-controls .icon-btn{width:44px;min-height:44px}}.studio-code .r0-layer-search p,.studio-code .r0-layer-empty{color:var(--txt-2);overflow-wrap:anywhere;margin:10px 0 0;font-size:12px;line-height:1.7}.studio-code .r0-layer-empty{padding:0 16px 16px}.studio-code .r0-layer[data-search-match=true] .layer-text{font-weight:600}.studio-code .r0-layer[data-search-match=false] .r0-tag{color:var(--txt-2)}.studio-code .r0-grip{border-radius:var(--r-s);width:32px;min-height:34px;color:var(--txt-3);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;display:flex}.studio-code .r0-grip:hover:not(:disabled){background:var(--bg-2);color:var(--txt)}.studio-code .r0-grip:active:not(:disabled){cursor:grabbing}.studio-code .r0-grip:disabled{cursor:not-allowed}.studio-code .r0-grip svg{transform:rotate(90deg)}.studio-code .r0-layer[data-drop-position=before]:before,.studio-code .r0-layer[data-drop-position=after]:after{content:"";border-radius:var(--r-2xs);background:var(--acc-strong);pointer-events:none;z-index:1;height:3px;position:absolute;left:6px;right:6px}.studio-code .r0-layer[data-drop-position=before]:before{top:-1px}.studio-code .r0-layer[data-drop-position=after]:after{bottom:-1px}.studio-code .r0-layer[data-drop-position=inside]{outline:2px dashed var(--acc-strong);outline-offset:-2px}.studio-code .r0-layer[data-drag-source=true] .layer-text{opacity:.65}.studio-code .r0-canvas-grip{z-index:2;border:1px solid var(--acc-line);background:var(--bg-1);width:auto;min-height:32px;color:var(--txt);gap:4px;padding:0 8px 0 4px;font-size:12px;position:absolute}.studio-code .r0-drag-shield{z-index:20;touch-action:none;cursor:grabbing;position:fixed;inset:0}.studio-code .r0-drag-feedback{z-index:30;pointer-events:none;background:var(--bg-1);width:256px;max-width:calc(100vw - 16px);color:var(--txt);border:1px solid var(--acc-line);border-radius:var(--r-s);box-shadow:var(--sh-modal);overflow-wrap:anywhere;padding:12px 14px;font-size:12px;line-height:1.6;position:fixed}.studio-code .r0-drag-feedback b,.studio-code .r0-drag-feedback span,.studio-code .r0-drag-feedback small{display:block}.studio-code .r0-drag-feedback b{color:var(--acc-strong);margin-bottom:4px;font-weight:500}.studio-code .r0-drag-feedback small{color:var(--txt-2);margin-top:6px;font-size:12px}.studio-code .r0-drag-sr{clip-path:inset(50%);white-space:nowrap;pointer-events:none;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.studio-code .r0-source{flex:1;padding:20px 0;overflow:auto}.studio-code .r0-code{flex-direction:column;min-height:0;display:flex}.studio-code .r0-source-line{text-align:left;white-space:pre;min-width:100%;color:var(--txt-2);background:0 0;border:0;gap:20px;padding:4px 20px;font:12px/1.7 Geist Mono,monospace;display:flex}.studio-code .r0-source-line:disabled{opacity:1;cursor:text}.studio-code .r0-source-line>span{color:var(--txt-3);text-align:right;-webkit-user-select:none;user-select:none;min-width:24px}.studio-code .r0-source-line.selected{background:var(--acc-soft)}.studio-code .r0-source-line:hover:not(:disabled){background:var(--bg-2)}.studio-code .r0-source-line:focus-visible,.studio-code .r0-source:focus-visible{outline:2px solid var(--acc-strong);outline-offset:-2px}.studio-code .r0-code .code-heading{flex-wrap:wrap;flex-shrink:0;min-width:0}.studio-code .r0-code .code-heading>div{overflow-wrap:anywhere;min-width:0}.studio-code .r0-source-jump,.studio-code .r0-show-source{min-height:44px;font-size:14px}.studio-code .r0-source-location{overflow-wrap:anywhere;margin-top:8px;display:block}@media (max-height:600px){.studio-code[data-view=code] .canvas-subbar{display:none}.studio-code .r0-code .code-heading{padding:8px 12px}.studio-code .r0-code .code-heading>div>span{display:none}.studio-code .r0-code .code-notice{flex-shrink:0;min-height:0;max-height:54px;padding:6px 12px;overflow:auto}.studio-code .r0-source-location{margin-top:0}.studio-code .r0-source-help,.studio-code .r0-source-lock-note{display:none}.studio-code[data-view=code] .r0-draft-banner,.studio-code[data-view=code] .r0-error-banner{max-height:14dvh;overflow:auto}}.studio-code .r0-history h2{letter-spacing:-.5px;margin:0 0 12px;font-size:24px;font-weight:500}.studio-code .r0-history>p{color:var(--txt-3);margin:0 0 28px;line-height:1.8}.studio-code .r0-version{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;padding:18px 0;display:flex}.studio-code .r0-version b{font-size:13px;font-weight:400;display:block}.studio-code .r0-version code{color:var(--txt-3);margin-top:5px;font:12px/1.7 Geist Mono,monospace;display:block}.studio-code .r0-version small{color:var(--acc-strong)}.studio-code .r0-history,.studio-code .r0-version-entry,.studio-code .r0-version-comparison{min-width:0}.studio-code .r0-history>p{color:var(--txt-2);font-size:14px}.studio-code .r0-version>span{overflow-wrap:anywhere;min-width:0}.studio-code .r0-version-actions{flex-wrap:wrap;flex-shrink:0;gap:8px;display:flex}.studio-code .r0-version-review{border:1px solid var(--line);border-radius:var(--r-s);background:var(--bg-1);min-width:0;margin:16px 0 24px;padding:20px;font-size:14px;line-height:1.7}.studio-code .r0-version-review p{color:var(--txt-2);overflow-wrap:anywhere;margin:12px 0}.studio-code .r0-version-review-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.studio-code .r0-version-review h3{margin:0;font-size:20px;font-weight:500}.studio-code .r0-diff-summary{font-weight:500}.studio-code .r0-version-review code{font:14px/1.7 Geist Mono,monospace}.studio-code .r0-diff-scroll{border:1px solid var(--line);border-radius:var(--r-s);max-width:100%;max-height:360px;margin:16px 0;overflow:auto}.studio-code .r0-diff-scroll:focus-visible{outline:2px solid var(--acc-strong);outline-offset:2px}.studio-code .r0-source-diff{border-collapse:collapse;min-width:100%;color:var(--txt);font:14px/1.7 Geist Mono,monospace}.studio-code .r0-source-diff caption{text-align:left;color:var(--txt-2);padding:12px;font:14px/1.7 Geist,sans-serif}.studio-code .r0-source-diff th{text-align:left;border-bottom:1px solid var(--line);white-space:nowrap;background:var(--bg-2);padding:8px 12px;font-weight:500}.studio-code .r0-source-diff td{vertical-align:top;white-space:pre;padding:2px 12px}.studio-code .r0-source-diff td:nth-child(-n+2){text-align:right;color:var(--txt-2)}.studio-code .r0-diff-remove{background:var(--danger-soft)}.studio-code .r0-diff-add{background:var(--ok-soft)}.studio-code .r0-source-diff small{color:var(--txt-2);margin-left:12px;font-size:14px}.studio-code .r0-source-diff .r0-diff-gap td{color:var(--txt-2);white-space:normal;text-align:left;padding:8px 12px}.studio-code .r0-version-sources details{margin:16px 0}.studio-code .r0-version-sources summary{cursor:pointer;min-height:44px;padding:10px 0}.studio-code .r0-version-sources pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;color:var(--txt);border:1px solid var(--line);border-radius:var(--r-s);padding:12px;font:14px/1.7 Geist Mono,monospace;overflow:auto}.studio-code .r0-version-sources pre:focus-visible{outline:2px solid var(--acc-strong);outline-offset:2px}@media (max-width:700px){.studio-code .r0-version{flex-wrap:wrap;align-items:flex-start}.studio-code .r0-version-actions{width:100%}.studio-code .r0-version-review{padding:16px}.studio-code .r0-version-review-heading{gap:8px}}.studio-code .r0-alert{background:var(--danger-soft);border:1px solid var(--danger-line);border-radius:var(--r-s);color:var(--danger-txt);padding:16px}.studio-code .canvas-status{flex-shrink:0}.studio-code .r0-scrim{z-index:5;background:var(--shade);border:0;display:none;position:fixed;inset:68px 0 0}.studio-code .r0-node-actions{flex-wrap:wrap;margin-top:10px}.studio-code .r0-node-actions .button{gap:6px;min-width:100px;font-size:12px}.studio-code .r0-danger{color:var(--danger-txt)}.studio-code .r0-delete-confirm{background:var(--danger-soft);border:1px solid var(--danger-line);border-radius:var(--r-s);margin-top:16px;padding:12px;font-size:12px;line-height:1.7}.studio-code .r0-delete-confirm p{overflow-wrap:anywhere}.studio-code .r0-delete-confirm .r0-actions{flex-wrap:wrap}.studio-code .r0-delete-confirm .button{min-width:90px;font-size:12px}.studio-code .r0-draft-banner{border-bottom:1px solid var(--acc-line);background:var(--acc-soft);color:var(--txt-2);flex-shrink:0;padding:10px 20px;font-size:12px;line-height:1.6}.studio-code .r0-sidebar-tabs{border-bottom:1px solid var(--line);flex-shrink:0;gap:18px;padding:0 16px;display:flex}.studio-code .r0-sidebar-tabs button{min-width:44px;min-height:44px;color:var(--txt-3);background:0 0;border:0;border-bottom:2px solid #0000;flex-shrink:0;padding:12px 8px;font-size:12px}.studio-code .r0-sidebar-tabs button.active{color:var(--txt);border-bottom-color:var(--acc)}.studio-code .r0-palette{padding:20px 16px}.studio-code .r0-palette h2{margin:0 0 12px;font-size:14px;font-weight:500}.studio-code .r0-palette .micro-note{color:var(--txt-3);margin:0 0 20px;font-size:12px;line-height:1.8}.studio-code .r0-palette fieldset{border:0;min-width:0;margin:0;padding:0}.studio-code .r0-block-list{flex-direction:column;gap:12px;margin:20px 0;display:flex}.studio-code .r0-block-card{border:1px solid var(--line);border-radius:var(--r-s);background:var(--bg-1);text-align:left;align-items:flex-start;gap:10px;width:100%;padding:14px 12px;display:flex}.studio-code .r0-block-card:hover:not(:disabled){border-color:var(--acc-line);background:var(--acc-soft)}.studio-code .r0-block-card>svg{color:var(--acc);flex-shrink:0}.studio-code .r0-block-card>span{min-width:0}.studio-code .r0-block-card b{margin-bottom:5px;font-size:12px;font-weight:500;display:block}.studio-code .r0-block-card small{color:var(--txt-3);overflow-wrap:anywhere;font-size:12px;line-height:1.6;display:block}@media (max-width:1000px){.studio-code .r0-project-switcher{justify-content:flex-start;margin:12px 16px 0;display:flex}.studio-code .r0-projects{gap:32px;padding:40px 32px}.studio-code.r0-open-layers .left-panel{z-index:6;width:270px;box-shadow:var(--sh-drawer);display:flex;position:fixed;top:68px;bottom:0;left:0}.studio-code.r0-open-layers .left-panel .mobile-close{display:inline-flex}.studio-code.r0-open-layers .r0-scrim{display:block}}@media (max-width:700px){.studio-code .r0-draft-banner{max-height:20dvh;padding:8px 16px;overflow:auto}.studio-code .r0-projects{padding:40px 24px;display:block}.studio-code .r0-project-list{margin-top:44px}.studio-code .r0-project-intro h1{font-size:32px}.studio-code .r0-project-card{gap:12px;padding:20px}.studio-code .r0-error-banner{flex-direction:column;align-items:flex-start;gap:10px;max-height:35dvh;padding:10px 16px;font-size:12px;overflow:auto}.studio-code .r0-error-banner .button{min-height:32px}.studio-code.r0-open-layers .left-panel,.studio-code.r0-open-inspector .right-panel{z-index:6;box-shadow:var(--sh-drawer);width:min(320px,100vw - 34px);display:flex;position:fixed;top:57px;bottom:0}.studio-code.r0-open-inspector .right-panel{right:0}.studio-code .r0-scrim{top:57px}.studio-code.r0-open-inspector .r0-scrim{display:block}.studio-code .r0-source-line{gap:12px;padding:4px 12px;font-size:12px}.studio-code .r0-version{gap:10px}.studio-code .r0-version .button{padding:5px 8px}}.studio-code .r0-draft-banner{align-items:center;gap:12px;display:flex}.studio-code .r0-draft-banner span{flex:1;min-width:0}.studio-code .r0-draft-banner .button{flex-shrink:0}.studio-code .r0-inline-text{box-sizing:border-box;background:var(--bg-1);width:min(420px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--txt);border:1px solid var(--acc-line);border-radius:var(--r-m);box-shadow:var(--sh-drawer);margin:0;padding:18px;position:fixed;inset:auto;overflow:auto}.studio-code .r0-inline-text::backdrop{background:var(--shade)}.studio-code .r0-inline-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.studio-code .r0-inline-heading h2{align-items:center;gap:8px;margin:0;font-size:14px;font-weight:500;display:flex}.studio-code .r0-inline-heading h2 svg{color:var(--acc)}.studio-code .r0-inline-text textarea{resize:vertical;min-height:110px}.studio-code .r0-inline-text .micro-note{color:var(--txt-3);overflow-wrap:anywhere;margin:12px 0;font-size:12px;line-height:1.7}.studio-code .r0-text-warning{color:var(--warn-txt);border:1px solid var(--warn-line);background:var(--warn-soft);border-radius:var(--r-s);overflow-wrap:anywhere;margin:12px 0;padding:10px;font-size:12px;line-height:1.7}.studio-code .r0-text-compare{border:1px solid var(--line);border-radius:var(--r-s);margin:12px 0;padding:12px}.studio-code .r0-text-compare textarea{min-height:70px;max-height:160px}@media (max-width:700px){.studio-code .r0-draft-banner{flex-wrap:wrap}.studio-code .r0-draft-banner .button{padding:5px 8px;font-size:12px}}.studio-code .studio-header a[aria-disabled=true]{opacity:.45;cursor:not-allowed}.studio-code[data-theme=light] .button.primary{background:var(--acc-strong)}.studio-code[data-theme=light] .button.primary:hover{background:var(--acc-press)}.studio-code .stage-scroll:focus-visible{outline:2px solid var(--acc);outline-offset:-3px}.studio-code .center{position:relative}.studio-code .stage-scroll[data-parked]{visibility:hidden;pointer-events:none;position:absolute;inset:0}.studio-code .r0-inspector-tabs{border-bottom:1px solid var(--line);flex-shrink:0;gap:18px;padding:0 16px;display:flex}.studio-code .r0-inspector-tabs button{color:var(--txt-3);background:0 0;border:0;border-bottom:2px solid #0000;padding:12px 0;font-size:12px}.studio-code .r0-inspector-tabs button.active{color:var(--txt);border-bottom-color:var(--acc)}.studio-code .r0-element-body{flex-direction:column;flex:1;min-height:0;display:flex}.studio-code .r0-element-body[hidden]{display:none}.studio-code .r0-agent .r0-actions{flex-wrap:wrap}.studio-code .r0-agent .r0-actions .button{min-width:110px;font-size:12px}.studio-code .r0-agent-summary{margin-top:16px}.studio-code .r0-agent-diff-title{margin-top:24px}.studio-code .r0-agent-change{border:1px solid var(--line);border-radius:var(--r-s);background:var(--bg);margin:12px 0;padding:12px}.studio-code .r0-agent-change h4{overflow-wrap:anywhere;margin:0 0 12px;font-size:12px;font-weight:500;line-height:1.7}.studio-code .r0-agent-change dl,.studio-code .r0-agent-change dd{margin:0}.studio-code .r0-agent-change dt{color:var(--txt-2);margin-top:10px;font-size:12px}.studio-code .r0-agent pre{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--txt);margin:6px 0;font:12px/1.7 Geist Mono,monospace}.studio-code .r0-agent-source{margin:20px 0;font-size:12px;line-height:1.7}.studio-code .r0-agent-source pre{max-height:240px;overflow:auto}.studio-code .r0-agent-steps{flex-direction:column;gap:12px;margin:16px 0 8px;padding:0;list-style:none;display:flex}.studio-code .r0-agent-steps li{flex-direction:column;gap:6px;display:flex}.studio-code .r0-agent-preview-banner{border:1px solid var(--warn-line);border-radius:var(--r-s);background:var(--warn-soft);color:var(--warn-txt);align-items:center;gap:12px;margin-bottom:16px;padding:12px 16px;font-size:12px;line-height:1.7;display:flex}.studio-code .r0-agent-preview-banner span{flex:1;min-width:0}.studio-code .r0-agent-preview-banner .button{flex-shrink:0;font-size:12px}@media (max-width:700px){.studio-code .r0-agent-preview-banner{flex-wrap:wrap}.studio-code .r0-agent-preview-banner .button{width:100%}}.studio-code .r0-agent-scope{align-self:flex-start;gap:4px;margin-bottom:4px;display:flex}.studio-code .r0-agent-scope button{border:1px solid var(--line);border-radius:var(--r-full);min-height:32px;color:var(--txt-2);font:500 12px var(--font);cursor:pointer;background:0 0;padding:0 10px}.studio-code .r0-agent-scope button.active{border-color:var(--acc-line);background:var(--acc-soft);color:var(--acc-strong)}.studio-code .r0-agent-scope button:disabled{cursor:default;opacity:.6}.studio-code .r0-panel-title{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.studio-code .r0-image-files{flex-direction:column;gap:4px;max-height:220px;display:flex;overflow:auto}.studio-code .r0-image-file{text-align:left;border:1px solid var(--line);border-radius:var(--r-s);background:var(--bg-1);color:var(--txt);text-overflow:ellipsis;white-space:nowrap;padding:8px 10px;font-size:13px;overflow:hidden}.studio-code .r0-image-file[aria-selected=true]{border-color:var(--acc)}.studio-code .r0-publish{border-bottom:1px solid var(--line);flex-direction:column;gap:8px;margin-bottom:8px;padding:12px 0;display:flex}.studio-code .r0-publish-fresh{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.studio-code .r0-publish-fresh .ctl{flex:220px;min-width:0}.studio-code .r0-publish-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.studio-code .r0-publish-list li{color:var(--txt-2);justify-content:space-between;align-items:center;gap:8px;font-size:13px;display:flex}.studio-code .r0-publish-tail{white-space:nowrap}.studio-code .r0-site h3{margin:0}.studio-code .r0-site-field{color:var(--txt-2);flex-direction:column;gap:4px;font-size:13px;display:flex}.studio-code .r0-site-slug{align-items:center;gap:0;min-width:0;display:flex}.studio-code .r0-site-slug .ctl{border-top-right-radius:0;border-bottom-right-radius:0;flex:auto;min-width:0}.studio-code .r0-site-suffix{border:1px solid var(--line-2);border-radius:0 var(--r-s) var(--r-s) 0;background:var(--bg-2,transparent);color:var(--txt-3);border-left:0;flex:none;align-self:stretch;align-items:center;padding:0 10px;font-size:13px;display:flex}.studio-code .r0-site-check{color:var(--txt-2);align-items:flex-start;gap:8px;font-size:13px;display:flex}.studio-code .r0-site-url{overflow-wrap:anywhere;margin:0;font-size:16px}.studio-code .r0-site-space{font-size:13px;line-height:1.45}.studio-code .studio-header{gap:12px;height:64px;padding:0 12px}.studio-code .project-heading{flex:0 auto;gap:6px;min-width:0;display:flex}.studio-code .project-heading .r0-project-name{font-size:16px;font-weight:600}.studio-code .studio-save{color:var(--txt-3);white-space:nowrap;align-items:center;gap:6px;font-size:12px;display:inline-flex}.studio-code .studio-save i{background:var(--ok);border-radius:50%;flex:none;width:7px;height:7px}.studio-code .studio-save.warn i{background:var(--warn)}.studio-code .header-center{flex:1;justify-content:center;align-items:center;gap:12px;min-width:0;display:flex}.studio-code .header-actions{gap:4px;margin-left:auto}.studio-code .header-actions .history-buttons{border-right:0;padding-right:0}.studio-code .mode-controls{border-left:1px solid var(--line);border-right:1px solid var(--line);gap:2px;padding:0 6px;display:flex}.studio-code .mode-controls .r0-mode{gap:6px}.studio-code .r0-more{position:relative}.studio-code .r0-more-menu{z-index:20;border:1px solid var(--line);border-radius:var(--r-m);background:var(--bg-1);min-width:260px;box-shadow:var(--sh-pop);flex-direction:column;gap:2px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0}.studio-code .r0-more-row{border-radius:var(--r-s);min-height:36px;color:var(--txt);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:4px 8px;font-size:13px;display:flex}.studio-code .r0-more-row>span{flex:1}.studio-code .r0-more-row:hover:not(:disabled){background:var(--bg-2)}.studio-code .r0-more-row:disabled{color:var(--txt-3);cursor:default}.studio-code .r0-more-row .theme-select{width:96px}.studio-code .device-text{display:none}.studio-code .studio-publish{white-space:nowrap;margin-left:6px}.studio-code .r0-candidate-chip{border-radius:var(--r-full);background:var(--warn-soft);color:var(--warn-txt);white-space:nowrap;padding:3px 10px;font-size:12px}.studio-code .button.primary:disabled{background:var(--bg-2);color:var(--txt-3);border-color:var(--line);box-shadow:none}.studio-code .r0-version time{color:var(--txt-3);margin-top:4px;font-size:12px;display:block}.studio-code .r0-version-actions .button,.studio-code .r0-version-review .button{min-height:44px;font-size:13px}@media (max-width:1100px){.studio-code .device-text,.studio-code .studio-save span{display:none}.studio-code .studio-header{grid-template-columns:auto minmax(0,1fr) auto;gap:6px 12px;height:auto;padding:8px 12px;display:grid}.studio-code .studio-header>:first-child{grid-area:1/1}.studio-code .project-heading{grid-area:1/2}.studio-code .studio-publish{grid-area:1/3}.studio-code .header-center{grid-area:2/1/auto/3;justify-content:flex-start}.studio-code .header-actions{grid-area:2/3}}@media (max-width:700px){.studio-code .studio-header{flex-wrap:wrap;gap:4px 6px;height:auto;padding:8px 10px;display:flex}.studio-code .project-heading{flex:1;order:1;display:flex}.studio-code .project-heading>.icon-btn{display:none}.studio-code .studio-publish{order:2;margin-left:0;padding:8px 12px}.studio-code .header-center{flex-basis:100%;order:3;justify-content:space-between}.studio-code .header-actions{flex-basis:100%;order:4;justify-content:space-between;gap:0;margin-left:0}.studio-code .mode-controls{border:0;padding:0}}.studio-code .artboard-heading{justify-content:flex-end;gap:8px;min-height:40px}.studio-code .studio-header .r0-rename-error{line-height:12px;top:100%}.studio-code .r0-publish-layer{z-index:60;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.studio-code .r0-publish-scrim{background:var(--shade);cursor:default;border:0;position:absolute;inset:0}.studio-code .r0-publish-dialog{border:1px solid var(--line);border-radius:var(--r-xl);background:var(--bg-1);width:min(600px,100%);max-height:calc(100vh - 48px);box-shadow:var(--sh-modal);position:relative;overflow:auto}.studio-code .r0-publish-dialog-h{justify-content:space-between;align-items:center;gap:8px;padding:14px 16px 10px 20px;display:flex}.studio-code .r0-publish-dialog-h b{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:16px;font-weight:600;overflow:hidden}.studio-code .r0-publish-ways{flex-direction:column;gap:8px;padding:0 20px 14px;display:flex}.studio-code .r0-publish-way{border:1px solid var(--line);border-radius:var(--r-m);background:var(--bg);color:var(--txt);text-align:left;cursor:pointer;font:inherit;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.studio-code .r0-publish-way>.ic{color:var(--txt-3);flex:none;margin-top:1px}.studio-code .r0-publish-way b{font-size:14px;font-weight:600;display:block}.studio-code .r0-publish-way small{color:var(--txt-2);margin-top:2px;font-size:13px;line-height:1.4;display:block}.studio-code .r0-publish-way.on{border-color:var(--acc-line);background:var(--acc-soft)}.studio-code .r0-publish-way.on>.ic{color:var(--acc-strong)}.studio-code .r0-publish-way:focus-visible{outline:2px solid var(--acc-strong);outline-offset:2px}.studio-code .r0-publish-body{border-top:1px solid var(--line);padding:14px 20px 20px}.studio-code .r0-publish-body .r0-publish{border:0;margin:0;padding:0}.studio-code .r0-publish-download{flex-wrap:wrap;gap:8px;display:flex}.studio-code .r0-publish-download .micro-note,.studio-code .r0-publish-download [role=alert]{flex-basis:100%;margin:4px 0 0}@media (max-width:700px){.studio-code .r0-publish-layer{place-items:end stretch;padding:0}.studio-code .r0-publish-dialog{border-radius:var(--r-xl) var(--r-xl) 0 0;border-bottom:0;width:100%;max-height:88vh}.studio-code .r0-publish-dialog-h{padding:14px 12px 8px 16px}.studio-code .r0-publish-ways,.studio-code .r0-publish-body{padding-left:16px;padding-right:16px}}.studio-code .r0-publish-body .r0-publish>h3{display:none}.studio-code .r0-float{z-index:6;border:1px solid var(--line);border-radius:var(--r-m);background:var(--bg-1);box-shadow:var(--sh-pop);white-space:nowrap;gap:2px;padding:4px;display:flex;position:relative}.studio-code .r0-float button{border-radius:var(--r-s);color:var(--txt);font:500 13px var(--font);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:6px 10px;display:inline-flex}.studio-code .r0-float button:hover{background:var(--bg-2)}.studio-code .r0-float button.acc{background:var(--acc-soft);color:var(--acc-strong)}.studio-code .r0-float button:focus-visible{outline:2px solid var(--acc-strong);outline-offset:1px}.studio-code .r0-home{padding:0 24px 48px;display:block;overflow:auto}.studio-code .r0-home-ask{text-align:center;max-width:760px;margin:48px auto 28px}.studio-code .r0-home-ask h1{letter-spacing:-.01em;margin:0 0 18px;font-size:32px;font-weight:600}.studio-code .r0-home-prompt{border:1px solid var(--line);border-radius:var(--r-l);background:var(--bg-1);box-shadow:var(--sh-raise);color:var(--acc);align-items:center;gap:10px;padding:8px 8px 8px 14px;display:flex}.studio-code .r0-home-prompt .ctl{min-width:0;box-shadow:none;background:0 0;border:0;flex:1;padding:8px 0;font-size:16px}.studio-code .r0-home-chips{flex-wrap:wrap;justify-content:center;gap:6px;margin-top:14px;display:flex}.studio-code .r0-home-chip{border:1px solid var(--line);border-radius:var(--r-full);background:var(--bg);color:var(--txt-2);font:13px var(--font);cursor:pointer;padding:6px 12px}.studio-code .r0-home-chip:hover{border-color:var(--acc-line);color:var(--txt)}.studio-code .r0-home-ask .micro-note{margin-top:12px}.studio-code .r0-home-grid{max-width:1100px;margin:0 auto}.studio-code .r0-home-grid h2{margin:0 0 12px;font-size:16px;font-weight:600}.studio-code .r0-home-cards{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;display:grid}.studio-code .r0-home-card{border:1px solid var(--line);border-radius:var(--r-l);background:var(--bg-1);color:var(--txt);text-align:left;cursor:pointer;font:inherit;flex-direction:column;padding:0;display:flex;overflow:hidden}.studio-code .r0-home-card:hover{border-color:var(--acc-line)}.studio-code .r0-home-card:focus-visible{outline:2px solid var(--acc-strong);outline-offset:2px}.studio-code .r0-home-thumb{border-bottom:1px solid var(--line);background:var(--acc-soft);height:132px;color:var(--acc-strong);flex-direction:column;justify-content:flex-end;gap:6px;padding:16px;display:flex;position:relative}.studio-code .r0-home-thumb i{border-radius:var(--r-xs);background:var(--acc-line);opacity:.7;height:8px;display:block}.studio-code .r0-home-thumb i:first-child{width:60%;height:12px}.studio-code .r0-home-thumb i:nth-child(2){width:85%}.studio-code .r0-home-thumb i:nth-child(3){width:40%}.studio-code .r0-home-thumb em{opacity:.5;font-size:32px;font-style:normal;font-weight:600;position:absolute;top:12px;right:16px}.studio-code .r0-home-shot{object-fit:cover;object-position:top;width:100%;height:100%;position:absolute;inset:0}.studio-code .r0-home-new .r0-home-thumb{background:var(--bg-2);color:var(--txt-2);justify-content:center;align-items:center}.studio-code .r0-home-meta{flex-direction:column;gap:4px;padding:12px 14px;display:flex}.studio-code .r0-home-meta b{font-size:14px;font-weight:600}.studio-code .r0-home-meta small{color:var(--txt-3);font-size:12px;line-height:1.4}.studio-code .r0-home-lab{color:var(--txt-3);margin-top:20px;font-size:13px;display:inline-block}@media (max-width:700px){.studio-code .r0-home{padding:0 16px 32px}.studio-code .r0-home-ask{margin-top:24px}.studio-code .r0-home-ask h1{font-size:24px}.studio-code .r0-home-prompt .button span{display:none}}.studio-code .r0-home-card.r0-project-card{border-radius:var(--r-l);flex-direction:column;align-items:stretch;gap:0;margin:0;padding:0;display:flex}.studio-code .r0-home-card.r0-project-card>span{flex:none}.studio-code .r0-home-card.r0-project-card b{margin:0;font-weight:600}.studio-code .r0-home-card.r0-project-card small{font:12px/1.4 var(--font)}.studio-code .r0-home-card.r0-project-card:hover{background:var(--bg-1)}.studio-code .studio-tabbar{display:none}@media (max-width:700px){.studio-code .studio-tabbar{z-index:8;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--bg-1);grid-template-columns:repeat(5,1fr);gap:4px;display:grid;position:fixed;bottom:0;left:0;right:0}.studio-code .studio-tabbar-views{display:contents}.studio-code .studio-tabbar button{border-radius:var(--r-m);min-height:48px;color:var(--txt-3);font:500 12px var(--font);cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;padding:6px 0;display:flex}.studio-code .studio-tabbar button.on{background:var(--acc-soft);color:var(--acc-strong)}.studio-code .studio-tabbar button:focus-visible{outline:2px solid var(--acc-strong);outline-offset:-2px}.studio-code .studio-tab-canvas{order:1}.studio-code .studio-tab-layers{order:2}.studio-code .studio-tab-ai{order:3}.studio-code .studio-tab-history{order:4}.studio-code .studio-tab-code{order:5}.studio-code .header-center .segmented,.studio-code .header-center .mobile-panel-button{display:none}.studio-code .header-center{flex-basis:100%;order:4;justify-content:center}.studio-code .header-actions{flex-basis:100%;order:3}.studio-code.r0-open-layers .r0-float,.studio-code.r0-open-inspector .r0-float{display:none}.studio-code .workspace{padding-bottom:64px}.studio-code.r0-open-layers .left-panel,.studio-code.r0-open-inspector .right-panel{border-radius:var(--r-xl) var(--r-xl) 0 0;border-top:1px solid var(--line);width:100%;max-height:72dvh;inset:auto 0 64px}.studio-code .r0-scrim{top:0;bottom:64px}.studio-code .studio-header{flex-wrap:nowrap}.studio-code .header-center{display:none}.studio-code .header-actions{flex-basis:auto;order:2;gap:2px;margin-left:auto}.studio-code .studio-publish{order:3}.studio-code .mode-controls .r0-mode{padding:6px}.studio-code .studio-header .r0-rename,.studio-code .studio-publish svg{display:none}.studio-code .mode-controls .r0-mode span{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.studio-code .header-actions .history-buttons{right:12px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:7;border:1px solid var(--line);border-radius:var(--r-full);background:var(--bg-1);box-shadow:var(--sh-pop);padding:2px;display:flex;position:fixed}.studio-code.r0-open-layers .header-actions .history-buttons,.studio-code.r0-open-inspector .header-actions .history-buttons{display:none}}.studio-code .r0-site-draft{align-self:flex-start}.studio-code .r0-site-drafted{border-radius:var(--r-s);background:var(--acc-soft);color:var(--txt-2);margin:0;padding:8px 10px;font-size:13px;line-height:1.45}.studio-code .r0-site-reason{margin:-4px 0 0}.studio-code .r0-agent-site{border-radius:var(--r-s);background:var(--acc-soft);flex-direction:column;gap:6px;padding:10px;display:flex}.studio-code .r0-agent-site p{color:var(--txt-2);margin:0;font-size:13px}.studio-code .r0-publish-rules{margin:0}.studio-code .r0-publish-rules>summary{cursor:pointer;list-style:none}.studio-code .r0-publish-rules>summary::-webkit-details-marker{display:none}.studio-code .r0-publish-rules[open]>summary{margin-bottom:4px}.studio-code .r0-publish-more{color:var(--acc-strong);text-underline-offset:2px;text-decoration:underline}.studio-code .r0-seg{border-radius:var(--r-s);background:var(--bg-2);gap:2px;padding:2px;display:flex}.studio-code .r0-seg button{border-radius:var(--r-xs);min-height:30px;color:var(--txt-2);font:500 12px var(--font);cursor:pointer;white-space:nowrap;background:0 0;border:0;flex:1;padding:0 8px}.studio-code .r0-seg button.active{background:var(--bg-1);color:var(--txt);box-shadow:var(--sh-raise)}.studio-code .r0-seg button:focus-visible{outline:2px solid var(--acc-strong);outline-offset:1px}.studio-code fieldset:disabled .r0-seg button{cursor:default;opacity:.6}.studio-code .r0-inspector-foot{border-bottom:0}.studio-code .r0-link{color:var(--txt-2);font:500 13px var(--font);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:4px 0;display:inline-flex}.studio-code .r0-link:hover{color:var(--txt);text-underline-offset:2px;text-decoration:underline}
