body[data-page=code]{background:#f5f8f8;color:#263e4e}
body[data-page=code] .sky-scene{opacity:.21;mask-image:linear-gradient(#000 0%,#000 24%,transparent 68%)}
body[data-page=code] button,body[data-page=code] textarea,body[data-page=code] input,body[data-page=code] select{font-family:inherit}
body[data-page=code] button:focus-visible,body[data-page=code] a:focus-visible,body[data-page=code] input:focus-visible,body[data-page=code] select:focus-visible,body[data-page=code] textarea:focus-visible{outline:3px solid #287eaa;outline-offset:2px}
.code-header{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;height:76px;padding:0 24px;border-bottom:1px solid #dce7ec;background:#f9fbfcdb;backdrop-filter:blur(18px)}
.code-header-left,.code-header-right{display:flex;align-items:center;gap:24px;min-width:0}
.code-header .chat-brand img{width:119px}
.mode-nav{display:flex;align-items:center;gap:3px;padding:4px;border:1px solid #dce7ed;border-radius:12px;background:#eef4f7}
.mode-nav a{min-width:64px;padding:6px 13px;border-radius:8px;color:#577182;font-size:.8rem;font-weight:700;text-align:center;transition:background .15s,color .15s}
.mode-nav a:hover{color:#2d5d7c}
.mode-nav a[aria-current=page]{background:#fff;box-shadow:0 1px 5px #24516c1b;color:#244a62}
.code-top-status{display:flex;align-items:center;gap:7px;color:#5d7582;font-size:.72rem;font-weight:600;white-space:nowrap}
.code-top-status i{width:7px;height:7px;border-radius:50%;background:#b6c6d0}
.code-top-status.is-live i{background:#4ba78b;box-shadow:0 0 0 3px #d5f1e7}
.code-top-status.is-busy i{background:#dba443;box-shadow:0 0 0 3px #fff1d0;animation:code-breathe 1.8s infinite}
.code-top-status.is-error i{background:#d27364}
@keyframes code-breathe{50%{opacity:.45;transform:scale(.8)}}
.code-layout{position:relative;z-index:1;display:grid;grid-template-columns:220px minmax(0,1fr);height:calc(100dvh - 76px);min-height:500px;max-width:1920px;margin:0 auto;overflow:hidden}
.code-layout.is-workspace{grid-template-columns:220px minmax(360px,1fr) minmax(310px,35%)}
.code-projects{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;padding:20px 12px 18px;border-right:1px solid #dce7ec;background:#f7fafbbf}
.code-projects-head{display:flex;align-items:center;justify-content:space-between;margin:0 9px 16px}
.code-rail-eyebrow{color:#60747f;font-size:.65rem;font-weight:700;letter-spacing:.14em}
.code-new-project{display:flex;align-items:center;gap:10px;width:100%;padding:11px 13px;border:1px solid #b7d5e4;border-radius:11px;background:#fff;color:#2d5e7b;font-size:.83rem;font-weight:700;text-align:left;box-shadow:0 3px 15px #2056780b}
.code-new-project:hover{border-color:#72abc7;background:#f7fcfe}
.code-new-project span{font-size:1.13rem;font-weight:400;line-height:1}
.code-projects-list-head{display:flex;align-items:center;justify-content:space-between;margin:26px 9px 9px;padding-left:9px;color:#617480;font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.code-list-refresh{padding:4px 7px;border:1px solid #d7e4ea;border-radius:7px;background:#fff;color:#57788d;font-family:inherit;font-size:.65rem;font-weight:600;line-height:1.2;letter-spacing:0;text-transform:none;cursor:pointer}
.code-list-refresh:hover{border-color:#91b6c9;background:#f7fcfe;color:#315d76}
.code-list-refresh:disabled{opacity:.6;cursor:wait}
.code-session-list{min-height:0;overflow:auto}
.code-session-item{display:block;width:100%;padding:11px 12px;border:0;border-radius:10px;background:none;color:#385a6d;text-align:left}
.code-session-item:hover,.code-session-item.is-active{background:#eaf3f8}
.code-session-item.is-active{font-weight:700}
.code-session-item strong{display:block;overflow:hidden;font-size:.81rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.code-session-item span{display:block;margin-top:4px;color:#879ca8;font-size:.67rem;font-weight:500}
.code-session-item.is-ended{opacity:.62}
.code-session-row{display:flex;align-items:center;border-radius:10px}
.code-session-row:hover{background:#eef5f8}
.code-session-row .code-session-item{flex:1;min-width:0}
.code-session-rename{flex:0 0 auto;width:27px;height:30px;margin-right:4px;padding:0;border:0;border-radius:7px;background:transparent;color:#91a8b5;font-size:.89rem}
.code-session-rename:hover{background:#dbeaf0;color:#326985}
.code-session-more{flex:0 0 auto;width:30px;height:30px;margin-right:4px;padding:0;border:0;border-radius:7px;background:transparent;color:#5f7a89;font-size:1.05rem;line-height:1}
.code-session-more:hover,.code-session-more[aria-expanded="true"]{background:#dbeaf0;color:#326985}
.code-session-more:focus-visible,.code-row-menu button:focus-visible,.code-archived-toggle:focus-visible{outline:2px solid #2c7699;outline-offset:1px}
.code-archived-toggle{flex:0 0 auto;white-space:nowrap;padding:3px 8px;border:1px solid #d6e3e9;border-radius:7px;background:#fff;color:#3d6479;font-size:.66rem;font-weight:700;letter-spacing:0;text-transform:none}
.code-archived-toggle:hover{background:#eef5f8}
.code-row-menu{position:fixed;z-index:60;min-width:150px;padding:5px;border:1px solid #d7e5e9;border-radius:10px;background:#fff;box-shadow:0 12px 34px #1b425533}
.code-row-menu button{display:block;width:100%;padding:8px 11px;border:0;border-radius:7px;background:none;color:#2f5569;font-size:.8rem;font-weight:600;text-align:left}
.code-row-menu button:hover,.code-row-menu button:focus{background:#eaf3f8;outline:none}
.code-row-menu button.is-danger{color:#a13d31}
.code-row-menu button.is-danger:hover,.code-row-menu button.is-danger:focus{background:#fbecea}
.code-quiet{padding:3px 9px;color:#5d7581;font-size:.78rem;line-height:1.5}
.code-rail-foot{margin-top:auto;padding:18px 10px 0;border-top:1px solid #e2ebef;color:#62747f;font-size:.69rem;line-height:1.5}
.code-center{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f8fafb63}
.code-workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:73px;padding:12px 25px;border-bottom:1px solid #e2eaee;background:#ffffffa3}
.code-workspace-identity{display:flex;align-items:center;gap:10px;min-width:0}
.code-workspace-identity>div{display:flex;flex-direction:column;min-width:0}
.code-crumb{color:#607783;font-size:.58rem;font-weight:700;letter-spacing:.15em;white-space:nowrap}
.code-workspace-identity strong{overflow:hidden;color:#29495e;font-size:.93rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.code-rename-current{width:25px;height:25px;color:#8ba4b1;font-size:.85rem}
.code-workspace-actions{display:flex;align-items:center;gap:9px}
.code-save-button{padding:6px 9px;border:1px solid #d2e2e8;border-radius:8px;background:#fff;color:#477087;font-size:.7rem;font-weight:700}
.code-save-button:hover:not(:disabled){background:#eef8fa}
.code-save-button:disabled{opacity:.55}
.code-run-status{padding:5px 8px;border-radius:6px;background:#eff7f5;color:#528676;font-size:.68rem;font-weight:700;white-space:nowrap}
.code-run-status.is-working{background:#fff5df;color:#956b24}
.code-mode-label{color:#7d929e;font-size:.68rem}
.code-workspace-actions select{max-width:110px;padding:7px 25px 7px 10px;border:1px solid #d6e4eb;border-radius:9px;background:#fff;color:#37596d;font-size:.72rem;font-weight:600}
.code-icon-button{display:grid;place-items:center;width:31px;height:31px;padding:0;border:0;border-radius:8px;background:transparent;color:#5a7584;font-size:1.2rem;line-height:1}
.code-icon-button:hover{background:#e8f1f5;color:#285b79}
.code-end-button{font-size:1.35rem}
.code-rail-open,.code-rail-close,.code-artifacts-close{display:none}
.code-start-view{width:min(100%,850px);min-height:0;margin:auto;padding:40px 32px 55px;overflow-y:auto;text-align:center}
.code-start-art{display:grid;place-items:center;width:75px;height:75px;margin:0 auto 19px;border:1px solid #d9e6ed;border-radius:25px;background:#ffffffd8;box-shadow:0 12px 36px #2e648018}
.code-start-art img{width:42px;height:42px}
.code-overline{margin:0 0 8px;color:#5c7482;font-size:.67rem;font-weight:700;letter-spacing:.17em}
.code-start-view h1{margin:0;color:#26495e;font:500 clamp(2.1rem,4.4vw,3.5rem)/1.13 Georgia,serif;letter-spacing:-.06em}
.code-start-lede{max-width:560px;margin:16px auto 27px;color:#5a7484;font-size:.92rem;line-height:1.62}
.code-start-form{padding:18px;border:1px solid #dbe7ed;border-radius:20px;background:#fff;box-shadow:0 18px 48px -35px #1a517862;text-align:left}
.code-start-form:focus-within{border-color:#9abed1;box-shadow:0 18px 48px -30px #1a517873}
.code-start-form textarea{display:block;width:100%;min-height:98px;max-height:210px;padding:2px;border:0;outline:0;resize:vertical;background:none;color:#29495e;font-size:1rem;line-height:1.55}
.code-start-form textarea::placeholder{color:#9aadba}
.code-start-form-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid #edf2f5}
.code-start-form-bottom>span{color:#66767f;font-size:.7rem}
.code-start-form-bottom button{padding:10px 17px;border:0;border-radius:11px;background:#315d76;color:#fff;font-size:.8rem;font-weight:700;white-space:nowrap}
.code-start-form-bottom button:hover:not(:disabled){background:#447d9d}
.code-start-form-bottom button:disabled{opacity:.55}
.code-start-form-bottom button span{margin-left:6px;font-size:1rem}
.code-start-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;text-align:left}
.code-start-options label>span{display:block;margin:0 0 6px 4px;color:#5a7383;font-size:.68rem;font-weight:700}
.code-start-options small{font-size:inherit;font-weight:400}
.code-start-options input,.code-start-options select{width:100%;height:39px;padding:0 12px;border:1px solid #dbe7ed;border-radius:10px;background:#ffffffd4;color:#385e72;font-size:.77rem}
.code-start-options input::placeholder{color:#9dacb5}
.code-starters{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:28px}
.code-starters button{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:54px;padding:12px 14px;border:1px solid #dce9ef;border-radius:11px;background:#ffffffac;color:#436980;font-size:.76rem;font-weight:600;text-align:left}
.code-starters button:hover{border-color:#99c4d7;background:#fff}
.code-starters button span{color:#597786;font-size:1rem}
.code-form-error{max-width:560px;margin:19px auto 0;padding:11px 13px;border:1px solid #e6c5bc;border-radius:9px;background:#fff5f2;color:#9b493e;font-size:.79rem;text-align:left}
.code-workspace-view{display:flex;flex-direction:column;min-width:0;min-height:0;flex:1}
.code-transcript-wrap{min-height:0;flex:1;overflow:auto;scrollbar-color:#c4d5df transparent}
.code-transcript{display:flex;flex-direction:column;gap:17px;width:min(100%,760px);min-height:100%;margin:0 auto;padding:29px 27px 45px}
.code-workspace-empty{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding-bottom:30px;color:#7c96a5;text-align:center}
.code-workspace-empty h2{margin:12px 0 5px;color:#34566b;font:500 1.65rem/1.2 Georgia,serif;letter-spacing:-.04em}
.code-workspace-empty p{max-width:360px;margin:0;font-size:.82rem;line-height:1.55}
.code-msg{min-width:0;overflow-wrap:anywhere}
.code-msg-user{align-self:flex-end;max-width:84%;padding:12px 16px;border-radius:16px 16px 5px 16px;background:#e6f1f7;color:#2b5068;font-size:.88rem;line-height:1.55;white-space:pre-wrap}
.code-msg-assistant{align-self:stretch;padding:6px 2px;color:#2c3b45;font: .92rem/1.65 ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.code-msg-assistant .message-prose{max-width:none;font-size:.96rem}
.code-msg-error{align-self:stretch;padding:11px 13px;border:1px solid #e9c9bf;border-radius:10px;background:#fff5f2;color:#984a3e;font-size:.79rem}
.code-msg-note{align-self:flex-start;color:#8399a6;font-size:.76rem}
.code-tool{align-self:stretch;border:1px solid #dce7ec;border-radius:11px;background:#fff;overflow:hidden}
.code-tool.is-running{border-color:#c4deea;background:#f8fcfe}
.code-tool.is-error{border-color:#e7c8bd}
.code-tool>button{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:10px 12px;border:0;background:none;color:#3c6075;text-align:left}
.code-tool-icon{flex:0 0 auto;color:#6b9cb6;font-size:.9rem}
.code-tool.is-error .code-tool-icon{color:#be7060}
.code-tool-name{flex:0 0 auto;font:600 .78rem/1.4 ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.code-tool-summary{min-width:0;overflow:hidden;color:#8397a4;font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}
.code-tool-toggle{margin-left:auto;color:#9cafb9;font-size:.69rem}
.code-tool pre{max-height:300px;margin:0;padding:13px 15px;overflow:auto;border-top:1px solid #e3ebef;background:#f6f9fa;color:#4b6473;font: .7rem/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.code-progress{align-self:stretch;padding:14px 16px;border:1px solid #d8e7ed;border-radius:13px;background:#f8fbfc;color:#496677;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.code-progress.is-live{border-color:#c8dfe9;background:#f7fbfd}
.code-progress.is-error{border-color:#e8ccc4;background:#fff8f5}
.code-progress summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none}
.code-progress summary::-webkit-details-marker{display:none}
.code-progress summary::marker{content:""}
.code-progress-dot{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#6ca2bc}
.code-progress.is-live .code-progress-dot{box-shadow:0 0 0 4px #e3f1f7;animation:code-breathe 1.8s infinite}
.code-progress.is-error .code-progress-dot{background:#c78374}
.code-progress-title{min-width:0;color:#31566b;font-size:.81rem;font-weight:700}
.code-progress-time{color:#91a7b3;font-size:.72rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.code-progress-current{margin:12px 0 0;color:#426578;font-size:.8rem;line-height:1.5;overflow-wrap:anywhere}
.code-progress-idle{margin:5px 0 0;color:#8a9fac;font-size:.7rem;line-height:1.45}
.code-progress-steps{margin:12px 0 0 4px;padding:0 0 0 17px;border-left:1px solid #d4e5ed;list-style:none}
.code-progress-steps li{position:relative;display:flex;justify-content:space-between;gap:13px;padding:0 0 10px 9px;color:#627e8e;font-size:.72rem;line-height:1.45;overflow-wrap:anywhere}
.code-progress-steps li:last-child{padding-bottom:0}
.code-progress-steps li::before{content:"";position:absolute;top:5px;left:-21px;width:7px;height:7px;border:1px solid #9cbfce;border-radius:50%;background:#fff}
.code-progress-steps li.is-current{color:#315f78;font-weight:700}
.code-progress-steps li.is-current::before{background:#82b5ce}
.code-progress-steps li.is-error{color:#a25b4e}
.code-progress-steps li.is-error::before{border-color:#c78678;background:#c78678}
.code-progress-steps li span:first-child{min-width:0}
.code-progress-steps li time{flex:0 0 auto;color:#9babb4;font-size:.67rem;font-weight:400;font-variant-numeric:tabular-nums}
.code-composer-wrap{flex:0 0 auto;padding:11px 22px 20px;border-top:1px solid #e2ebef;background:#f8fbfcf5}
.code-composer{width:min(100%,760px);margin:0 auto;padding:11px 14px 10px;border:1px solid #d7e5eb;border-radius:17px;background:#fff;box-shadow:0 8px 22px #264e6914}
.code-composer:focus-within{border-color:#94bfd1}
.code-composer textarea{display:block;width:100%;min-height:53px;max-height:180px;padding:3px 2px;border:0;outline:0;resize:none;background:none;color:#29495e;font-size:.9rem;line-height:1.5}
.code-composer textarea::placeholder{color:#a1b1bb}
.code-composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}
.code-composer-bottom span{color:#a1b0ba;font-size:.64rem}
.code-composer-bottom .code-test-access{color:#8299a5;font-size:.61rem;margin-right:auto}
.code-composer-bottom button{display:grid;place-items:center;width:32px;height:32px;margin-left:auto;padding:0;border:0;border-radius:50%;background:#315e76;color:#fff;font-size:1.2rem;line-height:1}
.code-composer-bottom button:disabled{background:#d9e5ea;color:#8298a5}
.code-composer-bottom .code-stop{background:#fff0eb;color:#a7594c;font-size:.82rem}
.code-composer-bottom .code-stop:hover{background:#ffe5dc}
.code-followup-status{display:flex;align-items:center;justify-content:space-between;gap:10px;width:min(100%,760px);margin:0 auto 9px;padding:9px 12px;border:1px solid #d5e7ee;border-radius:9px;background:#f2f9fc;color:#55798d;font-size:.73rem;line-height:1.45}
.code-followup-status.is-ended{border-color:#e5d6bb;background:#fff9ed;color:#765e37}
.code-followup-status button{flex:0 0 auto;padding:6px 10px;border:1px solid #a9cad9;border-radius:7px;background:#fff;color:#346682;font-size:.7rem;font-weight:700}
.code-followup-status button:hover{background:#eaf5fa}
.code-notice{width:min(100%,760px);margin:0 auto 8px;color:#a15045;font-size:.76rem}
.code-permission{width:min(100%,760px);margin:0 auto 10px;padding:15px 17px;border:1px solid #e2c990;border-radius:12px;background:#fffaf0;box-shadow:0 8px 22px #8b631a17}
.code-permission-head{display:flex;justify-content:space-between;gap:10px;color:#ad7a2f;font-size:.67rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.code-permission strong{display:block;margin-top:6px;color:#684b2e;font-size:.9rem}
.code-permission p{margin:5px 0 0;color:#806a4a;font-size:.78rem;overflow-wrap:anywhere}
.code-permission pre{max-height:150px;margin:10px 0 0;padding:9px;overflow:auto;border-radius:7px;background:#f7f0e2;color:#5d5345;font: .7rem/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap}
.code-permission-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
.code-permission-actions button{padding:7px 10px;border:1px solid #dac9a9;border-radius:8px;background:#fff;color:#6e5937;font-size:.72rem;font-weight:700}
.code-permission-actions button[data-permission=allow]{margin-left:auto;border-color:#2e657e;background:#315e76;color:#fff}
.code-artifacts{display:flex;flex-direction:column;min-width:0;min-height:0;border-left:1px solid #dce7ec;background:#fffdfa}
.code-artifacts-top{display:flex;align-items:center;justify-content:space-between;height:73px;padding:0 18px;border-bottom:1px solid #e7e9e8}
.code-artifacts-title{color:#3a5566;font-size:.82rem;font-weight:700}
.code-artifact-actions{display:flex;align-items:center;gap:6px;padding:12px 13px;border-bottom:1px solid #eaece9}
.code-artifact-actions button{padding:8px 9px;border:1px solid #d9e4e8;border-radius:8px;background:#fff;color:#496b7e;font-size:.69rem;font-weight:700;white-space:nowrap}
.code-artifact-actions button:hover:not(:disabled){background:#f3f9fb}
.code-artifact-actions button:disabled{opacity:.5}
.code-artifact-actions .code-deploy{margin-left:auto;border-color:#35647b;background:#35647b;color:#fff}
.code-artifact-actions .code-deploy:hover:not(:disabled){background:#487b95}
.code-deployment-status{padding:10px 14px;border-bottom:1px solid #e9edef;background:#f6f9fa;color:#617b89;font-size:.72rem;line-height:1.5;overflow-wrap:anywhere}
.code-deployment-status.is-ready{background:#f1f9f5;color:#467767}
.code-deployment-status.is-error{background:#fff4f1;color:#9b574b}
.code-deployment-status a{color:#246f94;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.code-artifact-tabs{display:flex;gap:1px;padding:0 12px;border-bottom:1px solid #e8eded}
.code-artifact-tabs button{position:relative;flex:1;padding:12px 4px;border:0;background:transparent;color:#8ca0aa;font-size:.72rem;font-weight:700}
.code-artifact-tabs button[aria-selected=true]{color:#2c5e7c}
.code-artifact-tabs button[aria-selected=true]::after{content:"";position:absolute;right:5px;bottom:-1px;left:5px;height:2px;background:#4f8cac}
.code-artifact-panel{min-height:0;flex:1;overflow:auto}
.code-panel-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;padding:35px;text-align:center}
.code-panel-empty>span{display:grid;place-items:center;width:54px;height:54px;margin-bottom:14px;border:1px solid #e3e8e9;border-radius:18px;background:#fafbfa;color:#89a0ab;font-size:1.4rem}
.code-panel-empty strong{color:#537081;font-size:.83rem}
.code-panel-empty p{max-width:250px;margin:7px 0 0;color:#94a5ab;font-size:.75rem;line-height:1.55}
.code-panel-heading{display:flex;align-items:center;justify-content:space-between;padding:15px 17px 9px;color:#566d79;font-size:.72rem}
.code-panel-heading button{padding:3px;border:0;background:transparent;color:#3d7d9f;font-size:.7rem;font-weight:700}
.code-panel-helper{margin:0;padding:6px 17px;color:#9badb5;font-size:.73rem;line-height:1.5;list-style:none}
.code-preview-ready{display:flex;flex-direction:column;height:100%}
.code-preview-address{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-bottom:1px solid #e6e9e9;background:#f7f9f8;color:#728996;font-size:.68rem;white-space:nowrap}
.code-preview-address span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.code-preview-address a{flex:0 0 auto;color:#2f779a;font-weight:700}
.code-preview-ready iframe{width:100%;height:100%;min-height:280px;flex:1;border:0;background:#fff}
.code-files-list{max-height:46%;overflow:auto}
.code-file-row{display:flex;align-items:center;gap:8px;width:100%;padding:7px 16px;border:0;background:transparent;color:#597282;font: .72rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;text-align:left;overflow-wrap:anywhere}
.code-folder-row{display:flex;align-items:center;gap:8px;width:100%;padding:7px 16px;border:0;background:transparent;color:#496d82;font:600 .72rem/1.4 ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:left}
.code-folder-row:hover{background:#f0f6f8}
.code-folder-row span:first-child{width:13px;color:#82a9ba;font-size:.84rem}
.code-file-row:hover,.code-file-row.is-selected{background:#eaf4f8;color:#2e6888}
.code-file-row span:first-child{color:#8bb0c0}
.code-file-viewer{display:flex;flex-direction:column;min-height:180px;height:50%;margin-top:11px;border-top:1px solid #e4eaea}
.code-file-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;background:#f7fafb;color:#517287;font: .7rem ui-monospace,SFMono-Regular,Menlo,monospace}
.code-file-viewer-head span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.code-file-viewer-head button{border:0;background:none;color:#7e98a6;font-size:1rem}
.code-file-viewer pre{min-height:0;flex:1;margin:0;padding:13px;overflow:auto;color:#324b5b;font: .72rem/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre;tab-size:2}
.code-todos,.code-activity{margin:0;padding:5px 13px 20px;list-style:none}
.code-todos li,.code-activity li{display:flex;gap:8px;padding:9px 4px;border-bottom:1px solid #eff1f0;color:#66808d;font-size:.74rem;line-height:1.5;overflow-wrap:anywhere}
.code-todos li>span:first-child{flex:0 0 auto;width:13px;color:#95acb7}
.code-todos li.is-progress{color:#9a762e}.code-todos li.is-complete{color:#93a8af;text-decoration:line-through}
.code-activity li::before{content:"";width:6px;height:6px;flex:0 0 auto;margin-top:5px;border-radius:50%;background:#9ebccc}
.code-activity li.is-error::before{background:#d78271}
.code-artifacts-foot{padding:10px 16px;border-top:1px solid #e9eeef;color:#9babaf;font-size:.64rem;text-align:right}
.code-artifacts-open{display:none}
.code-confirm{width:min(420px,calc(100vw - 30px));padding:24px;border:1px solid #d7e5e9;border-radius:18px;background:#fff;color:#334e5f;box-shadow:0 20px 65px #1b425537}
.code-confirm::backdrop{background:#1e3f527d;backdrop-filter:blur(3px)}
.code-confirm h2{margin:0;color:#294d61;font-size:1.2rem}
.code-confirm p{margin:11px 0 21px;color:#69808d;font-size:.85rem;line-height:1.6}
.code-confirm>div{display:flex;justify-content:flex-end;gap:8px}
.code-confirm button{padding:9px 12px;border:1px solid #d6e3e9;border-radius:8px;background:#fff;color:#42687d;font-size:.78rem;font-weight:700}
.code-confirm button:last-child{border-color:#365f76;background:#365f76;color:#fff}
#code-end-confirm,#code-delete-confirm{border-color:#a9564c;background:#a9564c}
.code-rename-label{display:block;margin:15px 0 6px;color:#748d9c;font-size:.72rem;font-weight:700}
.code-rename-input{display:block;width:100%;height:42px;margin-bottom:20px;padding:0 12px;border:1px solid #ccdee6;border-radius:9px;background:#f9fbfc;color:#2b4c60;font-size:.88rem}
.code-rename-error{margin:-9px 0 15px!important;color:#a45043!important;font-size:.74rem!important}
@media(max-width:1180px){.code-layout.is-workspace{grid-template-columns:200px minmax(330px,1fr) minmax(290px,34%)}.code-projects{padding-right:9px;padding-left:9px}.code-workspace-bar{padding-right:16px;padding-left:16px}.code-artifact-actions{flex-wrap:wrap}.code-artifact-actions .code-deploy{margin-left:0}}
@media(max-width:980px){.code-layout,.code-layout.is-workspace{grid-template-columns:minmax(0,1fr) 335px}.code-projects{position:fixed;z-index:20;top:76px;bottom:0;left:0;width:min(280px,85vw);box-shadow:18px 0 35px #24425424;transform:translateX(-110%);transition:transform .2s}.code-layout.is-sidebar-open .code-projects{transform:translateX(0)}.code-rail-open,.code-rail-close{display:grid}.code-artifacts{grid-column:2}.code-center{grid-column:1}.code-start-view{grid-column:1 / -1}.code-rail-foot{padding-bottom:15px}}
@media(max-width:700px){.code-header{height:67px;padding:0 14px}.code-header-left,.code-header-right{gap:10px}.code-header .chat-brand img{width:99px}.mode-nav a{min-width:50px;padding:6px 8px;font-size:.74rem}.code-top-status{display:none}.code-header .account-link{padding:7px 10px;font-size:.74rem}.code-layout,.code-layout.is-workspace{height:calc(100dvh - 67px);min-height:430px;display:flex;flex-direction:column}.code-projects{top:67px}.code-workspace-bar{min-height:61px;padding:9px 13px}.code-crumb{font-size:.53rem}.code-workspace-identity strong{font-size:.82rem}.code-workspace-actions{gap:4px}.code-run-status,.code-mode-label{display:none}.code-workspace-actions select{max-width:98px;font-size:.68rem}.code-center{flex:1;min-height:0}.code-start-view{padding:27px 18px 40px}.code-start-art{width:61px;height:61px;margin-bottom:14px;border-radius:19px}.code-start-art img{width:34px;height:34px}.code-start-view h1{font-size:2.4rem}.code-start-lede{margin:13px auto 21px;font-size:.85rem}.code-start-options{grid-template-columns:1fr}.code-starters{grid-template-columns:1fr;margin-top:18px}.code-starters button{min-height:42px}.code-transcript{padding:22px 16px 25px}.code-composer-wrap{padding:10px 12px 13px}.code-composer-bottom span{font-size:.59rem}.code-artifacts{position:fixed;z-index:15;top:67px;right:0;bottom:0;width:min(100vw,440px);box-shadow:-15px 0 35px #24425422;transform:translateX(105%);transition:transform .2s}.code-layout.is-panel-open .code-artifacts{transform:translateX(0)}.code-artifacts-close{display:grid}.code-artifacts-open{position:absolute;z-index:2;right:12px;bottom:170px;display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #cbdde5;border-radius:99px;background:#fff;color:#46748e;box-shadow:0 5px 18px #254f651e;font-size:.7rem;font-weight:700}.code-artifacts-open span{font-size:.95rem}.code-artifacts-top{height:61px}.code-msg-user{max-width:90%}}
@media(max-width:380px){.code-header{padding:0 9px}.code-header .chat-brand img{width:87px}.mode-nav a{min-width:44px;padding:5px 6px}.code-start-view h1{font-size:2.1rem}.code-start-form{padding:14px}.code-start-form-bottom>span{display:none}}
@media(max-width:700px){.code-followup-status{align-items:flex-start;flex-direction:column}.code-followup-status button{align-self:flex-start}}
@media(prefers-reduced-motion:reduce){.code-projects,.code-artifacts{transition:none}}

/* the plus icon on New chat / New project (replaces the U+FF0B glyph, which some fonts lack: a tofu box) */
.plus-icon{display:inline-block;flex:none;vertical-align:-2px}

/* the honest mode note (2026-09-30): what James can do in a /code session */
.code-mode-note,.code-start-options small.code-mode-note{display:block;margin:6px 0 0 4px;color:#5a7383;font-size:.66rem;font-weight:400;line-height:1.4}
.code-mode-note-composer{margin:0 0 6px 4px}
