*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;background:#070b16;color:#e8eefc}
.topbar{padding:18px 28px;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#0b1327,#070b16)}
.brand{display:flex;align-items:center;gap:14px}
.dot{width:14px;height:14px;border-radius:50%;background:#27c93f;box-shadow:0 0 0 3px rgba(39,201,63,.15)}
.title{font-size:20px;font-weight:700}
.subtitle{color:rgba(232,238,252,.65);font-size:13px;margin-top:2px}
.container{max-width:1120px;margin:36px auto;padding:0 18px}
.card{background:linear-gradient(180deg,#0c1836,#0b1531);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:22px;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.hidden{display:none !important}
h2{margin:0 0 10px 0}
.muted{color:rgba(232,238,252,.65)}
.small{font-size:12px}
.row{display:flex;gap:12px;align-items:center}
.row.gap{gap:10px;margin-bottom:14px}
input,select,textarea{width:100%;padding:12px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(7,11,22,.55);color:#e8eefc;outline:none}
textarea{min-height:90px;resize:vertical}
button{border:0;border-radius:12px;padding:10px 14px;cursor:pointer;color:#e8eefc;background:rgba(255,255,255,.06)}
button:hover{background:rgba(255,255,255,.09)}
.primary{background:#2563eb}
.primary:hover{background:#1d4ed8}
.ghost{background:rgba(255,255,255,.06)}
.danger{background:rgba(255,107,107,.12)}
.danger:hover{background:rgba(255,107,107,.18)}
.error{color:#ff6b6b;margin-top:10px;white-space:pre-wrap}
.filters{display:grid;grid-template-columns:2fr 1fr 1fr .8fr .9fr .9fr 1fr .8fr auto;gap:10px;align-items:center;margin-bottom:14px}
@media (max-width:1100px){.filters{grid-template-columns:1fr 1fr;}}
.stats{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0 14px}
.stat{padding:10px 12px;border-radius:14px;border:1px solid rgba(255,255,255,.10);background:rgba(7,11,22,.35)}
.tableWrap{overflow:auto;border:1px solid rgba(255,255,255,.08);border-radius:14px}
table{width:100%;border-collapse:collapse}
th,td{padding:10px 10px;border-bottom:1px solid rgba(255,255,255,.06);font-size:13px;vertical-align:top}
th{position:sticky;top:0;background:rgba(12,24,54,.92);text-align:left}
.badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:12px;border:1px solid rgba(255,255,255,.14)}
.badge.ok{background:rgba(39,201,63,.15);border-color:rgba(39,201,63,.35)}
.badge.fail{background:rgba(255,107,107,.14);border-color:rgba(255,107,107,.35)}
.footerRow{display:flex;justify-content:space-between;align-items:center;margin-top:12px}
.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:12px;flex-wrap:wrap}
.tabs{display:flex;gap:8px}
.tab{padding:10px 12px;border-radius:999px}
.tab.active{background:rgba(37,99,235,.25);border:1px solid rgba(37,99,235,.35)}
.tabPanel{margin-top:10px}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:18px}
.modalCard{width:min(860px,100%);max-height:88vh;overflow:auto;background:linear-gradient(180deg,#0c1836,#0b1531);border:1px solid rgba(255,255,255,.10);border-radius:18px;padding:16px}
.modalHeader{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.modalTitle{font-weight:800;font-size:16px}
.blocks{margin-top:12px;display:flex;flex-direction:column;gap:12px}
.block{border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:12px;background:rgba(7,11,22,.28)}
.blockTop{display:flex;gap:10px;align-items:center;margin-bottom:10px}
.blockTop input{flex:1}
.blockActions{display:flex;gap:8px}
.modalFooter{display:flex;align-items:center;gap:10px;margin-top:12px}
.spacer{flex:1}
