:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#12213d;background:#f2f6fb}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:10px;background:#1767d2;color:white;padding:11px 16px;font-weight:650}button:disabled{opacity:.4;cursor:default}.ghost{background:#eaf2fe;color:#174a90}.danger{background:#c23b43}.top{background:#0d2450;color:white;display:flex;align-items:center;justify-content:space-between;padding:14px max(18px,calc((100vw - 1200px)/2));gap:14px}.topright{display:flex;align-items:center;gap:12px}.brand{display:flex;align-items:center;gap:12px}.brand strong{font-size:19px}.brand small{display:block;color:#b8d2ed;font-size:10px;letter-spacing:1px}.brand sup{font-size:11px}.mark{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#16a667;font-size:20px;font-weight:900}main{max-width:1200px;margin:28px auto;padding:0 16px;min-height:74vh}.card{background:white;border-radius:16px;box-shadow:0 7px 30px #18376312;padding:24px}.auth{max-width:470px;margin:65px auto}.auth h1,.hero h1{margin:0 0 8px}.auth p,.hero p,.muted{color:#65738b;line-height:1.5}form{display:grid;gap:15px;margin:18px 0}label{display:grid;gap:7px;font-size:13px;font-weight:700}input,select{padding:11px 12px;border:1px solid #cfdaea;border-radius:9px;min-width:0;background:#fff;color:#12213d}input:focus,select:focus{outline:2px solid #a4c9fa}.hidden{display:none!important}.hero{display:flex;justify-content:space-between;gap:15px;align-items:end;margin-bottom:18px}.hero>div:last-child{display:flex;gap:12px}.hero select{min-width:180px}.tabs{display:flex;gap:6px;overflow:auto;padding:0 0 12px}.tabs button{flex-shrink:0;background:#e0e9f6;color:#17416e}.tabs button.active{background:#1767d2;color:white}.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.sectionhead h2{margin:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.metric{border:1px solid #dde7f4;border-radius:12px;padding:20px}.metric b{font-size:26px;display:block;margin-top:9px}.metric span{color:#687a91}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}td,th{padding:12px 10px;border-bottom:1px solid #e8edf6;text-align:left}th{color:#61738a}td button{padding:8px 10px}.toolbar,.row{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.toolbar{margin-bottom:16px}.toolbar label,.row label{flex:1;min-width:130px}.actions{display:flex;gap:8px;flex-wrap:wrap}.sub{color:#65738b;font-size:13px}.pill{padding:5px 10px;border-radius:99px;background:#e9f7ee;color:#16633e;font-size:12px;font-weight:700}.pill.off{background:#fce9ea;color:#96363a}#notice{position:fixed;right:20px;bottom:20px;max-width:420px;background:#153960;color:white;padding:14px 20px;border-radius:12px;box-shadow:0 4px 20px #15396050;display:none;white-space:pre-wrap}#notice.error{background:#9e2f38}footer{text-align:center;font-size:12px;color:#708197;margin:36px 12px}h2{font-size:21px}h3{font-size:17px}.warning{border-left:4px solid #f2a900;padding:10px 14px;background:#fffaee}.empty{padding:28px;text-align:center;color:#63738a}@media(max-width:740px){.hero,.hero>div:last-child{display:grid}.hero select{min-width:100%}.card{padding:16px}.top{padding:12px}.brand strong{font-size:15px}.auth{margin:24px auto}}

.license-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:13px;padding:18px;border:1px solid #dbe7f4;border-radius:14px;background:#f9fbfe}.license-form label{min-width:0}.license-check{display:flex;flex-direction:row;align-items:center;gap:9px}.license-check input{min-width:auto}.license-submit{grid-column:1/-1;justify-self:start}@media(max-width:740px){.license-form{grid-template-columns:1fr}.license-submit{width:100%}}

.license-alert{border:1px solid #e4a8aa;background:#fff3f2;border-radius:13px;padding:18px 20px;margin:0 0 20px;color:#73252c}.license-alert h2{font-size:20px;margin:0 0 8px}.license-alert p{margin:0;line-height:1.55}.license-alert + .sectionhead{margin-top:8px}
