:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#23302d;background:#f6f8f5}*{box-sizing:border-box}body{margin:0;min-width:320px}.shell{min-height:100vh}.login{display:grid;min-height:100vh;place-items:center;padding:24px}.login-card{width:min(410px,100%);padding:32px;border:1px solid #e3ebe4;border-radius:16px;background:#fff;box-shadow:0 18px 55px #243b2c12}.brand{color:#216f55;font-weight:800;font-size:21px}.login h1{margin:38px 0 8px;color:#2e453a;font-size:27px}.login p{color:#738178;font-size:13px;line-height:1.5}.field{display:grid;gap:6px;margin-top:16px;color:#596a5e;font-size:12px;font-weight:700}.field input,.select,.search{min-height:38px;padding:0 11px;border:1px solid #dce6de;border-radius:8px;background:#fff;color:#33493b}.button{min-height:38px;border:0;border-radius:8px;padding:0 14px;background:#287850;color:#fff;font-weight:700;cursor:pointer}.login .button{width:100%;margin-top:22px}.error{margin-top:14px;padding:10px;border-radius:8px;background:#fff0ee;color:#a24d45;font-size:12px}.layout{display:grid;grid-template-columns:245px 1fr;min-height:100vh}.side{display:flex;flex-direction:column;gap:22px;padding:24px 15px;border-right:1px solid #e4ebe5;background:#fff}.side .brand{padding:0 10px}.nav{display:grid;gap:5px}.nav button{display:flex;gap:10px;align-items:center;min-height:39px;padding:0 11px;border:0;border-radius:8px;background:transparent;color:#65746b;text-align:left;cursor:pointer}.nav button.active,.nav button:hover{background:#e9f4ed;color:#216f55;font-weight:700}.nav-caption{margin:11px 10px 5px;color:#9aa79e;font-size:9px;letter-spacing:.08em}.logout{margin-top:auto}.main{min-width:0;padding:32px}.top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.top h1{margin:0 0 7px;color:#294237;font-size:27px}.top p{margin:0;color:#7a887f;font-size:12px}.top-actions{display:flex;gap:8px}.button.secondary{border:1px solid #dbe6de;background:#fff;color:#3e7054}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:25px 0}.stat,.panel{border:1px solid #e2eae3;border-radius:12px;background:#fff}.stat{padding:16px}.stat small{color:#7d8b81;font-size:11px}.stat strong{display:block;margin-top:10px;color:#2d5942;font-size:27px}.tabs{display:flex;gap:5px;overflow:auto;margin-bottom:14px;padding:5px;border:1px solid #e0e9e1;border-radius:10px;background:#f8faf8}.tabs button{white-space:nowrap;padding:9px 11px;border:0;border-radius:7px;background:transparent;color:#65746b;cursor:pointer}.tabs button.active{background:#fff;color:#216f55;font-weight:700;box-shadow:0 1px 4px #19392a16}.panel{overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px;border-bottom:1px solid #edf1ed}.panel-head h2{margin:0;color:#385144;font-size:15px}.panel-head p{margin:4px 0 0;color:#849188;font-size:11px}.tools{display:flex;gap:8px}.search{width:220px}.scroll{overflow:auto}table{width:100%;border-collapse:collapse;min-width:760px;text-align:left}th{height:35px;padding:0 13px;background:#fafcfa;color:#9aa59d;font-size:9px}td{max-width:250px;height:48px;padding:0 13px;border-top:1px solid #edf1ed;color:#53645a;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty,.loading{padding:42px;text-align:center;color:#849188;font-size:12px}.pages{display:flex;justify-content:center;align-items:center;gap:13px;padding:13px;border-top:1px solid #edf1ed;color:#748279;font-size:11px}.pages button{padding:7px 10px;border:1px solid #dbe6de;border-radius:7px;background:#fff;color:#28734f}.history{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:18px}.history button{padding:12px;border:1px solid #e3ebe4;border-radius:8px;background:#fff;color:#4f6256;text-align:left;cursor:pointer}@media(max-width:850px){.layout{grid-template-columns:1fr}.side{position:static}.stats{grid-template-columns:repeat(2,1fr)}.main{padding:20px}.top{flex-direction:column}.tools,.search{width:100%}}@media(max-width:520px){.stats,.history{grid-template-columns:1fr}.panel-head{flex-direction:column}}
