/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}::backdrop{--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\!visible{visibility:visible!important}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.isolate{isolation:isolate}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.table{display:table}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}.journal-overlay{z-index:150;background:#0913259e;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.trade-workbench{background:var(--surface);border:1px solid var(--line-strong);width:min(1480px,100%);min-width:0;height:min(1000px,100dvh - 48px);max-height:calc(100dvh - 48px);box-shadow:var(--shadow);color:var(--text);border-radius:20px;flex-direction:column;font-size:16px;display:flex;overflow:hidden}.journal-header{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;gap:20px;padding:24px 28px 16px;display:flex}.journal-header span{color:var(--primary);font-size:14px}.journal-header h2{margin:5px 0;font-size:25px}.journal-header p{color:var(--muted);margin:8px 0 0;font-size:14px}.journal-tabs{background:var(--surface-soft);border-bottom:1px solid var(--line);flex-wrap:wrap;flex:none;gap:8px;padding:12px 28px;display:flex}.journal-mobile-step{display:none}.journal-tabs :focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.journal-tabs button,.journal-counts button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:9px;padding:10px 16px}.journal-tabs button.active,.journal-counts button.active{color:var(--primary);background:var(--primary-soft);border-color:var(--accent-border);font-weight:700}.journal-body{overscroll-behavior:contain;flex:auto;min-width:0;min-height:0;padding:24px 28px;overflow:auto}.journal-body>*,.journal-header>div{overflow-wrap:anywhere;min-width:0;max-width:100%}.trade-workbench .research-table-scroll{max-height:none;margin-top:12px;overflow-x:auto}.trade-workbench th,.trade-workbench td,.trade-workbench .research-module th,.trade-workbench .research-module td,.trade-workbench .decision-conditions td{white-space:normal;overflow-wrap:anywhere;min-width:90px;font-size:14px}.trade-workbench th:last-child,.trade-workbench td:last-child{display:table-cell}.trade-workbench th:first-child,.trade-workbench td:first-child{position:static}.trade-workbench .secondary-button,.trade-workbench .primary-button{justify-content:center;align-items:center;display:inline-flex}.trade-workbench .panel-head{padding:0}.trade-workbench .decision-pool-table td:nth-child(3){min-width:240px;max-width:330px}.trade-workbench .decision-pool-table td:last-child{min-width:160px}.trade-workbench .decision-pool-table td:first-child{min-width:48px}.journal-data-readiness,.journal-batch-diagnostics{border:1px solid var(--accent-border);background:var(--surface-soft);border-radius:12px;margin:16px 0;padding:16px}.journal-batch-diagnostics ul{padding-left:22px}.journal-data-readiness .research-actions{margin-bottom:0}.journal-issue{margin:8px 0;font-size:14px;line-height:1.6}.journal-data-readiness dl{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.journal-data-readiness dd{margin:4px 0;font-weight:600}.journal-detail{scroll-margin-top:16px}.journal-body h3{margin:12px 0;font-size:19px}.journal-body h4{margin:12px 0;font-size:16px}.journal-body p,.journal-body li{line-height:1.7}.journal-body label{color:var(--text);gap:8px;font-size:14px;display:grid}.journal-body input:not([type=checkbox]):not([type=radio]),.journal-body textarea,.journal-body select{background:var(--surface);color:var(--text);border:1px solid var(--line-strong);border-radius:8px;width:100%;min-width:0;padding:10px 12px}.journal-body textarea{resize:vertical;min-height:80px}.journal-body fieldset{border:1px solid var(--line);border-radius:12px;min-width:0;padding:16px}.journal-body legend{color:var(--muted);padding:0 6px;font-size:14px}.journal-body button{min-height:40px;font-size:14px}:is(.journal-body button:focus-visible,.journal-body input:focus-visible,.journal-body select:focus-visible,.journal-body textarea:focus-visible,.journal-body summary:focus-visible){outline:3px solid var(--focus-ring);outline-offset:2px}.journal-body small{color:var(--muted);margin-top:4px;font-size:13px;line-height:1.5;display:block}.journal-body summary{cursor:pointer;padding:10px 0;font-size:14px}.journal-body form>button{margin:14px 0}.journal-body .research-error{overflow-wrap:anywhere}.journal-body .rule-source{white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;font-size:13px;overflow:auto}.journal-toolbar,.journal-rule-picker,.journal-counts,.journal-row-actions{flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;display:flex}.journal-rule-picker{border-bottom:1px solid var(--line);align-items:end;padding:0 0 18px}.journal-rule-picker>label{flex:320px}.journal-rule-picker>details{flex:100%}.journal-body .journal-confirm{align-items:start;gap:10px;margin:16px 0;line-height:1.6;display:flex}.journal-toolbar>label:has(input[type=radio]){align-items:start;gap:10px;margin:16px 0;line-height:1.6;display:flex}.journal-confirm input{flex:none;margin-top:4px}.journal-toolbar>span{color:var(--muted);font-size:14px}.journal-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.journal-summary>div{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;gap:10px;padding:18px;display:grid}.journal-summary span{color:var(--muted);font-size:14px}.journal-summary strong{overflow-wrap:anywhere;font-size:24px}.journal-automation{border:1px solid var(--accent-border);background:var(--primary-soft);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin:20px 0;padding:16px 20px;display:flex}.journal-automation p{margin:6px 0;font-size:14px}.journal-detail,.journal-new-plan{border:1px solid var(--accent-border);border-radius:14px;margin-top:24px;padding:20px}.journal-detail .panel-head,.journal-new-plan .panel-head{flex-wrap:wrap;padding:0}.journal-form{background:var(--surface-soft);border-radius:12px;margin:20px 0;padding:18px}.journal-form>p{font-size:14px}.journal-evaluation{border-left:4px solid var(--primary);background:var(--surface-soft);border-radius:8px;margin:20px 0;padding:14px 20px}.journal-evaluation.decision-exit{border-color:var(--up);background:var(--danger-soft)}.journal-evaluation.decision-reduce,.journal-evaluation.decision-insufficient{border-color:var(--warning);background:var(--warning-soft)}.journal-success{color:var(--down);background:var(--success-soft);border-radius:8px;padding:12px}.journal-action{background:var(--surface-soft);border-radius:6px;padding:5px 8px;font-size:14px;display:inline-block}.journal-action.decision-buy{color:var(--primary);background:var(--primary-soft)}.journal-action.decision-insufficient,.journal-action.decision-avoid{color:var(--warning);background:var(--warning-soft)}.journal-table{border-collapse:collapse;width:100%;font-size:14px}.journal-table th,.journal-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:14px 12px}.journal-table thead{background:var(--surface-soft)}.decision-pool-table{min-width:960px}.journal-row-actions{gap:7px;margin:0}.journal-history-select{max-width:750px;margin:20px 0}.comparison-table{min-width:650px}.comparison-table td,.comparison-table th{overflow-wrap:anywhere;min-width:145px;max-width:360px}.journal-detail blockquote{border-left:3px solid var(--line-strong);background:var(--surface-soft);margin:16px 0;padding:8px 16px}.journal-fill{border:1px solid var(--line);border-radius:10px;margin:16px 0;padding:14px}@media (max-width:760px){.journal-overlay{padding:0}.trade-workbench{border-radius:0;width:100%;height:100dvh;max-height:100dvh}.journal-header{padding:18px 16px 12px}.journal-tabs{gap:6px;padding:10px 16px}.journal-tabs>button{display:none}.journal-mobile-step{width:100%;min-width:0;color:var(--muted);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;font-size:13px;display:grid}.journal-mobile-step select{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-width:0;min-height:44px;color:var(--text);border-radius:8px;padding:8px;font-size:16px}.journal-body{padding:16px}.journal-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-summary strong{font-size:20px}.journal-detail,.journal-new-plan,.journal-form{padding:12px}}:root{--bg:#f3f6fa;--surface:#fff;--surface-soft:#f7f9fc;--line:#e5eaf1;--line-strong:#d6dde8;--text:#142033;--muted:#657287;--primary:#2457d6;--primary-soft:#edf3ff;--primary-hover:#173e9c;--on-primary:#fff;--on-heatmap-strong:#fff;--accent-border:#c7d6f8;--focus-ring:#9bb2e8;--up:#b82f2a;--danger-soft:#fff0ef;--down:#08754f;--success-soft:#ebf8f2;--warning:#8c4a07;--warning-soft:#fff7e8;--warning-border:#f2dab7;--ma-5:#b46b00;--ma-10:#7142c4;--ma-20:#087aa8;--ma-60:#a13d76;--toggle-off:#c9cfda;--shadow:0 8px 24px #1a2b480d}*{box-sizing:border-box}html{background:var(--bg)}body{color:var(--text);background:var(--bg);margin:0;font-family:PingFang SC,Microsoft YaHei,Noto Sans CJK SC,system-ui,sans-serif;font-size:14px}button,input,select{font:inherit}button{color:inherit}button:disabled{cursor:wait;opacity:.62}.app-shell{min-height:100vh;color:var(--text);background:var(--bg);grid-template-columns:224px minmax(0,1fr);transition:background .2s,color .2s;display:grid}.dark-theme,:root[data-theme=dark]{--bg:#0f1623;--surface:#172131;--surface-soft:#1c283a;--line:#2b384b;--line-strong:#3a4860;--text:#edf2fa;--muted:#b7c2d2;--primary:#8eaeff;--primary-soft:#203866;--primary-hover:#acc3ff;--on-primary:#081426;--on-heatmap-strong:#081426;--accent-border:#4e6fae;--focus-ring:#8eaeff;--up:#ff8b84;--danger-soft:#432624;--down:#63d9ad;--success-soft:#17382f;--warning:#f1bd73;--warning-soft:#3a2d1b;--warning-border:#75572f;--ma-5:#ffc45b;--ma-10:#c2a2ff;--ma-20:#62c7ee;--ma-60:#f292c4;--toggle-off:#536176;--shadow:0 8px 24px #00000024;color:var(--text);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.auth-shell{min-height:100vh;color:var(--text);background:radial-gradient(circle at 18% 12%, var(--primary), transparent 34%), var(--bg);place-items:center;padding:28px;display:grid}@supports (color:color-mix(in lab, red, red)){.auth-shell{background:radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--primary) 13%, transparent), transparent 34%), var(--bg)}}.auth-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;width:min(440px,100%);padding:28px;box-shadow:0 24px 70px #0a17312e}.auth-brand{align-items:center;gap:12px;margin-bottom:28px;display:flex}.auth-brand>div{gap:3px;display:grid}.auth-brand strong{letter-spacing:.08em;font-size:19px}.auth-brand small{color:var(--muted);letter-spacing:.12em;font-size:10px}.auth-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.auth-heading h1{margin-top:7px;font-size:23px}.auth-intro{color:var(--muted);margin:14px 0 20px;font-size:12px;line-height:1.7}.auth-form{gap:14px;display:grid}.auth-form label{color:var(--muted);gap:7px;font-size:11px;display:grid}.auth-form input{border:1px solid var(--line-strong);width:100%;height:43px;color:var(--text);background:var(--surface-soft);border-radius:9px;outline:0;padding:0 12px}.auth-form input:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.auth-form input:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 22%, transparent)}}.auth-form label small{color:var(--muted);font-size:9px;line-height:1.5}.auth-error{border:1px solid var(--warning-border);color:var(--warning);background:var(--warning-soft);border-radius:8px;padding:9px 11px;font-size:11px;line-height:1.55}.auth-submit{width:100%;height:43px;margin-top:2px}.auth-loading{color:var(--muted);text-align:center;padding:48px 0}.auth-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:20px;padding-top:16px;font-size:9px;display:flex}.auth-footer .secondary-button{justify-content:center;align-items:center;display:inline-flex}.sidebar{background:var(--surface);border-right:1px solid var(--line);z-index:10;flex-direction:column;height:100vh;padding:24px 18px;display:flex;position:sticky;top:0;overflow-y:auto}.brand-mark{align-items:center;gap:11px;padding:0 8px 24px;display:flex}.brand-icon{color:#fff;background:linear-gradient(145deg,#336be8,#173f9f);border-radius:11px;place-items:center;width:38px;height:38px;font-size:17px;font-weight:800;display:grid;box-shadow:0 7px 16px #2457d63d}.brand-copy{flex-direction:column;line-height:1.25;display:flex}.brand-copy strong{letter-spacing:.08em;font-size:18px}.brand-copy small{color:var(--muted);letter-spacing:.16em;margin-top:3px;font-size:10px}.main-nav{gap:6px;display:grid}.nav-item{width:100%;min-height:43px;color:var(--muted);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:0 13px;transition:background .16s,color .16s;display:flex;position:relative}.nav-item>.nav-icon{background:var(--surface-soft);border-radius:7px;place-items:center;width:23px;height:23px;font-size:11px;font-weight:700;display:grid}.nav-item:hover{color:var(--text);background:var(--surface-soft)}.nav-item.active{color:var(--primary);background:var(--primary-soft);font-weight:700}.nav-item.active>.nav-icon{color:var(--on-primary);background:var(--primary)}.nav-ai-job-badge{min-width:26px;color:var(--primary);background:var(--primary-soft);text-align:center;border-radius:99px;padding:2px 5px;font-size:7px;font-weight:900;line-height:1.2;position:absolute;top:5px;right:6px}.nav-ai-job-badge.completed{color:var(--down);background:var(--success-soft)}.nav-ai-job-badge.partial,.nav-ai-job-badge.failed{color:var(--warning);background:var(--warning-soft)}.nav-item:disabled{cursor:not-allowed;opacity:.58}.sidebar-foot{gap:12px;margin-top:auto;display:grid}.capital-card{border:1px solid var(--line);width:100%;color:inherit;background:var(--surface-soft);cursor:pointer;text-align:left;border-radius:12px;gap:5px;padding:15px;display:grid}.capital-card span,.capital-card small{color:var(--muted);font-size:11px}.capital-card strong{font-size:19px}.account-card{border:1px solid var(--line);background:var(--surface-soft);border-radius:11px;grid-template-columns:29px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:10px;display:grid}.account-avatar{width:29px;height:29px;color:var(--primary);background:var(--primary-soft);border-radius:8px;place-items:center;font-size:10px;font-weight:800;display:grid}.account-card>div{gap:2px;min-width:0;display:grid}.account-card strong,.account-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-card strong{font-size:10px}.account-card small{color:var(--muted);font-size:8px}.account-card button{color:var(--primary);cursor:pointer;background:0 0;border:0;font-size:9px;font-weight:800}.install-button{white-space:nowrap}.workspace{min-width:0;padding:28px 34px 18px}.topbar{justify-content:space-between;align-items:center;gap:24px;margin-bottom:18px;display:flex}.eyebrow{color:var(--primary);letter-spacing:.14em;text-transform:uppercase;font-size:11px;font-weight:800}h1{letter-spacing:-.02em;margin:5px 0 0;font-size:25px;line-height:1.2}.topbar-actions{align-items:center;gap:10px;display:flex}.workspace-tools{z-index:8;background:var(--background,var(--surface));align-items:stretch;gap:8px;margin:-8px 0 14px;padding:10px 0;display:flex;position:sticky;top:0}.workspace-tools>button{border:1px solid var(--line);min-width:0;min-height:44px;color:var(--text);background:var(--surface);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:8px 12px;font-size:12px;display:flex}.workspace-tools>button:hover{border-color:var(--primary);color:var(--primary)}.workspace-tools>.workspace-search{text-align:left;flex:1;justify-content:flex-start}.workspace-search>span:last-child{gap:3px;display:grid}.workspace-search small{color:var(--muted);font-size:10px;font-weight:400}.workspace-ai-tasks{flex-wrap:wrap}.workspace-ai-status{color:var(--primary);background:var(--primary-soft);border-radius:99px;padding:2px 6px}.workspace-ai-status.completed{color:var(--down);background:var(--success-soft)}.workspace-ai-status.failed,.workspace-ai-status.partial{color:var(--warning);background:var(--warning-soft)}#candidate-section{scroll-margin-top:86px}@media (max-width:520px){.workspace-tools{gap:5px}.workspace-tools>button{padding:7px;font-size:11px}.workspace-search small{display:none}.workspace-tools>.workspace-ai-tasks{gap:4px;max-width:112px}}.mode-switch{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:3px;display:flex}.mode-switch button{min-width:52px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:7px 10px;font-size:12px}.mode-switch button.selected{color:var(--primary);background:var(--primary-soft);font-weight:700}.icon-button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:9px;width:36px;height:36px;font-size:11px;font-weight:700}.primary-button,.secondary-button{cursor:pointer;border-radius:9px;font-weight:700}.primary-button{height:38px;color:var(--on-primary);border:1px solid var(--primary);background:var(--primary);padding:0 17px;box-shadow:0 6px 12px #2457d629}.primary-button:hover{border-color:var(--primary-hover);background:var(--primary-hover)}.secondary-button{border:1px solid var(--line-strong);background:var(--surface);height:36px;padding:0 13px}.demo-notice{border:1px solid var(--warning-border);min-height:38px;color:var(--warning);background:var(--warning-soft);border-radius:9px;align-items:center;gap:9px;margin-bottom:16px;padding:8px 13px;font-size:12px;display:flex}.demo-notice p{flex:1;margin:0}.demo-notice button,.text-button{color:inherit;cursor:pointer;background:0 0;border:0;font-size:12px;font-weight:700}.notice-dot{background:#d78a2d;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #d78a2d24}.intraday-warning{border-left:3px solid var(--warning);color:var(--warning);background:var(--warning-soft);border-radius:7px;margin:-7px 0 14px;padding:8px 12px;font-size:10px;line-height:1.5}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px;display:grid}.metric-card{border:1px solid var(--line);background:var(--surface);min-height:132px;box-shadow:var(--shadow);border-radius:13px;padding:18px}.metric-card.featured{border-color:var(--accent-border);background:linear-gradient(135deg, var(--surface) 55%, var(--primary-soft))}.metric-heading{color:var(--muted);justify-content:space-between;align-items:center;font-size:12px;display:flex}.metric-icon{width:27px;height:27px;color:var(--primary);background:var(--primary-soft);border-radius:8px;place-items:center;font-size:10px;font-weight:800;display:grid}.metric-card>strong{letter-spacing:-.03em;margin-top:14px;font-size:27px;display:block}.metric-card>strong small{color:var(--muted);font-size:12px;font-weight:500}.metric-card p{color:var(--muted);margin:7px 0 0;font-size:11px}em,.up{color:var(--up);font-style:normal}.down{color:var(--down)}.temperature-track{background:var(--surface-soft);border-radius:99px;height:5px;margin-top:13px;overflow:hidden}.temperature-track span{border-radius:inherit;background:linear-gradient(90deg,#46a47c,#d7a43b);height:100%;display:block}.risk-chip{border-radius:99px;padding:4px 8px;font-size:10px;font-weight:800}.risk-chip.cautious{color:var(--warning);background:var(--warning-soft)}.risk-chip.safe{color:var(--down);background:var(--success-soft)}.pipeline-panel{border:1px solid var(--accent-border);background:linear-gradient(135deg, var(--surface) 64%, var(--primary-soft));box-shadow:var(--shadow);border-radius:13px;margin-bottom:14px;padding:18px}.pipeline-heading{justify-content:space-between;align-items:center;gap:18px;display:flex}.pipeline-automation{border:1px solid var(--accent-border);background:var(--surface);border-radius:13px;min-width:0;margin-top:15px;padding:18px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.pipeline-automation{background:color-mix(in srgb, var(--surface) 94%, var(--primary-soft))}}.pipeline-automation.failed,.pipeline-automation.partial,.pipeline-automation.blocked,.pipeline-automation.unavailable{border-color:var(--warning-border)}.pipeline-automation-head{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;display:grid}.pipeline-automation-title{align-items:center;gap:10px;min-width:0;display:flex}.pipeline-automation-title>div{gap:3px;min-width:0;display:grid}.pipeline-automation-title strong{font-size:15px}.pipeline-automation-title small{color:var(--muted);font-size:11px;line-height:1.5}.automation-orbit{width:34px;height:34px;color:var(--on-primary);background:var(--primary);border-radius:10px;flex:0 0 34px;place-items:center;font-size:11px;font-weight:800;display:grid}.pipeline-automation-controls{justify-items:end;gap:8px;min-width:0;display:grid}.pipeline-automation-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.pipeline-automation-actions button{min-height:36px}.automation-state{color:var(--down);background:var(--success-soft);white-space:nowrap;border-radius:99px;padding:5px 8px;font-size:11px;font-weight:800}.automation-state.running{color:var(--primary);background:var(--primary-soft)}.automation-state.paused{color:var(--warning);background:var(--warning-soft)}.pipeline-automation-progress{border:1px solid var(--line);background:var(--surface);border-radius:11px;margin-top:16px;padding:14px 16px}.pipeline-automation-progress-head{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.pipeline-automation-progress-head>div{grid-template-columns:auto auto;align-items:baseline;gap:3px 10px;min-width:0;display:grid}.pipeline-automation-progress-head>div:last-child{text-align:right;justify-content:end}.pipeline-automation-progress-head span{color:var(--muted);grid-column:1/-1;font-size:10px}.pipeline-automation-progress-head strong{overflow-wrap:anywhere;min-width:0;font-size:14px}.pipeline-automation-progress-head em{color:var(--primary);font-size:18px;font-weight:800}.automation-progress-track{background:var(--surface-soft);border-radius:999px;height:8px;margin-top:11px;overflow:hidden}.automation-progress-track>span{border-radius:inherit;background:linear-gradient(90deg, var(--primary), #7b9ceb);height:100%;transition:width .25s;display:block}.pipeline-automation-stats{grid-template-columns:repeat(5,minmax(140px,1fr));gap:8px;min-width:0;margin-top:10px;display:grid}.pipeline-automation-stats>div{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-content:start;gap:4px;min-width:0;min-height:82px;padding:11px 12px;display:grid}.pipeline-automation-stats span,.pipeline-automation-stats small{color:var(--muted);font-size:10px;line-height:1.45}.pipeline-automation-stats strong{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-size:13px}.pipeline-automation-stats em{color:var(--down);font-style:normal}.pipeline-automation-stats b{color:var(--warning)}.pipeline-automation-foot{min-width:0;color:var(--muted);background:var(--surface-soft);border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;margin-top:10px;padding:11px 12px;font-size:11px;line-height:1.55;display:grid}.pipeline-automation-foot span{color:var(--text)}.pipeline-automation-foot small{text-align:right}.pipeline-automation-failure{border:1px solid var(--line);min-width:0;color:var(--muted);background:var(--surface);border-radius:10px;margin-top:10px;padding:11px 12px;font-size:11px;line-height:1.55}.pipeline-automation-failure.critical{border-color:var(--warning-border);background:var(--warning-soft)}.pipeline-automation-failure>div{align-items:flex-start;gap:10px;min-width:0;display:flex}.pipeline-automation-failure strong{color:var(--warning);flex:none}.pipeline-automation-failure span{overflow-wrap:anywhere;min-width:0}.pipeline-automation-technical{min-width:0;margin-top:7px}.pipeline-automation-technical summary{width:max-content;max-width:100%;color:var(--primary);cursor:pointer;font-weight:700}.pipeline-automation-technical code{border:1px solid var(--line);max-width:100%;max-height:150px;color:var(--muted);background:var(--surface-soft);overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word;border-radius:8px;margin-top:7px;padding:9px 10px;font:10px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;display:block;overflow:auto}.pipeline-stats{border:1px solid var(--line);background:var(--surface);border-radius:11px;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:15px;display:grid;overflow:hidden}.pipeline-stats>div{border-right:1px solid var(--line);gap:4px;min-width:0;padding:13px 15px;display:grid}.pipeline-stats>div:last-child{border-right:0}.pipeline-stats span,.pipeline-stats small{color:var(--muted);font-size:10px}.pipeline-stats strong{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:16px;overflow:hidden}.pipeline-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:13px;display:flex}.manual-backfill-note{border-left:3px solid var(--warning);color:var(--muted);background:var(--warning-soft);border-radius:8px;align-items:flex-start;gap:10px;margin-top:12px;padding:9px 11px;font-size:11px;line-height:1.5;display:flex}.manual-backfill-note strong{color:var(--text);flex:none}.pipeline-run{color:var(--muted);background:var(--surface-soft);border-radius:8px;align-items:center;gap:10px;margin-top:11px;padding:9px 11px;font-size:10px;display:flex}.pipeline-run strong{color:var(--text)}.pipeline-run small{max-width:48%;color:var(--warning);text-overflow:ellipsis;white-space:nowrap;margin-left:auto;overflow:hidden}.pipeline-run.succeeded{border-left:3px solid var(--down)}.pipeline-run.failed,.pipeline-run.degraded{border-left:3px solid var(--warning)}.pipeline-feedback{border-radius:7px;margin-top:9px;padding:8px 10px;font-size:10px;line-height:1.45}.pipeline-feedback.success{color:var(--down);background:var(--success-soft)}.pipeline-feedback.error{color:var(--warning);background:var(--warning-soft)}.market-source-panel{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:13px;margin-bottom:14px;padding:16px 18px}.market-source-summary{justify-content:space-between;align-items:center;gap:18px;display:flex}.source-title-row{align-items:center;gap:11px;display:flex}.source-title-row h2{margin:0;font-size:14px}.source-title-row p{color:var(--muted);margin:4px 0 0;font-size:10px}.source-orbit{width:34px;height:34px;color:var(--primary);background:var(--primary-soft);border-radius:11px;place-items:center;font-size:11px;font-weight:800;display:grid}.source-actions{align-items:center;gap:9px;display:flex}.source-chip{color:var(--muted);background:var(--surface-soft);border-radius:99px;padding:5px 9px;font-size:10px;font-weight:800}.source-chip.connected{color:var(--down);background:var(--success-soft)}.source-chip.degraded{color:var(--warning);background:var(--warning-soft)}.source-meta{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:14px;margin-top:11px;padding-top:10px;font-size:9px;display:flex}.source-error{color:var(--warning);background:var(--warning-soft);border-radius:7px;margin-top:9px;padding:8px 10px;font-size:10px;line-height:1.45}.snapshot-strip{grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;margin-top:12px;display:grid}.snapshot-item{border:1px solid var(--line);background:var(--surface-soft);border-radius:9px;gap:5px;min-width:0;padding:10px;display:grid}.snapshot-item>div{justify-content:space-between;align-items:center;gap:5px;display:flex}.snapshot-item>div strong{font-size:10px}.snapshot-item>div span,.snapshot-item small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.snapshot-item>strong{font-variant-numeric:tabular-nums;font-size:12px}.snapshot-item>span{font-size:9px;font-weight:700}.content-grid{grid-template-columns:minmax(0,1fr) 310px;gap:14px;display:grid}.panel{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:13px;overflow:hidden}.panel-head{justify-content:space-between;align-items:flex-start;gap:15px;min-height:76px;padding:17px 19px;display:flex}.panel-head h2{margin:0;font-size:15px}.panel-head p{color:var(--muted);margin:5px 0 0;font-size:11px}.title-row{align-items:center;gap:7px;display:flex}.help-badge{border:1px solid var(--line-strong);width:16px;height:16px;color:var(--muted);cursor:help;border-radius:50%;place-items:center;font-size:10px;display:grid}.active-strategy-chip{max-width:170px;color:var(--primary);background:var(--primary-soft);text-overflow:ellipsis;white-space:nowrap;border-radius:99px;padding:4px 7px;font-size:9px;font-weight:800;overflow:hidden}.active-ensemble-chip{border:1px solid var(--warning-border);max-width:210px;color:var(--warning);background:var(--warning-soft);text-overflow:ellipsis;white-space:nowrap;border-radius:99px;padding:4px 7px;font-size:9px;font-weight:800;overflow:hidden}.candidates-head{align-items:center}.scope-notice{border:1px solid var(--warning-border);color:var(--warning);background:var(--warning-soft);border-radius:8px;margin:0 19px 13px;padding:9px 11px;font-size:10px;line-height:1.5}.method-notice{color:var(--muted);background:var(--surface-soft);border-radius:8px;margin:0 19px 13px;padding:8px 10px;font-size:9px;line-height:1.55}.board-filter-notice{border:1px solid var(--accent-border);color:var(--primary);background:var(--primary-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:0 19px 10px;padding:8px 10px;font-size:10px;display:flex}.board-filter-notice button{color:var(--primary);cursor:pointer;background:0 0;border:0;font-size:9px;font-weight:800}.board-filter-notice.pending{color:var(--warning);border-color:var(--warning);background:var(--warning-soft)}.board-filter-notice.error{color:var(--up);border-color:var(--up);background:var(--danger-soft)}.board-filter-notice button:disabled{cursor:not-allowed;opacity:.55}.candidate-status{color:var(--muted);background:var(--surface-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:0 19px 13px;padding:9px 11px;font-size:10px;line-height:1.5;display:flex}.candidate-status.error{color:var(--warning);background:var(--warning-soft)}.candidate-status button{color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;flex:none;font-weight:800}.table-tools{gap:8px;display:flex}.table-tools button:disabled{cursor:not-allowed}.candidate-search{gap:6px;display:flex}.candidate-sort-select{border:1px solid var(--line);min-height:36px;color:var(--muted);background:var(--surface-soft);white-space:nowrap;border-radius:9px;align-items:center;gap:6px;padding:3px 4px 3px 9px;font-size:9px;display:flex}.candidate-sort-select select{max-width:96px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;font-weight:700}.candidate-sort-select button{border:1px solid var(--line);height:28px;color:var(--primary);background:var(--surface);cursor:pointer;font:inherit;border-radius:6px;padding:0 7px;font-weight:800}.search-box{border:1px solid var(--line);background:var(--surface-soft);width:190px;height:36px;color:var(--muted);border-radius:9px;align-items:center;gap:7px;padding:0 10px;display:flex}.search-box input{width:100%;color:var(--text);background:0 0;border:0;outline:0;font-size:12px}.search-box:focus-within{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.search-box:focus-within{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 22%, transparent)}}.search-submit{height:36px;color:var(--on-primary);background:var(--primary);cursor:pointer;border:0;border-radius:9px;padding:0 12px;font-size:11px;font-weight:700}.search-submit:disabled{opacity:.55}.candidate-filter-heading{justify-content:space-between;align-items:center;gap:14px;margin:0 19px 10px;display:flex}.candidate-filter-heading>div{gap:3px;min-width:0;display:grid}.candidate-filter-heading strong{font-size:11px}.candidate-filter-heading span{color:var(--muted);font-size:9px;line-height:1.45}.candidate-filter-heading button{border:1px solid var(--accent-border);min-height:34px;color:var(--primary);background:var(--primary-soft);cursor:pointer;border-radius:8px;flex:none;padding:0 11px;font-size:10px;font-weight:800}.sector-filter{gap:6px;padding:0 19px 10px;display:flex;overflow-x:auto}.sector-filter button{border:1px solid var(--line);color:var(--muted);background:var(--surface);cursor:pointer;border-radius:7px;flex:none;padding:6px 10px;font-size:11px}.sector-filter button small{color:inherit;opacity:.72;margin-left:3px;font-size:9px}.sector-filter button:disabled{cursor:wait;opacity:.65}.sector-filter button.selected{color:var(--primary);border-color:var(--accent-border);background:var(--primary-soft);font-weight:700}.sector-select{max-width:480px;color:var(--muted);grid-template-columns:auto minmax(220px,1fr);align-items:center;gap:9px;margin:0 19px 14px;font-size:10px;display:grid}.sector-select select{border:1px solid var(--line);min-width:0;height:36px;color:var(--text);background:var(--surface);font:inherit;border-radius:8px;padding:0 9px}.table-wrap{border-top:1px solid var(--line);border-bottom:1px solid var(--line);width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:900px}.candidate-table{table-layout:fixed;min-width:1248px}.candidate-table .candidate-stock-col{width:176px}.candidate-table .candidate-tags-col{width:390px}.candidate-table .candidate-price-col{width:105px}.candidate-table .candidate-score-col{width:155px}.candidate-table .candidate-signal-col{width:120px}.candidate-table .candidate-stop-col{width:100px}.candidate-table .candidate-position-col{width:90px}.candidate-table .candidate-actions-col{width:112px}.candidate-table th:nth-child(2),.candidate-table td:nth-child(2){white-space:normal}th{color:var(--muted);background:var(--surface-soft);text-align:left;white-space:nowrap;padding:10px 12px;font-size:10px;font-weight:600}.table-sort{color:inherit;cursor:pointer;font:inherit;white-space:nowrap;background:0 0;border:0;padding:0;font-weight:700}.table-sort span,.table-sort.active,:is(.table-sort:hover,.table-sort:focus-visible){color:var(--primary)}.table-sort-pair{justify-items:start;gap:2px;display:grid}.table-sort-pair .table-sort{font-size:8px}th:first-child,td:first-child{padding-left:19px}td{border-top:1px solid var(--line);vertical-align:middle;white-space:nowrap;padding:11px 12px}tbody tr{transition:background .14s}tbody tr:hover{background:var(--surface-soft)}.stock-cell{align-items:center;gap:10px;min-width:138px;display:flex}.stock-cell>div{gap:3px;display:grid}.stock-cell strong{font-size:12px}.stock-cell small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:10px}.rank{width:22px;height:22px;color:var(--muted);background:var(--surface-soft);border-radius:7px;flex:0 0 22px;place-items:center;font-size:10px;font-weight:800;display:grid}.top-rank{color:var(--primary);background:var(--primary-soft)}.tag-list{white-space:normal;flex-wrap:wrap;gap:4px;max-width:366px;display:flex}.tag-list span,.signal-chip{color:var(--muted);background:var(--surface-soft);border-radius:5px;padding:4px 6px;font-size:9px}.signal-chip{color:var(--primary);background:var(--primary-soft)}.ensemble-signal-detail{color:var(--muted);margin-top:4px;font-size:7px;line-height:1.45;display:block}.price,.stop-price{font-variant-numeric:tabular-nums;font-size:11px;display:block}.change{margin-top:4px;font-size:10px;font-weight:700;display:block}.score-cell{align-items:center;gap:7px;display:flex}.score-cell strong{color:var(--primary);font-size:12px}.score-cell>span{background:var(--surface-soft);border-radius:99px;width:46px;height:4px;overflow:hidden}.score-cell i{border-radius:inherit;background:var(--primary);height:100%;display:block}.score-cell small{color:var(--muted);font-size:8px}.row-actions{align-items:center;gap:5px;display:flex}.row-action{border:1px solid var(--line);min-width:28px;height:28px;color:var(--primary);background:var(--surface);cursor:pointer;border-radius:7px;padding:0 6px;font-size:9px;font-weight:800;line-height:1}.row-action.announcement{color:var(--warning);border-color:var(--warning-border);background:var(--warning-soft)}.row-action.ai{color:var(--on-primary);border-color:var(--primary);background:var(--primary)}.row-action:disabled,.stock-name-button:disabled{cursor:not-allowed;opacity:.45}.stock-name-button{width:112px;min-width:112px;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;gap:2px;padding:0;display:grid}.stock-name-button strong{text-overflow:clip;white-space:normal;line-height:1.35;overflow:visible}.stock-name-button small{text-overflow:clip;white-space:nowrap;color:var(--muted);font-size:9px;overflow:visible}:is(.stock-name-button:hover strong,.stock-name-button:focus-visible strong){color:var(--primary)}.empty-state{color:var(--muted);text-align:center;padding:38px}.panel-foot{min-height:46px;color:var(--muted);justify-content:space-between;align-items:center;padding:0 19px;font-size:10px;display:flex}.panel-foot button{color:var(--primary);cursor:pointer;background:0 0;border:0;font-size:11px;font-weight:700}.pagination-actions{gap:12px;display:flex}.panel-foot button:disabled{color:var(--muted);cursor:not-allowed;opacity:.55}.side-stack{align-content:start;gap:14px;display:grid}.sector-list{gap:14px;padding:0 19px 18px;display:grid}.industry-strength-meta{border:1px solid var(--line);color:var(--muted);background:var(--surface-soft);border-radius:8px;gap:3px;padding:10px;font-size:9px;line-height:1.5;display:grid}.industry-strength-meta strong{color:var(--text);font-size:10px}.industry-strength-meta.degraded{border-color:var(--warning-border);background:var(--warning-soft)}.side-empty{color:var(--muted);text-align:center;padding:16px 4px 22px;font-size:10px;line-height:1.6}.sector-row>div:first-child{justify-content:space-between;align-items:center;font-size:11px;display:flex}.sector-row span{font-size:10px;font-weight:700}.sector-row>small{color:var(--muted);margin-top:5px;font-size:8px;display:block}.sector-bar{background:var(--surface-soft);border-radius:99px;height:5px;margin-top:7px;overflow:hidden}.sector-bar span{border-radius:inherit;background:linear-gradient(90deg,#2457d6,#7b9ceb);height:100%;display:block}.risk-panel{padding-bottom:18px}.drawdown-ring{background:conic-gradient(var(--primary) 0 2deg, var(--surface-soft) 2deg 360deg);border-radius:50%;width:116px;height:116px;margin:2px auto 15px;padding:9px}.drawdown-ring>div{text-align:center;background:var(--surface);border-radius:50%;place-content:center;width:100%;height:100%;display:grid}.drawdown-ring strong{font-size:20px}.drawdown-ring span{color:var(--muted);margin-top:3px;font-size:9px}.risk-rules{border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:10px;margin:0 19px;padding:11px 0;display:grid}.risk-rules div{color:var(--muted);justify-content:space-between;font-size:10px;display:flex}.risk-rules strong{color:var(--text);font-size:11px}.risk-rules strong.down{color:var(--down)}.risk-note{color:var(--muted);background:var(--surface-soft);border-radius:8px;margin:13px 19px 0;padding:9px;font-size:9px;line-height:1.55}.risk-note span{color:var(--primary);margin-right:5px;font-weight:800}.workspace-footer{color:var(--muted);justify-content:space-between;gap:20px;padding:17px 2px 0;font-size:9px;display:flex}.strategy-overlay{z-index:50;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#121b2d7a;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.strategy-dialog{border:1px solid var(--line);background:var(--surface);border-radius:18px;width:min(1080px,100%);max-height:calc(100vh - 56px);overflow-y:auto;box-shadow:0 24px 70px #0a173147}.strategy-dialog-head{z-index:3;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:flex-start;gap:20px;padding:21px 24px;display:flex;position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.strategy-dialog-head{background:color-mix(in srgb, var(--surface) 94%, transparent)}}.strategy-dialog-head{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.strategy-dialog-head h2{margin:4px 0 0;font-size:22px}.strategy-dialog-head p{color:var(--muted);margin:6px 0 0;font-size:11px}.dialog-close{border:1px solid var(--line);width:35px;height:35px;color:var(--muted);background:var(--surface);cursor:pointer;border-radius:9px;flex:none;font-size:22px;line-height:1}.strategy-loading,.strategy-feedback{color:var(--muted);background:var(--surface-soft);border-radius:8px;margin:18px 24px 0;padding:10px 12px;font-size:11px}.strategy-feedback.error{color:var(--warning);background:var(--warning-soft)}.strategy-feedback.success{color:var(--down);background:var(--success-soft)}.strategy-feedback button{color:inherit;cursor:pointer;background:0 0;border:0;margin-left:10px;font-weight:700;text-decoration:underline}.active-strategy-bar{border:1px solid var(--accent-border);background:var(--primary-soft);border-radius:10px;align-items:center;gap:10px;margin:18px 24px 0;padding:13px 15px;display:flex}.active-strategy-bar span,.active-strategy-bar small{color:var(--muted);font-size:10px}.active-strategy-bar strong{color:var(--primary);font-size:13px}.active-strategy-bar small{margin-left:auto}.strategy-start-guide{border:1px solid var(--accent-border);background:var(--primary-soft);border-radius:12px;margin:12px 24px 0;padding:14px}@supports (color:color-mix(in lab, red, red)){.strategy-start-guide{background:color-mix(in srgb, var(--primary-soft) 54%, var(--surface))}}.strategy-start-guide>header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.strategy-start-guide>header>div{gap:3px;display:grid}.strategy-start-guide>header strong{font-size:12px}.strategy-start-guide>header span,.strategy-start-guide>header small{color:var(--muted);font-size:9px}.strategy-start-guide>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.strategy-start-guide button{border:1px solid var(--line);min-width:0;min-height:78px;color:var(--text);background:var(--surface);cursor:pointer;font:inherit;text-align:left;border-radius:9px;align-content:center;gap:4px;padding:11px;display:grid}.strategy-start-guide button:hover,.strategy-start-guide button.active{border-color:var(--accent-border);background:var(--primary-soft)}.strategy-start-guide button b{font-size:11px}.strategy-start-guide button span{overflow-wrap:anywhere;color:var(--muted);font-size:9px;line-height:1.45}.strategy-start-guide button em{color:var(--primary);font-size:9px;font-style:normal;font-weight:800}.strategy-section{border-bottom:1px solid var(--line);padding:22px 24px}.strategy-section:last-child{border-bottom:0}.strategy-section-head{justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px;display:flex}.strategy-section-head h3{margin:0;font-size:14px}.strategy-section-head p{color:var(--muted);margin:4px 0 0;font-size:10px}.preset-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.preset-card{border:1px solid var(--line);background:var(--surface);border-radius:11px;min-width:0;padding:14px}.preset-card.selected{border-color:var(--accent-border);box-shadow:inset 0 0 0 1px var(--accent-border)}.preset-card>div:first-child{align-items:center;gap:7px;display:flex}.preset-card>div:first-child strong{font-size:12px}.preset-card>div:first-child span{color:var(--primary);background:var(--primary-soft);border-radius:99px;padding:3px 6px;font-size:8px;font-weight:800}.preset-card p{min-height:32px;color:var(--muted);margin:7px 0 10px;font-size:9px;line-height:1.6}.preset-weights{flex-wrap:wrap;align-content:flex-start;gap:5px;min-height:48px;display:flex}.preset-weights span{color:var(--muted);background:var(--surface-soft);border-radius:5px;padding:3px 5px;font-size:8px}.preset-actions{justify-content:flex-end;gap:7px;margin-top:12px;display:flex}.preset-actions button,.editor-actions button,.version-row button{border:1px solid var(--line);min-height:30px;color:var(--primary);background:var(--surface);cursor:pointer;border-radius:7px;padding:0 9px;font-size:9px;font-weight:700}.preset-actions button.solid,.editor-actions button.save-strategy{color:var(--on-primary);border-color:var(--primary);background:var(--primary)}.preset-actions button:disabled,.editor-actions button:disabled,.version-row button:disabled{cursor:not-allowed;opacity:.5}.weight-total{color:var(--warning);background:var(--warning-soft);border-radius:7px;padding:6px 9px;font-size:10px}.weight-total.valid{color:var(--down);background:var(--success-soft)}.strategy-fields{grid-template-columns:minmax(160px,.65fr) minmax(260px,1.35fr);gap:10px;display:grid}.strategy-fields label{color:var(--muted);gap:5px;font-size:9px;display:grid}.strategy-fields input{border:1px solid var(--line);min-width:0;height:36px;color:var(--text);background:var(--surface);border-radius:8px;outline:0;padding:0 10px;font-size:11px}.strategy-fields input:focus,.weight-input input:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.strategy-fields input:focus,.weight-input input:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 22%, transparent)}}.factor-editor{border:1px solid var(--line);border-radius:11px;margin-top:14px;overflow:hidden}.factor-row{border-top:1px solid var(--line);background:var(--surface-soft);opacity:.64;grid-template-columns:30px minmax(180px,1fr) minmax(130px,1.1fr) 72px;align-items:center;gap:12px;min-height:62px;padding:9px 12px;display:grid}.factor-row:first-child{border-top:0}.factor-row.enabled{background:var(--surface);opacity:1}.factor-toggle{width:28px;height:17px;display:block;position:relative}.factor-toggle input{opacity:0;pointer-events:none;position:absolute}.factor-toggle span{background:var(--toggle-off);cursor:pointer;border-radius:99px;transition:background .16s;position:absolute;inset:0}.factor-toggle span:after{content:"";background:#fff;border-radius:50%;width:13px;height:13px;transition:transform .16s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0000002e}.factor-toggle input:checked+span{background:var(--primary)}.factor-toggle input:checked+span:after{transform:translate(11px)}.factor-toggle input:focus-visible+span{outline:2px solid var(--focus-ring);outline-offset:2px}.factor-copy{gap:4px;min-width:0;display:grid}.factor-copy strong{font-size:11px}.factor-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.factor-range{width:100%;accent-color:var(--primary)}.weight-input{border:1px solid var(--line);background:var(--surface);border-radius:7px;align-items:center;height:32px;padding:0 7px;display:flex}.weight-input input{width:100%;min-width:0;color:var(--text);text-align:right;background:0 0;border:0;outline:0;font-size:11px}.weight-input span{color:var(--muted);font-size:9px}.coverage-editor{background:var(--surface-soft);border-radius:9px;grid-template-columns:minmax(210px,1fr) minmax(150px,.8fr) 45px;align-items:center;gap:15px;margin-top:12px;padding:11px 12px;display:grid}.coverage-editor>div{gap:3px;display:grid}.coverage-editor strong{font-size:10px}.coverage-editor small{color:var(--muted);font-size:9px}.coverage-editor input{width:100%;accent-color:var(--primary)}.coverage-editor>strong{color:var(--primary);text-align:right}.editor-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:13px;display:flex}.editor-actions span{color:var(--muted);margin-left:auto;font-size:9px}.versions-section{padding-bottom:28px}.version-list{gap:7px;display:grid}.version-row{border:1px solid var(--line);background:var(--surface);border-radius:9px;justify-content:space-between;align-items:center;gap:18px;padding:10px 12px;display:flex}.version-row.active{border-color:var(--accent-border);background:var(--primary-soft)}.version-row>div{align-items:center;gap:8px;min-width:0;display:flex}.version-row>div:first-child{gap:3px;display:grid}.version-row>div:first-child strong{font-size:11px}.version-row>div:first-child strong small{color:var(--primary)}.version-row>div:first-child span{max-width:480px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.version-row>div:last-child>small{color:var(--muted);font-size:8px}.version-empty{border:1px dashed var(--line-strong);color:var(--muted);text-align:center;border-radius:9px;padding:22px;font-size:10px}.research-maturity-note{color:var(--warning);background:var(--warning-soft);border-radius:99px;flex:none;padding:5px 8px;font-size:9px;font-weight:800}.ensemble-active-control{align-items:center;gap:7px;display:flex}.ensemble-active-control>button{border:1px solid var(--warning-border);min-height:30px;color:var(--warning);background:var(--warning-soft);cursor:pointer;border-radius:7px;padding:0 9px;font-size:8px;font-weight:800}.ensemble-active-control>button:disabled{cursor:wait;opacity:.55}.research-method-note{border-left:3px solid var(--warning);color:var(--muted);background:var(--warning-soft);border-radius:8px;margin-bottom:12px;padding:9px 11px;font-size:9px;line-height:1.6}.research-catalog-error{border:1px solid var(--warning-border);color:var(--warning);background:var(--warning-soft);border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:12px;font-size:10px;display:flex}.research-catalog-error button{min-height:32px;color:inherit;background:var(--surface);cursor:pointer;border:1px solid;border-radius:7px;padding:0 10px;font-weight:800}.research-strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.research-strategy-card{border:1px solid var(--line);min-width:0;color:var(--text);background:var(--surface-soft);border-radius:11px;align-content:start;gap:10px;padding:14px;display:grid}.research-strategy-card>header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.research-strategy-card>header>div{gap:4px;min-width:0;display:grid}.research-strategy-card>header span{color:var(--primary);font-size:8px;font-weight:800}.research-strategy-card>header strong{font-size:13px}.research-strategy-card>header i{color:var(--warning);background:var(--warning-soft);border-radius:99px;flex:none;padding:3px 7px;font-size:8px;font-style:normal;font-weight:800}.research-strategy-card>p{min-height:32px;color:var(--muted);margin:0;font-size:9px;line-height:1.65}.research-facts{flex-wrap:wrap;gap:5px;display:flex}.research-facts span{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:6px;padding:4px 6px;font-size:8px}.research-strategy-card details{border:1px solid var(--line);background:var(--surface);border-radius:8px}.research-strategy-card summary{min-height:36px;color:var(--primary);cursor:pointer;align-items:center;padding:0 10px;font-size:9px;font-weight:800;display:flex}.research-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 10px 11px;display:grid}.research-rule-grid section{border-top:1px solid var(--line);min-width:0;padding-top:8px}.research-rule-grid strong{font-size:9px}.research-rule-grid ul{color:var(--muted);margin:5px 0 0;padding-left:15px;font-size:8px;line-height:1.65}.research-strategy-card>footer{border-top:1px solid var(--line);gap:4px;padding-top:9px;display:grid}.research-strategy-card>footer span,.research-strategy-card>footer small{color:var(--muted);font-size:8px;line-height:1.55}.research-strategy-card>footer small{color:var(--warning)}.research-strategy-actions{align-items:center;gap:9px;display:flex}.research-strategy-actions button{min-height:34px;color:var(--on-primary);background:var(--primary);cursor:pointer;border:0;border-radius:8px;padding:0 11px;font-size:9px;font-weight:800}.research-strategy-actions span{color:var(--muted);font-size:8px}.ensemble-component-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.ensemble-component{border:1px solid var(--line);min-width:0;color:var(--text);background:var(--surface-soft);cursor:pointer;border-radius:9px;align-items:flex-start;gap:8px;padding:10px;display:flex}.ensemble-component.selected{border-color:var(--accent-border);background:var(--primary-soft)}.ensemble-component>input{accent-color:var(--primary);margin-top:3px}.ensemble-component>span{gap:4px;min-width:0;display:grid}.ensemble-component strong,.ensemble-component small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ensemble-component strong{font-size:10px}.ensemble-component small{color:var(--muted);font-size:8px}.ensemble-component em{color:var(--warning);background:var(--warning-soft);border-radius:99px;justify-self:start;padding:2px 5px;font-size:7px;font-style:normal;font-weight:800}.ensemble-editor{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;margin-top:12px;padding:13px}.ensemble-fields{grid-template-columns:minmax(180px,.7fr) minmax(200px,1fr)}.ensemble-fields .wide{grid-column:1/-1}.ensemble-selected-list{gap:6px;margin-top:11px;display:grid}.ensemble-selected-list>div{border:1px solid var(--line);background:var(--surface);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:8px 10px;display:flex}.ensemble-selected-list>div>span{gap:3px;min-width:0;display:grid}.ensemble-selected-list strong{font-size:10px}.ensemble-selected-list small{color:var(--muted);font-size:8px}.ensemble-selected-list label{align-items:center;gap:4px;display:flex}.ensemble-selected-list input{border:1px solid var(--line);width:84px;height:32px;color:var(--text);background:var(--surface-soft);text-align:right;border-radius:7px;padding:0 7px}.ensemble-selected-list b{color:var(--muted);font-size:9px}.ensemble-selected-list>p{color:var(--muted);border:1px dashed var(--line-strong);text-align:center;border-radius:8px;margin:0;padding:15px;font-size:9px}.ensemble-thresholds{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.ensemble-thresholds label{border:1px solid var(--line);min-width:0;color:var(--muted);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) 72px auto;align-items:center;gap:5px;padding:8px 9px;font-size:8px;display:grid}.ensemble-thresholds input{border:1px solid var(--line);min-width:0;height:30px;color:var(--text);background:var(--surface-soft);text-align:right;border-radius:6px;padding:0 6px}.ensemble-veto{border-left:3px solid var(--warning);background:var(--warning-soft);border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;margin-top:9px;padding:9px 10px;display:grid}.ensemble-veto label{color:var(--warning);white-space:nowrap;align-items:center;gap:6px;font-size:9px;font-weight:800;display:flex}.ensemble-veto input[type=text],.ensemble-veto>input{border:1px solid var(--warning-border);min-width:0;height:32px;color:var(--text);background:var(--surface);border-radius:7px;padding:0 8px}.ensemble-actions span.valid{color:var(--down);font-weight:800}.ensemble-version-list{gap:7px;margin-top:14px;display:grid}.ensemble-version-list>strong{font-size:11px}.ensemble-version-list>p{color:var(--muted);margin:0;font-size:9px}.ensemble-version-list article{border:1px solid var(--line);background:var(--surface);border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:10px 11px;display:flex}.ensemble-version-list article.active{border-color:var(--accent-border);background:var(--primary-soft)}.ensemble-version-list article>div:first-child{gap:4px;min-width:0;display:grid}.ensemble-version-list article>div:first-child strong{font-size:10px}.ensemble-version-list article>div:first-child span,.ensemble-version-list article>div:first-child small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.ensemble-version-list article>div:last-child{flex:none;gap:6px;display:flex}.ensemble-version-list button{border:1px solid var(--line);min-height:30px;color:var(--primary);background:var(--surface);cursor:pointer;border-radius:7px;padding:0 9px;font-size:9px;font-weight:800}.ensemble-version-list button.solid{color:var(--on-primary);border-color:var(--primary);background:var(--primary)}.ensemble-version-list button:disabled{cursor:not-allowed;opacity:.55}.backtest-overlay{z-index:55;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#121b2d8a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.backtest-dialog{border:1px solid var(--line);width:min(1240px,100%);max-height:calc(100vh - 48px);color:var(--text);background:var(--surface);border-radius:18px;overflow-y:auto;box-shadow:0 28px 90px #0a17314d}.backtest-dialog-head{z-index:5;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 24px;display:flex;position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.backtest-dialog-head{background:color-mix(in srgb, var(--surface) 94%, transparent)}}.backtest-dialog-head{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.backtest-dialog-head h2{margin:4px 0 0;font-size:22px}.backtest-dialog-head p{max-width:760px;color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.55}.backtest-feedback{color:var(--muted);background:var(--surface-soft);border-radius:9px;margin:16px 24px 0;padding:11px 13px;font-size:11px;line-height:1.5}.backtest-feedback.error{color:var(--warning);background:var(--warning-soft)}.backtest-feedback.success{color:var(--down);background:var(--success-soft)}.backtest-feedback.data-busy{color:var(--warning);background:var(--warning-soft);gap:3px;margin:12px 0 0;display:grid}.backtest-feedback.data-busy strong{color:var(--text)}.ai-research-overlay{z-index:62;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#080f1c9e;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.ai-research-dialog{border:1px solid var(--line);width:min(1180px,100%);max-height:calc(100vh - 48px);color:var(--text);background:var(--surface);border-radius:18px;overflow-y:auto;box-shadow:0 28px 90px #050d1b5c}.ai-research-dialog:focus{outline:none}.ai-research-dialog :focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.ai-research-head{z-index:5;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 24px;display:flex;position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.ai-research-head{background:color-mix(in srgb, var(--surface) 95%, transparent)}}.ai-research-head{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.ai-research-head h2{margin:4px 0 0;font-size:22px}.ai-research-head p{max-width:800px;color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.55}.ai-research-body{gap:14px;padding:20px 24px 25px;display:grid}.ai-research-status{border:1px solid var(--line);border-radius:11px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.ai-research-status>div{border-right:1px solid var(--line);background:var(--surface-soft);align-content:center;gap:5px;min-width:0;min-height:90px;padding:13px 14px;display:grid}.ai-research-status>div:last-child{border-right:0}.ai-research-status span,.ai-research-status small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.ai-research-status strong{color:var(--warning);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.ai-research-status strong.ready{color:var(--down)}.ai-budget-settings{border:1px solid var(--line);background:var(--surface-soft);border-radius:11px;padding:14px 16px}.ai-budget-settings-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.ai-budget-settings-head h3{margin:0;font-size:13px}.ai-budget-settings-head p{color:var(--muted);margin:4px 0 0;font-size:9px;line-height:1.55}.ai-budget-settings-head>small{color:var(--muted);flex:none;font-size:9px}.ai-budget-settings form{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:9px;margin-top:11px;display:grid}.ai-budget-settings label{gap:5px;min-width:0;display:grid}.ai-budget-settings label>span{color:var(--muted);font-size:9px;font-weight:700}.ai-budget-settings input{border:1px solid var(--line-strong);width:100%;min-width:0;height:39px;color:var(--text);background:var(--surface);border-radius:8px;outline:0;padding:0 11px}.ai-budget-settings input:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.ai-budget-settings input:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 22%, transparent)}}.ai-budget-settings form .secondary-button{min-height:39px}.ai-method-settings{border:1px solid var(--line);background:var(--surface-soft);border-radius:11px;padding:14px 16px}.ai-method-settings-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.ai-method-settings-head h3{margin:0;font-size:13px}.ai-method-settings-head p{max-width:780px;color:var(--muted);margin:4px 0 0;font-size:9px;line-height:1.55}.ai-method-locked-notice{border-left:3px solid var(--warning);color:var(--warning);background:var(--warning-soft);border-radius:7px;margin:10px 0 0;padding:8px 10px;font-size:9px;line-height:1.55}.ai-method-version-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px;display:grid}.ai-method-version-list article{border:1px solid var(--line);min-width:0;color:var(--text);background:var(--surface);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.ai-method-version-list article.active{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary);background:var(--primary-soft)}.ai-method-version-list article>div:first-child{gap:2px;min-width:0;display:grid}.ai-method-version-list span,.ai-method-version-list small,.ai-method-version-list code{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.ai-method-version-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.ai-method-version-list article>div:last-child{flex:none;gap:5px;display:flex}.ai-method-version-list button{border:1px solid var(--line);min-height:30px;color:var(--primary);background:var(--surface);cursor:pointer;border-radius:6px;padding:0 8px;font-size:8px;font-weight:800}.ai-method-version-list button.solid{color:#fff;border-color:var(--primary);background:var(--primary)}.ai-method-version-list button:disabled{cursor:default;opacity:.55}.ai-method-editor{border:1px solid var(--line);background:var(--surface);border-radius:9px;margin-top:11px;padding:12px}.ai-method-editor-grid{grid-template-columns:minmax(0,1fr) minmax(230px,.65fr);gap:8px;display:grid}.ai-method-editor-grid label{gap:4px;min-width:0;display:grid}.ai-method-editor-grid label.wide{grid-column:1/-1}.ai-method-editor-grid label>span{color:var(--muted);font-size:8px;font-weight:700}.ai-method-editor input,.ai-method-editor textarea{border:1px solid var(--line-strong);width:100%;min-width:0;color:var(--text);background:var(--surface-soft);font:inherit;border-radius:7px;outline:0;padding:8px 9px}.ai-method-editor input:focus,.ai-method-editor textarea:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.ai-method-editor input:focus,.ai-method-editor textarea:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 22%, transparent)}}.ai-method-editor-grid label>div{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;display:grid}.ai-method-editor-grid label>div b{color:var(--muted);font-size:9px}.ai-method-editor-grid textarea{resize:vertical;min-height:68px}.ai-method-dimensions{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px;display:grid}.ai-method-dimensions article{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;gap:5px;min-width:0;padding:8px;display:grid}.ai-method-dimensions span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}.ai-method-dimensions input{font-size:9px;font-weight:800}.ai-method-dimensions textarea{resize:vertical;min-height:76px;font-size:9px;line-height:1.5}.ai-method-guardrails{border:1px dashed var(--warning-border);background:var(--warning-soft);border-radius:8px;margin-top:10px;padding:10px}.ai-method-guardrails>strong{color:var(--warning);font-size:9px}.ai-method-guardrails p{color:var(--muted);margin:5px 0 0;font-size:8px;line-height:1.5}.ai-method-guardrails b{color:var(--text)}.ai-method-actions{justify-content:space-between;align-items:center;gap:14px;margin-top:10px;display:flex}.ai-method-actions span{color:var(--muted);font-size:8px;line-height:1.45}.ai-method-hash{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:6px;font-family:ui-monospace,monospace;font-size:8px;display:block;overflow:hidden}.ai-budget-help{color:var(--muted);margin:7px 0 0;font-size:9px;line-height:1.5}.ai-budget-error{align-items:flex-start;gap:8px;display:flex}.ai-budget-error .ai-inline-error{flex:1;min-width:0}.ai-budget-error .secondary-button{min-height:35px;margin-top:9px}.ai-inline-success{border:1px solid var(--down);margin:9px 0 0;padding:9px 10px}@supports (color:color-mix(in lab, red, red)){.ai-inline-success{border:1px solid color-mix(in srgb, var(--down) 32%, var(--line))}}.ai-inline-success{color:var(--down);background:var(--success-soft);border-radius:8px;font-size:10px;line-height:1.5}.ai-stock-picker,.ai-evidence-section,.ai-research-result{border:1px solid var(--line);background:var(--surface);border-radius:11px;padding:16px}.ai-stock-picker>div:first-child h3,.ai-section-head h3,.ai-research-conclusion h3{margin:0;font-size:13px}.ai-stock-picker>div:first-child p,.ai-section-head p{color:var(--muted);margin:4px 0 0;font-size:9px;line-height:1.55}.ai-stock-picker form{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:12px;display:grid}.ai-stock-picker input{border:1px solid var(--line-strong);min-width:0;height:39px;color:var(--text);background:var(--surface-soft);border-radius:8px;outline:0;padding:0 11px}.ai-stock-picker input:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.ai-stock-picker input:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 22%, transparent)}}.ai-stock-picker form .secondary-button{height:39px}.ai-stock-results{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:9px;display:grid}.ai-stock-results button{border:1px solid var(--line);min-width:0;color:var(--text);background:var(--surface-soft);cursor:pointer;text-align:left;border-radius:8px;gap:3px;padding:9px 10px;display:grid}.ai-stock-results button.selected{border-color:var(--accent-border);background:var(--primary-soft)}.ai-stock-results strong,.ai-stock-results small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ai-stock-results strong{font-size:10px}.ai-stock-results small{color:var(--muted);font-size:8px}.ai-research-empty{border:1px dashed var(--line-strong);min-height:110px;color:var(--muted);background:var(--surface-soft);text-align:center;border-radius:10px;place-items:center;padding:20px;font-size:11px;display:grid}.ai-inline-error{border:1px solid var(--warning-border);color:var(--warning);background:var(--warning-soft);border-radius:8px;margin:9px 0 0;padding:9px 10px;font-size:10px;line-height:1.5}.ai-section-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.ai-section-head h3 small{color:var(--muted);margin-left:6px;font-size:9px;font-weight:600}.ai-section-head>div:last-child{flex:none;gap:7px;display:flex}.ai-evidence-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:13px;display:grid}.ai-evidence-grid article{background:var(--surface-soft);border-radius:8px;align-content:center;gap:4px;min-width:0;min-height:76px;padding:10px;display:grid}.ai-evidence-grid span,.ai-evidence-grid small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.ai-evidence-grid strong{text-overflow:ellipsis;font-size:10px;line-height:1.45;overflow:hidden}.ai-board-state{border-left:3px solid var(--primary);background:var(--primary-soft);border-radius:8px;margin-top:10px;padding:10px 12px}.ai-board-state.missing,.ai-board-state.stale{color:var(--warning);border-color:var(--warning);background:var(--warning-soft)}.ai-board-state>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.ai-board-state strong,.ai-board-state span,.ai-board-state small{font-size:9px}.ai-board-state p{margin:5px 0;font-size:9px;line-height:1.5}.ai-board-state>small{color:var(--muted);margin-top:6px;display:block}.ai-board-tags{flex-wrap:wrap;gap:5px;display:flex}.ai-board-tags span{border:1px solid var(--accent-border);color:var(--primary);background:var(--surface);border-radius:999px;padding:3px 6px}.ai-announcement-state{border-left:3px solid var(--down);background:var(--success-soft);border-radius:8px;margin-top:10px;padding:10px 12px}.ai-announcement-state.not_synced,.ai-announcement-state.partial,.ai-announcement-state.degraded,.ai-announcement-state.stale,.ai-announcement-state.empty{color:var(--warning);border-color:var(--warning);background:var(--warning-soft)}.ai-announcement-state>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.ai-announcement-state strong,.ai-announcement-state span,.ai-announcement-state small{font-size:9px}.ai-announcement-state>p{margin:5px 0;font-size:9px;line-height:1.5}.ai-announcement-state>small{color:var(--muted);line-height:1.5;display:block}.ai-announcement-state .announcement-list{color:var(--text)}.ai-news-state{border-left:3px solid var(--down);background:var(--success-soft);border-radius:8px;margin-top:10px;padding:10px 12px}.ai-news-state.missing,.ai-news-state.empty,.ai-news-state.degraded,.ai-news-state.stale{color:var(--warning);border-color:var(--warning);background:var(--warning-soft)}.ai-news-state>div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.ai-news-state strong,.ai-news-state span{font-size:9px}.ai-news-state>p{margin:5px 0 0;font-size:9px;line-height:1.5}.ai-news-state>small{color:var(--muted);margin-top:7px;font-size:8px;line-height:1.55;display:block}.ai-news-items{color:var(--text);grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px;display:grid}.ai-news-items article{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:0;padding:9px 10px}.ai-news-items article>div,.ai-news-items footer{justify-content:space-between;align-items:center;gap:9px;display:flex}.ai-news-items article>div span,.ai-news-items article>div strong,.ai-news-items footer small{color:var(--muted);font-size:8px}.ai-news-items h4{color:var(--text);overflow-wrap:anywhere;margin:7px 0 0;font-size:10px;line-height:1.55}.ai-news-items article>p{color:var(--muted);margin:5px 0 0;font-size:8px;line-height:1.55}.ai-news-items footer{border-top:1px solid var(--line);margin-top:7px;padding-top:7px}.ai-news-items footer small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ai-news-items footer a{color:var(--primary);flex:none;font-size:8px;font-weight:800;text-decoration:none}.ai-limitations{color:var(--muted);background:var(--surface-soft);border-radius:8px;margin-top:9px;padding:10px 12px}.ai-limitations strong{font-size:9px}.ai-limitations p{margin:4px 0 0;font-size:9px;line-height:1.45}.ai-run-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;margin-top:12px;padding-top:12px;display:flex}.ai-run-row>div{gap:3px;min-width:0;display:grid}.ai-run-row strong{font-size:10px}.ai-run-row p{color:var(--muted);margin:0;font-size:9px;line-height:1.5}.ai-run-row .primary-button{flex:none}.ai-run-row.blocked{border:1px solid var(--line);background:var(--surface-soft);border-radius:9px;margin-top:10px;padding:12px}.ai-run-row.blocked.budget{border-color:var(--warning-border);background:var(--warning-soft)}.ai-run-row>.ai-run-actions{flex:none;align-items:center;gap:8px;display:flex}.ai-run-actions .primary-button:disabled{cursor:not-allowed}.ai-run-actions .secondary-button{min-height:38px}.ai-collaboration-progress{border:1px solid var(--line);background:var(--surface);border-radius:11px;padding:16px}.ai-collaboration-progress.running,.ai-collaboration-progress.queued{border-color:var(--accent-border)}.ai-collaboration-progress.partial,.ai-collaboration-progress.failed{border-color:var(--warning-border)}.ai-progress-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.ai-progress-head>div:first-child{min-width:0}.ai-progress-head span{color:var(--primary);font-size:9px;font-weight:800}.ai-collaboration-progress.partial .ai-progress-head span,.ai-collaboration-progress.failed .ai-progress-head span{color:var(--warning)}.ai-progress-head h3{margin:4px 0 0;font-size:13px}.ai-progress-head p{color:var(--muted);margin:4px 0 0;font-size:9px;line-height:1.5}.ai-progress-side{flex:none;align-items:flex-end;gap:10px;display:flex}.ai-progress-usage{flex:none;align-items:center;gap:9px;display:flex}.ai-progress-usage strong{color:var(--text);font-size:10px}.ai-progress-usage span{color:var(--muted);font-size:9px;font-weight:600}.ai-progress-refresh{border:1px solid var(--line);min-height:30px;color:var(--primary);background:var(--surface-soft);font:inherit;cursor:pointer;border-radius:7px;padding:6px 10px;font-size:9px;font-weight:800}.ai-progress-refresh:hover:not(:disabled){border-color:var(--accent-border);background:var(--primary-soft)}.ai-progress-refresh:disabled{cursor:wait;opacity:.65}.ai-progress-controls{align-items:center;gap:7px;display:flex}.ai-progress-refresh.danger{color:var(--warning);border-color:var(--warning-border);background:var(--warning-soft)}.ai-progress-refresh.subtle{color:var(--muted)}.ai-progress-track{background:var(--surface-soft);border-radius:999px;height:7px;margin-top:13px;overflow:hidden}.ai-progress-track>span{border-radius:inherit;background:var(--primary);height:100%;transition:width .25s;display:block}.ai-progress-track.indeterminate>span{width:32%;animation:1.25s ease-in-out infinite ai-progress-slide}@keyframes ai-progress-slide{0%{transform:translate(-110%)}to{transform:translate(320%)}}.ai-progress-summary{flex-wrap:wrap;align-items:center;gap:10px;margin-top:9px;display:flex}.ai-progress-summary span,.ai-progress-summary small{color:var(--muted);font-size:8px}.ai-progress-summary span.failed{color:var(--warning);font-weight:800}.ai-progress-summary small{margin-left:auto}.ai-progress-live-note{color:var(--primary);background:var(--primary-soft);border-radius:8px;margin-top:9px;padding:8px 10px;font-size:9px;line-height:1.5}.ai-progress-terminal-note{border:1px solid var(--line);color:var(--muted);background:var(--surface-soft);border-radius:8px;margin-top:9px;padding:8px 10px;font-size:9px;line-height:1.5}.ai-progress-terminal-note strong{color:var(--text)}.ai-progress-models{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:11px;display:grid}.ai-progress-models article{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;gap:4px;min-width:0;padding:10px;display:grid}.ai-progress-models article.running{border-color:var(--accent-border);box-shadow:inset 3px 0 0 var(--primary)}.ai-progress-models article.succeeded,.ai-progress-models article.completed{box-shadow:inset 3px 0 0 var(--down)}.ai-progress-models article.skipped{opacity:.72}.ai-progress-models article.failed{border-color:var(--warning-border);box-shadow:inset 3px 0 0 var(--warning);background:var(--warning-soft)}.ai-progress-models article>div{justify-content:space-between;gap:7px;min-width:0;display:flex}.ai-progress-models span,.ai-progress-models b,.ai-progress-models small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.ai-progress-models b{color:var(--primary)}.ai-progress-models article.succeeded b,.ai-progress-models article.completed b{color:var(--down)}.ai-progress-models article.failed b{color:var(--warning)}.ai-progress-models strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.ai-progress-models small.ai-step-timing{text-overflow:clip;white-space:normal;line-height:1.45;overflow:visible}.ai-progress-models p{overflow-wrap:anywhere;color:var(--warning);margin:2px 0 0;font-size:8px;line-height:1.45}.ai-progress-stop,.ai-progress-warning,.ai-progress-awaiting{color:var(--warning);background:var(--warning-soft);border-radius:8px;margin-top:10px;padding:9px 10px;font-size:9px;line-height:1.5}.ai-progress-stop strong{font-size:9px}.ai-progress-stop p{margin:4px 0 0}.ai-progress-awaiting{color:var(--primary);background:var(--primary-soft)}.ai-progress-warning{margin-top:0}.ai-background-job-banner{border:1px solid var(--accent-border);color:var(--text);background:var(--primary-soft);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;display:flex}.ai-background-job-banner>div{gap:3px;min-width:0;display:grid}.ai-background-job-banner strong{font-size:10px}.ai-background-job-banner span{color:var(--muted);font-size:9px}.ai-background-job-banner button{border:1px solid var(--accent-border);min-height:34px;color:var(--primary);background:var(--surface);cursor:pointer;border-radius:8px;flex:none;padding:0 10px;font-size:9px;font-weight:800}.ai-job-error-meta{margin-top:7px}.ai-job-error-meta summary{cursor:pointer;font-weight:800}.ai-job-error-meta span{overflow-wrap:anywhere}.ai-job-history{border:1px solid var(--line);background:var(--surface);border-radius:11px;overflow:hidden}.ai-job-history>summary{min-height:43px;color:var(--text);cursor:pointer;align-items:center;padding:0 14px;font-size:10px;font-weight:800;display:flex}.ai-job-history>div{border-top:1px solid var(--line)}.ai-job-history>div>p{color:var(--muted);margin:0;padding:14px;font-size:9px}.ai-job-row{border:0;border-top:1px solid var(--line);width:100%;min-height:58px;color:var(--text);background:var(--surface);cursor:pointer;font:inherit;text-align:left;grid-template-columns:minmax(150px,1fr) minmax(110px,.7fr) minmax(180px,1fr) auto;align-items:center;gap:12px;padding:9px 13px;display:grid}.ai-job-row:first-child{border-top:0}.ai-job-row:hover,.ai-job-row.selected{background:var(--primary-soft)}.ai-job-row>span{gap:3px;min-width:0;display:grid}.ai-job-row strong,.ai-job-row b{font-size:10px}.ai-job-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.ai-job-row em{color:var(--primary);white-space:nowrap;font-size:9px;font-style:normal;font-weight:800}.ai-research-result.accepted{border-color:var(--down)}@supports (color:color-mix(in lab, red, red)){.ai-research-result.accepted{border-color:color-mix(in srgb, var(--down) 42%, var(--line))}}.ai-research-result.abstained{border-color:var(--warning-border)}.ai-result-decision{background:var(--surface-soft);border-radius:8px;gap:5px;padding:11px 12px;display:grid}.ai-result-decision span{color:var(--primary);font-size:9px;font-weight:800}.ai-result-decision strong{font-size:11px;line-height:1.5}.ai-result-meta{background:var(--primary-soft);border-radius:8px;align-items:center;gap:8px;margin-top:8px;padding:8px 10px;display:flex}.ai-result-meta span,.ai-result-meta small{color:var(--muted);font-size:8px}.ai-result-meta strong{color:var(--primary);font-size:10px}.ai-result-meta small{margin-left:auto}.ai-research-participants{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:10px;display:grid}.ai-research-participants article{border:1px solid var(--line);border-radius:8px;gap:4px;min-width:0;padding:10px;display:grid}.ai-research-participants span,.ai-research-participants small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.ai-research-participants strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.ai-research-conclusion{border-top:1px solid var(--line);margin-top:13px;padding-top:13px}.ai-research-conclusion>p{color:var(--text);font-size:11px;line-height:1.65}.ai-research-claims{gap:7px;display:grid}.ai-research-claims article{border-left:3px solid var(--primary);background:var(--surface-soft);border-radius:7px;padding:10px 11px}.ai-research-claims p{margin:0;font-size:10px;line-height:1.55}.ai-research-claims article>div{flex-wrap:wrap;gap:5px;margin-top:7px;display:flex}.ai-research-claims span{color:var(--primary);background:var(--primary-soft);border-radius:6px;padding:4px 6px;font-size:8px}.ai-announcement-citation{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.ai-announcement-citation a{color:var(--primary);white-space:nowrap;font-weight:800}.ai-counter-list{color:var(--warning);background:var(--warning-soft);border-radius:8px;margin-top:10px;padding:10px 11px}.ai-counter-list strong,.ai-counter-list p{font-size:9px}.ai-counter-list p{margin:4px 0 0;line-height:1.5}.ai-counter-list article>div{flex-wrap:wrap;gap:5px;margin-top:5px;display:flex}.ai-counter-list article>div>span{color:var(--primary);background:var(--surface);border-radius:6px;padding:4px 6px;font-size:8px}.ai-next-checks{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.ai-next-checks>div{background:var(--surface-soft);border-radius:8px;padding:10px}.ai-next-checks strong,.ai-next-checks p{font-size:9px}.ai-next-checks p{color:var(--muted);margin:4px 0 0;line-height:1.5}.ai-research-cost,.ai-research-disclaimer,.ai-research-footer{color:var(--muted);margin:10px 0 0;font-size:8px;line-height:1.55}.ai-research-disclaimer{color:var(--warning)}.ai-research-footer{background:var(--surface-soft);text-align:center;border-radius:8px;margin:0;padding:11px 13px}.board-overlay{z-index:61;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#080f1c9c;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.board-dialog{border:1px solid var(--line);width:min(1160px,100%);max-height:calc(100vh - 48px);color:var(--text);background:var(--surface);border-radius:18px;overflow-y:auto;box-shadow:0 28px 90px #050d1b59}.board-dialog:focus{outline:none}.board-dialog :focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.board-head{z-index:5;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 24px;display:flex;position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.board-head{background:color-mix(in srgb, var(--surface) 95%, transparent)}}.board-head{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.board-head h2{margin:4px 0 0;font-size:22px}.board-head p{max-width:760px;color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.55}.board-body{padding:20px 24px 25px}.board-taxonomy-summary{background:var(--primary-soft);border-radius:8px;align-items:center;gap:9px;margin-bottom:10px;padding:9px 11px;display:flex}.board-taxonomy-summary strong{color:var(--primary);font-size:10px}.board-taxonomy-summary span{color:var(--muted);font-size:9px}.board-toolbar{grid-template-columns:auto minmax(230px,1fr) auto auto;align-items:center;gap:10px;display:grid}.board-tabs{border:1px solid var(--line);background:var(--surface-soft);border-radius:9px;flex-wrap:wrap;padding:3px;display:flex}.board-tabs button{min-height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 11px;font-size:10px;font-weight:700}.board-tabs button.selected{color:var(--on-primary);background:var(--primary)}.board-toolbar form{grid-template-columns:minmax(0,1fr) auto;gap:7px;min-width:0;display:grid}.board-toolbar input{border:1px solid var(--line-strong);min-width:0;height:38px;color:var(--text);background:var(--surface-soft);border-radius:8px;outline:0;padding:0 11px}.board-toolbar input:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.board-toolbar input:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 22%, transparent)}}.board-source-select{min-width:148px;color:var(--muted);gap:3px;font-size:9px;font-weight:700;display:grid}.board-source-select select{border:1px solid var(--line-strong);height:38px;color:var(--text);background:var(--surface-soft);border-radius:8px;padding:0 28px 0 9px}.board-source-select select:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring);outline:0}@supports (color:color-mix(in lab, red, red)){.board-source-select select:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 22%, transparent)}}.board-toolbar .secondary-button,.board-toolbar .primary-button{height:38px}.board-active-filter{color:var(--primary);background:var(--primary-soft);border-radius:8px;align-items:center;gap:8px;margin-top:12px;padding:9px 11px;display:flex}.board-active-filter span,.board-active-filter strong{font-size:9px}.board-active-filter button{color:var(--primary);cursor:pointer;background:0 0;border:0;margin-left:auto;font-size:9px;font-weight:800}.board-feedback{color:var(--primary);background:var(--primary-soft);border-radius:8px;margin-top:11px;padding:9px 11px;font-size:10px;line-height:1.5}.board-feedback.error{color:var(--warning);background:var(--warning-soft)}.board-metadata{background:var(--surface-soft);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;padding:9px 11px;display:flex}.board-metadata span{color:var(--muted);background:var(--surface);border-radius:6px;padding:3px 6px;font-size:8px}.board-metadata span.stale{color:var(--warning);background:var(--warning-soft)}.board-view-controls{align-items:end;gap:9px;margin-top:10px;display:flex}.board-view-switch{border:1px solid var(--line);background:var(--surface-soft);border-radius:9px;padding:3px;display:flex}.board-view-switch button{min-height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 12px;font-size:10px;font-weight:800}.board-view-switch button.selected{color:var(--on-primary);background:var(--primary)}.board-view-controls label{color:var(--muted);gap:3px;font-size:8px;font-weight:700;display:grid}.board-view-controls select{border:1px solid var(--line-strong);min-width:142px;height:38px;color:var(--text);background:var(--surface-soft);border-radius:8px;padding:0 26px 0 9px}.board-view-controls>.secondary-button{height:38px;margin-left:auto}.board-empty{border:1px dashed var(--line-strong);min-height:160px;color:var(--muted);background:var(--surface-soft);text-align:center;border-radius:10px;place-items:center;margin-top:12px;padding:22px;font-size:11px;display:grid}.board-heatmap-status{border-left:3px solid var(--down);background:var(--success-soft);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:10px;padding:9px 11px;display:grid}.board-heatmap-status strong{font-size:14px}.board-heatmap-status span,.board-heatmap-status small{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.board-heatmap-visibility{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:8px;font-size:12px;display:flex}.board-heatmap-visibility strong{color:var(--text);flex:none}.board-heatmap-visibility span{text-align:right}.board-heatmap-scroll{overscroll-behavior-x:contain;scrollbar-color:var(--line-strong) var(--surface-soft);border-radius:11px;width:100%;margin-top:10px;overflow-x:auto}.board-heatmap{aspect-ratio:16/9;border:1px solid var(--line);background:var(--surface-soft);border-radius:11px;width:100%;min-height:440px;position:relative;overflow:hidden}.board-heatmap-tile{border:2px solid var(--surface);cursor:pointer;text-align:left;align-content:start;gap:3px;min-width:0;min-height:0;padding:8px;transition:filter .15s,transform .15s;display:grid;position:absolute;overflow:hidden}:is(.board-heatmap-tile:hover,.board-heatmap-tile:focus-visible){z-index:2;filter:brightness(1.08)}.board-heatmap-tile strong,.board-heatmap-tile b,.board-heatmap-tile small{text-overflow:ellipsis;overflow:hidden}.board-heatmap-tile strong{white-space:nowrap;font-size:14px;line-height:1.25}.board-heatmap-tile b{white-space:nowrap;font-size:18px;line-height:1.2}.board-heatmap-tile small{white-space:nowrap;font-size:12px;line-height:1.35}.board-heatmap-tile em{color:var(--warning);background:var(--warning-soft);border-radius:99px;justify-self:start;padding:2px 5px;font-size:12px;font-style:normal;font-weight:800}.board-heatmap-tile.degraded{color:var(--muted)!important}.board-heatmap-empty{border:1px dashed var(--line-strong);min-height:180px;color:var(--muted);background:var(--surface-soft);text-align:center;border-radius:10px;place-items:center;margin-top:10px;padding:20px;font-size:10px;display:grid}.board-heatmap-legend{color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;font-size:12px;display:flex}.board-heatmap-legend span{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.board-heatmap-legend i{border-radius:2px;width:9px;height:9px;display:inline-block}.board-heatmap-legend i.up{background:var(--up)}.board-heatmap-legend i.down{background:var(--down)}.board-heatmap-status.warning{border-color:var(--warning);background:var(--warning-soft)}.board-heatmap-legend i.missing{background:repeating-linear-gradient(135deg, var(--surface-soft), var(--surface-soft) 3px, var(--muted) 3px, var(--muted) 4px)}.board-heatmap-data{border:1px solid var(--line);border-radius:12px;margin-top:16px;overflow:hidden}.board-heatmap-data summary{cursor:pointer;color:var(--text);padding:14px;font-size:14px;font-weight:700}.board-heatmap-data>div{max-height:420px;overflow-y:auto}.board-heatmap-data button{text-align:left;background:var(--surface);width:100%;color:var(--text);border:0;border-top:1px solid var(--line);cursor:pointer;grid-template-columns:minmax(140px,1fr) 140px minmax(180px,1fr) 90px;align-items:center;gap:12px;padding:12px 14px;font-size:14px;display:grid}:is(.board-heatmap-data button:hover,.board-heatmap-data button:focus-visible){background:var(--primary-soft)}.board-heatmap-data small,.board-heatmap-data button>span{color:var(--muted);font-size:12px}@media (max-width:700px){.board-heatmap-data button{grid-template-columns:minmax(0,1fr) 140px;gap:8px}.board-heatmap-data button>span{text-align:right}}.board-heatmap-legend i.flat{background:var(--line-strong)}.board-heatmap-legend small{text-align:right;margin-left:auto;font-size:8px;line-height:1.45}.board-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.board-list article{border:1px solid var(--line);background:var(--surface);border-radius:9px;justify-content:space-between;align-items:center;gap:12px;min-width:0;min-height:86px;padding:12px;display:flex}.board-open-button{min-width:0;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;flex:1;gap:4px;padding:0;display:grid}.board-open-button span,.board-open-button small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.board-open-button strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.board-open-button b{color:var(--primary);font-size:9px}.board-filter-button{border:1px solid var(--accent-border);min-height:34px;color:var(--primary);background:var(--primary-soft);cursor:pointer;border-radius:7px;flex:none;padding:0 9px;font-size:9px;font-weight:800}.board-open-button:disabled,.board-filter-button:disabled{cursor:not-allowed;opacity:.55}.board-detail{margin-top:12px}.board-detail-head{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px;display:grid}.board-back-button{border:1px solid var(--line);min-height:36px;color:var(--primary);background:var(--surface);cursor:pointer;border-radius:8px;padding:0 10px;font-size:9px;font-weight:800}.board-detail-head>div{gap:4px;min-width:0;display:grid}.board-detail-head span,.board-detail-head p{color:var(--muted);margin:0;font-size:9px}.board-detail-head h3{margin:0;font-size:18px}.board-detail-head .primary-button{justify-content:center;align-items:center;display:inline-flex}.board-member-sort-controls{border:1px solid var(--line);color:var(--muted);background:var(--surface-soft);border-radius:8px;align-items:center;gap:8px;margin-top:10px;padding:8px 10px;font-size:9px;display:flex}.board-member-sort-controls label{align-items:center;gap:7px;display:flex}.board-member-sort-controls select{border:1px solid var(--line);height:32px;color:var(--text);background:var(--surface);font:inherit;border-radius:7px;padding:0 8px}.board-member-sort-controls button{border:1px solid var(--accent-border);height:32px;color:var(--primary);background:var(--surface);cursor:pointer;font:inherit;border-radius:7px;padding:0 9px;font-weight:800}.board-member-sort-controls small{margin-left:auto;font-size:8px}.board-member-search{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:10px;display:grid}.board-member-search input{border:1px solid var(--line-strong);min-width:0;height:40px;color:var(--text);background:var(--surface-soft);border-radius:8px;outline:0;padding:0 12px}.board-member-search input:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.board-member-search input:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 22%, transparent)}}.board-member-search button{min-height:40px;color:var(--on-primary);background:var(--primary);cursor:pointer;border:0;border-radius:8px;padding:0 13px;font-size:10px;font-weight:800}.board-empty.compact{min-height:110px}.board-member-list{border:1px solid var(--line);border-radius:10px;margin-top:12px;overflow:hidden}.board-member-row{border:0;border-top:1px solid var(--line);width:100%;min-height:64px;color:var(--text);background:var(--surface);cursor:pointer;font:inherit;text-align:left;grid-template-columns:minmax(150px,1.1fr) minmax(120px,.8fr) minmax(105px,.65fr) auto auto;align-items:center;gap:12px;padding:9px 12px;transition:background-color .16s,box-shadow .16s;display:grid}.board-member-row:first-child{border-top:0}.board-member-row:hover{background:var(--primary-soft)}.board-member-row:focus-visible{z-index:1;position:relative}.board-member-stock{gap:3px;min-width:0;display:grid}.board-member-stock strong{white-space:normal;font-size:11px;line-height:1.35}.board-member-stock small,.board-member-industry,.board-member-status{color:var(--muted);font-size:9px}.board-member-stock small{font-variant-numeric:tabular-nums;white-space:nowrap}.board-member-change{font-variant-numeric:tabular-nums;justify-items:end;gap:3px;min-width:0;display:grid}.board-member-change strong{font-size:12px}.board-member-change small{max-width:150px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.board-member-change.up strong{color:var(--up)}.board-member-change.down strong{color:var(--down)}.board-member-change.flat strong,.board-member-change.missing strong{color:var(--muted)}.board-member-change.stale strong,.board-member-change.stale small{color:var(--warning)}.board-member-status{white-space:nowrap;border-radius:99px;padding:4px 7px}.board-member-status.normal{color:var(--down);background:var(--success-soft)}.board-member-status.risk{color:var(--warning);background:var(--warning-soft)}.board-member-open{color:var(--primary);white-space:nowrap;font-size:9px}:is(.board-member-row:hover .board-member-stock strong,.board-member-row:focus-visible .board-member-stock strong){color:var(--primary)}.board-member-pagination{min-height:46px;color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:0 3px;font-size:9px;display:flex}.board-member-pagination>div{gap:10px;display:flex}.board-member-pagination button{color:var(--primary);cursor:pointer;background:0 0;border:0;font-size:10px;font-weight:800}.board-member-pagination button:disabled{color:var(--muted);cursor:not-allowed;opacity:.5}.board-notice{color:var(--muted);margin:12px 2px 0;font-size:9px;line-height:1.55}.stock-lookup-overlay{z-index:60;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#080f1c99;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.stock-lookup-dialog{border:1px solid var(--line);width:min(920px,100%);max-height:calc(100vh - 48px);color:var(--text);background:var(--surface);border-radius:18px;overflow-y:auto;box-shadow:0 28px 90px #050d1b57}.stock-lookup-dialog:focus{outline:none}.stock-lookup-dialog :focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.stock-lookup-head{z-index:5;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 24px;display:flex;position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.stock-lookup-head{background:color-mix(in srgb, var(--surface) 95%, transparent)}}.stock-lookup-head{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.stock-lookup-head h2{margin:4px 0 0;font-size:22px}.stock-lookup-head p{max-width:660px;color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.55}.stock-lookup-body{padding:22px 24px 26px}.stock-lookup-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.stock-lookup-form label{min-width:0;color:var(--muted);gap:7px;font-size:10px;display:grid}.stock-lookup-form input{border:1px solid var(--line-strong);width:100%;height:42px;color:var(--text);background:var(--surface-soft);border-radius:9px;outline:0;padding:0 13px}.stock-lookup-form input:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.stock-lookup-form input:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 22%, transparent)}}.stock-lookup-form .primary-button{height:42px}.stock-lookup-feedback{border:1px dashed var(--line-strong);min-height:110px;color:var(--muted);background:var(--surface-soft);text-align:center;border-radius:11px;place-items:center;margin-top:16px;padding:22px;font-size:11px;display:grid}.stock-lookup-feedback.error{color:var(--warning);border-color:var(--warning-border);background:var(--warning-soft)}.stock-lookup-results{gap:7px;margin-top:16px;display:grid}.stock-lookup-summary{justify-content:space-between;align-items:center;gap:12px;padding:0 3px 7px;display:flex}.stock-lookup-summary strong{font-size:11px}.stock-lookup-summary span{color:var(--muted);font-size:9px}.stock-lookup-row{border:1px solid var(--line);width:100%;min-height:70px;color:var(--text);background:var(--surface);cursor:pointer;text-align:left;border-radius:10px;grid-template-columns:minmax(130px,1.1fr) minmax(130px,1fr) minmax(135px,.9fr) auto;align-items:center;gap:14px;padding:12px 14px;transition:border-color .16s,background .16s,transform .16s;display:grid}.stock-lookup-row:hover{border-color:var(--accent-border);background:var(--primary-soft);transform:translateY(-1px)}.stock-lookup-symbol,.stock-lookup-history{gap:4px;min-width:0;display:grid}.stock-lookup-symbol strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.stock-lookup-symbol small,.stock-lookup-history small{color:var(--muted);font-size:9px}.stock-lookup-tags{flex-wrap:wrap;gap:5px;min-width:0;display:flex}.stock-lookup-tags i{max-width:100%;color:var(--primary);background:var(--primary-soft);text-overflow:ellipsis;white-space:nowrap;border-radius:99px;padding:4px 7px;font-size:9px;font-style:normal;overflow:hidden}.stock-lookup-tags i.warning{color:var(--warning);background:var(--warning-soft)}.stock-lookup-history strong{color:var(--warning);font-size:10px}.stock-lookup-history.ready strong{color:var(--down)}.stock-lookup-open{color:var(--primary);white-space:nowrap;font-size:10px;font-weight:800}.stock-chart-overlay{z-index:70;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#080f1ca3;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.stock-chart-dialog{border:1px solid var(--line);width:min(1180px,100%);max-height:calc(100vh - 48px);color:var(--text);background:var(--surface);border-radius:18px;overflow-y:auto;box-shadow:0 28px 90px #050d1b5c}.stock-chart-dialog:focus{outline:none}.stock-chart-dialog :focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.stock-chart-head{z-index:5;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 24px;display:flex;position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.stock-chart-head{background:color-mix(in srgb, var(--surface) 95%, transparent)}}.stock-chart-head{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.stock-chart-head h2{margin:4px 0 0;font-size:22px}.stock-chart-head h2 small{color:var(--muted);margin-left:7px;font-size:12px;font-weight:600}.stock-chart-head p{color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.55}.stock-chart-head-actions{align-items:center;gap:9px;display:flex}.stock-watchlist-button{border:1px solid var(--accent-border);min-height:42px;color:var(--primary);background:var(--surface-soft);cursor:pointer;white-space:nowrap;border-radius:10px;padding:0 13px;font-size:10px;font-weight:800}.stock-watchlist-button.selected{border-color:var(--warning)}@supports (color:color-mix(in lab, red, red)){.stock-watchlist-button.selected{border-color:color-mix(in srgb, var(--warning) 45%, var(--line))}}.stock-watchlist-button.selected{color:var(--warning);background:var(--warning-soft)}.stock-watchlist-button:disabled{cursor:wait;opacity:.65}.stock-watchlist-error{color:var(--warning);background:var(--warning-soft);border-radius:7px;margin:9px 24px 0;padding:8px 10px;font-size:9px;line-height:1.55}.stock-detail-tabs{border-bottom:1px solid var(--line);background:var(--surface);gap:5px;padding:10px 24px 0;display:flex}.stock-detail-tabs button{border:1px solid #0000;border-bottom-color:var(--line);min-width:104px;min-height:38px;color:var(--muted);cursor:pointer;background:0 0;border-radius:9px 9px 0 0;margin-bottom:-1px;padding:0 14px;font-size:11px;font-weight:800}.stock-detail-tabs button.selected{color:var(--primary);border-color:var(--line);border-bottom-color:var(--surface);background:var(--surface)}.stock-chart-timeframe-switch{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;align-items:center;gap:4px;margin:13px 24px 0;padding:4px;display:flex}.stock-chart-timeframe-switch button{min-height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 13px;font-size:10px;font-weight:800}.stock-chart-timeframe-switch button.selected{color:var(--on-primary);background:var(--primary)}.stock-chart-timeframe-switch span{color:var(--muted);margin-left:auto;padding-right:7px;font-size:8px}.stock-minute-status{border-left:3px solid var(--down);background:var(--success-soft);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin:9px 24px 0;padding:9px 11px;display:grid}.stock-minute-status.closed,.stock-minute-status.stale{border-left-color:var(--warning);background:var(--warning-soft)}.stock-minute-status>div{align-items:baseline;gap:9px;min-width:0;display:flex}.stock-minute-status strong{font-size:10px}.stock-minute-status span,.stock-minute-status small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.stock-minute-status button{border:1px solid var(--line-strong);min-height:34px;color:var(--primary);background:var(--surface);cursor:pointer;border-radius:7px;padding:0 10px;font-size:9px;font-weight:800}.stock-chart-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;display:flex}.stock-chart-controls{gap:8px;min-width:0;display:grid}.chart-periods{border:1px solid var(--line);background:var(--surface-soft);border-radius:9px;padding:3px;display:flex}.chart-periods button{min-width:66px;min-height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 12px;font-size:11px;font-weight:700}.chart-periods button.selected{color:var(--on-primary);background:var(--primary)}.chart-indicators{flex-wrap:wrap;gap:6px;display:flex}.chart-indicators button{border:1px solid var(--line);min-height:30px;color:var(--muted);background:var(--surface-soft);cursor:pointer;border-radius:7px;padding:0 8px;font-size:9px;font-weight:800}.chart-indicators button small{color:inherit;margin-left:3px;font-size:8px}.chart-indicators button.selected{background:var(--surface);border-color:currentColor}.chart-indicators .ma-5{color:var(--ma-5)}.chart-indicators .ma-10{color:var(--ma-10)}.chart-indicators .ma-20{color:var(--ma-20)}.chart-indicators .ma-60{color:var(--ma-60)}.intraday-chart-legend{min-height:34px;color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:9px;font-weight:800;display:flex}.intraday-chart-legend .price{color:var(--primary)}.intraday-chart-legend .average{color:var(--ma-5)}.intraday-chart-legend .baseline{color:var(--muted)}.chart-source{text-align:right;gap:3px;display:grid}.chart-source strong{font-size:11px}.chart-source span{color:var(--muted);font-size:9px}.stock-chart-quote{border:1px solid var(--line);background:var(--line);border-radius:10px;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;margin:14px 24px 0;display:grid;overflow:hidden}.stock-chart-quote>div{background:var(--surface-soft);align-content:center;gap:4px;min-width:0;min-height:58px;padding:10px 11px;display:grid}.stock-chart-quote span{color:var(--muted);font-size:9px}.stock-chart-quote strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.stock-chart-range{border:1px solid var(--line);background:var(--surface);border-radius:9px;grid-template-columns:minmax(180px,1.6fr) repeat(3,minmax(90px,1fr));gap:8px;margin:9px 24px 0;padding:9px 11px;display:grid}.stock-chart-range>div{gap:3px;min-width:0;display:grid}.stock-chart-range span{color:var(--muted);font-size:8px}.stock-chart-range strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.stock-chart-feedback,.stock-chart-empty{border:1px dashed var(--line-strong);min-height:180px;color:var(--muted);background:var(--surface-soft);text-align:center;border-radius:11px;justify-content:center;align-items:center;gap:14px;margin:14px 24px 20px;padding:20px;font-size:12px;display:flex}.stock-chart-feedback.error{color:var(--warning);border-color:var(--warning-border);background:var(--warning-soft)}.stock-chart-feedback button{min-height:36px;color:inherit;background:var(--surface);cursor:pointer;border:1px solid;border-radius:8px;padding:0 11px;font-weight:700}.stock-chart-sync-notice{border-left:3px solid var(--warning);color:var(--warning);background:var(--warning-soft);border-radius:7px;margin:12px 24px 0;padding:9px 11px;font-size:9px;line-height:1.5}.stock-chart-body{padding:14px 24px 21px}.stock-chart-canvas-wrap{overscroll-behavior-x:contain;border:1px solid var(--line);background:var(--surface);scrollbar-color:var(--line-strong) var(--surface-soft);border-radius:11px;width:100%;overflow-x:auto}.stock-chart-canvas-wrap canvas{touch-action:pan-x pan-y;cursor:crosshair;max-width:none;display:block}.stock-chart-note{color:var(--muted);margin:9px 2px 0;font-size:9px;line-height:1.55}.stock-live-quote{border:1px solid var(--line);border-left:3px solid var(--down);color:var(--text);background:var(--success-soft);border-radius:9px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;margin:13px 24px 0;padding:10px 12px;display:grid}.stock-live-quote.closed,.stock-live-quote.stale{border-left-color:var(--warning);background:var(--warning-soft)}.stock-live-quote>div{align-items:baseline;gap:9px;min-width:0;display:flex}.stock-live-quote span{color:var(--muted);font-size:9px}.stock-live-quote strong{font-size:16px}.stock-live-quote em{font-size:11px;font-weight:800}.stock-live-quote p{color:var(--muted);grid-column:1;margin:0;font-size:9px;line-height:1.55}.stock-live-quote button{border:1px solid var(--line-strong);min-height:34px;color:var(--primary);background:var(--surface);cursor:pointer;border-radius:7px;grid-area:1/2/3;padding:0 10px;font-size:9px;font-weight:800}.stock-live-quote-error{color:var(--warning);background:var(--warning-soft);border-radius:7px;margin:9px 24px 0;padding:8px 10px;font-size:9px;line-height:1.55}.realtime-overlay{z-index:68;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#080f1ca3;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.realtime-dialog{border:1px solid var(--line);width:min(1120px,100%);max-height:calc(100vh - 48px);color:var(--text);background:var(--surface);border-radius:18px;overflow-y:auto;box-shadow:0 28px 90px #050d1b5c}.realtime-dialog:focus{outline:none}.realtime-dialog :focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.realtime-head{z-index:5;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 24px;display:flex;position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.realtime-head{background:color-mix(in srgb, var(--surface) 95%, transparent)}}.realtime-head{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.realtime-head h2{margin:4px 0 0;font-size:22px}.realtime-head p{color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.55}.realtime-body{padding:19px 24px 25px}.realtime-search{grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:9px;display:grid}.realtime-search label{min-width:0;color:var(--muted);gap:6px;font-size:9px;display:grid}.realtime-search input{border:1px solid var(--line-strong);width:100%;height:40px;color:var(--text);background:var(--surface-soft);border-radius:9px;outline:0;padding:0 12px}.realtime-search input:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.realtime-search input:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 22%, transparent)}}.realtime-search button{height:40px}.realtime-watchlist{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;margin-top:13px;padding:13px 14px}.realtime-watchlist-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.realtime-watchlist-head h3{margin:0;font-size:13px}.realtime-watchlist-head p{color:var(--muted);margin:4px 0 0;font-size:9px;line-height:1.5}.realtime-watchlist-head>button{border:1px solid var(--accent-border);min-height:34px;color:var(--primary);background:var(--surface);cursor:pointer;white-space:nowrap;border-radius:8px;padding:0 10px;font-size:9px;font-weight:800}.realtime-watchlist-items{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:10px;display:grid}.realtime-watchlist-items>div{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) 30px;min-width:0;display:grid;overflow:hidden}.watchlist-stock{min-width:0;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;gap:3px;padding:8px 9px;display:grid}.watchlist-stock strong,.watchlist-stock small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.watchlist-stock strong{font-size:10px}.watchlist-stock small{color:var(--muted);font-size:8px}:is(.watchlist-stock:hover strong,.watchlist-stock:focus-visible strong){color:var(--primary)}.watchlist-remove{border:0;border-left:1px solid var(--line);color:var(--up);background:var(--surface-soft);cursor:pointer;font-size:16px}.realtime-watchlist-empty{color:var(--muted);margin:10px 0 0;font-size:9px}.realtime-feedback{border:1px dashed var(--line-strong);min-height:76px;color:var(--muted);background:var(--surface-soft);text-align:center;border-radius:9px;place-items:center;margin-top:13px;padding:16px;font-size:10px;display:grid}.realtime-feedback.error{color:var(--warning);border-color:var(--warning-border);background:var(--warning-soft)}.realtime-status{border-left:3px solid var(--warning);background:var(--warning-soft);border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:3px 9px;margin-top:13px;padding:10px 12px;display:grid}.realtime-status.live{border-left-color:var(--down);background:var(--success-soft)}.realtime-status strong{font-size:10px}.realtime-status span{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.realtime-status small{color:var(--muted);grid-column:1/-1;font-size:8px}.realtime-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:13px;display:grid}.realtime-card{border:1px solid var(--line);background:var(--surface-soft);border-radius:11px;min-width:0;padding:14px}.realtime-card-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.realtime-card-head>div{gap:3px;min-width:0;display:grid}.realtime-card-head strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.realtime-card-head>div span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.quote-state{color:var(--warning);background:var(--warning-soft);border-radius:99px;flex:none;padding:3px 7px;font-size:8px;font-weight:800}.quote-state.live{color:var(--down);background:var(--success-soft)}.quote-state.stale{color:var(--up);background:var(--danger-soft)}.realtime-price{align-items:baseline;gap:10px;margin-top:12px;display:flex}.realtime-price strong{font-size:23px}.realtime-price span{font-size:11px;font-weight:800}.realtime-ohlc{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:11px;display:grid}.realtime-ohlc span{min-width:0;color:var(--muted);gap:3px;font-size:8px;display:grid}.realtime-ohlc b{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.realtime-card-time{color:var(--muted);margin-top:10px;font-size:8px;display:block}.realtime-card-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:7px;margin-top:10px;padding-top:10px;display:flex}.realtime-card-actions button{border:1px solid var(--line-strong);min-height:34px;color:var(--primary);background:var(--surface);cursor:pointer;border-radius:7px;padding:0 9px;font-size:9px;font-weight:800}.stock-news-section{color:var(--text);background:var(--surface);padding:18px 24px 24px}.news-toolbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.news-toolbar>div{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 8px;min-width:0;display:grid}.news-toolbar strong{font-size:13px}.news-toolbar small{color:var(--muted);grid-column:1/-1;font-size:9px;line-height:1.5}.news-source-status{color:var(--muted);background:var(--surface-soft);border-radius:99px;padding:4px 7px;font-size:9px;font-weight:800}.news-source-status.available,.news-source-status.empty{color:var(--down);background:var(--success-soft)}.news-source-status.degraded,.news-source-status.stale{color:var(--warning);background:var(--warning-soft)}.news-feedback{border:1px dashed var(--line-strong);min-height:54px;color:var(--muted);background:var(--surface-soft);text-align:center;border-radius:9px;justify-content:center;align-items:center;gap:10px;margin-top:12px;padding:11px 13px;font-size:10px;line-height:1.55;display:flex}.news-feedback.success{color:var(--down);background:var(--success-soft)}.news-feedback.error{color:var(--warning);border-color:var(--warning-border);background:var(--warning-soft)}.news-feedback button{min-height:34px;color:inherit;background:var(--surface);cursor:pointer;border:1px solid;border-radius:7px;padding:0 9px;font-weight:800}.news-notice{border-left:3px solid var(--down);background:var(--success-soft);border-radius:8px;gap:4px;margin-top:12px;padding:10px 12px;display:grid}.news-notice.not_synced,.news-notice.degraded,.news-notice.stale{border-left-color:var(--warning);background:var(--warning-soft)}.news-notice span{font-size:10px;line-height:1.55}.news-notice small{color:var(--muted);font-size:9px}.news-card{border:1px solid var(--line);border-left:3px solid var(--primary);background:var(--surface-soft);border-radius:10px;margin-top:9px;padding:13px 14px}.news-card.positive{border-left-color:var(--down)}.news-card.negative{border-left-color:var(--up)}.news-card.mixed{border-left-color:var(--warning)}.news-card-head,.news-card-foot{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.news-card-head span{color:var(--muted);font-size:9px}.news-card-head strong{color:var(--primary);flex:none;font-size:9px}.news-card h4{overflow-wrap:anywhere;margin:9px 0 0;font-size:13px;line-height:1.6}.news-card p{color:var(--muted);overflow-wrap:anywhere;margin:7px 0 0;font-size:10px;line-height:1.65}.news-keywords{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.news-keywords span{border-radius:6px;padding:3px 6px;font-size:8px}.news-keywords .positive{color:var(--down);background:var(--success-soft)}.news-keywords .negative{color:var(--up);background:var(--danger-soft)}.news-card-foot{border-top:1px solid var(--line);align-items:center;margin-top:10px;padding-top:9px}.news-card-foot small{color:var(--muted);font-size:8px}.news-card-foot a{border:1px solid var(--accent-border);min-height:34px;color:var(--primary);background:var(--surface);border-radius:7px;flex:none;align-items:center;padding:0 9px;font-size:9px;font-weight:800;text-decoration:none;display:inline-flex}.news-empty{border:1px dashed var(--line-strong);min-height:180px;color:var(--muted);background:var(--surface-soft);text-align:center;border-radius:10px;align-content:center;place-items:center;gap:7px;margin-top:13px;padding:24px;display:grid}.news-empty strong{color:var(--text);font-size:12px}.news-empty p{max-width:640px;margin:0;font-size:10px;line-height:1.6}.news-pagination{min-height:42px;color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:10px;font-size:9px;display:flex}.news-pagination>div{gap:5px;display:flex}.news-pagination button{border:1px solid var(--line);min-height:34px;color:var(--primary);background:var(--surface);cursor:pointer;border-radius:7px;padding:0 10px;font-size:9px;font-weight:800}.stock-announcement-overlay{z-index:72;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#080f1ca3;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.stock-announcement-dialog{border:1px solid var(--line);width:min(980px,100%);max-height:calc(100vh - 48px);color:var(--text);background:var(--surface);border-radius:18px;overflow-y:auto;box-shadow:0 28px 90px #050d1b5c}.stock-announcement-dialog:focus{outline:none}.stock-announcement-dialog :focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.stock-announcement-head{z-index:5;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 24px;display:flex;position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.stock-announcement-head{background:color-mix(in srgb, var(--surface) 95%, transparent)}}.stock-announcement-head{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.stock-announcement-head h2{margin:4px 0 0;font-size:22px}.stock-announcement-head h2 small{color:var(--muted);margin-left:7px;font-size:12px;font-weight:600}.stock-announcement-head p{max-width:720px;color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.55}.stock-announcement-section{color:var(--text);background:var(--surface);padding:18px 24px 24px}.announcement-toolbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.announcement-toolbar>div{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 8px;min-width:0;display:grid}.announcement-toolbar strong{min-width:0;font-size:13px}.announcement-toolbar small{color:var(--muted);grid-column:1/-1;font-size:9px;line-height:1.5}.announcement-sync-button{flex:none;justify-content:center;align-items:center;min-height:38px;display:inline-flex}.announcement-source-status{color:var(--muted);background:var(--surface-soft);border-radius:999px;padding:4px 7px;font-size:9px;font-weight:800}.announcement-source-status.available,.announcement-source-status.empty{color:var(--down);background:var(--success-soft)}.announcement-source-status.partial,.announcement-source-status.degraded,.announcement-source-status.stale{color:var(--warning);background:var(--warning-soft)}.announcement-feedback{border:1px dashed var(--line-strong);min-height:58px;color:var(--muted);background:var(--surface-soft);text-align:center;border-radius:9px;justify-content:center;align-items:center;gap:12px;margin-top:13px;padding:12px 14px;font-size:10px;line-height:1.55;display:flex}.announcement-feedback.success{color:var(--down);border-color:var(--down)}@supports (color:color-mix(in lab, red, red)){.announcement-feedback.success{border-color:color-mix(in srgb, var(--down) 35%, var(--line))}}.announcement-feedback.success{background:var(--success-soft)}.announcement-feedback.error{color:var(--warning);border-color:var(--warning-border);background:var(--warning-soft)}.announcement-feedback button{min-height:34px;color:inherit;background:var(--surface);cursor:pointer;border:1px solid;border-radius:7px;flex:none;padding:0 10px;font-weight:800}.announcement-notice{border-left:3px solid var(--down);color:var(--text);background:var(--success-soft);border-radius:8px;gap:4px;margin-top:13px;padding:10px 12px;display:grid}.announcement-notice.not_synced,.announcement-notice.partial,.announcement-notice.degraded,.announcement-notice.stale{border-left-color:var(--warning);background:var(--warning-soft)}.announcement-notice span{font-size:10px;line-height:1.55}.announcement-notice small{color:var(--muted);font-size:9px;line-height:1.5}.announcement-list{gap:9px;margin-top:13px;display:grid}.announcement-list.compact{margin-top:9px}.announcement-card{border:1px solid var(--line);border-left:3px solid var(--primary);min-width:0;color:var(--text);background:var(--surface-soft);border-radius:10px;padding:13px 14px}.announcement-card.watch{border-left-color:var(--warning)}.announcement-card.risk{border-left-color:var(--up)}.announcement-card-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.announcement-card-head>div{flex-wrap:wrap;align-items:center;gap:7px;min-width:0;display:flex}.announcement-card-head>div span{color:var(--muted);font-size:9px}.announcement-card-head>div strong{color:var(--primary);background:var(--primary-soft);border-radius:99px;padding:3px 6px;font-size:8px}.announcement-attention{color:var(--primary);background:var(--primary-soft);border-radius:99px;flex:none;padding:3px 7px;font-size:8px;font-weight:800}.announcement-attention.watch{color:var(--warning);background:var(--warning-soft)}.announcement-attention.risk{color:var(--up);background:var(--danger-soft)}.announcement-card h4{color:var(--text);overflow-wrap:anywhere;margin:9px 0 0;font-size:12px;line-height:1.6}.announcement-rule-labels{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.announcement-rule-labels span{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:6px;padding:3px 6px;font-size:8px}.announcement-card-foot{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding-top:9px;display:flex}.announcement-card-foot small{color:var(--muted);font-size:9px;line-height:1.5}.announcement-card-foot a{border:1px solid var(--accent-border);min-height:34px;color:var(--primary);background:var(--surface);border-radius:7px;flex:none;align-items:center;padding:0 9px;font-size:9px;font-weight:800;text-decoration:none;display:inline-flex}.announcement-empty{border:1px dashed var(--line-strong);min-height:180px;color:var(--muted);background:var(--surface-soft);text-align:center;border-radius:10px;align-content:center;place-items:center;gap:7px;margin-top:13px;padding:24px;display:grid}.announcement-empty strong{color:var(--text);font-size:12px}.announcement-empty p{max-width:640px;margin:0;font-size:10px;line-height:1.6}.announcement-pagination{min-height:42px;color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:10px;font-size:9px;display:flex}.announcement-pagination>div{gap:5px;display:flex}.announcement-pagination button{border:1px solid var(--line);min-height:34px;color:var(--primary);background:var(--surface);cursor:pointer;border-radius:7px;padding:0 10px;font-size:9px;font-weight:800}.backtest-readiness,.backtest-form-section,.backtest-results-section{border-bottom:1px solid var(--line);padding:22px 24px}.backtest-results-section{border-bottom:0}.backtest-section-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:14px;display:flex}.backtest-section-heading h3{margin:0;font-size:14px}.backtest-section-heading p{color:var(--muted);margin:4px 0 0;font-size:10px;line-height:1.5}.backtest-heading-actions{align-items:center;gap:8px;display:flex}.trust-badge{color:var(--warning);background:var(--warning-soft);border-radius:99px;flex:none;padding:5px 8px;font-size:9px;font-weight:800}.trust-badge.credible{color:var(--down);background:var(--success-soft)}.trust-badge.blocked{color:var(--up);background:var(--danger-soft)}.backtest-link-button{border:1px solid var(--line);min-height:32px;color:var(--primary);background:var(--surface);cursor:pointer;border-radius:7px;padding:0 9px;font-size:9px;font-weight:700}.readiness-grid{border:1px solid var(--line);border-radius:11px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.readiness-grid>div{border-right:1px solid var(--line);background:var(--surface-soft);align-content:center;gap:3px;min-height:86px;padding:14px;display:grid}.readiness-grid>div:last-child{border-right:0}.readiness-grid span,.readiness-grid small{color:var(--muted);font-size:9px}.readiness-grid strong{font-variant-numeric:tabular-nums;font-size:19px}.evidence-list{gap:5px;margin-top:10px;display:grid}.evidence-list p{color:var(--muted);background:var(--surface-soft);border-radius:7px;margin:0;padding:7px 9px;font-size:10px;line-height:1.45}.evidence-list p.blocked{color:var(--warning);background:var(--warning-soft)}.evidence-list span{margin-right:7px;font-weight:800}.backtest-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.backtest-form-grid>label{min-width:0;color:var(--muted);gap:5px;font-size:9px;display:grid}.research-backtest-note{color:var(--warning);font-size:8px;line-height:1.5}.backtest-form-grid>label.wide{grid-column:span 2}.backtest-form-grid input[type=date],.backtest-form-grid input[type=number],.backtest-form-grid select{border:1px solid var(--line);width:100%;min-width:0;height:38px;color:var(--text);background:var(--surface);border-radius:8px;outline:0;padding:0 10px;font-size:11px}.backtest-form-grid input:focus,.backtest-form-grid select:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.backtest-form-grid input:focus,.backtest-form-grid select:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 22%, transparent)}}.backtest-choice-group{border:1px solid var(--line);border-radius:9px;grid-column:span 2;align-items:center;gap:14px;min-width:0;margin:0;padding:9px 11px 11px;display:flex}.backtest-choice-group legend{color:var(--muted);padding:0 4px;font-size:9px}.backtest-choice-group label{color:var(--muted);white-space:nowrap;align-items:center;gap:5px;font-size:10px;display:flex}.backtest-choice-group input{accent-color:var(--primary)}.backtest-universe-control{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;grid-column:1/-1;min-width:0;margin:0;padding:12px}.backtest-universe-control legend{color:var(--text);padding:0 5px;font-size:10px;font-weight:800}.backtest-universe-modes{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;display:grid}.backtest-universe-modes button{border:1px solid var(--line);min-width:0;color:var(--text);background:var(--surface);cursor:pointer;text-align:left;border-radius:8px;gap:3px;padding:10px;display:grid}.backtest-universe-modes button.selected{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary);background:var(--primary-soft)}.backtest-universe-modes strong{font-size:10px}.backtest-universe-modes small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;line-height:1.45;overflow:hidden}.backtest-universe-picker{gap:8px;margin-top:10px;display:grid}.backtest-universe-search{grid-template-columns:minmax(0,1fr) auto;gap:7px;display:grid}.backtest-universe-search input{border:1px solid var(--line);min-width:0;height:38px;color:var(--text);background:var(--surface);border-radius:8px;outline:0;padding:0 10px}.backtest-universe-search input:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.backtest-universe-search input:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 22%, transparent)}}.backtest-universe-search>button{border:1px solid var(--accent-border);min-width:72px;color:var(--primary);background:var(--surface);cursor:pointer;border-radius:8px;padding:0 12px;font-weight:800}.backtest-universe-search>button:disabled{cursor:wait;opacity:.55}.backtest-universe-error{color:var(--warning);margin:0;font-size:9px}.backtest-universe-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:176px;display:grid;overflow-y:auto}.backtest-universe-results button{border:1px solid var(--line);min-width:0;color:var(--text);background:var(--surface);cursor:pointer;text-align:left;border-radius:7px;gap:3px;padding:8px 9px;display:grid}.backtest-universe-results button.selected{border-color:var(--primary);background:var(--primary-soft)}.backtest-universe-results strong,.backtest-universe-results small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.backtest-universe-results strong{font-size:10px}.backtest-universe-results small{color:var(--muted);font-size:8px}.backtest-universe-selected{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.backtest-universe-selected>span{color:var(--muted);margin-right:3px;font-size:9px}.backtest-universe-selected button{border:1px solid var(--accent-border);min-height:27px;color:var(--primary);background:var(--surface);cursor:pointer;border-radius:99px;align-items:center;gap:6px;padding:0 7px;font-size:8px;display:inline-flex}.backtest-universe-selected b{font-size:12px;line-height:1}.backtest-universe-note{color:var(--muted);margin:9px 0 0;font-size:8px;line-height:1.55}.allocation-error{color:var(--warning);margin:9px 0 0;font-size:10px}.backtest-run-row{justify-content:space-between;align-items:center;gap:20px;margin-top:13px;display:flex}.backtest-run-row p{max-width:720px;color:var(--muted);margin:0;font-size:10px;line-height:1.55}.backtest-run-row .primary-button{flex:none}.backtest-results-layout{grid-template-columns:230px minmax(0,1fr);align-items:start;gap:14px;display:grid}.run-history{border:1px solid var(--line);background:var(--surface-soft);border-radius:11px;align-content:start;gap:6px;max-height:790px;padding:10px;display:grid;overflow-y:auto}.run-history>strong{padding:3px 4px 7px;font-size:10px}.run-history>p{color:var(--muted);text-align:center;margin:0;padding:22px 8px;font-size:10px}.run-history button{width:100%;color:var(--text);background:var(--surface);cursor:pointer;text-align:left;border:1px solid #0000;border-radius:8px;gap:5px;padding:10px;display:grid}.run-history button.selected{border-color:var(--accent-border);box-shadow:inset 0 0 0 1px var(--accent-border)}.run-history button span{justify-content:space-between;align-items:center;gap:6px;display:flex}.run-history button b{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.run-history button i{color:var(--warning);background:var(--warning-soft);border-radius:99px;padding:3px 5px;font-size:8px;font-style:normal}.run-history button i.credible{color:var(--down);background:var(--success-soft)}.run-history button i.blocked{color:var(--up);background:var(--danger-soft)}.run-history button small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.backtest-report{border:1px solid var(--line);border-radius:11px;min-width:0;overflow:hidden}.backtest-empty{min-height:150px;color:var(--muted);text-align:center;place-items:center;padding:35px 20px;font-size:11px;display:grid}.report-title-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:15px 17px;display:flex}.report-title-row>div{gap:4px;min-width:0;display:grid}.report-title-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.report-title-row small,.report-title-row>span{color:var(--muted);font-size:9px}.report-warnings{color:var(--warning);background:var(--warning-soft);gap:3px;padding:10px 16px;display:grid}.report-warnings p{margin:0;font-size:9px;line-height:1.5}.backtest-universe-report{border:1px solid var(--line);color:var(--text);background:var(--surface-soft);border-radius:10px;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;margin:14px 16px 0;padding:13px 14px;display:grid}.backtest-universe-report>div{gap:3px;display:grid}.backtest-universe-report span,.backtest-universe-report small{color:var(--muted);font-size:8px}.backtest-universe-report strong{font-size:11px}.backtest-universe-report details{color:var(--muted);grid-column:1/-1;font-size:9px}.backtest-universe-report summary{color:var(--primary);cursor:pointer;font-weight:800}.backtest-universe-report details p{overflow-wrap:anywhere;margin:6px 0 0;line-height:1.55}.backtest-universe-report code{max-width:210px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;align-self:start;font-size:8px;overflow:hidden}.ai-explanation-card{border:1px solid var(--accent-border);color:var(--text);background:var(--primary-soft);border-radius:11px;margin:14px 16px;padding:15px}.ai-explanation-card.blocked{border-color:var(--warning-border);background:var(--warning-soft)}.ai-explanation-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.ai-explanation-head>div:first-child{gap:4px;display:grid}.ai-explanation-head span{color:var(--primary);font-size:11px;font-weight:800}.ai-explanation-card.blocked .ai-explanation-head span{color:var(--warning)}.ai-explanation-head strong{color:var(--text);font-size:13px;line-height:1.45}.ai-explanation-actions{align-items:center;gap:8px;display:flex}.ai-explanation-actions small{color:var(--muted);white-space:nowrap;font-size:11px}.ai-action-button{border:1px solid var(--primary);min-height:36px;color:var(--on-primary);background:var(--primary);cursor:pointer;white-space:nowrap;border-radius:8px;padding:0 12px;font-size:11px;font-weight:800}.ai-action-button:hover:not(:disabled){border-color:var(--primary-hover);background:var(--primary-hover)}.ai-action-button:disabled{cursor:not-allowed;opacity:.64}.ai-provider-status,.ai-explanation-empty,.ai-explanation-error{color:var(--muted);margin:11px 0 0;font-size:11px;line-height:1.6}.ai-explanation-error{border:1px solid var(--warning-border);color:var(--warning);background:var(--surface);border-radius:8px;padding:9px 10px}.ai-explanation-result{gap:11px;margin-top:13px;display:grid}.ai-explanation-summary{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:11px 12px}.ai-explanation-summary span{color:var(--warning);background:var(--warning-soft);border-radius:99px;margin-bottom:5px;padding:3px 7px;font-size:10px;font-weight:800;display:inline-flex}.ai-explanation-summary p{color:var(--text);margin:0;font-size:12px;line-height:1.65}.ai-claim-list{gap:8px;display:grid}.ai-claim-list article{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:10px 11px}.ai-claim-list article>p{color:var(--text);margin:0;font-size:11px;line-height:1.65}.ai-claim-list article>div{flex-wrap:wrap;gap:5px;margin-top:7px;display:flex}.ai-claim-list article span{overflow-wrap:anywhere;max-width:100%;color:var(--primary);background:var(--primary-soft);border-radius:6px;padding:4px 7px;font-size:10px;font-weight:700;line-height:1.45}.ai-check-grid{grid-template-columns:1fr 1fr;gap:9px;display:grid}.ai-check-grid>div{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:10px 11px}.ai-check-grid strong{color:var(--text);margin-bottom:6px;font-size:11px;display:block}.ai-check-grid p{color:var(--muted);margin:3px 0 0;font-size:11px;line-height:1.55}.ai-cost-note,.ai-disclaimer{color:var(--muted);margin:0;font-size:11px;line-height:1.55}.ai-disclaimer{border-top:1px solid var(--line);color:var(--text);padding-top:9px;font-weight:700}.ai-collaboration-card{border-top:1px solid var(--accent-border);margin-top:14px;padding-top:14px}.ai-collaboration-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.ai-collaboration-head>div{gap:4px;display:grid}.ai-collaboration-head span{color:var(--primary);font-size:11px;font-weight:800}.ai-collaboration-head strong{font-size:12px}.ai-model-plan{color:var(--primary);overflow-wrap:anywhere;margin:7px 0 0;font-size:10px;line-height:1.55}.ai-collaboration-result{gap:10px;margin-top:12px;display:grid}.ai-collaboration-decision{border:1px solid var(--warning-border);background:var(--warning-soft);border-radius:9px;gap:5px;padding:11px 12px;display:grid}.ai-collaboration-card.accepted .ai-collaboration-decision{border-color:var(--line);background:var(--success-soft)}.ai-collaboration-decision span{color:var(--warning);font-size:10px;font-weight:800}.ai-collaboration-card.accepted .ai-collaboration-decision span{color:var(--down)}.ai-collaboration-decision strong{font-size:12px;line-height:1.55}.ai-participant-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;display:grid}.ai-participant-grid article{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:4px;min-width:0;padding:9px 10px;display:grid}.ai-participant-grid span,.ai-participant-grid small{color:var(--muted);font-size:9px}.ai-participant-grid strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.ai-collaboration-conclusion{border:1px solid var(--line);background:var(--surface-soft);border-radius:9px;gap:9px;padding:11px;display:grid}.ai-collaboration-conclusion>strong,.ai-counterarguments>strong{font-size:11px}.ai-collaboration-conclusion>p,.ai-counterarguments p{color:var(--text);margin:0;font-size:11px;line-height:1.6}.ai-counterarguments{border-left:3px solid var(--warning);background:var(--warning-soft);border-radius:7px;gap:5px;padding:9px 10px;display:grid}.result-metrics{border-bottom:1px solid var(--line);grid-template-columns:repeat(6,minmax(0,1fr));display:grid}.result-metrics>div{border-right:1px solid var(--line);align-content:center;gap:5px;min-height:76px;padding:12px;display:grid}.result-metrics>div:last-child{border-right:0}.result-metrics span{color:var(--muted);font-size:8px}.result-metrics strong{font-variant-numeric:tabular-nums;font-size:14px}.equity-card{border-bottom:1px solid var(--line);padding:15px 16px 7px}.equity-card>div:first-child{justify-content:space-between;gap:10px;display:flex}.equity-card>div:first-child strong{font-size:11px}.equity-card>div:first-child span{color:var(--muted);font-size:9px}.equity-canvas{width:100%;height:210px;display:block}.metric-details{border-bottom:1px solid var(--line);color:var(--muted);flex-wrap:wrap;gap:7px 18px;padding:11px 16px;font-size:9px;display:flex}.metric-details strong{color:var(--text);margin-left:4px}.report-subsection{border-bottom:1px solid var(--line);padding:15px 16px}.report-subsection:last-child{border-bottom:0}.report-subsection h4{margin:0 0 10px;font-size:11px}.validation-list{gap:6px;display:grid}.validation-list>div{background:var(--surface-soft);color:var(--muted);border-radius:7px;grid-template-columns:100px 1fr 1.2fr 70px;align-items:center;gap:10px;padding:9px 10px;font-size:8px;display:grid}.validation-list strong{color:var(--text);font-size:9px}.validation-list b{color:var(--primary);text-align:right}.backtest-table-wrap{border:1px solid var(--line);border-radius:8px;overflow-x:auto}.backtest-table{min-width:700px}.backtest-table th,.backtest-table td{padding:8px 9px;font-size:9px}.backtest-table td small{color:var(--muted);margin-top:2px;font-size:8px;line-height:1.45;display:block}.table-limit-note{color:var(--muted);margin:7px 0 0;font-size:8px}.manifest-card>div{color:var(--muted);grid-template-columns:auto 1fr auto 1fr auto 1fr;gap:7px 10px;font-size:9px;display:grid}.manifest-card>div strong{color:var(--text)}.manifest-card>p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:8px 0 0;font-family:ui-monospace,monospace;font-size:8px;overflow:hidden}.portfolio-overlay,.alert-overlay{z-index:60;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#080f1c9e;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.alert-overlay{z-index:65}.portfolio-dialog,.alert-dialog{border:1px solid var(--line);width:min(1180px,100%);max-height:calc(100vh - 48px);color:var(--text);background:var(--surface);border-radius:18px;overflow-y:auto;box-shadow:0 28px 90px #050d1b57}.alert-dialog{width:min(960px,100%)}.portfolio-dialog-head,.alert-dialog-head{z-index:5;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 24px;display:flex;position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.portfolio-dialog-head,.alert-dialog-head{background:color-mix(in srgb, var(--surface) 95%, transparent)}}.portfolio-dialog-head,.alert-dialog-head{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.portfolio-dialog-head h2,.alert-dialog-head h2{margin:4px 0 0;font-size:22px}.portfolio-dialog-head p,.alert-dialog-head p{max-width:760px;color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.55}.portfolio-feedback,.alert-feedback{color:var(--muted);background:var(--surface-soft);border-radius:9px;margin:16px 24px 0;padding:11px 13px;font-size:11px;line-height:1.5}.portfolio-feedback.error,.alert-feedback.error{color:var(--warning);background:var(--warning-soft)}.portfolio-feedback.success,.alert-feedback.success{color:var(--down);background:var(--success-soft)}.portfolio-summary-grid{border:1px solid var(--line);border-radius:11px;grid-template-columns:repeat(4,minmax(0,1fr));margin:20px 24px 0;display:grid;overflow:hidden}.portfolio-summary-grid>div{border-right:1px solid var(--line);background:var(--surface-soft);align-content:center;gap:4px;min-height:92px;padding:14px 16px;display:grid}.portfolio-summary-grid>div:last-child{border-right:0}.portfolio-summary-grid span,.portfolio-summary-grid small{color:var(--muted);font-size:9px}.portfolio-summary-grid strong{font-variant-numeric:tabular-nums;font-size:19px}.portfolio-warning-list{gap:5px;margin:12px 24px 0;display:grid}.portfolio-warning-list p{color:var(--warning);background:var(--warning-soft);border-radius:7px;margin:0;padding:8px 10px;font-size:10px;line-height:1.45}.portfolio-stop-list{border:1px solid var(--warning-border);background:var(--danger-soft);border-radius:10px;gap:7px;margin:12px 24px 0;padding:13px;display:grid}.portfolio-stop-list h3{color:var(--up);margin:0 0 3px;font-size:12px}.portfolio-stop-list>div{border-top:1px solid var(--warning-border);grid-template-columns:minmax(160px,1fr) repeat(3,auto);align-items:center;gap:10px;padding-top:7px;font-size:10px;display:grid}.portfolio-stop-list strong small{color:var(--muted);font-weight:500}.portfolio-stop-list span{color:var(--muted)}.portfolio-stop-list b{color:var(--up)}.portfolio-dialog:focus,.alert-dialog:focus{outline:none}:is(.portfolio-dialog :focus-visible,.alert-dialog :focus-visible){outline:2px solid var(--focus-ring);outline-offset:2px}.portfolio-section{border-top:1px solid var(--line);margin-top:20px;padding:20px 24px}.portfolio-section-head{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px;display:flex}.portfolio-section-head h3{margin:0;font-size:14px}.portfolio-section-head p{color:var(--muted);margin:4px 0 0;font-size:10px;line-height:1.5}.portfolio-section-head>span{color:var(--down);background:var(--success-soft);border-radius:99px;padding:5px 8px;font-size:9px;font-weight:800}.portfolio-section-head>span.status-warning{color:var(--warning);background:var(--warning-soft)}.portfolio-heading-actions{align-items:center;gap:8px;display:flex}.portfolio-heading-actions>span{color:var(--down);background:var(--success-soft);white-space:nowrap;border-radius:99px;padding:5px 8px;font-size:9px;font-weight:800}.portfolio-heading-actions>span.status-warning{color:var(--warning);background:var(--warning-soft)}.exposure-list{gap:8px;display:grid}.exposure-list>div{color:var(--muted);grid-template-columns:minmax(90px,160px) minmax(120px,1fr) 64px;align-items:center;gap:12px;font-size:10px;display:grid}.exposure-list i{background:var(--surface-soft);border-radius:99px;height:7px;overflow:hidden}.exposure-list b{border-radius:inherit;background:var(--primary);height:100%;display:block}.exposure-list strong{color:var(--text);text-align:right;font-size:10px}.portfolio-position-risk-list{gap:8px;display:grid}.portfolio-position-risk-list article{border:1px solid var(--line);background:var(--surface-soft);border-radius:9px;grid-template-columns:minmax(170px,1.25fr) repeat(4,minmax(100px,1fr));align-items:center;gap:12px;padding:11px 12px;display:grid}.portfolio-position-risk-list article.warning{border-color:var(--warning-border)}.portfolio-position-risk-list article>div{gap:3px;min-width:0;display:grid}.portfolio-position-risk-list article span,.portfolio-position-risk-list article small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.portfolio-position-risk-list article b,.portfolio-position-risk-list article strong{font-size:10px}.portfolio-empty{border:1px dashed var(--line-strong);color:var(--muted);text-align:center;border-radius:9px;padding:22px;font-size:10px;line-height:1.55}.portfolio-history-chart{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;padding:13px 14px 10px}.portfolio-history-chart>div{color:var(--muted);justify-content:space-between;align-items:center;font-size:8px;display:flex}.portfolio-history-chart>div strong{color:var(--text);font-size:10px}.portfolio-history-chart svg{width:100%;height:170px;color:var(--primary);display:block;overflow:visible}.portfolio-history-chart svg line{stroke:var(--line-strong);stroke-width:1px;vector-effect:non-scaling-stroke}.portfolio-history-chart svg polyline{fill:none;stroke:currentColor;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.portfolio-history-chart svg circle{fill:var(--surface);stroke:currentColor;stroke-width:2px;vector-effect:non-scaling-stroke}.portfolio-history-chart footer{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:6px 14px;font-size:8px;display:flex}.portfolio-history-chart footer b{margin-left:4px}.portfolio-cash-field{width:min(280px,100%);color:var(--muted);gap:5px;margin-bottom:12px;font-size:9px;display:grid}.portfolio-cash-field input,.position-editor-row input,.portfolio-flow-form input,.portfolio-flow-form select,.unlock-form textarea{border:1px solid var(--line);width:100%;min-width:0;color:var(--text);background:var(--surface);border-radius:8px;outline:0}.portfolio-cash-field input,.position-editor-row input,.portfolio-flow-form input,.portfolio-flow-form select{height:38px;padding:0 10px;font-size:11px}.portfolio-cash-field input:focus,.position-editor-row input:focus,.portfolio-flow-form input:focus,.portfolio-flow-form select:focus,.unlock-form textarea:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.portfolio-cash-field input:focus,.position-editor-row input:focus,.portfolio-flow-form input:focus,.portfolio-flow-form select:focus,.unlock-form textarea:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 22%, transparent)}}.position-editor{gap:8px;display:grid}.position-editor-row{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;grid-template-columns:1.1fr 1fr .55fr .75fr .75fr .75fr .85fr 34px;align-items:end;gap:8px;padding:11px;display:grid}.position-editor-row label,.portfolio-flow-form label{min-width:0;color:var(--muted);gap:5px;font-size:9px;display:grid}.position-remove{border:1px solid var(--line);width:34px;height:38px;color:var(--up);background:var(--surface);cursor:pointer;border-radius:8px;font-size:18px}.portfolio-form-actions{justify-content:space-between;align-items:center;gap:18px;margin-top:13px;display:flex}.portfolio-form-actions span{color:var(--muted);font-size:9px;line-height:1.5}.portfolio-flow-form{grid-template-columns:130px 180px minmax(220px,1fr) auto;align-items:end;gap:10px;display:grid}.portfolio-flow-form .portfolio-section-head{grid-column:1/-1}.unlock-form textarea{resize:vertical;min-height:110px;font:inherit;padding:11px;font-size:11px;line-height:1.6}.alert-channel-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:20px 24px;display:grid}.alert-channel-grid article{border:1px solid var(--line);background:var(--surface-soft);border-radius:11px;min-height:126px;padding:14px}.alert-channel-grid article>div{align-items:center;gap:8px;display:flex}.alert-channel-grid article strong{font-size:11px}.alert-channel-grid article p{color:var(--muted);margin:12px 0 0;font-size:9px;line-height:1.6}.alert-actions-row{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--primary-soft);justify-content:space-between;align-items:center;gap:18px;padding:17px 24px;display:flex}.alert-actions-row strong{font-size:12px}.alert-actions-row p{color:var(--muted);margin:4px 0 0;font-size:9px}.alert-history-section{padding:20px 24px 26px}.alert-history-list{gap:8px;display:grid}.alert-history-list article{border:1px solid var(--line);border-left:3px solid var(--primary);background:var(--surface-soft);border-radius:9px;padding:12px 14px}.alert-history-list article.critical{border-left-color:var(--up)}.alert-history-list article>div{align-items:center;gap:10px;display:flex}.alert-history-list article>div span{color:var(--muted);font-size:8px}.alert-history-list article>div strong{font-size:10px}.alert-history-list article p{color:var(--muted);margin:7px 0 9px;font-size:9px;line-height:1.55}.alert-history-list footer{flex-wrap:wrap;gap:5px;display:flex}.alert-history-list footer span{color:var(--warning);background:var(--warning-soft);border-radius:5px;padding:3px 6px;font-size:8px}.alert-history-list footer span.delivered{color:var(--down);background:var(--success-soft)}.settings-dialog{border:1px solid var(--line);width:min(1060px,100%);max-height:calc(100vh - 56px);color:var(--text);background:var(--surface);border-radius:18px;overflow-y:auto;box-shadow:0 24px 70px #0a173147}.settings-dialog:focus{outline:none}.settings-dialog :focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.settings-feedback{border-radius:8px;margin:0 24px 18px;padding:10px 12px;font-size:10px;line-height:1.55}.settings-feedback.success{color:var(--down);background:var(--success-soft)}.settings-feedback.error{color:var(--warning);background:var(--warning-soft)}.settings-grid{grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);align-items:start;gap:16px;padding:0 24px 26px;display:grid}.settings-section{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;min-width:0;padding:18px}.settings-section.compact{padding:16px}.settings-section h3{margin:0;font-size:13px}.settings-section>p,.settings-section-head p{color:var(--muted);margin:5px 0 0;font-size:9px;line-height:1.6}.settings-section-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.settings-note{color:var(--muted);gap:5px;margin-top:15px;font-size:9px;display:grid}.settings-note input,.password-form input{border:1px solid var(--line);width:100%;min-width:0;height:38px;color:var(--text);background:var(--surface);border-radius:8px;outline:0;padding:0 10px}.settings-note input:focus,.password-form input:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.settings-note input:focus,.password-form input:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 22%, transparent)}}.settings-create{margin-top:10px}.backup-list{gap:8px;margin-top:16px;display:grid}.backup-row{border:1px solid var(--line);background:var(--surface);border-radius:9px;justify-content:space-between;align-items:center;gap:14px;padding:11px 12px;display:flex}.backup-row>div:first-child{gap:3px;min-width:0;display:grid}.backup-row strong{font-size:10px}.backup-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.backup-row code{color:var(--muted);font-size:8px}.backup-row>div:last-child{flex:none;gap:6px;display:flex}.backup-row button{border:1px solid var(--line);min-height:30px;color:var(--primary);background:var(--surface-soft);cursor:pointer;border-radius:7px;padding:0 8px;font-size:8px;font-weight:800}.settings-empty{border:1px dashed var(--line-strong);color:var(--muted);text-align:center;border-radius:9px;padding:18px;font-size:9px;line-height:1.6}.settings-section .settings-safety{color:var(--warning);background:var(--warning-soft);border-radius:8px;margin-top:14px;padding:9px 10px}.settings-side{gap:16px;display:grid}.research-module{border:1px solid var(--line);min-width:0;color:var(--text);background:var(--surface);border-radius:12px;padding:20px;font-size:16px;line-height:1.6}.research-module+.research-module{margin-top:16px}.research-module h4{margin:16px 0 8px;font-size:16px}.research-module small{overflow-wrap:anywhere;font-size:14px}.research-module label,.research-module button{font-size:14px}.research-module button{min-height:40px}.research-module details[open]>summary{margin-bottom:16px}.research-module h3{margin:0 0 10px;font-size:18px}.research-module p{color:var(--muted);margin:10px 0}.research-module input:not([type=checkbox]),.research-module select,.research-module textarea{border:1px solid var(--line-strong);min-width:0;max-width:100%;color:var(--text);background:var(--surface-soft);font:inherit;border-radius:8px;padding:10px 12px}.research-module label{gap:6px;display:grid}.research-module .research-check{align-items:center;gap:10px;display:flex}.research-actions{flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0;display:flex}.research-actions button{font-size:14px}.research-error{background:var(--warning-soft);overflow-wrap:anywhere;border-radius:8px;padding:10px 12px;color:var(--warning)!important}.research-metrics{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:16px 0;display:grid}.research-metrics span{background:var(--surface-soft);color:var(--muted);border-radius:8px;padding:12px;font-size:12px}.research-metrics strong{color:var(--text);overflow-wrap:anywhere;font-size:17px;display:block}.research-table-scroll{max-height:360px;margin-top:12px;overflow:auto}.research-module table{border-collapse:collapse;width:100%}.research-module th,.research-module td{text-align:left;border-bottom:1px solid var(--line);white-space:nowrap;padding:10px;font-size:14px}.research-module td small{color:var(--muted);font-size:14px;display:block}.research-module summary{cursor:pointer;color:var(--primary);margin:12px 0}.research-form-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;display:grid}.data-quality{overflow-wrap:anywhere}.data-quality fieldset{border:1px solid var(--line);border-radius:10px;min-width:0;margin:20px 0 0;padding:16px}.data-quality legend{padding-inline:6px;font-weight:600}.data-quality .research-table-scroll{max-width:100%}.data-quality th,.data-quality td{white-space:normal;overflow-wrap:anywhere;min-width:100px}.data-quality summary:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}.research-stack{gap:16px;display:grid}.rule-group{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;padding:12px}.rule-node-row{align-items:center;gap:8px;min-width:0;margin-bottom:10px;display:flex}.rule-node-row>:first-child{flex:1;min-width:0}.rule-leaf{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rule-leaf input{width:110px}.rule-leaf small{color:var(--muted);font-size:12px}.rule-source{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-soft);max-height:420px;padding:12px;font-size:14px;overflow-y:auto}.announcement-body{margin-top:12px}.announcement-body-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;font-family:inherit;font-size:14px;overflow:auto}.research-hash{overflow-wrap:anywhere;font-size:12px}.settings-extension{padding:0 24px 24px}.settings-section.compact .install-button{justify-content:center;align-items:center;width:100%;margin-top:12px;display:inline-flex}.password-form{gap:10px;margin-top:14px;display:grid}.password-form label{color:var(--muted);gap:5px;font-size:9px;display:grid}.password-form button{margin-top:2px}@media (max-width:1180px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid{grid-template-columns:1fr}.side-stack{grid-template-columns:repeat(2,minmax(0,1fr))}.snapshot-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.pipeline-automation-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.pipeline-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pipeline-stats>div:nth-child(2){border-right:0}.pipeline-stats>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.result-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.result-metrics>div:nth-child(3){border-right:0}.result-metrics>div:nth-child(-n+3){border-bottom:1px solid var(--line)}.position-editor-row{grid-template-columns:repeat(4,minmax(0,1fr))}.position-remove{grid-column:4;justify-self:end}.portfolio-position-risk-list article{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:820px){.app-shell{padding-bottom:calc(72px + env(safe-area-inset-bottom));display:block}.sidebar{width:100%;height:calc(66px + env(safe-area-inset-bottom));padding:8px 10px calc(8px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line);position:fixed;top:auto;bottom:0}.brand-mark,.sidebar-foot{display:none}.main-nav{overscroll-behavior-inline:contain;scrollbar-width:none;gap:4px;display:flex;overflow-x:auto}.main-nav::-webkit-scrollbar{display:none}.nav-item{text-align:center;flex-direction:column;flex:0 0 72px;justify-content:center;gap:2px;min-height:49px;padding:4px 5px;font-size:10px}.nav-item>.nav-icon{width:20px;height:20px}.nav-ai-job-badge{font-size:7px;top:2px;right:3px}.workspace{padding:20px 16px 12px}.topbar{align-items:flex-start}.topbar-actions{flex-wrap:wrap;justify-content:flex-end}.ai-progress-head{flex-wrap:wrap}.ai-progress-side{flex-wrap:wrap;justify-content:space-between;align-items:stretch;width:100%}.ai-progress-controls{flex-wrap:wrap}.mode-switch{order:2}.topbar-actions>.primary-button{order:3}.candidates-head{flex-direction:column;align-items:flex-start}.table-tools{width:100%}.candidate-search{flex:1;min-width:0}.candidate-sort-select{flex:none}.search-box{flex:1;width:auto}.source-meta{flex-direction:column;gap:5px}.pipeline-automation-head{grid-template-columns:1fr;align-items:start;gap:14px}.pipeline-automation-controls{justify-content:space-between;align-items:center;width:100%;display:flex}.pipeline-automation-actions{justify-content:flex-end}.pipeline-automation-foot{grid-template-columns:1fr;gap:7px}.pipeline-automation-foot small{text-align:left}.pipeline-automation-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pipeline-automation-stats>div:last-child{grid-column:1/-1}.pipeline-run{flex-direction:column;align-items:flex-start;gap:4px}.pipeline-run small{white-space:normal;max-width:100%;margin-left:0}.strategy-overlay{padding:14px}.strategy-dialog{max-height:calc(100vh - 28px)}.preset-grid,.research-strategy-grid,.strategy-start-guide>div{grid-template-columns:1fr}.preset-card p,.preset-weights{min-height:0}.factor-row{grid-template-columns:30px minmax(150px,1fr) 92px}.factor-range{display:none}.version-row{flex-direction:column;align-items:flex-start}.version-row>div:last-child{flex-wrap:wrap;width:100%}.backtest-overlay{padding:12px}.backtest-dialog{max-height:calc(100vh - 24px)}.ai-research-overlay{padding:12px}.ai-research-dialog{max-height:calc(100vh - 24px)}.ai-research-status,.ai-evidence-grid,.ai-research-participants{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-research-status>div:nth-child(2){border-right:0}.ai-research-status>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.ai-budget-settings form{grid-template-columns:1fr 1fr}.ai-budget-settings form .secondary-button{grid-column:1/-1}.ai-method-dimensions{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-stock-results{grid-template-columns:repeat(3,minmax(0,1fr))}.board-overlay{padding:12px}.board-dialog{max-height:calc(100vh - 24px)}.board-toolbar{grid-template-columns:1fr auto}.board-tabs{grid-column:1/-1;justify-self:start}.board-heatmap{min-height:400px}.board-detail-head{grid-template-columns:auto minmax(0,1fr)}.board-detail-head .primary-button{grid-column:1/-1;min-height:42px}.stock-lookup-overlay{padding:12px}.stock-lookup-dialog{max-height:calc(100vh - 24px)}.stock-lookup-row{grid-template-columns:minmax(130px,1fr) minmax(130px,1fr) auto}.stock-lookup-tags{display:none}.stock-chart-overlay{padding:12px}.stock-chart-dialog{max-height:calc(100vh - 24px)}.realtime-overlay{padding:12px}.realtime-dialog{max-height:calc(100vh - 24px)}.realtime-grid{grid-template-columns:1fr}.realtime-watchlist-items{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-announcement-overlay{padding:12px}.stock-announcement-dialog{max-height:calc(100vh - 24px)}.stock-chart-quote{grid-template-columns:repeat(4,minmax(0,1fr))}.stock-chart-range,.readiness-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.readiness-grid>div:nth-child(2){border-right:0}.readiness-grid>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.backtest-form-grid,.backtest-universe-modes,.backtest-universe-results{grid-template-columns:repeat(2,minmax(0,1fr))}.backtest-results-layout{grid-template-columns:1fr}.run-history{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.run-history>strong,.run-history>p{grid-column:1/-1}.validation-list>div{grid-template-columns:85px 1fr}.validation-list b{text-align:left}.manifest-card>div{grid-template-columns:auto 1fr auto 1fr}.ai-participant-grid,.portfolio-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-summary-grid>div:nth-child(2){border-right:0}.portfolio-summary-grid>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.portfolio-flow-form{grid-template-columns:1fr 1fr}.portfolio-flow-form label:nth-of-type(3){grid-column:1/-1}.portfolio-flow-form>button{justify-self:end}.alert-channel-grid{grid-template-columns:1fr}.settings-dialog{max-height:calc(100vh - 28px)}.settings-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.ai-progress-track.indeterminate>span{opacity:.45;width:100%;animation:none;transform:none}}@media (max-width:560px){h1{font-size:21px}.topbar{gap:10px}.icon-button{place-items:center;min-width:42px;min-height:42px;display:inline-grid}.mode-switch button{min-width:43px;padding-inline:7px}.primary-button,.secondary-button{justify-content:center;align-items:center;min-height:44px;display:inline-flex}.topbar-actions>.primary-button,.demo-notice button{display:none}.metric-grid{grid-template-columns:1fr 1fr;gap:9px}.metric-card{min-height:116px;padding:14px}.metric-card>strong{font-size:22px}.side-stack{grid-template-columns:1fr}.settings-section .primary-button,.settings-section .secondary-button{justify-content:center;align-items:center;min-height:42px;display:inline-flex}.settings-section-head .secondary-button{min-height:36px}.table-tools{flex-wrap:wrap}.table-tools .candidate-search{flex-basis:100%}.candidate-sort-select{justify-content:space-between;width:100%;min-height:42px;font-size:11px}.candidate-sort-select select{flex:1;max-width:none}.candidate-sort-select button{height:34px}.table-tools .secondary-button,.portfolio-section-head .secondary-button{flex:1;justify-content:center;align-items:center;min-height:42px;display:inline-flex}.candidate-filter-heading{flex-direction:column;align-items:flex-start}.candidate-filter-heading button{width:100%;min-height:42px}.panel-foot{flex-direction:column;align-items:flex-start;gap:8px;padding-block:10px}.workspace-footer{flex-direction:column;gap:5px}.market-source-summary{flex-direction:column;align-items:flex-start}.source-actions{justify-content:space-between;width:100%}.source-actions .secondary-button{justify-content:center;align-items:center;display:inline-flex}.snapshot-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.pipeline-heading{flex-direction:column;align-items:flex-start}.pipeline-automation{padding:13px}.pipeline-automation-title{align-items:flex-start}.pipeline-automation-controls{grid-template-columns:1fr;justify-items:stretch;display:grid}.pipeline-automation-controls .automation-state{grid-column:1/-1;justify-self:start}.pipeline-automation-actions{grid-template-columns:1fr 1fr;display:grid}.pipeline-automation-actions .primary-button,.pipeline-automation-actions .secondary-button{justify-content:center;align-items:center;min-height:44px;display:inline-flex}.pipeline-automation-progress{padding:12px}.pipeline-automation-progress-head{flex-direction:column;align-items:flex-start;gap:10px}.pipeline-automation-progress-head>div:last-child{text-align:left;justify-content:start}.pipeline-automation-stats{grid-template-columns:1fr}.pipeline-automation-stats>div:last-child{grid-column:auto}.pipeline-automation-failure>div{flex-direction:column;gap:3px}.manual-backfill-note{flex-direction:column;gap:4px;font-size:11px}.pipeline-stats{grid-template-columns:1fr 1fr}.pipeline-actions .primary-button,.pipeline-actions .secondary-button{flex:100%;justify-content:center;align-items:center;display:inline-flex}.sector-filter{display:none}.sector-select{color:var(--muted);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;margin:0 19px 14px;font-size:11px;display:grid}.sector-select select{border:1px solid var(--line);min-width:0;height:38px;color:var(--text);background:var(--surface);font:inherit;border-radius:8px;padding:0 9px}.candidate-status{align-items:flex-start}table{min-width:760px}th,td{font-size:10px}th:first-child,td:first-child{z-index:1;background:var(--surface);box-shadow:1px 0 0 var(--line);position:sticky;left:0}th:first-child{z-index:2;background:var(--surface-soft)}tbody tr:hover td:first-child{background:var(--surface-soft)}.score-cell small,.tag-list span,.signal-chip{font-size:10px}.strategy-overlay{place-items:stretch stretch;padding:0}.strategy-dialog{border:0;border-radius:0;max-height:100vh}.strategy-dialog-head{padding:17px 16px}.strategy-dialog-head p{max-width:290px;line-height:1.5}.dialog-close{width:44px;height:44px}.strategy-loading,.strategy-feedback,.active-strategy-bar,.strategy-start-guide{margin-inline:16px}.strategy-start-guide>header{flex-direction:column;align-items:flex-start}.strategy-start-guide button{min-height:68px}.strategy-start-guide>header span,.strategy-start-guide>header small,.strategy-start-guide button span,.strategy-start-guide button em{font-size:11px}.strategy-feedback{line-height:1.5}.strategy-feedback button{min-height:40px;margin-left:6px;padding-inline:8px}.strategy-section{padding:19px 16px}.strategy-section-head{flex-direction:column;align-items:flex-start;gap:8px}.strategy-section-head p,.preset-card p,.strategy-fields label,.factor-copy small,.coverage-editor small,.editor-actions span,.version-row>div:first-child span,.version-row>div:last-child>small{font-size:11px}.preset-card>div:first-child span,.preset-weights span,.active-strategy-bar span,.active-strategy-bar small{font-size:10px}.preset-actions button,.editor-actions button,.version-row button{min-height:42px;padding-inline:12px;font-size:12px}.research-method-note,.research-strategy-card>p,.research-facts span,.research-strategy-card summary,.research-rule-grid strong,.research-rule-grid ul,.research-strategy-card>footer span,.research-strategy-card>footer small,.research-maturity-note{font-size:11px}.research-rule-grid{grid-template-columns:1fr}.research-strategy-card summary{min-height:44px}.research-strategy-actions{flex-direction:column;align-items:stretch}.research-strategy-actions button{min-height:44px;font-size:11px}.research-strategy-actions span{font-size:10px}.ensemble-component-grid{grid-template-columns:1fr}.ensemble-component{min-height:58px}.ensemble-component strong,.ensemble-component small,.ensemble-component em{font-size:11px}.ensemble-fields .wide{grid-column:auto}.ensemble-selected-list>div{flex-direction:column;align-items:flex-start}.ensemble-selected-list label,.ensemble-selected-list input{width:100%}.ensemble-selected-list input{min-height:42px}.ensemble-thresholds{grid-template-columns:1fr}.ensemble-thresholds label{min-height:52px;font-size:11px}.ensemble-thresholds input{min-height:40px}.ensemble-veto{grid-template-columns:1fr}.ensemble-veto label{min-height:40px;font-size:11px}.ensemble-veto>input{min-height:42px}.ensemble-version-list article{flex-direction:column;align-items:stretch}.ensemble-version-list article>div:first-child span,.ensemble-version-list article>div:first-child small{white-space:normal;font-size:11px}.ensemble-version-list article>div:last-child{width:100%}.ensemble-version-list button{flex:1;min-height:42px;font-size:11px}.strategy-fields{grid-template-columns:1fr}.strategy-fields input{height:44px;font-size:13px}.factor-row{grid-template-columns:44px minmax(120px,1fr) 76px;gap:9px;min-height:84px}.factor-toggle{width:44px;height:28px}.factor-toggle span:after{width:22px;height:22px;top:3px;left:3px}.factor-toggle input:checked+span:after{transform:translate(16px)}.factor-copy small{text-overflow:clip;white-space:normal;max-width:none;line-height:1.5;overflow:visible}.weight-input{height:42px}.coverage-editor{grid-template-columns:1fr 48px}.coverage-editor>div{grid-column:1/-1}.coverage-editor input{min-height:36px}.editor-actions span{order:3;width:100%;margin-left:0}.editor-actions .save-strategy{order:4;width:100%;min-height:44px}.version-row>div:last-child>small{width:100%}.backtest-overlay{place-items:stretch stretch;padding:0}.backtest-dialog{border:0;border-radius:0;max-height:100vh}.backtest-dialog-head{padding:16px}.backtest-dialog-head p{font-size:10px}.ai-research-overlay{place-items:stretch stretch;padding:0}.ai-research-dialog{border:0;border-radius:0;max-height:100vh}.ai-research-head{padding:16px}.ai-research-head p{font-size:12px}.ai-research-body{padding:14px 16px 20px}.ai-research-status,.ai-evidence-grid,.ai-research-participants,.ai-next-checks,.ai-progress-models{grid-template-columns:1fr}.ai-background-job-banner{flex-direction:column;align-items:stretch}.ai-background-job-banner button{min-height:44px}.ai-job-row{grid-template-columns:1fr;gap:7px}.ai-job-row small{white-space:normal}.ai-job-row em{justify-self:start}.ai-news-items{grid-template-columns:1fr}.ai-research-status>div{border-right:0;border-bottom:1px solid var(--line);min-height:78px}.ai-research-status>div:last-child{border-bottom:0}.ai-budget-settings{padding:13px}.ai-budget-settings-head{flex-direction:column;gap:6px}.ai-budget-settings form{grid-template-columns:1fr}.ai-budget-settings form .secondary-button{grid-column:auto;justify-content:center;align-items:center;min-height:44px;display:inline-flex}.ai-budget-settings input{min-height:44px}.ai-method-settings{padding:13px}.ai-method-settings-head,.ai-method-actions{flex-direction:column;align-items:stretch}.ai-method-version-list,.ai-method-editor-grid,.ai-method-dimensions{grid-template-columns:1fr}.ai-method-editor input,.ai-method-editor textarea{font-size:12px}.ai-method-actions .primary-button{justify-content:center;min-height:44px}.ai-budget-settings-head p,.ai-budget-settings-head>small,.ai-budget-settings label>span,.ai-budget-help{font-size:11px}.ai-budget-error{flex-direction:column;align-items:stretch}.ai-budget-error .secondary-button{min-height:42px;margin-top:0}.ai-stock-picker,.ai-evidence-section,.ai-research-result{padding:13px}.ai-stock-picker form{grid-template-columns:1fr}.ai-stock-picker form .secondary-button{justify-content:center;align-items:center;min-height:44px;display:inline-flex}.ai-stock-results{grid-template-columns:1fr 1fr}.ai-section-head,.ai-run-row{flex-direction:column;align-items:stretch}.ai-section-head>div:last-child{width:100%}.ai-section-head .secondary-button{flex:1;justify-content:center;align-items:center;min-height:42px;display:inline-flex}.ai-run-row .primary-button{justify-content:center;align-items:center;min-height:44px;display:inline-flex}.ai-run-row>.ai-run-actions{grid-template-columns:1fr;width:100%;display:grid}.ai-run-actions .secondary-button{min-height:44px}.ai-progress-head,.ai-progress-side{flex-direction:column;align-items:stretch}.ai-progress-controls{grid-template-columns:1fr;display:grid}.ai-progress-refresh{width:100%}.ai-progress-usage{flex-wrap:wrap;align-items:flex-start}.ai-progress-summary small{width:100%;margin-left:0}.ai-progress-head span,.ai-progress-head p,.ai-progress-usage strong,.ai-progress-usage span,.ai-progress-summary span,.ai-progress-summary small,.ai-progress-models span,.ai-progress-models b,.ai-progress-models small,.ai-progress-models p,.ai-progress-live-note,.ai-progress-terminal-note,.ai-progress-refresh,.ai-progress-stop,.ai-progress-warning,.ai-progress-awaiting,.ai-research-empty,.ai-stock-picker>div:first-child p,.ai-section-head p,.ai-research-footer,.ai-research-status span,.ai-research-status small,.ai-stock-results small,.ai-evidence-grid span,.ai-evidence-grid small,.ai-board-state strong,.ai-board-state span,.ai-board-state small,.ai-board-state p,.ai-announcement-state strong,.ai-announcement-state span,.ai-announcement-state small,.ai-announcement-state>p,.ai-news-state strong,.ai-news-state span,.ai-news-state p,.ai-limitations strong,.ai-limitations p,.ai-run-row strong,.ai-run-row p,.ai-result-decision span,.ai-research-participants span,.ai-research-participants small,.ai-research-claims span,.ai-counter-list strong,.ai-counter-list p,.ai-counter-list article>div>span,.ai-next-checks strong,.ai-next-checks p,.ai-research-cost,.ai-research-disclaimer{font-size:11px}.ai-research-status strong,.ai-stock-results strong,.ai-evidence-grid strong,.ai-result-decision strong,.ai-research-participants strong,.ai-research-claims p{font-size:12px}.ai-news-items h4,.ai-news-items article>p,.ai-news-items article>div span,.ai-news-items article>div strong,.ai-news-items footer small,.ai-news-items footer a,.ai-news-state>small{font-size:11px}.ai-result-meta{flex-wrap:wrap;align-items:flex-start}.ai-result-meta span,.ai-result-meta small{font-size:11px}.ai-result-meta strong{font-size:12px}.ai-result-meta small{width:100%;margin-left:0}.board-overlay{place-items:stretch stretch;padding:0}.board-dialog{border:0;border-radius:0;max-height:100vh}.board-head{padding:16px}.board-head p{font-size:12px}.board-body{padding:14px 16px 20px}.board-taxonomy-summary{flex-direction:column;align-items:flex-start}.board-toolbar{grid-template-columns:1fr}.board-tabs{grid-template-columns:repeat(2,minmax(0,1fr));justify-self:stretch;width:100%;display:grid}.board-tabs button{min-height:42px;font-size:11px}.board-toolbar form{grid-template-columns:1fr}.board-source-select{width:100%}.board-toolbar form .secondary-button,.board-toolbar>.primary-button{justify-content:center;align-items:center;min-height:44px;display:inline-flex}.board-view-controls{flex-direction:column;align-items:stretch}.board-view-switch{width:100%}.board-view-switch button{flex:1;min-height:44px;font-size:11px}.board-view-controls label{font-size:11px}.board-view-controls select,.board-view-controls>.secondary-button{width:100%;min-height:44px;margin-left:0}.board-heatmap-status{grid-template-columns:1fr}.board-heatmap-status strong,.board-heatmap-status span,.board-heatmap-status small{white-space:normal;font-size:11px}.board-heatmap-visibility{flex-direction:column;align-items:flex-start;font-size:11px}.board-heatmap-visibility span{text-align:left}.board-heatmap{width:720px;min-height:405px}.board-heatmap-tile strong{font-size:14px}.board-heatmap-tile b{font-size:18px}.board-heatmap-legend{flex-wrap:wrap;align-items:flex-start;font-size:11px}.board-heatmap-legend small{text-align:left;width:100%;margin-left:0;font-size:11px}.board-list{grid-template-columns:1fr}.board-open-button span,.board-open-button small,.board-metadata span,.board-active-filter span,.board-active-filter strong,.board-notice{font-size:11px}.board-open-button strong{font-size:12px}.board-list button{min-height:42px;font-size:11px}.board-detail-head{grid-template-columns:1fr}.board-detail-head .primary-button{grid-column:auto;min-height:44px}.board-member-sort-controls{flex-direction:column;align-items:stretch;font-size:11px}.board-member-sort-controls label{justify-content:space-between}.board-member-sort-controls select{flex:1;min-height:40px}.board-member-sort-controls button{min-height:40px}.board-member-sort-controls small{margin-left:0;font-size:10px}.board-back-button{justify-self:start}.board-member-search{grid-template-columns:1fr}.board-member-search button{min-height:44px}.board-member-row{grid-template-columns:1fr;gap:6px;min-height:44px}.board-member-stock strong{font-size:13px}.board-member-stock small,.board-member-industry,.board-member-status,.board-member-open{font-size:11px}.board-member-change{justify-items:start}.board-member-change strong{font-size:14px}.board-member-change small{max-width:none;font-size:10px}.board-member-status,.board-member-open{justify-self:start}.board-member-pagination{flex-direction:column;align-items:flex-start;padding-block:8px}.board-filter-notice{flex-direction:column;align-items:flex-start;font-size:11px}.board-filter-notice button{min-height:34px;font-size:11px}.stock-lookup-overlay{place-items:stretch stretch;padding:0}.stock-lookup-dialog{border:0;border-radius:0;max-height:100vh}.stock-lookup-head{padding:16px}.stock-lookup-head p{font-size:12px}.stock-lookup-body{padding:16px}.stock-lookup-form{grid-template-columns:1fr}.stock-lookup-form input,.stock-lookup-form .primary-button{min-height:44px}.stock-lookup-form .primary-button{justify-content:center;align-items:center;display:inline-flex}.stock-lookup-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:92px}.stock-lookup-tags{grid-area:2/1/auto/-1;display:flex}.stock-lookup-history{text-align:right}.stock-lookup-open{display:none}.stock-lookup-feedback{font-size:12px}.stock-chart-overlay{place-items:stretch stretch;padding:0}.stock-chart-dialog{border:0;border-radius:0;max-height:100vh}.stock-chart-head{padding:16px}.stock-chart-head p{font-size:12px}.stock-chart-head-actions{flex-direction:column-reverse;align-items:stretch}.stock-watchlist-button{min-height:38px;font-size:11px}.stock-detail-tabs{padding:8px 16px 0}.stock-detail-tabs button{flex:1 1 0;min-width:0;min-height:44px;padding:0 8px}.stock-chart-timeframe-switch{flex-wrap:wrap;align-items:stretch;margin-inline:16px}.stock-chart-timeframe-switch button{flex:1;min-height:42px;font-size:11px}.stock-chart-timeframe-switch span{width:100%;margin-left:0;padding:5px 7px;font-size:10px;line-height:1.45}.stock-minute-status{grid-template-columns:1fr;margin-inline:16px}.stock-minute-status>div{flex-direction:column;align-items:flex-start;gap:4px}.stock-minute-status strong,.stock-minute-status span,.stock-minute-status small{white-space:normal;font-size:11px}.stock-minute-status button{min-height:42px}.stock-chart-toolbar{flex-direction:column;align-items:stretch;padding:13px 16px}.stock-chart-controls,.chart-periods{width:100%}.chart-periods button{flex:1;min-height:44px;font-size:12px}.chart-indicators{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.chart-indicators button{min-height:42px;font-size:11px}.chart-indicators button small{font-size:10px}.chart-source{text-align:left}.chart-source span,.stock-chart-note{font-size:12px}.stock-chart-quote{grid-template-columns:repeat(2,minmax(0,1fr));margin-inline:16px}.stock-chart-quote>div{min-height:58px}.stock-chart-quote span,.stock-chart-quote strong{font-size:12px}.stock-chart-range{grid-template-columns:1fr 1fr;margin-inline:16px}.stock-chart-range span,.stock-chart-range strong{font-size:11px}.stock-chart-feedback,.stock-chart-empty{margin-inline:16px;font-size:12px}.stock-chart-sync-notice{margin-inline:16px;font-size:11px}.stock-chart-feedback{flex-direction:column;align-items:stretch}.stock-chart-feedback button{min-height:44px}.stock-chart-body{padding:13px 16px 19px}.stock-live-quote{grid-template-columns:1fr;margin-inline:16px}.stock-live-quote>div{flex-wrap:wrap}.stock-live-quote p,.stock-live-quote button{grid-area:auto/1}.stock-live-quote button{min-height:44px}.stock-live-quote-error,.stock-watchlist-error{margin-inline:16px;font-size:11px}.realtime-overlay{place-items:stretch stretch;padding:0}.realtime-dialog{border:0;border-radius:0;max-height:100vh}.realtime-head{padding:16px}.realtime-head p{font-size:12px}.realtime-body{padding:16px}.realtime-search{grid-template-columns:1fr}.realtime-search input,.realtime-search .primary-button,.realtime-search .secondary-button{justify-content:center;align-items:center;min-height:44px;display:inline-flex}.realtime-watchlist-head{flex-direction:column;align-items:stretch}.realtime-watchlist-head>button{min-height:42px}.realtime-watchlist-head p,.realtime-watchlist-empty{font-size:11px}.realtime-watchlist-items{grid-template-columns:1fr}.watchlist-stock{min-height:52px}.watchlist-stock strong,.watchlist-stock small{font-size:11px}.realtime-status{grid-template-columns:1fr}.realtime-status span{white-space:normal}.realtime-status strong,.realtime-status span,.realtime-status small,.realtime-card-head>div span,.quote-state,.realtime-ohlc span,.realtime-card-time{font-size:11px}.realtime-ohlc{grid-template-columns:repeat(2,minmax(0,1fr))}.realtime-card-actions{grid-template-columns:1fr 1fr;display:grid}.realtime-card-actions button{min-height:44px;font-size:11px}.stock-news-section{padding:16px}.news-toolbar{flex-direction:column;align-items:stretch}.news-toolbar .secondary-button{justify-content:center;align-items:center;min-height:44px;display:inline-flex}.news-toolbar small,.news-source-status,.news-notice span,.news-notice small,.news-card-head span,.news-card-head strong,.news-card p,.news-keywords span,.news-card-foot small,.news-empty p,.news-pagination{font-size:11px}.news-card-head,.news-card-foot{flex-direction:column}.news-card-foot a{justify-content:center;width:100%;min-height:44px;font-size:12px}.news-pagination{flex-direction:column;align-items:flex-start}.news-pagination>div{width:100%}.news-pagination button{flex:1;min-height:44px;font-size:12px}.stock-announcement-overlay{place-items:stretch stretch;padding:0}.stock-announcement-dialog{border:0;border-radius:0;max-height:100vh}.stock-announcement-head{padding:16px}.stock-announcement-head p{font-size:12px}.stock-announcement-section{padding:16px}.announcement-toolbar{flex-direction:column;align-items:stretch}.announcement-toolbar strong{font-size:13px}.announcement-toolbar small,.announcement-source-status,.announcement-notice span,.announcement-notice small,.announcement-card-head>div span,.announcement-card-head>div strong,.announcement-attention,.announcement-rule-labels span,.announcement-card-foot small,.announcement-empty p,.announcement-pagination{font-size:11px}.announcement-sync-button{width:100%;min-height:44px;display:inline-flex}.announcement-feedback{flex-direction:column;align-items:stretch;font-size:12px}.announcement-feedback button{min-height:44px}.announcement-card{padding:13px}.announcement-card h4{font-size:13px}.announcement-card-head,.announcement-card-foot{flex-direction:column;align-items:flex-start}.announcement-card-foot a{justify-content:center;width:100%;min-height:44px;font-size:12px}.announcement-pagination{flex-direction:column;align-items:flex-start}.announcement-pagination>div{width:100%}.announcement-pagination button{flex:1;min-height:44px;font-size:12px}.backtest-feedback{margin-inline:16px}.backtest-readiness,.backtest-form-section,.backtest-results-section{padding:19px 16px}.backtest-section-heading{flex-direction:column;align-items:flex-start;gap:9px}.backtest-heading-actions{justify-content:space-between;width:100%}.backtest-link-button{min-height:42px;padding-inline:12px;font-size:11px}.readiness-grid strong{font-size:16px}.backtest-form-grid{grid-template-columns:1fr 1fr}.backtest-form-grid>label.wide,.backtest-choice-group{grid-column:1/-1}.backtest-form-grid input[type=date],.backtest-form-grid input[type=number],.backtest-form-grid select{height:44px;font-size:12px}.backtest-choice-group{flex-direction:column;align-items:flex-start}.backtest-choice-group label{white-space:normal;min-height:30px;font-size:11px}.backtest-choice-group input{width:20px;height:20px}.backtest-universe-modes,.backtest-universe-results{grid-template-columns:1fr}.backtest-universe-modes small{white-space:normal}.backtest-universe-report{grid-template-columns:1fr}.backtest-universe-report code{max-width:100%}.backtest-run-row{flex-direction:column;align-items:stretch}.backtest-run-row .primary-button{justify-content:center;align-items:center;min-height:46px;display:inline-flex}.ai-explanation-card{margin:12px;padding:13px}.ai-explanation-head{flex-direction:column}.ai-explanation-actions{flex-direction:column;align-items:stretch;width:100%}.ai-explanation-actions small,.ai-provider-status,.ai-explanation-empty,.ai-explanation-error,.ai-claim-list article>p,.ai-check-grid p,.ai-cost-note,.ai-disclaimer{font-size:12px}.ai-action-button{justify-content:center;align-items:center;min-height:44px;font-size:12px;display:inline-flex}.ai-check-grid{grid-template-columns:1fr}.ai-claim-list article span{font-size:11px}.ai-collaboration-head{flex-direction:column;align-items:stretch}.ai-collaboration-head .ai-action-button{min-height:44px}.ai-participant-grid{grid-template-columns:1fr}.ai-model-plan,.ai-participant-grid span,.ai-participant-grid strong,.ai-participant-grid small,.ai-collaboration-conclusion>p,.ai-counterarguments p{font-size:12px}.run-history{display:flex;overflow-x:auto}.run-history>strong{display:none}.run-history button{min-width:210px}.result-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.result-metrics>div:nth-child(3){border-right:1px solid var(--line)}.result-metrics>div:nth-child(2n){border-right:0}.result-metrics>div:nth-child(-n+4){border-bottom:1px solid var(--line)}.equity-card>div:first-child{flex-direction:column;align-items:flex-start}.equity-canvas{height:190px}.validation-list>div{grid-template-columns:1fr;gap:5px}.manifest-card>div{grid-template-columns:auto 1fr}.portfolio-overlay,.alert-overlay{place-items:stretch stretch;padding:0}.portfolio-dialog,.alert-dialog{border:0;border-radius:0;max-height:100vh}.portfolio-dialog-head,.alert-dialog-head{padding:16px}.portfolio-dialog-head p,.alert-dialog-head p{font-size:12px}.portfolio-feedback,.alert-feedback,.portfolio-summary-grid{margin-inline:16px}.portfolio-summary-grid strong{font-size:16px}.portfolio-warning-list,.portfolio-stop-list{margin-inline:16px}.portfolio-stop-list>div{grid-template-columns:1fr 1fr;font-size:12px}.portfolio-position-risk-list article{grid-template-columns:1fr 1fr}.portfolio-position-risk-list article>div:first-child{grid-column:1/-1}.portfolio-position-risk-list article span,.portfolio-position-risk-list article small,.portfolio-position-risk-list article b,.portfolio-position-risk-list article strong,.portfolio-history-chart>div,.portfolio-history-chart footer,.source-meta,.snapshot-item span,.snapshot-item small,.method-notice,.risk-note,.intraday-warning,.workspace-footer{font-size:12px}.portfolio-section,.alert-history-section{padding:18px 16px}.portfolio-section-head p,.portfolio-section-head>span,.portfolio-summary-grid span,.portfolio-summary-grid small,.portfolio-warning-list p,.portfolio-empty,.portfolio-form-actions span,.position-editor-row label,.portfolio-flow-form label,.alert-channel-grid article p,.alert-actions-row p,.alert-history-list article p,.alert-history-list article>div span,.alert-history-list footer span{font-size:12px}.position-editor-row{grid-template-columns:1fr 1fr}.position-remove{grid-area:auto/1/auto/-1;justify-self:end;width:44px;height:44px}.portfolio-cash-field input,.position-editor-row input,.portfolio-flow-form input,.portfolio-flow-form select{height:44px;font-size:12px}.portfolio-form-actions,.alert-actions-row{flex-direction:column;align-items:stretch}.portfolio-heading-actions{flex-direction:column;align-items:stretch;width:100%}.portfolio-heading-actions>span{align-self:flex-start;font-size:11px}.portfolio-heading-actions .secondary-button{justify-content:center;align-items:center;width:100%;min-height:44px;display:inline-flex}.portfolio-form-actions .primary-button,.alert-actions-row .primary-button{justify-content:center;align-items:center;min-height:46px;display:inline-flex}.portfolio-flow-form{grid-template-columns:1fr}.portfolio-flow-form label:nth-of-type(3){grid-column:auto}.portfolio-flow-form>button{justify-content:center;align-items:center;width:100%;min-height:44px;display:inline-flex}.alert-channel-grid{padding:18px 16px}.alert-actions-row{padding:17px 16px}.alert-history-list article>div{flex-direction:column;align-items:flex-start;gap:4px}}.ai-config-fold>summary{color:var(--primary);cursor:pointer;padding:4px 0;font-size:14px;font-weight:700}.ai-config-fold[open]>summary{margin-bottom:16px}.ai-role-assignments,.ai-report-status-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.ai-role-assignments{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.ai-role-assignments article,.ai-report-status-grid>div{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;gap:8px;min-width:0;padding:14px;display:grid}.ai-role-assignments span,.ai-report-status-grid span{color:var(--muted);overflow-wrap:anywhere;font-size:13px}.ai-report-status-grid strong,.ai-role-assignments strong{font-size:14px}.ai-delivered-report{overflow-wrap:anywhere;padding:24px;font-size:16px;line-height:1.75}.ai-delivered-report .ai-report-header{justify-content:space-between;align-items:start;gap:20px;display:flex}.ai-delivered-report .ai-report-header h3{margin:6px 0;font-size:22px}.ai-delivered-report .ai-report-header span{color:var(--primary);font-size:14px;font-weight:700}.ai-delivered-report .ai-report-header p{color:var(--muted);margin:0;font-size:13px}.ai-delivered-report .ai-report-header>strong{background:var(--primary-soft);color:var(--primary);border-radius:8px;flex-shrink:0;padding:8px 12px;font-size:16px}.ai-delivered-report .ai-report-reason{margin:18px 0;font-size:16px}.ai-delivered-report .ai-report-missing{border-left:3px solid var(--warning);color:var(--warning);background:var(--warning-soft);border-radius:8px;padding:14px;font-size:14px;line-height:1.7}.ai-delivered-report h3{margin:20px 0 12px;font-size:19px}.ai-delivered-report h4{margin:16px 0 8px;font-size:16px}.ai-delivered-report .ai-main-conclusion>p{white-space:pre-wrap;font-size:16px;line-height:1.85}.ai-delivered-report .ai-research-claims article{padding:14px 16px}.ai-delivered-report .ai-research-claims p{font-size:15px;line-height:1.8}.ai-delivered-report .ai-research-claims span{font-size:12px;line-height:1.6}.ai-delivered-report .ai-next-checks{gap:16px}.ai-delivered-report .ai-report-list{min-width:0}.ai-delivered-report .ai-report-list li,.ai-delivered-report .ai-report-disagreements li{margin:7px 0;font-size:15px}.ai-delivered-report .ai-report-list ul,.ai-delivered-report .ai-report-disagreements ul{padding-left:22px}.ai-delivered-report .ai-report-disagreements{border:1px solid var(--warning-border);background:var(--warning-soft);border-radius:10px;margin:20px 0;padding:2px 18px 14px}.ai-delivered-report .ai-report-disagreements p,.ai-delivered-report .ai-specialist-list>p{color:var(--muted);font-size:14px}.ai-delivered-report .ai-specialist-report{border:1px solid var(--line);border-radius:12px;margin:14px 0;padding:18px}.ai-delivered-report .ai-specialist-report header{justify-content:space-between;gap:18px;display:flex}.ai-delivered-report .ai-specialist-report header>div{gap:4px;min-width:0;display:grid}.ai-delivered-report .ai-specialist-report header h4{margin:0;font-size:16px}.ai-delivered-report .ai-specialist-report header span{color:var(--muted);font-size:13px}.ai-delivered-report .ai-specialist-report header strong{color:var(--primary);font-size:14px}.ai-delivered-report .ai-specialist-summary{white-space:pre-wrap;margin:14px 0;font-size:16px;line-height:1.8}.ai-delivered-report .ai-specialist-details>summary{color:var(--primary);cursor:pointer;font-size:14px;font-weight:600}.ai-delivered-report footer{border-top:1px solid var(--line);color:var(--muted);margin-top:20px;padding-top:12px;font-size:13px}.account-management p{font-size:14px;line-height:1.7}.managed-account{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.managed-account>div:first-child{overflow-wrap:anywhere;gap:7px;min-width:0;display:grid}.managed-account strong{font-size:16px}.managed-account span{color:var(--muted);font-size:13px}.account-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.account-actions button{min-height:40px;font-size:14px}.account-delete-confirm{border:1px solid var(--warning-border);background:var(--warning-soft);border-radius:10px;margin:16px 0;padding:18px}.account-create-form h4{margin:22px 0 12px;font-size:16px}.decision-context,.decision-support-card{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:14px;min-width:0;margin:20px 0;padding:24px;font-size:16px;line-height:1.65}.decision-context header h3,.decision-support-card h3{color:var(--text);margin:0 0 8px;font-size:22px}.decision-context p,.decision-support-card p{margin:8px 0 14px}.decision-context fieldset{border:0;min-width:0;margin:0;padding:0}.decision-context legend{margin-bottom:12px;padding:0;font-size:16px;font-weight:650}.decision-mode{flex-wrap:wrap;gap:12px 24px;margin-bottom:16px;display:flex}.decision-mode label{cursor:pointer;align-items:center;gap:10px;font-size:16px;display:flex}.decision-mode input{width:18px;height:18px;accent-color:var(--primary)}.decision-input-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0;display:grid}.decision-input-grid label{color:var(--text);gap:8px;font-size:14px;display:grid}.decision-input-grid input{width:100%;min-width:0;min-height:44px;color:var(--text);background:var(--surface-soft);border:1px solid var(--line-strong);font:inherit;border-radius:8px;padding:8px 12px;font-size:16px}.decision-form-actions{flex-wrap:wrap;align-items:center;gap:16px;margin-top:20px;display:flex}.decision-form-actions span{color:var(--muted);font-size:14px}.decision-support-card{border-top:4px solid var(--primary)}.decision-support-card>header{justify-content:space-between;align-items:start;gap:20px;display:flex}.decision-support-card>header>div{min-width:0}.decision-support-card>header span{font-size:14px}.decision-experimental{background:var(--warning-soft);color:var(--warning);border-radius:6px;flex-shrink:0;padding:5px 10px}.decision-validity{color:var(--muted);border-block:1px solid var(--line);flex-wrap:wrap;gap:12px 24px;padding:12px 0;font-size:14px;display:flex}.decision-support-card h4{color:var(--text);margin:18px 0 10px;font-size:16px}.decision-support-card .decision-notice{color:var(--muted);font-size:14px}.decision-table-scroll{overflow-x:auto}.decision-conditions{border-collapse:collapse;width:100%;font-size:16px}.decision-conditions th,.decision-conditions td{border-bottom:1px solid var(--line);text-align:left;padding:12px 14px}.decision-conditions thead{background:var(--surface-soft);color:var(--muted);font-size:14px}.decision-conditions th{font-weight:600}.decision-conditions th small{color:var(--muted);font-size:12px;font-weight:400;display:block}.decision-conditions td{font-variant-numeric:tabular-nums;white-space:nowrap}.decision-conditions .met{color:var(--primary)}.decision-conditions .unmet,.decision-conditions .unknown{color:var(--muted)}.decision-scenarios,.decision-gaps ul{padding-left:22px}.decision-scenarios li,.decision-gaps li{margin:8px 0}.decision-gaps,.decision-expired{border-left:3px solid var(--warning);background:var(--warning-soft);color:var(--warning);border-radius:8px;padding:14px 18px}.decision-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:18px 0;display:grid}.decision-reference{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;min-width:0;padding:16px}.decision-reference h4{margin-top:0}.decision-reference dl{margin:0}.decision-reference dl>div{border-top:1px solid var(--line);overflow-wrap:anywhere;grid-template-columns:minmax(100px,38%) 1fr;gap:14px;padding:9px 0;display:grid}.decision-reference dt{color:var(--muted);font-size:14px}.decision-reference dd{margin:0;font-size:16px}.decision-context summary,.decision-support-card summary,.decision-evidence-details summary{color:var(--primary);cursor:pointer;padding:10px 0;font-size:16px}.decision-support-card pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-soft);color:var(--text);border:1px solid var(--line);padding:16px;font-size:14px}.decision-support-card .decision-fingerprint,.decision-support-card .decision-history-note{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.decision-indicators{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.decision-indicators>div{background:var(--surface-soft);overflow-wrap:anywhere;padding:12px}.decision-indicators dt{color:var(--muted);font-size:12px}.decision-indicators dd{font-variant-numeric:tabular-nums;margin:4px 0 0}.decision-evidence-details .ai-evidence-grid article{overflow-wrap:anywhere;min-width:0}@media (max-width:760px){.decision-context,.decision-support-card{padding:16px}.decision-input-grid,.decision-reference-grid{grid-template-columns:1fr}.decision-support-card>header{flex-direction:column}.decision-conditions{min-width:550px}.decision-indicators{grid-template-columns:repeat(2,minmax(0,1fr))}}.account-form-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px;display:grid}.account-form-fields label{gap:8px;font-size:14px;display:grid}.account-form-fields input{border:1px solid var(--line-strong);width:100%;min-width:0;min-height:44px;color:var(--text);background:var(--surface-soft);border-radius:8px;padding:8px 12px}.candidate-preparation{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;margin-bottom:22px;padding:18px}.candidate-preparation .preparation-head,.candidate-preparation .preparation-progress{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.candidate-preparation .preparation-head>div{flex:1;min-width:180px}.candidate-preparation h3{margin:0 0 8px;font-size:17px}.candidate-preparation p{margin:8px 0;font-size:14px;line-height:1.7}.candidate-preparation .preparation-progress{padding-top:15px;font-size:14px}.candidate-preparation progress{width:100%;height:8px;accent-color:var(--primary);margin:14px 0}.candidate-preparation .preparation-stages{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.candidate-preparation .preparation-stages article{border:1px solid var(--line);background:var(--surface);overflow-wrap:anywhere;border-radius:8px;padding:12px}.candidate-preparation .preparation-stages header{justify-content:space-between;gap:10px;font-size:14px;display:flex}.candidate-preparation .preparation-stages header span,.candidate-preparation small{color:var(--muted);font-size:12px}.candidate-preparation .preparation-gap{color:var(--warning);font-size:13px}.candidate-preparation .preparation-next{margin:14px 0}.candidate-preparation details{margin-top:14px}.candidate-preparation summary{color:var(--primary);cursor:pointer;font-size:14px}.strategy-evidence,.strategy-evidence-card{overflow-wrap:anywhere;min-width:0}.strategy-evidence-gates{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0;list-style:none;display:grid}.strategy-evidence-gates li{background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;gap:6px;padding:12px;font-size:13px;display:grid}.strategy-evidence-gates span{color:var(--muted);line-height:1.6}.strategy-evidence-card code,.robustness-details{overflow-wrap:anywhere}@media (max-width:760px){.strategy-evidence-gates{grid-template-columns:1fr}.strategy-evidence .journal-table{min-width:680px}.ai-delivered-report{padding:16px}.ai-report-status-grid,.account-form-fields,.candidate-preparation .preparation-stages,.ai-delivered-report .ai-next-checks{grid-template-columns:1fr}.ai-delivered-report .ai-report-header,.ai-delivered-report .ai-specialist-report header,.managed-account{flex-direction:column;align-items:stretch}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.mobile-candidate-cards,.mobile-navigation,.mobile-nav-dialog:not([open]){display:none}@media (max-width:820px){.app-shell{padding-bottom:calc(84px + env(safe-area-inset-bottom))}.app-shell>.sidebar{display:none}.workspace{min-width:0}.candidate-desktop-table{display:none}.mobile-candidate-cards{border-block:1px solid var(--line);gap:12px;padding:12px 16px;display:grid}.mobile-candidate-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;min-width:0;padding:16px}.mobile-candidate-card>*{min-width:0}.mobile-candidate-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.mobile-candidate-header .stock-cell{align-items:flex-start;gap:9px;min-width:0}.mobile-candidate-header .rank{flex:0 0 26px;margin-top:7px}.mobile-candidate-header .stock-name-button{white-space:normal;text-align:left;min-width:0;min-height:44px}.mobile-candidate-header .stock-name-button strong{overflow-wrap:anywhere;font-size:16px;line-height:1.45}.mobile-candidate-header .stock-name-button small{font-size:12px}.mobile-candidate-quote{text-align:right;font-variant-numeric:tabular-nums;flex:none}.mobile-candidate-metric-label{color:var(--muted);font-size:12px}.mobile-candidate-quote strong{font-size:18px;line-height:1.4;display:block}.mobile-candidate-quote .change{margin-top:4px;font-size:12px;display:block}.mobile-candidate-metrics{background:var(--surface-soft);border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0;padding:12px;display:grid}.mobile-candidate-metrics>div{min-width:0}.mobile-candidate-metrics dt{color:var(--muted);font-size:12px}.mobile-candidate-metrics dd{overflow-wrap:anywhere;margin:5px 0 0;font-size:16px;font-weight:700}.mobile-candidate-signal{overflow-wrap:anywhere;gap:7px;margin-block:12px;display:grid}.mobile-candidate-signal .signal-chip{white-space:normal;justify-self:start;max-width:100%;font-size:12px;line-height:1.6}.mobile-candidate-signal .signal-chip.warning{color:var(--warning);background:var(--warning-soft);border:1px solid var(--warning-border)}.mobile-candidate-signal .ensemble-signal-detail{font-size:12px;line-height:1.6}.mobile-candidate-tags .tag-list{flex-wrap:wrap;gap:6px;display:flex}.mobile-candidate-tags .tag-list span{white-space:normal;overflow-wrap:anywhere;max-width:100%;padding:5px 8px;font-size:11px;line-height:1.6}.mobile-candidate-tag-details,.mobile-candidate-reasons{overflow-wrap:anywhere;margin-top:6px;font-size:12px;line-height:1.6}.mobile-candidate-tag-details summary,.mobile-candidate-reasons summary{cursor:pointer;min-height:44px;color:var(--primary);padding-block:12px}.mobile-candidate-reasons ul{margin:0 0 12px;padding-left:20px}.mobile-candidate-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px;display:grid}.mobile-candidate-actions button{border:1px solid var(--line-strong);background:var(--surface);cursor:pointer;border-radius:9px;min-width:0;min-height:44px;padding:9px 6px;font-size:13px;font-weight:600}.mobile-candidate-actions button:last-child{background:var(--primary-soft);color:var(--primary);border-color:var(--accent-border)}:is(.mobile-candidate-card button:focus-visible,.mobile-candidate-card summary:focus-visible,.mobile-navigation button:focus-visible,.mobile-nav-dialog button:focus-visible){outline:3px solid var(--focus-ring);outline-offset:2px}.mobile-navigation{z-index:40;padding:8px max(6px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));background:var(--surface);border-top:1px solid var(--line);grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;display:grid;position:fixed;inset:auto 0 0;box-shadow:0 -4px 18px #0000000a}.mobile-nav-item{min-width:0;min-height:56px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:4px 2px;display:flex}.mobile-nav-item.active{color:var(--primary);background:var(--primary-soft);font-weight:700}.mobile-nav-icon{background:var(--surface-soft);border-radius:8px;place-items:center;width:24px;height:24px;font-size:13px;font-weight:700;display:grid}.mobile-nav-item.active .mobile-nav-icon{color:var(--on-primary);background:var(--primary)}.mobile-nav-label{overflow-wrap:anywhere;max-width:100%;font-size:11px;line-height:1.5}.mobile-nav-current{overflow-wrap:anywhere;max-width:100%;font-size:9px;line-height:1.3}.mobile-nav-dialog{border:1px solid var(--line);background:var(--surface);width:100%;max-width:none;max-height:min(85dvh,680px);color:var(--text);overscroll-behavior:contain;border-radius:20px 20px 0 0;margin:0;padding:0;position:fixed;inset:auto 0 0;overflow:auto}.mobile-nav-dialog::backdrop{background:#0913258c}.mobile-nav-sheet{padding:18px 16px calc(18px + env(safe-area-inset-bottom))}.mobile-nav-sheet-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.mobile-nav-sheet-heading h2{margin:0;font-size:19px}.mobile-nav-close{border:1px solid var(--line);background:var(--surface-soft);cursor:pointer;border-radius:9px;min-width:44px;min-height:44px;font-size:14px}.mobile-nav-current-location{color:var(--muted);margin-block:8px 16px;font-size:13px;line-height:1.6}.mobile-nav-more-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.mobile-nav-more-item{border:1px solid var(--line);background:var(--surface-soft);overflow-wrap:anywhere;cursor:pointer;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:82px;padding:10px 6px;font-size:13px;display:flex}.mobile-nav-more-item.active{color:var(--primary);background:var(--primary-soft);border-color:var(--accent-border)}.mobile-ai-job-badge{background:var(--primary-soft);color:var(--primary);border-radius:9px;padding:2px 6px;font-size:10px}.candidate-filter-heading{gap:12px}.candidate-filter-heading>div{min-width:0}.candidate-filter-heading button{white-space:normal;min-height:44px}.candidate-sort-select select,.sector-select select,.candidate-search input{min-height:44px;font-size:16px}.candidate-sort-select{min-width:0}.pagination-actions button{min-height:44px}.data-quality{padding:14px}.data-quality fieldset{padding:12px}.data-quality .research-form-grid{grid-template-columns:minmax(0,1fr)}.data-quality button,.data-quality summary{min-height:44px}.data-quality summary{padding-block:10px}.data-quality input:not([type=checkbox]),.data-quality select{min-height:44px;font-size:16px}}@media (max-width:380px){.mobile-candidate-cards{padding-inline:10px}.mobile-candidate-card{padding:12px}.mobile-candidate-header{flex-wrap:wrap}.mobile-candidate-header .stock-cell{flex:140px}.mobile-candidate-quote{margin-left:auto}.mobile-nav-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.mobile-nav-dialog{scroll-behavior:auto}}.site-legal-footer{min-height:52px;padding:12px 20px max(12px, env(safe-area-inset-bottom));border-top:1px solid var(--line,#e5eaf1);background:var(--bg,#f3f6fa);color:var(--muted,#657287);text-align:center;overflow-wrap:anywhere;justify-content:center;align-items:center;font-size:13px;line-height:1.6;display:flex}.site-legal-footer a{color:inherit;text-underline-offset:3px;text-decoration:underline}.site-legal-footer a:hover{color:var(--primary,#2457d6)}.site-legal-footer a:focus-visible{outline:3px solid var(--primary,#2457d6);outline-offset:4px}@media (max-width:820px){.app-shell~.site-legal-footer{padding-bottom:calc(96px + env(safe-area-inset-bottom))}}
