.company-trail a{color:inherit;text-decoration:none}.company-trail a:hover{text-decoration:underline;text-underline-offset:3px}.company-trail{flex-wrap:wrap}
.screener-entry{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.screener-entry a{display:flex;align-items:center;gap:12px;min-height:84px;border:1px solid var(--border);border-radius:8px;padding:14px;color:var(--text);text-decoration:none}.screener-entry a:hover{background:var(--soft)}.screener-entry strong{font-weight:550;font-size:12px;line-height:1.5}.screener-entry-icon{display:flex;flex:0 0 22px}.screener-entry-icon svg{width:22px;height:22px}.company-widget:has(.screener-entry){container-type:inline-size}@container(max-width:440px){.screener-entry{grid-template-columns:1fr}.screener-entry a{min-height:60px}}
#screener-view{max-width:1440px;margin:auto;padding:16px 32px;color:var(--text);font:12px/1.5 Inter,Arial,sans-serif}#screener-view button,#screener-view input,#screener-view select,#screener-view textarea,.screener-mode{font:500 12px/1.5 Inter,Arial,sans-serif;padding:6px 10px;border:1px solid var(--border);border-radius:5px;background:var(--surface);color:var(--text);box-sizing:border-box}#screener-view button{cursor:pointer}#screener-view button:disabled{opacity:.45;cursor:default}.screener-mode{text-decoration:none}.screener-mode[aria-current]{background:var(--selected);color:var(--accent-text)}.screener-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 16px}.screener-panel{padding:20px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.screener-hint{font-size:11px;opacity:.7;margin:12px 0}.screener-error{color:var(--text);background:var(--soft);padding:12px;border-radius:6px}.screener-compare-selectors{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.screener-compare-selectors label{display:grid;gap:6px}.screener-compare-selectors input{width:100%;min-width:0}.screener-table-wrap{overflow-x:auto;margin:16px 0}.screener-table-wrap table{border-collapse:collapse;width:100%;min-width:600px;table-layout:auto}.screener-table-wrap th,.screener-table-wrap td{padding:10px 12px;border-bottom:0;text-align:left}.screener-table-wrap th{background:var(--soft);font-weight:500}.screener-table-wrap td.numeric{font:11px Inter,Arial,sans-serif;text-align:right;white-space:nowrap}.screener-table-wrap td small{display:block;font-size:10px;opacity:.65;margin-top:3px}.screener-table-wrap strong{font-weight:500}#screener-view th button{border:0;background:none;padding:0;text-align:left}.screener-filter-group{border:0;padding:12px 0}.screener-filter-group summary{font-weight:550;cursor:pointer}.screener-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 20px;margin-top:16px}.screener-filter-row{display:grid;grid-template-columns:minmax(0,1fr) 65px 65px;gap:6px;align-items:center}.screener-filter-row input{width:100%;min-width:0}.screener-filter-row span{font-size:11px}#screener-view textarea{width:100%;min-height:90px;margin-bottom:10px;resize:vertical}#screener-view .screener-query{font:12px/1.7 Inter,Arial,sans-serif}
@media(max-width:1100px){.screener-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:750px){#screener-view{padding:16px}.screener-panel{padding:12px}.screener-filter-grid,.screener-compare-selectors{grid-template-columns:1fr}}

.chart-heading-trail a{color:inherit;text-decoration:none}.chart-heading-trail a:hover{text-decoration:underline;text-underline-offset:3px}

.screener-company-field{position:relative}.screener-company-options{position:absolute;left:0;right:0;top:calc(100% + 6px);border:1px solid var(--border);border-radius:9px;background:var(--surface);box-shadow:0 12px 30px #00000022;z-index:40;padding:6px;max-height:310px;overflow:auto}#screener-view .screener-company-options button{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 8px;width:100%;border:0;border-radius:5px;text-align:left;font-size:12px;font-weight:400}.screener-company-options button:hover,.screener-company-options button[aria-selected=true]{background:var(--hover)!important;color:var(--accent-text)!important}.screener-company-options small{font-family:var(--font-num);font-size:10px;color:var(--muted);flex-shrink:0}.screener-company-options p{padding:6px 8px;margin:0}

.screener-company-field{display:grid;gap:6px}

.screener-entry-copy{display:grid;gap:4px;min-width:0}.screener-entry-copy small{font-size:11px;line-height:1.5;font-weight:400;color:var(--text)}

.screener-results{margin-top:16px}#screener-view .screener-filter-search{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;background:var(--selected);border-color:var(--border);color:var(--accent-text)}

@container(min-width:441px){.screener-entry:has(a:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}}

.screener-hint-label{cursor:help;text-decoration:underline dotted;text-decoration-color:var(--muted);text-underline-offset:3px}.screener-filter-row select{grid-column:span 2;width:100%;min-width:0}#screener-view .screener-filter-check{display:flex;align-items:center;gap:8px;cursor:pointer;min-height:32px}#screener-view .screener-filter-check input{width:16px;height:16px;padding:0;margin:0;flex:0 0 auto;accent-color:var(--accent-text)}.screener-filter-group .widget-empty{margin:0}

#screener-view .screener-table-wrap:focus-visible,#company-screener .screener-table-wrap:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px;border-radius:4px}

/* Compact research canvas; detailed tables and disclosures retain their own scrolling. */
#screener-view{box-sizing:border-box;max-width:1200px;margin-left:auto;margin-right:auto;padding:14px 24px 28px}
#screener-view{font-variant-numeric:tabular-nums;--pb-num:Inter,Arial,sans-serif}
#screener-view .prism-trail,#screener-view .company-trail,#screener-view .chart-heading-trail{font:400 12px/1.5 Inter,Arial,sans-serif;letter-spacing:0;text-transform:none}
#screener-view .prism-trail a,#screener-view .company-trail a,#screener-view .chart-heading-trail a{font:inherit;letter-spacing:0;text-transform:none}
@media(max-width:640px){#screener-view{padding:12px 16px 24px}}

#screener-view .pb{--pb-num:Inter,Arial,sans-serif;font-variant-numeric:tabular-nums}
#screener-view{--font-num:Inter,Arial,sans-serif}

/* Calm screener (user, 6 Nov: "definitely rework the filters page"): preset chips, one filter bar of chips and pills,
   live results. Cream page / off-white cards come from company.css; popovers use the shared dropdown tokens. */
#screener-view{--scr-ico-bg:#0F2A4A;--scr-ico-ink:#F5EFEB;--scr-chip:color-mix(in srgb,var(--text) 5%,transparent)}
html[data-theme=dark] #screener-view{--scr-ico-bg:#FF7F50}
@media (prefers-color-scheme:dark){html:not([data-theme=light]) #screener-view{--scr-ico-bg:#FF7F50}}
#screener-view .scr-presets{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 12px}
#screener-view .scr-preset{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 6px;border:1px solid var(--border);border-radius:999px;
  background:var(--surface);color:var(--text);font:500 13px/1 Inter,Arial,sans-serif;text-decoration:none;transition:border-color .2s,box-shadow .2s,transform .2s}
#screener-view .scr-preset:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--text) 18%,var(--border));box-shadow:0 6px 16px -8px rgba(16,24,40,.25)}
#screener-view .scr-preset[aria-current]{border-color:color-mix(in srgb,var(--text) 45%,var(--border))}
#screener-view .scr-preset-ico{display:grid;place-items:center;width:24px;height:24px;border-radius:999px;background:var(--scr-ico-bg);color:var(--scr-ico-ink)}
#screener-view .scr-preset-ico svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#screener-view .screener-panel{border-radius:12px;border-color:var(--border)}
#screener-view .scr-bar{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px}
#screener-view .scr-bar input.scr-search{flex:0 1 240px;min-width:160px;height:34px;padding:0 12px;border-radius:999px;font:400 13px Inter,Arial,sans-serif}
#screener-view .scr-chips,#screener-view .scr-pills{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#screener-view .scr-chips{flex:1 1 320px}
#screener-view button.scr-chip{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 6px 0 12px;border:1px solid transparent;border-radius:999px;background:var(--scr-chip);font:400 13px/1 Inter,Arial,sans-serif;color:var(--text)}
#screener-view button.scr-chip:hover{border-color:var(--border)}
#screener-view .scr-chip-k{color:var(--secondary)}
#screener-view .scr-chip-v{font-weight:600;font-variant-numeric:tabular-nums}
#screener-view .scr-chip-x{display:grid;place-items:center;width:22px;height:22px;border-radius:999px;color:var(--muted);font-size:15px}
#screener-view .scr-chip-x:hover{background:color-mix(in srgb,var(--text) 10%,transparent);color:var(--text)}
#screener-view button.scr-add-btn{height:34px;padding:0 14px;border:1px dashed color-mix(in srgb,var(--text) 25%,var(--border));border-radius:999px;background:transparent;font:500 13px Inter,Arial,sans-serif;color:var(--text)}
#screener-view button.scr-add-btn:hover{border-style:solid;background:var(--scr-chip)}
#screener-view .scr-pill{position:relative;display:inline-flex;align-items:center;height:34px;border:1px solid var(--border);border-radius:999px;background:var(--surface)}
#screener-view .scr-pill.scr-on{border-color:color-mix(in srgb,var(--text) 45%,var(--border))}
#screener-view .scr-pill select{height:32px;max-width:190px;padding:0 28px 0 14px;border:0;border-radius:999px;background:transparent;font:500 13px Inter,Arial,sans-serif;color:var(--text);appearance:none;-webkit-appearance:none;cursor:pointer}
#screener-view .scr-pill:not(.scr-toggle)::after{content:'';position:absolute;right:12px;top:50%;width:6px;height:6px;margin-top:-5px;border:solid var(--secondary);border-width:0 1.5px 1.5px 0;transform:rotate(45deg);pointer-events:none}
#screener-view .scr-toggle{gap:8px;padding:0 14px 0 12px;font:500 13px Inter,Arial,sans-serif;cursor:pointer}
#screener-view .scr-toggle input{width:14px;height:14px;margin:0;padding:0;accent-color:var(--text)}
#screener-view button.scr-clear{height:34px;margin-left:auto;padding:0 12px;border:0;background:transparent;font:500 13px Inter,Arial,sans-serif;color:var(--secondary)}
#screener-view button.scr-clear:hover{color:var(--text)}
/* popovers: editor and metric picker */
#screener-view .scr-pop{position:absolute;z-index:30;width:280px;padding:12px;border:1px solid var(--pd-edge,var(--border));border-radius:14px;background:var(--pd-pop,var(--surface));
  box-shadow:var(--pd-shadow,0 12px 30px #0002);animation:scr-pop .16s cubic-bezier(.2,.8,.2,1)}
@keyframes scr-pop{from{opacity:0;transform:translateY(-4px)}}
#screener-view .scr-pop-title{margin:0 0 10px;font:600 13px Inter,Arial,sans-serif;cursor:help}
#screener-view .scr-range{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#screener-view .scr-range input{width:100%;height:34px;box-sizing:border-box;border-radius:9px;font:400 13px Inter,Arial,sans-serif}
#screener-view .scr-pop-acts{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
#screener-view button.scr-btn{height:30px;padding:0 14px;border-radius:999px;font:500 12px Inter,Arial,sans-serif}
#screener-view button.scr-btn-primary{border-color:transparent;background:var(--text);color:var(--surface)}
#screener-view .scr-add{width:320px;padding:8px}
#screener-view .scr-add input{width:100%;height:34px;box-sizing:border-box;margin-bottom:6px;border-radius:9px;font:400 13px Inter,Arial,sans-serif}
#screener-view .scr-add-list{max-height:min(360px,50vh);overflow:auto}
#screener-view .scr-add-group{padding:10px 8px 4px;font:600 11px Inter,Arial,sans-serif;color:var(--muted)}
#screener-view button.scr-add-item{display:block;width:100%;padding:8px 10px;border:0;border-radius:8px;background:transparent;text-align:left;font:400 13px Inter,Arial,sans-serif;color:var(--text)}
#screener-view button.scr-add-item:hover,#screener-view button.scr-add-item:focus-visible{background:var(--pd-row,var(--hover))}
#screener-view .scr-add-none{margin:8px;color:var(--muted)}
/* results */
#screener-view .scr-results{margin-top:12px;padding:16px 16px 8px}
#screener-view .scr-res-head h2{margin:0 0 4px;font:600 14px Inter,Arial,sans-serif}
#screener-view .scr-results .screener-table-wrap{margin:8px 0}
#screener-view .scr-results .screener-table-wrap th{background:transparent;color:var(--secondary);font:500 12px Inter,Arial,sans-serif;border-bottom:1px solid var(--border)}
#screener-view .scr-results .screener-table-wrap td{padding:9px 12px;font-size:13px}
#screener-view .scr-results .screener-table-wrap td.numeric{font:12px var(--font-num,'JetBrains Mono',monospace)}
#screener-view .scr-results .screener-table-wrap tbody tr:hover td{background:var(--scr-chip)}
#screener-view .scr-results td a{color:var(--text);text-decoration:none;font-weight:500}
#screener-view .scr-results td a:hover{text-decoration:underline;text-underline-offset:3px}
#screener-view .scr-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:8px 0;color:var(--secondary)}
@media (max-width:640px){#screener-view .scr-bar input.scr-search{flex:1 1 100%}#screener-view .scr-chips{flex-basis:100%}#screener-view button.scr-clear{margin-left:0}
  #screener-view .scr-presets{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-16px;padding-right:16px}#screener-view .scr-preset{flex:none}}
#screener-view .scr-results .screener-table-wrap td small{display:inline;margin:0 0 0 6px;font-size:11px;color:var(--muted);opacity:1}
/* Ask Spectra strip (user, 8 Nov): one quiet card between the presets and the filters. */
#screener-view .scr-spectra{display:flex;align-items:center;gap:14px;margin:0 0 14px;padding:12px 14px 12px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
html:not([data-theme=dark]) #screener-view .scr-spectra{background:#FAF8F5;border-color:#E3D9CF}
#screener-view .scr-spectra-ico{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:var(--pui-send-bg,#0F2A4A);color:var(--pui-send-ink,#F5EFEB)}
#screener-view .scr-spectra-ico svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#screener-view .scr-spectra-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
#screener-view .scr-spectra-txt strong{font-size:14px;font-weight:600;color:var(--text)}
#screener-view .scr-spectra-txt span{font-size:13px;color:var(--muted)}
#screener-view button.scr-spectra-btn{flex:none;height:34px;padding:0 16px;border:0;border-radius:999px;background:var(--pui-send-bg,#0F2A4A);color:var(--pui-send-ink,#F5EFEB);font:550 13px/1 Inter,Arial,sans-serif;cursor:pointer;transition:transform .12s,filter .12s}
#screener-view button.scr-spectra-btn:hover{filter:brightness(1.15);transform:translateY(-1px)}
#screener-view button.scr-spectra-btn:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}
@media (max-width:640px){#screener-view .scr-spectra{flex-wrap:wrap}#screener-view .scr-spectra-txt{flex-basis:calc(100% - 50px)}#screener-view button.scr-spectra-btn{width:100%}}
