:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#182026;background:#f7fafb;font-size:14px;--aqua:#00aab9;--deep:#008b98;--gold:#ffc72c;--black:#111;--line:#e3ebed;--soft:#f2f8f9;--muted:#75878d;--shadow:0 6px 20px rgba(16,45,56,.04)}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.53;cursor:not-allowed}.hidden{display:none!important}.app-shell{height:100vh;display:flex;flex-direction:column}.topbar{height:76px;flex-shrink:0;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 22px;gap:12px;position:relative;z-index:5}.top-left{width:325px;min-width:245px;display:flex;align-items:center;gap:14px}.brand-img{width:205px;height:64px;object-fit:contain;object-position:left center}.brand-sep{width:1px;height:28px;background:#d6dfe2}.workspace-label{font-size:11px;color:#7d8e93;line-height:1.3;max-width:85px}.health-strip{flex:1;display:flex;align-items:center;justify-content:center;gap:12px;min-width:0}.health{display:flex;align-items:center;gap:10px;padding:0 12px;border-right:1px solid var(--line)}.health:last-child{border-right:0}.health-ic{font-size:24px;color:var(--aqua)}.health-copy{display:flex;flex-direction:column;min-width:44px;gap:2px}.health-copy small{font-size:10px;color:#84969a}.health-copy b{font-size:17px;font-weight:750}.health canvas{width:80px;height:25px}.top-actions{display:flex;align-items:center;gap:12px}.refresh-label{white-space:nowrap;color:#4a7e83;font-size:11px}.refresh-label i,.online-dot{display:inline-block;width:7px;height:7px;background:#17b980;border-radius:50%;margin-right:5px}.icon-btn{background:transparent;border:0;color:#617980;font-size:18px;padding:8px;border-radius:9px;line-height:1}.icon-btn:hover{background:#eef8f9;color:var(--deep)}.avatar{width:35px;height:35px;background:#007e8c;color:white;border:0;border-radius:50%;font-weight:750}.app-body{display:flex;flex:1;min-height:0}.sidebar{flex:0 0 248px;background:#fff;border-right:1px solid var(--line);overflow-y:auto;display:flex;flex-direction:column;min-height:0}.side-head{padding:17px 16px 15px}.btn{border:1px solid var(--line);border-radius:10px;padding:10px 14px;background:#fff;color:#22323a;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;transition:background .15s ease}.btn:hover{background:#f1f9fa}.btn.primary{background:var(--aqua);color:#fff;border-color:var(--aqua)}.btn.primary:hover{background:var(--deep)}.btn.subtle{background:#f5fafb;color:#286c74;border-color:#e3f0f1}.btn.danger{background:#fff3ee;color:#a44427;border-color:#f4d7ce}.btn.full{width:100%}.btn.small{padding:7px 10px;font-size:12px}.nav-entries{padding:0 10px 12px;border-bottom:1px solid var(--line)}.nav-item{border:0;background:transparent;color:#43535d;display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:11px 14px;border-radius:9px;font-weight:580}.nav-item>span{font-size:17px;width:20px;text-align:center}.nav-item:hover,.nav-item.active{background:#e5f8fa;color:#006b77}.side-subtitle{font-size:10px;letter-spacing:1.4px;color:#92a1a5;font-weight:750;padding:20px 20px 8px}.project-list{padding:0 10px}.project-link,.conv-link{display:block;width:100%;border:0;background:transparent;text-align:left;padding:10px 13px;border-radius:9px;color:#273841;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-link:hover,.conv-link:hover,.project-link.selected,.conv-link.selected{background:#eff9fa;color:#007b88}.project-bullet{display:inline-block;background:#00aab9;width:9px;height:9px;transform:rotate(45deg);border-radius:2px;margin-right:11px}.project-link:nth-child(even) .project-bullet{background:#e7b414}.history-search{height:35px;border:1px solid var(--line);border-radius:9px;margin:0 16px 8px;padding:8px 11px;outline:none;background:#fafdfd;width:calc(100% - 32px)}.history-search:focus,input:focus,textarea:focus,select:focus{border-color:#8ad4db;outline:2px solid #c7f1f4}.conv-list{padding:0 10px 15px;min-height:110px}.conv-link{font-size:12px;color:#66777d;font-weight:450}.side-foot{margin-top:auto;padding:15px 19px;border-top:1px solid var(--line);color:#718188;font-size:11px}.main{display:flex;flex:1;min-width:0;min-height:0;background:#fbfdfd}.page{height:100%;width:100%;min-width:0}.chat-page{display:flex;flex-direction:column}.chat-top{padding:26px 36px 17px;display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:1px solid #f0f4f5}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:var(--aqua);margin-bottom:8px}h1,h2,h3,p{margin-top:0}h2{font-size:24px;letter-spacing:-.7px;margin-bottom:7px}p{line-height:1.56;color:#718189}.chat-top p{margin:0;font-size:12px}.chat-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.chat-actions select,.model-override{background:#fff;border:1px solid var(--line);border-radius:9px;padding:9px 10px;color:#374e56;font-size:12px;max-width:170px}.model-override{width:170px}.chat-scroll{flex:1;overflow-y:auto;padding:0 22px;min-height:0}.welcome{max-width:650px;margin:9vh auto 0;text-align:center}.welcome-symbol{width:100px;height:100px;background:#fff;box-shadow:0 5px 25px #9ddde528;border-radius:24px;margin:0 auto 19px;display:flex;align-items:center;justify-content:center}.welcome-symbol img{width:86px;height:84px;object-fit:contain}.welcome h1{font-size:31px;color:#1a2c32;margin-bottom:10px;letter-spacing:-1px}.welcome p{max-width:500px;margin:0 auto 25px}.suggestions{display:flex;gap:9px;justify-content:center;flex-wrap:wrap}.suggestions button{border:1px solid #dce9eb;background:#fff;border-radius:11px;padding:13px;color:#5b7076;font-size:12px}.suggestions button:hover{border-color:var(--aqua);color:var(--deep)}.messages{max-width:840px;margin:18px auto 0}.message{margin:0 0 22px;display:flex;gap:12px;align-items:flex-start}.message-avatar{flex:0 0 29px;width:29px;height:29px;border-radius:9px;background:#e5f6f7;display:flex;align-items:center;justify-content:center;color:#007f8c;font-weight:800}.message.user .message-avatar{background:#eaf0f2;color:#53676e}.message-content{flex:1;min-width:0}.message-author{font-weight:720;font-size:12px;margin:5px 0 7px}.message-text{white-space:pre-wrap;line-height:1.65;font-size:13px;color:#2d4148;overflow-wrap:anywhere}.message.user .message-text{background:#edf9fa;border-radius:13px;padding:15px}.message-text pre{font-size:12px;background:#142b31;color:#eafcfe;white-space:pre;overflow:auto;padding:16px;border-radius:10px}.message-text code{font-family:Consolas,monospace}.message-meta{font-size:10px;color:#90a0a6;margin-top:7px}.composer-wrap{padding:11px 26px 13px;background:linear-gradient(180deg,transparent,#fbfdfd 20%)}.composer{border:1px solid #d9e7e9;border-radius:15px;background:#fff;padding:10px 12px 8px;max-width:890px;margin:auto;box-shadow:0 6px 25px #0030390d}.composer textarea{width:100%;border:0;resize:vertical;min-height:39px;max-height:165px;outline:none;font-size:13px;padding:9px 7px 2px;color:#293e43}.composer textarea:focus{outline:none}.composer-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:7px;gap:6px}.composer-hint{font-size:11px;color:#66888d}.composer-buttons{display:flex;gap:7px;align-items:center}.send-btn{width:37px;height:37px;border:0;background:var(--aqua);color:white;border-radius:10px;font-size:17px}.send-btn:hover{background:var(--deep)}.footnote{text-align:center;font-size:10px;color:#9caaae;margin:6px 0 0}.command{flex:0 0 320px;border-left:1px solid var(--line);background:white;overflow-y:auto;transition:flex-basis .2s;min-height:0}.command:not(.open){flex-basis:48px}.command:not(.open) .command-head,.command:not(.open) #command-content{display:none}.command:not(.open) #command-collapsed{display:flex!important;flex-direction:column;align-items:center;gap:16px;padding-top:17px}.command-head{padding:24px 17px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.command-head strong{font-size:13px}.command-head small{display:block;font-size:10px;color:#83979d;margin-top:5px}.command-summary{display:flex;gap:4px;justify-content:space-around;background:#f4f9fa;margin:15px 14px;border-radius:9px;padding:12px 6px;font-size:11px;color:#567177}.mini-title{margin:20px 17px 11px;font-size:10px;color:#879aa0;font-weight:780;letter-spacing:1.4px}.worker-card,.review-card{margin:10px 13px;padding:13px;border:1px solid #e4eef0;border-radius:12px;box-shadow:var(--shadow)}.worker-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.worker-top b{font-size:12px}.worker-task{font-size:11px;color:#7c8c92;margin:8px 0;line-height:1.4}.state-pill{font-size:9px;border-radius:7px;padding:5px 7px;background:#e8f9fa;color:#007482;font-weight:750;text-transform:uppercase}.state-pill.review{background:#fff5d9;color:#967000}.state-pill.idle{background:#eef1f2;color:#849096}.worker-stage{font-size:11px;color:#6c8084;margin-top:8px}.worker-progress{height:5px;background:#e8eff1;border-radius:10px;overflow:hidden;margin-top:12px}.worker-progress span{display:block;width:34%;height:100%;background:var(--aqua);border-radius:10px}.command-foot{padding:15px}.review-card{background:#fffdf7;border-color:#f7e2ab}.review-card b{font-size:12px}.review-card p{font-size:11px;margin:7px 0}.panel-page{overflow-y:auto;padding:29px 35px 60px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:24px}.page-heading h2{font-size:27px}.page-heading p{font-size:13px;margin:0}.project-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.project-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:var(--shadow);cursor:pointer}.project-card:hover{border-color:#9bdfe4}.card-icon{width:40px;height:40px;border-radius:11px;background:#e5f8fa;color:#00818d;display:flex;align-items:center;justify-content:center;font-size:19px;margin-bottom:14px}.project-card h3{font-size:15px;margin-bottom:5px}.project-card p{font-size:11px;min-height:32px}.project-card small{color:#93a2a5}.detail-box,.setting-card{background:white;border:1px solid var(--line);border-radius:14px;padding:22px;margin:22px 0;box-shadow:var(--shadow)}.detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.detail-box h3,.setting-card h3{margin-bottom:8px}.detail-box p,.setting-card p{font-size:12px}.card-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.section-title{margin:24px 0 15px;font-weight:750;color:#283d42}.job-list{display:flex;flex-direction:column;gap:12px}.job-card{background:white;border:1px solid var(--line);padding:18px 20px;border-radius:13px;box-shadow:var(--shadow)}.job-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:8px}.job-card h3{font-size:14px;margin-bottom:0}.job-card p{font-size:12px;margin-bottom:13px}.job-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.tag{display:inline-block;border:1px solid #dbe9eb;background:#f6fafb;border-radius:8px;color:#607780;font-size:11px;padding:5px 7px}.tag.gold{border-color:#f9e7ad;background:#fff8df;color:#8e700d}.tag.aqua{border-color:#b9e7ea;background:#e8fafb;color:#007582}.job-log{white-space:pre-wrap;word-break:break-word;max-height:180px;overflow:auto;background:#162b30;color:#c9edef;font:11px/1.6 Consolas,monospace;padding:12px;border-radius:9px}.memory-list{display:flex;flex-direction:column;gap:8px;margin-top:13px}.memory-item{display:flex;justify-content:space-between;gap:15px;padding:12px;border:1px solid var(--line);border-radius:10px}.memory-item b{font-size:12px}.memory-item p{font-size:11px;margin:5px 0}.memory-actions{white-space:nowrap;display:flex;align-items:center;gap:5px}.setting-card{max-width:780px}.setting-row{display:flex;gap:12px;align-items:center;margin:10px 0}.setting-row input,.setting-row select,.modal-card input,.modal-card textarea,.modal-card select{border:1px solid #d5e4e7;border-radius:9px;padding:11px;width:100%;background:#fff;color:#233840}.setting-row label{flex:1;font-size:12px}.setting-row label input{display:block;margin-top:5px}.small-muted{font-size:11px!important;color:#8d9da1}.modal{position:fixed;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:16px}.modal-shade{position:absolute;inset:0;background:#102c3370;backdrop-filter:blur(3px)}.modal-card{position:relative;z-index:1;background:#fff;border-radius:17px;padding:24px;width:min(530px,100%);max-height:90vh;overflow-y:auto;box-shadow:0 30px 70px #12232e40}.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-heading h3{margin:0;font-size:19px}.modal-card label{display:block;margin-bottom:13px;font-size:12px;font-weight:650;color:#3e545a}.modal-card input,.modal-card textarea,.modal-card select{display:block;margin-top:7px}.modal-card textarea{min-height:125px}.modal-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:18px}.error-text{color:#b4493b;font-size:12px;min-height:17px}.toast{position:fixed;bottom:20px;right:25px;z-index:30;color:white;background:#203c44;padding:13px 18px;border-radius:10px;box-shadow:0 8px 30px #0002;max-width:380px}.login-page{height:100vh;background:radial-gradient(circle at 10% 10%,#e0f8fa,#fafdfd 50%,#fffaea);display:flex;align-items:center;justify-content:center;padding:20px}.login-panel{max-width:450px;width:100%;padding:39px 35px;border:1px solid #e5eef0;border-radius:23px;background:white;box-shadow:0 25px 70px #066b7b16;text-align:center}.login-brand{display:block;width:330px;max-width:100%;height:105px;object-fit:contain;margin:0 auto 17px}.login-panel h1{font-size:23px;color:#1a343b}.login-panel p{font-size:12px}.login-panel form{text-align:left;margin:26px 0 17px}.login-panel label{display:block;font-size:12px;font-weight:680;margin-bottom:15px}.login-panel input{display:block;border:1px solid #d4e5e7;padding:13px;border-radius:9px;width:100%;margin-top:7px}.login-panel small{color:#98a6a9;font-size:10px}.mobile-only{display:none}@media(max-width:1250px){.sidebar{flex-basis:213px}.command{flex-basis:285px}.top-left{width:245px}.health canvas{width:60px}.health{gap:5px;padding:0 7px}.workspace-label,.brand-sep{display:none}}@media(max-width:1000px){.command{flex-basis:48px}.command.open{flex-basis:265px}.chat-top{padding:20px}.panel-page{padding:25px}.health canvas{display:none}.top-left{min-width:auto;width:180px}.brand-img{width:170px}.topbar{padding:0 12px}.refresh-label{display:none}}@media(max-width:760px){.mobile-only{display:block}.sidebar{position:absolute;top:76px;bottom:0;left:0;z-index:9;width:260px;transform:translateX(-102%);box-shadow:5px 0 25px #0001;transition:transform .2s}.sidebar.mobile-open{transform:translateX(0)}.command{position:absolute;right:0;top:76px;bottom:0;z-index:8;box-shadow:-4px 0 22px #0001}.command.open{width:min(305px,80vw);flex-basis:auto}.command:not(.open){width:0;flex-basis:0;overflow:hidden;border:0}.top-left{width:auto;min-width:0;flex:1}.brand-img{width:130px}.health-strip{gap:1px;flex:0}.health{padding:0 3px;gap:4px}.health-ic{display:none}.health-copy b{font-size:12px}.health-copy small{font-size:9px}.health-copy{min-width:37px}.top-actions{gap:3px}.topbar{height:70px}.sidebar,.command{top:70px}.chat-top{padding:17px 14px}.chat-top h2{font-size:20px}.chat-top p{display:none}.chat-actions select{width:135px}.chat-scroll{padding:0 12px}.composer-wrap{padding:8px}.composer-bottom{align-items:flex-end}.composer-hint{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-buttons .subtle{font-size:0;padding:7px}.composer-buttons .subtle::after{content:'↗';font-size:15px}.welcome{margin-top:7vh}.welcome h1{font-size:25px}.panel-page{padding:20px 14px}.page-heading h2{font-size:21px}.project-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.health-strip{margin-left:auto}}@media(max-width:430px){.topbar{gap:3px;padding:0 6px}.brand-img{width:112px}.health-copy{min-width:32px}.health-copy b{font-size:11px}.health{padding:0 2px}.avatar{height:29px;width:29px}.top-actions #notifications{display:none}.chat-top{display:block}.chat-actions{margin-top:12px}.project-cards{grid-template-columns:1fr}.page-heading{flex-wrap:wrap}}
