:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#18263b;background:#f4f6fa}*{box-sizing:border-box}body{margin:0}header{height:78px;padding:0 max(20px,calc((100vw - 1300px)/2));background:#fff;border-bottom:1px solid #dfe5eb;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:13px}.logo{display:grid;place-items:center;background:#123b67;color:#fff;width:44px;height:44px;border-radius:10px;font-size:28px;font-weight:800}h1{font-size:19px;margin:0;letter-spacing:.04em}header small,.muted,p{color:#67778a}main{max-width:1300px;margin:26px auto;padding:0 20px}h2{font-size:19px;margin:0 0 9px}.panel,.login{background:#fff;border:1px solid #dfe5eb;border-radius:14px;padding:23px;margin-bottom:20px;box-shadow:0 3px 12px #102b4b07}.login{max-width:610px;margin:65px auto}.overview{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}.overview>div{padding:18px;background:white;border:1px solid #dfe5eb;border-radius:12px}.overview small{display:block;color:#6e7e90;margin-bottom:10px}.overview strong{font-size:29px;font-weight:750}.headrow,.toolbar,.pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.headrow{margin-bottom:15px}.headrow p,.panel>p{margin:2px 0 14px}.toolbar{justify-content:flex-start;margin:16px 0}.toolbar input:not([type=file]){flex:1;min-width:230px}button,select,input{font:inherit;border-radius:8px;padding:10px 13px;border:1px solid #d4deeb;background:white;color:#263b55}input:focus,select:focus{outline:2px solid #a7c4e7}button{background:#123b67;border-color:#123b67;color:white;cursor:pointer;font-weight:600}button:disabled{opacity:.45;cursor:not-allowed}.outline{background:white;color:#123b67}.danger{background:#9c283d;border-color:#9c283d}.promoCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.promo{border:1px solid #e0e7ef;border-radius:12px;padding:16px}.promo h3{font-size:15px;margin:0 0 7px}.promo small{color:#66768c}.promo .line{margin-top:14px;display:flex;justify-content:space-between;align-items:center;gap:10px}.promo button{font-size:12px;padding:8px 12px}.state{font-size:12px;font-weight:700}.on{color:#087e51}.off{color:#a73c4b}.tablewrap{overflow:auto;border:1px solid #e1e6ed;border-radius:10px}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;background:#f7f9fc;color:#55667a;font-weight:700}th,td{border-bottom:1px solid #edf0f4;padding:11px 12px}td:nth-child(2){min-width:250px}.mini{font-size:12px;padding:6px 9px}.pager{margin-top:15px}.pager div{display:flex;gap:8px}.error{color:#9c283d!important}.previewstats{padding:14px;background:#f5f7fa;border-radius:8px;line-height:1.8;margin:16px 0}label{display:block;font-size:13px;font-weight:600;margin-top:12px}label input,label select{width:100%;display:block;margin-top:6px}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:15px}.right{justify-content:flex-end}dialog{width:min(520px,95vw);border:1px solid #dfe5eb;border-radius:14px;padding:25px;box-shadow:0 20px 70px #14243c36}dialog::backdrop{background:#111c2c70}#toast{position:fixed;bottom:22px;right:20px;background:#123b67;color:#fff;padding:12px 18px;border-radius:10px;display:none;max-width:500px}#toast.error{background:#9c283d;color:white!important}@media(max-width:800px){.promoCards{grid-template-columns:1fr}.overview{grid-template-columns:1fr 1fr 1fr}.overview strong{font-size:23px}.headrow{align-items:flex-start}.toolbar input:not([type=file]){min-width:150px}}
