:root{--ink:#202c29;--muted:#7a8580;--green:#245b47;--green-light:#e8f0e9;--border:#e6eae5;--bg:#f6f7f3;--orange:#b97331;--red:#bd5c4b;--radius:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button,a,input,select,textarea{outline-color:#649f81}button{border:0;background:transparent;color:inherit}a{color:var(--green)}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.shell{display:grid;grid-template-columns:226px 1fr;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:#fff;border-right:1px solid var(--border);padding:32px 20px 20px;display:flex;flex-direction:column;z-index:3}.brand{display:flex;align-items:center;gap:11px;margin:0 8px 34px}.logo{width:36px;height:36px;border-radius:11px;background:var(--green);display:grid;place-items:center;color:white}.logo svg{width:26px;height:26px}.brand strong{font-size:20px;letter-spacing:2px}.brand small{display:block;font-size:10px;letter-spacing:2.1px;color:var(--muted)}.nav-group{font-size:10px;color:#99a19a;letter-spacing:1.7px;margin:22px 13px 9px}.nav-item{display:flex;align-items:center;gap:11px;width:100%;padding:11px 13px;margin:3px 0;border-radius:8px;color:#69766e;text-align:left;font-size:13px}.nav-item:hover{background:#f4f6f2}.nav-item.active{background:var(--green-light);color:var(--green);font-weight:600}.nav-count{margin-left:auto;background:#dde9dd;border-radius:5px;padding:0 6px;font-size:11px}.sidebar-bottom{margin-top:auto;padding-top:28px}.local-label{border:1px solid var(--border);border-radius:9px;padding:12px;font-size:11px;color:var(--muted)}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#729b77;margin-right:6px}.main{grid-column:2;min-width:0}.topbar{height:77px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:0 38px;background:#ffffffa8;gap:16px}.crumb{font-size:12px;color:var(--muted)}.crumb b{color:#4b5a51;font-weight:500}.top-right{display:flex;align-items:center;gap:15px}.sample-tag{color:#8a795c;background:#f2efe5;border:1px solid #e9e3d5;padding:3px 9px;border-radius:5px;font-size:10px;white-space:nowrap}.avatar{display:grid;place-items:center;border-radius:50%;background:#e4eae2;color:var(--green);width:31px;height:31px;font-size:12px;flex-shrink:0}.user-chip{display:flex;align-items:center;gap:8px;font-size:12px}.content{max-width:1540px;padding:31px 38px 60px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;gap:18px}.eyebrow{font-size:10px;letter-spacing:2px;color:#8a968c;font-weight:600;margin-bottom:7px}.page-head h1{font-size:25px;line-height:1.35;letter-spacing:.3px;margin:0 0 7px;font-weight:600}.sub{color:var(--muted);font-size:12px;margin:0}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 15px;border:1px solid var(--border);border-radius:7px;background:white;font-size:12px;white-space:nowrap;min-height:37px}.btn:hover{border-color:#a6b5a9}.btn.primary{background:var(--green);border-color:var(--green);color:white}.btn.danger{color:var(--red)}.btn.small{padding:5px 10px;min-height:29px;font-size:11px}.btn svg{width:15px;height:15px}.text-btn{font-size:12px;color:var(--green);padding:4px 0}.hero{background:#234d3d;border-radius:var(--radius);min-height:186px;color:#fff;position:relative;overflow:hidden;padding:28px 30px;margin-bottom:22px;display:flex;align-items:center}.hero-copy{position:relative;z-index:1;max-width:72%}.hero .eyebrow{color:#aec6b6;font-size:9px}.hero h2{font-size:24px;font-weight:500;margin:9px 0 10px;letter-spacing:.5px}.hero p{color:#bed0c4;font-size:12px;margin:0;max-width:540px}.hero-tags{display:flex;gap:9px;margin-top:20px}.hero-tag{border:1px solid #ffffff27;padding:3px 9px;border-radius:4px;font-size:10px;color:#cbdcd0}.orbit{position:absolute;width:260px;height:260px;border:1px solid #ffffff1c;right:20px;top:-30px;border-radius:50%;transform:rotate(-30deg)}.orbit:before,.orbit:after{content:"";position:absolute;border:1px solid #ffffff25;border-radius:50%;inset:40px}.orbit:after{inset:80px;background:radial-gradient(circle at 30% 25%,#a6bea5,#547e66 60%,#2c5341);border:0;box-shadow:14px 15px 30px #10271d60}.orbit-star{position:absolute;right:240px;top:65px;width:8px;height:8px;border-radius:50%;background:#d5ddbe;box-shadow:0 0 20px #bad3a9}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:23px}.stat{background:white;border:1px solid var(--border);border-radius:11px;padding:20px 21px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#77857a;font-size:12px}.stat-top svg{color:#9cafa0;width:17px}.stat-value{font-size:30px;letter-spacing:-1px;font-weight:550;line-height:1.3;margin:10px 0 6px;font-variant-numeric:tabular-nums}.stat-value small{font-size:13px;letter-spacing:0;color:var(--muted);margin-left:6px;font-weight:400}.stat-note{font-size:10px;color:var(--muted)}.stat-note.warn{color:var(--orange)}.grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:22px;margin-bottom:22px}.panel{background:white;border:1px solid var(--border);border-radius:var(--radius);padding:23px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:10px}.panel h2{font-size:14px;letter-spacing:.3px;font-weight:600;margin:0}.label{font-size:10px;border-radius:4px;padding:3px 7px;color:#668271;background:#edf3ed;white-space:nowrap}.label.orange{background:#faf0df;color:#ab7834}.label.red{background:#f9eae6;color:#af5f50}.label.gray{background:#f0f2ef;color:#8a928b}.project-heading{display:flex;align-items:center;gap:12px;margin:12px 0 22px}.project-icon{height:46px;width:46px;border:1px solid #e6e6dc;border-radius:12px;display:grid;place-items:center;color:#988966;background:#f6f4ed}.project-heading h3{font-size:17px;margin:0 0 3px;font-weight:550}.project-heading p{font-size:11px;color:var(--muted);margin:0}.project-heading .label{margin-left:auto}.progress{height:6px;background:#edf0eb;border-radius:10px;overflow:hidden;margin:10px 0}.progress-fill{height:100%;background:#6d9778;border-radius:10px;width:0}.progress-meta{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.stages{display:grid;grid-template-columns:repeat(4,1fr);margin:25px 0 20px;gap:10px}.stage{font-size:10px;color:#9ca69d;border-top:3px solid #e8ece6;padding-top:7px}.stage.done{border-color:#73967a;color:#63856b}.stage.current{border-color:#b0b987;color:#718047}.project-footer{border-top:1px solid var(--border);padding-top:15px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted)}.mini-avatars{display:flex}.mini-avatars .avatar{width:25px;height:25px;font-size:9px;border:2px solid white;margin-left:-4px}.risk-item{padding:12px 0;border-bottom:1px solid #edf0eb;display:flex;align-items:flex-start;gap:10px}.risk-item:last-child{border:0}.risk-dot{width:7px;height:7px;background:#c69261;border-radius:50%;margin-top:7px;flex-shrink:0}.risk-dot.high{background:#bd7767}.risk-item h4{font-size:12px;margin:0 0 5px;font-weight:500}.risk-item p{font-size:10px;color:var(--muted);margin:0}.risk-item .label{margin-left:auto}.agent-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.agent-tile{padding:18px 12px;background:#fbfcf9;border:1px solid #e7ebe2;border-radius:10px;text-align:left;transition:transform .15s}.agent-tile:hover{transform:translateY(-3px);border-color:#adc1af}.agent-emblem{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:#edf0e2;color:#7b8853;margin-bottom:14px}.agent-tile:nth-child(2) .agent-emblem{background:#f1eae3;color:#a08c6b}.agent-tile:nth-child(3) .agent-emblem{background:#e6eef0;color:#6a8f9b}.agent-tile:nth-child(4) .agent-emblem{background:#ece9f0;color:#8e7aa3}.agent-tile:nth-child(5) .agent-emblem{background:#f3eadf;color:#ad8a5c}.agent-tile strong{font-size:12px;font-weight:500;display:block;margin-bottom:4px}.agent-tile small{font-size:10px;color:var(--muted)}.data-table{width:100%;border-collapse:collapse;font-size:12px}.table-scroll{overflow-x:auto}.data-table th{text-align:left;color:#8c978e;font-size:10px;font-weight:400;border-bottom:1px solid var(--border);padding:0 12px 12px;white-space:nowrap}.data-table td{padding:15px 12px;border-bottom:1px solid #eef1ea;vertical-align:middle}.data-table tr:last-child td{border:0}.data-table td:first-child{padding-left:0}.data-table th:first-child{padding-left:0}.task-title{display:block;font-weight:500;color:#3d4b40;max-width:300px}.task-meta{font-size:10px;color:var(--muted);margin-top:3px}.owner{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px}.owner .avatar{width:23px;height:23px;font-size:9px}.empty{padding:28px 15px;color:var(--muted);text-align:center;font-size:12px}.footer-note{font-size:10px;text-align:center;color:#99a296;margin-top:25px;letter-spacing:.3px}.tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.tab{padding:7px 13px;border-radius:6px;font-size:11px;color:var(--muted);border:1px solid transparent}.tab.active{background:white;border-color:var(--border);color:var(--green)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{background:white;border:1px solid var(--border);border-radius:12px;padding:23px}.card h3{font-size:15px;margin:14px 0 8px}.card p{font-size:12px;color:var(--muted)}.card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:22px;gap:8px}.description{color:#657368;font-size:12px;line-height:1.9;white-space:pre-wrap}.big-number{font-size:36px;letter-spacing:-1px;margin:16px 0;color:#365d43}.split{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,1.4fr);gap:22px}.form-field{display:grid;gap:7px;margin:16px 0}.form-field label{font-size:12px;color:#5d6f61}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid #dce3d9;border-radius:7px;padding:10px 12px;background:#fff;color:var(--ink);font-size:13px}.form-field textarea{min-height:110px;resize:vertical;line-height:1.7}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.hint{color:var(--muted);font-size:11px}.notice{padding:12px 15px;background:#f7f3e9;color:#94805c;border:1px solid #eee5d2;border-radius:8px;font-size:11px;margin:14px 0}.notice.green{background:#edf4ed;border-color:#dfeadd;color:#648068}.output{white-space:pre-wrap;font-size:12px;line-height:1.95;color:#526153;background:#fafbf8;border:1px solid #e8ece2;padding:20px;border-radius:9px;max-height:570px;overflow:auto}.version-item{position:relative;padding:0 0 25px 28px;border-left:1px solid #d8e2d7;margin-left:6px}.version-item:before{content:'';position:absolute;left:-5px;top:6px;width:9px;height:9px;background:#72947a;border-radius:50%}.version-item h3{margin:0 0 7px;font-size:14px}.version-item p{font-size:12px;color:var(--muted);margin:4px 0}.version-item code{font-size:10px;color:#8c988d;word-break:break-all}.audit-row{display:grid;grid-template-columns:130px 90px 1fr;gap:16px;padding:13px 0;border-bottom:1px solid var(--border);font-size:11px}.audit-row time{color:var(--muted)}dialog{border:1px solid var(--border);border-radius:16px;padding:0;width:min(620px,92vw);max-height:90vh;color:var(--ink);box-shadow:0 30px 100px #172d2940}dialog::backdrop{background:#142b2555;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:20px 25px}.modal-head h2{margin:0;font-size:18px;font-weight:550}.modal-body{padding:4px 25px 25px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#244a38;color:white;border-radius:8px;box-shadow:0 8px 25px #18302025;z-index:30;opacity:0;pointer-events:none;transition:opacity .2s;font-size:13px;max-width:90vw}#toast.show{opacity:1}.login{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh;background:white}.login-story{background:#234d3d;padding:65px;display:flex;flex-direction:column;color:white;position:relative;overflow:hidden}.login-story .brand{margin:0;color:white}.login-story .brand small{color:#bdd0bf}.login-story h1{font-size:46px;font-weight:400;line-height:1.45;margin:100px 0 25px;letter-spacing:2px}.login-story p{font-size:14px;color:#bfd1c4;max-width:360px;line-height:2}.login-story .orbit{top:auto;bottom:-170px;right:-30px;width:500px;height:500px}.login-caption{margin-top:auto;color:#8cae99;font-size:11px;padding-top:80px}.login-form{align-self:center;justify-self:center;width:min(400px,80%);padding:60px 0}.login-form h2{font-size:26px;font-weight:500;margin:0 0 8px}.login-form .btn{width:100%;margin-top:18px}.login-roles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:25px 0}.role-pick{text-align:left;padding:12px 10px;border:1px solid var(--border);border-radius:7px;font-size:11px;color:#718172}.role-pick.active{border-color:#73977e;background:#f0f5ed;color:var(--green)}.role-pick .avatar{margin-bottom:8px}.login-error{color:var(--red);font-size:12px;min-height:20px}.bar-list{display:grid;gap:20px}.bar-item .progress{height:8px}.wide{grid-column:1/-1}.mobile-menu{display:none}@media(min-width:1450px){.content{padding-top:38px}.hero{min-height:210px}.stat{padding:23px}.agent-tile{padding:22px 17px}}@media(max-width:1150px){.shell{grid-template-columns:200px 1fr}.sidebar{width:200px;padding:28px 14px}.content{padding:25px}.topbar{padding:0 25px}.grid{grid-template-columns:1.2fr 1fr;gap:15px}.stats{gap:10px}.stat{padding:15px}.agent-strip{gap:7px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-copy{max-width:80%}.hero h2{font-size:22px}}@media(max-width:900px){.shell{grid-template-columns:72px 1fr}.sidebar{width:72px;padding:25px 10px}.brand{margin:0 8px 28px}.brand>div:last-child,.nav-item span,.nav-group,.sidebar-bottom,.sidebar .brand strong,.sidebar .brand small{display:none}.nav-item{justify-content:center;padding:13px 10px}.sidebar .logo{min-width:36px}.grid,.split{grid-template-columns:1fr}.agent-strip{grid-template-columns:repeat(3,1fr)}.login-story{padding:40px}.login-story h1{font-size:35px}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.shell{grid-template-columns:1fr}.sidebar{position:static;width:100%;height:auto;flex-direction:row;padding:10px;overflow:auto;border-bottom:1px solid var(--border);gap:5px}.sidebar .brand{display:none}.sidebar nav{display:flex}.nav-item{width:42px;margin:0}.main{grid-column:1}.topbar{height:60px;padding:0 16px}.top-right{gap:9px}.top-right .sample-tag{display:none}.content{padding:22px 16px}.page-head{align-items:flex-start}.page-head h1{font-size:22px}.page-head>.actions{justify-content:flex-end}.page-head>.actions .btn{padding:8px}.hero{padding:23px}.hero h2{font-size:20px}.hero-copy{max-width:100%}.orbit{opacity:.35;right:-100px}.hero-tags{flex-wrap:wrap}.panel{padding:18px}.agent-strip{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:1fr}.login{grid-template-columns:1fr}.login-story{display:none}.login-form{width:85%}.form-row{grid-template-columns:1fr;gap:0}.audit-row{grid-template-columns:100px 65px 1fr;gap:9px}.user-chip span:not(.avatar){display:none}}
.wide-section,.section-gap{margin-top:22px}.draft-edit{min-height:470px!important;font-size:12px!important;line-height:1.9!important;background:#fafbf8!important}

.member-choice{display:block;margin:10px 0;line-height:1.6}.member-choice input{width:auto;margin-right:8px}fieldset{border:1px solid #ddd;border-radius:8px;padding:14px}#project-switch{max-width:230px;padding:8px;border:1px solid #ddd;border-radius:8px}.actions{flex-wrap:wrap}
.sidebar nav{overflow-y:auto;min-height:0;flex:1}.sidebar-bottom{flex-shrink:0}.nav-group{letter-spacing:.8px}
@media(max-width:700px){.sidebar nav{overflow-x:auto;overflow-y:hidden}.nav-item{flex-direction:column;gap:3px;min-width:75px;padding:8px 6px}.nav-item span{display:block!important;font-size:10px;white-space:nowrap}.topbar{flex-wrap:wrap;height:auto;min-height:70px;padding-top:10px;padding-bottom:10px}.top-right{gap:8px}#project-switch{max-width:170px}}
