.app-host-chrome{container-name:studio-host-chrome;container-type:inline-size;z-index:60;display:grid;height:var(--app-chrome-height, 48px);min-height:var(--app-chrome-height, 48px);flex-shrink:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:12px;border-bottom:1px solid rgba(255,255,255,.06);background:#050505;padding-inline:12px;-webkit-app-region:drag}.app-host-chrome button,.app-host-chrome input,.app-host-chrome select,.app-host-chrome textarea,.app-host-chrome a,.app-host-chrome .app-view-tabs,.app-host-chrome .app-preview-bar,.app-host-chrome .app-context-tabs,.app-host-chrome .app-publish-btn,.app-host-chrome [role=tablist],.app-host-chrome [role=tab]{-webkit-app-region:no-drag}.app-host-chrome-left,.app-host-chrome-center,.app-host-chrome-right{display:flex;min-width:0;align-self:stretch;align-items:center}.app-host-chrome-left{justify-content:flex-start}.app-host-chrome-center{max-width:min(520px,46vw);justify-content:center}.app-host-chrome-right{justify-content:flex-end;gap:8px;flex:1 1 auto}.app-view-tabs{display:flex;height:34px;flex:none;align-items:center;gap:0;border:1px solid rgba(255,255,255,.07);border-radius:999px;background:#ffffff0f;box-shadow:inset 0 1px #ffffff0a;padding:3px;-webkit-app-region:no-drag}.app-view-tab-slot{display:flex;height:100%;align-items:center}.app-view-tab-sep{width:1px;height:14px;flex-shrink:0;margin:0 1px;background:#ffffff1f}.app-view-tab-slot:has(.app-view-tab.active)>.app-view-tab-sep,.app-view-tab-slot:has(.app-view-tab.active)+.app-view-tab-slot>.app-view-tab-sep{opacity:0}.app-view-tab{display:inline-flex;min-width:32px;height:28px;flex:0 0 auto;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;border-radius:999px;background:transparent;color:#8a8a8a;cursor:pointer;font-size:13px;font-weight:500;padding:0 9px;transition:background .14s ease,color .14s ease,border-color .14s ease,box-shadow .14s ease,padding .14s ease;white-space:nowrap;-webkit-app-region:no-drag}.app-view-tab svg{flex-shrink:0}.app-view-tab:hover:not(.active){background:#ffffff0d;color:#d4d4d4}.app-view-tab.active{border-color:#82aaff73;background:#6e96ff29;box-shadow:0 0 0 1px #6e96ff1f,0 4px 14px #3c64dc2e;color:#9eb8ff;padding:0 12px 0 10px}.app-view-tab:focus-visible,.app-publish-btn:focus-visible{outline:2px solid rgba(150,180,255,.55);outline-offset:2px}.app-view-tab-label{line-height:1;letter-spacing:.01em}.app-preview-bar{display:flex;width:min(400px,100%);min-width:0;align-items:center;gap:8px}.app-preview-device-btn{display:inline-flex;width:32px;height:32px;flex-shrink:0;align-items:center;justify-content:center;border:1px solid transparent;border-radius:10px;background:transparent;color:#9a9a9a;cursor:pointer;padding:0;transition:color .12s,background .12s,border-color .12s}.app-preview-device-btn:hover{border-color:#ffffff0f;background:#ffffff0f;color:#f0f0f0}.app-preview-device-btn:focus-visible{outline:2px solid rgba(150,180,255,.45);outline-offset:2px}.app-preview-urlpill{display:grid;min-width:0;height:34px;flex:1;grid-template-columns:32px minmax(0,1fr) 40px;align-items:center;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:linear-gradient(180deg,#ffffff17,#ffffff0d);box-shadow:inset 0 1px #ffffff0f,0 1px 2px #00000047;padding:0 6px}.app-preview-icon-btn{display:inline-flex;width:28px;height:28px;flex-shrink:0;align-items:center;justify-content:center;border:0;border-radius:999px;background:transparent;color:#a8a8a8;cursor:pointer;padding:0;transition:background-color .14s ease-out,color .14s ease-out,opacity .14s ease-out}.app-preview-icon-btn:hover:not(:disabled){background:#ffffff1a;color:#f5f5f5}.app-preview-icon-btn:disabled{cursor:default;opacity:.32}.app-preview-icon-btn:focus-visible{outline:2px solid rgba(150,180,255,.45);outline-offset:1px}.app-preview-title{min-width:0;overflow:hidden;color:#f3f1ee;font-size:13px;font-weight:550;letter-spacing:.01em;padding:0 4px;text-align:center;text-overflow:ellipsis;user-select:none;white-space:nowrap}.app-preview-urlpill-trail{display:flex;min-width:0;align-items:center;justify-content:flex-end;gap:4px}.app-preview-status-dot{width:7px;height:7px;flex-shrink:0;margin-right:4px;border-radius:50%;background:#555}.app-preview-status-ready{background:#4ade80;box-shadow:0 0 0 3px #4ade8024}.app-preview-status-error{background:#f87171;box-shadow:0 0 0 3px #f8717124}.app-preview-status-building,.app-preview-status-scaffolding,.app-preview-status-starting{background:#fbbf24;box-shadow:0 0 0 3px #fbbf2424}.app-preview-status-idle{background:#555}.app-context-tabs{display:flex;min-width:0;max-width:100%;height:34px;align-items:center;gap:2px;overflow-x:auto;border:1px solid rgba(255,255,255,.07);border-radius:999px;background:#ffffff0f;box-shadow:inset 0 1px #ffffff0a;padding:3px;scrollbar-width:none}.app-context-tabs::-webkit-scrollbar{display:none}.app-context-tab{height:28px;flex:0 0 auto;border:1px solid transparent;border-radius:999px;background:transparent;color:#8f8f8f;cursor:pointer;font-size:12.5px;font-weight:500;letter-spacing:.01em;padding:0 12px;transition:background .12s,color .12s,border-color .12s;white-space:nowrap;-webkit-app-region:no-drag}.app-context-tab:hover{background:#ffffff0d;color:#e0e0e0}.app-context-tab.active{border-color:#ffffff0f;background:#ffffff24;box-shadow:0 1px 3px #00000038;color:#f5f5f5;font-weight:600}.app-context-tab:focus-visible{outline:2px solid rgba(255,255,255,.34);outline-offset:2px}.app-publish-btn{height:32px;flex:0 0 auto;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:#ffffff1a;color:#f2f2f2;cursor:pointer;font-size:13px;font-weight:600;letter-spacing:.01em;padding:0 14px;transition:background .12s,border-color .12s,opacity .12s,transform .12s;white-space:nowrap;-webkit-app-region:no-drag}.app-publish-btn:hover:not(:disabled){border-color:#ffffff2e;background:#ffffff29}.app-publish-btn:disabled{cursor:default;opacity:.42}@container studio-host-chrome (max-width: 740px){.app-host-chrome-center,.app-preview-bar{width:260px;max-width:260px}}.project-menu{position:relative;min-width:0;flex-shrink:0;-webkit-app-region:no-drag}.pm-trigger{display:inline-flex;width:100%;max-width:260px;height:30px;align-items:center;gap:7px;border:0;border-radius:8px;background:transparent;color:#e8e6e3;cursor:pointer;font-size:13px;font-weight:600;padding:0 10px 0 8px;-webkit-app-region:no-drag}.pm-trigger:hover,.project-menu.open .pm-trigger{background:#ffffff12}.pm-trigger:focus-visible,.pm-item:focus-visible{outline:2px solid rgba(150,180,255,.55);outline-offset:2px}.pm-mark{width:14px;height:14px;flex-shrink:0;border-radius:4px;background:linear-gradient(135deg,#d58e62,#9c5eba)}.pm-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pm-chev{width:13px;height:13px;flex-shrink:0;color:#8a8a8a}.pm-dropdown{position:absolute;top:calc(100% + 6px);left:0;z-index:300;display:flex;min-width:280px;max-width:min(420px,70vw);flex-direction:column;gap:1px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#141414;box-shadow:0 12px 32px #0000008c;padding:5px}.pm-path-block{display:flex;margin-bottom:2px;flex-direction:column;gap:4px;border-radius:7px;background:#ffffff08;padding:8px 10px 10px}.pm-path-kicker{color:#ffffff61;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.pm-path{display:block;color:#ffffffb8;cursor:text;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.4;user-select:text;white-space:pre-wrap;word-break:break-all}.pm-sep{height:1px;margin:4px 6px;background:#ffffff14}.pm-item{display:block;width:100%;border:0;border-radius:7px;background:transparent;color:#d6d4d1;cursor:pointer;font-size:12.5px;padding:7px 10px;text-align:left}.pm-item:hover{background:#ffffff14;color:#f2f0ed}.pm-item.danger{color:#d98d8d}.pm-item.danger:hover{background:#dc505024}.webide-frame{flex:1;width:100%;height:100%;min-width:0;min-height:0;border:0;background:#050505}.seacraft-frame{position:relative;display:flex;min-height:0;overflow:hidden;background:#050505;color:#f2f2f2}.seacraft-frame-panel{--seacraft-frame-width: clamp(340px, 28vw, 440px);flex:0 0 var(--seacraft-frame-width);width:var(--seacraft-frame-width);min-width:320px;max-width:460px;height:100%;box-sizing:border-box;border-right:0;box-shadow:18px 0 44px #0003;z-index:20}.seacraft-frame-full{flex:1;width:100%;height:100%}.seacraft-frame-chrome{position:absolute;top:8px;right:8px;z-index:30;display:flex;gap:6px}.seacraft-frame-collapse{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #2a2a2a;border-radius:6px;background:#141414;color:#c8c8c8;cursor:pointer;font-size:14px;line-height:1}.seacraft-frame-collapse:hover{border-color:#3dd6c6;color:#3dd6c6}.seacraft-frame-iframe{flex:1;width:100%;height:100%;min-width:0;min-height:0;border:0;background:#050505}:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,sans-serif;color:#f2f2f2;background:#000;font-synthesis:none;letter-spacing:0;--bg: #000000;--bg-workspace: #050505;--bg-elevated: #1a1a1a;--border: rgba(255, 255, 255, .1);--border-strong: rgba(255, 255, 255, .16);--surface: rgba(255, 255, 255, .04);--surface-muted: rgba(255, 255, 255, .06);--surface-hover: rgba(255, 255, 255, .09);--surface-solid: #1a1a1a;--text: #f2f2f2;--text-secondary: #c8c8c8;--text-muted: #8a8a8a;--text-faint: #7a7a7a;--accent: #4a9eff;--accent-soft: rgba(74, 158, 255, .16);--accent-border: rgba(74, 158, 255, .35);--accent-text: #cfe4ff;--accent-strong: rgba(74, 158, 255, .26);--danger: #d96c6c;--success: #59b26a;--warning: #c9a35a;--warning-bg: rgba(201, 163, 90, .12);--editor: #050505;--chrome: rgba(5, 5, 5, .94);--radius: 10px;--radius-sm: 7px;--radius-lg: 12px;--radius-pill: 999px;--teal: var(--accent);--teal-dark: #3a8aef;--coral: var(--danger);--accent-ink: #0a1628}*{box-sizing:border-box;letter-spacing:0}html,body,#root{width:100%;min-width:0;height:100%;margin:0}body{overflow:hidden;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid rgba(74,158,255,.45);outline-offset:2px}.studio-page,.studio-workspace-page{display:flex;width:100%;height:100%;min-height:0;flex-direction:column;background:var(--bg-workspace);color:var(--text)}.studio-header{z-index:10;display:grid;width:100%;height:48px;min-height:48px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;border-bottom:1px solid transparent;background:var(--chrome);box-shadow:0 12px 34px #0003;padding:0 14px}.studio-header-leading{display:flex;min-width:0;align-items:center;gap:8px}.studio-header>:last-child{justify-self:end}.studio-brand{display:inline-flex;min-width:0;align-items:center;gap:9px;color:var(--text);text-decoration:none}.studio-brand-icon,.studio-brand-mark,.brand-mark{display:inline-grid;width:28px;height:28px;flex:0 0 28px;place-items:center;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:radial-gradient(circle at 30% 30%,#3a3a3a,#0e0e0e);color:#f2f2f2;font-size:13px;font-weight:700}.studio-brand-icon svg,.brand-mark svg{width:16px;height:16px}.studio-brand-text,.studio-brand>span:last-child{display:flex;min-width:0;flex-direction:column;line-height:1.1}.studio-brand strong{font-size:13px;font-weight:650;letter-spacing:.01em}.studio-brand small{margin-top:2px;color:var(--text-muted);font-size:10px;font-weight:500}.studio-header-center{justify-self:center;min-width:0;max-width:min(52vw,480px);text-align:center}.studio-project-title{display:inline-flex;max-width:100%;align-items:center;gap:8px;min-width:0}.studio-project-title strong{overflow:hidden;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.studio-template-badge{flex:0 0 auto;border:1px solid var(--border-strong);border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:10px;font-weight:600;padding:2px 8px}.studio-header-subtitle{color:var(--text-muted);font-size:12px}.project-id{display:block;max-width:min(36vw,360px);overflow:hidden;color:var(--text-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.icon-button{display:inline-grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border:0;border-radius:7px;background:transparent;color:#8a8a8a;cursor:pointer;text-decoration:none}.icon-button:hover:not(:disabled){background:#ffffff14;color:#e2e0dd}.icon-button:disabled{cursor:default;opacity:.45}.icon-button svg{width:18px;height:18px}.icon-button.small{width:28px;height:28px;flex-basis:28px}.icon-button.small svg{width:15px;height:15px}.button{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,255,255,.1);border-radius:var(--radius-lg);padding:8px 16px;font-size:13px;font-weight:600;line-height:1;cursor:pointer;text-decoration:none;background:#ffffff0a;color:var(--text);transition:background .15s,border-color .15s,transform .1s}.button svg{width:16px;height:16px}.button:disabled{cursor:default;opacity:.5}.button-primary{border-color:var(--accent-border);background:var(--accent-soft);color:var(--accent-text)}.button-primary:hover:not(:disabled){border-color:#4a9eff80;background:var(--accent-strong)}.button-secondary{border-color:#ffffff1a;background:#ffffff0a;color:var(--text)}.button-secondary:hover:not(:disabled),.button-ghost:hover:not(:disabled){background:#ffffff17;border-color:#ffffff2e}.button-ghost{border-color:transparent;background:transparent;color:var(--text-muted)}.button.compact{min-height:30px;padding:6px 10px;font-size:12px}.eyebrow{margin:0 0 5px;color:var(--coral);font-size:11px;font-weight:800;text-transform:uppercase}.library-main{width:min(1120px,100%);min-height:0;margin:0 auto;overflow-y:auto;padding:38px 30px 56px}.library-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.library-toolbar h1{margin:0;font-size:28px;line-height:1.15}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:14px}.project-card{min-width:0;min-height:154px;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.project-card:hover{border-color:#3a5f5a;box-shadow:0 8px 22px #00000059}.project-card>button{display:grid;width:100%;height:100%;min-height:154px;grid-template-columns:42px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:12px;border:0;background:transparent;padding:18px;color:var(--text);cursor:pointer;text-align:left}.project-card-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:7px;background:#132422;color:var(--accent)}.project-card-icon svg{width:21px;height:21px}.project-card-body{display:flex;min-width:0;flex-direction:column;gap:7px;padding-top:2px}.project-card-body strong{overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.project-card-body span{color:var(--text-muted);font-size:12px}.project-card-footer{display:flex;grid-column:1 / -1;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding-top:12px;color:var(--text-muted);font-size:11px}.project-card-footer>span{display:inline-flex;min-width:0;align-items:center;gap:6px}.project-card-footer svg{width:14px;height:14px}.center-state,.workspace-gate,.not-found{display:flex;min-height:300px;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:var(--text-muted);text-align:center}.center-state>svg,.workspace-gate>svg,.empty-state>svg{width:28px;height:28px}.center-state strong,.workspace-gate strong,.not-found strong{color:var(--text);font-size:16px}:root{--create-bg: #000000;--create-sidebar: #050505;--create-surface: rgba(255, 255, 255, .06);--create-surface-2: rgba(255, 255, 255, .08);--create-border: rgba(255, 255, 255, .1);--create-text: #f2f2f2;--create-muted: #8a8a8a;--create-faint: #7a7a7a;--create-accent: #4a9eff;--create-accent-soft: rgba(74, 158, 255, .16);--create-accent-border: rgba(74, 158, 255, .35);--create-accent-text: #cfe4ff;--create-accent-hover: rgba(74, 158, 255, .26);--create-cta-light: rgba(255, 255, 255, .16);--create-cta-light-text: #ffffff;--create-sidebar-w: 220px}.create-boot{display:grid;place-items:center;gap:12px;width:100%;height:100%;min-height:100dvh;background:var(--create-bg);color:var(--create-muted);font-size:14px}.create-landing{position:relative;width:100%;height:100%;min-height:100dvh;overflow:hidden;background:#000;color:var(--create-text)}.create-landing-nav{position:absolute;z-index:5;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 28px}.create-landing-nav-right{display:flex;align-items:center;gap:12px}.create-locale{display:inline-flex;align-items:center;gap:8px;color:var(--create-muted);font-size:12px}.create-locale-label{white-space:nowrap}.create-locale-select{height:30px;padding:0 8px;border-radius:8px;border:1px solid var(--create-border);background:#ffffff0a;color:var(--create-text);font:inherit;font-size:12px;cursor:pointer}.create-sidebar-locale{padding:4px 10px 10px;width:100%;justify-content:space-between}.create-sidebar-locale .create-locale-select{flex:1;min-width:0}.create-landing-nav-left{display:flex;align-items:center;gap:28px}.create-landing-logo{display:inline-flex;align-items:center;gap:10px;color:var(--create-text);text-decoration:none;font-weight:700;font-size:15px;letter-spacing:.02em}.create-landing-logo-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:radial-gradient(circle at 30% 30%,#3a3a3a,#0e0e0e);border:1px solid rgba(255,255,255,.12);color:#f2f2f2;font-size:14px;font-weight:700}.create-landing-links{display:flex;gap:20px}.create-landing-links a{color:#ffffffb8;text-decoration:none;font-size:14px;font-weight:500}.create-landing-links a:hover{color:#fff}.create-landing-login{color:#ffffffe0;text-decoration:none;font-size:14px;font-weight:600;padding:8px 14px;border-radius:8px}.create-landing-login:hover{background:#ffffff14}.create-landing-wall{position:absolute;inset:0;overflow:hidden}.create-landing-wall-grid{position:absolute;inset:-8% -4%;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px;transform:perspective(900px) rotateX(12deg) scale(1.12);transform-origin:center 40%;opacity:.55}.create-landing-tile{aspect-ratio:1;border-radius:14px;background:linear-gradient(145deg,#2a2a38,#1a1a24 55%,#12121a);background-size:cover;background-position:center;box-shadow:0 8px 24px #00000059}.create-landing-tile:nth-child(3n){background-image:linear-gradient(145deg,#3a2a48,#1a1520)}.create-landing-tile:nth-child(3n+1){background-image:linear-gradient(145deg,#1a3040,#101820)}.create-landing-tile:nth-child(3n+2){background-image:linear-gradient(145deg,#302818,#181410)}.create-landing-wall-scrim{position:absolute;inset:0;background:radial-gradient(ellipse 70% 55% at 50% 48%,#0a0a0e40,#0a0a0ed1 70%,#0a0a0c),linear-gradient(180deg,rgba(10,10,14,.55) 0%,transparent 28%,transparent 55%,rgba(10,10,14,.9) 100%)}.create-landing-hero{position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;min-height:100dvh;padding:80px 24px 48px;text-align:center}.create-landing-title{margin:0;font-size:clamp(2.75rem,7vw,4.25rem);font-weight:700;letter-spacing:-.03em;line-height:1.08;color:#fff;text-shadow:0 2px 40px rgba(0,0,0,.45)}.create-landing-lede{margin:18px 0 0;max-width:28rem;color:#ffffffb8;font-size:15px;line-height:1.65}.create-landing-cta{margin-top:28px;display:inline-flex;align-items:center;justify-content:center;min-width:168px;height:44px;padding:0 24px;border-radius:12px;border:1px solid var(--create-accent-border);background:var(--create-accent-soft);color:var(--create-accent-text);font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 10px 28px #00000059;transition:transform .1s ease,background .15s ease,border-color .15s ease}.create-landing-cta:hover{background:var(--create-accent-hover);border-color:#4a9eff80;transform:translateY(-1px)}.create-shell{display:grid;grid-template-columns:var(--create-sidebar-w) minmax(0,1fr);width:100%;height:100%;min-height:0;background:var(--create-bg);color:var(--create-text)}.create-sidebar{display:flex;flex-direction:column;justify-content:space-between;min-height:0;border-right:1px solid var(--create-border);background:var(--create-sidebar);padding:16px 12px 14px}.create-sidebar-top{display:flex;flex-direction:column;gap:16px;min-height:0}.create-sidebar-brand{display:inline-flex;align-items:center;gap:10px;padding:4px 8px;color:var(--create-text);text-decoration:none;font-weight:800;font-size:13px;letter-spacing:.08em}.create-sidebar-logo{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:radial-gradient(circle at 30% 30%,#3a3a3a,#0e0e0e);border:1px solid rgba(255,255,255,.12);color:#f2f2f2}.create-sidebar-user{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:#ffffff0a}.create-sidebar-avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;background:linear-gradient(145deg,#3a3a3a,#1f1f1f);border:1px solid rgba(255,255,255,.14);color:#fff;font-size:12px;font-weight:700}.create-sidebar-user-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}.create-sidebar-nav{display:flex;flex-direction:column;gap:2px}.create-sidebar-group-label{margin:12px 12px 4px;font-size:11px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--create-faint)}.create-sidebar-group-label:first-child{margin-top:0}.create-sidebar-link{display:flex;align-items:center;gap:12px;min-height:40px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:var(--create-muted);font:inherit;font-size:14px;font-weight:500;text-decoration:none;text-align:left;cursor:pointer;width:100%}.create-sidebar-link:hover{background:#ffffff0d;color:var(--create-text)}.create-sidebar-link.is-active{background:#ffffff1f;color:#f3f3f3}.create-sidebar-link-sm{min-height:34px;gap:10px;font-size:12px;font-weight:500;color:#ffffff6b}.create-sidebar-link-sm:hover{color:#ffffffb8}.create-sidebar-link-sm.is-active{background:#ffffff0f;color:#ffffffc7}.create-sidebar-ext{margin-left:auto;opacity:.45}.create-sidebar-bottom{display:flex;flex-direction:column;gap:2px;padding-top:12px;border-top:1px solid var(--create-border)}.create-sidebar-secondary{display:flex;flex-direction:column;gap:2px;margin-bottom:6px}.create-sidebar-play-mark{display:grid;place-items:center;width:18px;height:18px;border-radius:4px;background:#ffffff1f;font-size:10px;font-weight:800}.create-sidebar-link-muted{color:var(--create-muted)}.create-shell-main{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--create-bg)}.create-shell-topbar{display:flex;align-items:center;height:56px;min-height:56px;padding:0 28px;border-bottom:1px solid transparent}.create-shell-title{margin:0;font-size:22px;font-weight:700;letter-spacing:-.02em}.create-shell-body{flex:1;min-height:0;overflow:auto;padding:8px 28px 40px}.create-home{display:flex;flex-direction:column;gap:20px}.create-home-command{gap:28px;padding-top:12px}.create-command{display:flex;flex-direction:column;align-items:stretch;gap:14px;width:100%;max-width:880px;margin:0 auto;padding:28px 8px 8px;text-align:center}.create-command-kicker{margin:0;font-size:12px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--create-muted)}.create-command-title{margin:0;font-size:clamp(1.55rem,3.2vw,2.15rem);font-weight:750;letter-spacing:-.03em;line-height:1.2;color:#f6f6f6}.create-command-lede{margin:0 auto;max-width:34rem;color:#ffffff9e;font-size:14px;line-height:1.55}.create-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin:6px auto 0;width:min(100%,640px);padding:10px 10px 10px 16px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:radial-gradient(120% 140% at 10% 0%,rgba(74,158,255,.1),transparent 42%),#ffffff0a;box-shadow:0 18px 40px #00000047}.create-composer-stacked{grid-template-columns:1fr;gap:8px;padding:14px 14px 12px;text-align:left}.create-composer-input{width:100%;min-width:0;height:40px;border:0;background:transparent;color:var(--create-text);font:inherit;font-size:14px;outline:none}.create-composer-textarea{height:auto;min-height:44px;max-height:132px;resize:none;line-height:22px;overflow-y:auto}.create-composer-input::placeholder{color:#ffffff61}.create-composer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.create-composer-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.create-composer-model-select{height:32px;max-width:160px;padding:0 10px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:#ffffff0a;color:#ffffffe0;font:inherit;font-size:12px;outline:none;cursor:pointer}.create-composer-model-select:focus{border-color:#4a9eff80}.create-world-type{display:inline-flex;align-items:center;padding:2px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:#00000040}.create-world-chip{height:28px;padding:0 12px;border:0;border-radius:999px;background:transparent;color:#ffffff9e;font:inherit;font-size:12px;font-weight:550;cursor:pointer;white-space:nowrap}.create-world-chip.is-active{background:#4a9eff33;color:#e8f2ff}.create-composer-send{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 auto;border:0;border-radius:999px;background:var(--create-accent);color:#06101c;cursor:pointer;transition:background .15s ease,transform .1s ease,opacity .15s ease}.create-composer-send:hover:not(:disabled){background:#6eb0ff;transform:translateY(-1px)}.create-composer-send:disabled{opacity:.35;cursor:not-allowed}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.create-library-empty{gap:10px;text-align:center}.create-library-empty-body{margin:0 0 8px;max-width:28rem;color:var(--create-muted);font-size:13px;line-height:1.5}.create-panel{position:relative;border:1px solid var(--create-border);border-radius:12px;background:#ffffff0a;box-shadow:0 10px 24px #0000002e;padding:18px 18px 16px}.create-panel-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--create-muted);cursor:pointer}.create-panel-close:hover{background:#ffffff0f;color:var(--create-text)}.create-get-started-copy h2{margin:0 36px 0 0;font-size:18px;font-weight:700}.create-get-started-copy p{margin:6px 0 14px;color:var(--create-muted);font-size:13px;line-height:1.5}.create-get-started-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:12px}.create-get-started-card{display:flex;flex-direction:column;min-height:168px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#ffffff0a;color:inherit;text-decoration:none;overflow:hidden;transition:border-color .15s ease,background .15s ease,transform .1s ease}.create-get-started-card:hover{border-color:#ffffff2e;background:#ffffff12;transform:translateY(-1px)}.create-get-started-media{display:grid;place-items:center;flex:1;min-height:100px;color:#ffffffbf}.create-get-started-media-doc{background:radial-gradient(circle at 30% 30%,#2a2a2a,#141414 70%)}.create-get-started-media-studio{background:radial-gradient(circle at 70% 20%,#333,#121212 65%)}.create-get-started-card-body{display:flex;flex-direction:column;gap:4px;padding:12px 14px 14px}.create-get-started-card-body strong{font-size:14px}.create-get-started-card-body span{color:var(--create-muted);font-size:12px;line-height:1.4}.create-get-started-action{display:inline-flex!important;align-items:center;gap:6px;margin-top:8px;color:var(--create-text)!important;font-weight:600}.create-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-radius:12px;border:1px solid rgba(74,158,255,.22);background:linear-gradient(105deg,#4a9eff1f,#0a0a0aeb 55%,#0a0a0a)}.create-banner h2{margin:0 0 6px;font-size:18px;font-weight:700}.create-banner p{margin:0;color:#ffffffb8;font-size:13px}.create-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.create-section-head h2{margin:0;font-size:16px;font-weight:700}.create-section-head h2 a{color:inherit;text-decoration:none}.create-section-head h2 a:hover{color:var(--create-accent-text)}.create-section-link{color:var(--create-muted);font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}.create-section-link:hover{color:var(--create-accent-text)}.create-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:0 14px;border-radius:12px;border:1px solid rgba(255,255,255,.1);font-size:13px;font-weight:600;text-decoration:none;cursor:pointer;white-space:nowrap;background:#ffffff0a;color:var(--create-text);transition:background .15s,border-color .15s}.create-btn-primary{background:var(--create-accent-soft);border-color:var(--create-accent-border);color:var(--create-accent-text)}.create-btn-primary:hover{background:var(--create-accent-hover);border-color:#4a9eff80}.create-btn-secondary{background:#ffffff0a;border-color:#ffffff1a;color:var(--create-text)}.create-btn-secondary:hover{background:#ffffff17;border-color:#ffffff2e}.create-btn-sm{height:32px;padding:0 12px;font-size:12px}.create-empty,.create-empty-row{color:var(--create-muted);font-size:13px}.create-empty-row{display:inline-flex;align-items:center;gap:8px}.create-empty-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:28px 24px;border:1px dashed var(--create-border);border-radius:14px;background:#ffffff05;color:var(--create-muted)}.create-empty-card strong{color:var(--create-text);font-size:15px}.create-empty-card p{margin:0 0 8px;max-width:36rem;line-height:1.5;font-size:13px}.create-empty-card-wide{max-width:560px}.create-empty-actions{display:flex;flex-wrap:wrap;gap:10px}.create-experience-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.create-experience-card{display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#ffffff0a;color:inherit;text-decoration:none;overflow:hidden;transition:border-color .15s ease,background .15s ease,transform .1s ease}.create-experience-card:hover{border-color:#ffffff2e;background:#ffffff12;transform:translateY(-1px)}.create-experience-thumb{display:grid;place-items:center;aspect-ratio:16 / 10;background:radial-gradient(circle at 30% 20%,rgba(74,158,255,.12),transparent 50%),linear-gradient(160deg,#1a1a1a,#0a0a0a);font-size:28px;font-weight:700;color:#ffffff73}.create-experience-meta{display:flex;flex-direction:column;gap:3px;padding:12px 12px 14px}.create-experience-meta strong{font-size:13px;font-weight:650}.create-experience-meta span{color:var(--create-muted);font-size:12px}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,224px);gap:16px;margin:0;padding:0;list-style:none}.create-templates-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}.create-search-input{flex:1 1 240px;min-width:200px;max-width:480px;height:40px;padding:0 14px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:#ffffff0a;color:var(--create-text);font:inherit;font-size:14px}.create-search-input::placeholder{color:var(--create-muted)}.create-search-input:focus{outline:none;border-color:var(--create-accent-text)}.create-sort-chips{display:inline-flex;gap:6px;padding:4px;border-radius:12px;background:#ffffff0a;border:1px solid rgba(255,255,255,.08)}.create-sort-chip{height:30px;padding:0 14px;border-radius:8px;border:0;background:transparent;color:var(--create-muted);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.create-sort-chip.is-active{background:#ffffff1a;color:var(--create-text)}.media-card-cta{display:inline-block;padding:4px 10px;border-radius:999px;background:#0009;border:1px solid rgba(255,255,255,.14);color:#f2f2f2;font-size:11px;font-weight:600;white-space:nowrap}.media-card{display:flex;flex-direction:column;gap:10px;width:224px;color:inherit;text-decoration:none;cursor:pointer;border:0;background:transparent;padding:0;text-align:left;font:inherit}.media-card-cover{position:relative;width:100%;aspect-ratio:2 / 3;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.1);background:linear-gradient(160deg,#ffffff14,#ffffff05),#ffffff0a}.media-card-image,.media-card-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.media-card-video{opacity:0;transition:opacity .15s ease}.media-card:hover .media-card-video{opacity:1}.media-card-icon-fallback{display:grid;place-items:center;width:100%;height:100%;color:#ffffff8c;background:radial-gradient(120% 90% at 20% 10%,rgba(74,158,255,.22),transparent 50%),linear-gradient(160deg,#1a1a1a,#0a0a0a)}.media-card-badge{position:absolute;top:10px;left:10px;max-width:calc(100% - 20px);padding:4px 8px;border-radius:999px;background:#0000008c;border:1px solid rgba(255,255,255,.12);color:#f2f2f2;font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-card-actions{position:absolute;top:8px;right:8px;opacity:0;transition:opacity .15s ease}.media-card:hover .media-card-actions{opacity:1}.media-card-body{display:flex;flex-direction:column;gap:4px;min-width:0}.media-card-title{font-size:13px;font-weight:650;line-height:1.35;color:var(--create-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-card-meta{color:var(--create-muted);font-size:12px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.create-library-main{max-width:none}.create-library-main .library-toolbar h1{color:var(--create-text)}@media(max-width:820px){.create-shell{grid-template-columns:1fr}.create-sidebar{flex-direction:row;align-items:center;gap:8px;width:100%;height:auto;padding:10px 12px;border-right:0;border-bottom:1px solid var(--create-border);overflow-x:auto}.create-sidebar-top{flex-direction:row;align-items:center;gap:10px;flex:1;min-width:0}.create-sidebar-user,.create-sidebar-bottom,.create-sidebar-brand-text{display:none}.create-sidebar-nav{flex-direction:row;flex-wrap:nowrap}.create-sidebar-link span:not(.create-sidebar-play-mark){display:none}.create-sidebar-link{width:auto;min-width:40px;justify-content:center;padding:0 10px}.create-get-started-grid{grid-template-columns:1fr}.create-command{padding-top:12px;text-align:left}.create-command-lede{margin-left:0;margin-right:0}.create-composer{width:100%;grid-template-columns:1fr;padding:12px}.create-composer-toolbar{flex-wrap:wrap}.create-composer-model-select{max-width:100%}.media-grid{grid-template-columns:repeat(auto-fill,minmax(148px,1fr))}.media-card{width:100%}.create-banner{flex-direction:column;align-items:flex-start}.create-shell-body{padding:8px 16px 32px}.create-landing-wall-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.create-landing-links{display:none}}.empty-state{min-height:360px;border:1px dashed var(--border-strong);border-radius:8px;background:#ffffff08}.workspace-gate-project{margin-top:4px;color:var(--text);font-size:13px;font-weight:600}.muted{color:var(--text-muted);font-size:12px;max-width:36rem;line-height:1.45}.dialog-backdrop{position:fixed;z-index:100;inset:0;display:grid;place-items:center;background:#131d216b;padding:20px}.dialog{width:min(440px,100%);border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 22px 60px #14202533;padding:22px}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.dialog-heading h2{margin:0;font-size:20px}.field{display:flex;flex-direction:column;gap:7px;margin-top:15px;color:var(--text-muted);font-size:12px;font-weight:700}.field input,.field select,.auth-form input{width:100%;height:40px;border:1px solid var(--border-strong);border-radius:6px;background:var(--surface-muted);padding:0 11px;color:var(--text);outline:none}.field input:focus,.field select:focus,.auth-form input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #16766f1f}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.form-error,.auth-error{margin:14px 0 0;color:var(--danger);font-size:12px;line-height:1.5}.auth-page{display:grid;width:100%;height:100%;place-content:center;gap:10px;background:#000;color:var(--text-muted);font-size:13px;text-align:center}.auth-panel{display:flex;width:min(390px,calc(100vw - 32px));flex-direction:column;align-items:stretch;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#1a1a1a;padding:30px;text-align:left;box-shadow:0 16px 42px #00000073}.auth-panel .brand-mark{margin-bottom:20px}.auth-panel h1{margin:0 0 24px;color:var(--text);font-size:24px}.auth-action{width:100%}.auth-form{display:flex;flex-direction:column;gap:13px;margin-top:14px}.auth-form label{display:flex;flex-direction:column;gap:6px;color:var(--text-muted);font-size:12px;font-weight:700}.workspace-gate{min-height:0;flex:1}.workspace-shell{display:flex;min-height:0;flex:1;flex-direction:column}.workspace-status{display:flex;height:28px;min-height:28px;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(255,255,255,.06);background:#050505;padding:0 12px;color:var(--text-muted);font-size:11px;font-weight:600}.workspace-status span{display:inline-flex;align-items:center;gap:6px}.workspace-status span.status-ready{color:var(--accent)}.workspace-status span.status-warn,.workspace-status span.disconnected{color:var(--coral)}.workspace-status-name{overflow:hidden;color:var(--text-muted);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.workspace-status svg{width:13px;height:13px}.workspace-main{display:grid;min-width:0;min-height:0;flex:1;grid-template-columns:244px minmax(0,1fr) minmax(300px,25vw);overflow:hidden}.workspace-tabs{display:flex;height:38px;min-height:38px;align-items:stretch;border-bottom:1px solid transparent;background:#050505f0;box-shadow:0 12px 34px #0003;padding-left:244px}.workspace-tabs button{display:inline-flex;min-width:94px;align-items:center;justify-content:center;gap:6px;border:0;border-bottom:2px solid transparent;background:transparent;color:#8f8f8f;cursor:pointer;font-size:12px;font-weight:600;transition:color .12s,background .12s}.workspace-tabs button:hover{color:#d8d8d8}.workspace-tabs button.active{color:#f3f3f3;border-bottom-color:#4a9effa6}.workspace-tabs svg{width:14px;height:14px}.workspace-tabs .mobile-only{display:none}.workspace-files-panel,.workspace-center,.workspace-agent-panel{min-width:0;min-height:0;overflow:hidden}.workspace-files-panel>.file-tree,.workspace-center>.editor-pane,.workspace-center>.editor-empty,.workspace-center>.managed-process-surface,.workspace-center>.processes-panel,.workspace-agent-panel>.agent-panel{width:100%;height:100%}.file-tree{display:flex;min-width:0;min-height:0;flex-direction:column;border-right:1px solid var(--border);background:var(--surface)}.workspace-agent-panel{border-left:1px solid var(--border);background:var(--surface)}.agent-panel{display:flex;min-width:0;min-height:0;flex-direction:column;background:var(--surface)}.agent-heading{display:flex;height:40px;min-height:40px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:0 8px 0 12px;color:var(--text-muted);font-size:11px;font-weight:800;text-transform:uppercase}.agent-heading>span{display:inline-flex;align-items:center;gap:6px}.agent-heading-actions{display:inline-flex;align-items:center;gap:2px}.agent-heading svg{width:14px;height:14px}.agent-state-hint{font-size:11px;color:var(--text-muted);opacity:.85}.agent-thread-select{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;border-bottom:1px solid var(--border);padding:7px 10px;color:var(--text-muted);font-size:10px;font-weight:700}.agent-thread-select select{min-width:0;height:30px;border:1px solid var(--border);border-radius:5px;background:var(--surface);padding:0 7px;color:var(--text);font-size:11px}.agent-messages{min-height:0;flex:1;overflow:auto;background:#0e0e0e;padding:12px 10px}.agent-message{max-width:94%;margin:0 0 12px}.agent-message strong{display:block;margin:0 0 4px;color:var(--text-muted);font-size:10px}.agent-message p{margin:0;border-left:2px solid var(--border-strong);padding:2px 0 2px 9px;color:var(--text);font-size:12px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}.agent-message.user{margin-left:auto}.agent-message.user strong{text-align:right}.agent-message.user p{border-right:2px solid var(--teal);border-left:0;padding-right:9px;padding-left:0}.agent-message.system p{color:var(--text-muted);font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:11px}.agent-message.streaming p{border-color:var(--coral)}.agent-state{display:flex;min-height:160px;align-items:center;justify-content:center;flex-direction:column;gap:9px;padding:16px;color:var(--text-muted);font-size:12px;text-align:center}.agent-state>svg{width:22px;height:22px}.agent-state.error,.agent-inline-error{color:var(--danger)}.agent-running{display:flex;align-items:center;gap:6px;margin:3px 0 10px;color:var(--teal-dark);font-size:11px}.agent-running svg{width:13px;height:13px}.agent-inline-error{border-top:1px solid #e6beb9;padding:8px 0;font-size:11px}.agent-composer{position:relative;border-top:1px solid var(--border);background:var(--surface);padding:9px}.agent-composer textarea{display:block;width:100%;min-height:68px;resize:none;border:1px solid var(--border-strong);border-radius:6px;background:var(--surface);padding:9px 42px 9px 9px;color:var(--text);font:inherit;font-size:12px;line-height:1.45;outline:none}.agent-composer textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #16766f1f}.agent-send{position:absolute;right:14px;bottom:14px;background:var(--teal);color:#fff}.agent-send:hover:not(:disabled){background:var(--teal-dark);color:#fff}.unavailable-surface{display:flex;width:100%;height:100%;min-height:0;align-items:center;justify-content:center;flex-direction:column;gap:9px;background:#f7f9f9;color:var(--text-muted);text-align:center}.unavailable-surface>svg{width:26px;height:26px}.unavailable-surface strong{color:var(--text);font-size:14px}.unavailable-surface span{font-size:12px}.managed-process-surface,.processes-panel{display:flex;min-width:0;min-height:0;flex-direction:column;background:var(--editor)}.processes-panel>.managed-process-surface{min-height:0;flex:1}.process-command-tabs{display:flex;height:40px;min-height:40px;align-items:stretch;border-bottom:1px solid #30373a;background:#202629;padding:0 8px}.process-command-tabs button{display:inline-flex;min-width:92px;align-items:center;justify-content:center;gap:6px;border:0;border-bottom:2px solid transparent;background:transparent;color:#9ba6ab;cursor:pointer;font-size:11px;font-weight:700}.process-command-tabs button.active{border-bottom-color:#58b8af;color:#e4ecef}.process-command-tabs svg{width:14px;height:14px}.process-toolbar{display:flex;min-height:46px;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #30373a;background:#202629;padding:0 10px 0 13px}.process-title,.process-actions{display:flex;min-width:0;align-items:center;gap:8px}.process-title{color:#d5dde0;font-size:12px}.process-title>svg{width:15px;height:15px;color:#8f9ba0}.process-state{border:1px solid #475156;border-radius:4px;padding:3px 6px;color:#9ba6ab;font-size:10px;font-weight:700}.process-state.running{border-color:#3c817b;color:#70c9c0}.process-state.failed{border-color:#8f4d46;color:#ef958b}.process-actions .icon-button{color:#9ba6ab}.process-error{border-bottom:1px solid #6d403b;background:#3c2624;padding:8px 12px;color:#efaaa2;font-size:11px}.preview-frame{min-width:0;min-height:180px;flex:1;background:#0e0e0e}.preview-frame iframe{display:block;width:100%;height:100%;border:0;background:#fff}.preview-frame-loading{display:flex;width:100%;height:100%;align-items:center;justify-content:center;gap:8px;color:#65747b;font-size:12px}.preview-frame-loading svg{width:17px;height:17px}.preview-process .process-console{flex:0 0 136px;border-top:1px solid #30373a}.publish-result{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;border-bottom:1px solid #315f5b;background:#163633;padding:12px 14px;color:#d8f4f1;font-size:12px}.publish-result>span{color:#86c8c1;font-size:11px}.publish-result .button{text-decoration:none}@media(max-width:600px){.publish-result{grid-template-columns:minmax(0,1fr) auto}.publish-result .button{grid-column:1 / -1}}.process-console{min-height:0;flex:1;overflow:auto;padding:12px 14px;color:#c3ccd0;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.65}.process-console>div:not(.process-console-empty){display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;overflow-wrap:anywhere;white-space:pre-wrap}.process-console>div>span{color:#65747b;font-size:9px;text-transform:uppercase}.process-console>div.stderr{color:#efaaa2}.process-console-empty{color:#6f7b80}.file-tree-heading{display:flex;height:40px;min-height:40px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:0 8px 0 13px;color:var(--text-muted);font-size:11px;font-weight:800;text-transform:uppercase}.file-tree-heading-actions,.file-tree-actions{display:inline-flex;align-items:center}.file-tree-mutation-error{border-bottom:1px solid #e6beb9;background:#fff0ee;padding:7px 10px;color:var(--danger);font-size:11px;overflow-wrap:anywhere}.file-tree-scroll{min-height:0;flex:1;overflow:auto;padding:6px 5px}.file-tree-row{display:flex;width:100%;min-width:0;height:30px;align-items:center;gap:2px;border-radius:5px;background:transparent;padding-right:3px;color:#3f4c52;cursor:pointer;font-size:12px;text-align:left}.file-tree-open{display:flex;min-width:0;height:100%;flex:1;align-items:center;gap:5px;border:0;background:transparent;padding:0;color:inherit;cursor:pointer;text-align:left}.file-tree-actions{flex:0 0 auto;opacity:0}.file-tree-row:hover .file-tree-actions,.file-tree-row:focus-within .file-tree-actions{opacity:1}.file-tree-actions button{display:inline-grid;width:24px;height:24px;place-items:center;border:0;border-radius:4px;background:transparent;color:var(--text-muted);cursor:pointer}.file-tree-actions button:hover{background:#fffc;color:var(--text)}.file-tree-actions svg{width:12px;height:12px}.file-tree-row:hover{background:var(--surface-muted)}.file-tree-row.active{background:#dcecea;color:var(--teal-dark)}.file-tree-caret,.file-tree-icon{display:inline-grid;width:15px;height:15px;flex:0 0 15px;place-items:center;color:#718087}.file-tree-icon.directory{color:var(--coral)}.file-tree-caret svg,.file-tree-icon svg{width:14px;height:14px}.file-tree-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-tree-note{display:flex;min-height:28px;align-items:center;gap:5px;border:0;background:transparent;color:var(--text-muted);font-size:11px}button.file-tree-note{width:100%;cursor:pointer;text-align:left}.file-tree-note svg{width:12px;height:12px}.file-tree-note.error,.file-tree-state.error{color:var(--danger)}.file-tree-state{display:flex;min-height:120px;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:14px;color:var(--text-muted);font-size:12px;text-align:center}.file-tree-state svg{width:17px;height:17px}.editor-pane,.editor-empty{display:flex;min-width:0;min-height:0;flex-direction:column;background:var(--editor)}.editor-empty{align-items:center;justify-content:center;gap:10px;color:#849097;font-size:13px}.editor-empty svg{width:28px;height:28px}.editor-toolbar{display:flex;height:40px;min-height:40px;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #30373a;background:#202629;padding:0 8px 0 12px}.editor-file-name{display:flex;min-width:0;align-items:center;gap:7px;color:#c8d0d4;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:11px}.editor-file-name span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-file-name svg{width:14px;height:14px;flex:0 0 14px}.editor-file-name i{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#f1a25e}.editor-surface{min-height:0;flex:1}.editor-loading{display:flex;height:100%;align-items:center;justify-content:center;gap:8px;color:#9ba6ab;font-size:12px}.editor-loading svg{width:17px;height:17px}.editor-banner{display:flex;min-height:42px;align-items:center;gap:9px;border-bottom:1px solid;padding:6px 10px;font-size:12px}.editor-banner>span{min-width:0;flex:1}.editor-banner>svg{width:16px;height:16px;flex:0 0 16px}.editor-banner.conflict{border-color:#d5b362;background:var(--warning-bg);color:#6e5312}.editor-banner.error{border-color:#c77b73;background:#fff0ee;color:var(--danger)}.spin{animation:studio-spin .8s linear infinite}@keyframes studio-spin{to{transform:rotate(360deg)}}@media(max-width:900px){.studio-page,.studio-workspace-page{height:100dvh;min-height:100dvh}.studio-header{height:calc(54px + env(safe-area-inset-top));min-height:calc(54px + env(safe-area-inset-top));grid-template-columns:auto minmax(0,1fr) auto;gap:8px;padding:env(safe-area-inset-top) max(10px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left))}.studio-header>:last-child{grid-column:3;grid-row:1}.studio-header .project-id{display:none}.library-main{padding:26px max(16px,env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.library-toolbar{align-items:flex-start}.library-toolbar h1{font-size:23px}.library-toolbar .button{min-width:40px;padding-inline:10px}.project-grid{grid-template-columns:1fr}.workspace-main{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr)}.workspace-tabs{height:44px;min-height:44px;overflow-x:auto;padding-left:0}.workspace-tabs .mobile-only{display:inline-flex}.workspace-tabs button{min-width:76px;flex:1 0 76px;font-size:10px}.workspace-files-panel,.workspace-center,.workspace-agent-panel{display:none;grid-area:1 / 1}.workspace-files-panel.mobile-active,.workspace-center.mobile-active,.workspace-agent-panel.mobile-active{display:block}.workspace-files-panel .file-tree{border-right:0;border-bottom:1px solid var(--border)}.workspace-agent-panel{border-left:0}.file-tree-actions{opacity:1}.process-toolbar{min-height:52px}.process-command-tabs{overflow-x:auto}.process-command-tabs button{min-width:104px;flex:1 0 104px}.dialog{padding:18px}}.library-toolbar-actions{display:flex;gap:10px;align-items:center}.library-action-error{margin:0 0 12px}.project-card{position:relative}.project-card-actions{position:absolute;top:10px;right:10px;display:flex;gap:4px}.project-card-actions .icon-button.danger{color:#c2410c}.media-panel{display:flex;flex-direction:column;gap:16px;height:100%;min-height:0;padding:18px;overflow:auto}.media-panel-header h2{margin:4px 0 6px}.media-panel-header .muted{margin:0;color:var(--muted, #6b7280);font-size:13px}.media-actions{display:flex;flex-direction:column;gap:12px}.media-upload{align-self:flex-start}.media-generate{display:flex;gap:8px}.media-generate input{flex:1;min-width:0;border:1px solid var(--border, #d1d5db);border-radius:10px;padding:10px 12px;background:var(--surface, #fff)}.media-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.media-list li{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--border, #e5e7eb);border-radius:10px;background:var(--surface, #fff)}.media-list code{font-size:12px;word-break:break-all}.media-status{margin:0;color:#047857;font-size:13px}.media-empty{min-height:180px}@media(prefers-reduced-motion:reduce){.spin{animation:none}}.electron-chrome{background:#000}.studio-workspace-ready{position:relative}.workspace-host-row{display:flex;width:100%;height:48px;min-height:48px;flex:0 0 48px;align-items:center;background:#050505}.workspace-host-leading{z-index:250;display:flex;width:clamp(340px,28vw,440px);height:48px;flex:0 0 clamp(340px,28vw,440px);align-items:center;gap:6px;border-right:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.06);background:#050505;padding:0 8px 0 12px}.workspace-host-leading .project-menu{min-width:0;flex:1}.workspace-agent-toggle{display:inline-flex;width:32px;height:32px;flex:0 0 32px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:8px;background:transparent;color:#9a9a9a;cursor:pointer;padding:0}.workspace-agent-toggle:hover{border-color:#ffffff14;background:#ffffff0f;color:#f0f0f0}.workspace-agent-toggle:focus-visible{outline:2px solid rgba(150,180,255,.55);outline-offset:2px}.workspace-agent-toggle svg{width:17px;height:17px}.workspace-host-row>.app-host-chrome{min-width:0;flex:1 1 auto}.mobile-workflow-nav,.mobile-tools-layer{display:none}.app-row{display:flex;min-height:0;flex:1;flex-direction:row;background:#000}.agent-column{display:flex;width:min(360px,32vw);min-width:280px;max-width:420px;min-height:0;flex:0 0 min(360px,32vw);flex-direction:column;border-right:1px solid rgba(255,255,255,.08);background:#050505}.agent-column>.agent-panel,.agent-column>.cloud-agent-panel{flex:1;width:100%;height:100%;min-height:0;background:#050505;color:#ffffffe0}.app-workspace{display:flex;min-width:0;min-height:0;flex:1;flex-direction:column;background:#050505}.host-status{display:inline-flex;align-items:center;gap:5px;color:#ffffff80;font-size:11px;font-weight:600}.host-status.status-ready{color:#3dd6c6}.host-status.status-warn{color:#e07a68}.host-status svg{width:13px;height:13px}.button.active-toggle{color:#fff;background:#ffffff1a}.host-main{min-height:0;flex:1;overflow:hidden}.preview-stage{display:grid;width:100%;height:100%;place-items:center;background:#0a0a0a;padding:16px}.preview-device-frame{width:100%;height:100%;min-height:0;overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:#111;box-shadow:0 24px 60px #00000073}.preview-stage.device-tablet .preview-device-frame{width:min(820px,100%);height:min(100%,1100px)}.preview-stage.device-phone .preview-device-frame{width:min(390px,100%);height:min(100%,844px);border-radius:28px}.code-workspace{display:grid;width:100%;height:100%;grid-template-columns:260px minmax(0,1fr);min-height:0}.cm-panel{display:flex;width:100%;height:100%;min-height:0;flex-direction:column;background:#050505;color:#e8e6e3}.cm-toolbar{display:flex;height:44px;min-height:44px;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(255,255,255,.08);background:#050505f0;padding:0 14px}.cm-toolbar strong{font-size:13px}.cm-path{margin-left:10px;color:#fff6;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.cm-toolbar-actions{display:flex;align-items:center;gap:10px}.cm-status{color:#3dd6c6;font-size:12px}.cm-error{color:#f07178;font-size:12px}.cm-body{min-height:0;flex:1;overflow:auto;padding:18px 22px 40px}.cm-fields{display:grid;width:min(880px,100%);gap:16px;margin:0 auto}.cm-field{display:flex;flex-direction:column;gap:7px}.cm-field-label{display:flex;align-items:baseline;gap:8px;color:#ffffffb8;font-size:12px;font-weight:700}.cm-field-label small{color:#ffffff59;font-size:11px;font-weight:500}.cm-input,.cm-textarea{width:100%;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0a;color:#f2f2f2;font:inherit;outline:none}.cm-input{height:38px;padding:0 11px}.cm-textarea{resize:vertical;min-height:88px;padding:10px 11px;line-height:1.5}.cm-input:focus,.cm-textarea:focus{border-color:#3dd6c673;box-shadow:0 0 0 3px #3dd6c61f}.cm-json-pane{width:min(960px,100%);margin:0 auto}.cm-hint{margin:0 0 10px;color:#ffffff73;font-size:12px}.cm-state{display:flex;width:100%;height:100%;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#ffffff8c}.cloud-seacraft-panel,.cloud-agent-panel{height:100%;min-height:0}.host-main-desktop{position:relative;padding:0;overflow:hidden}.guest-pane{position:absolute;inset:0;display:flex;min-width:0;min-height:0}.cloud-guest-frame{width:100%;height:100%;border:0;background:#0c0c0c}@media(min-width:961px)and (max-width:1199px){.host-status-label{display:none}}@media(max-width:960px){.studio-workspace-page{--mobile-nav-height: 58px;position:relative}.studio-workspace-page .studio-header{height:calc(48px + env(safe-area-inset-top));min-height:calc(48px + env(safe-area-inset-top))}.studio-workspace-ready>.studio-header{display:none}.workspace-host-row{display:block;height:auto;min-height:0;flex-basis:auto}.workspace-host-leading{display:none}.mobile-workflow-nav{z-index:50;display:grid;min-height:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));flex:0 0 calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--border);background:#0a0a0a;padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.mobile-publish-open .mobile-workflow-nav{display:none}.mobile-workflow-nav button,.mobile-workflow-nav a{display:flex;min-height:var(--mobile-nav-height);min-width:0;align-items:center;justify-content:center;flex-direction:column;gap:3px;border:0;border-top:2px solid transparent;background:transparent;color:var(--text-muted);cursor:pointer;font-size:11px;font-weight:700;text-decoration:none}.mobile-workflow-nav button[aria-current=page],.mobile-workflow-nav button.active,.mobile-workflow-nav a[aria-current=page]{border-top-color:var(--accent);color:var(--accent)}.mobile-workflow-nav button:disabled{cursor:not-allowed;opacity:.38}.mobile-workflow-nav svg{width:18px;height:18px}.mobile-tools-layer{position:absolute;z-index:40;inset:0 0 calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));display:flex;align-items:flex-end;justify-content:center;background:#00000094;padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right))}.mobile-tools-sheet{width:min(420px,100%);border:1px solid var(--border-strong);border-bottom:0;border-radius:8px 8px 0 0;background:#121212;padding:10px 12px 14px;box-shadow:0 -18px 48px #0000006b}.mobile-tools-header{display:flex;min-height:44px;align-items:center;justify-content:space-between;padding-left:4px}.mobile-tools-header strong{font-size:14px}.mobile-tools-header .icon-button{width:44px;height:44px;flex-basis:44px}.mobile-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mobile-tools-grid>button{display:flex;min-width:0;min-height:68px;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1px solid var(--border);border-radius:6px;background:#191919;color:var(--text-muted);cursor:pointer;font-size:12px;font-weight:700}.mobile-tools-grid>button.active{border-color:#2d8f87;background:#132422;color:var(--accent)}.mobile-tools-grid svg{width:19px;height:19px}.app-row{width:100%;padding-bottom:0}.mobile-workspace-active .cloud-seacraft-panel,.mobile-agent-active .app-workspace{display:none}.mobile-agent-active .cloud-seacraft-panel.seacraft-frame-panel{display:flex;width:100%;min-width:0;max-width:none;flex:1 1 auto;box-shadow:none}.cloud-seacraft-panel .seacraft-frame-chrome,.studio-workspace-ready .app-host-chrome{display:none}.studio-workspace-ready .app-host-chrome[data-view=cardmaker]{display:grid;height:48px;min-height:48px;grid-template-columns:minmax(0,1fr);padding:2px max(8px,env(safe-area-inset-right)) 2px max(8px,env(safe-area-inset-left))}.app-host-chrome[data-view=cardmaker] .app-host-chrome-left,.app-host-chrome[data-view=cardmaker] .app-host-chrome-right{display:none}.app-host-chrome[data-view=cardmaker] .app-host-chrome-center{width:100%;max-width:none;overflow:hidden}.app-host-chrome[data-view=cardmaker] .app-context-tabs{width:100%;height:44px;padding-block:0}.app-host-chrome[data-view=cardmaker] .app-context-tab{min-height:44px;padding-inline:12px;font-size:12px}.code-workspace{grid-template-columns:1fr}.cm-body{padding:14px max(14px,env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}}@media(max-width:960px)and (max-height:500px){.studio-workspace-page{--mobile-nav-height: 48px}.mobile-workflow-nav button,.mobile-workflow-nav a{flex-direction:row;gap:6px}}@media(max-width:600px){.studio-workspace-page .studio-brand,.studio-template-badge{display:none}.studio-header-center{max-width:100%}.studio-project-title{display:flex;justify-content:center}.library-toolbar{align-items:stretch;flex-direction:column;gap:16px;margin-bottom:20px}.library-toolbar-actions{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.library-toolbar .button{width:100%;min-height:44px}.project-card>button{min-height:138px;padding:16px}.project-card-body{padding-right:92px}.icon-button{width:44px;height:44px;flex-basis:44px}.dialog-backdrop{place-items:end center;padding:env(safe-area-inset-top) 0 0}.dialog{width:100%;max-height:calc(100dvh - env(safe-area-inset-top));overflow-y:auto;border-radius:8px 8px 0 0;padding:20px max(18px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))}.field input,.field select,.auth-form input{height:44px;font-size:16px}.dialog-actions .button{min-height:44px}.auth-page{height:100dvh;overflow-y:auto;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.auth-panel{width:min(390px,100%);padding:24px}}
