:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,sans-serif;background:#0d1320;color:#edf3ff}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit;color:inherit}button{min-height:42px;padding:0 15px;border:1px solid #4779d5;border-radius:10px;background:#315eb5;font-weight:700;cursor:pointer}button:hover{background:#3d70d0}button:disabled{opacity:.55;cursor:not-allowed}.app-shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{display:flex;flex-direction:column;gap:30px;padding:22px 14px;border-right:1px solid #263752;background:#101827}.brand{display:flex;align-items:center;gap:11px;padding:0 8px;color:#f2f6ff;text-decoration:none;font-size:14px;font-weight:800;line-height:1.15}.brand-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:linear-gradient(145deg,#6d99ee,#315eb5)}.navigation{display:grid;gap:6px}.nav-item{justify-content:flex-start;border-color:transparent;background:transparent;color:#aebdd3;text-align:left}.nav-item:hover,.nav-item.is-active{border-color:#344d75;background:#1a2a44;color:#fff}.sidebar-footer{margin-top:auto;padding:10px 9px;color:#8ea2bd;font-size:12px}.status-dot{display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:#51d08c}.main-area{display:grid;grid-template-rows:72px minmax(0,1fr);min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 34px;border-bottom:1px solid #25334c;background:#101827}.topbar div{display:grid;gap:3px}.topbar strong{font-size:16px}.topbar span{color:#93a4bf;font-size:13px}.quiet-button,.secondary-button,.icon-button{border-color:#3a4f74;background:#17233a}.content-wrap{overflow:auto;padding:clamp(22px,4vw,52px);background:radial-gradient(circle at 55% 0,#18253c 0,#101827 44%,#0d1320 100%)}.auth-card{width:min(100%,1240px);margin:0 auto}form{display:grid;gap:16px;max-width:440px;margin:8vh auto;padding:32px;border:1px solid #30415f;border-radius:18px;background:#121c2d}form[hidden],#hub-dashboard[hidden]{display:none}form h1,.page-heading h1,.placeholder-panel h1,.empty-state h1{margin:0;letter-spacing:-.04em}form>p,.empty-state p,.placeholder-panel p{margin:0;color:#afbdd3;line-height:1.7}label{display:grid;gap:8px;color:#cbd6e8;font-size:13px;font-weight:600}input,textarea{width:100%;padding:12px 14px;border:1px solid #3a4f74;border-radius:10px;background:#17233a;outline:none}.form-error{min-height:20px;color:#ffadad}#hub-dashboard{min-height:calc(100vh - 176px)}.app-view{display:none}.app-view.is-active{display:block}.page-heading,.section-heading{display:flex;align-items:start;justify-content:space-between;gap:24px;margin-bottom:22px}.page-heading h1,.section-heading h1{font-size:26px}.section-heading h2,.workspace-card h2{margin:0;font-size:18px}.eyebrow{margin:0 0 6px;color:#8aa7d9;font-size:11px;font-weight:800;letter-spacing:.09em}.workspace-card{padding:24px;border:1px solid #30415f;border-radius:16px;background:#111d31}.workspace-actions{display:flex;flex-wrap:wrap;gap:10px}.upload-button{display:inline-flex;align-items:center;min-height:42px;padding:0 15px;border:1px solid #4779d5;border-radius:10px;background:#315eb5;font-size:14px;font-weight:700;cursor:pointer}.upload-button input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.workspace-location,#workspace-status{margin:0 0 16px;color:#afbdd3;font-size:13px;line-height:1.65}.is-error{color:#ffadad!important}.project-layout{display:grid;grid-template-columns:minmax(190px,240px) minmax(240px,.75fr) minmax(320px,1.25fr);gap:18px}.compact-card{align-self:start}.panel-copy{margin:7px 0 18px;color:#afbdd3;font-size:13px}.project-list,.file-tree{display:grid;gap:8px}.project-button{width:100%;min-height:39px;border-color:transparent;background:transparent;color:#cbd6e8;text-align:left}.project-button:hover,.project-button.is-selected{border-color:#3a5e9a;background:#1a2b47}.file-row{display:flex;align-items:center;gap:9px}.file-button{flex:1;min-width:0;border-color:#2f4261;background:#15243a;color:#d9e5f8;text-align:left}.icon-button{min-height:36px;padding:0 10px;font-size:12px}.preview-card pre{min-height:300px;max-height:560px;margin:16px 0 0;padding:16px;overflow:auto;border:1px solid #263b5b;border-radius:10px;background:#0c1525;color:#cbd6e8;font:13px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap}.muted-card{margin-top:18px}.muted-card p{margin:9px 0 0;color:#afbdd3;line-height:1.65}.chat-layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 176px);overflow:hidden;border:1px solid #30415f;border-radius:18px;background:#111d31}.chat-sidebar{padding:18px;border-right:1px solid #2b3c58;background:#121c2d}.new-chat-button{width:100%;margin-bottom:28px}.empty-copy{color:#91a2bb;font-size:13px;line-height:1.6}.chat-workspace{display:grid;grid-template-rows:1fr auto;min-height:570px}.empty-state{align-self:center;justify-self:center;max-width:560px;padding:48px;text-align:center}.empty-state h1{margin:8px 0 14px;font-size:clamp(28px,4vw,40px)}.composer{display:flex;align-items:end;gap:12px;padding:18px 22px;border-top:1px solid #2b3c58;background:#121c2d}.composer textarea{min-height:52px;resize:none}.composer button{min-width:84px}.agent-card{display:grid;gap:18px}.agent-list,.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.agent-item{display:grid;gap:10px;padding:18px;border:1px solid #2f4261;border-radius:12px;background:#15243a}.agent-item p{margin:0;color:#afbdd3;font-size:13px;line-height:1.65}.agent-item button,.placeholder-panel button{justify-self:start}.placeholder-panel{display:grid;gap:16px;max-width:720px;padding:34px}@media(max-width:980px){.project-layout{grid-template-columns:1fr 1fr}.preview-card{grid-column:1/-1}.chat-layout{grid-template-columns:1fr}.chat-sidebar{display:none}}@media(max-width:700px){.app-shell{display:block}.sidebar{position:sticky;top:0;z-index:2;flex-direction:row;align-items:center;gap:10px;padding:10px 12px;border-right:0;border-bottom:1px solid #263752}.brand{padding:0}.brand span:last-child,.sidebar-footer{display:none}.navigation{display:flex;gap:2px;overflow:auto}.nav-item{min-height:36px;padding:0 10px;font-size:13px;white-space:nowrap}.topbar{padding:0 18px}.topbar span{display:none}.content-wrap{padding:18px 14px}.page-heading,.section-heading{display:grid}.workspace-actions{display:grid}.workspace-actions>*{width:100%}.project-layout{grid-template-columns:1fr}.preview-card{grid-column:auto}.chat-layout{min-height:calc(100vh - 140px)}.empty-state{padding:32px 20px}.composer{padding:14px}.composer button{min-width:64px}}
