:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#263748;background:#f5f7f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}h1{font-size:clamp(2rem,4vw,3.25rem);letter-spacing:-.045em;line-height:1.1;margin:.35rem 0 .7rem}h2{font-size:1.45rem;letter-spacing:-.025em;margin:.2rem 0}h3{margin:0 0 1rem}p{line-height:1.55;color:#657586}.top{height:76px;padding:0 clamp(20px,4vw,56px);display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid #e4e9ec}.brand,.account,.row,.actions,.sectiontitle{display:flex;align-items:center;gap:12px}.brand strong,.brand small{display:block}.brand small{font-size:12px;color:#92a0ac;margin-top:2px}.brandmark{width:38px;height:38px;background:#274c55;color:#fff;border-radius:12px;display:grid;place-items:center;font-weight:800}.account{font-size:13px;color:#758491}.layout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 76px)}.sidebar{background:#eaf0f1;border-right:1px solid #dce5e8;padding:28px 16px}.sidehead{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:0 8px 18px}.sidehead>span,.eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;color:#659087}.projectlist{display:grid;gap:6px}.projectlink{display:block;text-align:left;border:0;background:transparent;padding:13px;border-radius:12px;color:#344b54;width:100%}.projectlink.active{background:#fff;box-shadow:0 3px 12px #1b45500b}.projectlink strong,.projectlink small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.projectlink small{color:#8797a2;font-size:12px;margin-top:5px}.sidebar details{margin:25px 8px;color:#68818a;font-size:13px}.archiveitem{display:flex;align-items:center;justify-content:space-between;padding:10px 0}.content{padding:clamp(24px,4vw,58px);max-width:1320px;width:100%;margin:auto}.lead{font-size:16px;margin-top:0}.homegrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px;margin-top:34px}.card{background:#fff;border:1px solid #e5ebee;box-shadow:0 8px 24px #27434c08;border-radius:18px;padding:24px;margin-bottom:18px}.newcard,.homeproject{text-align:left;min-height:210px}.newcard{border:1.5px dashed #aec6c2;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;color:#355e60}.newcard strong{font-size:20px}.newcard small{color:#83929a}.plus{background:#e4f1ec;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:26px}.homeproject p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.count{font-size:12px;color:#497b70}.center{min-height:calc(100vh - 76px);display:grid;place-items:center;padding:24px}.center .card{max-width:560px}.login{text-align:center;padding:55px}.heroicon{font-size:30px;color:#48947d}.hint,.empty{font-size:13px;color:#93a0a8}.projecttop,.sectiontitle{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.projecttop{margin-bottom:24px}.sectiontitle{margin-bottom:22px}.sectiontitle p{margin:5px 0 0}.actions{flex-wrap:wrap;justify-content:flex-end}button{border:1px solid #dce5e6;border-radius:10px;background:#fff;color:#3b6265;padding:9px 13px;font-weight:650}button:hover{background:#f1f8f6}.primary{background:#2d695f;color:white;border-color:#2d695f}.primary:hover{background:#24564e}.quiet{border-color:transparent;background:transparent}.danger{color:#ac6563}.small{font-size:12px;padding:7px 9px}.progress{display:flex;justify-content:space-between;align-items:center;gap:30px}.progress strong,.progress span{display:block}.progress span{font-size:12px;color:#91a0a7;margin-top:5px}.bar{width:30%;height:8px;border-radius:20px;background:#eaf0f0;overflow:hidden}.bar i{display:block;height:100%;background:#64aa91}.tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid #dce5e8;margin:25px 0}.tabs button{border:0;border-radius:0;background:transparent;color:#7b8e97;padding:14px 16px;white-space:nowrap}.tabs button.active{color:#2b675e;border-bottom:2px solid #2b675e}.stack{display:grid;gap:18px}.field{display:grid;gap:7px;min-width:0;flex:1}.field span,.subhead{font-size:12px;font-weight:750;color:#526d78}.field input,.field textarea,.taskrow input:not([type=checkbox]),td input,td textarea{width:100%;border:1px solid #dce5e8;border-radius:9px;background:#fbfcfc;padding:11px 12px;color:#263748;outline:0}.field input:focus,.field textarea:focus,.taskrow input:focus,td textarea:focus{border-color:#5b9e8e;box-shadow:0 0 0 3px #5b9e8e20}.field textarea{min-height:105px;resize:vertical}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.between{justify-content:space-between}.chips{display:flex;gap:8px;flex-wrap:wrap}.checkchip{display:flex;align-items:center;gap:7px;border:1px solid #deebe7;border-radius:20px;padding:7px 11px;font-size:12px}.taskrow{display:flex;align-items:center;gap:8px}.taskrow input[type=checkbox]{accent-color:#3b8b73}.taskrow button{font-size:20px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:650px}td,th{text-align:left;border-bottom:1px solid #e8eef0;padding:10px;min-width:150px}td:first-child,th:first-child{min-width:180px}td textarea{min-height:75px}.checklistrow{display:grid;grid-template-columns:10px 1fr auto auto;align-items:center;gap:16px;padding:13px 0;border-top:1px solid #edf1f2;font-size:13px}.checklistrow .state{color:#83939a}.checklistrow label{white-space:nowrap;color:#73878e}.dot{width:8px;height:8px;border-radius:50%;background:#e9a773}.dot.done{background:#70b494}.dot.na{background:#c9d0d4}.toast{position:fixed;bottom:20px;right:20px;background:#2c4449;color:white;border-radius:10px;padding:11px 17px;box-shadow:0 8px 30px #1b303030;font-size:13px}@media(max-width:850px){.layout{display:block}.sidebar{border-right:0;border-bottom:1px solid #dce5e8;padding:16px}.projectlist{display:flex;overflow:auto}.projectlink{min-width:160px}.content{padding:25px 17px}.projecttop{display:block}.actions{justify-content:flex-start;margin-top:18px}.formgrid{grid-template-columns:1fr}.progress{display:block}.bar{width:100%;margin-top:18px}.checklistrow{grid-template-columns:10px 1fr auto}.checklistrow .state{display:none}}@media(max-width:500px){.top{padding:0 16px}.account span{display:none}.card{padding:18px}.projecttop h1{font-size:2.25rem}}
.riskentry{border:1px solid #dce5e8;border-radius:14px;padding:18px;display:grid;gap:14px;background:#f8faf9}
.field select{width:100%;border:1px solid #dce5e8;border-radius:9px;background:#fbfcfc;padding:11px 12px;color:#263748;font:inherit}
.field select:focus{border-color:#5b9e8e;box-shadow:0 0 0 3px #5b9e8e20}
.layout,.sidebar,.projectlist,.projectlink,.content,.projecttop,.sectiontitle{min-width:0}
.sidebar{overflow:hidden}
.projectlist{grid-template-columns:minmax(0,1fr)}
.projectlink{max-width:100%;overflow:hidden}
.projectlink strong,.projectlink small{max-width:100%;min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.content,.projecttop,.sectiontitle,.archiveitem{overflow-wrap:anywhere}
@media(max-width:850px){.projectlist{max-width:100%;overflow-x:auto}.projectlink{flex:0 0 160px;width:160px}}
