:root{--bg: #0a0a0a;--surface: #121212;--surface-2: #171717;--input: #0a0a0a;--line: rgba(255, 255, 255, .06);--text: #e4e4e7;--muted: #a1a1aa;--create-purple: #7c3aed;--create-purple-hover: #6d28d9;--blue: #2563eb;--blue-hover: #1d4ed8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Geist,Inter,Segoe UI,sans-serif}#root{min-height:100vh;padding:20px}.app-shell{display:flex;justify-content:center}.console{width:min(1160px,100%)}.console-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.console-header h2,.login-panel h1{margin:0 0 4px;font-size:24px;font-weight:600}.surface,.login-panel{background:var(--surface);border-radius:18px;padding:20px;box-shadow:0 1px #ffffff0a inset,0 16px 36px #00000059}.login-panel{width:min(560px,100%)}.muted{color:var(--muted)}.stack{display:grid;gap:10px}label{color:#d4d4d8;font-size:13px}.field-help{margin:-2px 0 2px;color:#8b8b95;font-size:12px;line-height:1.5}input,select{width:100%;height:42px;border-radius:11px;background:var(--input);border:1px solid var(--line);color:var(--text);padding:0 12px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}input:focus,select:focus{border-color:#7c3aed80;box-shadow:0 0 0 1px #7c3aed33}.btn-primary,.btn-subtle,.btn-create,.btn-confirm{height:42px;border:none;border-radius:11px;padding:0 14px;font-size:14px;cursor:pointer;transition:all .15s ease}.btn-primary{background:var(--blue);color:#fff;font-weight:600}.btn-primary:hover:not(:disabled){background:var(--blue-hover)}.btn-create{background:var(--create-purple);color:#fff;font-weight:600}.btn-create:hover:not(:disabled){background:var(--create-purple-hover)}.btn-subtle{background:#ffffff17;color:#e4e4e7}.btn-subtle:hover:not(:disabled){background:#ffffff29}.btn-confirm{color:#fff;font-weight:600}.btn-confirm.neutral{background:var(--blue)}.btn-confirm.neutral:hover:not(:disabled){background:var(--blue-hover)}.btn-confirm.warn{background:#ca8a04}.btn-confirm.warn:hover:not(:disabled){background:#a16207}.btn-confirm.danger{background:#dc2626}.btn-confirm.danger:hover:not(:disabled){background:#b91c1c}button:disabled{opacity:.56;cursor:not-allowed}.icon-only-btn,.refresh-icon-btn,.icon-btn{border:none;background:transparent;color:#a1a1aa;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.icon-only-btn{width:36px;height:36px;border-radius:10px}.icon-only-btn:hover,.refresh-icon-btn:hover,.icon-btn:hover{background:#ffffff14;color:#f3f4f6}.refresh-icon-btn{width:42px;height:42px;border-radius:11px}.tabs{display:inline-flex;gap:4px;padding:4px;border-radius:10px;background:var(--surface-2);margin-bottom:14px}.tab{border:none;background:transparent;color:#71717a;border-radius:8px;height:36px;padding:0 14px;cursor:pointer}.tab:hover{color:#d4d4d8}.tab.active{color:#fff;background:#262626}.notice{margin-bottom:12px;border-radius:10px;padding:9px 10px;display:flex;justify-content:space-between;align-items:center;gap:10px}.notice.info,.notice-inline{background:#3b82f624;color:#bfdbfe}.notice.success{background:#10b98124;color:#86efac}.notice.error,.error{background:#f8717124;color:#fca5a5}.notice-inline{border-radius:10px;padding:8px 10px;margin:8px 0 12px}.error{border-radius:10px;padding:8px 10px;margin-top:10px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.stat-card{background:#0f0f0f;border-radius:12px;padding:12px}.stat-head{display:flex;align-items:center;gap:7px}.stat-head p{margin:0;color:#71717a;font-size:12px}.dot{width:7px;height:7px;border-radius:999px;background:#737373}.dot.success{background:#34d399}.dot.warning{background:#fbbf24}.dot.danger{background:#f87171}.stat-card strong{margin-top:8px;display:block;color:#fff;font-size:22px;font-weight:700;font-variant-numeric:tabular-nums}.toolbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}.toolbar-left{display:grid;grid-template-columns:minmax(240px,1fr) 150px auto;gap:10px;flex:1;min-width:0}.table-caption{margin:8px 0;font-size:13px}.desktop-table{width:100%;overflow-x:auto}.desktop-table table{width:100%;min-width:780px;border-collapse:collapse}.desktop-table th{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#71717a;font-weight:500}.desktop-table td{padding:10px 8px;border-bottom:1px solid rgba(255,255,255,.05);vertical-align:top}.table-tip{text-align:center;color:var(--muted)}.status-tag{display:inline-flex;align-items:center;height:24px;border-radius:999px;padding:0 9px;background:#ffffff14;color:#d4d4d8;font-size:12px}.status-tag.active{color:#34d399;background:#34d3991f}.status-tag.disabled{color:#fbbf24;background:#fbbf241f}.status-tag.deleted{color:#f87171;background:#f871711f}.row-actions{display:flex;flex-wrap:wrap;gap:6px}.action-pill{border:none;border-radius:999px;padding:6px 10px;font-size:12px;background:transparent;cursor:pointer}.action-pill.success{color:#34d399}.action-pill.success:hover:not(:disabled){background:#34d3991f}.action-pill.danger{color:#f87171}.action-pill.danger:hover:not(:disabled){background:#f871711f}.action-pill.neutral{color:#93c5fd}.action-pill.neutral:hover:not(:disabled){background:#93c5fd1f}.mobile-pull-zone{position:relative;overflow:hidden}.pull-indicator{height:0;opacity:0;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:6px;color:#a1a1aa;font-size:12px;transform:translateY(-6px);transition:all .18s ease}.pull-indicator.show{height:22px;opacity:1;transform:translateY(0)}.mobile-cards{display:none;transition:transform .2s ease}.mobile-cards.pull-dragging{transition:none}.mobile-card{background:#0f0f0f;border-radius:12px;padding:12px;margin-bottom:10px}.mobile-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:8px}.mobile-username{margin:0;font-size:18px;font-weight:700}.mobile-sub{margin:4px 0 0;color:#6b7280;font-size:14px}.mobile-audit-id{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;color:#d4d4d8}.mobile-audit-id span{color:#71717a;font-size:12px}.mobile-card-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.quick-pill{border:none;background:#ffffff0d;color:#d1d5db;padding:6px 12px;border-radius:999px;font-size:12px;display:inline-flex;align-items:center;gap:5px;cursor:pointer}.quick-pill:hover{background:#ffffff17}.mobile-tip{padding:16px 0;color:#a1a1aa}.empty-state{min-height:150px;display:grid;place-items:center;gap:8px;text-align:center;color:#71717a}.empty-state h4{margin:0;color:#c4c4c6;font-size:15px}.empty-state p{margin:0;font-size:12px}.id-chip{display:inline-flex;align-items:center;gap:6px}.id-text{max-width:170px;display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;color:#9ca3af}.id-empty{color:#71717a}.icon-btn{width:20px;height:20px;border-radius:6px}.dialog-mask,.sheet-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008f;display:flex;align-items:center;justify-content:center;padding:16px;z-index:40}.dialog{width:min(560px,100%);background:var(--surface);border-radius:14px;padding:16px;box-shadow:0 18px 40px #00000073}.dialog h3{margin:0 0 8px}.confirm-dialog{width:min(460px,100%);background:#111;border-radius:14px;padding:14px;border:1px solid rgba(255,255,255,.07);box-shadow:0 20px 44px #00000080}.confirm-head{display:flex;align-items:flex-start;gap:10px}.confirm-head h3{margin:1px 0 5px}.confirm-head p{margin:0;line-height:1.55}.confirm-icon{width:28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;margin-top:2px;border:1px solid rgba(255,255,255,.12);color:#93c5fd;background:#3b82f626}.confirm-icon.warn{color:#fbbf24;background:#fbbf2424;border-color:#fbbf2438}.confirm-icon.danger{color:#f87171;background:#f8717129;border-color:#f871713d}.confirm-body{margin-top:12px}.credential-dialog{width:min(520px,100%);background:#111;border-radius:14px;padding:16px;border:1px solid rgba(255,255,255,.07);box-shadow:0 20px 44px #00000085}.credential-dialog h3{margin:0 0 8px}.credential-dialog>p{margin:0;line-height:1.55}.credential-box{margin-top:12px;border-radius:12px;background:#0b0b0b;border:1px solid rgba(255,255,255,.08);padding:10px}.credential-row{margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:10px}.credential-password{margin:0;font-size:16px;color:#fafafa;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;word-break:break-all}.dialog-actions{margin-top:14px;display:flex;justify-content:flex-end;gap:8px}.sheet-mask{align-items:flex-end}.sheet{width:min(560px,100%);background:#141414;border-radius:16px 16px 0 0;padding:12px 0 10px}.sheet-handle{width:44px;height:4px;border-radius:999px;background:#fff3;margin:0 auto 10px}.sheet h4{margin:0;padding:0 16px}.sheet p{margin:6px 0 8px;padding:0 16px}.sheet-actions{display:grid}.sheet-item{height:56px;border:none;background:transparent;color:#e4e4e7;display:flex;align-items:center;gap:12px;padding:0 16px;text-align:left;font-size:15px;cursor:pointer}.sheet-item svg{color:#a1a1aa;flex:0 0 auto}.sheet-item.danger,.sheet-item.danger svg{color:#ef4444}.sheet-item:active{background:#ffffff0d}.mobile-fab{display:none}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 1024px){#root{padding:14px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar-left{grid-template-columns:1fr 140px auto}}@media (max-width: 760px){.console-header{margin-bottom:10px}.tabs{width:100%}.tab{flex:1}.surface,.login-panel{padding:14px;border-radius:14px}.toolbar{align-items:stretch}.toolbar-left{grid-template-columns:1fr auto}.toolbar-left select{grid-column:1 / 2}.toolbar-right.desktop-create,.desktop-table{display:none}.mobile-cards{display:block}.stats-grid{gap:8px}.stat-card strong{font-size:18px}.mobile-fab{position:fixed;right:16px;bottom:18px;width:54px;height:54px;border:none;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:#7c3aed;box-shadow:0 12px 28px #7c3aed61;z-index:35;cursor:pointer}.mobile-fab:active{transform:scale(.98)}}
