.layout:has(>.screener-full){max-width:none}.screener-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--line-soft)}.screener-toolbar .spacer{flex:1 1}.market-tabs{display:inline-flex;gap:2px;background:var(--surface-2);border:1px solid var(--line);border-radius:9px;padding:3px}.market-tabs button{border:0;background:transparent;padding:5px 10px;border-radius:7px;font-weight:600;color:var(--muted);cursor:pointer;font-size:12.5px;white-space:nowrap;display:inline-flex;gap:5px;align-items:center}.market-tabs button.active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.market-tabs button.custom{color:var(--brand)}.screener-filterbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 12px;border-bottom:1px solid var(--line-soft);font-size:12.5px}.screener-filterbar .describe{margin-left:auto;display:flex;gap:6px;align-items:center}.screener-filterbar .describe input{width:min(320px,60vw);padding:6px 9px;font-size:12.5px;border-radius:8px}.filter-chip{display:inline-flex;align-items:center;gap:6px;background:var(--brand-soft);color:var(--brand);border:1px solid transparent;padding:4px 6px 4px 10px;border-radius:999px;font-size:12.5px;font-weight:650;cursor:pointer}.filter-chip .x{border:0;background:transparent;color:inherit;font-weight:800;cursor:pointer;padding:0 2px;line-height:1;font-size:14px}.screener-pop{position:absolute;top:100%;left:8px;right:8px;z-index:70;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 40px rgba(13,23,38,.16);padding:4px 14px 12px;max-height:min(70vh,760px);overflow:auto}.screener-pop .slide-down{max-height:none;overflow:visible}.screener-pop form{border-top:0!important;margin-top:0!important;padding-top:0!important}.screener-table td{padding:6px 10px}.screener-table th{padding:7px 10px}.screener-table .tk i{width:24px;height:24px;font-size:9.5px}.screener-name{display:flex;align-items:center;gap:6px;min-width:0}.screener-name .nm{color:var(--muted);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}.screener-name .pill{font-size:10px;padding:0 6px;line-height:1.5}.screener-name .flag{font-size:12px}.screener-table td{white-space:nowrap}.screener-table tr[data-stock-key]{cursor:pointer}.screener-table tr.selected td{background:var(--brand-soft)}.screener-table tr:focus-visible td{outline:2px solid var(--brand);outline-offset:-2px}.screener-strip{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 16px;border-bottom:1px solid var(--line-soft);font-size:11.5px}.screener-strip.alt{background:var(--surface-2)}.compare-bar{position:fixed;left:50%;bottom:76px;transform:translateX(-50%);z-index:95;display:flex;gap:8px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:6px 8px 6px 12px;box-shadow:0 10px 30px rgba(13,23,38,.18);max-width:min(92vw,900px);flex-wrap:wrap;justify-content:center}.ideas-rule{background:var(--surface-2);border-radius:7px;padding:6px 9px;color:var(--ink-2);font-size:11.5px}.cmp-best{font-weight:800;color:var(--up)}.cmp-group td{background:var(--surface-2)}@media(max-width:1100px){.compare-bar{bottom:70px}.screener-name .nm{max-width:140px}}@media(max-width:820px){.screener-filterbar .describe{margin-left:0;width:100%}.screener-filterbar .describe input{width:100%}.screener-pop{left:0;right:0}.market-tabs{flex-wrap:wrap}}@media(max-width:700px){.screener-table .screener-company{max-width:none;min-width:150px;white-space:nowrap}.screener-name{flex-wrap:wrap;gap:4px}.screener-name .nm{display:none}}.screener-scroll{position:relative;overflow:auto;min-height:480px;max-height:calc(100dvh - 180px);overscroll-behavior:contain}.screener-scroll .screener-table{overflow:visible}.screener-scroll thead th{position:-webkit-sticky;position:sticky;top:0;z-index:3;background:var(--surface);box-shadow:inset 0 -1px var(--line)}.screener-scroll thead th:first-child{left:0;z-index:4}.screener-scroll .screener-table .screener-company{z-index:2}.screener-tail{padding:10px 16px;font-size:12px;color:var(--muted)}@media(max-width:700px){.screener-scroll{min-height:360px;max-height:calc(100dvh - 140px)}}