:root{--bg:#f7f7f8;--surface:#fff;--border:#e2e2e6;--text:#1a1a1e;--text-muted:#65656f;--accent:#3b5bfd;--accent-text:#fff;--danger:#d1373f;--danger-bg:#fdecec;--success:#1a7f4e;--warning:#b7791f;--warning-bg:#fdf3dc;--success-bg:#e3f4ea;--info-bg:#e8edff;--radius:8px;--shadow:0 1px 3px #0000000f;--code-keyword:#9333c9;--code-string:#1a7f4e;--code-number:#b5540b;--code-comment:#65656f;--code-function:#3b5bfd;--code-operator:#1a1a1e;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#17181c;--surface:#1f2025;--border:#34353c;--text:#eceef2;--text-muted:#9a9ba6;--accent:#6b84ff;--accent-text:#0c0e14;--danger:#ff6b70;--danger-bg:#3a1f22;--success:#4fd695;--warning:#f0b34a;--warning-bg:#3a2f17;--success-bg:#17301f;--info-bg:#222a4d;--code-keyword:#c792ea;--code-string:#4fd695;--code-number:#f0a45d;--code-comment:#9a9ba6;--code-function:#6b84ff;--code-operator:#eceef2;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{height:100%;margin:0;padding:0}body{background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.5}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}input,select,textarea,button{font-family:inherit;font-size:inherit;color:inherit}input,select,textarea{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:100%;padding:.5rem .6rem}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:-1px}label{color:var(--text-muted);margin-bottom:.25rem;font-size:.8rem;font-weight:600;display:block}.field{margin-bottom:.9rem}button{cursor:pointer;border:1px solid var(--border);background:var(--surface);border-radius:var(--radius);padding:.5rem .9rem;font-weight:600}button:hover{filter:brightness(.97)}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}button.danger{background:var(--danger-bg);color:var(--danger);border-color:var(--danger-bg)}button.ghost{background:0 0;border-color:#0000}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.1rem}.muted{color:var(--text-muted)}.error-banner{background:var(--danger-bg);color:var(--danger);border-radius:var(--radius);margin-bottom:.9rem;padding:.6rem .8rem;font-size:.85rem}.tag-chip{background:var(--bg);border:1px solid var(--border);color:var(--text-muted);border-radius:999px;align-items:center;gap:.3rem;padding:.15rem .6rem;font-size:.78rem;display:inline-flex}.tag-chip b{color:var(--text);font-weight:600}.container{max-width:960px;margin:0 auto;padding:1.5rem 1.25rem 3rem}.viewer-banner.svelte-12qhfyh{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);max-width:1100px;color:var(--text-muted);margin:.75rem auto 0;padding:.45rem .8rem;font-size:.85rem}.topbar.svelte-12qhfyh{z-index:30;border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(10px);position:sticky;top:0;box-shadow:0 1px #00000005,0 4px 16px -8px #00000014}.topbar-accent.svelte-12qhfyh{background:linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #8b5cf6));height:3px}.topbar-inner.svelte-12qhfyh{flex-direction:column;gap:.5rem;max-width:1100px;margin:0 auto;padding:.65rem 1.25rem .55rem;display:flex}.topbar-main.svelte-12qhfyh{justify-content:space-between;align-items:center;gap:1rem;display:flex}.brand.svelte-12qhfyh{color:var(--text);white-space:nowrap;letter-spacing:-.01em;align-items:center;gap:.5rem;font-size:1.02rem;font-weight:800;transition:opacity .15s;display:flex}.brand.svelte-12qhfyh:hover{opacity:.82;text-decoration:none}.brand-logo.svelte-12qhfyh{object-fit:contain;width:auto;max-width:6rem;height:1.6rem}nav.svelte-12qhfyh{flex-wrap:wrap;align-items:center;gap:.15rem;display:flex}.nav-link.svelte-12qhfyh{color:var(--text-muted);white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:.2rem;padding:.4rem .65rem;font-size:.85rem;font-weight:600;transition:color .15s,background-color .15s;display:inline-flex;position:relative}.nav-link.svelte-12qhfyh:hover{color:var(--text);background:var(--bg);text-decoration:none}.nav-link.active.svelte-12qhfyh{color:var(--accent);background:color-mix(in srgb, var(--accent) 12%, transparent)}.nav-dropdown.svelte-12qhfyh{position:relative}.caret.svelte-12qhfyh{font-size:.65rem;transition:transform .15s;display:inline-block}.caret.open.svelte-12qhfyh{transform:rotate(180deg)}.dropdown-menu.svelte-12qhfyh{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:.1rem;min-width:160px;padding:.35rem;animation:.12s both svelte-12qhfyh-dropdown-in;display:flex;position:absolute;top:calc(100% + .4rem);left:0;box-shadow:0 12px 28px -10px #00000040}@keyframes svelte-12qhfyh-dropdown-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.dropdown-item.svelte-12qhfyh{color:var(--text-muted);border-radius:6px;padding:.45rem .6rem;font-size:.85rem;font-weight:600;display:block}.dropdown-item.svelte-12qhfyh:hover{color:var(--text);background:var(--bg);text-decoration:none}.dropdown-item.active.svelte-12qhfyh{color:var(--accent);background:color-mix(in srgb, var(--accent) 12%, transparent)}.dropdown-menu-right.svelte-12qhfyh{left:auto;right:0}.topbar-right.svelte-12qhfyh{align-items:center;gap:.6rem;display:flex}.theme-toggle.svelte-12qhfyh{border-radius:999px;padding:.35rem .55rem;font-size:1rem;line-height:1}.user-chip.svelte-12qhfyh{background:var(--bg);border:1px solid var(--border);cursor:pointer;font:inherit;border-radius:999px;align-items:center;gap:.45rem;padding:.25rem .7rem .25rem .25rem;display:flex}.user-chip.svelte-12qhfyh .caret:where(.svelte-12qhfyh){color:var(--text-muted)}.user-avatar.svelte-12qhfyh{background:linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #8b5cf6));width:1.7rem;height:1.7rem;color:var(--accent-text);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.75rem;font-weight:700;display:flex}.user-name.svelte-12qhfyh{color:var(--text);text-overflow:ellipsis;white-space:nowrap;max-width:9rem;font-size:.83rem;font-weight:600;overflow:hidden}.logout-btn.svelte-12qhfyh{border-radius:999px;font-size:.83rem}.logout-btn.svelte-12qhfyh:hover{color:var(--danger)}.lock-banner.svelte-12qhfyh{background:var(--danger-bg);color:var(--danger);flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem;padding:.6rem 1.25rem;font-size:.85rem;display:flex}.lock-banner.svelte-12qhfyh form:where(.svelte-12qhfyh){gap:.5rem;display:flex}.lock-banner.svelte-12qhfyh input:where(.svelte-12qhfyh){width:200px}.lock-banner-error.svelte-12qhfyh{text-align:center;color:var(--danger);padding:.25rem;font-size:.8rem}
