.project-home{padding:30px clamp(20px,4vw,70px) 50px;width:100%;max-width:1500px;margin:auto;overflow:auto}.home-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.home-eyebrow{font-size:11px;color:var(--muted);letter-spacing:.12em}.home-heading h1{font-size:clamp(24px,2.5vw,34px);margin:10px 0 8px;font-weight:600;letter-spacing:-.02em}.home-heading p{color:var(--muted);font-size:13px;margin:0}.home-primary-actions{display:grid;grid-template-columns:minmax(200px,1fr) minmax(220px,1fr);gap:20px;max-width:780px;margin-bottom:38px}.home-create-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;min-height:165px;padding:24px;border:1px solid var(--border);border-radius:var(--studio-radius,12px);background:var(--panel);color:var(--text);text-align:left}.home-create-card>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:var(--gold);background:color-mix(in srgb,var(--gold) 12%,transparent)}.home-create-card strong{font-size:17px}.home-create-card small,.home-shortcuts small{color:var(--muted);font-size:12px}.home-shortcuts{display:grid;gap:12px}.home-shortcuts>button{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid var(--border);border-radius:var(--studio-radius,12px);background:var(--panel);color:var(--text);text-align:left}.home-shortcuts>button>span{display:grid;gap:6px;flex:1}.home-shortcuts>button>svg:last-child{width:14px;color:var(--muted)}.home-shortcuts strong{font-size:14px}.home-project-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.home-project-heading h2{font-size:17px;font-weight:600;margin:0}.home-project-heading h2 small{font-size:12px;color:var(--muted);margin-inline-start:6px}.home-project-search{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:var(--studio-radius,8px);padding:8px 11px;max-width:250px;color:var(--muted)}.home-project-search>svg{width:14px;flex:none}.home-project-search input{border:0;outline:0;min-width:0;width:100%;background:none;color:var(--text);font:12px inherit}.home-project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:16px}.home-project-card[hidden]{display:none}.home-project-card{border:1px solid var(--border);border-radius:var(--studio-radius,12px);background:var(--panel);min-width:0}.home-project-open{width:100%;height:100%;padding:22px;display:flex;align-items:flex-start;flex-direction:column;gap:11px;border:0;background:none;text-align:start;color:var(--text)}.home-project-icon{color:var(--gold);margin-bottom:10px}.home-project-open strong{font-size:16px;overflow-wrap:anywhere;line-height:1.4}.home-project-open>span:not(.home-project-icon),.home-project-open small{font-size:12px;color:var(--muted)}.home-project-open>b{font-size:12px;font-weight:500;margin-top:8px;color:var(--gold)}.home-project-card:hover,.home-create-card:hover,.home-shortcuts>button:hover{border-color:var(--gold)}.home-search-empty,.home-empty{color:var(--muted);font-size:13px;padding:20px}.project-home button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:650px){.project-home{padding:20px 16px 32px}.home-primary-actions{grid-template-columns:1fr;gap:12px;margin-bottom:26px}.home-create-card{min-height:125px;padding:20px}.home-shortcuts{grid-template-columns:1fr 1fr}.home-shortcuts>button{padding:12px;gap:8px}.home-shortcuts>button>svg:last-child{display:none}.home-shortcuts strong{font-size:12px}.home-shortcuts small{font-size:10px}.home-heading>.btn{font-size:11px;padding:8px;max-width:130px;white-space:normal}.home-project-heading{flex-wrap:wrap}.home-project-search{max-width:100%;flex:1;min-width:130px}.home-project-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}}
.project-welcome{width:100%;max-width:100%;height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain}
.project-welcome>.welcome-header{width:100%;min-width:0;flex:none;gap:18px;padding:18px clamp(18px,3vw,40px)}
.welcome-header .brand{flex:none}.welcome-header .welcome-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;margin-left:auto}
.welcome-account{display:flex;align-items:center;gap:9px;padding:5px 9px;border-radius:var(--radius-sm,8px);min-width:0;text-align:start}.welcome-account>span{display:grid;gap:2px;min-width:0}.welcome-account strong{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}.welcome-account small{font-size:10px;color:var(--muted)}
.project-welcome>.welcome-main{display:grid;place-items:center;flex:1;width:100%;max-width:none;min-height:0;margin:0;padding:clamp(32px,7vh,76px) 24px}
.welcome-card{width:min(100%,560px);min-width:0;margin:auto}.welcome-intro{text-align:center}.project-welcome .welcome-intro .assistant-symbol{display:grid;place-items:center;margin:0 auto 20px}.project-welcome .welcome-intro h1{font-size:clamp(27px,3vw,36px);letter-spacing:-.02em;margin:12px 0}.welcome-intro>p{max-width:450px;margin:12px auto 0}
.project-welcome .welcome-card form{gap:12px;margin-top:30px;padding:24px;border:1px solid var(--line);border-radius:var(--radius,12px);background:color-mix(in srgb,var(--panel) 60%,transparent)}
.welcome-card label{font-size:12px;font-weight:500}.welcome-card input{min-width:0;min-height:44px}.project-welcome .welcome-card .welcome-create{width:100%;justify-self:stretch;min-height:43px;margin-top:2px}.welcome-create>.icon:last-child{margin-left:auto}.welcome-create>.icon:first-child{margin-right:auto}
.project-welcome .welcome-card .welcome-form-hint{font-size:11px;line-height:1.8;color:var(--muted);text-align:center;margin:0}
.project-create-error{color:var(--red)!important;font-size:12px!important;line-height:1.7;margin:0;overflow-wrap:anywhere}.project-create-error[hidden]{display:none}
.welcome-card .welcome-steps{display:flex;justify-content:center;gap:clamp(16px,3vw,32px);list-style:none;padding:24px 0 0;margin:0;font-size:11px;color:var(--muted)}.welcome-steps li{display:flex;align-items:center;gap:7px;white-space:nowrap}.welcome-steps li>span{font:10px ui-monospace,monospace;color:var(--accent)}
@media(max-width:600px){.project-welcome>.welcome-header{flex-wrap:wrap;gap:12px;padding:14px 18px}.welcome-header .welcome-actions{width:100%;margin:0;justify-content:flex-end}.welcome-header .welcome-account{margin-right:auto;padding-left:0}.welcome-account strong{max-width:150px}.project-welcome>.welcome-main{padding:30px 18px 36px}.project-welcome .welcome-card form{padding:18px;margin-top:24px}.welcome-card .welcome-steps{gap:16px;font-size:10px}.welcome-steps li{gap:5px}.welcome-intro>p{font-size:12px}}
.studio.empty-project-mode{grid-template-columns:216px minmax(0,1fr);grid-template-rows:64px minmax(0,1fr);min-height:0;height:100dvh}.empty-project-mode>.main{grid-column:2;grid-row:2}.empty-project-mode .topbar{height:64px;min-width:0}.empty-project-mode .topright{min-width:0;gap:8px}.empty-workspace-context{font-size:12px;color:var(--muted)}.empty-workspace-account{min-width:0}.empty-workspace-account>span{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-project-mode .sidebar>.eyebrow{margin:4px 9px 14px}.empty-project-create{width:100%;margin:0 0 16px;min-height:38px}.empty-project-mode .workspace{display:block;overflow:auto;margin-top:4px}.empty-project-mode.home-mode .workspace{margin-top:16px}.empty-project-mode .page-head>.actions{display:flex!important;margin-left:auto}.empty-project-mode .page-head{flex:none}.empty-project-mode .project-home{max-width:1220px;padding:30px clamp(20px,4vw,56px)}
.home-explore{margin:0 0 30px}.home-explore h2{font-size:16px;font-weight:500;margin:0 0 14px}.home-explore>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.home-explore button{display:flex;align-items:center;gap:12px;min-width:0;text-align:left;border:1px solid var(--line);border-radius:var(--radius,10px);background:var(--surface);padding:17px 13px}.home-explore button>span{flex:1;min-width:0;display:grid;gap:5px}.home-explore strong{font-size:12px;font-weight:500}.home-explore small{font-size:10px;line-height:1.6}.home-explore button>.icon:first-child{color:var(--accent)}.home-explore button>.icon:last-child{width:12px;color:var(--muted)}.home-explore button:hover,.empty-workspace-tool:hover{border-color:var(--accent)}
.empty-workspace-content{width:100%;max-width:1220px;margin:auto;padding:24px clamp(18px,3vw,38px) 34px;min-width:0}.empty-workspace-tip{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 20px}.empty-tool-group{margin:0 0 26px}.empty-tool-group>h2{font-size:15px;font-weight:500;margin:0 0 12px}.empty-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.empty-workspace-tool{display:grid;grid-template-columns:32px minmax(0,1fr);align-content:start;gap:5px 10px;min-width:0;min-height:135px;padding:16px;text-align:left;border:1px solid var(--line);border-radius:var(--radius,10px);background:var(--surface)}.empty-workspace-tool>span{display:grid;place-items:center;grid-row:span 2;width:30px;height:30px;color:var(--accent);background:var(--soft);border-radius:7px}.empty-workspace-tool>strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.empty-workspace-tool>p{font-size:11px;line-height:1.8;color:var(--muted);margin:0;overflow-wrap:anywhere}.empty-workspace-tool>small{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10px;line-height:1.7;color:var(--accent);margin-top:8px}.empty-workspace-tool>small>.icon{width:12px;height:12px}.empty-section-intro{max-width:660px;margin:15px 0 28px}.empty-section-intro>span{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:10px;color:var(--accent);background:var(--panel)}.empty-section-intro h2{font-size:23px;font-weight:500;margin:18px 0 10px}.empty-section-intro p{font-size:13px;line-height:1.9;color:var(--muted);margin:0}.empty-workspace-footnote{border-top:1px solid var(--line);padding-top:18px;margin:28px 0 0;font-size:11px;color:var(--muted)}.empty-canvas-content{min-height:100%;background-image:radial-gradient(color-mix(in srgb,var(--line) 60%,transparent) 1px,transparent 1px);background-size:23px 23px}.empty-canvas-content .empty-section-intro{margin-bottom:38px}.project-prerequisite{margin:0 0 16px}
@media(max-width:1050px){.studio.empty-project-mode{grid-template-columns:184px minmax(0,1fr)}.home-explore>div,.empty-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.empty-workspace-context{display:none}}
@media(max-width:800px) and (min-width:581px){.studio.empty-project-mode{grid-template-columns:66px minmax(0,1fr)}.empty-project-mode .empty-project-create{display:none}.empty-project-mode .nav button span{display:inline}.empty-project-mode .side-footer button{font-size:0}.empty-workspace-account>span{max-width:110px}}
@media(max-width:580px){.studio.empty-project-mode{grid-template-columns:minmax(0,1fr);grid-template-rows:56px minmax(0,1fr) 64px}.empty-project-mode>.main{grid-column:1;grid-row:2}.empty-project-mode .topbar{height:56px;padding:0 12px;gap:8px}.empty-project-mode .topright{gap:5px}.empty-project-mode .topright>.btn{padding:7px 9px;font-size:11px}.empty-workspace-account>span{display:none}.empty-project-mode .sidebar{grid-column:1;grid-row:3;overflow-x:auto;padding:0;scrollbar-width:thin}.empty-project-mode .sidebar>.eyebrow,.empty-project-mode .empty-project-create{display:none}.empty-project-mode .nav{display:flex;flex-wrap:nowrap;gap:0;width:max-content;min-width:100%;height:100%}.empty-project-mode .nav button{flex:0 0 73px;padding:7px 4px;font-size:10px;min-height:0}.empty-project-mode .nav button span{display:inline}.empty-project-mode .page-head{padding:16px 14px;gap:9px}.empty-project-mode .page-head h1{font-size:20px}.empty-project-mode .page-head p{display:none}.empty-project-mode .workspace{margin:0 8px 8px}.empty-project-mode.home-mode .workspace{margin-top:8px}.empty-project-mode .project-home{padding:20px 14px}.empty-workspace-content{padding:20px 14px}.home-explore>div{grid-template-columns:repeat(2,minmax(0,1fr))}.home-explore button{padding:12px 9px;gap:8px}.home-explore button>.icon:last-child{display:none}.home-explore strong{font-size:11px}.home-explore small{font-size:9px}.empty-tool-grid{grid-template-columns:1fr}.empty-workspace-tool{min-height:0;padding:14px}.empty-section-intro h2{font-size:21px}.empty-section-intro p{font-size:12px}.empty-project-mode .home-shortcuts{grid-template-columns:1fr 1fr}}
