:root{--bg: #f4f6fb;--surface: #ffffff;--surface2: #f8fafc;--text: #0f172a;--muted: #64748b;--border: #e5e9f2;--primary: #4f46e5;--primary-h: #4338ca;--primary-soft: #eef2ff;--danger: #ef4444;--danger-soft: #fee2e2;--success: #10b981;--sidebar: #0f172a;--sidebar-text: #94a3b8;--sidebar-active: #1e293b;--shadow: 0 1px 2px rgba(15,23,42,.05), 0 4px 16px rgba(15,23,42,.06);--radius: 14px}[data-theme=dark]{--bg: #0b1120;--surface: #111a2e;--surface2: #0f172a;--text: #e5e7eb;--muted: #94a3b8;--border: #1f2a44;--primary: #818cf8;--primary-h: #a5b4fc;--primary-soft: #1e1b4b;--danger-soft: #3f1d1d;--sidebar: #0a0f1d;--sidebar-active: #172036;--shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.25)}*{box-sizing:border-box}html,body{margin:0}body{font-family:Hind Siliguri,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}h1{font-size:24px;margin:0 0 6px;letter-spacing:-.02em}h3{margin:0 0 12px;font-size:16px}p{margin:0 0 14px;color:var(--muted)}small{color:var(--muted)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--border);border-radius:10px}.shell{display:flex;min-height:100vh}.sidebar{width:262px;background:var(--sidebar);color:var(--sidebar-text);padding:18px 14px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow-y:auto;flex-shrink:0;z-index:40}.brand{display:flex;align-items:center;gap:12px;padding:4px 8px 18px;color:#fff}.brand b{display:block;font-size:16px}.brand small{color:var(--sidebar-text)}.logo{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#6366f1,#a855f7);color:#fff;display:grid;place-items:center;font-weight:800;font-size:18px;flex-shrink:0}.logo.big{width:56px;height:56px;font-size:26px;border-radius:16px}.sidebar nav{flex:1}.navgroup{margin:16px 10px 6px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#64748b}.navlink{display:flex;align-items:center;gap:12px;padding:9px 12px;margin-bottom:2px;border-radius:10px;color:var(--sidebar-text);font-weight:500;font-size:14px;transition:.15s}.navlink:hover{background:var(--sidebar-active);color:#fff;text-decoration:none}.navlink.active{background:linear-gradient(90deg,#6366f159,#6366f114);color:#fff;box-shadow:inset 3px 0 #818cf8}.sitelink{margin-top:10px;border:1px dashed #334155}.content{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:12px;padding:12px 24px;background:color-mix(in srgb,var(--surface) 85%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}.crumb{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px}.crumb i{font-style:normal;opacity:.5}.crumb b{color:var(--text)}.topright{margin-left:auto;display:flex;align-items:center;gap:8px}.me{display:flex;align-items:center;gap:8px;padding:4px 12px 4px 4px;border:1px solid var(--border);border-radius:999px;background:var(--surface)}.avatar{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#a855f7);color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px}.mail{font-size:13px;color:var(--muted);max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page{padding:26px 24px 60px;max-width:1180px;width:100%;margin:0 auto;animation:fade .25s ease}@keyframes fade{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.menubtn,.overlay{display:none}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;margin-bottom:18px;box-shadow:var(--shadow)}label{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;font-size:13px;font-weight:600;color:var(--muted)}label.check{flex-direction:row;align-items:center;gap:10px;color:var(--text);font-weight:500}input:not([type=checkbox]):not([type=file]),textarea,select{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:10px;font:inherit;color:var(--text);background:var(--surface2);transition:.15s}input[type=file]{font-size:13px;color:var(--muted)}input[type=checkbox]{width:18px;height:18px;accent-color:var(--primary)}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 22%,transparent);background:var(--surface)}select{width:auto;min-width:140px;cursor:pointer}label select{width:100%}button{background:var(--primary);color:#fff;border:0;padding:10px 18px;border-radius:10px;cursor:pointer;font:inherit;font-weight:600;transition:.15s}button:hover{background:var(--primary-h);transform:translateY(-1px)}button:disabled{opacity:.55;cursor:not-allowed;transform:none}button.ghost{background:transparent;color:var(--text);border:1px solid var(--border)}button.ghost:hover{background:var(--surface2)}button.danger{background:var(--danger-soft);color:var(--danger)}button.danger:hover{background:var(--danger);color:#fff}button.full{width:100%;padding:12px;margin-top:4px}.iconbtn{background:transparent;color:var(--muted);border:1px solid var(--border);width:38px;height:38px;padding:0;display:grid;place-items:center;border-radius:10px}.iconbtn:hover{background:var(--surface2);color:var(--text);transform:none}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.msg{color:var(--success);font-size:14px;font-weight:600}.err{color:var(--danger);font-weight:600}.alert{background:var(--danger-soft);color:var(--danger);padding:10px 14px;border-radius:10px;margin-bottom:14px;font-size:14px;font-weight:600}.tablewrap{overflow-x:auto;padding:6px 8px}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;padding:12px;font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);font-weight:700;border-bottom:1px solid var(--border);white-space:nowrap}td{padding:12px;border-bottom:1px solid var(--border);vertical-align:middle}tbody tr{transition:.12s}tbody tr:hover{background:var(--surface2)}tbody tr:last-child td{border-bottom:0}.actions{display:flex;gap:6px;white-space:nowrap}.actions button,td button{padding:7px 12px;font-size:13px}.thumb{width:52px;height:52px;object-fit:cover;border-radius:10px;border:1px solid var(--border)}.hero{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:20px;padding:24px;border-radius:18px;color:#fff;background:linear-gradient(135deg,#4f46e5,#7c3aed 60%,#db2777);box-shadow:var(--shadow)}.hero h1{color:#fff;font-size:26px}.hero p{color:#ffffffd9;margin:0}.quick{display:flex;gap:8px;flex-wrap:wrap}.chip{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;background:#ffffff2e;color:#fff;border-radius:999px;font-size:13px;font-weight:600;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.chip:hover{background:#ffffff4d;text-decoration:none}.attention{border-left:4px solid #f59e0b}.attn-list{display:flex;gap:10px;flex-wrap:wrap}.attn{display:flex;align-items:center;gap:8px;padding:10px 14px;background:var(--surface2);border:1px solid var(--border);border-radius:12px;color:var(--text)}.attn b{font-size:18px;color:#f59e0b}.attn:hover{border-color:#f59e0b;text-decoration:none}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.statcard{display:flex;align-items:center;gap:16px;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);color:var(--text);transition:.2s}.statcard:hover{transform:translateY(-3px);text-decoration:none}.statcard b{display:block;font-size:30px;line-height:1.1}.statcard span:not(.statico){color:var(--muted);font-size:13px;font-weight:600}.statico{width:48px;height:48px;border-radius:14px;display:grid;place-items:center}.indigo .statico{background:#eef2ff;color:#4f46e5}.violet .statico{background:#f5f3ff;color:#7c3aed}.pink .statico{background:#fdf2f8;color:#db2777}.amber .statico{background:#fffbeb;color:#d97706}.teal .statico{background:#f0fdfa;color:#0d9488}.rose .statico{background:#fff1f2;color:#e11d48}[data-theme=dark] .statico{background:var(--primary-soft)!important}.skeleton-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.skeleton{height:90px;border-radius:var(--radius);background:linear-gradient(90deg,var(--surface) 25%,var(--surface2) 50%,var(--surface) 75%);background-size:200% 100%;animation:sh 1.2s infinite}@keyframes sh{to{background-position:-200% 0}}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}.gitem{padding:8px;margin:0;display:flex;flex-direction:column;gap:8px;transition:.2s}.gitem:hover{transform:translateY(-3px)}.gitem img{width:100%;height:120px;object-fit:cover;border-radius:10px}.msgbox{border-left:4px solid transparent}.msgbox.unread{border-left-color:var(--primary);background:color-mix(in srgb,var(--primary) 5%,var(--surface))}.msgbox .body{white-space:pre-wrap;color:var(--text)}.meta a{margin-right:14px}.loginwrap{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.loginhero{padding:56px;color:#fff;display:flex;flex-direction:column;justify-content:center;gap:18px;background:radial-gradient(circle at 20% 20%,#6366f1,transparent 55%),radial-gradient(circle at 80% 80%,#db2777,transparent 55%),#1e1b4b}.loginhero h1{font-size:38px;line-height:1.15;color:#fff}.loginhero p{color:#fffc;font-size:17px;max-width:420px}.loginform{display:grid;place-items:center;padding:32px;background:var(--bg)}.loginform form{width:100%;max-width:380px;background:var(--surface);padding:32px;border-radius:18px;border:1px solid var(--border);box-shadow:var(--shadow)}.loginform h2{margin:0 0 4px;font-size:24px}.sub{margin-bottom:20px}.pw{position:relative}.pw input{padding-right:48px!important}.pw .iconbtn{position:absolute;right:4px;top:4px;width:34px;height:34px;border:0}@media (max-width: 900px){.sidebar{position:fixed;left:0;top:0;transform:translate(-100%);transition:transform .25s;box-shadow:0 0 40px #0006}.sidebar.open{transform:none}.overlay.show{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:35}.menubtn{display:grid}.mail{display:none}.topbar{padding:10px 14px}.page{padding:18px 14px 60px}.loginwrap{grid-template-columns:1fr}.loginhero{display:none}}
