:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#202631;background:#f5f6f8}*{box-sizing:border-box}body{margin:0}header{background:#151c2b;color:#fff;padding:26px 0 28px}header small{letter-spacing:.17em;color:#9aa9c3;font-size:11px}h1{font-size:30px;margin:7px 0}h1 span{font-weight:400;color:#a9bbdb}header p{margin:0;color:#aab6c9}.wrap{max-width:1280px;margin:auto;padding-left:22px;padding-right:22px}.head,.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:16px}.head button{background:#394860}.panel{background:white;border:1px solid #e0e4eb;border-radius:14px;padding:22px;margin:18px 0;box-shadow:0 3px 15px #121d3210}h2{font-size:19px;margin:0 0 8px}p{line-height:1.5;color:#606c7c;margin:5px 0 13px}.login{max-width:480px;margin:60px auto}.login form{display:flex;gap:8px}.error,.warn{color:#a24b2b!important}.muted{font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.stat{background:#fff;border:1px solid #e0e4eb;border-radius:12px;padding:16px;display:flex;flex-direction:column}.stat small{color:#758094}.stat strong{font-size:28px;margin:5px 0}.stat span{font-size:12px;color:#758094}.controls{display:flex;align-items:end;gap:18px}.controls>div{flex:1}.controls label{font-size:12px;color:#677185;display:flex;flex-direction:column;gap:5px}.layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:20px}.sticky{position:sticky;top:14px;max-height:calc(100vh - 30px);overflow:auto}.group{background:white;border:1px solid #e0e4eb;border-radius:12px;margin:12px 0;overflow:hidden}.group summary{cursor:pointer;display:flex;justify-content:space-between;padding:17px 18px;font-weight:700;list-style:none}.group summary:after{content:'⌄';color:#6b778a}.group[open] summary:after{content:'⌃'}.group .sub{font-weight:400;font-size:12px;color:#7d8798;display:block;margin-top:4px}.item{display:flex;gap:12px;border-top:1px solid #eef0f3;padding:13px 18px;align-items:flex-start}.item input{width:19px;height:19px;accent-color:#425fd1;margin:2px 0 0;cursor:pointer}.item .info{flex:1}.item strong{font-size:14px}.item p{font-size:12px;margin:5px 0}.item em{font-style:normal;font-size:12px;white-space:nowrap;background:#eef2f8;padding:5px 8px;border-radius:6px}.risk{color:#a45b21;font-size:11px}.sumgroup{margin:16px 0}.sumgroup h3{font-size:13px;margin:0 0 7px}.sumgroup li{font-size:12px;line-height:1.5;margin:4px 0}.sumgroup ul{padding-left:19px;margin:0}.progress{height:9px;background:#e9edf5;border-radius:20px;overflow:hidden}.progress div{height:100%;background:#4b65d3;width:0}.full{width:100%;margin-top:9px}button{border:0;border-radius:8px;background:#354fc2;color:white;padding:11px 15px;cursor:pointer;font-weight:600}button:hover{filter:brightness(1.08)}button.ghost{background:#edf0f8;color:#344565}button.danger{background:#fff0f0;color:#a22929}input[type=password],select,textarea{border:1px solid #ccd3df;border-radius:8px;padding:11px;font:inherit;background:white}textarea{width:100%;resize:vertical}#events{max-height:340px;overflow:auto}.event{border-bottom:1px solid #edf0f4;padding:10px 0;font-size:13px}.event time{color:#8290a4;font-size:11px;display:block}#saved{font-size:12px;color:#3b8b61;margin-left:12px}#who{font-size:12px}@media(max-width:850px){.layout{grid-template-columns:1fr}.sticky{position:static;max-height:none}.controls{flex-wrap:wrap}.controls>div{flex-basis:100%}.stats{grid-template-columns:repeat(2,1fr)}.wrap{padding-left:13px;padding-right:13px}.panel{padding:15px}}
