*{box-sizing:border-box}body{margin:0;background:#f6f6f2;color:#202d2a;font:15px/1.55 system-ui,-apple-system,sans-serif}button,input,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid #d9dfd9;border-radius:9px;background:white;color:inherit;padding:10px 15px}button:hover{background:#eef1eb}button:focus-visible,a:focus-visible{outline:3px solid #84ae99;outline-offset:3px}aside{position:fixed;width:238px;inset:0 auto 0 0;background:#eaece5;padding:32px 20px;display:flex;flex-direction:column;border-right:1px solid #dde1d8}.brand{font-size:32px;font-weight:800;text-decoration:none;color:#244737;margin-bottom:45px}.brand span{font-size:14px;font-weight:500}.eyebrow,.navlabel{font-size:11px;letter-spacing:1.6px;font-weight:700;color:#6b786f}.navlabel{display:flex;align-items:center;justify-content:space-between;margin:30px 10px 12px}.navlabel button{padding:0 6px;font-size:22px;background:none;border:0}nav{display:grid;gap:8px}aside>button,nav button{background:none;text-align:left;border:0}nav button.active{background:#fff;box-shadow:0 3px 12px #293b2310}nav button small{display:block;color:#728077;font-size:11px;margin-left:23px}.sidebarfoot{margin-top:auto;font-size:13px}.sidebarfoot small{color:#748078}.dot{display:inline-block;width:7px;height:7px;background:#477d5b;border-radius:50%;margin-right:6px}main{margin-left:238px;padding:0 44px 45px;max-width:1600px}header{height:78px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #dfe3dc;font-size:13px;color:#728077}.badge{font-size:10px;letter-spacing:1px;background:#e6e9df;padding:6px 10px;border-radius:5px}.notice{font-size:11px;color:#68766d;padding:12px 0}h1{font-size:clamp(30px,3.1vw,44px);line-height:1.12;letter-spacing:-1.6px;margin:24px 0 14px}h2{font-size:19px;letter-spacing:-.4px}h3{font-size:15px;margin:0 0 10px}.muted{color:#718075}.intro{margin-bottom:30px;max-width:680px}.hero{background:#244737;color:#f4f6ee;border-radius:18px;padding:30px 34px;display:flex;justify-content:space-between;gap:20px;margin:26px 0 32px}.hero h2{font-size:25px;margin:7px 0}.hero .eyebrow{color:#bcd0b8}.hero p{color:#c7d7c9;margin-bottom:0;max-width:600px}.hero button{align-self:center;background:#e3edb7;border:0;white-space:nowrap}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card,.panel{background:#fff;border:1px solid #e0e4dc;border-radius:14px;padding:24px}.card{display:flex;flex-direction:column;min-height:250px}.card h2{margin:18px 0 4px}.card p{font-size:13px;color:#758078;flex:1}.card button{align-self:flex-start}.tag{font-size:10px;letter-spacing:.8px;text-transform:uppercase;color:#697a69}.icon{width:40px;height:40px;border-radius:10px;background:#f0eddc;display:grid;place-items:center;font-size:21px}.row{display:flex;align-items:center;justify-content:space-between;gap:15px}.tabs{display:flex;gap:8px;border-bottom:1px solid #d9dfd6;margin:25px 0}.tabs button{border:0;background:none;border-radius:0;padding:12px 18px;color:#6d7c71}.tabs button.selected{color:#244737;border-bottom:3px solid #244737;font-weight:650}.twocol{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:22px}.panel{margin-bottom:18px}.panel p{white-space:pre-wrap}.line{padding:13px 0;border-bottom:1px solid #edf0e9;display:flex;gap:12px;align-items:flex-start}.line:last-child{border:0}.line input{margin-top:6px}.line span{flex:1}.line button{padding:3px 8px;font-size:12px}.primary{background:#244737;color:#fff;border-color:#244737}.primary:hover{background:#365b45}.messages{min-height:230px;max-height:420px;overflow:auto}.bubble{padding:14px 18px;margin:12px 0;max-width:90%;border-radius:12px;background:#f0f3eb;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.user{background:#e7eddc;margin-left:auto}.bubble small{display:block;color:#64765e;font-size:10px;margin-bottom:5px}.composer{display:flex;gap:10px;margin-top:20px}.composer textarea{flex:1;min-width:0;height:82px;resize:vertical}.composer button{align-self:end}.hint{font-size:12px;color:#748070;margin:12px 0}.empty{padding:20px;color:#7b877e}input,textarea{width:100%;padding:11px 13px;border:1px solid #cfd8cc;border-radius:8px;background:#fff;color:#24382c}input[type=checkbox]{width:auto}label{display:block;font-size:13px;margin:14px 0 6px}textarea{min-height:110px}dialog{border:1px solid #dce2d5;border-radius:18px;padding:28px;width: min(620px,calc(100% - 28px));max-height:85vh;overflow:auto}dialog::backdrop{background:#12201770;backdrop-filter:blur(3px)}.close{float:right;border:0;padding:2px 10px;font-size:24px}#modal h2{margin-top:5px}#modal .primary{margin-top:16px}.docbody{min-height:230px}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#233e2c;color:white;padding:12px 22px;border-radius:9px;display:none;z-index:10}.version{font-size:12px;color:#75816e}.activity{margin-top:28px}.pill{background:#edf2e5;border-radius:30px;padding:4px 10px;font-size:11px;white-space:nowrap}small{line-height:1.5}.error{color:#a62f25}@media(max-width:1000px){aside{width:200px}main{margin-left:200px;padding:0 25px 30px}.grid{grid-template-columns:1fr}.card{min-height:160px}.twocol{grid-template-columns:1fr}.hero{padding:24px}}@media(max-width:600px){aside{position:static;width:auto;padding:16px;border-right:0}.brand{margin:0 0 12px;font-size:25px}.eyebrow,aside>.navlabel,.sidebarfoot{display:none}aside>button{position:absolute;right:16px;top:16px}nav{display:flex;overflow:auto;margin-top:8px}nav button{white-space:nowrap;font-size:12px;padding:8px 10px}nav button small{display:none}main{margin:0;padding:0 16px 28px}header{height:50px}.badge{font-size:8px}.notice{font-size:10px}h1{margin-top:18px}.hero{display:block;padding:22px}.hero button{margin-top:18px}.panel,.card{padding:18px}.tabs{gap:0}.tabs button{padding:10px 13px}.row{flex-wrap:wrap}.composer{display:block}.composer button{margin-top:8px;width:100%}.intro{margin-bottom:20px}}

.hero button{color:#244737}select{font:inherit;max-width:100%;padding:10px;border:1px solid #cfd8cc;border-radius:8px}

/* Chat-first revision: projects, conversation, optional files. */
main{max-width:none}#view{max-width:920px;margin:0 auto}header{height:62px}.badge{letter-spacing:1px}.home-intro{margin:55px 0 30px}.home-intro h1{font-size:34px}.project-list{display:grid;gap:12px}.project-item{display:flex;align-items:center;text-align:left;gap:18px;padding:23px;border-radius:14px}.project-item>span:nth-child(2){flex:1;min-width:0}.project-item strong{font-size:17px}.project-item small{display:block;color:#718075;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:650px}.new-project{margin-top:22px;background:transparent}.project-heading{margin:15px 0 24px}.project-heading h1{font-size:28px;margin:0;letter-spacing:-.8px}.chat-layout{max-width:780px;margin:auto}.recap{padding:15px 20px;background:#eaf0e5;border-radius:12px;margin-bottom:20px}.recap summary{font-size:12px;font-weight:650;cursor:pointer}.recap p{font-size:14px;margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.messages{min-height:220px;max-height:48vh}.composer{background:white;border:1px solid #d9dfd9;border-radius:14px;padding:10px;align-items:end}.composer textarea{border:0;min-height:60px;height:68px;resize:vertical}.composer button{margin:0}.hint{text-align:center;font-size:11px}.sidebarfoot{font-size:12px}.notice{text-align:center}.bubble{max-width:88%}
@media(max-width:600px){.home-intro{margin:28px 0 24px}.home-intro h1{font-size:29px}.project-item{padding:17px 13px;gap:12px}.project-item small{max-width:220px}.project-heading h1{font-size:23px}.project-heading{flex-wrap:nowrap;margin:15px 0 20px}.project-heading #files{white-space:nowrap;font-size:12px;padding:8px 10px}.composer{display:flex;gap:5px;position:sticky;bottom:10px}.composer button{width:auto;align-self:end}.messages{min-height:160px;max-height:none}.bubble{font-size:14px}header{display:none}aside{padding-bottom:10px}.brand span{font-size:12px}.notice{font-size:9px}.recap{padding:12px 15px}nav button{font-size:12px}.project-item .icon{flex-shrink:0}}
