.loading-state[data-v-86f72ffa]{border:1px dashed var(--color-border);text-align:center;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:280px;padding:40px 24px;display:flex}.loading-state-icon[data-v-86f72ffa]{background:var(--color-surface-subtle);border-radius:12px;place-items:center;width:44px;height:44px;margin-bottom:4px;display:grid}.loading-state-icon svg[data-v-86f72ffa]{width:20px;height:20px}.loading-state strong[data-v-86f72ffa]{font-size:var(--text-section-title);font-weight:500}.loading-state p[data-v-86f72ffa]{max-width:34ch;color:var(--color-text-muted);margin:0;line-height:1.7}.loading-state-lines[data-v-86f72ffa]{gap:10px;width:min(280px,80%);margin-top:12px;display:grid}.loading-state-lines span[data-v-86f72ffa]{height:8px}.loading-state-lines span[data-v-86f72ffa]:last-child{justify-self:center;width:65%}.loading-state--compact[data-v-86f72ffa]{min-height:160px;padding:24px}.loading-state--compact .loading-state-lines[data-v-86f72ffa]{display:none}.email-upgrade[data-v-8c18f069]{margin:1rem 0}form[data-v-8c18f069],label[data-v-8c18f069]{gap:.5rem;display:grid}form[data-v-8c18f069]{gap:.75rem}p[data-v-8c18f069]{overflow-wrap:anywhere}input[data-v-8c18f069],select[data-v-8c18f069]{width:100%;min-width:0}.identity-manager[data-v-18554df0]{margin:24px 0}h3[data-v-18554df0]{margin:0;font-size:14px;font-weight:500}p[data-v-18554df0]{color:var(--color-text-muted);margin:6px 0 16px;font-size:12px;line-height:1.7}ul[data-v-18554df0]{border:1px solid var(--color-border);border-radius:12px;margin:0;padding:0;list-style:none;overflow:hidden}li[data-v-18554df0]{justify-content:space-between;align-items:center;gap:12px;padding:14px;display:flex}li+li[data-v-18554df0]{border-top:1px solid var(--color-border)}.identity-provider[data-v-18554df0]{align-items:center;gap:12px;min-width:0;display:flex}.identity-provider strong[data-v-18554df0]{font-size:13px;font-weight:500}.identity-icon[data-v-18554df0]{border:1px solid var(--color-border);border-radius:8px;flex:none;place-items:center;width:32px;height:32px;display:grid}.identity-icon img[data-v-18554df0]{object-fit:contain;width:18px;height:18px}.identity-status[data-v-18554df0]{color:var(--color-text-muted);margin-top:3px;font-size:12px;display:block}li button[data-v-18554df0]{flex:none}@media (width<=400px){li[data-v-18554df0]{gap:8px;padding:12px}.identity-provider[data-v-18554df0]{gap:8px}}.account-entry[data-v-4c94543a]{flex-wrap:wrap;align-items:center;gap:.5rem;min-width:0;max-width:100%;display:flex}.account-avatar[data-v-4c94543a]{background:var(--color-surface-subtle);width:40px;height:40px;color:var(--color-text-muted);border-radius:50%;flex:none;place-items:center;display:grid}.account-avatar svg[data-v-4c94543a]{stroke-width:1.5px;width:21px;height:21px}.account-avatar-button[data-v-4c94543a]{border:1px solid var(--color-border);cursor:pointer;width:44px;height:44px;box-shadow:var(--shadow-xs);transition:background .15s,border-color .15s}.account-avatar-button[data-v-4c94543a]:hover{background:var(--color-border);border-color:var(--color-border-strong)}.account-entry>.skeleton[data-v-4c94543a]{width:44px;height:44px}.account-avatar--large[data-v-4c94543a]{width:56px;height:56px}.account-avatar--large svg[data-v-4c94543a]{width:28px;height:28px}.identity-mark[data-v-4c94543a]{object-fit:contain;flex:none;width:18px;height:18px}.account-notice[data-v-4c94543a]{font-size:.85rem}.account-dialog[data-v-4c94543a]{border:1px solid var(--color-border);width:min(30rem,100vw - 2rem);max-height:calc(100dvh - 2rem);color:var(--color-text);background:var(--color-surface);border-radius:16px;padding:0;overflow:auto;box-shadow:0 24px 80px #00000029}.account-dialog[data-v-4c94543a]::backdrop{background:#0000004d}.account-dialog-header[data-v-4c94543a]{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:flex-start;gap:12px;padding:24px;display:flex}.account-heading[data-v-4c94543a]{align-items:center;gap:12px;min-width:0;display:flex}.account-brand[data-v-4c94543a]{border:1px solid var(--color-border);width:40px;height:40px;box-shadow:var(--shadow-xs);border-radius:10px;flex:none;place-items:center;display:grid}.account-brand svg[data-v-4c94543a]{width:20px;height:20px}.account-heading h2[data-v-4c94543a]{margin:0 0 4px;font-size:18px;font-weight:600}.account-heading p[data-v-4c94543a]{color:var(--color-text-muted);margin:0;font-size:12px;line-height:1.6}.account-close[data-v-4c94543a]{width:32px;min-height:32px;box-shadow:none;color:var(--color-text-muted);border:0;flex:none;padding:0}.account-close svg[data-v-4c94543a]{width:18px;height:18px}.account-dialog-body[data-v-4c94543a]{padding:24px}.account-dialog form[data-v-4c94543a]{gap:16px;display:grid}.account-dialog label[data-v-4c94543a]{gap:8px;font-weight:500;display:grid}.account-dialog[data-v-4c94543a] input,.account-dialog[data-v-4c94543a] select{border-color:#949494}.account-dialog p[data-v-4c94543a]{overflow-wrap:anywhere}.account-profile[data-v-4c94543a]{border:1px solid var(--color-border);border-radius:12px;align-items:center;gap:16px;padding:20px;display:flex}.account-profile-copy[data-v-4c94543a]{min-width:0}.account-profile-copy>strong[data-v-4c94543a]{overflow-wrap:anywhere;font-size:16px;font-weight:600;display:block}.account-profile-copy p[data-v-4c94543a]{color:var(--color-text-muted);margin:4px 0 8px;font-size:13px}.account-verification[data-v-4c94543a]{background:var(--color-surface-subtle);border-radius:20px;align-items:center;gap:5px;padding:3px 8px;font-size:12px;display:inline-flex}.account-verification svg[data-v-4c94543a]{width:14px;height:14px}.account-id[data-v-4c94543a]{color:var(--color-text-muted);margin-top:12px;font-size:12px}.account-id summary[data-v-4c94543a]{cursor:pointer;justify-content:space-between;align-items:center;min-height:32px;list-style:none;display:flex}.account-id summary[data-v-4c94543a]::-webkit-details-marker{display:none}.account-id svg[data-v-4c94543a]{width:14px;height:14px}.account-id[open] svg[data-v-4c94543a]{transform:rotate(90deg)}.account-id code[data-v-4c94543a]{overflow-wrap:anywhere;padding:8px 0;display:block}.account-admin[data-v-4c94543a]{border:1px solid var(--color-border);border-radius:10px;align-items:center;gap:10px;padding:14px;font-weight:500;text-decoration:none;display:flex}.account-admin svg[data-v-4c94543a]{width:17px;height:17px}.account-admin span[data-v-4c94543a]{flex:1}.account-admin[data-v-4c94543a]:hover{background:var(--color-surface-subtle)}.account-footer[data-v-4c94543a]{border-top:1px solid var(--color-border);gap:16px;margin-top:24px;padding-top:20px;display:grid}.account-footer p[data-v-4c94543a]{color:var(--color-text-muted);margin:0;font-size:12px;line-height:1.7}.account-footer button[data-v-4c94543a]{justify-self:start}.account-actions[data-v-4c94543a]{flex-wrap:wrap;gap:8px;display:flex}.account-secondary-actions[data-v-4c94543a]{justify-content:space-between;margin-top:12px}.account-secondary-actions .button[data-v-4c94543a]{box-shadow:none;color:var(--color-text-muted);border:0;padding:0 4px;font-size:12px}.account-divider[data-v-4c94543a]{color:var(--color-text-muted);align-items:center;gap:12px;margin:24px 0 16px;font-size:12px;display:flex}.account-divider[data-v-4c94543a]:before,.account-divider[data-v-4c94543a]:after{content:"";border-top:1px solid var(--color-border);flex:1}.account-providers .button[data-v-4c94543a]{flex:100px;font-size:12px}.account-dialog .field-error[data-v-4c94543a]{margin:-8px 0 0}@media (width<=48rem){.account-dialog[data-v-4c94543a] input,.account-dialog[data-v-4c94543a] select{min-height:44px}.account-close[data-v-4c94543a]{width:44px;min-height:44px}}@media (width<=400px){.account-dialog-header[data-v-4c94543a],.account-dialog-body[data-v-4c94543a]{padding:20px}.account-brand[data-v-4c94543a]{display:none}.account-profile[data-v-4c94543a]{gap:12px;padding:14px}.account-avatar--large[data-v-4c94543a]{width:44px;height:44px}}.preranking-modes[data-v-9f3f574e]{border:0;gap:8px;min-width:0;margin:0 0 20px;padding:0;display:grid}.preranking-modes legend[data-v-9f3f574e]{margin-bottom:12px}.preranking-option[data-v-9f3f574e]{border:1px solid var(--color-border);cursor:pointer;border-radius:10px;align-items:flex-start;gap:10px;padding:12px;display:flex}.preranking-option.selected[data-v-9f3f574e]{background:var(--color-surface-subtle);border-color:var(--color-text-muted)}.preranking-option input[data-v-9f3f574e]{accent-color:#171717;flex-shrink:0;margin-top:3px}.preranking-option strong[data-v-9f3f574e]{font-size:13px;font-weight:500}.preranking-option small[data-v-9f3f574e]{color:var(--color-text-muted);margin-top:4px;font-size:12px;line-height:1.5;display:block}.anonymous-notice[data-v-11ab9abd]{padding:var(--space-3) var(--space-6);background:var(--color-accent-soft);margin:0}.hosted-header[data-v-47eeeb0a] .topbar-side{flex-wrap:wrap;max-width:100%}.session-loading[data-v-47eeeb0a]{width:min(640px,100% - 48px);margin:48px auto}.service-settings[data-v-dc27edea]{display:contents}.service-quota[data-v-dc27edea]{border:1px solid var(--color-border);border-radius:10px;gap:8px;min-height:82px;padding:14px 16px;display:grid}.service-quota-row[data-v-dc27edea]{justify-content:space-between;align-items:center;gap:16px;min-height:20px;display:flex}.service-quota-row>span[data-v-dc27edea]:not(.skeleton){color:var(--color-text-muted);font-size:var(--text-aux)}.service-quota-row strong[data-v-dc27edea]{font-variant-numeric:tabular-nums;font-weight:500}.quota-label[data-v-dc27edea]{width:72px;height:12px}.quota-value[data-v-dc27edea]{width:56px;height:16px}.quota-reset[data-v-dc27edea]{width:80%;height:10px;margin:4px 0}.service-model-loading[data-v-dc27edea]{height:40px}.quota-admin[data-v-34c8d651]{max-width:42rem;margin:var(--space-4) auto;padding:var(--space-4);gap:var(--space-4);display:grid}.quota-admin h1[data-v-34c8d651]{font-size:var(--text-page-title);margin:0}form[data-v-34c8d651],fieldset[data-v-34c8d651]{gap:var(--space-3);min-width:0;display:grid}fieldset[data-v-34c8d651]{border:0;margin:0;padding:0}dl[data-v-34c8d651]{gap:var(--space-2);margin:0;display:grid}dl>div[data-v-34c8d651]{justify-content:space-between;gap:var(--space-2);flex-wrap:wrap;display:flex}dd[data-v-34c8d651]{margin:0}input[data-v-34c8d651],textarea[data-v-34c8d651]{min-width:0;max-width:100%}@font-face{font-family:Geist Variable;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/geist-latin-wght-normal-BgDaEnEv.woff2)format("woff2")}@font-face{font-family:Geist Mono Variable;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/geist-mono-latin-wght-normal-XN7g48iV.woff2)format("woff2")}:root{--color-page:#fff;--color-surface:#fff;--color-surface-subtle:#f5f5f5;--color-text:#0a0a0a;--color-text-muted:#737373;--color-text-subtle:#a3a3a3;--color-border:#e5e5e5;--color-border-strong:#d4d4d4;--color-primary:#171717;--color-primary-foreground:#fafafa;--color-primary-hover:#2e2e2c;--color-accent:#171717;--color-accent-soft:#f5f5f5;--color-success:#166534;--color-success-soft:#f0fdf4;--color-warning:#92400e;--color-warning-soft:#fffbeb;--color-link:#171717;--color-link-soft:#f5f5f5;--color-danger:#b91c1c;--color-danger-soft:#fef2f2;--color-ring:#0a0a0a1f;--shadow-xs:0 1px 2px #0a0a0a0f;--color-graph-result:#f06435;--color-graph-seed:#4d8fd7;--color-graph-forward:#4f9d55;--color-graph-backward:#8a64b7;--font-sans:"Geist Variable", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--font-mono:"Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;--text-page-title:22px;--text-section-title:16px;--text-paper-title:16px;--text-stage-title:15px;--text-body:14px;--text-aux:13px;--text-meta:12px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--radius-sm:6px;--radius-md:8px;--control-h:36px;--control-h-compact:36px;--control-h-primary:40px;--touch-target:44px;--topbar-h:64px;--pane-min:360px;--duration:.16s;--easing:ease-out}*,:before,:after{box-sizing:border-box}html{height:100%}body{min-height:100dvh;color:var(--color-text);background:var(--color-page);font-family:var(--font-sans);font-size:var(--text-body);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;line-height:1.6}button,input,select,textarea{font:inherit;letter-spacing:0;color:inherit}h1,h2,h3,h4,p,ul,ol,figure{margin:0}h2{font-size:var(--text-page-title);font-weight:600;line-height:1.4}h3{font-size:var(--text-section-title);font-weight:600;line-height:1.5}a{color:var(--color-link);text-decoration:none}a:hover{text-decoration:underline}code,pre{font-family:var(--font-mono)}:focus-visible{outline:2px solid var(--color-text-muted);outline-offset:2px;border-radius:var(--radius-sm)}.skip-link{top:var(--space-2);left:var(--space-2);z-index:100;padding:var(--space-2) var(--space-4);background:var(--color-surface);border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);position:absolute;transform:translateY(-300%)}.skip-link:focus-visible{transform:none}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (width<=900px){body,input,select,textarea{font-size:16px}}#app{flex-direction:column;min-height:100dvh;display:flex}.app-main{flex-direction:column;flex:1;min-height:0;display:flex}.topbar{min-height:var(--topbar-h);align-items:center;gap:var(--space-6);background:var(--color-surface);border-bottom:1px solid var(--color-border);flex-wrap:nowrap;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding:0 32px;display:grid}.topbar-brand{align-items:center;gap:var(--space-3);min-width:0;display:flex}.brand-mark{flex:none;place-items:center;width:32px;height:32px;display:grid}.brand-mark img{object-fit:contain;width:100%;height:100%}.brand-copy{flex-direction:column;min-width:0;display:flex}.brand-title{white-space:nowrap;font-size:20px;font-weight:600;line-height:1.2}.brand-subtitle{font-size:var(--text-meta);color:var(--color-text-muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.topbar-nav{align-items:center;gap:var(--space-1);margin:0 auto;display:flex}.topbar-side{align-items:center;gap:var(--space-3);flex:none;justify-self:end;display:flex}.workbench{grid-template-columns:minmax(var(--pane-min), 40%) minmax(0, 1fr);flex:1;gap:40px;width:100%;max-width:1480px;min-height:0;margin:0 auto;padding:28px 32px 24px;display:grid}.workbench-pane{min-width:0;overflow-y:auto}.workbench-pane--audit{flex-direction:column;display:flex;overflow-y:hidden}.workbench-pane--audit>.workflow{flex:auto;min-height:0;overflow-y:auto}.workspace-view{gap:var(--space-4);flex-direction:column;flex:1;width:100%;max-width:1360px;min-height:0;margin:0 auto;padding:32px;display:flex}.workspace-header{justify-content:space-between;align-items:flex-start;gap:var(--space-6);border-bottom:1px solid var(--color-border);flex-wrap:wrap;padding-bottom:20px;display:flex}.workspace-header h2{overflow-wrap:anywhere}.workspace-toolbar{align-items:flex-end;gap:var(--space-3);padding:var(--space-3) var(--space-4);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);flex-wrap:wrap;display:flex}.workspace-toolbar .field{flex:160px}.workspace-toolbar .field input,.workspace-toolbar .field select,.workspace-toolbar .button{min-height:var(--control-h-compact)}@media (width<=900px){.workspace-toolbar .button{min-height:var(--touch-target)}}@media (width>=901px){#app{height:100dvh}.app-main{overflow:hidden}.workbench{height:100%}.workspace-view{height:100%;overflow-y:auto}}@media (width<=900px){.topbar{padding:var(--space-2) var(--space-4);row-gap:var(--space-2);flex-wrap:wrap;display:flex}.topbar-nav{flex-basis:100%;order:3;margin-left:0}.workbench{padding:var(--space-4);grid-template-columns:1fr;gap:28px}.workbench-pane{overflow-y:visible}.workspace-view{padding:var(--space-4)}}.pane-heading{flex:none;justify-content:space-between;align-items:center;gap:12px;padding:0 0 20px;display:flex}.pane-heading h2{font-size:18px;font-weight:600}.pane-heading p{color:var(--color-text-muted);margin-top:4px;font-size:13px}.pane-heading>.lucide{color:var(--color-text-muted);width:20px;height:20px}.workspace-header>div:first-child{flex:1;min-width:0}.workspace-header .section-kicker{margin-bottom:8px}@media (width>=901px) and (width<=1150px){.workbench{gap:24px;padding:24px}.brand-subtitle{display:none}}@media (width<=900px){.topbar-brand{flex:1}.topbar-side{margin-left:auto}.topbar-nav{justify-content:space-between;margin:0}.brand-subtitle{display:none}.topbar-brand .docs-link{margin-left:auto}.pane-heading{padding-bottom:16px}.workbench-pane--audit,.workbench-pane--audit>.workflow{overflow:visible}}.button{justify-content:center;align-items:center;gap:var(--space-2);min-height:var(--control-h);padding:0 var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);cursor:pointer;box-shadow:var(--shadow-xs);white-space:nowrap;transition:background-color var(--duration) var(--easing), border-color var(--duration) var(--easing);font-weight:500;text-decoration:none;display:inline-flex}.button:hover:not(:disabled){background:var(--color-surface-subtle);text-decoration:none}.button:disabled{opacity:.5;cursor:not-allowed}.button--primary{min-height:var(--control-h-primary);padding:0 var(--space-6);background:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-foreground);font-weight:600}.button--primary:hover:not(:disabled){background:var(--color-primary-hover);border-color:var(--color-primary-hover)}.button--primary:disabled{background:var(--color-surface-subtle);border-color:var(--color-border);color:var(--color-text-muted);opacity:1}.button--danger{border-color:var(--color-danger);color:var(--color-danger)}.button--danger:hover:not(:disabled){background:var(--color-danger-soft)}.button--danger-solid{background:var(--color-danger);border-color:var(--color-danger);color:var(--color-primary-foreground)}.button--danger-solid:hover:not(:disabled){background:var(--color-danger);opacity:.92}.button--small{min-height:32px;padding:0 var(--space-3);font-size:var(--text-meta)}@media (width<=900px){.button,.segmented label,.segmented button{min-height:var(--touch-target)}}.field{gap:var(--space-2);flex-direction:column;min-width:0;display:flex}.field>span,.field-label{font-size:var(--text-body);color:var(--color-text);font-weight:500}.field input,.field select,.field textarea{min-height:var(--control-h);padding:var(--space-2) var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);box-shadow:var(--shadow-xs);transition:border-color var(--duration), box-shadow var(--duration);width:100%}.field textarea{resize:vertical;min-height:96px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--color-link);box-shadow:0 0 0 3px var(--color-ring);outline:none}.field input::placeholder,.field textarea::placeholder{color:var(--color-text-muted)}.field-help,.field>.field-help{font-size:var(--text-meta);color:var(--color-text-muted)}.field-error,.field>.field-error{font-size:var(--text-meta);color:var(--color-danger)}.field-grid{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.field-grid .span-2{grid-column:span 2}@media (width<=900px){.field-grid{grid-template-columns:1fr}.field-grid .span-2{grid-column:auto}}.segmented{border-radius:var(--radius-md);background:var(--color-surface-subtle);gap:2px;padding:3px;display:inline-flex}.segmented label,.segmented button{justify-content:center;align-items:center;gap:var(--space-1);min-height:32px;padding:0 var(--space-3);border-radius:var(--radius-sm);cursor:pointer;color:var(--color-text-muted);white-space:nowrap;background:0 0;border:0;display:inline-flex;position:relative}.segmented input{opacity:0;pointer-events:none;position:absolute}.segmented button.active{background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-xs);font-weight:600}.segmented label:has(input:checked){background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-xs);font-weight:600}.segmented label:has(input:focus-visible){outline:2px solid var(--color-link);outline-offset:-2px}.badge{align-items:center;gap:var(--space-1);padding:2px var(--space-2);font-size:var(--text-meta);border:1px solid var(--color-border);color:var(--color-text-muted);background:var(--color-surface-subtle);border-radius:999px;font-weight:500;display:inline-flex}.badge--accent{color:var(--color-primary-foreground);background:var(--color-primary);border-color:var(--color-primary)}.badge--success{color:var(--color-text);background:var(--color-surface)}.badge--danger{color:var(--color-danger);background:var(--color-danger-soft)}.alert{gap:var(--space-2);padding:var(--space-3) var(--space-4);border:1px solid var(--color-danger);border-radius:var(--radius-sm);background:var(--color-danger-soft);color:var(--color-text);flex-direction:column;display:flex}.alert strong{color:var(--color-danger)}.alert-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.toolbar-counts{gap:var(--space-3);font-size:var(--text-meta);color:var(--color-text-muted);font-variant-numeric:tabular-nums;align-items:center;display:flex}.state-block{justify-content:center;align-items:center;gap:var(--space-2);min-height:220px;padding:var(--space-6);border:1px dashed var(--color-border-strong);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text-muted);text-align:center;flex-direction:column;display:flex}.state-block--error{border-style:solid;border-color:var(--color-danger);background:var(--color-danger-soft);color:var(--color-text)}.dialog-backdrop{z-index:60;padding:var(--space-4);background:#17171766;place-items:center;display:grid;position:fixed;inset:0}.dialog{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);width:min(440px,100%);padding:var(--space-6);gap:var(--space-4);flex-direction:column;display:flex;box-shadow:0 12px 32px #1717172e}.dialog h2{font-size:var(--text-section-title)}.dialog-actions{justify-content:flex-end;gap:var(--space-2);flex-wrap:wrap;padding-top:8px;display:flex}.disclosure-icon{width:16px;height:16px;color:var(--color-text-muted);transition:transform var(--duration) var(--easing);flex:none}[open]>summary .disclosure-icon,.disclosure-icon--open{transform:rotate(90deg)}input[type=checkbox]{appearance:none;border:1px solid var(--color-border-strong);background:var(--color-surface);width:16px;min-width:16px;height:16px;box-shadow:var(--shadow-xs);cursor:pointer;vertical-align:middle;border-radius:4px;place-content:center;padding:0;display:inline-grid}input[type=checkbox]:checked{background:var(--color-primary);border-color:var(--color-primary)}input[type=checkbox]:checked:after{content:"";border:0 solid #fff;border-width:0 0 1.5px 1.5px;width:8px;height:5px;transform:translateY(-1px)rotate(-45deg)}input[type=checkbox]:disabled{cursor:default}select{cursor:pointer}@supports (appearance:base-select){select{appearance:base-select}select::picker(select){appearance:base-select}select::picker(select){font:14px/1.5 var(--font-sans);color:var(--color-text);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);max-height:min(360px,50dvh);margin-top:4px;padding:4px;overflow-y:auto;box-shadow:0 4px 16px #0000001a}select::picker-icon{content:"";border-right:1.5px solid var(--color-text-muted);border-bottom:1.5px solid var(--color-text-muted);width:7px;height:7px;margin:0 3px 3px auto;transform:rotate(45deg)}select option{cursor:pointer;border-radius:4px;gap:8px;padding:7px 8px}select option:hover,select option:focus{background:var(--color-surface-subtle);outline:none}select option:checked{background:var(--color-surface-subtle);font-weight:500}select option::checkmark{order:1;margin-left:auto}}.lucide{stroke-width:1.75px;flex-shrink:0;width:16px;height:16px}.spinner{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.state-symbol{background:var(--color-surface-subtle);width:44px;height:44px;color:var(--color-text);border-radius:10px;place-items:center;margin-bottom:8px;display:grid}.state-symbol .lucide{width:22px;height:22px}.state-block strong{color:var(--color-text);font-size:var(--text-section-title);font-weight:500}.state-block p{max-width:360px}.button--ghost{box-shadow:none;background:0 0;border-color:#0000}.button--icon{width:var(--control-h);padding:0}.separator-label{color:var(--color-text-muted);font-size:var(--text-aux);align-items:center;gap:12px;display:flex}.separator-label:before,.separator-label:after{content:"";background:var(--color-border);flex:1;height:1px}.dialog p{color:var(--color-text-muted)}.dialog p strong{color:var(--color-text);font-weight:500}@media (width<=900px){.field input,.field select,.field-selector-summary{min-height:44px}.button--icon{width:44px}.clamp-toggle{min-height:44px}}.skeleton{background:var(--color-surface-subtle);border-radius:6px;animation:1.8s ease-in-out infinite skeleton-pulse;display:block}@keyframes skeleton-pulse{50%{opacity:.4}}@media (prefers-reduced-motion:reduce){.skeleton{animation:none}}.topbar{z-index:30;grid-template-columns:auto minmax(0,1fr) auto;gap:24px;position:relative}.topbar-nav{border-left:1px solid var(--color-border);margin:0;padding-left:24px}.header-dropdown{min-width:0;position:relative}.header-dropdown-trigger{min-height:38px;color:var(--color-text);background:var(--color-surface);border:1px solid var(--color-border);white-space:nowrap;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:9px;padding:0 12px;font-size:13px;font-weight:500;transition:background .15s,border-color .15s;display:inline-flex;box-shadow:0 1px 2px #00000008}.header-dropdown-trigger:hover,.header-dropdown-trigger[aria-expanded=true]{background:var(--color-surface-subtle);border-color:var(--color-text-subtle)}.header-dropdown-trigger>svg,.header-menu-item>svg{flex:none;width:16px;height:16px}.header-dropdown-chevron{color:var(--color-text-muted);transition:transform .15s;width:14px!important}[aria-expanded=true]>.header-dropdown-chevron{transform:rotate(180deg)}.header-dropdown-panel{border:1px solid var(--color-border);background:var(--color-surface);z-index:40;border-radius:12px;width:270px;max-width:calc(100vw - 32px);padding:6px;position:absolute;top:calc(100% + 9px);left:0;box-shadow:0 12px 36px #0000001a,0 2px 6px #0000000a}.header-dropdown--end .header-dropdown-panel{left:auto;right:0}.header-dropdown-caption{color:var(--color-text-muted);padding:7px 10px 9px;font-size:11px}.header-menu-item{width:100%;min-height:40px;color:var(--color-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:11px;padding:10px;font-size:13px;text-decoration:none;display:flex}.header-menu-item:hover,.header-menu-item:focus-visible,.header-menu-item[aria-current=page],.header-menu-item[aria-pressed=true]{background:var(--color-surface-subtle);text-decoration:none}.header-menu-item small{color:var(--color-text-muted);margin-top:3px;font-size:11px;font-weight:400;line-height:1.5;display:block}.header-menu-item--disabled{color:var(--color-text-subtle);cursor:not-allowed}.header-menu-item--disabled small{color:var(--color-text-subtle)}.header-menu-check{margin-left:auto;width:14px!important}.nav-run-dot{background:var(--color-accent);border-radius:50%;flex:none;width:6px;height:6px}.nav-review-short{display:none}.docs-link{min-height:36px;color:var(--color-text-muted);white-space:nowrap;border-radius:7px;align-items:center;gap:6px;padding:0 10px;text-decoration:none;display:inline-flex}.docs-link:hover{color:var(--color-text);background:var(--color-surface-subtle);text-decoration:none}.docs-link svg{width:15px;height:15px}@media (width<=1100px){.brand-subtitle{display:none}.topbar{gap:16px;padding-inline:20px}.topbar-nav{padding-left:16px}}@media (width<=900px){.topbar{grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;padding:12px 16px;display:grid}.topbar-brand{grid-column:1}.topbar-nav{order:initial;border:0;grid-area:1/2;justify-self:end;padding-left:0}.topbar-nav .header-dropdown-panel{left:auto;right:0}.topbar-side{grid-column:1/-1;justify-content:flex-end;justify-self:stretch;margin-left:0}.topbar-side>.header-dropdown{margin-right:auto}.topbar-side .header-dropdown-panel{left:0;right:auto}.header-dropdown-trigger,.header-menu-item{min-height:44px}}@media (width<=540px){.nav-review-full{display:none}.nav-review-short{display:inline}.brand-title{font-size:18px}.brand-mark{width:28px;height:28px}.topbar-brand{gap:8px}.docs-link{justify-content:center;width:28px;padding:0}.docs-link span{display:none}.topbar-side{gap:8px}.header-dropdown-trigger{gap:6px;padding:0 9px;font-size:12px}.language-switch button{padding:0 8px}}.search-form{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);flex-direction:column;display:flex}.form-section{border-top:1px solid var(--color-border);flex-direction:column;gap:20px;padding:24px;display:flex}.form-scroll>.form-section:first-child{border-top:0}.section-title{font-size:var(--text-section-title)}.section-kicker{font-size:var(--text-aux);color:var(--color-text);font-weight:600}fieldset.filter-group{gap:var(--space-2);border:0;flex-direction:column;margin:0;padding:0;display:flex}fieldset.filter-group legend{font-size:var(--text-body);color:var(--color-text);margin-bottom:var(--space-2);padding:0;font-weight:500}.toggle-field{align-items:flex-start;gap:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);cursor:pointer;padding:14px 16px;display:flex}.toggle-field input{width:16px;height:16px;accent-color:var(--color-primary);flex:none;margin-top:3px}.toggle-field span{flex-direction:column;gap:2px;min-width:0;display:flex}.toggle-field small{font-size:var(--text-meta);color:var(--color-text-muted)}.citation-option-row{cursor:pointer;align-items:center;gap:8px;min-height:32px;display:flex}.citation-option-row input{flex:none}.citation-option-row:has(input:disabled){cursor:default}.field-selector-summary{justify-content:space-between;align-items:center;gap:var(--space-2);width:100%;min-height:var(--control-h);padding:var(--space-2) var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);cursor:pointer;text-align:left;box-shadow:var(--shadow-xs);display:flex}.field-selector-summary:focus-visible{outline:2px solid var(--color-link);outline-offset:2px}.field-selector-value{font-size:var(--text-body);overflow-wrap:anywhere}.field-selector-panel{gap:var(--space-3);margin-top:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-xs);flex-direction:column;padding:16px;display:flex}.field-selector-search{min-height:var(--control-h);padding:var(--space-2) var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);width:100%}.field-selector-groups{flex-direction:column;gap:16px;max-height:280px;display:flex;overflow-y:auto}.field-selector-group{gap:var(--space-2);flex-direction:column;display:flex}.field-selector-domain{font-size:var(--text-meta);color:var(--color-text-muted);padding:4px 8px;font-weight:500}.field-selector-actions{justify-content:space-between;gap:var(--space-2);border-top:1px solid var(--color-border);padding-top:var(--space-3);display:flex}.field-selector-static .field-selector-value{padding:var(--space-2) 0}.field-row{align-items:flex-end;gap:var(--space-3);display:flex}.field-row .field{flex:1;min-width:0}.field-row .button{flex:none}.credential-note{justify-content:space-between;align-items:center;gap:var(--space-2);font-size:var(--text-meta);color:var(--color-text-muted);flex-wrap:wrap;display:flex}.form-scroll{flex-direction:column;display:flex}.form-actions{gap:var(--space-2);background:var(--color-surface);border-top:1px solid var(--color-border);flex-direction:column;padding:16px 24px;display:flex}@media (width>=901px){.workbench-pane--config{flex-direction:column;display:flex;overflow:hidden}.search-form{flex:1;min-height:0;overflow:hidden}.form-scroll{flex:1;min-height:0;overflow-y:auto}}.form-actions .button--primary{width:100%}.advanced-section{border-top:1px solid var(--color-border)}.advanced-section>summary,.connection-settings>summary{align-items:center;gap:var(--space-2);cursor:pointer;min-height:52px;color:var(--color-text-muted);font-size:var(--text-aux);padding:0 24px;font-weight:600;list-style:none;display:flex}.advanced-section>summary::-webkit-details-marker{display:none}.connection-settings>summary::-webkit-details-marker{display:none}.advanced-body{gap:var(--space-4);flex-direction:column;padding:8px 24px 24px;display:flex}.diagnostics-result{gap:var(--space-3);border-top:1px solid var(--color-border);padding-top:var(--space-3);flex-direction:column;display:flex}.diagnostics-list{gap:var(--space-2);flex-direction:column;padding:0;list-style:none;display:flex}.diagnostics-item{gap:var(--space-2);font-size:var(--text-body);align-items:flex-start;display:flex}.diagnostics-item .badge{flex:none;margin-top:2px}.diagnostics-actions{padding-left:var(--space-6);color:var(--color-text-muted);font-size:var(--text-meta);list-style:outside}.search-form--readonly input:disabled:not([type=checkbox]),.search-form--readonly select:disabled,.search-form--readonly textarea:disabled{color:var(--color-text);-webkit-text-fill-color:var(--color-text);opacity:1;cursor:default;background:#fafafa}.search-form--readonly .toggle-field:has(input:disabled){cursor:default}@media (width<=900px){.form-actions{z-index:5;padding-bottom:max(var(--space-4), env(safe-area-inset-bottom));position:sticky;bottom:0}}.toggle-field:has(input:checked){background:var(--color-surface-subtle);border-color:#a3a3a3}.toggle-field strong{font-weight:500}.field-selector-group .toggle-field{background:0 0;border:0;border-radius:4px;padding:8px}.field-selector-group .toggle-field:hover{background:var(--color-surface-subtle)}.field-selector-group .toggle-field small{display:none}.advanced-section .field-grid+.separator-label{margin-top:8px}.connection-settings{border:0;padding:0}.connection-settings>summary{min-height:32px;padding:0;font-weight:400}.connection-settings .advanced-body{grid-template-columns:1fr;padding:12px 0 0;display:grid}@media (width<=900px){.form-section{padding:20px}.form-actions{padding:16px 20px}.advanced-section>summary{min-height:48px;padding:0 20px}.connection-settings>summary{padding:0}}.section-with-icon{align-items:center;gap:8px;display:flex}.question-composer{border:1px solid var(--color-border);box-shadow:var(--shadow-xs);transition:box-shadow var(--duration), border-color var(--duration);border-radius:8px;flex-direction:column;display:flex}.question-composer:focus-within{border-color:var(--color-text-muted);box-shadow:0 0 0 3px var(--color-ring)}.question-composer #research-question{min-height:64px;max-height:40vh;box-shadow:none;resize:none;background:0 0;border:0;padding:12px;line-height:20px}.question-composer #research-question:focus{box-shadow:none}.composer-footer{color:var(--color-text-muted);flex-wrap:wrap;align-items:center;gap:8px;padding:6px 12px 12px;display:flex}.composer-tools{align-items:center;gap:4px;min-width:0;margin-right:auto;display:flex}.composer-check{min-height:24px;color:var(--color-text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:4px;flex:none;padding:0 4px;font-size:14px;line-height:20px}.composer-check:hover:not(:disabled){background:var(--color-surface-subtle);color:var(--color-text)}.composer-footer .composer-budget{width:auto;min-width:0;max-width:88px;min-height:24px;box-shadow:none;color:var(--color-text-muted);background:0 0;border:0;align-items:center;padding:0 8px;font-size:14px;line-height:20px;display:flex}.composer-footer .composer-budget:focus-visible{outline:2px solid var(--color-text-muted);outline-offset:-2px}.composer-budget::picker(select){min-width:140px}.composer-send{align-items:center;gap:8px;margin-left:auto;display:flex}.composer-divider{background:var(--color-border);width:1px;height:16px}.question-count{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:14px}.composer-footer .composer-submit{cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;min-height:24px;padding:0;display:grid}.composer-submit-glyph{background:var(--color-primary);width:24px;height:24px;color:var(--color-primary-foreground);border-radius:50%;place-items:center;display:grid}.composer-submit:hover:not(:disabled) .composer-submit-glyph{background:var(--color-primary-hover)}.composer-submit:disabled{cursor:not-allowed;opacity:.5}.composer-footer .lucide{width:14px;height:14px}.budget-hint{font-size:var(--text-meta);color:var(--color-text-muted)}@media (width<=900px){.composer-check,.composer-footer .composer-budget,.composer-footer .composer-submit{height:44px;min-height:44px}.composer-footer .composer-submit{width:44px}}.workflow{flex-direction:column;gap:12px;min-width:0;padding:1px 4px 8px 1px;display:flex}.stage-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-xs);flex:none;overflow:hidden}.stage-card--active{background:var(--color-surface);border-color:#a3a3a3}.stage-summary{align-items:center;gap:var(--space-3);cursor:pointer;-webkit-user-select:none;user-select:none;min-height:88px;padding:20px;list-style:none;display:flex}.stage-summary::-webkit-details-marker{display:none}.stage-number{border-radius:var(--radius-md);border:1px solid var(--color-border);width:36px;height:36px;font-size:var(--text-meta);color:var(--color-text-muted);background:var(--color-surface);flex:none;place-items:center;font-weight:500;display:grid}.stage-card--active .stage-number{background:var(--color-accent);border-color:var(--color-accent);color:var(--color-surface)}.stage-card[data-state=complete] .stage-number{color:var(--color-text);border-color:var(--color-border);background:var(--color-surface-subtle)}.stage-card[data-state=failed] .stage-number{color:var(--color-danger);border-color:var(--color-danger)}.stage-heading{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.stage-title{font-size:var(--text-stage-title);align-items:center;gap:var(--space-2);flex-wrap:wrap;font-weight:600;display:flex}.stage-summary-line{font-size:var(--text-aux);color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stage-meta{align-items:center;gap:var(--space-2);flex:none;display:flex}.stage-state-icon{flex:none;width:18px;height:18px}.stage-state-icon--complete{color:var(--color-text-muted)}.stage-state-icon--failed{color:var(--color-danger)}.stage-elapsed{font-size:var(--text-meta);color:var(--color-text-muted);font-variant-numeric:tabular-nums;font-family:var(--font-mono)}.stage-card:not([open]) .stage-body{display:none}.stage-body{border-top:1px solid var(--color-border);gap:var(--space-3);flex-direction:column;padding:20px;display:flex}.step-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.step-row{align-items:center;gap:var(--space-3);padding:var(--space-2) 0;border-bottom:1px solid var(--color-border);min-width:0;min-height:44px;display:flex}.step-row:last-child{border-bottom:0}.step-icon{flex:none;place-items:center;width:20px;height:20px;display:grid}.step-icon svg{width:16px;height:16px}.step-icon--done{color:var(--color-success)}.step-icon--current{color:var(--color-accent)}.step-icon--failed,.step-icon--degraded{color:var(--color-danger)}.step-icon--pending{color:var(--color-text-muted)}.step-name{flex:1;min-width:0;font-weight:500}.step-detail{font-size:var(--text-meta);color:var(--color-text-muted);font-variant-numeric:tabular-nums;flex:none}.step-detail--accent{color:var(--color-accent);font-weight:600}.step-progress{background:var(--color-surface-subtle);border-radius:999px;flex:0 160px;height:4px;overflow:hidden}.step-progress>span{background:var(--color-accent);height:100%;transition:width var(--duration) var(--easing);display:block}@media (width<=480px){.step-row{gap:var(--space-1) var(--space-3);grid-template-columns:20px minmax(0,1fr);align-items:center;display:grid}.step-icon{grid-area:1/1}.step-name{grid-area:1/2}.step-detail{overflow-wrap:anywhere;grid-area:2/2;min-width:0}.step-progress{grid-area:3/2;width:100%}}.audit-block{gap:var(--space-2);flex-direction:column;display:flex}.audit-block h4{font-size:var(--text-meta);color:var(--color-text-muted);font-weight:700}.audit-list{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.audit-item{border:1px solid var(--color-border);border-radius:var(--radius-sm);padding:var(--space-2) var(--space-3);background:var(--color-surface-subtle);min-width:0}.structured-event-row{gap:var(--space-1);flex-direction:column;display:flex}.structured-event-row>span{color:var(--color-text-muted)}.audit-item code,.audit-raw{font-family:var(--font-mono);font-size:var(--text-meta);white-space:pre-wrap;overflow-wrap:anywhere}.stage-entries{flex-wrap:wrap;gap:8px;padding:4px 0;display:flex}.stage-recovery{gap:var(--space-2);flex-wrap:wrap;display:flex}.log-content{max-height:320px;font-family:var(--font-mono);font-size:var(--text-meta);white-space:pre-wrap;overflow-wrap:anywhere;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-sm);padding:var(--space-3);margin:0;line-height:1.6;overflow:auto}.log-content .log-line--error{color:var(--color-danger);font-weight:600}.run-panel-primary{gap:var(--space-4);flex-direction:column;display:flex}.run-warnings{padding:var(--space-3);gap:var(--space-1);border:1px solid var(--color-warning);border-radius:var(--radius-sm);background:var(--color-warning-soft);color:var(--color-text);font-size:var(--text-meta);flex-direction:column;margin:0;list-style:none;display:flex}.connection-notice{align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-4);border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface-subtle);color:var(--color-text-muted);font-size:var(--text-meta);display:flex}.mobile-stage-bar{display:none}@media (width<=900px){.mobile-stage-bar{align-items:center;gap:var(--space-2);z-index:20;min-height:var(--touch-target);padding:0 var(--space-4);background:var(--color-surface);border-bottom:1px solid var(--color-border);color:var(--color-text);text-align:left;width:100%;display:flex;position:sticky;top:0}.mobile-stage-bar .stage-elapsed{margin-left:auto}}.stage-rich{gap:var(--space-3);flex-direction:column;min-width:0;display:flex}.stage-empty{color:var(--color-text-muted);font-size:var(--text-aux)}.metric-row{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(120px,1fr));display:grid}.metric{background:var(--color-surface-subtle);border:1px solid var(--color-border);border-radius:var(--radius-sm);flex-direction:column;gap:2px;padding:12px 16px;display:flex}.metric strong{font-variant-numeric:tabular-nums;font-size:22px;font-weight:500}.metric span{font-size:var(--text-meta);color:var(--color-text-muted)}.detail-label{font-size:var(--text-meta);color:var(--color-text-muted);font-weight:700}.intent-summary p{margin-top:var(--space-1)}.chip-row{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.chip{padding:2px var(--space-2);border:1px solid var(--color-border);background:var(--color-surface-subtle);font-size:var(--text-meta);border-radius:999px}.query-output{gap:var(--space-1);flex-direction:column;display:flex}.query-output small{color:var(--color-text-muted);font-size:var(--text-meta)}.query-output code{font-family:var(--font-mono);font-size:var(--text-aux);border:1px solid var(--color-border);border-radius:var(--radius-sm);overflow-wrap:anywhere;background:#fafafa;padding:12px;line-height:1.8}.stage-disclosure{border-top:1px solid var(--color-border);padding-top:var(--space-2)}.stage-disclosure-toggle{justify-content:space-between;align-items:center;gap:var(--space-2);width:100%;min-height:36px;color:var(--color-text-muted);font-size:var(--text-aux);cursor:pointer;text-align:left;background:0 0;border:0;padding:0;font-weight:600;display:flex}.stage-disclosure-toggle:hover{color:var(--color-text)}.stage-disclosure-toggle:focus-visible{outline:2px solid var(--color-link);outline-offset:2px}.stage-disclosure-body{padding:var(--space-2) 0 var(--space-3);gap:var(--space-3);flex-direction:column;display:flex}.intent-detail-group{gap:var(--space-1);font-size:var(--text-aux);flex-direction:column;display:flex}.intent-detail-group>strong{font-size:var(--text-meta);color:var(--color-text-muted)}.query-view-row{gap:var(--space-2);font-size:var(--text-aux);align-items:baseline;display:flex}.query-view-row code{font-family:var(--font-mono);font-size:var(--text-meta)}.iteration-list{gap:var(--space-2);flex-direction:column;display:flex}.iteration-row{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface)}.iteration-toggle{justify-content:space-between;align-items:center;gap:var(--space-2);width:100%;min-height:44px;padding:var(--space-2) var(--space-3);cursor:pointer;text-align:left;background:0 0;border:0;display:flex}.iteration-meta{align-items:center;gap:var(--space-2);min-width:0;font-size:var(--text-aux);color:var(--color-text-muted);flex-wrap:wrap;display:flex}.iteration-meta strong{color:var(--color-text)}.action-pill{padding:1px var(--space-2);border:1px solid var(--color-border);background:var(--color-surface-subtle);font-size:var(--text-meta);color:var(--color-text-muted);border-radius:999px}.action-pill[data-action=accept]{color:var(--color-success);border-color:var(--color-success);background:var(--color-success-soft)}.action-pill[data-action=stop]{color:var(--color-danger);border-color:var(--color-danger);background:var(--color-danger-soft)}.iteration-body{gap:var(--space-2);padding:0 var(--space-3) var(--space-3);font-size:var(--text-aux);flex-direction:column;display:flex}.iteration-body code{font-family:var(--font-mono);font-size:var(--text-meta);overflow-wrap:anywhere}.iteration-body p{color:var(--color-text-muted)}.process-group+.process-group{border-top:1px solid var(--color-border);padding-top:var(--space-3)}.process-heading{font-size:var(--text-body);margin:0 0 var(--space-2);font-weight:600}.stage-card--active>.stage-summary,.stage-summary:hover{background:#fafafa}.stage-title .badge{gap:4px;min-height:22px;font-size:11px}.stage-title .badge .lucide{width:12px;height:12px}.workflow-empty{border-color:var(--color-border);min-height:230px;margin-top:8px}@media (width<=900px){.stage-summary{padding:16px}.stage-meta{gap:4px}.stage-body{padding:16px}.stage-number{width:30px;height:30px}.workflow{padding:1px}.stage-summary-line{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}}.back-link{margin-top:var(--space-1);font-size:var(--text-meta);color:var(--color-link);align-items:center;gap:6px;display:inline-flex}.results-summary{gap:var(--space-3);color:var(--color-text-muted);background:var(--color-surface);border-radius:var(--radius-sm);font-size:var(--text-body);border:0;flex-wrap:wrap;align-items:baseline;padding:4px 0;display:flex}.alert--warning{border-color:var(--color-warning);background:var(--color-warning-soft)}.alert--warning strong{color:var(--color-warning)}.workspace-toolbar .toolbar-counts{min-height:var(--control-h-compact);flex-direction:column;justify-content:center;align-items:flex-start;gap:0}.results-list{gap:var(--space-4);flex-direction:column;display:flex}.result-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);min-width:0;box-shadow:var(--shadow-xs);transition:border-color var(--duration);flex-direction:column;gap:16px;padding:24px;display:flex}.result-card--selected{background:var(--color-surface-subtle);border-color:var(--color-text-subtle)}.result-card-header{align-items:flex-start;gap:var(--space-3);min-width:0;display:flex}.result-card-header input[type=checkbox]{width:16px;height:16px;accent-color:var(--color-primary);flex:none;margin:3px 0 0}.result-score{padding:2px var(--space-2);border:1px solid var(--color-border);background:var(--color-surface-subtle);color:var(--color-text);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;flex:none;order:3;margin-left:auto;font-size:12px;font-weight:500}.result-score--none{color:var(--color-text-muted);background:0 0;border:0;padding:2px 0;font-weight:500}.result-copy{flex-direction:column;gap:12px;min-width:0;padding-left:28px;display:flex}.result-title{font-size:var(--text-paper-title);overflow-wrap:anywhere;flex:1;min-width:0;font-weight:600;line-height:1.55}.result-title a{color:var(--color-text);text-decoration:none}.result-title a:hover{color:var(--color-link);text-decoration:underline}.result-meta{font-size:var(--text-meta);color:var(--color-text-muted);overflow-wrap:anywhere}.result-meta code{font-family:var(--font-mono)}.result-authors{font-size:var(--text-aux);color:var(--color-text)}.result-abstract,.result-reasoning{font-size:var(--text-body);overflow-wrap:anywhere}.result-reasoning{color:var(--color-text-muted);border-left:2px solid var(--color-border-strong);padding-left:12px}.result-clamp{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.result-clamp--2{-webkit-line-clamp:2}.result-clamp--3{-webkit-line-clamp:3}.result-clamp-block{align-items:flex-start;gap:var(--space-1);flex-direction:column;display:flex}.clamp-toggle{min-height:24px;color:var(--color-link);font-size:var(--text-meta);cursor:pointer;background:0 0;border:0;padding:0}.clamp-toggle:focus-visible{outline:2px solid var(--color-link);outline-offset:2px}.result-links{font-size:var(--text-body);border-top:1px solid var(--color-border);flex-wrap:wrap;align-items:center;gap:16px;padding-top:12px;display:flex}.result-details>summary{align-items:center;gap:var(--space-1);cursor:pointer;min-height:32px;color:var(--color-link);font-weight:500;list-style:none;display:inline-flex}.result-details>summary::-webkit-details-marker{display:none}.result-details-body{font-size:var(--text-meta);overflow-wrap:anywhere;flex-wrap:wrap;gap:8px 24px;margin:4px 0 0;display:flex}.result-details-body>div{align-items:baseline;gap:8px;min-width:0;display:flex}.result-details-body dt{color:var(--color-text-muted);flex:none}.result-details-body dd{margin:0}.result-card .detail-label{font-weight:700;font-size:var(--text-meta);color:var(--color-text-muted)}.result-abstract .detail-label,.result-reasoning .detail-label{font-weight:600;font-size:var(--text-meta);color:var(--color-text-muted)}.result-details-body code{font-family:var(--font-mono);overflow-wrap:anywhere}.load-more-row{justify-content:center;align-items:center;gap:var(--space-2);padding:var(--space-2) 0 var(--space-6);display:flex}.results-export-actions{grid-template-columns:repeat(2,auto);gap:8px;display:grid}.results-export-actions .button{min-height:36px;padding:0 12px;font-size:13px}.result-card:hover{border-color:var(--color-border-strong)}.result-links>a{align-items:center;gap:4px;min-height:32px;font-size:13px;display:inline-flex}.result-links .lucide{width:13px;height:13px}@media (width<=900px){.results-export-actions{width:100%}.results-export-actions .button{min-height:44px}.result-card{padding:20px 16px}.result-copy{padding-left:0}.result-card-header{grid-template-columns:16px minmax(0,1fr);display:grid}.result-title{grid-area:1/2}.result-score{grid-column:2;justify-self:start;margin:0}.result-links>a{min-height:44px}}.history-layout{gap:var(--space-4);grid-template-columns:minmax(300px,40%) 1fr;align-items:start;min-height:0;display:grid}.history-list{gap:var(--space-2);flex-direction:column;min-width:0;display:flex}.history-item{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-xs);flex-direction:column;gap:16px;padding:20px;display:flex}.history-item--active{background:var(--color-surface-subtle);border-color:#a3a3a3}.history-open{text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:stretch;gap:12px;min-width:0;padding:0;display:flex}.history-open strong{overflow-wrap:anywhere;font-size:15px;font-weight:500}.history-item-meta{gap:var(--space-2);font-size:var(--text-meta);color:var(--color-text-muted);flex-wrap:wrap;align-items:center;display:flex}.history-item-actions{gap:var(--space-3);font-size:var(--text-meta);border-top:1px solid var(--color-border);flex-wrap:wrap;padding-top:12px;display:flex}.history-detail{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);flex-direction:column;gap:20px;min-width:0;padding:24px;display:flex}.history-detail h3{overflow-wrap:anywhere}.history-primary-detail{gap:var(--space-2);flex-direction:column;display:flex}.history-detail-actions{gap:var(--space-2);flex-wrap:wrap;align-items:center;display:flex}@media (width<=900px){.history-layout{grid-template-columns:1fr}}.page-description{color:var(--color-text-muted);font-size:var(--text-aux);margin-top:6px}.history-toolbar{border:0;padding:0}.history-item-actions a{color:var(--color-text-muted)}.history-item-actions a:hover{color:var(--color-text)}.history-detail [data-testid=history-primary-detail]{flex-direction:column;gap:12px;display:flex}.history-detail-empty{min-height:240px;color:var(--color-text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}@media (width>=901px){.history-detail{position:sticky;top:0}}@media (width<=900px){.history-toolbar{width:100%}.history-item-actions a{align-items:center;min-height:44px;display:inline-flex}}.citation-layout{gap:var(--space-4);grid-template-columns:1fr minmax(280px,34%);align-items:start;min-height:0;display:grid}.citation-map-panel{gap:var(--space-3);flex-direction:column;min-width:0;display:flex}.citation-toolbar{align-items:center;gap:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-md);flex-wrap:wrap;padding:12px;display:flex}.citation-toolbar .field{flex:0 240px}.citation-toolbar .spacer{flex:1}.citation-legend{gap:var(--space-3);font-size:var(--text-meta);color:var(--color-text-muted);flex-wrap:wrap;margin:0;padding:4px 0;list-style:none;display:flex}.citation-legend li{align-items:center;gap:var(--space-1);display:inline-flex}.legend-glyph{flex:none;width:16px;height:16px;overflow:visible}.legend-shape{stroke-width:2px}.legend-shape--result{fill:var(--color-graph-result);stroke:var(--color-graph-result)}.legend-shape--seed{fill:var(--color-graph-seed);stroke:var(--color-graph-seed)}.legend-shape--forward{fill:var(--color-graph-forward);stroke:var(--color-graph-forward)}.legend-shape--backward{fill:var(--color-graph-backward);stroke:var(--color-graph-backward)}.citation-graph{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-xs);overflow:hidden}.citation-graph svg{touch-action:none;width:100%;height:auto;min-height:320px;display:block}.citation-edge{stroke:var(--color-border-strong);stroke-width:1.5px;fill:none}.citation-edge marker path,.citation-graph marker path{fill:var(--color-border-strong)}.citation-node{cursor:pointer}.citation-node .citation-hit-target{fill:#0000}.citation-node .citation-node-shape{stroke-width:2px}.citation-node[data-role=result] .citation-node-shape{fill:var(--color-graph-result);stroke:var(--color-graph-result)}.citation-node[data-role=seed] .citation-node-shape{fill:var(--color-graph-seed);stroke:var(--color-graph-seed)}.citation-node[data-role=forward] .citation-node-shape{fill:var(--color-graph-forward);stroke:var(--color-graph-forward)}.citation-node[data-role=backward] .citation-node-shape{fill:var(--color-graph-backward);stroke:var(--color-graph-backward)}.citation-node[data-selected=true] .citation-node-shape{stroke:var(--color-text);stroke-width:3px}.citation-node:focus-visible{outline:none}.citation-node:focus-visible .citation-hit-target{stroke:var(--color-link);stroke-width:2px;fill:none}.citation-node-label{fill:var(--color-text-muted);font-size:11px;font-family:var(--font-mono);pointer-events:none}.citation-node-label--title{font-family:var(--font-sans);fill:var(--color-text);paint-order:stroke;stroke:var(--color-surface);stroke-width:3px}.citation-detail-panel{gap:var(--space-4);flex-direction:column;min-width:0;display:flex}.citation-detail-card{gap:var(--space-2);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);overflow-wrap:anywhere;box-shadow:var(--shadow-xs);flex-direction:column;padding:24px;display:flex}.citation-detail-card .detail-meta{font-size:var(--text-meta);color:var(--color-text-muted)}.citation-text-list{gap:var(--space-2);flex-direction:column;display:flex}.citation-text-list h3{font-size:var(--text-meta);color:var(--color-text-muted);font-weight:700}.citation-text-list .node-button{text-align:left;width:100%;padding:var(--space-2) var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);cursor:pointer;overflow-wrap:anywhere;display:block}.citation-text-list .node-button:hover{background:var(--color-surface-subtle)}.citation-text-list .node-button[aria-pressed=true]{border-color:var(--color-accent);background:var(--color-accent-soft)}.citation-text-equivalent>summary{min-height:var(--control-h);cursor:pointer;color:var(--color-text-muted);font-size:var(--text-meta);align-items:center;font-weight:600;display:flex}.citation-text-equivalent[open]{gap:var(--space-3);flex-direction:column;display:flex}.citation-detail-card .detail-label{font-weight:700;font-size:var(--text-meta);color:var(--color-text-muted)}@media (width<=900px){.citation-layout{grid-template-columns:1fr}}.citation-detail-card h3{font-size:16px;line-height:1.6}.citation-text-equivalent{border-radius:var(--radius-md)}.review-workspace{overflow-wrap:anywhere;width:min(1180px,100%);margin:0 auto;padding:28px 40px 64px}.review-workspace h1{font-size:var(--text-page-title);margin:4px 0 8px;font-weight:600;line-height:1.4}.review-workspace h2,.review-dialog h2{margin:0;font-size:17px;font-weight:500;line-height:1.5}.review-workspace .muted,.review-dialog .muted{color:var(--color-text-muted);font-size:13px}.review-workspace svg,.review-dialog svg{flex:none;width:16px;height:16px}.review-workspace .button--primary,.review-dialog .button--primary{min-height:36px;padding:0 16px;font-weight:500}.review-back{color:var(--color-text-muted);align-items:center;gap:8px;margin-bottom:24px;font-size:13px;display:inline-flex}.review-row,.review-page-heading,.review-progress,.review-section-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.review-page-heading{align-items:flex-start;margin-bottom:28px}.review-page-heading>div:first-child{min-width:0}.review-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.review-eyebrow{color:var(--color-text-muted);font-size:12px}.review-icon-button{flex:none;width:32px;min-height:32px;padding:0}.review-spin{animation:1s linear infinite review-rotate}@keyframes review-rotate{to{transform:rotate(360deg)}}.review-status{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted);border-radius:999px;align-items:center;gap:6px;padding:2px 8px;font-size:12px;font-weight:400;line-height:1.5;display:inline-flex}.review-status--active{background:var(--color-primary);color:var(--color-primary-foreground);border-color:var(--color-primary)}.review-status svg{width:12px;height:12px}.review-divider{color:var(--color-text-muted);align-items:center;gap:12px;margin:28px 0 20px;font-size:13px;display:flex}.review-divider:before,.review-divider:after{content:"";background:var(--color-border);flex:1;height:1px}.review-workspace hr{border:0;border-top:1px solid var(--color-border);margin:20px 0}.review-fields{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0;margin:0;padding:0;display:grid}.review-wide{grid-column:1/-1}.review-form{border:0;gap:24px;min-width:0;margin:0;padding:0;display:grid}.review-workspace .field select,.review-dialog .field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-right:32px}.review-workspace .field textarea,.review-dialog .field textarea{line-height:1.7}.review-check{cursor:pointer;align-items:flex-start;gap:12px;margin:12px 0;line-height:1.6;display:flex}.review-check input{width:16px;height:16px;accent-color:var(--color-primary);flex:none;margin:3px 0 0}.review-check input:disabled{cursor:not-allowed}.review-check strong{font-weight:500}.review-check q{color:var(--color-text-muted);margin-top:8px;font-size:13px;display:block}.review-model{border:1px solid var(--color-border);background:var(--color-surface);border-radius:8px;margin:16px 0 24px}.review-model summary{cursor:pointer;align-items:center;gap:10px;padding:12px 16px;list-style:none;display:flex}.review-model-name{text-align:right;overflow-wrap:anywhere;min-width:0;margin-left:auto}.review-model fieldset{padding:8px 16px 20px}.review-model[open] .review-chevron,.review-outline-section[open]>summary .review-chevron{transform:rotate(180deg)}.review-model summary::-webkit-details-marker{display:none}.review-outline-section>summary::-webkit-details-marker{display:none}.review-export summary::-webkit-details-marker{display:none}.review-list-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px;display:grid}.review-list-item{border:1px solid var(--color-border);border-radius:10px;flex-direction:column;gap:16px;min-width:0;padding:22px;display:flex}.review-list-item .review-list-icon{width:20px;height:20px;color:var(--color-text-muted)}.review-list-title{color:inherit;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.review-list-title h2{font-size:16px}.review-list-title svg{color:var(--color-text-muted);margin-top:4px}.review-list-item footer{border-top:1px solid var(--color-border);margin-top:auto;padding-top:14px}.review-list-item footer .button{box-shadow:none;border-color:#0000}.review-empty{text-align:center;color:var(--color-text-muted);border:1px dashed var(--color-border);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:64px 24px;display:flex}.review-empty>svg{width:26px;height:26px}.review-empty h2{color:var(--color-text)}.review-empty p{max-width:440px}.review-empty .button{margin-top:6px}.review-create{max-width:1000px;margin:0 auto}.review-steps{border-bottom:1px solid var(--color-border);gap:32px;margin:0 0 28px;padding:0 0 24px;list-style:none;display:flex}.review-steps li{color:var(--color-text-muted);align-items:center;gap:10px;font-size:13px;display:flex}.review-steps li>span{border:1px solid var(--color-border);border-radius:50%;flex:none;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}.review-steps li.current{color:var(--color-text);font-weight:500}.review-steps li.current>span,.review-steps li.done>span{background:var(--color-primary);color:var(--color-primary-foreground);border-color:var(--color-primary)}.review-section-intro{gap:6px;margin-bottom:20px;display:grid}.review-search{flex:1;position:relative}.review-search>svg{color:var(--color-text-muted);position:absolute;top:11px;left:12px}.review-search input{padding-left:36px}.review-source-list{gap:12px;margin:20px 0;display:grid}.review-source-option{text-align:left;border:1px solid var(--color-border);background:var(--color-surface);cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;gap:24px;padding:18px;display:flex}.review-source-option>span{min-width:0}.review-source-option strong{margin-bottom:6px;font-weight:500;display:block}.review-source-option:hover:not(:disabled){background:var(--color-surface-subtle);border-color:var(--color-border-strong)}.review-source-option:disabled{opacity:.55;cursor:not-allowed}.review-source-summary{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.review-source-summary h2{margin-top:4px}.review-selection-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0;display:flex}.review-selection-toolbar .review-search{min-width:200px}.review-paper-options{gap:10px;display:grid}.review-paper-option{border:1px solid var(--color-border);border-radius:8px;padding:14px 16px}.review-paper-option.selected{border-color:var(--color-text-muted);background:var(--color-surface-subtle)}.review-paper-option .review-check{margin:0}.review-paper-meta{color:var(--color-text-muted);margin-top:6px;font-size:12px;display:block}.review-paper-preview{margin:10px 0 0 28px;font-size:13px}.review-paper-preview summary{cursor:pointer;color:var(--color-text-muted);align-items:center;gap:6px;display:flex}.review-paper-preview p{margin-top:12px;line-height:1.8}.review-load-more{margin-top:20px}.review-create-footer,.review-outline-footer{border-top:1px solid var(--color-border);background:var(--color-surface);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:24px;padding:20px 0;display:flex}.review-create-footer strong{font-weight:500}.review-setup{grid-template-columns:minmax(0,1fr) 270px;align-items:start;gap:32px;display:grid}.review-setup-main{min-width:0}.review-setup-main .review-model{margin:0}.review-selection-summary{border:1px solid var(--color-border);border-radius:10px;gap:16px;padding:24px;display:grid}.review-selection-summary>svg{width:24px;height:24px}.review-selection-summary hr,.review-setup .review-create-footer{margin:0}.review-workflow-steps{margin-bottom:0}.review-progress{padding:22px 0 6px}.review-progress-copy{min-width:0}.review-progress-copy strong{font-weight:500}.review-progress-copy>p{margin-top:8px}.review-content-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:28px;padding:0 0 24px;display:flex}.review-tabs{background:var(--color-surface-subtle);border-radius:8px;gap:2px;width:fit-content;padding:3px;display:flex}.review-tabs button{color:var(--color-text-muted);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:5px;min-height:32px;padding:6px 20px;font-size:13px}.review-tabs button.active{color:var(--color-text);background:var(--color-surface);box-shadow:var(--shadow-xs)}.review-citation-style{min-width:185px}.review-export{position:relative}.review-export summary{list-style:none}.review-export-menu{z-index:5;border:1px solid var(--color-border);background:var(--color-surface);border-radius:8px;min-width:165px;padding:4px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 4px 14px #0001}.review-export-menu .button{box-shadow:none;border:0;justify-content:flex-start;width:100%}.review-paper{border-bottom:1px solid var(--color-border);padding:20px 0}.review-paper summary{cursor:pointer;font-weight:500}.review-paper summary .muted{margin-top:6px;font-weight:400;display:block}.review-paper>p{margin-top:12px}.review-abstract{white-space:pre-wrap;color:var(--color-text-muted);line-height:1.8}.review-outline{gap:16px;display:grid}.review-outline-section{border:1px solid var(--color-border);border-radius:8px;min-width:0}.review-outline-section>summary{cursor:pointer;align-items:center;gap:14px;padding:18px;list-style:none;display:flex}.review-outline-section>summary strong{font-weight:500}.review-outline-section>summary .muted{margin-top:4px;display:block}.review-outline-section>summary .review-chevron{margin-left:auto}.review-outline-number{background:var(--color-surface-subtle);border-radius:6px;flex:none;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}.review-outline-fields{border:0;min-width:0;margin:0;padding:4px 20px 20px}.review-assignments{border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);margin:20px 0;padding:16px 0}.review-assignments summary{cursor:pointer;font-size:13px}.review-paragraph-plan{gap:16px;margin:24px 0;display:grid}.review-paragraph-plan h3{margin:0;font-size:14px;font-weight:500}.review-plan-item{border-left:2px solid var(--color-border);gap:12px;padding-left:16px;display:grid}.review-plan-sources summary{cursor:pointer;color:var(--color-text-muted);font-size:13px}.review-paragraph-plan>.button{justify-self:start}.review-reading-layout{grid-template-columns:190px minmax(0,1fr);align-items:start;gap:40px;display:grid}.review-toc{color:var(--color-text-muted);border-right:1px solid var(--color-border);gap:14px;padding:4px 20px 4px 0;font-size:12px;display:grid;position:sticky;top:24px}.review-toc a{color:inherit;text-decoration:none}.review-toc a:hover{color:var(--color-text)}.review-reading{min-width:0;max-width:780px}.review-written-section{border-bottom:1px solid var(--color-border);margin:32px 0;padding-bottom:28px;scroll-margin-top:24px}.review-section-heading{flex-wrap:wrap;justify-content:flex-start;gap:10px;margin-bottom:12px}.review-section-actions .button{box-shadow:none;color:var(--color-text-muted);border-color:#0000;padding:0 8px}.review-section-actions .button:hover{color:var(--color-text)}.review-prose{white-space:pre-wrap;margin:20px 0;font-size:15px;line-height:1.95}.review-citation{color:var(--color-text-muted);cursor:pointer;font:inherit;vertical-align:super;background:0 0;border:0;padding:2px;font-size:12px}.review-citation:hover{color:var(--color-text);text-decoration:underline}.review-harvard .review-citation{font-size:inherit;vertical-align:baseline}.review-references{padding:0 0 20px;font-size:13px;line-height:1.8}.review-references>p{margin-top:16px}.review-notice,.review-check-summary{background:var(--color-surface-subtle);border-radius:8px;margin:12px 0;padding:12px 16px;font-size:13px;line-height:1.7}.review-check-summary summary{cursor:pointer;align-items:center;gap:8px;font-weight:500;display:flex}.review-check-summary>p{margin-top:10px}.review-error{background:var(--color-danger-soft);color:var(--color-danger);border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;padding:12px 16px;line-height:1.6;display:flex}.review-dialog{border:1px solid var(--color-border);width:min(740px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--color-text);background:var(--color-surface);border-radius:10px;padding:24px;overflow:auto;box-shadow:0 20px 70px #0002}.review-dialog::backdrop{background:#0006}.review-dialog header{margin-bottom:20px}.review-dialog header .button{box-shadow:none;border-color:#0000}.review-dialog-intro{margin-bottom:24px}.review-dialog blockquote{border-left:2px solid var(--color-border-strong);background:var(--color-surface-subtle);margin:12px 0;padding:12px 16px;line-height:1.8}.review-dialog h3,.review-dialog h4{margin:16px 0 8px}.review-dialog details{margin:16px 0}.review-dialog summary{cursor:pointer}.review-paragraph-editor{border:0;border-bottom:1px solid var(--color-border);min-width:0;margin:0;padding:0 0 24px}.review-dialog .dialog-actions{background:var(--color-surface);margin:0;padding:16px 0 4px;position:sticky;bottom:-24px}.review-version{border-bottom:1px solid var(--color-border);padding:14px 0;line-height:1.7}@media (width>=901px){.review-workspace{scrollbar-gutter:stable;flex:1;min-height:0;overflow-y:auto}}@media (width<=900px){.review-workspace{padding:24px 20px 40px}.review-workspace .button,.review-dialog .button{min-height:44px}.review-icon-button{width:44px}.review-setup{grid-template-columns:minmax(0,1fr);gap:24px}.review-selection-summary{grid-row:1}.review-selection-summary>svg,.review-selection-summary>hr,.review-selection-summary>p:last-child{display:none}.review-model-name{font-size:12px}.review-search>svg{top:15px}.review-search input{min-height:44px}.review-reading-layout{grid-template-columns:minmax(0,1fr);gap:24px}.review-toc{border-right:0;border-bottom:1px solid var(--color-border);flex-wrap:wrap;gap:12px 18px;padding-bottom:20px;display:flex;position:static}}@media (width<=600px){.review-workspace{padding-inline:16px}.review-page-heading,.review-progress,.review-source-summary{flex-direction:column;align-items:stretch;gap:16px}.review-page-heading>.review-actions{justify-content:flex-end}.review-list-grid,.review-fields{grid-template-columns:minmax(0,1fr)}.review-list-item{padding:18px}.review-steps{gap:16px}.review-workflow-steps{flex-direction:column;gap:12px}.review-tabs{width:100%}.review-tabs button{flex:1;min-height:40px;padding:8px 16px}.review-content-toolbar>.review-actions{justify-content:space-between;width:100%}.review-citation-style{flex:1;min-width:0}.review-citation-style select{min-height:44px;font-size:13px}.review-dialog{padding:20px}.review-dialog .dialog-actions{flex-wrap:wrap;bottom:-20px}.review-model summary{flex-wrap:wrap}.review-model-name{text-align:left;order:2;width:100%;padding-left:26px}.review-model summary .review-chevron{margin-left:auto}.review-create-footer>.muted{flex-basis:100%;order:-1}.review-create-footer>div{flex:1;min-width:150px}}
