.user-avatar-container.svelte-1kg0ab6{position:relative;margin-left:.5rem}.avatar-button.svelte-1kg0ab6{width:34px;height:34px;border-radius:50%;cursor:pointer;overflow:hidden;border:2px solid var(--border);transition:border-color .2s ease}.avatar-button.svelte-1kg0ab6:hover{border-color:var(--primary)}.avatar-img.svelte-1kg0ab6{width:100%;height:100%;object-fit:cover}.avatar-fallback.svelte-1kg0ab6{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:var(--primary);color:#fff;font-weight:600;font-size:.875rem}.dropdown.svelte-1kg0ab6{position:absolute;top:calc(100% + .5rem);right:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xl);min-width:220px;z-index:100;overflow:hidden}.dropdown-header.svelte-1kg0ab6{padding:.75rem 1rem;display:flex;flex-direction:column;gap:.125rem}.dropdown-name.svelte-1kg0ab6{font-weight:600;font-size:.875rem;color:var(--text)}.dropdown-email.svelte-1kg0ab6{font-size:.75rem;color:var(--text-secondary)}.dropdown-divider.svelte-1kg0ab6{height:1px;background:var(--border)}.dropdown-item.svelte-1kg0ab6{display:flex;align-items:center;gap:.5rem;width:100%;padding:.625rem 1rem;background:transparent;border:none;color:var(--text-secondary);font-size:.875rem;cursor:pointer;transition:all .15s ease;font-family:inherit}.dropdown-item.svelte-1kg0ab6:hover{background:var(--surface-light);color:var(--error)}.navbar.svelte-q971rm{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1000;padding:1rem 0;margin-bottom:2rem;border-bottom:1px solid var(--border)}.nav-logo.svelte-q971rm{display:flex;align-items:center;text-decoration:none;color:var(--text);transition:opacity .2s ease}.nav-logo.svelte-q971rm:hover{opacity:.85}.lockup.svelte-q971rm{display:inline-flex;align-items:baseline;font-family:var(--font-display, "SF Pro Display", system-ui, sans-serif);font-size:28px;font-weight:700;letter-spacing:-.035em;line-height:1;color:var(--text)}.istem.svelte-q971rm{position:relative;display:inline-block}.istem.svelte-q971rm .stem:where(.svelte-q971rm){color:inherit}.spark.svelte-q971rm{position:absolute;left:50%;bottom:.78em;transform:translate(calc(-50% + .012em),50%);width:.22em;height:.22em;border-radius:50%;background:linear-gradient(135deg,var(--brand-spark-a, #2e7bff) 0%,var(--brand-spark-b, #1fb6c6) 55%,var(--brand-spark-c, #3be2a8) 100%);box-shadow:0 0 .16em #3be2a88c,0 0 .4em #2e7bff59}.rest.svelte-q971rm{color:inherit}.ip.svelte-q971rm{background:linear-gradient(135deg,var(--brand-spark-a, #2e7bff) 0%,var(--brand-spark-b, #1fb6c6) 55%,var(--brand-spark-d, #20c997) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700}.sr-only.svelte-q971rm{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.nav-links.svelte-q971rm{display:flex;gap:.25rem}.nav-link.svelte-q971rm{padding:.5rem 1rem;border-radius:var(--radius-md);text-decoration:none;color:var(--text-secondary);font-size:.925rem;font-weight:500;transition:all .2s ease}.nav-link.svelte-q971rm:hover{color:var(--text);background:var(--surface)}.nav-link.active.svelte-q971rm{color:var(--primary);background:#3b82f61a}.nav-chat-btn.svelte-q971rm{display:flex;align-items:center;justify-content:center;padding:.5rem;border-radius:var(--radius-md);border:1px solid var(--border);background:transparent;color:var(--text-secondary);cursor:pointer;transition:all .2s ease;margin-left:.5rem}.nav-chat-btn.svelte-q971rm:hover{color:var(--text);border-color:var(--primary);background:#3b82f61a}.nav-chat-btn.active.svelte-q971rm{color:var(--primary);border-color:var(--primary);background:#3b82f61a}@media(max-width:768px){.navbar.svelte-q971rm{flex-direction:column;gap:1rem}.nav-links.svelte-q971rm{width:100%;justify-content:center}.nav-link.svelte-q971rm{padding:.5rem .75rem;font-size:.875rem}}.modal-backdrop.svelte-1kv3wqb{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content.svelte-1kv3wqb{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-xl);width:100%;max-width:520px;max-height:90vh;overflow-y:auto;box-shadow:var(--shadow-xl)}.modal-header.svelte-1kv3wqb{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid var(--border)}.modal-header.svelte-1kv3wqb h3:where(.svelte-1kv3wqb){font-size:1.125rem;font-weight:600;color:var(--text)}.close-btn.svelte-1kv3wqb{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.25rem;border-radius:var(--radius-sm);transition:all .2s ease}.close-btn.svelte-1kv3wqb:hover{color:var(--text);background:var(--surface-light)}.bug-form.svelte-1kv3wqb{padding:1.5rem;display:flex;flex-direction:column;gap:1.25rem}.field.svelte-1kv3wqb{display:flex;flex-direction:column;gap:.375rem}.field.svelte-1kv3wqb label:where(.svelte-1kv3wqb){font-size:.875rem;font-weight:500;color:var(--text)}.required.svelte-1kv3wqb{color:var(--error)}.field.svelte-1kv3wqb input:where(.svelte-1kv3wqb),.field.svelte-1kv3wqb textarea:where(.svelte-1kv3wqb){background:var(--background);border:1px solid var(--border);border-radius:var(--radius-md);padding:.625rem .875rem;color:var(--text);font-size:.925rem;font-family:inherit;transition:border-color .2s ease}.field.svelte-1kv3wqb input:where(.svelte-1kv3wqb):focus,.field.svelte-1kv3wqb textarea:where(.svelte-1kv3wqb):focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #3b82f61a}.field.svelte-1kv3wqb textarea:where(.svelte-1kv3wqb){resize:vertical;min-height:80px}.field.svelte-1kv3wqb small:where(.svelte-1kv3wqb){color:var(--text-secondary);font-size:.75rem;text-align:right}.context-section.svelte-1kv3wqb{border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}.context-toggle.svelte-1kv3wqb{width:100%;display:flex;align-items:center;justify-content:space-between;padding:.625rem .875rem;background:var(--background);border:none;color:var(--text-secondary);font-size:.813rem;cursor:pointer;transition:color .2s ease}.context-toggle.svelte-1kv3wqb:hover{color:var(--text)}.toggle-arrow.svelte-1kv3wqb{font-size:.625rem;transition:transform .2s ease}.toggle-arrow.expanded.svelte-1kv3wqb{transform:rotate(180deg)}.context-preview.svelte-1kv3wqb{padding:.75rem;background:var(--background);border-top:1px solid var(--border);font-size:.75rem;color:var(--text-secondary);overflow-x:auto;white-space:pre-wrap;word-break:break-all;max-height:200px;overflow-y:auto;margin:0}.error-msg.svelte-1kv3wqb{padding:.75rem;background:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:var(--radius-md);color:var(--error);font-size:.875rem}.form-actions.svelte-1kv3wqb{display:flex;gap:.75rem;justify-content:flex-end;padding-top:.5rem}.cancel-btn.svelte-1kv3wqb{padding:.625rem 1.25rem;background:transparent;border:1px solid var(--border);border-radius:var(--radius-md);color:var(--text-secondary);font-size:.875rem;cursor:pointer;transition:all .2s ease}.cancel-btn.svelte-1kv3wqb:hover{border-color:var(--text-secondary);color:var(--text)}.submit-btn.svelte-1kv3wqb{padding:.625rem 1.25rem;background:var(--error);border:none;border-radius:var(--radius-md);color:#fff;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.submit-btn.svelte-1kv3wqb:hover:not(:disabled){filter:brightness(1.1);transform:translateY(-1px)}.submit-btn.svelte-1kv3wqb:disabled{opacity:.5;cursor:not-allowed}.success-state.svelte-1kv3wqb{padding:2rem 1.5rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:1rem}.success-icon.svelte-1kv3wqb{color:var(--success)}.success-state.svelte-1kv3wqb p:where(.svelte-1kv3wqb){font-size:1rem;font-weight:500;color:var(--text)}.issue-link.svelte-1kv3wqb{color:var(--primary-light);font-size:.925rem;text-decoration:none;transition:color .2s ease}.issue-link.svelte-1kv3wqb:hover{color:var(--primary);text-decoration:underline}.done-btn.svelte-1kv3wqb{margin-top:.5rem;padding:.625rem 2rem;background:var(--primary);border:none;border-radius:var(--radius-md);color:#fff;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.done-btn.svelte-1kv3wqb:hover{background:var(--primary-dark)}.bug-report-btn.svelte-e6k5xw{position:fixed;bottom:1.5rem;right:1.5rem;width:44px;height:44px;border-radius:50%;background:var(--surface);border:1px solid var(--border);color:var(--text-secondary);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-lg);transition:all .2s ease;z-index:900}.bug-report-btn.svelte-e6k5xw:hover{background:var(--surface-light);color:var(--error);border-color:var(--error);transform:translateY(-2px);box-shadow:var(--shadow-xl)}.chat-message.svelte-1ebqwt{display:flex;margin-bottom:.75rem;padding:0 .5rem}.chat-message.user.svelte-1ebqwt{justify-content:flex-end}.chat-message.assistant.svelte-1ebqwt{justify-content:flex-start}.message-bubble.svelte-1ebqwt{max-width:85%;padding:.625rem .875rem;border-radius:var(--radius-lg);font-size:.875rem;line-height:1.5;word-break:break-word}.user.svelte-1ebqwt .message-bubble:where(.svelte-1ebqwt){background:var(--primary);color:#fff;border-bottom-right-radius:var(--radius-sm)}.assistant.svelte-1ebqwt .message-bubble:where(.svelte-1ebqwt){background:var(--surface-light);color:var(--text);border-bottom-left-radius:var(--radius-sm)}.message-text.svelte-1ebqwt{margin:0;white-space:pre-wrap}.tool-call.svelte-1ebqwt{margin-top:.375rem;padding:.375rem .5rem;background:#3b82f61a;border-radius:var(--radius-sm);font-size:.8rem}.tool-label.svelte-1ebqwt{color:var(--primary-light);font-weight:500}.tool-result.svelte-1ebqwt{margin-top:.375rem;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}.tool-result-label.svelte-1ebqwt{display:block;padding:.25rem .5rem;background:var(--surface);font-size:.75rem;font-weight:600;color:var(--secondary);text-transform:uppercase;letter-spacing:.03em}.tool-result-data.svelte-1ebqwt{margin:0;padding:.5rem;font-size:.8rem;font-family:SF Mono,Monaco,Inconsolata,monospace;color:var(--text-secondary);white-space:pre-wrap;word-break:break-word;max-height:200px;overflow-y:auto}.streaming-indicator.svelte-1ebqwt{display:inline-block;width:6px;height:6px;background:var(--primary-light);border-radius:50%;margin-left:.25rem;animation:svelte-1ebqwt-pulse 1s ease-in-out infinite}@keyframes svelte-1ebqwt-pulse{0%,to{opacity:.3}50%{opacity:1}}.chat-backdrop.svelte-1csz7wk{position:fixed;inset:0;background:#0000004d;z-index:998}.chat-panel.svelte-1csz7wk{position:fixed;top:0;right:0;width:420px;max-width:100vw;height:100vh;background:var(--background);border-left:1px solid var(--border);z-index:999;display:flex;flex-direction:column;box-shadow:-4px 0 20px #0000004d}.chat-header.svelte-1csz7wk{display:flex;align-items:center;justify-content:space-between;padding:.875rem 1rem;border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0}.chat-header.svelte-1csz7wk h3:where(.svelte-1csz7wk){font-size:1rem;font-weight:600;margin:0}.header-actions.svelte-1csz7wk{display:flex;gap:.25rem}.header-btn.svelte-1csz7wk{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.375rem;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;transition:all .15s ease}.header-btn.svelte-1csz7wk:hover{color:var(--text);background:var(--surface-light)}.chat-messages.svelte-1csz7wk{flex:1;overflow-y:auto;padding:1rem .5rem;scroll-behavior:smooth}.chat-messages.svelte-1csz7wk::-webkit-scrollbar{width:5px}.chat-messages.svelte-1csz7wk::-webkit-scrollbar-track{background:transparent}.chat-messages.svelte-1csz7wk::-webkit-scrollbar-thumb{background:var(--surface-light);border-radius:3px}.empty-state.svelte-1csz7wk{text-align:center;padding:2rem 1rem;color:var(--text-secondary)}.empty-state.svelte-1csz7wk p:where(.svelte-1csz7wk){margin:0 0 .5rem;font-size:.925rem}.suggested-questions.svelte-1csz7wk{display:flex;flex-direction:column;gap:.5rem;margin-top:1rem;padding:0 .5rem}.suggested-questions.follow-up.svelte-1csz7wk{padding:.5rem;margin-bottom:.5rem}.suggestion-chip.svelte-1csz7wk{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:.5rem .75rem;color:var(--text-secondary);font-size:.813rem;font-family:inherit;text-align:left;cursor:pointer;transition:all .15s ease;line-height:1.4}.suggestion-chip.svelte-1csz7wk:hover:not(:disabled){border-color:var(--primary);color:var(--primary-light);background:#3b82f60d}.suggestion-chip.svelte-1csz7wk:disabled{opacity:.4;cursor:not-allowed}.chat-input-area.svelte-1csz7wk{display:flex;gap:.5rem;padding:.75rem 1rem;border-top:1px solid var(--border);background:var(--surface);flex-shrink:0;align-items:flex-end}.chat-input-area.svelte-1csz7wk textarea:where(.svelte-1csz7wk){flex:1;background:var(--background);border:1px solid var(--border);border-radius:var(--radius-md);padding:.625rem .75rem;color:var(--text);font-size:.875rem;font-family:inherit;resize:none;min-height:38px;max-height:120px;line-height:1.4;transition:border-color .15s ease}.chat-input-area.svelte-1csz7wk textarea:where(.svelte-1csz7wk):focus{outline:none;border-color:var(--primary)}.chat-input-area.svelte-1csz7wk textarea:where(.svelte-1csz7wk):disabled{opacity:.5}.send-btn.svelte-1csz7wk{background:var(--primary);color:#fff;border:none;border-radius:var(--radius-md);width:38px;height:38px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:all .15s ease}.send-btn.svelte-1csz7wk:hover:not(:disabled){background:var(--primary-dark)}.send-btn.svelte-1csz7wk:disabled{opacity:.4;cursor:not-allowed}.spinner.svelte-1csz7wk{animation:svelte-1csz7wk-spin 1s linear infinite}@keyframes svelte-1csz7wk-spin{to{transform:rotate(360deg)}}@media(max-width:480px){.chat-panel.svelte-1csz7wk{width:100vw}}:root{color-scheme:dark light;--bg-canvas: #07080b;--bg-canvas-elev: #0c0e13;--bg-canvas-light: #f2f3f6;--bg-canvas-elev-light: #ffffff;--ink-1: rgba(255, 255, 255, .96);--ink-2: rgba(255, 255, 255, .72);--ink-3: rgba(255, 255, 255, .48);--ink-4: rgba(255, 255, 255, .28);--ink-invert: #0a0b0e;--ink-1-light: rgba(10, 11, 14, .96);--ink-2-light: rgba(10, 11, 14, .68);--ink-3-light: rgba(10, 11, 14, .44);--ink-4-light: rgba(10, 11, 14, .24);--glass-thin: rgba(255, 255, 255, .04);--glass-regular: rgba(255, 255, 255, .07);--glass-thick: rgba(255, 255, 255, .11);--glass-chrome: rgba(18, 20, 26, .62);--glass-sheet: rgba(22, 24, 30, .78);--glass-thin-light: rgba(255, 255, 255, .55);--glass-regular-light: rgba(255, 255, 255, .7);--glass-thick-light: rgba(255, 255, 255, .82);--glass-chrome-light: rgba(255, 255, 255, .72);--glass-edge-top: inset 0 1px 0 rgba(255, 255, 255, .14);--glass-edge-bottom: inset 0 -1px 0 rgba(0, 0, 0, .35);--glass-edge-ring: inset 0 0 0 1px rgba(255, 255, 255, .08);--glass-edge-ring-light: inset 0 0 0 1px rgba(10, 11, 14, .08);--accent-primary: #4c8dff;--accent-primary-hover: #3a7df5;--accent-primary-soft: rgba(76, 141, 255, .16);--accent-primary-ring: rgba(76, 141, 255, .45);--accent-success: #30d158;--accent-success-soft: rgba(48, 209, 88, .16);--accent-warning: #ffb340;--accent-warning-soft: rgba(255, 179, 64, .18);--accent-critical: #ff453a;--accent-critical-soft: rgba(255, 69, 58, .16);--accent-insight: #bf5af2;--accent-insight-soft: rgba(191, 90, 242, .16);--brand-spark-a: #2e7bff;--brand-spark-b: #1fb6c6;--brand-spark-c: #3be2a8;--brand-spark-d: #20c997;--jur-us: #4c8dff;--jur-eu: #ffb340;--jur-cn: #ff453a;--jur-jp: #ff375f;--jur-kr: #32d4c8;--jur-wo: #bf5af2;--blur-thin: 12px;--blur-regular: 24px;--blur-thick: 40px;--blur-heavy: 64px;--radius-xs: 6px;--radius-sm: 10px;--radius-md: 14px;--radius-lg: 20px;--radius-xl: 28px;--radius-2xl: 36px;--radius-pill: 999px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 24px;--space-6: 32px;--space-7: 48px;--space-8: 64px;--space-9: 96px;--shadow-modal: 0 24px 64px -12px rgba(0, 0, 0, .55), 0 8px 24px -8px rgba(0, 0, 0, .35);--shadow-popover: 0 12px 32px -8px rgba(0, 0, 0, .45);--ease-standard: cubic-bezier(.22, 1, .36, 1);--ease-spring: cubic-bezier(.34, 1.56, .64, 1);--ease-decel: cubic-bezier(0, 0, .2, 1);--ease-accel: cubic-bezier(.4, 0, 1, 1);--dur-fast: .14s;--dur-base: .24s;--dur-slow: .42s;--dur-sheet: .56s;--font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter Display", "Inter", system-ui, sans-serif;--font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;--font-mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;--t-display-xl: 56px;--lh-display-xl: 60px;--tr-display-xl: -.03em;--t-display-lg: 40px;--lh-display-lg: 44px;--tr-display-lg: -.025em;--t-display-md: 32px;--lh-display-md: 36px;--tr-display-md: -.02em;--t-title-lg: 24px;--lh-title-lg: 30px;--tr-title-lg: -.015em;--t-title-md: 20px;--lh-title-md: 26px;--tr-title-md: -.01em;--t-title-sm: 17px;--lh-title-sm: 22px;--tr-title-sm: -.005em;--t-body: 15px;--lh-body: 22px;--tr-body: 0;--t-body-sm: 13px;--lh-body-sm: 18px;--tr-body-sm: 0;--t-caption: 12px;--lh-caption: 16px;--tr-caption: .01em;--t-micro: 11px;--lh-micro: 14px;--tr-micro: .04em}.glass{background:var(--glass-regular);backdrop-filter:blur(var(--blur-regular)) saturate(160%);-webkit-backdrop-filter:blur(var(--blur-regular)) saturate(160%);box-shadow:var(--glass-edge-top),var(--glass-edge-ring);border-radius:var(--radius-lg)}.glass--thin{background:var(--glass-thin);backdrop-filter:blur(var(--blur-thin)) saturate(140%);-webkit-backdrop-filter:blur(var(--blur-thin)) saturate(140%)}.glass--thick{background:var(--glass-thick);backdrop-filter:blur(var(--blur-thick)) saturate(180%);-webkit-backdrop-filter:blur(var(--blur-thick)) saturate(180%)}.glass--chrome{background:var(--glass-chrome);backdrop-filter:blur(var(--blur-thick)) saturate(180%);-webkit-backdrop-filter:blur(var(--blur-thick)) saturate(180%)}.glass--sheet{background:var(--glass-sheet);backdrop-filter:blur(var(--blur-heavy)) saturate(180%);-webkit-backdrop-filter:blur(var(--blur-heavy)) saturate(180%);box-shadow:var(--shadow-modal),var(--glass-edge-top),var(--glass-edge-ring)}.t-display-xl{font-family:var(--font-display);font-size:var(--t-display-xl);line-height:var(--lh-display-xl);letter-spacing:var(--tr-display-xl);font-weight:700}.t-display-lg{font-family:var(--font-display);font-size:var(--t-display-lg);line-height:var(--lh-display-lg);letter-spacing:var(--tr-display-lg);font-weight:600}.t-display-md{font-family:var(--font-display);font-size:var(--t-display-md);line-height:var(--lh-display-md);letter-spacing:var(--tr-display-md);font-weight:600}.t-title-lg{font-family:var(--font-display);font-size:var(--t-title-lg);line-height:var(--lh-title-lg);letter-spacing:var(--tr-title-lg);font-weight:600}.t-title-md{font-family:var(--font-display);font-size:var(--t-title-md);line-height:var(--lh-title-md);letter-spacing:var(--tr-title-md);font-weight:600}.t-title-sm{font-family:var(--font-text);font-size:var(--t-title-sm);line-height:var(--lh-title-sm);letter-spacing:var(--tr-title-sm);font-weight:600}.t-body{font-family:var(--font-text);font-size:var(--t-body);line-height:var(--lh-body);font-weight:400}.t-body-sm{font-family:var(--font-text);font-size:var(--t-body-sm);line-height:var(--lh-body-sm);font-weight:400}.t-caption{font-family:var(--font-text);font-size:var(--t-caption);line-height:var(--lh-caption);letter-spacing:var(--tr-caption);font-weight:500;color:var(--ink-2)}.t-micro{font-family:var(--font-text);font-size:var(--t-micro);line-height:var(--lh-micro);letter-spacing:var(--tr-micro);font-weight:600;text-transform:uppercase;color:var(--ink-3)}.t-mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.ambient-bg{position:absolute;inset:0;overflow:hidden;z-index:0;pointer-events:none}.ambient-bg:before,.ambient-bg:after,.ambient-bg .blob{content:"";position:absolute;border-radius:50%;filter:blur(80px);opacity:.85}.ambient-bg:before{width:620px;height:620px;left:-120px;top:-120px;background:radial-gradient(circle,#4c8dff 0%,transparent 65%)}.ambient-bg:after{width:540px;height:540px;right:-80px;bottom:-140px;background:radial-gradient(circle,#bf5af2 0%,transparent 65%)}.ambient-bg .blob-1{width:420px;height:420px;left:40%;top:30%;background:radial-gradient(circle,#32d4c8 0%,transparent 65%);opacity:.55}.ambient-bg .blob-2{width:380px;height:380px;right:20%;top:-60px;background:radial-gradient(circle,#ff453a 0%,transparent 65%);opacity:.45}.ambient-bg .grain{position:absolute;inset:0;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");opacity:.35;mix-blend-mode:overlay;filter:none;border-radius:0}.ambient-bg.is-light:before{background:radial-gradient(circle,#4c8dff 0%,transparent 65%);opacity:.35}.ambient-bg.is-light:after{background:radial-gradient(circle,#bf5af2 0%,transparent 65%);opacity:.28}.ambient-bg.is-light .blob-1{opacity:.22}.ambient-bg.is-light .blob-2{opacity:.18}:root{--primary: #3b82f6;--primary-dark: #2563eb;--primary-light: #60a5fa;--secondary: #10b981;--background: #0f172a;--surface: #1e293b;--surface-light: #334155;--text: #f8fafc;--text-secondary: #94a3b8;--border: #334155;--error: #ef4444;--success: #10b981;--warning: #f59e0b;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1);--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1);--radius-sm: .375rem;--radius-md: .5rem;--radius-lg: .75rem;--radius-xl: 1rem}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:var(--background);color:var(--text);line-height:1.6;min-height:100vh}.auth-loading.svelte-12qhfyh{display:flex;align-items:center;justify-content:center;min-height:100vh}.container.svelte-12qhfyh{max-width:1200px;margin:0 auto;padding:2rem}.search-container{background:var(--surface);border-radius:var(--radius-xl);padding:2.5rem;border:1px solid var(--border);box-shadow:var(--shadow-xl);margin-bottom:2rem}.search-header{text-align:center;margin-bottom:2rem}.search-header h2{font-size:1.875rem;margin-bottom:.5rem;color:var(--text)}.search-header p{color:var(--text-secondary);font-size:.925rem}.search-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.form-group label{color:var(--text);font-weight:500;font-size:.925rem}.form-group input,.form-group textarea,.form-group select{background:var(--background);border:1px solid var(--border);border-radius:var(--radius-md);padding:.75rem 1rem;color:var(--text);font-size:1rem;font-family:inherit;transition:all .2s ease}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #3b82f61a}.form-group textarea{resize:vertical;min-height:100px}.form-group small{color:var(--text-secondary);font-size:.813rem;font-style:italic}.search-button{background:var(--primary);color:#fff;border:none;border-radius:var(--radius-md);padding:1rem 2rem;font-size:1.125rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.75rem;margin-top:1rem}.search-button:hover:not(:disabled){background:var(--primary-dark);transform:translateY(-1px);box-shadow:var(--shadow-md)}.search-button:disabled{opacity:.6;cursor:not-allowed}.button-icon{width:20px;height:20px}.advanced-toggle{text-align:center;margin:1rem 0}.advanced-toggle-btn{background:transparent;border:1px solid var(--border);border-radius:var(--radius-md);padding:.75rem 1.5rem;color:var(--text-secondary);font-size:.925rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.5rem}.advanced-toggle-btn:hover{border-color:var(--primary);color:var(--primary)}.advanced-toggle-btn.expanded .toggle-icon{transform:rotate(180deg)}.toggle-icon{width:16px;height:16px;transition:transform .2s ease}.advanced-options{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:1.5rem}.checkbox-group{margin-top:.5rem}.checkbox-label{display:flex;align-items:flex-start;gap:.75rem;cursor:pointer;padding:1rem;background:var(--background);border:1px solid var(--border);border-radius:var(--radius-md);transition:all .2s ease}.checkbox-label:hover{border-color:var(--primary);background:#3b82f60d}.checkbox-label input[type=checkbox]{width:20px;height:20px;min-width:20px;margin-top:.125rem;cursor:pointer;accent-color:var(--primary)}.checkbox-text{display:flex;flex-direction:column;gap:.25rem}.checkbox-text strong{color:var(--text);font-size:1rem}.checkbox-text small{color:var(--text-secondary);font-size:.813rem}.loading{text-align:center;padding:3rem;background:var(--surface);border-radius:var(--radius-xl);border:1px solid var(--border);margin-bottom:2rem}.loading-spinner{width:48px;height:48px;border:4px solid var(--surface-light);border-top-color:var(--primary);border-radius:50%;margin:0 auto 1rem;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-detail{color:var(--text-secondary);font-size:.875rem;margin-top:.5rem}.loading-progress{width:100%;max-width:300px;height:4px;background:var(--surface-light);border-radius:var(--radius-sm);overflow:hidden;margin:1rem auto}.progress-bar{height:100%;background:var(--primary);transition:width .2s ease;border-radius:var(--radius-sm)}.results{margin-bottom:2rem}.results-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;background:var(--surface);border-radius:var(--radius-lg) var(--radius-lg) 0 0;border:1px solid var(--border);border-bottom:none}.results-header h3{font-size:1.5rem}.results-meta{display:flex;align-items:center;gap:.75rem;color:var(--text-secondary);font-size:.875rem}.separator{color:var(--border)}.results-controls{display:flex;gap:1.5rem;padding:1rem 1.25rem;background:var(--background);border:1px solid var(--border);border-radius:var(--radius-md);margin-bottom:1.5rem;flex-wrap:wrap;align-items:center}.filter-group{display:flex;align-items:center;gap:.5rem}.filter-group label{font-size:.875rem;color:var(--text-secondary);font-weight:500;white-space:nowrap}.filter-group select{background:var(--surface-light);border:1px solid var(--border);padding:.5rem .75rem;border-radius:var(--radius-sm);color:var(--text);font-size:.875rem;cursor:pointer;transition:all .2s ease}.filter-group select:hover{border-color:var(--primary)}.filter-group select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #3b82f61a}.results-list{background:var(--surface);border:1px solid var(--border);border-radius:0 0 var(--radius-lg) var(--radius-lg);padding:1.5rem;display:flex;flex-direction:column;gap:1.5rem}.result-card{background:var(--background);border:1px solid var(--border);border-radius:var(--radius-md);padding:1.5rem;transition:all .2s ease}.result-card:hover{border-color:var(--primary);transform:translateY(-2px);box-shadow:var(--shadow-lg)}.result-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:1rem}.result-title{font-size:1.125rem;font-weight:600;color:var(--text);margin-bottom:.5rem}.result-publication{color:var(--primary);font-size:.875rem;font-weight:500}.score-container{display:flex;gap:1rem;align-items:flex-start}.result-score{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem;padding:.5rem .75rem;border-radius:var(--radius-sm);background:transparent;transition:background .2s ease}.result-score:hover{background:var(--surface-light)}.result-score.primary-score .score-value{font-size:1.25rem;font-weight:700;color:var(--success)}.result-score.authority-score .score-value{font-size:1rem;font-weight:600}.result-score.authority-high .score-value{color:#f59e0b}.result-score.authority-medium .score-value{color:#0ea5e9}.result-score.authority-low .score-value{color:var(--text-secondary)}.score-value{font-size:1.25rem;font-weight:700;color:var(--success)}.score-label{font-size:.75rem;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em}.result-abstract{color:var(--text-secondary);line-height:1.6;margin-bottom:1rem}.result-meta{display:flex;gap:1rem;flex-wrap:wrap}.meta-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.375rem .75rem;background:var(--surface-light);border-radius:var(--radius-sm);font-size:.813rem;color:var(--text-secondary)}.meta-badge.source-casper{background:#10b9811a;color:#34d399}.meta-badge.citation-badge{background:#3b82f61a;color:#60a5fa;gap:.25rem}.assignee-badge{background:#3b82f61a!important;color:#60a5fa!important}.cpc-badge{background:#fbbf241a!important;color:#f59e0b!important;cursor:help}.action-badge{background:var(--primary)!important;color:#fff!important;text-decoration:none;transition:all .2s ease;cursor:pointer;border:none;font-size:.813rem}.action-badge:hover{background:var(--primary-dark)!important;transform:scale(1.05)}.result-link{text-decoration:none;color:inherit}.result-link:hover .result-title{color:var(--primary-light)}.result-layout{display:flex;gap:1.5rem;align-items:flex-start}.result-thumbnail{flex:0 0 120px;height:120px;background:var(--surface-light);border-radius:var(--radius-md);overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px solid var(--border)}.result-thumbnail img{width:100%;height:100%;object-fit:cover}.result-content{flex:1;min-width:0}.btn-graph{display:inline-flex;align-items:center;gap:.5rem}.error{text-align:center;padding:3rem;background:var(--surface);border:1px solid var(--error);border-radius:var(--radius-xl);margin-bottom:2rem}.error-icon{width:48px;height:48px;color:var(--error);margin:0 auto 1rem;display:block}.error h3{color:var(--error);margin-bottom:.5rem}.error p{color:var(--text-secondary)}.error-suggestion{color:var(--warning);font-size:.925rem;margin-top:.75rem;font-style:italic}.error-retry-btn{margin-top:1.5rem;padding:.75rem 2rem;background:var(--primary);color:#fff;border:none;border-radius:var(--radius-md);cursor:pointer;font-weight:500;font-size:.925rem;transition:all .2s ease}.error-retry-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:var(--shadow-md)}.entities-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-xl);padding:1.5rem;margin-bottom:2rem}.entities-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid var(--border)}.entities-icon{width:24px;height:24px;color:var(--primary)}.entities-header h4{font-size:1.25rem;font-weight:600;flex:1}.entity-count{color:var(--text-secondary);font-size:.875rem;background:var(--background);padding:.375rem .75rem;border-radius:var(--radius-sm)}.entities-list{display:flex;flex-wrap:wrap;gap:.75rem}.entity-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1rem;background:var(--background);border:1px solid var(--border);border-radius:var(--radius-md);font-size:.925rem;transition:all .2s ease}.entity-badge:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.entity-text{color:var(--text);font-weight:500}.entity-salience{color:var(--text-secondary);font-size:.813rem;background:var(--surface-light);padding:.25rem .5rem;border-radius:var(--radius-sm)}.entity-type-label{color:var(--text-secondary);font-size:.75rem;text-transform:uppercase;letter-spacing:.05em}.entity-badge.entity-high{border-color:#10b98180;background:#10b9811a}.entity-badge.entity-high .entity-text{color:#34d399}.entity-badge.entity-medium{border-color:#f59e0b80;background:#f59e0b1a}.entity-badge.entity-medium .entity-text{color:#fbbf24}.entity-badge.entity-low{border-color:#94a3b880;background:#94a3b81a}.scoring-explainer{background:linear-gradient(135deg,#8b5cf60d,#3b82f60d);border:1px solid var(--border);border-radius:var(--radius-lg);margin-bottom:1rem;overflow:hidden}.explainer-toggle{display:flex;align-items:center;gap:.5rem;padding:.875rem 1rem;cursor:pointer;transition:background .2s ease;background:none;border:none;width:100%;color:inherit;font-family:inherit}.explainer-toggle:hover{background:#8b5cf60d}.explainer-icon{font-size:1rem;color:#0ea5e9}.explainer-title{font-size:.875rem;font-weight:600;color:var(--text);flex:1;text-align:left}.explainer-arrow{font-size:.75rem;color:var(--text-secondary);transition:transform .3s ease}.scoring-explainer.expanded .explainer-arrow{transform:rotate(180deg)}.explainer-content{max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease}.scoring-explainer.expanded .explainer-content{max-height:500px;padding:0 1rem 1rem}.explainer-section{margin-bottom:1rem}.explainer-section:last-child{margin-bottom:0}.explainer-section strong{display:block;font-size:.813rem;color:var(--text);margin-bottom:.5rem}.explainer-section p{font-size:.813rem;color:var(--text-secondary);line-height:1.5;margin-bottom:.5rem}.explainer-section ul{margin:0;padding-left:1.25rem}.explainer-section li{font-size:.813rem;color:var(--text-secondary);line-height:1.6;margin-bottom:.25rem}.explainer-section li strong{display:inline;color:var(--text)}.authority-legend{display:flex;flex-wrap:wrap;gap:1rem;margin-top:.5rem}.legend-item{display:flex;align-items:center;gap:.375rem;font-size:.75rem;color:var(--text-secondary)}.legend-color{width:12px;height:12px;border-radius:3px}.legend-color.high{background:#f59e0b}.legend-color.medium{background:#0ea5e9}.legend-color.low{background:var(--surface-light);border:1px solid var(--border)}.citation-dropdown-container{position:relative;display:inline-block}.citation-toggle{cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s ease;border:1px solid transparent}.citation-toggle:hover{background:#8b5cf633;border-color:#8b5cf64d}.citation-chevron{transition:transform .2s ease;margin-left:.25rem;opacity:.7}.citation-toggle[aria-expanded=true] .citation-chevron{transform:rotate(180deg)}.citation-dropdown{position:absolute;top:calc(100% + .5rem);left:0;z-index:100;min-width:320px;max-width:400px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xl),0 0 40px #0000004d}.citation-dropdown-inner{max-height:400px;overflow-y:auto;padding:.5rem}.citation-dropdown-inner::-webkit-scrollbar{width:6px}.citation-dropdown-inner::-webkit-scrollbar-track{background:var(--background);border-radius:3px}.citation-dropdown-inner::-webkit-scrollbar-thumb{background:var(--surface-light);border-radius:3px}.citation-section{padding:.75rem;background:var(--background);border-radius:var(--radius-md);margin-bottom:.5rem}.citation-section:last-child{margin-bottom:0}.citation-section-header{display:flex;align-items:center;gap:.5rem;padding-bottom:.625rem;margin-bottom:.625rem;border-bottom:1px solid var(--border)}.citation-section-title{font-size:.813rem;font-weight:600;color:var(--text);flex:1}.citation-section-count{font-size:.75rem;color:var(--text-secondary);background:var(--surface-light);padding:.125rem .5rem;border-radius:var(--radius-sm)}.citation-list{list-style:none;margin:0;padding:0}.citation-item{margin-bottom:.375rem}.citation-item:last-child{margin-bottom:0}.citation-link{display:flex;flex-direction:column;gap:.125rem;padding:.5rem .625rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);text-decoration:none;transition:all .15s ease}.citation-link:hover{background:var(--surface-light);border-color:var(--primary);transform:translate(2px)}.citation-patent-number{font-size:.813rem;font-weight:600;color:var(--primary-light);font-family:SF Mono,Monaco,Inconsolata,monospace}.citation-patent-title{font-size:.75rem;color:var(--text-secondary);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.citation-show-more{width:100%;padding:.5rem;margin-top:.5rem;background:transparent;border:1px dashed var(--border);border-radius:var(--radius-sm);color:var(--text-secondary);font-size:.75rem;cursor:pointer;transition:all .2s ease}.citation-show-more:hover{border-color:var(--primary);color:var(--primary-light);background:#6366f10d}.citation-empty{padding:1rem;text-align:center;color:var(--text-secondary);font-size:.813rem}@media(max-width:768px){.container.svelte-12qhfyh{padding:1rem}.form-row{grid-template-columns:1fr;gap:1rem}.results-header{flex-direction:column;align-items:flex-start;gap:1rem;padding:1.25rem}.results-meta{font-size:.813rem;flex-wrap:wrap}.result-header{flex-direction:column;gap:.5rem}.result-layout{flex-direction:column}.result-thumbnail{width:100%;height:180px;flex:none}.score-container{width:100%;justify-content:flex-start;margin-top:.5rem;padding-top:.5rem;border-top:1px dashed var(--border)}.results-controls{flex-direction:column;gap:1rem;padding:1rem}.filter-group{width:100%;flex-direction:column;align-items:flex-start;gap:.25rem}.filter-group select{width:100%;min-height:44px}}
