:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f7f8;--surface:#fff;--surface-subtle:#eef3f4;--border:#d9e1e4;--text:#172126;--muted:#61727b;--accent:#0f766e;--accent-strong:#115e59;--blue:#2563eb;--amber:#b45309;--red:#b42318;--green:#157347;--shadow:0 8px 24px #17212614;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-size:20px;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app-shell{grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#e7eef1;background:#172126;flex-direction:column;gap:20px;padding:20px 16px;display:flex}.brand{align-items:center;gap:10px;font-weight:700;display:flex}.brand-mark{background:#0f766e;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.nav{gap:4px;display:grid}.nav-link{color:#b9c7cd;border-radius:8px;align-items:center;gap:10px;min-height:42px;padding:9px 12px;display:flex}.nav-link.active,.nav-link:hover{color:#fff;background:#243238}.main{flex-direction:column;min-width:0;display:flex}.topbar{z-index:5;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f5f7f8e6;justify-content:space-between;align-items:center;min-height:64px;padding:12px 24px;display:flex;position:sticky;top:0}.content{width:100%;padding:28px 32px}.page-head{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px;display:flex}.page-head h1{margin:0;font-size:30px;line-height:1.2}.page-head p{color:var(--muted);margin:4px 0 0;font-size:15px}.grid{gap:14px;display:grid}.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.two-col{grid-template-columns:minmax(0,1fr) minmax(320px,.4fr)}.panel{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:8px}.limit-panel.disabled{opacity:.62;background:#f1f4f5}.limit-panel.enforced{background:#fff1f0;border-width:2px;border-color:#7f1d1d}.panel-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:14px 16px;display:flex}.panel-header h2{margin:0;font-size:20px}.panel-body{padding:16px}.metric{padding:15px 16px}.metric-label{color:var(--muted);text-transform:uppercase;font-size:17px}.metric-value{margin-top:8px;font-size:38px;font-weight:700;line-height:1.1}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.button{background:var(--accent);color:#fff;cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:8px 12px;font-weight:650;display:inline-flex}.button:hover{background:var(--accent-strong)}.button.secondary{color:var(--text);border-color:var(--border);background:#fff}.button.danger{background:var(--red)}.button.success{background:var(--green)}.button.warning{background:var(--amber)}.button:disabled{opacity:.55;cursor:not-allowed}.input,.select,.textarea{border:1px solid var(--border);width:100%;min-height:36px;color:var(--text);background:#fff;border-radius:8px;padding:8px 10px}.textarea{resize:vertical;min-height:78px}.table-wrap{overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:18px}.table th,.table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:13px 16px}.table th{color:var(--muted);text-transform:uppercase;white-space:nowrap;font-size:15px;font-weight:700}.status{background:var(--surface-subtle);min-height:24px;color:var(--muted);border-radius:999px;align-items:center;padding:2px 10px;font-size:15px;font-weight:700;display:inline-flex}.status.green{color:var(--green);background:#e7f6ed}.status.red{color:var(--red);background:#fde8e7}.status.amber{color:var(--amber);background:#fff3df}.status.blue{color:var(--blue);background:#e8f0ff}.muted{color:var(--muted)}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:15px}.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.limit-grid{grid-template-columns:minmax(260px,.8fr) minmax(200px,.5fr) minmax(200px,.5fr) minmax(180px,auto);align-items:center;gap:16px;display:grid}.alert-email-row{align-items:center;gap:12px;margin-bottom:18px;display:flex}.alert-email-row .limit-value-editor{width:380px}.limit-value-editor{grid-template-columns:minmax(180px,1fr) auto;align-items:center;gap:10px;display:grid}.limit-edit-actions{flex-wrap:nowrap}.limit-edit-actions .button{min-width:44px}.limit-actions{text-align:right;justify-content:flex-end;justify-self:end}.auth-page{place-items:center;min-height:100vh;padding:24px;display:grid}.auth-panel{width:min(420px,100%)}.empty{color:var(--muted);text-align:center;padding:24px}.json{white-space:pre-wrap;word-break:break-word;max-width:520px;font-size:12px}.modal-dialog{border:1px solid var(--border);background:var(--surface);border-radius:12px;width:min(420px,100vw - 32px);margin:auto;padding:0;box-shadow:0 20px 48px #1721262e}.modal-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#17212673}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 20px 14px;display:flex}.modal-header h2{font-size:20px}.modal-body{padding:18px 20px}.modal-footer{border-top:1px solid var(--border);justify-content:flex-end;gap:10px;padding:14px 20px 18px;display:flex}.icon-btn{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:6px;flex-shrink:0;place-items:center;display:grid}.icon-btn:hover{background:var(--surface-subtle);color:var(--text)}@media (width<=980px){.app-shell{grid-template-columns:1fr}.sidebar{position:static}.nav{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics,.two-col,.form-grid,.limit-grid{grid-template-columns:1fr}.limit-actions{text-align:left;justify-content:flex-start;justify-self:stretch}.alert-email-row{flex-wrap:wrap}.alert-email-row .limit-value-editor{width:100%}.topbar{flex-direction:column;align-items:flex-start;position:static}.content{padding:20px}}
