:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--brand:#1f5f5b;--brand-strong:#174845;--brand-solid:#1f5f5b;--on-brand:#fff;--color-ground:#f6f8f8;--surface:#fff;--surface-sunken:#fafcfc;--surface-selected:#eef4f3;--surface-code:#eef2f1;--chat-user-bg:#dfeceb;--chat-agent-bg:#f1f3f4;--color-text:#1d2b2a;--color-muted:#556a68;--color-teal:var(--brand);--color-border:#dfe7e6;--border-control:#7a8f8c;--color-error:#a93226;--ok:#1f7a4c;--warn:#74590d;--bad:var(--color-error);--info:#2b527a;--chip-todo-bg:#e6eeed;--chip-todo-fg:var(--color-muted);--chip-running-bg:#fff4d6;--chip-running-fg:var(--warn);--chip-done-bg:#dcebe4;--chip-done-fg:var(--brand);--chip-failed-bg:#f7e5e2;--chip-failed-fg:var(--color-error);--chip-waiting-bg:#e8eef7;--chip-waiting-fg:var(--info);--danger-border:#d8a39c;--scrim:#0f1e1d6b;--heat-0:transparent;--heat-1:#1f5f5b1f;--heat-2:#1f5f5b38;--heat-3:#1f5f5b57;--heat-4:#1f5f5b7a;--font-ui:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;--font-mono:ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;--text-xs:.75rem;--text-sm:.85rem;--text-base:1rem;--text-lg:1.125rem;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--space-6:2rem;--radius-sm:4px;--radius:6px;--radius-lg:10px;--shadow-1:0 1px 2px #0f1e1d0f, 0 1px 1px #0f1e1d0a;--shadow-2:0 10px 30px #0f1e1d2e;--dur-fast:.11s;--dur:.17s;--ease:cubic-bezier(.2, .6, .3, 1);--focus:var(--brand);--focus-halo:#1f5f5b40;--control-h:2.25rem;--hit:2.75rem;--panel-w:20rem}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--brand:#6ecdbb;--brand-strong:#8ddbcc;--brand-solid:#2f8f81;--on-brand:#06100f;--color-ground:#11171a;--surface:#171f23;--surface-sunken:#1b2428;--surface-selected:#1f3330;--surface-code:#1e282c;--chat-user-bg:#22403b;--chat-agent-bg:#212a2e;--color-text:#e3ecea;--color-muted:#a8bbb8;--color-border:#2b383c;--border-control:#5f7a80;--color-error:#f59183;--ok:#6ecdbb;--warn:#e8c25a;--info:#8fbcf0;--chip-todo-bg:#232f33;--chip-todo-fg:#a8bbb8;--chip-running-bg:#3a2f10;--chip-running-fg:#e8c25a;--chip-done-bg:#123029;--chip-done-fg:#6ecdbb;--chip-failed-bg:#3a1c18;--chip-failed-fg:#f59183;--chip-waiting-bg:#15263a;--chip-waiting-fg:#8fbcf0;--danger-border:#7a3a32;--scrim:#0009;--heat-0:transparent;--heat-1:#6ecdbb2e;--heat-2:#6ecdbb47;--heat-3:#6ecdbb66;--heat-4:#6ecdbb8c;--shadow-1:0 1px 2px #00000080;--shadow-2:0 10px 30px #0009;--focus:#7fd8c6;--focus-halo:#7fd8c64d}}*{box-sizing:border-box}html,body,#root{height:100%}body{font:var(--text-base) / 1.55 var(--font-ui);color:var(--color-text);background:var(--color-ground);-webkit-text-size-adjust:100%;margin:0}:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:var(--radius-sm)}a{color:var(--brand);text-underline-offset:2px}a:hover{color:var(--brand-strong)}h1,h2,h3,h4{letter-spacing:-.01em;line-height:1.3}h2{margin:0 0 var(--space-2);font-size:1.35rem}h3{font-size:var(--text-lg);margin:var(--space-5) 0 var(--space-2)}.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}button{font:inherit;justify-content:center;align-items:center;gap:var(--space-1);min-height:var(--control-h);padding:0 var(--space-3);border:1px solid var(--border-control);border-radius:var(--radius);background:var(--surface);color:var(--color-text);cursor:pointer;transition:background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);display:inline-flex}button:hover:not(:disabled){background:var(--surface-selected);border-color:var(--brand)}button:active:not(:disabled){background:var(--surface-sunken)}button:disabled{cursor:not-allowed;opacity:.55}button.primary{background:var(--brand-solid);color:var(--on-brand);border-color:var(--brand-solid);font-weight:600}button.primary:hover:not(:disabled){background:var(--brand-strong);border-color:var(--brand-strong);color:var(--on-brand)}button.danger{color:var(--color-error);border-color:var(--danger-border)}button.danger:hover:not(:disabled){background:var(--chip-failed-bg);border-color:var(--color-error)}input,textarea,select{font:inherit;min-height:var(--control-h);padding:var(--space-1) var(--space-2);border:1px solid var(--border-control);border-radius:var(--radius);background:var(--surface);color:var(--color-text);transition:border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease)}input:focus,textarea:focus,select:focus{border-color:var(--focus);box-shadow:0 0 0 3px var(--focus-halo);outline:none}input[type=checkbox],input[type=radio]{width:1rem;height:1rem;min-height:0;accent-color:var(--brand-solid)}::placeholder{color:var(--color-muted);opacity:1}[aria-invalid=true]{border-color:var(--color-error)}.error-text{color:var(--color-error);margin:var(--space-1) 0 0;font-size:.9rem}.muted{color:var(--color-muted)}.field{margin:var(--space-2) 0}.field-label{align-items:center;gap:var(--space-1);display:inline-flex}.field-label label,.field-checkbox label{margin:0}.field-checkbox{align-items:center;gap:var(--space-2);margin:var(--space-2) 0;display:flex}.field-checkbox input{margin-top:0}.field-help{display:inline-flex;position:relative}.field-help-button{border:1px solid var(--border-control);background:var(--surface-sunken);width:1.1em;height:1.1em;min-height:0;color:var(--color-muted);border-radius:50%;flex:none;padding:0;font-size:.8em;line-height:1}.field-help-button:hover:not(:disabled){background:var(--surface-selected);color:var(--brand);border-color:var(--brand)}.field-help-button[aria-expanded=true]{background:var(--brand-solid);border-color:var(--brand-solid);color:var(--on-brand)}.field-help-bubble{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.field-help-bubble.open{z-index:5;margin:var(--space-1) 0 0;width:max-content;max-width:min(20rem,100vw - 2rem);height:auto;padding:var(--space-2) var(--space-3);clip:auto;white-space:normal;border:1px solid var(--color-border);border-radius:var(--radius);background:var(--surface);color:var(--color-text);box-shadow:var(--shadow-2);font-size:var(--text-sm);font-weight:400;line-height:1.5;top:100%;left:0;overflow:visible}table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.92rem}th,td{text-align:left;padding:var(--space-1) var(--space-2);border-bottom:1px solid var(--color-border)}th{color:var(--color-muted);font-weight:600;font-size:var(--text-sm);letter-spacing:.02em}tbody tr:hover{background:var(--surface-sunken)}.app-shell{flex-direction:column;height:100%;display:flex}.top-bar{align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-4);border-bottom:1px solid var(--color-border);background:var(--surface);flex-wrap:wrap;display:flex}.top-bar .app-name{font-weight:700;font-size:var(--text-lg);color:var(--brand);letter-spacing:-.02em}.top-bar .app-by{margin-left:var(--space-1);font-size:var(--text-sm);color:var(--color-muted);letter-spacing:normal;font-weight:400}.tool-switch{gap:var(--space-1);display:flex}.tool-tab{padding:var(--space-1) var(--space-2);border-radius:var(--radius);color:var(--color-text);border:1px solid #0000;line-height:1.4;text-decoration:none}.tool-tab:hover{background:var(--surface-selected);border-color:var(--border-control);text-decoration:none}.tool-tab[aria-current=page]{background:var(--surface-selected);border-color:var(--border-control);font-weight:600}.top-bar .spacer{flex:1}.lang-switch{display:inline-flex}.lang-switch button{min-height:2rem;padding:0 var(--space-2);font-size:var(--text-sm);border-radius:0}.lang-switch button:first-child{border-radius:var(--radius) 0 0 var(--radius)}.lang-switch button:last-child{border-radius:0 var(--radius) var(--radius) 0;margin-left:-1px}.lang-switch button[aria-pressed=true]{background:var(--brand-solid);border-color:var(--brand-solid);color:var(--on-brand);z-index:1;font-weight:600}.app-body{flex:1;min-height:0;display:flex}.panel{border-right:1px solid var(--color-border);background:var(--surface);transition:width var(--dur) var(--ease);overflow-y:auto}.panel.right{border-right:none;border-left:1px solid var(--color-border);flex-direction:column;display:flex;position:relative;overflow:hidden}.panel.collapsed{width:var(--hit);overflow:hidden}.panel:not(.collapsed){width:var(--panel-w);padding:var(--space-3);flex-shrink:0}.panel-rail{width:var(--hit);height:var(--hit);color:var(--color-muted);background:0 0;border:none;padding:0}.panel-rail:hover:not(:disabled){background:var(--surface-selected);color:var(--brand)}.panel-header{justify-content:space-between;align-items:center;gap:var(--space-2);margin-bottom:var(--space-2);display:flex}.panel-header h3{font-size:var(--text-base);margin:0}.panel-collapse{min-height:2rem;padding:0 var(--space-2);color:var(--color-muted);background:0 0;border:none}.panel-footer{margin-top:var(--space-3);padding-top:var(--space-2);border-top:1px solid var(--color-border)}.panel-collapse:hover:not(:disabled){background:var(--surface-selected);color:var(--brand)}.main-pane{padding:var(--space-4) var(--space-5);flex:1;min-width:0;overflow-y:auto}@media (width<=1100px){:root{--panel-w:15rem}.main-pane{padding:var(--space-3)}}@media (width<=760px){.app-body{flex-direction:column}.panel,.panel.right,.panel:not(.collapsed){border-left:none;border-right:none;border-bottom:1px solid var(--color-border);max-height:45vh;width:auto!important}.panel.collapsed{max-height:none}.panel.right{border-bottom:none;border-top:1px solid var(--color-border)}.panel-resize-handle{display:none}}.login-screen{height:100%;padding:var(--space-4);justify-content:center;align-items:center;display:flex}.login-form{gap:var(--space-2);width:22rem;max-width:100%;padding:var(--space-6);background:var(--surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-1);flex-direction:column;display:flex}.login-form h1{margin:0 0 var(--space-2);color:var(--brand);font-size:1.5rem}.login-form input{width:100%}.login-form button{margin-top:var(--space-2)}.project-list{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.project-list li{border-radius:var(--radius);transition:background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);border:1px solid #0000}.project-list li.selected{background:var(--surface-selected);border-color:var(--brand)}.project-list li.empty,.project-list li.static{padding:var(--space-2)}.project-list li.static{gap:var(--space-1);flex-direction:column;display:flex}.project-row{gap:var(--space-1);padding:var(--space-2);border-radius:var(--radius);color:inherit;flex-direction:column;text-decoration:none;display:flex}.project-row:hover{background:var(--surface-sunken);color:inherit}.project-list li.selected .project-row:hover{background:0 0}.project-row-top{align-items:center;gap:var(--space-2);min-width:0;display:flex}.project-name{min-width:0;color:var(--color-text);white-space:nowrap;text-overflow:ellipsis;flex:auto;font-weight:600;display:block;overflow:hidden}.project-list li.selected .project-name{color:var(--brand)}.project-creator{white-space:nowrap;text-overflow:ellipsis;flex:none;max-width:40%;overflow:hidden}.project-list .muted{font-size:var(--text-sm)}.project-row-detail{margin-top:var(--space-1);flex-direction:column;gap:2px;display:flex}.project-seed{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.project-list .phase-chip{border-radius:var(--radius-sm);background:var(--chip-todo-bg);color:var(--chip-todo-fg);padding:.1rem .4rem;font-size:.78rem;display:inline-block}.panel-actions{margin-top:var(--space-3)}.panel-actions button{width:100%}.archived-section{margin-top:var(--space-4);border-top:1px solid var(--color-border);padding-top:var(--space-2)}.archived-section>summary{cursor:pointer;color:var(--color-muted);font-size:var(--text-sm);padding:var(--space-1) 0}.spinner{border:2px solid var(--color-border);border-top-color:var(--brand);border-radius:50%;flex:none;width:.8em;height:.8em;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.stepper{gap:var(--space-2);margin:var(--space-4) 0;grid-template-columns:repeat(auto-fill,minmax(8rem,1fr));display:grid}.step{min-width:0;min-height:0;padding:var(--space-2) var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius);background:var(--surface);cursor:pointer;text-align:left;justify-content:flex-start;align-items:stretch;gap:var(--space-1);flex-direction:column;display:flex;position:relative;overflow:hidden}.step:hover:not(:disabled){background:var(--surface-sunken);border-color:var(--border-control)}.step.active{border-color:var(--brand);background:var(--surface-selected)}.step.active:before{content:"";background:var(--brand);height:3px;position:absolute;inset:0 0 auto}.step .step-name{align-items:center;gap:var(--space-1);font-weight:600;display:flex}.step.active .step-name{color:var(--brand)}.step-chips{gap:var(--space-1);flex-wrap:wrap;display:flex}.chip{align-items:center;gap:var(--space-1);border-radius:var(--radius-sm);font-size:var(--text-xs);white-space:nowrap;padding:.1rem .45rem;line-height:1.6;display:inline-flex}.chip.todo{background:var(--chip-todo-bg);color:var(--chip-todo-fg)}.chip.running{background:var(--chip-running-bg);color:var(--chip-running-fg)}.chip.done{background:var(--chip-done-bg);color:var(--chip-done-fg)}.chip.failed{background:var(--chip-failed-bg);color:var(--chip-failed-fg)}.chip.waiting{background:var(--chip-waiting-bg);color:var(--chip-waiting-fg)}.artifact-section{border:1px solid var(--color-border);border-radius:var(--radius);margin-bottom:var(--space-3);background:var(--surface);overflow:hidden}.artifact-section>summary{padding:var(--space-2) var(--space-3);cursor:pointer;background:var(--surface-sunken);font-weight:600}.artifact-section>summary:hover{background:var(--surface-selected)}.artifact-body{padding:var(--space-3)}.toolbar{gap:var(--space-2);margin-bottom:var(--space-2);flex-wrap:wrap;align-items:center;display:flex}.step-actions-slot{display:contents}.toolbar .count-line{margin:0}.num{text-align:right;font-variant-numeric:tabular-nums}.obj-chip{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--surface-code);cursor:pointer;min-height:0;font-family:var(--font-mono);font-size:var(--text-xs);padding:0 .3em}.clip-3{-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.md-body table{margin:var(--space-2) 0}.md-body pre{background:var(--surface-code);padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);font-family:var(--font-mono);font-size:var(--text-sm);overflow-x:auto}.md-body code{background:var(--chip-todo-bg);border-radius:var(--radius-sm);font-family:var(--font-mono);padding:0 .3em;font-size:.9em}pre{max-width:100%;font-family:var(--font-mono);font-size:var(--text-sm);overflow-x:auto}.pending-badge{color:var(--color-error);font-weight:700}form label,.spec-brief-form>label,.axis-draft>label{margin:var(--space-2) 0;display:block}form input[type=text],form input[type=number],form textarea,form select,.spec-brief-form input:not([type=checkbox]),.spec-brief-form textarea,.axis-draft textarea,.pending-decision-card textarea{width:100%;max-width:26rem;margin-top:var(--space-1);display:block}form input[type=checkbox],form input[type=radio]{width:1rem;margin-top:0;display:inline-block}.seed-chips{gap:var(--space-1);margin:var(--space-1) 0 0;flex-wrap:wrap;padding:0;list-style:none;display:flex}.seed-chip{align-items:center;gap:var(--space-1);padding:0 var(--space-1) 0 var(--space-2);border:1px solid var(--border-control);border-radius:var(--radius);background:var(--surface-sunken);display:inline-flex}.seed-chip button{min-height:0;padding:0 var(--space-1);border-radius:var(--radius);color:var(--color-muted);background:0 0;border:none;font-size:1.05em;line-height:1}.seed-chip button:hover:not(:disabled){color:var(--color-text);background:0 0;border-color:#0000}.seed-chip-count{margin-top:var(--space-1);display:block}.decision-choice-list{margin:var(--space-2) 0;padding:0;list-style:none}.decision-choice-list li{padding:.15rem 0}.pending-decision-card{border:1px solid var(--color-border);border-left:3px solid var(--warn);border-radius:var(--radius);padding:var(--space-3);margin-bottom:var(--space-3);background:var(--surface-sunken)}.pending-decision-card .title,.force-dialog .title{font-weight:600;font-size:var(--text-lg);margin:var(--space-1) 0 var(--space-2)}.force-dialog-backdrop{background:var(--scrim);padding:var(--space-4);z-index:10;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.force-dialog{background:var(--surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-2);padding:var(--space-5);width:100%;max-width:32rem;max-height:80vh;overflow-y:auto}.archive-confirm{border:1px solid var(--danger-border);border-radius:var(--radius);background:var(--surface);padding:var(--space-3);margin:var(--space-2) 0;max-width:28rem;box-shadow:var(--shadow-1)}.archive-confirm p:first-child{margin-top:0;font-weight:600}.project-header{padding-bottom:var(--space-3);border-bottom:1px solid var(--color-border)}.project-header h2{margin-bottom:var(--space-1)}.project-header p{margin:var(--space-1) 0}.axis-cards{gap:var(--space-3);margin:var(--space-2) 0;flex-wrap:wrap;display:flex}.axis-card{border:1px solid var(--color-border);border-radius:var(--radius);padding:var(--space-2) var(--space-3);cursor:pointer;background:var(--surface);min-width:14rem;max-width:18rem;transition:border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);display:block}.axis-card:hover{border-color:var(--border-control);background:var(--surface-sunken)}.axis-card:has(input:checked){border-color:var(--brand);background:var(--surface-selected)}.axis-card:focus-within{border-color:var(--focus)}.price-range-fields{align-items:center;gap:var(--space-2);margin-top:var(--space-1);display:flex}.price-range-fields label{white-space:nowrap;margin:0}.price-range-fields input{width:8rem;max-width:8rem}.advantages-field{margin:var(--space-3) 0}.advantage-count{margin-left:var(--space-2);font-size:var(--text-sm);color:var(--color-muted);font-weight:400}.advantage-count.at-max{color:var(--warn)}.advantage-groups{gap:var(--space-3) var(--space-5);margin:var(--space-2) 0;grid-template-columns:repeat(auto-fit,minmax(17rem,1fr));display:grid}.advantage-group h5{margin:0 0 var(--space-1)}.advantage-list{column-gap:var(--space-2);grid-template-columns:auto minmax(0,1fr) clamp(5.5rem,28%,9rem) 2.25rem;align-items:center;display:grid}.advantage-list.claims{grid-template-columns:auto minmax(0,1fr) clamp(5.5rem,28%,9rem)}.advantage-list-head,.advantage-option{grid-template-columns:subgrid;grid-column:1/-1;align-items:center;display:grid}.advantage-list-head{padding:0 var(--space-2) var(--space-1);font-size:var(--text-xs);color:var(--color-muted);white-space:nowrap}.advantage-option{padding:.3rem var(--space-2);border-radius:var(--radius-sm);cursor:pointer;transition:background var(--dur-fast) var(--ease);border-left:2px solid #0000;margin:0}.advantage-option:hover{background:var(--surface-sunken)}.advantage-option.selected{background:var(--surface-selected);border-left-color:var(--brand-solid)}.advantage-option.blocked{color:var(--color-muted);cursor:not-allowed}.advantage-option:has(input:focus-visible){box-shadow:0 0 0 3px var(--focus-halo)}.advantage-option input[type=checkbox]{width:1rem;max-width:1rem;cursor:inherit;margin:0}.advantage-name{align-items:center;gap:0 var(--space-1);flex-wrap:wrap;min-width:0;display:flex}.advantage-text{overflow-wrap:anywhere}.advantage-option .pct-bar{width:100%;min-width:0}.advantage-option .pct-bar-track{min-width:1.5rem}.advantage-option .pct-bar-label{flex-shrink:0;min-width:3.2rem}.advantage-option .num:last-child,.advantage-list-head .num{text-align:right}.advantage-custom{align-items:center;gap:var(--space-2);margin:var(--space-2) 0;display:flex}.advantage-custom label{white-space:nowrap;margin:0}.advantage-custom input{max-width:20rem}.advantage-custom button{white-space:nowrap;flex-shrink:0}.advantage-chips{gap:var(--space-1);margin:var(--space-1) 0;flex-wrap:wrap;display:flex}.advantage-chip button{color:inherit;cursor:pointer;font-size:var(--text-sm);background:0 0;border:none;padding:0 0 0 .2rem;line-height:1}.segment-axis,.competitor-picker{margin:var(--space-4) 0}.competitor-picker-table{width:100%}.competitor-picker-table th{white-space:nowrap}@media (width<=760px){.competitor-picker-table{width:max-content;max-width:none}}.competitor-picker-title-cell{white-space:normal;max-width:22rem}.competitor-picker-title{align-items:center;gap:var(--space-2);display:inline-flex}.competitor-picker-toolbar{align-items:center;gap:var(--space-3);margin:var(--space-2) 0;flex-wrap:wrap;display:flex}.competitor-picker-pagination{align-items:center;gap:var(--space-2);display:inline-flex}.scope-top-listings-table{width:100%}.scope-top-listings-table th{white-space:nowrap}@media (width<=760px){.scope-top-listings-table{width:max-content;max-width:none}}.scope-top-listing-cell{white-space:normal;max-width:24rem}.scope-top-listings-picker{align-items:center;gap:var(--space-2);margin:var(--space-2) 0;flex-wrap:wrap;display:flex}.scope-top-listings-picker label{white-space:nowrap;margin:0}.hover-thumb{cursor:pointer;display:inline-flex;position:relative}.hover-thumb-img,.hover-thumb-placeholder{object-fit:contain;border-radius:var(--radius-sm);background:var(--surface-sunken);flex:none;width:40px;height:40px}.hover-thumb:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.hover-thumb-preview{z-index:1000;object-fit:contain;background:var(--surface);border:1px solid var(--color-border);border-radius:var(--radius);max-width:420px;max-height:420px;box-shadow:var(--shadow-2);padding:var(--space-1);pointer-events:none;position:fixed}.preview-table{margin:var(--space-1) 0 var(--space-3)}.scan-launcher,.job-run{margin:var(--space-3) 0}.chip.ok{background:var(--chip-done-bg);color:var(--ok)}.chip.warn{background:var(--chip-running-bg);color:var(--warn)}.chip.bad{background:var(--chip-failed-bg);color:var(--bad)}.chip.muted{background:var(--chip-todo-bg);color:var(--chip-todo-fg)}.pct-bar{align-items:center;gap:var(--space-1);min-width:7rem;display:inline-flex}.pct-bar-track{background:var(--color-border);border-radius:var(--radius-sm);flex:1;min-width:3rem;height:.5rem;position:relative;overflow:hidden}.pct-bar-fill{background:var(--brand);border-radius:var(--radius-sm);width:0;position:absolute;inset:0}.pct-bar-label{white-space:nowrap;font-variant-numeric:tabular-nums}.def-list{gap:var(--space-1) var(--space-4);margin:var(--space-2) 0;grid-template-columns:max-content 1fr;display:grid}.def-list .def-row{display:contents}.def-list dt{color:var(--color-muted);margin:0}.def-list dd{margin:0}.view-collapsible{border:1px solid var(--color-border);border-radius:var(--radius);margin-bottom:var(--space-3);background:var(--surface);overflow:hidden}.view-collapsible>summary{padding:var(--space-2) var(--space-3);cursor:pointer;background:var(--surface-sunken);font-weight:600}.view-collapsible>summary:hover{background:var(--surface-selected)}.view-collapsible-body{padding:0 var(--space-3) var(--space-3)}.view-table{margin:var(--space-2) 0}.rubric-table-scroll,.view-table-scroll{overflow-x:auto}.rubric-table th,.rubric-table td{vertical-align:top}.rubric-scope-metrics{margin:var(--space-4) 0;padding-top:var(--space-3);border-top:1px solid var(--color-border)}.rubric-scope-metrics:first-of-type{border-top:none;padding-top:0}.view-card{border:1px solid var(--color-border);border-radius:var(--radius);padding:var(--space-2) var(--space-3);background:var(--surface);min-width:14rem;max-width:20rem}.rfq-versions{gap:var(--space-3);margin:var(--space-2) 0;flex-wrap:wrap;display:flex}.anchors-line{font-size:var(--text-sm);margin:var(--space-1) 0 0}.risks-list{color:var(--bad)}.nested-table{margin:0}.age-stacked-bar{border-radius:var(--radius-sm);background:var(--color-border);width:8rem;height:.6rem;display:inline-flex;overflow:hidden}.age-stacked-bar span{height:100%;display:block}.axis-row-chosen{background:var(--surface-selected)}.tree-toggle{cursor:pointer;width:1.1em;color:var(--color-muted);font-size:var(--text-sm);background:0 0;border:none;padding:0;line-height:1}.tree-toggle:hover{color:inherit}.tree-leaf{width:1.1em;font-size:var(--text-sm);display:inline-block}.tree-group td{padding-top:var(--space-3);color:var(--color-muted);font-size:var(--text-sm)}.segment-examples-row td{border-bottom:none;padding-top:0}.spec-category-row td{background:var(--surface-selected);font-weight:600}.evidence-list{margin:0;padding-left:1.1rem}.panel-resize-handle{cursor:col-resize;z-index:1;background:0 0;border:none;border-radius:0;width:6px;height:100%;min-height:0;padding:0;position:absolute;top:0;left:-3px}.panel-resize-handle:hover,.panel-resize-handle:focus-visible{background:var(--brand)}.agent-panel{flex-direction:column;flex:1;min-height:0;display:flex}.chat-sessions{gap:var(--space-1);margin-bottom:var(--space-2);flex-shrink:0;display:flex}.chat-sessions select{flex:1;min-width:0}.chat-transcript{gap:var(--space-2);min-height:0;padding:var(--space-1) 0;flex-direction:column;flex:1;display:flex;overflow-y:auto}.chat-line-user{text-align:right;background:var(--chat-user-bg);border-radius:var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-lg);max-width:92%;padding:var(--space-1) var(--space-3);align-self:flex-end}.chat-line-user .chat-by{font-size:var(--text-xs);color:var(--color-muted);display:block}.chat-line-user p{margin:.1rem 0 0}.chat-line-text{overflow-wrap:anywhere;background:var(--chat-agent-bg);border-radius:var(--radius-lg) var(--radius-lg) var(--radius-lg) var(--radius-sm);max-width:92%;padding:var(--space-1) var(--space-3);align-self:flex-start;font-size:.9rem}.chat-line-text>:first-child{margin-top:0}.chat-line-text>:last-child{margin-bottom:0}.chat-tool-call .chip.tool{background:var(--chip-todo-bg);color:var(--chip-todo-fg);cursor:pointer;min-height:0;font-size:var(--text-xs);border:none}.chat-tool-call .chip.tool:hover{background:var(--surface-selected);color:var(--brand)}.chat-tool-result{font-size:var(--text-sm)}.chat-compose{gap:var(--space-1);margin-top:var(--space-2);padding-top:var(--space-2);border-top:1px solid var(--color-border);background:var(--surface);flex-direction:column;flex-shrink:0;display:flex}.chat-compose textarea{resize:vertical;min-height:3.5rem;font:inherit;width:100%}.project-tabs-row{align-items:stretch;gap:var(--space-2);margin:var(--space-4) 0;display:flex}.project-tabs-row .stepper{flex:1;margin:0}.cost-tab-toggle{min-width:8rem;padding:var(--space-2) var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius);background:var(--surface);cursor:pointer;justify-content:center;align-items:center;font-weight:600;display:flex;position:relative}.cost-tab-toggle:hover{background:var(--surface-sunken);border-color:var(--border-control)}.cost-tab-toggle.active{border-color:var(--brand);background:var(--surface-selected);color:var(--brand)}.cost-tab-toggle.active:before{content:"";background:var(--brand);height:3px;position:absolute;inset:0 0 auto}.cost-tiles{gap:var(--space-3);margin:var(--space-3) 0;grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));display:grid}.cost-tile{border:1px solid var(--color-border);border-radius:var(--radius);padding:var(--space-2) var(--space-3);background:var(--surface)}.cost-tile h4{margin:0 0 var(--space-1);color:var(--color-muted);font-size:var(--text-sm);font-weight:600}.cost-tile-line{font-size:var(--text-lg);margin:0}.cost-total{margin:var(--space-2) 0 var(--space-4);font-size:var(--text-lg)}.rates-table input{width:7rem}.rates-drawer .field input{width:10rem}.cost-expand-toggle{min-width:0;min-height:0;padding:0 var(--space-1);color:var(--color-muted);background:0 0;border:none}.cost-expand-toggle:disabled{visibility:hidden}.cost-stage-row td:nth-child(2){padding-left:var(--space-5);color:var(--color-muted)}.cost-stage-name{align-items:center;gap:var(--space-1);display:inline-flex}.cost-by-step-table tr.failed td{background:var(--chip-failed-bg)}.cost-by-step-table tr.failed td:nth-child(2){color:var(--chip-failed-fg)}.theme-columns{gap:var(--space-3);margin-top:var(--space-2);grid-template-columns:1fr 1fr;display:grid}@media (width<=760px){.theme-columns{grid-template-columns:1fr}}.theme-column{flex-direction:column;display:flex}.theme-row{gap:var(--space-2);padding:var(--space-1) 0;border-bottom:1px solid var(--color-border);grid-template-columns:minmax(6rem,auto) auto minmax(0,1fr);align-items:center;display:grid}.theme-row-share{white-space:nowrap}.theme-row-quote{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.money-negative{color:var(--bad)}.edge-notes{margin:var(--space-2) 0}.heat-grid th,.heat-cell{text-align:center}.heat-cell{font-variant-numeric:tabular-nums}.heat-0{background:var(--heat-0)}.heat-1{background:var(--heat-1)}.heat-2{background:var(--heat-2)}.heat-3{background:var(--heat-3)}.heat-4{background:var(--heat-4)}.competitor-table-toolbar{gap:var(--space-2);margin-bottom:var(--space-2);display:flex}.competitor-table-grid{width:100%}@media (width<=760px){.competitor-table-grid{width:max-content;max-width:none}}.competitor-thumb{object-fit:contain;border-radius:var(--radius-sm);background:var(--surface-sunken);width:48px;height:48px}.competitor-title-cell{white-space:normal;max-width:20rem}.competitor-brand{font-weight:600}.sort-header{font:inherit;font-weight:inherit;color:inherit;cursor:pointer;background:0 0;border:none;padding:0}.sort-header:hover{color:var(--brand)}.page-signals{gap:var(--space-1);flex-wrap:wrap;display:inline-flex}.competitor-reference-divider td{padding-top:var(--space-3);padding-bottom:var(--space-2);border-top:1px solid var(--color-border)}.competitor-detail-row td{background:var(--surface-sunken);padding:var(--space-3)}.competitor-detail-grid{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(22rem,1fr));display:grid}.competitor-detail-block{min-width:0;max-width:none}.competitor-detail-block h5{margin-top:0}.competitor-detail-block h6{margin:var(--space-2) 0 var(--space-1)}.theme-topic-list,.quote-list{margin:var(--space-1) 0;padding-left:1.1rem}.quote-list{padding-left:var(--space-2);list-style:none}.rating-histogram{gap:var(--space-1);margin:var(--space-2) 0;flex-direction:column;display:flex}.rating-histogram-row{align-items:center;gap:var(--space-2);grid-template-columns:2.5rem 1fr 3rem 4.5rem;display:grid}.rating-histogram-star{color:var(--color-muted)}.rating-histogram-count{color:var(--color-muted);font-size:var(--text-sm)}.ts-panels{gap:var(--space-3);margin-top:var(--space-3);flex-direction:column;display:flex}.ts-panel{margin:0}.ts-panel figcaption{color:var(--color-muted);font-size:var(--text-sm);margin-bottom:var(--space-1)}.ts-chart{width:100%;height:auto;display:block}.ts-grid{stroke:var(--color-border);stroke-width:1px}.ts-axis{stroke:var(--border-control);stroke-width:1px}.ts-axis-label{fill:var(--color-muted);font-size:11px}.ts-line{stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.ts-dot{stroke:var(--surface);stroke-width:2px}.ts-price{stroke:var(--brand)}circle.ts-price{fill:var(--brand)}.ts-sales{stroke:var(--info)}circle.ts-sales{fill:var(--info)}.cost-table td{vertical-align:middle}.cost-line-total td{border-top:1px solid var(--color-border);font-weight:600}.cost-bar-track{background:var(--color-border);border-radius:var(--radius-sm);width:6rem;height:.5rem;display:block;position:relative;overflow:hidden}.cost-bar-fill{background:var(--brand);border-radius:var(--radius-sm);width:0;position:absolute;inset:0}.cost-bar-fill-total{background:var(--ok)}.cost-caveats{margin-top:var(--space-2)}.usage-page{max-width:68rem}.usage-filters{align-items:flex-end}.usage-table{width:100%}.usage-row{cursor:pointer}.usage-row:hover{background:var(--surface-sunken)}.usage-totals-row{background:var(--surface-sunken);font-weight:600}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.spinner{animation:1.2s steps(8,end) infinite spin!important}}.error-view{border:1px solid var(--color-border);border-radius:var(--radius);padding:var(--space-3);border-left:3px solid #a93226;max-width:48rem}.error-view pre{white-space:pre-wrap;background:var(--surface-sunken);padding:var(--space-2);border-radius:var(--radius-sm);font-size:var(--text-sm)}
