:root{--ink:#102d32;--deep:#0b2429;--green:#087d6c;--green2:#18a68d;--mint:#dff5ef;--paper:#f5f9f7;--line:#dbe6e2;--muted:#64787a;--white:#fff;--red:#b94b52}*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;font-family:Inter,Arial,sans-serif;color:var(--ink);background:var(--paper)}button,input,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.boot,.setup-screen{min-height:100vh;display:grid;place-items:center}.boot{text-align:center;color:var(--muted)}.logo,.brand>b{width:46px;height:46px;border-radius:14px;background:var(--ink);color:#82e1cc;display:grid;place-items:center;font:italic 700 25px Georgia}.setup-card{width:min(600px,90%);padding:38px;background:white;border:1px solid var(--line);border-radius:20px;box-shadow:0 20px 70px #12332e1a}.setup-card h1{font:500 36px Georgia}.setup-card p{color:var(--muted);line-height:1.7}.setup-card a{color:var(--green);font-weight:700}.auth{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.auth-art{background:var(--deep);color:white;padding:48px clamp(30px,6vw,90px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-art:after{content:'';position:absolute;width:500px;height:500px;border:1px solid #76dac933;border-radius:50%;right:-170px;bottom:-170px;box-shadow:0 0 0 80px #0c3c3a55,0 0 0 160px #0c3c3a33}.brand{display:flex;align-items:center;gap:12px}.brand strong,.brand small{display:block}.brand strong{font-size:20px;letter-spacing:.04em}.brand small{font-size:11px;color:#8ea7a8;margin-top:3px}.auth-art>div:nth-child(2){position:relative;z-index:1}.auth-art label{font-size:11px;text-transform:uppercase;letter-spacing:.18em;color:#65d4bd;font-weight:800}.auth-art h1{font:500 clamp(48px,6vw,78px)/.98 Georgia;margin:24px 0;letter-spacing:-.045em}.auth-art h1 em{color:#57d0b7;font-weight:500}.auth-art p{max-width:620px;color:#aac0c0;font-size:17px;line-height:1.7}.auth-art footer{font-size:11px;color:#789191;position:relative;z-index:1}.auth-form{display:grid;place-items:center;padding:40px;background:#fbfdfc}.login-box{width:min(420px,100%)}.login-box>small,.welcome small,.section-head small,.project-head small,.module-heading small,.panel-title small{color:var(--green);font-size:10px;text-transform:uppercase;letter-spacing:.17em;font-weight:800}.login-box h2{font:500 39px Georgia;margin:10px 0}.login-box>p{color:var(--muted);font-size:14px;margin-bottom:30px}.login-box label,.project-form label,.module-form label{display:block;font-size:11px;font-weight:700;margin-top:16px}.login-box input,.project-form input,.project-form textarea,.module-form textarea{width:100%;border:1px solid #d4dfdc;border-radius:10px;background:white;padding:13px;margin-top:7px;outline:none}.login-box input:focus,.project-form input:focus,.project-form textarea:focus,.module-form textarea:focus{border-color:#69b8a7;box-shadow:0 0 0 3px #e5f5f1}.login-box button,.primary{width:100%;margin-top:24px;background:var(--green);border:0;color:white;border-radius:10px;padding:14px 18px;display:flex;justify-content:space-between;font-weight:800}.form-error{color:var(--red);font-size:12px;margin-top:14px}.shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}.shell aside{height:100vh;position:sticky;top:0;background:var(--deep);color:white;padding:23px 17px;display:flex;flex-direction:column}.shell aside .brand{padding:0 9px 23px;border-bottom:1px solid #ffffff1c}.shell aside nav{padding:20px 0 12px}.shell aside button{width:100%;border:0;background:none;color:#9bb0b1;text-align:left;border-radius:9px;padding:11px 12px;display:flex;align-items:center;gap:11px;font-size:13px}.shell aside button:hover,.shell aside button.active{background:#ffffff10;color:white}.module-nav{border-top:1px solid #ffffff12;padding-top:17px}.module-nav>small{display:block;color:#668183;font-size:9px;text-transform:uppercase;letter-spacing:.15em;padding:0 11px 10px}.module-nav button{padding:9px 10px}.module-nav i{font-style:normal;color:#5f8582;font-size:9px;width:18px}.module-nav button.active i{color:#58d3ba}.module-nav b{margin-left:auto;color:#61d1b8}.user{margin-top:auto;border-top:1px solid #ffffff1c;padding:17px 6px 0;display:flex;align-items:center;gap:9px}.user>span{width:34px;height:34px;border-radius:50%;background:#19504d;display:grid;place-items:center;color:#75d9c4;font-weight:800}.user div{min-width:0}.user strong,.user small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:125px}.user strong{font-size:11px}.user small{font-size:9px;color:#769092;margin-top:2px;text-transform:capitalize}.user button{margin-left:auto;width:auto;padding:7px}.main{min-width:0}.main>header{height:69px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,4vw,56px)}.main>header strong,.main>header small{display:block}.main>header strong{font-size:13px}.main>header small{font-size:9px;color:#829492;margin-top:3px}.mobile-nav{display:none}.page{padding:45px clamp(24px,5vw,68px) 70px;max-width:1500px;margin:auto}.page.narrow{max-width:1250px}.welcome{display:flex;justify-content:space-between;align-items:end;gap:30px;background:linear-gradient(120deg,#fff 0%,#f1faf7 100%);border:1px solid var(--line);border-radius:20px;padding:40px}.welcome h1,.project-head h1,.module-heading h1{font:500 clamp(38px,4vw,57px)/1.04 Georgia;letter-spacing:-.035em;margin:14px 0}.welcome h1 em{color:var(--green);font-weight:500}.welcome p,.project-head p,.module-heading p{color:var(--muted);line-height:1.65;max-width:680px}.welcome button{border:0;border-radius:11px;background:var(--green);color:white;padding:14px 18px;font-weight:800;white-space:nowrap}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0 44px}.metrics article{background:white;border:1px solid var(--line);border-radius:14px;padding:20px}.metrics span,.metrics small,.metrics strong{display:block}.metrics span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.1em}.metrics strong{font:600 31px Georgia;margin:12px 0 3px}.metrics small{font-size:10px;color:#8b9a98}.section-head{display:flex;justify-content:space-between;align-items:end}.section-head h2{font:600 28px Georgia;margin:7px 0}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.project-card{background:white;border:1px solid var(--line);border-radius:15px;padding:21px;cursor:pointer;transition:.2s}.project-card:hover{transform:translateY(-3px);box-shadow:0 16px 35px #244d4514;border-color:#9ccbbf}.project-card>div:first-child{display:flex;justify-content:space-between}.status{font-size:9px;text-transform:uppercase;color:var(--green);background:var(--mint);padding:6px 8px;border-radius:99px}.project-card small{font-size:9px;color:#91a09e}.project-card h3{font:600 21px Georgia;margin:20px 0 8px}.project-card p{color:var(--muted);font-size:12px;line-height:1.5;height:36px;overflow:hidden}.project-progress{height:5px;border-radius:5px;background:#edf2f0;margin:23px 0 10px}.project-progress span{display:block;height:100%;background:var(--green);border-radius:5px}.project-card footer{display:flex;justify-content:space-between;font-size:10px;color:#82918f}.project-card footer b{color:var(--green)}.empty{grid-column:1/-1;text-align:center;background:white;border:1px dashed #c4d5d0;border-radius:16px;padding:50px}.empty>b{font-size:30px;color:var(--green)}.empty h3{font:600 22px Georgia}.empty p{color:var(--muted);font-size:13px}.crumb{font-size:10px;color:#8b9b99;margin-bottom:28px}.project-head{display:flex;justify-content:space-between;align-items:end}.export{padding:11px 14px;background:white;border:1px solid var(--line);border-radius:9px;font-size:11px;font-weight:700}.project-form{margin-top:30px}.form-card{background:white;border:1px solid var(--line);border-radius:15px;padding:26px;margin-bottom:15px}.form-card h2,.panel-title h2{font:600 21px Georgia;margin:0 0 20px}.project-form textarea{min-height:90px;resize:vertical}.two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-actions{display:flex;justify-content:flex-end;gap:10px}.form-actions button{width:auto;margin:0}.danger,.secondary{border:1px solid var(--line);background:white;color:var(--red);padding:12px 16px;border-radius:9px;font-weight:700}.pathway{margin-top:55px}.path-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.path-grid button{border:1px solid var(--line);background:white;border-radius:13px;padding:18px;text-align:left}.path-grid i{display:grid;place-items:center;width:37px;height:37px;background:var(--mint);border-radius:10px;color:var(--green);font-style:normal;font-size:18px}.path-grid small,.path-grid strong,.path-grid span{display:block}.path-grid small{font-size:8px;color:var(--green);text-transform:uppercase;letter-spacing:.1em;margin-top:18px}.path-grid strong{font:600 16px Georgia;margin:6px 0 13px}.path-grid span{font-size:10px;color:#778b89}.module-heading{display:grid;grid-template-columns:auto 1fr auto;gap:19px;align-items:start}.module-symbol{width:57px;height:57px;border-radius:15px;display:grid;place-items:center;background:var(--mint);color:var(--green);font-size:25px}.module-heading h1{font-size:43px;margin:7px 0}.module-heading p{font-size:13px;margin:0}.module-status{border-radius:99px;padding:8px 11px;background:#e9efed;color:#728481;text-transform:uppercase;font-size:8px;letter-spacing:.1em}.module-status.generated{background:var(--mint);color:var(--green)}.stage-track{display:grid;grid-template-columns:repeat(4,1fr);background:white;border:1px solid var(--line);border-radius:13px;margin:28px 0 18px;padding:13px}.stage-track>div{display:flex;align-items:center;gap:8px;border-right:1px solid var(--line);padding:2px 12px;color:#99a8a6;font-size:10px}.stage-track>div:last-child{border:0}.stage-track i{width:23px;height:23px;border-radius:50%;background:#edf2f0;display:grid;place-items:center;font-style:normal}.stage-track .active{color:var(--green);font-weight:700}.stage-track .active i{background:var(--mint)}.module-work{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:16px}.module-form,.result{background:white;border:1px solid var(--line);border-radius:15px;padding:25px;min-width:0}.module-form textarea{min-height:72px;resize:vertical}.module-actions{display:flex;gap:9px;margin-top:18px}.module-actions button{margin:0;width:auto}.secondary{color:var(--ink)}.ai-note{font-size:9px;color:#91a09e;line-height:1.5}.result{display:flex;flex-direction:column;min-height:570px}.result-body{font-size:12px;line-height:1.65;color:#40585a;overflow:auto;max-height:720px}.result-body h2,.result-body h3,.result-body h4{font-family:Georgia;color:var(--ink)}.result-empty,.loading{margin:auto;text-align:center;max-width:330px}.result-empty>b{display:grid;place-items:center;width:48px;height:48px;background:var(--mint);color:var(--green);border-radius:50%;margin:auto;font-size:22px}.result-empty h3,.loading h3{font:600 20px Georgia}.result-empty p,.loading p{color:var(--muted)}.result-empty.error{color:var(--red)}.loading span{display:block;width:38px;height:38px;border:3px solid var(--mint);border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite;margin:auto}.result-actions{margin-top:auto;padding-top:20px;display:flex;gap:9px;justify-content:flex-end;border-top:1px solid var(--line)}.result-actions button{width:auto;margin:0;border:1px solid var(--line);background:white;padding:10px 13px;border-radius:8px;font-size:10px;font-weight:700}.result-actions .primary{background:var(--green);color:white;border:0}.toast{position:fixed;right:22px;bottom:22px;background:var(--ink);color:white;padding:13px 17px;border-radius:9px;box-shadow:0 12px 30px #0003;font-size:12px;z-index:100}.toast.error{background:#9d3d45}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1050px){.project-grid{grid-template-columns:repeat(2,1fr)}.path-grid{grid-template-columns:repeat(3,1fr)}.module-work{grid-template-columns:1fr}.result{min-height:460px}}
@media(max-width:780px){.auth{grid-template-columns:1fr}.auth-art{min-height:45vh}.shell{grid-template-columns:76px 1fr}.shell aside{padding:15px 10px}.shell aside .brand span,.shell aside button span,.module-nav>small,.user div{display:none}.shell aside .brand{justify-content:center;padding:0 0 18px}.shell aside button{justify-content:center}.module-nav i{width:auto}.user{justify-content:center}.user>button{display:none}.welcome,.project-head{align-items:start;flex-direction:column}.metrics{grid-template-columns:1fr}.project-grid{grid-template-columns:1fr}.path-grid{grid-template-columns:repeat(2,1fr)}.module-heading{grid-template-columns:auto 1fr}.module-status{grid-column:2}.stage-track{grid-template-columns:repeat(2,1fr);gap:10px}.stage-track>div{border:0}.two{grid-template-columns:1fr}}
@media(max-width:520px){.auth-art{padding:30px 24px}.auth-art h1{font-size:48px}.shell{display:block}.shell aside{display:none;position:fixed;z-index:50;width:250px}.shell aside.open{display:flex}.shell aside .brand span,.shell aside button span,.module-nav>small,.user div{display:block}.shell aside button{justify-content:flex-start}.main>header{padding:0 18px}.mobile-nav{display:block;border:0;background:none}.page{padding:30px 17px}.welcome{padding:25px}.welcome h1{font-size:39px}.path-grid{grid-template-columns:1fr}.module-heading{grid-template-columns:1fr}.module-status{grid-column:1;width:max-content}.stage-track{grid-template-columns:1fr}.module-actions,.result-actions{flex-direction:column}.module-actions button,.result-actions button{width:100%}}
