:root{--bg:#f5f4ef;--paper:#fff;--ink:#252b27;--muted:#737970;--line:#e3e5dc;--orange:#c94d2b;--orange-soft:#fff0e7;--green:#4b6c57;--serif:Georgia,'Times New Roman',serif;--sans:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:14px;-webkit-font-smoothing:antialiased}a{color:var(--orange);text-underline-offset:3px}button,input{font:inherit}a,button,input{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #e2a178;outline-offset:3px}.site-header{height:88px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 5%;background:rgba(255,255,255,.3)}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-weight:750;font-size:20px;letter-spacing:-.8px}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;color:#fff;background:var(--orange);font-size:26px;font-weight:400}.brand-demo{font-size:9px;letter-spacing:1.4px;border:1px solid #d6d9ce;padding:4px 6px;border-radius:4px;margin-left:3px;color:var(--muted)}.site-header nav{display:flex;align-items:center;gap:20px}.invite-badge{display:flex;gap:9px;align-items:center;font-size:12px;color:#596153}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--green);display:inline-block;flex-shrink:0}.nav-email{font-size:12px;color:var(--muted)}.site-footer{max-width:1280px;margin:auto;padding:27px 5%;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted);border-top:1px solid var(--line)}.auth-layout{max-width:1150px;margin:0 auto;padding:64px 32px 75px;display:grid;grid-template-columns:1.1fr 1fr;gap:100px;align-items:center}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--muted);display:flex;align-items:center;gap:9px}.small-line{width:25px;height:1px;background:var(--orange)}.auth-story h1{font-family:var(--serif);font-weight:400;letter-spacing:-2px;font-size:58px;line-height:1.09;margin:25px 0 24px}.auth-story h1 span{color:var(--orange);font-style:italic}.story-description{font-size:15px;line-height:1.8;color:var(--muted);max-width:370px}.workspace-illustration{margin:30px 0 24px;border:1px solid #d6d9cf;border-radius:12px;box-shadow:0 12px 25px #262b2710;overflow:hidden;background:white;transform:rotate(-2deg);max-width:390px}.illustration-toolbar{padding:12px 14px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);font:10px monospace;color:var(--muted)}.window-dots{display:flex;gap:4px}.window-dots i{width:5px;height:5px;border-radius:50%;background:#d6d9cf}.illustration-body{display:grid;grid-template-columns:110px 1fr;min-height:160px}.illustration-files{background:#f7f8f4;border-right:1px solid var(--line);padding:15px 5px;display:flex;flex-direction:column;gap:15px;font-size:8px;color:var(--muted)}.illustration-files span{padding:5px}.file-selected{background:#e9ecdf;border-radius:4px;color:#4a5447}.illustration-preview{padding:20px;background:#fcf6ed}.preview-pill{font-size:6px;letter-spacing:1px;border:1px solid #dfcbb4;padding:3px 5px;border-radius:10px}.illustration-preview strong{font-family:var(--serif);font-size:21px;line-height:1.05;font-weight:400;display:block;margin:12px 0}.preview-line{height:3px;background:#e4d7c5;width:75%;margin-top:6px}.preview-line.short{width:50%}.preview-button{display:inline-block;background:var(--orange);color:#fff;padding:6px 9px;font-size:7px;margin-top:14px;border-radius:3px}.illustration-bottom{font-size:8px;padding:10px 14px;display:flex;align-items:center;gap:6px;border-top:1px solid var(--line)}.illustration-bottom .status-dot{width:4px;height:4px}.story-note{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:11px;line-height:1.6}.note-icon{font-size:24px;color:var(--orange)}.story-note strong{font-weight:500;color:var(--ink)}.auth-card{background:var(--paper);padding:38px;border:1px solid var(--line);border-radius:15px;box-shadow:0 5px 12px #262b2704}.card-icon{font-size:26px;background:var(--orange-soft);color:var(--orange);width:48px;height:48px;display:grid;place-items:center;border-radius:12px;margin-bottom:24px}.auth-card h2{font-family:var(--serif);font-size:36px;font-weight:400;letter-spacing:-1px;line-height:1.13;margin:15px 0}.muted{color:var(--muted);line-height:1.7}.auth-form{margin-top:30px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.field label{font-size:12px;font-weight:600}.field input{width:100%;min-width:0;padding:12px 13px;border:1px solid #dcdfd5;border-radius:6px;background:#fdfdfb;min-height:44px;color:var(--ink)}.field input::placeholder{color:#91988c;font-size:12px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-row .field{margin-bottom:0}.field-hint{font-size:10px;color:var(--muted);line-height:1.6;margin:0}.auth-form> .field-hint{margin:8px 0 20px}.invite-field{border-top:1px solid var(--line);padding-top:20px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:1px solid transparent;border-radius:6px;font-weight:600;cursor:pointer;text-decoration:none}.button-primary{background:var(--orange);color:white;width:100%;font-size:12px}.button-primary:hover{background:#b44324}.button-quiet{background:transparent;border-color:#d4d8ce;color:var(--ink);font-size:11px;min-height:33px}.auth-switch{font-size:11px;text-align:center;margin-top:25px;color:var(--muted)}.auth-switch a{font-weight:600;margin-left:4px}.card-footnote{border-top:1px solid var(--line);margin-top:25px;padding-top:20px;display:flex;gap:8px;align-items:center;justify-content:center;font-size:10px;color:var(--muted)}.form-errors{background:#fff0e7;border:1px solid #eccbbb;padding:14px 16px;border-radius:7px;font-size:12px;line-height:1.6;margin-top:20px;color:#913b23}.form-errors ul{padding-left:18px;margin-bottom:0}.flash-container{max-width:1200px;margin:20px auto 0;padding:0 32px}.flash{padding:14px 18px;border-radius:7px;font-size:12px;background:#eaf0e5;border:1px solid #d5dfcf}.flash.alert{background:#fff0e7;border-color:#eccbbb}.dashboard-layout{display:grid;grid-template-columns:230px 1fr;max-width:1280px;margin:auto;min-height:720px}.sidebar{padding:35px 22px;border-right:1px solid var(--line);display:flex;flex-direction:column}.workspace-label{display:flex;align-items:center;gap:10px;margin-bottom:35px}.avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#e7eadf;color:#53644b;font-family:var(--serif);font-size:20px}.workspace-label strong{display:block;font-size:12px}.workspace-label div>span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar-link{display:flex;align-items:center;gap:10px;padding:12px;border-radius:6px;text-decoration:none;color:var(--muted);font-size:12px}.sidebar-link.active{background:#e8ebdf;color:#3d4c39;font-weight:600}.sidebar-link small{font-size:7px;letter-spacing:1px;margin-left:auto}.sidebar-link.disabled{opacity:.75}.sidebar-note{margin-top:auto;border:1px solid var(--line);border-radius:8px;padding:15px}.sidebar-note strong{font-size:11px;margin-left:5px}.sidebar-note p{font-size:11px;color:var(--muted);line-height:1.7;margin-bottom:0}.dashboard-content{padding:35px 45px 55px}.breadcrumb{font-size:10px;color:var(--muted);margin-bottom:38px}.breadcrumb span{margin:0 10px;color:#bdc2b7}.dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:35px}.dashboard-heading h1{font-family:var(--serif);font-size:42px;font-weight:400;letter-spacing:-1.5px;margin:12px 0 6px}.dashboard-heading p{font-size:12px;margin:0}.orange{color:var(--orange)}.pill{font-size:8px;letter-spacing:1.3px;white-space:nowrap;background:#e8ecdf;color:#627459;border:1px solid #d8dfca;padding:7px 10px;border-radius:20px}.empty-projects{border:1px solid var(--line);border-radius:12px;text-align:center;background:#fff;padding:40px 35px;position:relative;overflow:hidden}.empty-icon{margin:0 auto 17px;width:60px;height:60px;background:var(--orange-soft);border-radius:16px;display:grid;place-items:center;font-size:35px;color:var(--orange)}.empty-projects .eyebrow{justify-content:center}.empty-projects h2{font-family:var(--serif);font-weight:400;font-size:30px;letter-spacing:-.7px;margin:14px 0}.empty-projects p{max-width:410px;margin:0 auto;font-size:12px;line-height:1.8;color:var(--muted)}.coming-soon{display:inline-flex;gap:20px;align-items:center;border:1px solid var(--line);background:#f5f6f0;font-size:11px;font-weight:500;padding:12px 18px;border-radius:6px;margin-top:22px;color:#6b7365}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 15px;gap:15px}.section-heading h2{font-size:13px;font-weight:600;margin:0}.section-heading>span{font-size:8px;color:var(--muted);letter-spacing:1.3px}.journey-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.journey-card{border:1px solid var(--line);border-radius:9px;padding:22px;background:#f9f9f5}.step-number{font-family:monospace;color:var(--orange);font-size:11px}.journey-card h3{font-size:13px;margin:14px 0 8px;font-weight:600}.journey-card p{font-size:11px;color:var(--muted);line-height:1.7;margin:0}.journey-state{display:inline-block;font-size:9px;color:#818878;margin-top:20px}.account-strip{margin-top:22px;border-top:1px solid var(--line);padding-top:23px;display:flex;gap:12px;align-items:center}.account-icon{background:#e8ecdf;color:var(--green);width:30px;height:30px;display:grid;place-items:center;border-radius:50%}.account-strip strong{font-size:11px}.account-strip p{font-size:10px;color:var(--muted);margin:4px 0}.access-state{margin-left:auto;font-size:10px;color:var(--green)}
@media(min-width:1500px){.auth-layout{padding-top:90px;padding-bottom:90px}}@media(max-width:1000px){.auth-layout{gap:40px;padding:45px 30px}.auth-story h1{font-size:47px}.dashboard-content{padding:30px}.dashboard-layout{grid-template-columns:195px 1fr}.journey-card{padding:16px}.section-heading>span{display:none}}@media(max-width:720px){.site-header{height:72px;padding:0 22px}.brand{font-size:18px}.brand-demo{display:none}.invite-badge{font-size:10px}.nav-email{display:none}.auth-layout{grid-template-columns:1fr;padding:32px 20px 45px;max-width:520px;gap:0}.auth-story{display:none}.auth-card{padding:28px}.auth-card h2{font-size:34px}.dashboard-layout{grid-template-columns:1fr;min-height:0}.sidebar{display:none}.dashboard-content{padding:28px 20px 40px}.breadcrumb{margin-bottom:25px}.dashboard-heading h1{font-size:35px}.dashboard-heading{align-items:flex-start}.pill{margin-top:25px;font-size:7px}.empty-projects{padding:30px 20px}.empty-projects h2{font-size:26px}.journey-grid{grid-template-columns:1fr}.journey-card{padding:20px}.journey-state{margin-top:12px}.site-footer{padding:22px;flex-direction:column;gap:8px}.field-row{grid-template-columns:1fr;gap:20px}.access-state{font-size:9px}.account-strip p{overflow-wrap:anywhere}}
/* Project and provider setup */
.settings-card{padding:32px;background:var(--paper);border:1px solid var(--line);border-radius:16px;max-width:760px}.settings-card h2{font-family:var(--serif);font-size:26px;font-weight:400;margin:12px 0}.settings-card .muted{line-height:1.7}.auth-form select{width:100%;background:white;border:1px solid var(--line);border-radius:6px;padding:12px;font:inherit;color:var(--ink);min-height:44px}.info-note{background:#f3f6ef;border:1px solid var(--line);padding:18px;border-radius:8px;line-height:1.7;margin:0 0 22px}.info-note p{margin:5px 0}.resource-list{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.resource-row{display:flex;align-items:center;gap:20px;padding:24px;text-decoration:none;color:var(--ink);border-bottom:1px solid var(--line)}.resource-row:last-child{border:0}.resource-row:hover{background:#fafaf6}.resource-row>div{flex:1;min-width:0}.resource-row strong{font-size:17px;overflow-wrap:anywhere}.resource-row p{margin:8px 0 0;color:var(--muted);font-size:13px}.action-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.button-danger{color:#a93322;border:1px solid #efd4c9;background:white}.state-failed,.state-revoked{background:#fff0e7;color:#a33b25}.state-verified,.state-provisioned{background:#eaf2e5;color:var(--green)}.state-checking,.state-queued,.state-provisioning{background:#f4f1e5;color:#786523}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:28px 0;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.detail-grid dt{font-size:12px;color:var(--muted);margin-bottom:8px}.detail-grid dd{margin:0;overflow-wrap:anywhere;line-height:1.6}.mono{font-family:monospace;font-size:12px}.activity-list{padding:0;list-style:none}.activity-list li{display:flex;gap:12px;margin:22px 0}.activity-list .status-dot{margin-top:6px}.activity-list strong{font-weight:500}.activity-list time{display:block;color:var(--muted);font-size:12px;margin-top:6px}.text-link{display:block;margin:18px 0}.dashboard-content>.resource-list{margin-bottom:28px}.dashboard-content .button-primary{white-space:normal}.settings-card .auth-form{margin-top:24px}
@media(max-width:720px){.settings-card{padding:20px}.detail-grid{grid-template-columns:1fr}.resource-row{padding:18px;gap:12px}.resource-row .pill{font-size:9px;padding:7px}.sidebar{display:block!important;padding:12px 20px!important;min-height:0!important;border-right:0;border-bottom:1px solid var(--line)}.sidebar .workspace-label,.sidebar .sidebar-note{display:none}.sidebar nav{display:flex;flex-direction:row;gap:8px;overflow-x:auto}.sidebar-link{white-space:nowrap;margin:0!important;padding:10px!important;font-size:12px}.dashboard-layout{display:block!important}.dashboard-heading{flex-wrap:wrap}}
.settings-card+.settings-card{margin-top:24px}.form-field{display:flex;flex-direction:column;gap:8px;margin:20px 0}.form-field label{font-size:12px;font-weight:600}.form-field input,.form-field textarea{width:100%;min-width:0;padding:12px 13px;border:1px solid var(--line);border-radius:6px;background:#fdfdfb;color:var(--ink);font:inherit}.form-field textarea.mono{font-family:monospace;font-size:12px;resize:vertical;overflow-wrap:anywhere}.form-field input:focus-visible,.form-field textarea:focus-visible{outline:3px solid #e2a178;outline-offset:3px}.button:disabled{opacity:.55;cursor:not-allowed}.form-field small{overflow-wrap:anywhere}
.workspace-open{margin-bottom:24px}.workspace-open .button{width:auto}.workspace-content{min-width:0}.file-workspace{display:grid;grid-template-columns:230px minmax(0,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--paper);min-height:550px}.file-browser{border-right:1px solid var(--line);background:#f7f8f3;min-width:0;padding:18px 0;display:flex;flex-direction:column}.file-browser-heading{display:flex;justify-content:space-between;align-items:center;padding:0 16px;font-size:12px}.file-browser-heading a{font-size:11px}.directory-path{padding:14px 16px;color:var(--muted);overflow-wrap:anywhere}.file-entry{display:flex;gap:9px;align-items:center;padding:8px 16px;color:var(--ink);font-size:12px;text-decoration:none;min-width:0}.file-entry>span:last-child{overflow-wrap:anywhere}.file-entry:hover{background:#ecefe3}.file-current{background:#e8ecdd;color:var(--green);font-weight:600}.file-symbol{font-family:monospace;color:var(--muted);flex-shrink:0}.file-parent{color:var(--muted);border-bottom:1px solid var(--line);margin-bottom:8px}.file-browser-note{font-size:10px;line-height:1.6;color:var(--muted);padding:18px 16px 0;margin-top:auto}.file-empty{font-size:12px;padding:16px}.file-editor{min-width:0;display:flex;flex-direction:column}.file-editor form{display:flex;flex-direction:column;min-height:550px;flex:1}.editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line)}.editor-filename{overflow-wrap:anywhere;min-width:0}.editor-save{width:auto;font-size:11px;white-space:nowrap;flex-shrink:0;min-height:34px}.source-editor{display:block;width:100%;flex:1;min-height:430px;resize:vertical;border:0;border-radius:0;padding:20px;background:#fff;color:#273027;font:13px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2;white-space:pre;overflow:auto}.source-editor:focus-visible{outline:2px solid var(--orange);outline-offset:-2px}.editor-status{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:11px 18px;background:#f9faf6;border-top:1px solid var(--line);color:var(--muted);font-size:10px}.editor-empty{padding:45px 30px;max-width:500px}.editor-empty h2{font-family:var(--serif);font-weight:400;font-size:28px}.workspace-error{margin:0 0 20px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:900px){.file-workspace{grid-template-columns:170px minmax(0,1fr)}.file-entry{padding:8px 12px}.editor-toolbar{padding:12px}}@media(max-width:600px){.file-workspace{grid-template-columns:1fr}.file-browser{border-right:0;border-bottom:1px solid var(--line);max-height:260px;overflow:auto}.file-browser-note{display:none}.source-editor{min-height:380px;font-size:12px}.file-editor form{min-height:460px}.editor-toolbar{flex-wrap:wrap}.editor-filename{flex-basis:100%}}

.git-changes{margin:20px 0;max-height:420px;overflow:auto}.git-change{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--border)}.git-change label{display:flex;gap:10px;align-items:center;overflow-wrap:anywhere}.git-change input{width:auto}.git-change-code{white-space:pre;min-width:2ch}.git-change a{flex-shrink:0}.git-diff{background:#f5f2eb;padding:18px;overflow:auto;max-height:600px;white-space:pre;font-size:13px;line-height:1.6}.git-diff code{font-family:monospace}@media(max-width:600px){.git-change{flex-wrap:wrap}.git-diff{padding:10px;font-size:12px}}

.git-select-all{display:flex;gap:10px;align-items:center;margin-top:16px}.git-select-all input{width:auto}
.chat-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.chat-messages{max-height:520px;overflow:auto;margin:20px 0}.chat-turn{padding:18px 0;border-bottom:1px solid var(--line)}.chat-turn strong{display:block;margin-bottom:8px}.chat-turn pre{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 18px;line-height:1.7}.chat-turn pre:first-of-type{background:#f5f2eb;padding:14px;border-radius:8px}.device-code{font-size:24px;letter-spacing:2px}#chat-form textarea{width:100%;margin:10px 0 16px;padding:12px 13px;border:1px solid var(--line);border-radius:6px;background:#fdfdfb;color:var(--ink);font:inherit;resize:vertical}#chat-form textarea:focus-visible{outline:3px solid #e2a178;outline-offset:3px}#project-chat [hidden]{display:none!important}@media(max-width:600px){.chat-messages{max-height:440px}.chat-turn{padding:12px 0}}
/* Unified project studio */
.workbench-page .site-header{height:62px;padding:0 28px;background:#fff}.workbench-page .brand{font-size:17px}.workbench-page .brand-mark{width:29px;height:29px;font-size:22px}.workbench-page .site-footer{display:none}.workbench-page .flash-container{max-width:none;margin:0;padding:0}.workbench-page .flash{border-radius:0;border-left:0;border-right:0;padding:10px 28px}.project-workbench{margin:18px 22px;background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 8px 30px #252b2705}.workbench-heading{height:66px;display:flex;justify-content:space-between;align-items:center;padding:0 22px;border-bottom:1px solid var(--line);gap:16px}.workbench-heading>div{display:flex;align-items:center;gap:20px;min-width:0}.workbench-heading strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workbench-back{font-size:11px;text-decoration:none;color:var(--muted);white-space:nowrap}.workbench-caption{font-size:11px;color:var(--muted);padding-left:20px;border-left:1px solid var(--line)}.workbench-body{display:grid;grid-template-columns:66px 245px minmax(0,1fr);height:calc(100dvh - 200px);min-height:580px}.workbench-rail{background:#eef0e8;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:12px 5px;gap:6px}.workbench-tool{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 2px;border-radius:7px;text-decoration:none;color:#7c8477;font-size:9px;white-space:nowrap}.workbench-tool.active{color:var(--orange);background:#fff7ef;box-shadow:inset 3px 0 var(--orange)}.workbench-tool:hover{color:var(--ink);background:#ffffff80}.workbench-tool small{position:absolute;top:3px;right:2px;min-width:16px;padding:2px 4px;border-radius:8px;background:var(--green);color:white;font-size:8px}.workbench-explorer{display:flex;flex-direction:column;min-width:0;border-right:1px solid var(--line);background:#fafbf7}.explorer-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 16px;font-size:10px;letter-spacing:1.3px}.explorer-heading button{border:0;background:transparent;color:var(--muted);font-size:20px;cursor:pointer}.explorer-tree{overflow:auto;flex:1;padding:3px 0 20px}.explorer-entry{display:flex;align-items:center;gap:7px;width:100%;border:0;background:transparent;color:var(--ink);padding:7px 13px 7px calc(13px + var(--tree-depth,0)*13px);text-decoration:none;font:12px var(--sans);text-align:left;cursor:pointer;min-height:31px}.explorer-entry:hover{background:#edf0e5}.explorer-entry.file-current{background:#e7ecde;color:#3f583d}.explorer-name{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.explorer-symbol{flex:0 0 11px;color:#8a9383;font-size:16px;line-height:1}.explorer-change{font:600 10px var(--sans);flex-shrink:0}.change-modified{color:#ac7627}.change-added{color:#4b795a}.change-deleted{color:#bc503d}.draft-dot{color:var(--orange);font-size:10px;font-style:normal}.explorer-status{font-size:10px;line-height:1.5;color:var(--muted);padding:12px 15px;margin:0;border-top:1px solid var(--line)}.explorer-legend{display:flex;flex-wrap:wrap;gap:10px;padding:0 15px 15px;font-size:9px;color:var(--muted)}.explorer-legend i{font-style:normal;font-weight:700;margin-right:3px}.explorer-message{padding:12px 16px;font-size:12px}.explorer-deleted-label{font-size:9px;letter-spacing:1.2px;margin:22px 15px 8px;color:var(--muted)}.workbench-panel{min-width:0;overflow:auto;display:flex;flex-direction:column;background:#fff}.workbench-tab{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;min-height:47px;padding:12px 22px;border-bottom:1px solid var(--line);background:#fdfdfb;flex-shrink:0}.workbench-tab h1{font:600 12px var(--sans);margin:0;overflow-wrap:anywhere;min-width:0}.workbench-tab>span:last-child{font-size:10px;color:var(--muted);margin-left:auto}.tab-dot{height:6px;width:6px;border-radius:50%;background:var(--orange);flex-shrink:0}.workbench-footer{display:flex;justify-content:space-between;gap:16px;padding:9px 18px;background:#f1f4ea;border-top:1px solid var(--line);font-size:10px;color:#65765a}.workbench-panel .file-editor{flex:1;min-height:0}.workbench-panel .file-editor form{min-height:0;flex:1;overflow:hidden}.workbench-panel .editor-toolbar{padding:11px 20px}.workbench-panel .editor-filename{font-size:11px;color:var(--muted)}.code-editor{flex:1;min-height:300px;overflow:hidden}.code-editor .cm-editor{height:100%}.workbench-panel .source-editor{min-height:300px}.workbench-panel .editor-empty{margin:auto;padding:60px;max-width:620px}.workbench-panel .editor-empty h2{font-size:36px;line-height:1.2;letter-spacing:-1px}.workbench-panel .editor-empty .button{width:auto;margin-top:14px}.workbench-panel>.workspace-error{margin:14px 20px}.workbench-git{padding:24px;max-width:1000px;width:100%;margin:0 auto}.workbench-panel .settings-card{max-width:none;border-radius:0;box-shadow:none}.workbench-git .settings-card{border-radius:10px}.workbench-git .git-change{border-color:var(--line)}.workbench-panel #project-chat{display:flex;flex-direction:column;flex:1;min-height:0}.workbench-panel #chat-error{margin:12px 24px}.workbench-panel .codex-settings{padding:16px 24px;border:0;border-bottom:1px solid var(--line);background:#fafbf7;flex-shrink:0}.codex-settings summary{cursor:pointer;display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:12px}.codex-settings summary:before{content:'›';color:var(--muted)}.codex-settings[open] summary:before{content:'⌄'}.codex-settings summary>span{font-size:10px;color:var(--muted);margin-left:auto}.codex-settings .muted{font-size:11px}.codex-settings .action-row{margin-top:18px}.workbench-panel .conversation-card{border:0;padding:24px 28px;display:flex;flex-direction:column;flex:1;min-height:420px;margin:0}.conversation-card h2{font-family:var(--serif);font-weight:400;font-size:26px;margin:0}.conversation-card>.muted{font-size:11px;margin:10px 0}.conversation-card .chat-messages{flex:1;min-height:80px;max-height:none;overflow:auto;margin:12px 0}.conversation-card #chat-form{border-top:1px solid var(--line);padding-top:14px}.conversation-card #chat-form label{font-size:11px;font-weight:600}.conversation-card #chat-form textarea{min-height:95px;margin:8px 0 12px}.conversation-card #chat-form .muted{font-size:10px}.conversation-card #chat-send{width:auto;padding:10px 24px}.conversation-card .chat-turn{font-size:13px}.conversation-card .chat-turn strong{font-size:11px}.workbench-panel .codex-settings .button-primary{width:auto}.workbench-panel .device-code{font-size:24px}.workbench-rail [hidden]{display:none!important}
@media(max-width:1000px){.workbench-body{grid-template-columns:60px 200px minmax(0,1fr)}.workbench-caption{display:none}.conversation-card{padding:20px!important}.workbench-git{padding:18px}}
@media(max-width:650px){.project-workbench{margin:8px;border-radius:8px}.workbench-page .site-header{padding:0 16px;height:56px}.workbench-page .nav-email,.workbench-page .brand-demo{display:none}.workbench-heading{padding:0 12px;height:60px}.workbench-heading>div{gap:10px}.workbench-heading strong{max-width:140px}.workbench-back{font-size:10px}.workbench-body{grid-template-columns:48px minmax(0,1fr);height:auto;min-height:600px}.workbench-rail{grid-row:1/3;padding:8px 3px}.workbench-tool{font-size:7px;padding:12px 0}.workbench-explorer{grid-column:2;max-height:210px;border-right:0;border-bottom:1px solid var(--line)}.explorer-heading{padding:10px 14px}.explorer-tree{max-height:145px}.explorer-status{padding:7px 14px}.explorer-legend{display:none}.workbench-panel{grid-column:2;min-height:480px;overflow:visible}.workbench-panel #project-chat{min-height:650px}.workbench-tab{padding:12px 14px;position:static}.workbench-tab>span:last-child{display:none}.workbench-panel .editor-empty{padding:30px 20px}.workbench-panel .editor-empty h2{font-size:28px}.workbench-footer{padding:9px 12px;font-size:9px}.workbench-footer span:last-child{display:none}.workbench-panel .conversation-card,.workbench-panel .codex-settings{padding:16px!important}.codex-settings summary>span{margin-left:0}.conversation-card #chat-form .muted{display:none}.conversation-card .chat-messages{max-height:440px}.code-editor{height:440px;min-height:440px}.workbench-git{padding:12px}.workbench-git .settings-card{padding:18px}}
.source-editor[hidden]{display:none!important}
/* Keep the studio inside shorter desktop viewports, including flash messages. */
@media(min-width:651px){body.workbench-page{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.workbench-page .site-header{flex-shrink:0}.workbench-page .flash-container{flex-shrink:0;max-height:96px;overflow:auto}.workbench-page main{display:flex;flex:1;min-height:0}.project-workbench{display:flex;flex-direction:column;flex:1;min-height:0}.workbench-heading,.workbench-footer{flex-shrink:0}.workbench-body{height:auto;min-height:0;flex:1}.workbench-explorer,.explorer-tree,.workbench-panel{min-height:0}.workbench-panel .conversation-card{min-height:0}.workbench-panel .code-editor,.workbench-panel .source-editor{min-height:100px}.workbench-footer{overflow-wrap:anywhere}}
.workbench-git{display:flex;flex-direction:column;flex:1;min-height:0;max-width:none;padding:16px 20px}.git-summary{flex-shrink:0;display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:16px}.git-summary>div:first-child{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.git-summary>div:first-child strong{font-size:12px}.git-summary-actions{display:flex;align-items:center;gap:8px}.git-summary-actions .button-primary{width:auto;min-height:33px;font-size:11px}.git-summary>p{flex-basis:100%;font-size:11px;margin:0}.git-review-grid{display:grid;grid-template-columns:minmax(235px,.8fr) minmax(0,1.2fr);gap:18px;flex:1;min-height:0}.git-selection-panel,.git-diff-panel{display:flex;flex-direction:column;min-height:0;min-width:0;border:1px solid var(--line);border-radius:9px;overflow:hidden}.git-panel-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:14px 16px;border-bottom:1px solid var(--line);background:#fafbf7;flex-shrink:0}.git-panel-heading h2{font-size:12px;font-weight:600;font-family:var(--sans);margin:0;overflow-wrap:anywhere}.git-panel-heading span{font-size:10px}.git-protected-note{font-size:10px;padding:8px 14px;margin:0;border-bottom:1px solid var(--line)}.git-selection-panel #git-commit-form{display:flex;flex-direction:column;flex:1;min-height:0}.git-selection-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 14px;flex-shrink:0}.git-selection-toolbar .git-select-all{margin:0;font-size:11px}.git-selection-toolbar #git-selection-status{font-size:10px;margin:0}.git-selection-panel .git-changes{flex:1;min-height:70px;max-height:none;overflow:auto;margin:0;padding:0 14px}.git-selection-panel .git-change{gap:6px;padding:9px 0;font-size:10px;align-items:center}.git-selection-panel .git-change label{min-width:0;flex:1;gap:6px}.git-change-path{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:10px}.git-selection-panel .git-change-code{font-size:10px}.git-review-link{font-size:10px;white-space:nowrap}.git-review-link[aria-current]{font-weight:700}.git-commit-composer{border-top:1px solid var(--line);padding:12px 14px;flex-shrink:0;background:#fdfdfb}.git-commit-composer .form-field{margin:0}.git-commit-composer textarea{font-size:12px;padding:9px;resize:vertical;max-height:130px}.git-commit-composer p{font-size:10px;margin:8px 0}.git-commit-composer .button{font-size:11px;width:100%;min-height:36px}.git-diff-panel>.muted{padding:8px 16px;font-size:12px}.git-diff-panel .git-diff{flex:1;min-height:0;max-height:none;margin:0;border-radius:0;background:#fff;font-size:12px;overflow:auto;padding:16px}.git-diff-panel .form-errors{margin:12px;font-size:11px}.git-diff-panel:focus{outline:2px solid #e2a178;outline-offset:-2px}.git-diff-panel [hidden]{display:none!important}
@media(max-width:1000px){.workbench-git{overflow:auto;display:block;flex-shrink:0}.git-review-grid{display:flex;flex-direction:column}.git-selection-panel .git-changes{max-height:180px;min-height:100px}.git-diff-panel{min-height:220px;flex-shrink:0}.git-diff-panel .git-diff{max-height:380px;min-height:100px}.git-summary-actions{flex-wrap:wrap}}
@media(max-width:650px){.workbench-git{padding:12px}.git-selection-panel .git-changes{max-height:210px}.git-selection-panel .git-change{flex-wrap:nowrap}.git-summary>div:first-child{gap:8px}.git-summary-actions .button{padding:8px 10px}.git-change-path{font-size:9px}.git-panel-heading{padding:12px}.git-diff-panel .git-diff{font-size:11px}}
@media(min-width:1001px){.workbench-git{overflow:auto}.git-review-grid{min-height:340px}.git-selection-panel .git-changes{min-height:40px}}

/* Deployment review and setup */
.deployment-content{min-width:0}.deployment-content .settings-card{min-width:0;width:100%;overflow-wrap:anywhere}.deployment-form>label{display:block;font-size:12px;font-weight:600;margin:20px 0 8px}.deployment-form>input:not([type=hidden]):not([type=submit]),.deployment-form>select{display:block;width:100%;min-width:0;padding:12px 13px;border:1px solid var(--line);border-radius:6px;background:#fdfdfb;color:var(--ink);font:inherit}.deployment-form p label{display:inline;font-weight:500}.deployment-content .git-diff{min-width:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}.deployment-content .button{max-width:100%;white-space:normal}

.terminal-studio { display:flex; flex-direction:column; gap:12px; height:100%; min-height:450px; padding:18px; }
.terminal-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.terminal-toolbar h1 { margin:0 auto 0 0; font-size:22px; }
.terminal-tabs { display:flex; gap:6px; flex-wrap:wrap; }
.terminal-tabs span { display:flex; border:1px solid #ccd0d7; border-radius:5px; overflow:hidden; }
.terminal-tabs button { padding:7px 10px; border:0; cursor:pointer; }
.terminal-tabs button[aria-selected="true"] { background:#f47b40; color:#171a20; }
.terminal-panes { flex:1; min-height:350px; }
.terminal-pane { height:100%; min-height:350px; padding:10px; background:#101827; border-radius:6px; }
.terminal-pane[hidden] { display:none; }

/* Studio production and terminal controls */
.studio-deployments{padding:20px;overflow:auto;flex:1;min-height:0}.studio-deployments .dashboard-heading{margin-bottom:18px}.studio-deployments h1{font-size:28px}.studio-deployments .settings-card{padding:20px;margin-bottom:18px}.studio-deployments .button-primary,.terminal-toolbar .button-primary{width:auto}.production-settings{margin-bottom:18px}.production-settings>summary{cursor:pointer;font-weight:600;padding:12px 0}.terminal-studio{min-height:0;overflow:auto}.terminal-studio>.muted{margin:0;font-size:12px}.terminal-toolbar{flex-shrink:0}.terminal-scaling{flex-shrink:0;border:1px solid var(--line);border-radius:8px;background:#fafbf7;padding:12px 14px}.terminal-scaling>summary{cursor:pointer;font-weight:600;font-size:12px}.terminal-scaling>p{font-size:12px;color:var(--muted);line-height:1.6}.scaling-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.scaling-fields label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;min-width:0}.scaling-fields [hidden]{display:none}.scaling-fields select,.scaling-fields input{width:100%;min-width:0;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font:inherit;padding:9px 10px;min-height:38px}.scaling-command{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.scaling-command code{font-size:12px;overflow-wrap:anywhere}.terminal-panes,.terminal-pane{min-height:230px}.workbench-rail{overflow-y:auto;flex-shrink:0}
@media(max-width:650px){.studio-deployments{padding:12px}.scaling-fields{grid-template-columns:1fr}.terminal-studio{padding:12px;min-height:500px}.terminal-toolbar h1{width:100%}.terminal-toolbar .button{flex:1}.studio-deployments .detail-grid{grid-template-columns:1fr}}

.debug-output { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow: auto; padding: 16px; background: #f3f5f8; color: #182234; border-radius: 8px; font-size: 13px; }
.debug-prompt { width: 100%; box-sizing: border-box; margin-bottom: 16px; }

.git-bottom-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.chat-working{display:flex;align-items:center;gap:10px;padding:10px 0;color:var(--muted);font-size:13px}.chat-working[hidden]{display:none}.activity-spinner{display:inline-block;width:15px;height:15px;border:2px solid #d9ddd4;border-top-color:var(--orange);border-radius:50%;animation:activity-spin .8s linear infinite;vertical-align:middle;margin-right:5px}@keyframes activity-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.activity-spinner{animation:none;border-style:dotted}}.side-by-side .cm-mergeView{height:100%}.side-by-side .cm-mergeViewEditors{height:100%;min-width:680px}.side-by-side{overflow:auto}.wizard-steps{display:flex;gap:12px;margin:18px 0;flex-wrap:wrap}.wizard-steps span{padding:10px 16px;border-radius:8px;background:#eef0e8;color:var(--muted);font-size:13px}.wizard-steps .active{background:#fff1e3;color:var(--orange);font-weight:600}.wizard-actions{display:flex;gap:12px;margin-top:18px;align-items:center}.wizard-pane[hidden]{display:none}

/* Shared wizard fields retain their styling inside each step. */
.deployment-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.deployment-fields>p{grid-column:1/-1;margin:0}.deployment-field{min-width:0;display:flex;flex-direction:column;gap:8px}.deployment-field label{font-weight:650;font-size:13px}.deployment-field input,.deployment-field select{width:100%;min-width:0;min-height:44px;padding:11px 12px;border:1px solid #ccd2c8;border-radius:8px;background:var(--paper);color:var(--ink);font:inherit}.deployment-field select{padding-right:32px;text-overflow:ellipsis}.deployment-field input:focus,.deployment-field select:focus{outline:2px solid #e2a178;outline-offset:2px}.deployment-field input[readonly],.deployment-field select:disabled{background:#f1f2ed;color:#596153}.wizard-pane h3{margin-top:0}.wizard-pane[data-wizard-pane="1"]>p:has(input[type="checkbox"]){padding:18px;border:1px solid var(--line);border-radius:10px;background:#fafbf7;display:flex;align-items:center;gap:10px}.wizard-pane input[type="checkbox"]{accent-color:var(--orange);width:18px;height:18px}.wizard-pane[data-wizard-pane="1"] .deployment-field{max-width:460px;margin:18px 0}.wizard-actions{padding-top:20px;border-top:1px solid var(--line);margin-top:24px}.preview-actions{display:flex;flex-wrap:wrap;gap:12px}.preview-actions form{margin:0}.preview-address{overflow-wrap:anywhere}.preview-access-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 24px}.preview-access-choice{display:flex;gap:12px;align-items:flex-start;padding:20px;border:1px solid var(--line);border-radius:10px;cursor:pointer}.preview-access-choice:has(input:checked){border-color:var(--orange);background:var(--orange-soft)}.preview-access-choice input{accent-color:var(--orange);margin-top:3px}.preview-access-choice strong,.preview-access-choice small{display:block}.preview-access-choice small{color:var(--muted);line-height:1.6;margin-top:5px}@media(max-width:700px){.deployment-fields,.preview-access-options{grid-template-columns:1fr}}

.preview-actions .button{height:42px;min-height:42px;min-width:148px;width:auto;font-size:12px;line-height:20px;padding:10px 16px}

.wizard-actions [hidden],.wizard-actions[hidden],.deployment-progress[hidden]{display:none!important}.deployment-progress{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px;padding:18px;border:1px solid #efd6c5;border-radius:10px;background:var(--orange-soft)}.deployment-progress .activity-spinner{flex-shrink:0;margin-top:2px}.deployment-progress p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.6}

.chat-questions{padding:18px;border:1px solid #e9c7b4;border-radius:10px;background:var(--orange-soft);margin-bottom:18px;max-height:50vh;overflow:auto}.chat-questions h3{margin:0 0 16px}.chat-questions fieldset{border:0;padding:0;margin:0 0 20px;min-width:0}.chat-questions legend{font-weight:600;margin-bottom:12px;overflow-wrap:anywhere}.codex-question-option{display:flex;gap:10px;padding:10px;border:1px solid var(--line);border-radius:8px;background:white;margin:8px 0;cursor:pointer}.codex-question-option strong,.codex-question-option small{display:block}.codex-question-option small{color:var(--muted);line-height:1.5;margin-top:4px}.codex-question-answer{display:flex;flex-direction:column;gap:8px;margin:12px 0;font-size:12px}.codex-question-answer input{padding:10px;border:1px solid var(--line);border-radius:6px;background:white;width:100%;font:inherit}.chat-questions .button-primary{width:auto}
