@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#0f172a;background:#e8edf5;line-height:1.5;--surface: #ffffff;--border: #e2e8f0;--muted: #64748b;--accent: #4f46e5;--accent-soft: rgba(79, 70, 229, .12);--sidebar: #0b1220;--radius: 12px;--shadow: 0 12px 40px rgba(15, 23, 42, .08)}*{box-sizing:border-box}body{margin:0;min-height:100vh;background-image:radial-gradient(1200px 600px at 10% -10%,rgba(79,70,229,.2),transparent 55%),radial-gradient(900px 500px at 100% 0%,rgba(14,165,233,.12),transparent 50%),linear-gradient(180deg,#eef2ff,#e8edf5 40%,#e2e8f0);background-attachment:fixed}.fade-in{animation:fadeInUp .35s ease-out}.stack{display:flex;flex-direction:column;gap:20px}.layout{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.main-surface{padding:28px 32px 40px}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px}.page-header h1{margin:4px 0 0;font-size:1.5rem;font-weight:600;letter-spacing:-.02em}.page-header-actions{display:flex;align-items:center;gap:10px}.eyebrow{margin:0;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.auth-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.auth-panel{width:min(100%,440px);display:flex;flex-direction:column;gap:20px}.auth-brand{display:flex;align-items:center;gap:14px}.auth-logo{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#4f46e5,#0ea5e9);box-shadow:0 10px 30px #4f46e559}.auth-title{margin:0;font-size:1.35rem;font-weight:700;letter-spacing:-.03em}.auth-tagline{margin:2px 0 0;font-size:14px;color:var(--muted)}.sidebar{background:var(--sidebar);color:#e2e8f0;padding:28px 22px;border-right:1px solid rgba(148,163,184,.12)}.sidebar-brand{display:flex;gap:12px;align-items:center;margin-bottom:28px}.sidebar-logo{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#6366f1,#22d3ee);flex-shrink:0}.sidebar-name{margin:0;font-weight:600;font-size:15px}.sidebar-meta{margin:2px 0 0;font-size:12px;color:#94a3b8}.sidebar-nav{display:flex;flex-direction:column;gap:4px}.sidebar-nav a{color:#cbd5f5;text-decoration:none;padding:10px 12px;border-radius:8px;font-size:14px;font-weight:500;transition:background .15s ease,color .15s ease}.sidebar-nav a:hover{color:#fff;background:#94a3b81f}.card{background:var(--surface);border-radius:var(--radius);padding:20px 22px;box-shadow:var(--shadow);border:1px solid rgba(226,232,240,.9)}.login-card{width:100%}.panel-header h2{margin:0;font-size:1rem;font-weight:600}.panel-header{margin-bottom:14px}.analytics-grid,.metric-card{margin-bottom:0}.metric-label{margin:0 0 6px;font-size:13px;color:var(--muted);font-weight:500}.metric-value{margin:0;font-size:1.5rem;font-weight:700;letter-spacing:-.02em}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.table-wrap{overflow-x:auto;margin:0 -6px}table{width:100%;border-collapse:collapse;min-width:480px}th,td{text-align:left;border-bottom:1px solid var(--border);padding:12px 10px;font-size:14px}th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600}.field-label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500;color:#334155;margin-bottom:4px}input{width:100%;padding:11px 12px;border-radius:8px;border:1px solid var(--border);font:inherit;background:#f8fafc;transition:border-color .15s ease,box-shadow .15s ease}input:focus{outline:none;border-color:#a5b4fc;box-shadow:0 0 0 3px var(--accent-soft);background:#fff}button{width:100%;margin-top:8px;padding:11px 14px;border-radius:8px;border:none;font:inherit;font-weight:600;cursor:pointer;background:#0f172a;color:#fff;transition:transform .12s ease,opacity .12s ease,background .12s ease}button:hover:not(:disabled){transform:translateY(-1px);background:#020617}button:disabled{opacity:.55;cursor:not-allowed}.btn-secondary{width:auto;margin-top:0;min-width:108px;background:var(--surface);color:#0f172a;border:1px solid var(--border);box-shadow:0 1px 2px #0f172a0f}.btn-secondary:hover:not(:disabled){background:#f8fafc}.badge{display:inline-block;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:500;background:#eef2ff;color:#4338ca}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;background:#f1f5f9;padding:2px 8px;border-radius:6px}.alert{border-radius:10px;padding:12px 14px;margin:0 0 16px;font-size:14px}.alert-success{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.alert-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.alert-neutral{background:#f8fafc;color:#334155;border:1px solid var(--border)}.empty-state{padding:28px 12px;text-align:center}.empty-state-title{margin:0;font-size:14px;color:var(--muted);font-weight:500}.empty-state-detail{margin:8px 0 0;font-size:13px;color:#94a3b8}.page-loader-wrap{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}.spinner-block{display:inline-flex;flex-direction:column;align-items:center;gap:12px}.spinner{width:36px;height:36px;border:3px solid rgba(15,23,42,.15);border-top-color:var(--accent);border-radius:9999px;animation:spin .75s linear infinite}.spinner-label{font-size:14px;color:var(--muted);font-weight:500}.inline-loader{display:flex;justify-content:center;padding:8px 0 4px}.inline-loader .spinner{width:28px;height:28px;border-width:2px}.page-loader{width:34px;height:34px;border:3px solid rgba(17,24,39,.2);border-top-color:#111827;border-radius:9999px;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 960px){.layout{grid-template-columns:1fr}.sidebar{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;padding:16px 20px}.sidebar-brand{margin-bottom:0}.sidebar-nav{flex-direction:row;flex-wrap:wrap;gap:6px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.main-surface{padding:20px 18px 32px}}@media (max-width: 560px){.cards{grid-template-columns:1fr}.page-header{flex-direction:column;align-items:flex-start}.page-header-actions,.btn-secondary{width:100%}}
