:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#18342f;background:#f4f7f6;font-size:14px;--green:#126b5d;--border:#dbe5e0}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{border:0;border-radius:8px;background:var(--green);color:white;padding:11px 16px;cursor:pointer;font-weight:650}button:disabled{opacity:.45;cursor:not-allowed}button.secondary{background:#eaf1ee;color:#25463e}button:hover:not(:disabled){filter:brightness(.94)}input,select,textarea{width:100%;border:1px solid #cbdad3;border-radius:8px;background:white;color:#18342f;padding:11px;min-height:42px}textarea{min-height:80px}label{display:grid;gap:6px;font-weight:550;margin:10px 0}small{display:block;color:#62766e;font-size:12px}h1{font-size:27px;margin:0 0 6px;letter-spacing:-.7px}h2{font-size:19px;margin:0}p{line-height:1.55;color:#5b7068} [hidden]{display:none!important}.login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(130deg,#124c45,#237c69);padding:20px}.loginCard{width:min(420px,100%);background:white;padding:38px;border-radius:20px;box-shadow:0 24px 80px #0002}.brand{font-size:32px;letter-spacing:2px;font-weight:850;line-height:1.1;margin-bottom:28px}.brand span{display:block;font-size:10px;letter-spacing:2px;font-weight:650;margin-top:6px}.loginCard button{width:100%;margin-top:14px}#shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100vh}aside{background:#124c45;color:white;padding:25px 17px;position:sticky;top:0;height:100vh;overflow:auto}.module{margin-bottom:18px}.module label{font-size:11px;text-transform:uppercase;color:#b6d9d1}.module select{background:#206459;color:white;border-color:#438075}nav{display:grid;gap:3px}nav button{background:transparent;text-align:left;font-weight:500;color:#e5f4ef;padding:10px 12px}nav button.active{background:#ffffff20;font-weight:700}.sidefoot{color:#add0c8;font-size:11px;margin:25px 8px}header{display:flex;align-items:center;gap:12px;padding:16px 28px;background:white;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:2}header div{flex:1}#menu{display:none}#content{padding:30px;max-width:1550px;margin:auto}.pagehead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:24px}.actions{display:flex;gap:8px;flex-wrap:wrap}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin-bottom:22px}.metric,.panel{background:white;border:1px solid var(--border);border-radius:13px;padding:18px}.metric b{display:block;font-size:28px;margin-top:10px;color:var(--green)}.panel{margin:15px 0}.panel h2{margin-bottom:12px}.tablewrap{overflow:auto;border:1px solid var(--border);border-radius:10px;background:white}table{border-collapse:collapse;width:100%;white-space:nowrap}th,td{text-align:left;padding:12px 13px;border-bottom:1px solid #e9efeb}th{font-size:11px;text-transform:uppercase;letter-spacing:.4px;color:#547068;background:#f6faf8}td{font-size:13px}tr:last-child td{border-bottom:0}.empty{padding:25px;text-align:center;color:#6a8076}.search{max-width:370px;margin:0 0 12px}.error,#formError,#loginError{color:#a33030;white-space:pre-wrap}.hint{font-size:12px;color:#6a8076}.tag{background:#e7f1ed;border-radius:20px;padding:4px 9px;font-size:11px;display:inline-block}.danger{color:#a33030}.ok{color:#126b5d}dialog{border:1px solid var(--border);border-radius:15px;padding:24px;width:min(740px,95vw);max-height:90vh;overflow:auto}dialog::backdrop{background:#122c28a0}.dialoghead{display:flex;justify-content:space-between;align-items:center;gap:8px;position:sticky;top:0;background:white;padding-bottom:10px}.fieldsgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.line{padding:12px;border:1px solid var(--border);border-radius:10px;margin:9px 0}.line label{font-size:12px}.line .remove{background:#f9eaea;color:#913b3b}.checkrow{display:flex;align-items:center;gap:8px;font-weight:400}.checkrow input{width:auto;min-height:0}.checklist{max-height:230px;overflow:auto;border:1px solid var(--border);padding:10px;border-radius:8px}#save{width:100%;margin-top:15px}#toast{position:fixed;bottom:20px;right:20px;background:#124c45;color:white;padding:16px;border-radius:10px;z-index:10;max-width:90vw}.bar{height:8px;background:#e9efeb;border-radius:10px;overflow:hidden;margin:8px 0}.bar span{display:block;height:100%;background:var(--green)}.countcard{display:grid;grid-template-columns:1fr 110px auto;gap:10px;align-items:center;border-bottom:1px solid var(--border);padding:10px 0}.countcard input{font-size:19px}.muted{color:#6b8178}.printonly{display:none}@media(max-width:800px){#shell{display:block}aside{display:none;position:fixed;z-index:5;width:245px;box-shadow:10px 0 40px #0003}aside.open{display:block}#menu{display:block}header{padding:12px 15px}#content{padding:18px 13px}.pagehead{flex-direction:column}h1{font-size:23px}.fieldsgrid{grid-template-columns:1fr}.countcard{grid-template-columns:1fr 85px auto}.countcard button{padding:10px 8px}.metric b{font-size:23px}}@media print{body>*{display:none!important}body .printonly{display:block!important;color:black;background:white;padding:20px}.printonly table{white-space:normal}}
