:root{--bg:#0a0a0a;--surface:#141414;--surface-2:#1c1c1c;--surface-3:#252525;--border:#2e2e2e;--border-strong:#3a3a3a;--text:#f0f0f0;--text-muted:#8a8a8a;--text-faint:#555;--accent:#e83657;--accent-hover:#f24e6d;--danger:#ef4444;--success:#22b573;--info:#4c9aff;--outline:#fff;--text-readonly:#a3a3a3;--radius:8px;--ring:0 0 0 3px color-mix(in srgb, var(--text) 12%, transparent);--focus:#9a9a9a;--font:"Inter", sans-serif;--font-serif:"Merriweather", serif;--font-mono:"DM Mono", monospace;--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}:root[data-theme=light]{--bg:#f5f5f5;--surface:#fff;--surface-2:#efefef;--surface-3:#e5e5e5;--border:#e4e4e4;--border-strong:#d2d2d2;--text:#141414;--text-muted:#5c5c5c;--text-faint:#8a8a8a;--outline:#141414;--text-readonly:#6b6b6b;--focus:#6b6b6b;--info:#2563eb;--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c5c5c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font);background:var(--bg);color:var(--text);min-height:100vh;transition:background-color .2s,color .2s}h1,h2,h3{font-family:var(--font-serif)}a{color:inherit;text-decoration:none}.btn{white-space:nowrap;border-radius:var(--radius);background:var(--accent);color:#fff;font-family:var(--font);cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:10px 20px;font-size:13px;font-weight:600;line-height:1.2;text-decoration:none;transition:all .15s;display:inline-flex}.btn:hover:not(:disabled){background:var(--accent-hover);transform:translateY(-1px)}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.btn-secondary{color:var(--text);border-color:var(--outline);background:0 0}.btn-secondary:hover:not(:disabled){background:color-mix(in srgb, var(--accent) 10%, transparent);color:var(--accent);border-color:var(--accent);transform:none}.btn-ghost{background:var(--surface-2);color:var(--text-muted);border-color:var(--border-strong)}.btn-ghost:hover:not(:disabled){background:var(--surface-3);color:var(--text);transform:none}.btn-danger{color:var(--danger);background:#ef44441a;border-color:#ef44444d}.btn-danger:hover:not(:disabled){background:#ef444433;border-color:#ef444480;transform:none}.btn-sm{padding:7px 14px;font-size:12px}.btn-block{width:100%}.btn-icon{border:1px solid var(--border-strong);width:30px;height:30px;color:var(--text-faint);font-family:var(--font);cursor:pointer;background:0 0;border-radius:6px;justify-content:center;align-items:center;font-size:14px;transition:all .15s;display:inline-flex}.btn-icon:hover:not(:disabled){background:var(--surface-3);color:var(--text);border-color:var(--text-faint)}.btn-icon.btn-danger{color:var(--text-faint);background:0 0}.btn-icon.btn-danger:hover:not(:disabled){color:var(--danger);background:#ef44441a;border-color:#ef44444d}.btn-link{color:var(--text-muted);font-family:var(--font);cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;transition:color .15s;display:inline-block}.btn-link:hover:not(:disabled){color:var(--accent)}.btn-link:disabled{opacity:.6;cursor:not-allowed}.dl-btn{background:var(--surface-3);width:28px;height:28px;color:var(--text);border-radius:6px;justify-content:center;align-items:center;font-size:14px;text-decoration:none;display:inline-flex}.dl-btn:hover{background:var(--accent);color:#fff}.field label,.form-group label{text-transform:uppercase;letter-spacing:.8px;color:var(--text-faint);margin-bottom:6px;font-size:10px;font-weight:700;display:block}.field input,.field select,.field textarea,.form-group input,.form-group select,.form-group textarea{background:var(--surface-2);border:1px solid var(--border-strong);border-radius:var(--radius);width:100%;color:var(--text);font-family:var(--font);box-sizing:border-box;outline:none;padding:10px 13px;font-size:13px;transition:all .2s}.field input:focus,.field select:focus,.field textarea:focus,.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--focus);box-shadow:var(--ring)}.field select,.form-group select{cursor:pointer}.field select option,.form-group select option{background:var(--surface-2)}.field input:disabled,.field select:disabled,.form-group input:disabled,.form-group select:disabled{opacity:.5;cursor:not-allowed}select:not([multiple]):not([size]){appearance:none;text-overflow:ellipsis;background-image:var(--select-chevron)!important;background-position:right 12px center!important;background-repeat:no-repeat!important;background-size:12px 12px!important;padding-right:36px!important}.alert{background:color-mix(in srgb, var(--danger) 8%, var(--surface));border:1px solid color-mix(in srgb, var(--danger) 30%, transparent);border-left:3px solid var(--danger);color:var(--text);border-radius:var(--radius);margin-bottom:16px;padding:10px 14px;font-size:13px}.success-msg{background:color-mix(in srgb, var(--success) 8%, var(--surface));border:1px solid color-mix(in srgb, var(--success) 30%, transparent);border-left:3px solid var(--success);color:var(--text);border-radius:var(--radius);margin-bottom:16px;padding:10px 14px;font-size:13px}.bell-wrap.svelte-vtze1i{position:relative}.bell.svelte-vtze1i{border:1px solid var(--border);width:36px;height:36px;color:var(--text-muted);cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;transition:all .15s;display:flex;position:relative}.bell.svelte-vtze1i:hover{background:var(--surface-2);color:var(--text);border-color:var(--border-strong)}.badge.svelte-vtze1i{color:#fff;background:#e83657;border-radius:99px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:700;display:flex;position:absolute;top:-6px;right:-6px}.panel.svelte-vtze1i{background:var(--surface);border:1px solid var(--border-strong);z-index:300;border-radius:12px;width:360px;max-width:calc(100vw - 24px);max-height:460px;position:absolute;top:46px;right:0;overflow-y:auto;box-shadow:0 16px 40px #00000059}.panel-head.svelte-vtze1i{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:12px 16px;font-size:13px;display:flex}.link.svelte-vtze1i{color:#e83657;cursor:pointer;background:0 0;border:0;font-size:12px;font-weight:600}.none.svelte-vtze1i{text-align:center;color:var(--text-muted);margin:0;padding:24px 16px;font-size:13px}ul.svelte-vtze1i{margin:0;padding:0;list-style:none}.item.svelte-vtze1i{text-align:left;border:0;border-bottom:1px solid var(--border);width:100%;color:var(--text-muted);cursor:pointer;background:0 0;flex-direction:column;gap:3px;padding:11px 16px;font-family:inherit;display:flex}.item.svelte-vtze1i:hover{background:var(--surface-2)}.item.unread.svelte-vtze1i{color:var(--text);background:#e8365712}.item.unread.svelte-vtze1i .msg:where(.svelte-vtze1i){font-weight:600}.msg.svelte-vtze1i{font-size:13px;line-height:1.4}.when.svelte-vtze1i{color:var(--text-faint);font-size:11px}.toaster.svelte-1kymlcg{z-index:2000;pointer-events:none;flex-direction:column;gap:10px;max-width:min(360px,100vw - 40px);display:flex;position:fixed;top:20px;right:20px}.toast.svelte-1kymlcg{pointer-events:auto;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border-strong);align-items:center;gap:10px;padding:12px 14px;font-size:13px;font-weight:500;display:flex;box-shadow:0 12px 32px #00000059}.toast.success.svelte-1kymlcg{color:var(--success);background:#22b5731f;border-color:#22b57366}.toast.error.svelte-1kymlcg{color:var(--danger);background:#ef44441f;border-color:#ef444466}.ti.svelte-1kymlcg{flex-shrink:0;align-items:center;display:flex}.tm.svelte-1kymlcg{color:var(--text);flex:1}.tx.svelte-1kymlcg{cursor:pointer;color:var(--text-faint);background:0 0;border:none;flex-shrink:0;align-items:center;padding:2px;display:flex}.tx.svelte-1kymlcg:hover{color:var(--text)}.shell.svelte-12qhfyh{min-height:100vh;display:flex}.sidebar.svelte-12qhfyh{background:var(--surface);border-right:1px solid var(--border);z-index:100;flex-direction:column;width:250px;transition:background-color .2s,border-color .2s,width .2s;display:flex;position:fixed;top:0;bottom:0;left:0;overflow:hidden}.sidebar-bar.svelte-12qhfyh{background:#e83657;height:3px}.sidebar-logo.svelte-12qhfyh{border-bottom:1px solid var(--border);justify-content:center;align-items:center;padding:16px 20px;display:flex}.sidebar-logo-img.svelte-12qhfyh{width:170px;height:auto;display:block}[data-theme=light] .sidebar-logo-img.svelte-12qhfyh{filter:invert()}.nav-section.svelte-12qhfyh{flex:1;padding:14px 10px 4px}.nav-label.svelte-12qhfyh{text-transform:uppercase;letter-spacing:1.2px;color:var(--text-faint);margin-bottom:4px;padding:0 10px;font-size:10px;font-weight:700}.nav-item.svelte-12qhfyh{color:var(--text-muted);border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;margin-bottom:2px;padding:9px 12px;font-size:13px;font-weight:500;transition:all .15s;display:flex}.nav-item.svelte-12qhfyh:hover{background:var(--surface-2);color:var(--text);border-color:var(--border)}.nav-item.active.svelte-12qhfyh{background:linear-gradient(135deg, color-mix(in srgb, var(--text) 8%, transparent), color-mix(in srgb, var(--text) 4%, transparent));color:var(--text);border-color:color-mix(in srgb, var(--text) 16%, transparent)}.nav-icon.svelte-12qhfyh{position:relative}.nav-badge.svelte-12qhfyh{color:#fff;text-align:center;background:#dc2626;border-radius:999px;min-width:18px;margin-left:auto;padding:1px 6px;font-size:11px;font-weight:600}.nav-dot.svelte-12qhfyh{background:#dc2626;border-radius:50%;width:8px;height:8px;display:none;position:absolute;top:-2px;right:0}.collapsed.svelte-12qhfyh .nav-badge:where(.svelte-12qhfyh){display:none}.collapsed.svelte-12qhfyh .nav-dot:where(.svelte-12qhfyh){display:block}.nav-icon.svelte-12qhfyh{flex-shrink:0;justify-content:center;align-items:center;width:22px;display:flex}.sidebar-bottom.svelte-12qhfyh{border-top:1px solid var(--border);margin-top:auto;padding:14px 10px}.user-card.svelte-12qhfyh{border-radius:8px;align-items:center;gap:10px;margin-bottom:8px;padding:10px 12px;display:flex}.avatar.svelte-12qhfyh{color:#fff;background:linear-gradient(135deg,#3a3a3a,#242424);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:12px;font-weight:800;display:flex}.user-info.svelte-12qhfyh .name:where(.svelte-12qhfyh){font-size:13px;font-weight:600}.user-info.svelte-12qhfyh .role:where(.svelte-12qhfyh){color:var(--text-muted);text-transform:capitalize;font-size:11px}.logout-btn.svelte-12qhfyh{border:1px solid var(--border);width:100%;color:var(--text-faint);cursor:pointer;background:0 0;border-radius:8px;padding:8px;font-family:Inter,sans-serif;font-size:12px;transition:all .15s}.logout-btn.svelte-12qhfyh:hover{background:var(--surface-2);color:#ef4444;border-color:#ef44444d}.topbar.svelte-12qhfyh{background:var(--surface);border-bottom:1px solid var(--border);z-index:99;justify-content:space-between;align-items:center;height:60px;padding:0 28px;transition:background-color .2s,border-color .2s,left .2s;display:flex;position:fixed;top:0;left:250px;right:0}.topbar-title.svelte-12qhfyh{font-family:Merriweather,serif;font-size:16px;font-weight:700}.topbar-right.svelte-12qhfyh{align-items:center;gap:14px;min-width:0;display:flex}.greeting.svelte-12qhfyh{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;max-width:360px;font-size:14px;overflow:hidden}.greeting.svelte-12qhfyh strong:where(.svelte-12qhfyh){color:var(--text);font-weight:600}@media (width<=720px){.greeting.svelte-12qhfyh{display:none}}.theme-toggle.svelte-12qhfyh{border:1px solid var(--border);width:36px;height:36px;color:var(--text-muted);cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;transition:all .15s;display:flex}.theme-toggle.svelte-12qhfyh:hover{background:var(--surface-2);color:var(--text);border-color:var(--border-strong)}.main.svelte-12qhfyh{flex:1;min-height:100vh;margin-left:250px;padding-top:60px;transition:margin-left .2s}.nav-text.svelte-12qhfyh{white-space:nowrap}.sidebar-logo-img.icon.svelte-12qhfyh{width:40px;height:40px;display:none}.collapse-btn.svelte-12qhfyh{width:100%;color:var(--text-muted);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;gap:8px;margin-bottom:8px;padding:8px;font-family:Inter,sans-serif;font-size:12px;transition:all .15s;display:flex}.collapse-btn.svelte-12qhfyh:hover{background:var(--surface-2);color:var(--text);border-color:var(--border-strong)}.logout-icon.svelte-12qhfyh{display:none}.logout-btn.svelte-12qhfyh{justify-content:center;align-items:center;gap:8px;display:flex}.collapsed.svelte-12qhfyh .sidebar:where(.svelte-12qhfyh){width:68px}.collapsed.svelte-12qhfyh .topbar:where(.svelte-12qhfyh){left:68px}.collapsed.svelte-12qhfyh .main:where(.svelte-12qhfyh){margin-left:68px}.collapsed.svelte-12qhfyh .sidebar-logo:where(.svelte-12qhfyh){padding:14px 0}.collapsed.svelte-12qhfyh .sidebar-logo-img.full:where(.svelte-12qhfyh){display:none}.collapsed.svelte-12qhfyh .sidebar-logo-img.icon:where(.svelte-12qhfyh){display:block}.collapsed.svelte-12qhfyh .nav-label:where(.svelte-12qhfyh),.collapsed.svelte-12qhfyh .nav-text:where(.svelte-12qhfyh),.collapsed.svelte-12qhfyh .user-info:where(.svelte-12qhfyh){display:none}.collapsed.svelte-12qhfyh .nav-section:where(.svelte-12qhfyh){padding-inline:8px}.collapsed.svelte-12qhfyh .nav-item:where(.svelte-12qhfyh){justify-content:center;padding:10px 0}.collapsed.svelte-12qhfyh .user-card:where(.svelte-12qhfyh){justify-content:center;padding-inline:0}.collapsed.svelte-12qhfyh .logout-icon:where(.svelte-12qhfyh){display:flex}
