:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#17283b;background:#f4f7fb}*{box-sizing:border-box}body{margin:0}header{background:#102b48;color:white;padding:20px max(20px,calc((100vw - 1020px)/2));display:flex;align-items:center;justify-content:space-between;gap:12px}header h1{font-size:1.25rem;margin:0}header small{color:#b6cbde}main{max-width:1020px;margin:28px auto;padding:0 18px}.panel{background:white;border:1px solid #e3eaf1;border-radius:14px;padding:23px;margin-bottom:18px;box-shadow:0 5px 18px #16324a09}h2{margin:0 0 18px;font-size:1.2rem}h3{font-size:1rem;margin:0 0 12px}label{display:block;font-size:.85rem;font-weight:650;margin:12px 0 4px}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #b8c9d5;border-radius:8px;background:white;font:inherit;color:#17283b}textarea{min-height:68px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}button,.btn{background:#1169a4;border:0;border-radius:8px;color:white;padding:10px 14px;cursor:pointer;font:inherit;font-weight:650;text-decoration:none;display:inline-block}button:hover,.btn:hover{filter:brightness(.94)}button.secondary,.btn.secondary{background:#eaf0f5;color:#24415c}button.danger{background:#a33e3e}button:disabled{opacity:.5;cursor:not-allowed}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.muted{color:#60768b}.notice{border-radius:9px;padding:13px 15px;background:#e8f4ff;margin:14px 0}.error{background:#ffebeb;color:#8f2626}.success{background:#e7f7ed;color:#176e3e}.hidden{display:none!important}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.metric{background:white;color:#17283b;border:1px solid #e3eaf1;border-radius:12px;padding:16px;text-align:left;font-weight:600;font-size:.88rem}.metric:hover{border-color:#1169a4}.metric.warn strong{color:#9b3030}.metric strong{display:block;font-size:1.7rem;margin-top:6px}.badge{border-radius:99px;background:#eaf0f5;padding:5px 9px;display:inline-block;font-size:.76rem;font-weight:700}.badge.orange{background:#fff1dc;color:#925b07}.badge.red{background:#ffebeb;color:#9b3030}.badge.green{background:#e4f6e9;color:#217143}.badge.blue{background:#e5f2ff;color:#28638c}.rem{border:1px solid #e2e9ef;padding:17px;border-radius:12px;margin:13px 0}.rem-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.rem p{line-height:1.5;margin:7px 0}.small{font-size:.82rem}.topnav{display:flex;gap:8px;flex-wrap:wrap}footer{text-align:center;padding:20px;color:#6a7886;font-size:.8rem}@media(max-width:720px){.grid,.cards{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}header{align-items:flex-start}.panel{padding:16px}main{margin-top:16px}}
a.btn{line-height:1.2}.modal-bg{position:fixed;inset:0;background:#0b1a2b99;display:flex;align-items:flex-end;justify-content:center;z-index:50;padding:12px}.modal{background:white;border-radius:16px;padding:20px;width:100%;max-width:480px;max-height:92vh;overflow:auto;box-shadow:0 10px 40px #0004}.modal h3{margin:0 0 8px;font-size:1.1rem}@media(min-width:720px){.modal-bg{align-items:center}}.toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);background:#17283b;color:white;padding:12px 18px;border-radius:10px;z-index:60;max-width:90vw;box-shadow:0 6px 20px #0003;font-weight:600}.toast.ok{background:#176e3e}.toast.err{background:#9b3030}.badge.gray{background:#e6e9ee;color:#55606d}