:root{--background: #FFFFFF;--foreground: #09090B;--muted: #F4F4F5;--muted-foreground: #71717A;--border: #E4E4E7;--input: #E4E4E7;--ring: #A1A1AA;--accent: #F4F4F5;--canvas: #FAFAFA;--primary: #18181B;--primary-foreground: #FAFAFA;--destructive: #DC2626;--radius: 8px;--sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--mono: ui-monospace, SFMono-Regular, Menlo, monospace;--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--select: #3B82F6;font-family:var(--sans);font-size:14px;line-height:1.43;color:var(--foreground);background:var(--background);-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none;padding:0}button:disabled{cursor:not-allowed;opacity:.5}h1,h2,h3,h4,p,dl,dd,ol,ul{margin:0;padding:0}ol,ul{list-style:none}:focus-visible{outline:none;box-shadow:0 0 0 3px #a1a1aa80}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip{position:absolute;left:12px;top:-48px;z-index:50;padding:8px 12px;border-radius:6px;background:var(--primary);color:#fff;text-decoration:none}.skip:focus{top:10px}.app{height:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:56px minmax(0,1fr);background:var(--background)}.topbar{display:grid;grid-template-columns:255px 1fr auto;align-items:center;gap:16px;padding:0 16px;background:var(--background);border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:8px}.brand .logo{flex:none;display:block}.brand strong{font-size:14px;font-weight:600}.doc-title{display:flex;align-items:center;gap:10px;min-width:0}.crumb{color:#d4d4d8;font-size:18px;font-weight:300;margin-right:2px}.doc-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status,.badge{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 8px;border-radius:6px;border:1px solid var(--border);font-size:12px;font-weight:500;white-space:nowrap;color:var(--foreground);background:var(--background)}.status i,.badge i{width:6px;height:6px;border-radius:50%;background:#22c55e}.status.warn i{background:var(--destructive)}.badge i{background:#a1a1aa}.top-actions{display:flex;gap:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:0 16px;border-radius:6px;font-size:14px;font-weight:500;white-space:nowrap;transition:background-color .15s,color .15s}.btn svg{flex:none}.btn.outline{background:var(--background);border:1px solid var(--border);box-shadow:var(--shadow-xs)}.btn.outline:hover{background:var(--accent)}.btn.primary{background:var(--primary);color:var(--primary-foreground);box-shadow:var(--shadow-xs)}.btn.primary:hover{background:#27272a}.btn.primary[aria-disabled=true]{opacity:.5}.btn.small{height:32px;padding:0 12px;gap:6px;font-size:13px}.studio{display:grid;grid-template-columns:256px minmax(0,1fr) 320px;min-height:0}.is-preview .studio{grid-template-columns:minmax(0,1fr)}.sidebar{display:flex;flex-direction:column;min-height:0;overflow:auto;background:var(--background);border-right:1px solid var(--border)}.side-section{padding:16px 12px;border-bottom:1px solid var(--border)}.side-title{display:flex;justify-content:space-between;align-items:baseline;padding:0 8px 8px;font-size:14px;font-weight:600}.side-meta{font-weight:400;color:var(--muted-foreground);font-size:12px}.template-list{display:grid;gap:2px}.template-list button{display:flex;align-items:center;gap:12px;width:100%;padding:6px 8px;border-radius:6px;text-align:left;transition:background-color .15s}.template-list button:hover{background:var(--accent)}.template-list button.on{background:var(--muted)}.template-list .glyph{flex:none;color:#a1a1aa}.template-list button.on .glyph{color:var(--foreground)}.template-list b{display:block;font-weight:500;font-size:14px}.template-list small{display:block;font-size:12px;color:var(--muted-foreground)}.element-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;padding:0 2px}.element-grid button{display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border-radius:6px;border:1px solid var(--border);background:var(--background);box-shadow:var(--shadow-xs);font-size:13px;font-weight:500;transition:background-color .15s}.element-grid button:hover{background:var(--accent)}.element-grid svg{color:var(--muted-foreground)}.layers-section{flex:1;border-bottom:0}.layers{display:grid;grid-template-columns:minmax(0,1fr);gap:1px}.layers button{--depth: 0;display:flex;align-items:center;gap:8px;width:100%;height:32px;padding:0 8px 0 calc(8px + var(--depth) * 14px);border-radius:6px;text-align:left}.layers button:hover,.layers button.hover{background:var(--accent)}.layers button.on{background:var(--muted);font-weight:500}.layer-icon{display:grid;place-items:center;flex:none;color:var(--muted-foreground)}.layers button.on .layer-icon{color:var(--foreground)}.layer-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.layer-type{flex:none;font-size:12px;color:var(--muted-foreground);font-weight:400}.canvas{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--canvas)}.canvas:focus{outline:none;box-shadow:none}.canvas-bar{display:flex;align-items:center;gap:12px;height:56px;padding:0 16px}.bar-spacer{flex:1}.flow-tabs,.segmented{display:inline-flex;align-items:center;height:36px;padding:3px;border-radius:8px;background:var(--muted);color:var(--muted-foreground)}.flow-tabs button,.segmented button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:100%;padding:0 10px;border-radius:6px;font-size:14px;font-weight:500;white-space:nowrap;color:var(--muted-foreground);transition:color .15s}.flow-tabs button:hover,.segmented button:hover{color:var(--foreground)}.flow-tabs button.on,.segmented button.on{background:var(--background);color:var(--foreground);box-shadow:var(--shadow-sm)}.flow-tabs button span{color:var(--muted-foreground);font-variant-numeric:tabular-nums}.flow-meta{color:var(--muted-foreground);font-size:12px}.stage{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;gap:32px;padding:0 16px}.canvas-foot{display:flex;align-items:center;justify-content:center;gap:8px;height:44px;color:var(--muted-foreground);font-size:12px;text-align:center}.event-log{width:300px;max-height:min(560px,90%);display:flex;flex-direction:column;border-radius:12px;border:1px solid var(--border);background:var(--background);box-shadow:var(--shadow-sm);overflow:hidden}.event-log header{padding:16px 16px 12px;border-bottom:1px solid var(--border)}.event-log h2{font-size:14px;font-weight:600}.event-log header p{font-size:12px;color:var(--muted-foreground)}.event-log ol{overflow:auto;padding:6px}.event-log li{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:6px 8px;border-radius:6px;font-size:12px}.event-log li:first-child{background:var(--muted)}.event-log span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:12px var(--mono);color:var(--foreground)}.event-log time{font-size:12px;color:var(--muted-foreground);font-variant-numeric:tabular-nums}.ev{font:500 11px var(--mono);padding:1px 6px;border-radius:6px;border:1px solid var(--border);background:var(--background);color:var(--muted-foreground)}.inspector{min-height:0;overflow:auto;background:var(--background);border-left:1px solid var(--border)}.inspector-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;padding:12px 12px 12px 16px;background:var(--background);border-bottom:1px solid var(--border)}.type-badge{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:6px;border:1px solid var(--border);color:var(--foreground)}.inspector-title{flex:1;min-width:0}.inspector-title h3{font-size:14px;font-weight:600}.inspector-title code{display:block;font:12px var(--mono);color:var(--muted-foreground);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inspector-tools{display:flex;gap:2px}.icon-btn{display:grid;place-items:center;width:36px;height:36px;border-radius:6px;color:var(--foreground);transition:background-color .15s}.icon-btn:hover:not(:disabled){background:var(--accent)}.icon-btn.danger:hover{color:var(--destructive);background:#fef2f2}.icon-btn.tiny{width:28px;height:28px;color:var(--muted-foreground)}.inspector-section{padding:16px;border-bottom:1px solid var(--border)}.inspector-section>header{display:flex;justify-content:space-between;align-items:center;min-height:20px;margin-bottom:12px}.inspector-section h4{font-size:14px;font-weight:600}.inspector-section .grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 10px}.inspector-section .wide{grid-column:1 / -1}.meta{font-size:12px;color:var(--muted-foreground)}.meta.warn{color:var(--destructive)}.field{display:grid;gap:6px;min-width:0}.field>label,.field-label{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:14px;font-weight:500}.field-hint{color:var(--muted-foreground);font-size:12px;font-weight:400}.field input:not([type=range]):not([type=color]),.field textarea,.field select,.action-body select,.action-body input{width:100%;height:36px;padding:0 10px;border:1px solid var(--input);border-radius:6px;background:var(--background);box-shadow:var(--shadow-xs);font-size:14px;transition:border-color .15s,box-shadow .15s}.field select,.action-body select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:30px;background:var(--background) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center}.field textarea{height:auto;padding:8px 10px;resize:vertical;line-height:1.45}.field input:focus-visible,.field textarea:focus-visible,.field select:focus-visible,.action-body select:focus-visible,.action-body input:focus-visible{border-color:var(--ring);box-shadow:0 0 0 3px #a1a1aa80}.field input[type=range]{width:100%;accent-color:var(--primary)}.tag{font-size:12px;font-weight:500;padding:0 6px;border-radius:6px;border:1px solid var(--border);color:var(--muted-foreground)}.tag.override{background:var(--muted);color:var(--foreground);border-color:transparent}.color-input{display:flex;align-items:center;gap:8px;height:36px;padding:0 4px 0 6px;border-radius:6px;border:1px solid var(--input);box-shadow:var(--shadow-xs)}.color-input input[type=color]{flex:none;width:22px;height:22px;padding:0;border:0;border-radius:4px;background:none;cursor:pointer}.color-input input[type=color]::-webkit-color-swatch-wrapper{padding:0}.color-input input[type=color]::-webkit-color-swatch{border:0;border-radius:4px;box-shadow:inset 0 0 0 1px #0000001a}.color-input code{flex:1;font:12px var(--mono);white-space:nowrap;overflow:hidden}.note{font-size:12px;line-height:1.5;color:var(--muted-foreground)}.text-btn{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:500;border-radius:4px;text-underline-offset:4px}.text-btn:hover:not(:disabled){text-decoration:underline}.upload{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;height:36px;border-radius:6px;border:1px solid var(--border);box-shadow:var(--shadow-xs);font-size:14px;font-weight:500;cursor:pointer}.upload:hover{background:var(--accent)}.upload input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.upload:focus-within{box-shadow:0 0 0 3px #a1a1aa80}.mode-hint{display:flex;justify-content:space-between;align-items:center;width:calc(100% - 32px);margin:16px;padding:10px 12px;border-radius:8px;border:1px solid var(--border);color:var(--muted-foreground);font-size:13px;text-align:left}.mode-hint b{color:var(--foreground);font-weight:500;white-space:nowrap}.mode-hint:hover{background:var(--accent)}.action-list ol{display:grid;gap:8px}.action-list li{display:flex;gap:8px;align-items:flex-start;padding:8px;border-radius:8px;border:1px solid var(--border)}.action-index{display:grid;place-items:center;flex:none;width:20px;height:20px;margin-top:8px;border-radius:4px;background:var(--muted);font-size:12px;font-weight:500;color:var(--muted-foreground)}.action-body{flex:1;display:grid;gap:6px;min-width:0}.action-list li .icon-btn{margin-top:4px}.action-list .text-btn{margin-top:10px}.issues-inline{display:flex;gap:10px;margin:16px;padding:12px;border-radius:8px;border:1px solid #FECACA;color:var(--destructive);font-size:13px}.issues-inline svg{flex:none;margin-top:1px}.issues-inline b{display:block;font-weight:500}.issues-inline span{color:#b91c1c;opacity:.9}.is-empty .empty-hero{padding:16px;border-bottom:1px solid var(--border)}.empty-hero h3{font-size:14px;font-weight:600}.empty-hero p{margin-top:2px;color:var(--muted-foreground);font-size:13px}.facts{display:grid;grid-template-columns:1fr 1fr;gap:12px 10px}.facts dt{font-size:12px;color:var(--muted-foreground)}.facts dd{font-size:14px;font-weight:500}.button-summary{display:grid;gap:8px}.button-summary li{display:grid;gap:2px;padding:8px 12px;border-radius:8px;border:1px solid var(--border)}.button-summary b{font-weight:500;font-size:14px}.button-summary span{font-size:12px;color:var(--muted-foreground)}.checks{display:grid;gap:8px}.checks li{display:flex;gap:8px;font-size:14px}.checks svg{flex:none;margin-top:2px}.checks .pass svg{color:var(--muted-foreground)}.checks .fail svg{color:var(--destructive)}.checks small{display:block;color:var(--destructive);font-size:12px}.kbd-hint{padding:16px;color:var(--muted-foreground);font-size:12px}kbd{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin:0 4px 0 8px;padding:0 4px;border-radius:4px;background:var(--muted);font:500 11px var(--sans);color:var(--muted-foreground)}.kbd-hint kbd:first-child{margin-left:0}.drawer{position:fixed;inset:0 0 0 auto;width:min(560px,100vw);height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-left:1px solid var(--border);background:var(--background);color:var(--foreground);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.drawer::backdrop{background:#00000080}.drawer[open]{animation:slide .3s ease-out}.drawer[open]::backdrop{animation:fade .2s ease}.drawer-inner{height:100%;display:flex;flex-direction:column;gap:16px;padding:24px}.drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.drawer-head .icon-btn{width:28px;height:28px;margin:-4px -6px 0 0;color:var(--muted-foreground)}.drawer h2{font-size:18px;font-weight:600}.drawer-lede{margin-top:4px;font-size:14px;line-height:1.5;color:var(--muted-foreground);max-width:52ch}.pipeline{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.pipeline li{display:grid;align-content:start;gap:2px;padding:12px;border-radius:12px;border:1px solid var(--border);box-shadow:var(--shadow-xs)}.pipeline span{display:grid;color:var(--muted-foreground);margin-bottom:6px}.pipeline b{font-size:14px;font-weight:500}.pipeline small{font-size:12px;line-height:1.45;color:var(--muted-foreground)}.payload-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-top:4px}.payload-bar dl{display:flex;gap:20px}.payload-bar dt{font-size:12px;color:var(--muted-foreground)}.payload-bar dd{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.payload-tools{display:flex;gap:8px}.code{flex:1;min-height:160px;margin:0;overflow:auto;padding:12px 16px;border-radius:8px;border:1px solid var(--border);background:var(--canvas);color:var(--foreground);font:12px/1.6 var(--mono);-moz-tab-size:2;tab-size:2}.j-key{color:#18181b}.j-str{color:#52525b}.j-num,.j-lit{color:#2563eb}.drawer-foot{font-size:12px;line-height:1.5;color:var(--muted-foreground)}.drawer-foot b{color:var(--foreground);font-weight:500}.toast-region{position:fixed;right:16px;bottom:16px;z-index:40;pointer-events:none}.toast{padding:12px 16px;border-radius:8px;border:1px solid var(--border);background:var(--background);font-size:14px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;animation:rise .2s ease-out;max-width:min(400px,90vw)}@keyframes slide{0%{transform:translate(100%)}}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{transform:translateY(6px);opacity:0}}@keyframes pop{0%{transform:scale(.96);opacity:0}}@keyframes sheet{0%{transform:translateY(30%);opacity:.4}}.device{position:relative;flex:none}.device-frame{position:absolute;top:0;left:0;width:417px;height:876px;padding:12px;border-radius:66px;transform-origin:0 0;background:#18181b;box-shadow:inset 0 0 0 2px #3f3f46,0 20px 40px -24px #00000059}.screen{--fg: #111111;--fg-2: #6B6B70;position:relative;width:393px;height:852px;overflow:hidden;border-radius:54px;background:#fff;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Arial,sans-serif;color:var(--fg);isolation:isolate;-webkit-user-select:none;user-select:none}.presenter{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:flex;align-items:center;justify-content:center}.surface{--fg: #111111;--fg-2: #6B6B70;position:relative;display:flex;flex-direction:column;container-type:inline-size;overflow:hidden;background:#fff;color:var(--fg)}.appearance-dark .surface{--fg: #FFFFFF;--fg-2: rgba(235, 235, 245, .62);background:#1c1c1e}.presentation-fullScreen .surface{width:100%;height:100%}.presentation-fullScreen .surface>*{flex:1 1 auto}.presentation-modal .surface{width:88%;max-height:82%;border-radius:20px;box-shadow:0 20px 40px -12px #00000040;animation:pop .25s ease-out}.presentation-bottomSheet .presenter{flex-direction:column;justify-content:flex-end}.presentation-bottomSheet .surface{width:100%;max-height:90%;padding-top:12px;padding-bottom:26px;border-radius:28px 28px 0 0;animation:sheet .3s ease-out}.grabber{position:relative;z-index:3;width:36px;height:5px;margin-bottom:-12px;top:6px;border-radius:3px;background:#3c3c434d}.appearance-dark .grabber{background:#ffffff4d}.scrim{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;background:#0006;animation:fade .25s ease}.scene-node{position:relative;margin:0;min-width:0}.node-stack{display:flex;flex-direction:column;width:var(--w, 100%)}.node-stack.is-row{flex-direction:row}.is-row>.scene-node{flex:1 1 0}.is-row>.node-image,.is-row>.node-shape{flex:0 0 var(--w, 25%)}.is-row>[style*=--w]{flex:0 0 var(--w)}.is-column>.node-stack.grows,.node-overlay>.node-stack{flex:1 1 auto}.node-overlay{display:grid;width:var(--w, 100%)}.node-overlay>*{grid-area:1 / 1}.node-text{width:100%;text-align:var(--talign, center);color:var(--fg);text-wrap:pretty}.node-image{width:var(--w, 100%);flex-shrink:0;overflow:hidden;background:#7878801f}.node-image:has(img){background:none}.node-image img{display:block;width:100%;height:100%;pointer-events:none}.image-empty{display:grid;place-items:center;height:100%;min-height:120px;padding:12px;color:var(--fg-2);font-size:13px;text-align:center;line-height:1.4}.node-shape{width:var(--w, 100%);min-height:8px}.node-spacer{flex:1 0 auto}.is-row>.node-spacer{flex:1 0 auto}.text-display{font-size:34px;line-height:1.12;font-weight:700;letter-spacing:-.02em}.text-headlineLarge{font-size:28px;line-height:1.15;font-weight:700;letter-spacing:-.015em}.text-headline{font-size:22px;line-height:1.22;font-weight:700;letter-spacing:-.01em}.text-body{font-size:16px;line-height:1.4;color:var(--fg-2)}.text-caption{font-size:13px;line-height:1.3;font-weight:600;color:var(--fg-2)}.text-button{font-size:17px;font-weight:600}.node-button{width:var(--w, 100%);height:50px;white-space:nowrap;padding:0 16px;border-radius:12px;font:600 17px/1 -apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Arial,sans-serif;letter-spacing:-.01em;cursor:default;transition:opacity .15s}.button-primary{background:#111;color:#fff}.button-secondary{background:#f2f2f7;color:#111}.button-close{height:44px;background:transparent;color:var(--fg-2);font-weight:500}.appearance-dark .button-primary{background:#fff;color:#111}.appearance-dark .button-secondary{background:#ffffff24;color:#fff}.is-interactive .node-button{cursor:pointer}.is-interactive .node-button:active{opacity:.7}.is-interactive .node-button:focus-visible{box-shadow:0 0 0 3px #3b82f680}.screen:not(.is-interactive) .scene-node{cursor:default}.is-hovered{outline:1px solid rgb(59 130 246 / .6);outline-offset:-1px}.is-selected{outline:1.5px solid var(--select);outline-offset:-1.5px}.is-selected:after{content:attr(data-label);position:absolute;left:-1.5px;bottom:100%;z-index:9;padding:1px 5px;border-radius:3px 3px 3px 0;background:var(--select);color:#fff;font:500 11px/16px var(--sans);letter-spacing:0;white-space:nowrap;pointer-events:none}.node-text.is-selected,.node-text.is-hovered,.node-button.is-selected,.node-button.is-hovered{outline-offset:2px}.node-text.is-selected:after,.node-button.is-selected:after{left:-3.5px;margin-bottom:2px}.surface.is-selected:after,.node-overlay.is-selected:after{bottom:auto;top:0;left:0;border-radius:0 0 3px}.mode-layout .node-stack,.mode-layout .node-overlay{outline:1px dashed rgb(59 130 246 / .45);outline-offset:-1px}.mode-layout .node-stack.is-selected,.mode-layout .node-overlay.is-selected{outline:1.5px solid var(--select)}.mode-layout .node-image,.mode-layout .node-shape{box-shadow:inset 0 0 0 1px #3b82f673}.status-bar{position:absolute;inset:0 0 auto 0;z-index:6;display:flex;justify-content:space-between;align-items:center;height:54px;padding:4px 34px 0 46px;color:#111;pointer-events:none}.status-bar b{font:600 16px -apple-system,BlinkMacSystemFont,Helvetica Neue,Arial,sans-serif}.status-icons{display:flex;gap:6px;align-items:center}.status-icons svg{fill:currentColor}.presentation-fullScreen.appearance-dark .status-bar{color:#fff}.island{position:absolute;z-index:7;top:11px;left:50%;width:124px;height:36px;border-radius:20px;transform:translate(-50%);background:#000}.home-indicator{position:absolute;z-index:7;bottom:8px;left:50%;width:138px;height:5px;border-radius:3px;transform:translate(-50%);background:#111}.presentation-fullScreen.appearance-dark .home-indicator,.presentation-bottomSheet.appearance-dark .home-indicator{background:#ffffffd9}.safe-guides{position:absolute;top:0;right:0;bottom:0;left:0;z-index:8;pointer-events:none}.safe-guides span{position:absolute;left:0;right:0;display:flex;align-items:flex-end;justify-content:flex-end;padding:4px 16px;font:500 12px var(--sans);color:#1d4ed8;background:#3b82f61a}.safe-guides .top{top:0;height:59px;border-bottom:1px dashed var(--select)}.safe-guides .bottom{bottom:0;height:34px;border-top:1px dashed var(--select);align-items:flex-start}.replay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:grid;place-content:center;justify-items:center;gap:12px;background:#ffffffd9;animation:fade .25s ease}.replay p{font-size:15px;font-weight:500;color:#6b6b70}.replay button{height:44px;padding:0 20px;border-radius:12px;background:#111;color:#fff;font-weight:600;font-size:15px}.host{position:absolute;top:0;right:0;bottom:0;left:0;padding:64px 20px 0;background:#fff;color:#111}.host i{display:block;height:10px;border-radius:5px;background:#e5e5ea}.host .w70{width:70%;height:12px;background:#d1d1d6}.host .w45{width:45%}.host .w60{width:60%;height:11px;background:#d1d1d6}.host .w35{width:35%}.host .bar{height:4px;margin-top:4px;background:#e5e5ea}.host-head{display:flex;justify-content:space-between;align-items:center;margin:8px 0 20px}.host-head b{font-size:34px;font-weight:700;letter-spacing:-.02em}.host-avatar{width:36px;height:36px;border-radius:50%;background:#e5e5ea}.host-cover{display:block;border-radius:8px;background:#e5e5ea}.host-card{display:flex;gap:14px;align-items:center;padding:12px;margin-bottom:28px;border-radius:14px;background:#f2f2f7}.host-card .host-cover{width:72px;height:72px;flex:none;background:#d1d1d6}.host-card div{flex:1;display:grid;gap:8px}.host-title{margin-bottom:12px}.host-title b{font-size:20px;font-weight:700;letter-spacing:-.01em}.host-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:28px}.host-row span{aspect-ratio:1;border-radius:8px;background:#e5e5ea}.host-list{display:grid;gap:12px}.host-list>div{display:flex;gap:12px;align-items:center}.host-list>div>div{flex:1;display:grid;gap:8px}.host-cover.sm{width:52px;height:52px;flex:none}.host-tabs{position:absolute;left:0;right:0;bottom:0;height:84px;padding:8px 24px 0;display:grid;grid-template-columns:repeat(3,1fr);background:#f9f9f9;border-top:1px solid #E5E5EA}.host-tabs span{display:grid;justify-items:center;align-content:start;gap:4px;font-size:10px;font-weight:500;color:#8e8e93}.host-tabs i{width:24px;height:24px;border-radius:6px;background:#c7c7cc}.host-tabs .on{color:#111}.host-tabs .on i{background:#111}.compact-note,.template-chips{display:none}@media(max-width:899px){.app{height:auto;min-height:100%;grid-template-rows:56px auto auto auto}.topbar{grid-template-columns:1fr auto;padding:0 12px 0 16px}.doc-title{display:none}.studio{display:block}.compact-note{display:flex;gap:10px;align-items:flex-start;margin:16px 16px 0;padding:12px 14px;border-radius:8px;border:1px solid var(--border);font-size:14px;line-height:1.45;color:var(--muted-foreground)}.compact-note svg{flex:none;margin-top:2px;color:var(--foreground)}.compact-note b{font-weight:500;color:var(--foreground)}.template-chips{display:flex;gap:8px;overflow-x:auto;padding:12px 16px 2px;scrollbar-width:none}.template-chips button{flex:none;height:32px;padding:0 12px;border-radius:6px;border:1px solid var(--border);box-shadow:var(--shadow-xs);font-weight:500;font-size:13px}.template-chips button[aria-pressed=true]{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.canvas{background:var(--background)}.stage{height:calc((100vw - 32px)*2.1 + 32px);flex:none;padding:16px}.drawer{width:100vw;border-left:0}.drawer-inner{padding:16px}.pipeline{grid-template-columns:1fr}.pipeline li{grid-template-columns:auto auto 1fr;align-items:center;column-gap:8px}.pipeline span{margin:0}.code{min-height:320px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.drawer h2:focus{outline:none;box-shadow:none}.screen.appearance-dark.presentation-fullScreen{background:#111113}:root{color-scheme:dark;--background: #0A0A0A;--foreground: #FAFAFA;--muted: #262626;--muted-foreground: #A3A3A3;--border: #262626;--input: #303030;--ring: #737373;--accent: #262626;--canvas: #111111;--primary: #FAFAFA;--primary-foreground: #171717;--destructive: #F87171;--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / .4);--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / .5), 0 1px 2px -1px rgb(0 0 0 / .5)}.badge i{background:#737373}.template-list .glyph{color:#737373}.btn.primary:hover{background:#e5e5e5}.icon-btn.danger:hover{background:#f871711f}.issues-inline{border-color:#f8717159}.issues-inline span{color:#fca5a5}.j-key{color:#fafafa}.j-str{color:#a3a3a3}.j-num,.j-lit{color:#60a5fa}.device-frame{background:#27272a}.skip{color:var(--primary-foreground)}
