*{box-sizing:border-box}html{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f3f7fb;color:#16263a}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.gate{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#092a55,#0e4a8d)}.login-card{width:min(440px,100%);display:grid;gap:18px;padding:28px;border-radius:24px;background:#fff;box-shadow:0 28px 60px #04162e40}.login-card img{width:190px;max-height:62px;object-fit:contain}.login-card h1{margin:0;color:#0b2f5b}.login-card p{margin:5px 0 0;color:#60758c}.login-card label,.form-grid label,.support-controls label,.state-editor{display:grid;gap:7px;font-weight:700}input,select,textarea{border:1px solid #cbd8e6;border-radius:12px;background:#fff;color:#16263a}input,select{min-height:44px;padding:0 12px}textarea{padding:12px}.primary{min-height:44px;border:0;border-radius:12px;padding:0 16px;background:#0b5ed7;color:#fff;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary:disabled,button:disabled{opacity:.5;cursor:not-allowed}.message{padding:12px 14px;border-radius:12px;background:#fff4df;color:#7c4b00;border:1px solid #f2d59c}.admin-shell header{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:16px;min-height:74px;padding:10px 22px;background:#fff;border-bottom:1px solid #dce6f0}.admin-shell header img{width:160px;max-height:48px;object-fit:contain}.admin-shell header>div:nth-child(2){display:grid;gap:2px;min-width:0}.admin-shell header span{font-size:.78rem;color:#6b7d91}.header-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.header-actions a,.header-actions button,.header-actions select{min-height:40px;border:1px solid #cbd8e6;border-radius:10px;background:#fff;color:#20364f;padding:0 11px;text-decoration:none;display:flex;align-items:center;gap:7px}.header-actions svg{width:17px}.admin-shell main{width:min(1220px,calc(100% - 32px));margin:24px auto 50px;display:grid;gap:18px}.hero{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:20px;border-radius:20px;background:linear-gradient(135deg,#0b2f5b,#0b5ed7);color:#fff}.hero>div{display:flex;gap:14px;align-items:center}.hero svg{width:32px;height:32px}.hero h1{margin:0}.hero p{margin:5px 0 0;color:#dcecff}.hero button{min-height:42px;border:1px solid rgba(255,255,255,.35);border-radius:11px;background:#ffffff1f;color:#fff;padding:0 13px;display:flex;align-items:center;gap:8px}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kpis article{padding:17px;border:1px solid #dce6f0;border-radius:16px;background:#fff}.kpis strong{font-size:1.55rem;color:#0b2f5b}.kpis span{display:block;margin-top:5px;color:#6b7d91}.tabs{display:flex;gap:8px;padding:6px;border:1px solid #dce6f0;border-radius:15px;background:#fff;overflow:auto}.tabs button{min-height:42px;border:0;border-radius:10px;background:transparent;color:#526a83;padding:0 15px;display:flex;align-items:center;gap:8px;font-weight:800;white-space:nowrap}.tabs button.active{background:#e8f1fc;color:#0b5ed7}.tabs svg{width:18px}.toolbar{display:flex}.toolbar label{display:flex;align-items:center;gap:8px;min-width:min(480px,100%);padding-left:12px;background:#fff;border:1px solid #dce6f0;border-radius:13px}.toolbar svg{width:18px;color:#789}.toolbar input{width:100%;border:0}.cards{display:grid;gap:12px}.card{display:grid;gap:15px;padding:17px;border:1px solid #dce6f0;border-radius:18px;background:#fff}.identity{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center}.avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eaf2fb;color:#0b5ed7}.identity>div:nth-child(2){display:grid;gap:2px;min-width:0}.identity strong,.identity span,.identity small{overflow-wrap:anywhere}.identity span,.identity small{color:#6b7d91}.badge{padding:6px 9px;border-radius:999px;font-size:.75rem;font-weight:800}.badge.active{background:#e5f7ed;color:#167143}.badge.suspended{background:#fff3db;color:#8a5b00}.badge.blocked,.badge.closed{background:#fdeaea;color:#a12f2f}.badge.neutral{background:#eef4fa;color:#45617e}.meta{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:.84rem;color:#65798f}.memberships{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.memberships span{padding:5px 8px;border-radius:9px;background:#eef4fa;font-size:.78rem}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-grid.compact{grid-template-columns:minmax(220px,1fr) minmax(180px,.6fr)}.form-grid label,.support-controls label{font-size:.78rem;color:#5c7188}.card-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.card-actions>button:not(.primary),.support-controls>button,.modal-head>button{min-height:44px;border:1px solid #cbd8e6;border-radius:12px;background:#fff;color:#20364f;padding:0 14px;display:inline-flex;align-items:center;gap:8px;font-weight:800}.card-actions svg,.support-controls svg{width:18px}.danger-button{min-height:44px;border:1px solid #e7bcbc!important;border-radius:12px;background:#fff5f5!important;color:#a12f2f!important;padding:0 14px;display:inline-flex;align-items:center;gap:8px;font-weight:800}.danger-button:hover:not(:disabled){background:#fdeaea!important;border-color:#d99b9b!important}.card-actions small{color:#7b8da0}.member-list{display:grid;gap:8px}.member-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,220px);gap:12px;align-items:center;padding:10px 12px;border-radius:12px;background:#f7f9fc}.member-row>span{display:grid;gap:2px}.member-row small{color:#718397}.audit-list{display:grid;gap:10px}.audit-list article{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1fr) auto;gap:16px;align-items:center;padding:14px 16px;background:#fff;border:1px solid #dce6f0;border-radius:15px}.audit-list article>div{display:grid;gap:3px}.audit-list span,.audit-list small{color:#718397;font-size:.78rem}.audit-list p{margin:0;color:#40566f}.empty{display:flex;justify-content:center;align-items:center;gap:9px;padding:38px;border:1px dashed #c7d5e3;border-radius:18px;color:#718397;background:#fff}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:20px;background:#05142894}.support-modal{width:min(1100px,100%);max-height:92vh;overflow:auto;display:grid;gap:16px;padding:20px;border-radius:20px;background:#fff;box-shadow:0 30px 80px #0000004d}.modal-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.modal-head h2{margin:0;color:#0b2f5b}.modal-head p{margin:5px 0 0;color:#6d8197}.modal-head>button{width:42px;padding:0;justify-content:center;font-size:1.5rem}.support-summary{display:flex;flex-wrap:wrap;gap:8px 18px;padding:12px;border-radius:12px;background:#eef4fa;color:#50677f}.support-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.danger-soft{background:#fff4f4!important;color:#9d3030!important;border-color:#efc9c9!important}.state-editor textarea{min-height:420px;resize:vertical;font-family:Cascadia Code,SFMono-Regular,Consolas,monospace;font-size:.82rem;line-height:1.45;background:#fbfcfe}.state-editor textarea[readonly]{background:#f4f7fa;color:#5e7185}.modal-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}.modal-actions>span{display:flex;align-items:center;gap:7px;color:#65798f;font-size:.82rem}.modal-actions svg{width:18px}@media(max-width:800px){.admin-shell header{align-items:flex-start;flex-wrap:wrap}.admin-shell header>div:nth-child(2){display:none}.header-actions{width:100%;margin-left:0;flex-wrap:wrap}.admin-shell main{width:min(100% - 20px,1220px);margin-top:14px}.hero{align-items:flex-start;flex-direction:column}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.identity{grid-template-columns:auto minmax(0,1fr)}.badge{grid-column:1/-1;justify-self:start}.form-grid,.form-grid.compact,.member-row{grid-template-columns:1fr}.audit-list article{grid-template-columns:1fr;gap:7px}.support-controls{grid-template-columns:1fr}.modal-actions{align-items:stretch;flex-direction:column}.modal-actions .primary{width:100%}.state-editor textarea{min-height:330px}}
