.directory-view-toggle{display:inline-flex;gap:2px;padding:2px;background:var(--soft);border-radius:6px;flex-shrink:0}
.directory-view-toggle button{display:grid;place-items:center;width:28px;height:28px;border-radius:4px;color:var(--muted)}
.directory-view-toggle button:hover{color:var(--ink)}
.directory-view-toggle button[aria-pressed=true]{color:var(--ink);background:var(--paper);box-shadow:0 1px 3px #0000000c}
.directory-view-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.3}
.directory-view-toggle button:focus-visible,.directory-table button:focus-visible,.directory-table-scroll:focus-visible{outline:2px solid var(--muted);outline-offset:2px}
.directory-table-scroll{max-width:100%;overflow:auto;scrollbar-width:thin;border-block:1px solid var(--line)}
.directory-table{width:100%;min-width:740px;border-collapse:collapse;text-align:left;font-size:12px;line-height:1.45}
.directory-table thead th{padding:10px 14px;color:var(--muted);font-size:11px;font-weight:400;white-space:nowrap;border-bottom:1px solid var(--line);background:var(--paper)}
.directory-table tbody :is(td,th){padding:10px 14px;border-bottom:1px solid var(--line);vertical-align:middle;font-weight:400;max-width:270px;overflow-wrap:anywhere}
.directory-table tbody tr:last-child :is(td,th){border-bottom:0}
.directory-table tbody tr:hover{background:var(--soft)}
.directory-table :is(td,th):first-child{padding-left:0;min-width:200px;width:24%}
.directory-table :is(td,th):last-child{padding-right:0}
.directory-identity{display:flex;align-items:center;gap:10px;width:100%;text-align:left;min-width:0;font-size:13px;font-weight:500;color:var(--ink)}
.directory-identity>span{min-width:0;overflow-wrap:anywhere}
.directory-product-image{width:64px;height:36px;aspect-ratio:16/9;object-fit:contain;border-radius:4px;flex-shrink:0}
.directory-table .entity-pill{padding:0;border:0;background:transparent;min-height:28px;gap:7px;text-align:left;font-size:12px}
.directory-missing{color:var(--muted)}
@media(max-width:760px){.directory-view-toggle button{width:34px;height:34px}.directory-table tbody :is(th,td){padding-block:12px}.directory-table :is(th,td):first-child{padding-left:8px}.directory-table :is(th,td):last-child{padding-right:8px}}

.directory-products-table{table-layout:fixed;min-width:960px}
.directory-products-table :is(td,th):nth-child(1){width:23%}
.directory-products-table :is(td,th):nth-child(2){width:18%}
.directory-products-table :is(td,th):nth-child(3){width:14%}
.directory-products-table :is(td,th):nth-child(4){width:12%}
.directory-products-table :is(td,th):nth-child(5){width:12%}
.directory-products-table :is(td,th):nth-child(6){width:21%}
.directory-specs{display:block;width:100%;text-align:left;padding:0;color:var(--ink);font:inherit;line-height:inherit}
.directory-products-table thead .ui-select{width:auto;max-width:100%}
.directory-products-table thead .ui-select-trigger,.directory-spec-select{height:28px;min-height:28px;padding:0;gap:10px;background:transparent;border:0;border-radius:0;color:var(--muted);font-size:11px;font-weight:400;box-shadow:none}
.directory-products-table thead .ui-select-trigger:hover,.directory-products-table thead .ui-select-trigger[aria-expanded=true]{background:transparent;color:var(--ink)}
.directory-spec-value{font-variant-numeric:tabular-nums;overflow-wrap:normal}
.directory-specs:hover .directory-spec-value{text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line)}

/* Investor lists stay compact; complete facets remain available by disclosure. */
.directory-list-detail summary{display:flex;gap:8px;align-items:baseline;cursor:pointer;list-style:none;font-size:12px;line-height:1.5}
.directory-list-detail summary::-webkit-details-marker{display:none}
.directory-list-detail summary>span{flex-shrink:0;color:var(--muted);font-size:11px}
.directory-list-detail>div{margin-top:8px;color:var(--muted);line-height:1.65}
.directory-investors-table{table-layout:fixed}
.directory-investors-table tbody :is(th,td){height:58px}
.directory-investors-table :is(th,td):last-child{width:130px;text-align:right;font-variant-numeric:tabular-nums}
.investor-analytics{border-block:1px solid var(--line);margin:0 0 18px}
.investor-analytics>summary{display:flex;gap:16px;align-items:center;list-style:none;cursor:pointer;padding:12px 0;font-size:12px}
.investor-analytics>summary::-webkit-details-marker{display:none}
.investor-analytics-summary{color:var(--muted);font-size:11px}
.investor-analytics-action{margin-left:auto;color:var(--muted)}
.investor-analytics[open] .investor-analytics-action{transform:rotate(45deg)}
.investor-analytics .analytics-grid{margin:14px 0 0}
@media(max-width:760px){
 .directory-investors-table{min-width:0;display:block}
 .directory-investors-table thead{display:none}
 .directory-investors-table tbody{display:block}
 .directory-investors-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:12px 0;border-bottom:1px solid var(--line);gap:6px 12px}
 .directory-investors-table tbody :is(th,td){height:auto;max-width:none;min-width:0;width:auto!important;padding:0!important;border:0}
 .directory-investors-table tbody th{grid-column:1;grid-row:1}
 .directory-investors-table tbody td:nth-child(2),.directory-investors-table tbody td:nth-child(3){grid-column:1/-1;color:var(--muted)}
 .directory-investors-table tbody td:last-child{grid-column:2;grid-row:1;align-self:center}
 .directory-investors-table tbody td:last-child:after{content:' companies';color:var(--muted);font-size:10px}
 .investor-analytics>summary{gap:10px}
 .investor-analytics .analytics-grid{grid-template-columns:1fr}
}

.directory-investors-table .directory-identity{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;width:100%;text-align:left}.directory-investors-table .directory-identity>span:last-child{grid-column:2}
