*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,Arial;background:#f3f6fa;color:#172033}.shell{max-width:1400px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(120deg,#0f2747,#173b68);color:#fff;padding:20px 24px;border-radius:16px;box-shadow:0 15px 32px #0f27472a}header h1{margin:0;font-size:24px}header p{margin:4px 0 0;color:#bfdbfe}#serverStatus{padding:8px 12px;background:#ffffff1c;border:1px solid #ffffff2b;border-radius:9px;font-weight:800}.panel{margin-top:18px;background:#fff;border:1px solid #dce4ee;border-radius:14px;padding:18px;box-shadow:0 8px 24px #0f17220d}.hidden{display:none!important}.row,.top,.actions,.rules{display:flex;gap:10px;align-items:center}.row input{max-width:360px}.top{justify-content:space-between}.top h2,.panel h2{margin:0 0 8px;color:#0f2747}.top p{margin:0;color:#64748b}.rules{margin:18px 0;flex-wrap:wrap}.rules>div{min-width:240px}.rules label{display:block;font-size:12px;font-weight:800;color:#475569;margin-bottom:5px}input,button{font:inherit}input{width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:8px}button{border:0;border-radius:8px;padding:10px 14px;background:#f97316;color:#fff;font-weight:800;cursor:pointer}.save{background:#15803d}.table-wrap{max-height:62vh;overflow:auto;border:1px solid #e2e8f0;border-radius:10px}table{border-collapse:collapse;width:100%;min-width:900px}th,td{padding:8px;border-bottom:1px solid #e2e8f0;text-align:left}th{position:sticky;top:0;background:#eef3f8;color:#0f2747;z-index:1;font-size:12px}td input{padding:7px}.active{width:18px;height:18px}.remove{background:#b91c1c;padding:7px 10px}@media(max-width:800px){.top{align-items:flex-start;flex-direction:column}}