
/* Stock discovery: compact B2B filters within the existing visual system. */
.stock-market-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}
.stock-market-search{margin-bottom:16px}.stock-market-search>label{display:block;margin-bottom:8px}
.catalog-search{display:flex;gap:10px;align-items:center}.catalog-search input{min-width:0;flex:1}
.stock-category-tabs{display:flex;gap:8px;overflow:auto;padding:0 0 18px}.stock-category-tabs a{white-space:nowrap;padding:10px 16px;border:1px solid var(--line,#dfe5ed);border-radius:8px;background:white}
.stock-category-tabs [aria-current=page]{background:#edf2ff;color:#1953e8;border-color:#c8d8ff;font-weight:600}
.stock-filter-aside{position:sticky;top:100px;max-height:calc(100dvh - 120px);overflow:auto;scrollbar-width:thin}
.stock-filter-form{padding:18px}.stock-filter-head,.stock-results-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.stock-filter-head h2{font-size:18px}
.stock-filter-head button{display:none}.filter-group{padding:14px 0;border-bottom:1px solid #dfe5ed}.filter-group>summary{cursor:pointer;font-weight:600;font-size:14px;padding:4px 0}
.filter-options{display:grid;gap:6px;max-height:240px;overflow:auto;margin-top:10px}.filter-choice{display:flex;align-items:center;gap:9px;font-weight:400;min-height:32px;margin:0}
.filter-choice[hidden]{display:none}.filter-choice input{width:16px;height:16px;flex:0 0 16px}.filter-choice small{margin-left:auto;color:#57677f;font-variant-numeric:tabular-nums}
.filter-range{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.filter-range label{font-size:12px}.stock-filter-form input{max-width:100%}
.stock-filter-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;position:sticky;bottom:0;background:white;padding:14px 0 0;border-top:1px solid #dfe5ed;margin-top:16px}
.stock-results-head{margin:0 0 12px}.stock-results-head h2{margin:0;font-size:20px}.stock-results-head button{font-size:12px;padding:9px 12px}
.stock-market-results{min-width:0}.stock-filter-chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.stock-filter-chips a{font-size:12px;padding:6px 10px;background:#edf2ff;color:#173c87;border:1px solid #d4e0f5;border-radius:6px;max-width:100%;overflow-wrap:anywhere}
.stock-results-list{padding-top:0;padding-bottom:0}.stock-row-photo{flex:0 0 150px;width:150px}.stock-row-photo img{width:150px;height:112px;object-fit:contain;background:#f4f6fa;border-radius:7px;display:block}
.stock-line-info{min-width:0;flex:1}.page-stock-market .stock-line{gap:18px}.page-stock-market .stock-price{min-width:128px;max-width:190px}
.catalog-results{display:grid;gap:8px;margin:12px 0}.catalog-candidate{text-align:left;justify-content:flex-start;font-weight:400;line-height:1.5;white-space:normal}
.stock-mobile-tools{display:none}.stock-filter-dialog{border:0;padding:0;max-width:none;max-height:none;width:100%;height:100dvh;margin:0;box-sizing:border-box;background:white;color:#15263d}
.stock-filter-dialog::backdrop{background:rgb(17 35 59 / .4)}.stock-filter-open{overflow:hidden}
[data-stock-more]{padding:20px 0;text-align:center}
@media(max-width:1099px){
.stock-market-layout{display:block}.stock-filter-aside{position:static;display:none}.stock-mobile-tools{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.stock-filter-dialog .stock-filter-form{border:0;border-radius:0;padding:16px 20px calc(20px + env(safe-area-inset-bottom));margin:0}
.stock-filter-dialog .stock-filter-head{position:sticky;top:0;z-index:2;background:white;padding:8px 0 12px;border-bottom:1px solid #dfe5ed}
.stock-filter-head button{display:inline-flex;min-width:44px;min-height:44px;font-size:22px}.stock-filter-dialog .stock-filter-actions{padding:12px 0 calc(8px + env(safe-area-inset-bottom));bottom:0;z-index:2}
.stock-filter-dialog .filter-choice{min-height:44px}.stock-filter-dialog .filter-options{max-height:280px}
.page-stock-market .stock-line{flex-direction:row;flex-wrap:wrap}.stock-row-photo{flex-basis:120px;width:120px}.stock-row-photo img{width:120px;height:100px}.page-stock-market .stock-price{flex-basis:100%;max-width:none;display:flex;justify-content:space-between;align-items:center;text-align:left}
}
@media(max-width:430px){.catalog-search{flex-wrap:wrap}.catalog-search input{flex-basis:100%}.catalog-search button{width:100%}.stock-row-photo{flex-basis:96px;width:96px}.stock-row-photo img{width:96px;height:90px}.page-stock-market .stock-line{gap:12px}.stock-line h3{font-size:16px}.stock-filter-dialog .stock-filter-form{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){.stock-filter-dialog *{scroll-behavior:auto}}

.stock-market-destination{min-width:0;margin:12px 0;padding:12px 0;border:0;border-block:1px solid var(--line)}
.stock-market-destination legend{padding:0;font-weight:650}
.stock-market-destination .check{margin:8px 0 0;line-height:1.35}
.stock-destination-options .filter-options{max-height:280px;padding-inline-end:6px}
.stock-destination-group-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;padding:8px 0;border-bottom:1px solid var(--line)}
.stock-destination-options [data-destination-group]+[data-destination-group]{margin-top:8px}
.stock-destination-display{margin-block:12px}
.stock-destination-display h3{font-size:1rem;margin:0 0 6px}
.stock-destination-display p{margin:6px 0;overflow-wrap:anywhere}
.stock-destination-status{display:block;font-size:.875rem;font-weight:650;color:var(--muted);margin:6px 0}
.stock-destination-status[data-status=match]{color:#176348}
.stock-seo-links{display:flex;gap:8px 24px;flex-wrap:wrap;margin:12px 0;padding:8px 16px}
.stock-seo-links details[open]{flex-basis:100%}
.stock-seo-links summary{cursor:pointer;min-height:44px;align-content:center;font-weight:600}
.stock-seo-links .actions{margin:8px 0;gap:8px 16px}
@media(max-width:760px){.stock-destination-options .filter-choice{min-height:44px}}
