@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#25614d;--ink:#223d34;--muted:#78847e;--border:#e3e8e2;--bg:#f5f7f3}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--border);background:white;color:var(--ink);padding:12px 17px;border-radius:9px;min-height:44px;font-weight:600}button:hover{background:#edf3eb}button:focus-visible,a:focus-visible{outline:3px solid #bbbc6f}button.primary{background:var(--green);color:white;border-color:var(--green)}aside{position:fixed;inset:0 auto 0 0;width:244px;background:#fff;border-right:1px solid var(--border);padding:35px 23px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;font:800 25px Manrope,sans-serif;align-items:center}.brand small{display:block;font:9px 'DM Sans';letter-spacing:1.3px;margin-top:7px;color:var(--muted)}nav{margin-top:55px;display:grid;gap:10px}nav button{text-align:left;border:0;background:transparent;color:#64726b}nav .active{background:#eaf1e8;color:var(--green)}.aside-bottom{margin-top:auto;font-size:11px;color:#65766b}.aside-bottom small{display:block;margin-top:18px;color:#9aa399}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#72a572;margin-right:5px}main{margin-left:244px;padding:0 42px 25px;max-width:1800px}header{height:87px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);font-size:10px;letter-spacing:1.6px;color:var(--muted)}.heading{display:flex;justify-content:space-between;align-items:center;margin:36px 0 30px;gap:20px}.eyebrow{font-size:10px;letter-spacing:1.7px;color:#728467;font-weight:700}h1{font:700 32px Manrope,sans-serif;letter-spacing:-1.3px;margin:10px 0}p{color:var(--muted);line-height:1.6;margin:7px 0 18px}h2{font:700 18px Manrope;margin:0}h3{font-size:15px;margin:27px 0 16px}.filters{display:flex;justify-content:space-between;gap:15px;margin-bottom:23px;flex-wrap:wrap}.segments{display:flex;background:#e9eee6;padding:4px;border-radius:10px}.segments button{border:0;background:transparent;padding:8px 15px;min-height:35px;font-size:12px}.segments .selected{background:white;box-shadow:0 2px 4px #233e3410}.filters label{display:inline-block;font-size:11px;margin-left:10px}.filters input{width:135px;margin-left:7px;padding:9px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:22px}.card{padding:23px;background:white;border:1px solid var(--border);border-radius:13px}.card small{color:var(--muted);display:block;font-size:12px}.value{font:700 28px Manrope;letter-spacing:-1px;margin:17px 0 10px}.card.emphasis{background:var(--green);color:white;border-color:var(--green)}.card.emphasis small,.card.emphasis .hint{color:#d1e0d1}.hint{font-size:11px;color:var(--muted)}.two{display:grid;grid-template-columns:1.8fr 1fr;gap:22px;margin-bottom:22px}.panel{background:white;border:1px solid var(--border);border-radius:13px;padding:25px;margin-bottom:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:12px}.pill{font-size:10px;background:#eef3e9;padding:6px 10px;border-radius:30px;color:#647d52}.chart{height:195px;display:flex;align-items:end;gap:12px;padding:20px 0 24px;border-bottom:1px solid var(--border);overflow:auto}.bar-group{flex:1;min-width:28px;text-align:center;height:100%;display:flex;align-items:center;justify-content:end;flex-direction:column;position:relative}.bars{height:100%;display:flex;align-items:end;gap:4px;width:100%;justify-content:center}.bar{width:16px;border-radius:4px 4px 0 0;background:#39765c;min-height:2px}.bar.out{background:#d7bd82}.bar-group small{position:absolute;bottom:-21px;font-size:9px;color:var(--muted)}.legend{font-size:11px;color:var(--muted);margin-top:15px}.legend span{display:inline-block;width:8px;height:8px;background:#39765c;border-radius:2px;margin-right:4px}.legend span:last-of-type{background:#d7bd82;margin-left:15px}.empty{text-align:center;padding:38px 15px;color:var(--muted)}.empty strong{display:block;color:var(--ink);font:700 16px Manrope;margin:10px}.empty-icon{font-size:26px;color:#a4b29a}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px}th{color:var(--muted);font-size:10px;letter-spacing:.5px;text-align:right;background:#f6f8f4;padding:14px 12px}td{padding:15px 12px;border-bottom:1px solid #edf0e9;text-align:right}th:first-child,td:first-child{text-align:left}td button{font-size:11px;padding:8px;min-height:35px;margin-left:4px}.positive{color:#297055}.negative{color:#b15e42}footer{font-size:11px;color:var(--muted);line-height:1.6;margin-top:28px}.notice{background:#edf2e7;border:1px solid #dce5d1;padding:15px 18px;border-radius:9px;line-height:1.7;margin-bottom:20px}.notice.warn{background:#fff4e5}.tools{display:flex;gap:10px;flex-wrap:wrap}.boxline{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--border)}input,select,textarea{border:1px solid #dce3d8;background:white;border-radius:7px;padding:11px;color:var(--ink);width:100%;min-height:43px}label{display:block;color:#5e7164;font-size:12px}label input,label select,label textarea{margin-top:7px}dialog{border:0;border-radius:16px;max-width:800px;width:94%;max-height:90vh;padding:28px;box-shadow:0 25px 100px #163b3430}dialog::backdrop{background:#18382f66;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.modal-head h2{font-size:25px;margin-top:8px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.entry{padding:15px;background:#f4f7f1;border-radius:9px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.entry button{align-self:end}.actions{display:flex;justify-content:end;gap:10px;margin-top:25px}.live{background:#eaf2e5;border-radius:8px;padding:15px;margin-top:20px;line-height:1.8}.rank{padding:14px 0;border-bottom:1px solid var(--border);display:flex;justify-content:space-between}#status:not(:empty){padding:12px;background:#e6efde;margin-bottom:16px;border-radius:8px}[hidden]{display:none!important}@media(max-width:1100px){aside{width:200px;padding:30px 15px}main{margin-left:200px;padding:0 22px}.cards{grid-template-columns:repeat(2,1fr)}.two{grid-template-columns:1fr}}@media(max-width:700px){aside{position:static;width:100%;padding:18px}.brand{font-size:22px}nav{margin-top:20px;display:flex;overflow:auto;gap:4px}nav button{white-space:nowrap;padding:10px;font-size:11px}.aside-bottom{display:none}main{margin:0;padding:0 16px}header{height:50px;font-size:8px}.heading{margin:25px 0;align-items:start}h1{font-size:25px}.heading p{font-size:12px}.heading .primary{padding:12px;white-space:nowrap;font-size:12px}.eyebrow{font-size:8px}.cards{gap:10px}.card{padding:17px}.value{font-size:23px}.filters label{margin:5px 5px 0 0}.panel{padding:18px}.entry{grid-template-columns:1fr 1fr}.grid2{gap:12px}.panel-head{flex-wrap:wrap}.segments button{padding:8px 12px}}

#status.error,#saveState.error{background:#fff0e9;color:#9a3d24;padding:13px;border-radius:8px}#status.success,#saveState.success{background:#e8f3e3;color:#24582d;padding:13px;border-radius:8px}#saveState.info,#saveState.busy{padding:13px;color:#5e7164}#restoreDialog{max-width:850px}input[type=checkbox]{width:auto;min-height:auto;margin:12px 8px 12px 0}.notice a{color:#25614d;text-decoration:underline}#retrySave{margin-top:10px}

#historyDialog{max-width:820px}#historyContent pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}#historyContent summary{cursor:pointer;font-weight:600}

[hidden]{display:none!important}
