.entity-table-tools{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:16px 0 10px}.entity-table-tools label,.entity-table-pages label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted,#696366)}.entity-search{flex:1;min-width:220px;max-width:480px}.entity-table-tools input,.entity-table-tools select,.entity-table-pages select{min-height:40px;font:inherit;color:var(--ink,#343434);background:#fff;border:1px solid var(--control,#8f8581);border-radius:8px;padding:8px 10px}.entity-table-tools input[type=search]{width:100%}.entity-table-tools button,.entity-table-pages button,.entity-data-table button,.entity-columns summary{min-height:40px;padding:8px 12px;border:1px solid var(--border,#e5dcda);border-radius:8px;background:#fff;color:var(--action,#c43214);font:inherit;font-size:13px;cursor:pointer;transition:background 150ms,color 150ms}.entity-table-tools button:hover,.entity-table-pages button:hover,.entity-data-table button:hover,.entity-columns summary:hover{background:var(--selected,#fff0eb)}.entity-table-tools button:active,.entity-data-table button:active,.entity-table-pages button:active{transform:translateY(1px)}.entity-table-tools :focus-visible,.entity-table-pages :focus-visible,.entity-data-table :focus-visible,.entity-table-scroll:focus-visible{outline:2px solid var(--action,#c43214);outline-offset:2px}.entity-table-pages button:disabled{opacity:.45;cursor:default;transform:none}.entity-result-count{font-size:13px;color:var(--muted,#696366);margin-bottom:10px}.entity-table-scroll{overflow:auto;border:1px solid var(--border,#e5dcda);border-radius:8px;max-height:calc(100dvh - 320px);min-height:180px;scroll-padding-top:52px}.entity-data-table{border-collapse:separate!important;border-spacing:0!important;width:100%;min-width:960px!important;table-layout:auto!important}.entity-data-table th{position:sticky;top:0;z-index:1;background:var(--canvas,#f5f3f2);border-bottom:1px solid var(--border,#e5dcda);text-align:left;padding:0!important}.entity-data-table th button{border:0;background:transparent;color:var(--ink,#343434);font-weight:600;width:100%;text-align:left;border-radius:0;white-space:nowrap;min-height:48px}.entity-data-table td{padding:10px 12px!important;border-bottom:1px solid var(--border,#e5dcda);vertical-align:middle;font-size:13px;line-height:1.5;min-width:0!important}.entity-data-table tr:hover td{background:var(--selected,#fff0eb)}.entity-data-table .entity-name-cell{min-width:280px!important;max-width:390px}.entity-data-table .entity-scope-cell{min-width:240px!important;max-width:400px}.entity-cell-identity{display:flex;align-items:center;gap:12px}.entity-cell-identity img{width:52px;height:44px;object-fit:contain;background:#fff;border:1px solid var(--border,#e5dcda);border-radius:6px}.entity-cell-identity strong,.entity-cell-identity small{display:block}.entity-cell-identity small{font-size:12px;color:var(--muted,#696366);margin-top:4px}.entity-table-pages{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:12px;flex-wrap:wrap;font-size:13px}.entity-table-pages label{flex-direction:row;align-items:center;margin-right:auto}.entity-columns{position:relative}.entity-columns summary{list-style:none}.entity-columns>div{position:absolute;right:0;top:44px;z-index:5;min-width:210px;padding:12px;background:white;border:1px solid var(--border,#e5dcda);border-radius:8px;box-shadow:0 4px 16px #783f2420}.entity-columns>div label{flex-direction:row;align-items:center;min-height:36px}.entity-columns input[type=checkbox]{width:18px;min-height:18px;height:18px}.entity-empty{padding:32px;text-align:center;color:var(--muted,#696366)}
@media(max-width:650px){.entity-search{min-width:100%;max-width:none}.entity-table-tools{gap:8px}.entity-table-tools input,.entity-table-tools select,.entity-table-tools button,.entity-table-pages button{min-height:44px}.entity-table-scroll{max-height:calc(100dvh - 400px)}.entity-table-pages{gap:8px}}
@media(prefers-reduced-motion:reduce){.entity-table-tools *,.entity-table-pages *,.entity-data-table *{transition:none!important}}
.entity-data-table a{white-space:nowrap}.entity-scope-text{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.entity-extraction{display:block;font-size:12px;color:var(--muted,#696366);margin-top:4px}.entity-data-table .entity-cell-identity small:last-child{line-height:1.3}
.entity-tag{display:inline-flex;align-items:center;white-space:nowrap;border-radius:5px;padding:3px 7px;font-size:12px;font-weight:600;line-height:1.5;margin:2px 4px 2px 0;color:var(--muted,#696366);background:#f0edea}.entity-tag--brand{color:var(--action,#c43214);background:var(--selected,#fff0eb)}.entity-tag--success{color:#18734a;background:#ebf6ef}.entity-tag--warning{color:#8a5200;background:#fff4df}.entity-tag--info{color:#245b80;background:#edf5fb}.entity-tag-list{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0 16px}.entity-review-help{border:1px solid var(--border,#e5dcda);border-radius:8px;margin:12px 0;padding:10px 12px;font-size:13px;line-height:1.6}.entity-review-help summary{cursor:pointer;color:var(--action,#c43214);font-weight:600;min-height:28px;transition:color 150ms}.entity-review-help summary:hover{color:var(--ink,#343434)}.entity-review-help summary:active{opacity:.8}.entity-review-help summary:focus-visible{outline:2px solid var(--action,#c43214);outline-offset:3px}.entity-review-help dl{display:grid;grid-template-columns:auto 1fr;gap:8px 12px}.entity-review-help dd{margin:0}.entity-review-help li{margin:10px 0}.entity-review-help small{display:block;color:var(--muted,#696366)}.entity-research{margin-top:20px;border-top:1px solid var(--border,#e5dcda);padding-top:12px}.entity-research h4{margin:12px 0 4px}.entity-research p{margin:4px 0 10px;line-height:1.6}.entity-research .directory-company-grid{gap:8px 28px}.entity-review-help a{overflow-wrap:anywhere}@media(prefers-reduced-motion:reduce){.entity-review-help summary{transition:none}}@media(max-width:650px){.entity-review-help summary{min-height:44px;display:flex;align-items:center}}

.entity-table-tools[hidden]{display:none}

.entity-table-tools .entity-filter-switch{flex:1 0 100%;min-width:0;border-bottom:1px solid var(--border,#e5dcda);padding-bottom:12px}.entity-filter-switch .choice-group{margin:0}.entity-filter-switch .choice-options label{flex-direction:initial;gap:0}.entity-filter-switch .choice-option input{width:1px;min-height:0;height:1px;padding:0;border:0}.entity-filter-switch .choice-option>span{min-height:40px}.entity-filter-switch .choice-options{gap:7px}

.entity-filter-fields{display:contents}.entity-filter-toggle{display:none}
[data-density="compact"]{--table-control-height:32px;--table-gap:6px}
[data-density="compact"] .entity-table-tools{gap:var(--table-gap) 10px;margin:8px 0 6px;align-items:center}
[data-density="compact"] .entity-table-tools>.entity-search{min-width:180px;max-width:360px;flex:1 1 240px}
[data-density="compact"] .entity-table-tools label{flex-direction:row;align-items:center;gap:6px;white-space:nowrap}
[data-density="compact"] .entity-filter-fields{display:flex;flex:1 0 100%;flex-wrap:wrap;gap:6px 12px;align-items:center;order:2;padding:6px 0;border-top:1px solid var(--border,#e5dcda);border-bottom:1px solid var(--border,#e5dcda)}
[data-density="compact"] .entity-table-tools .entity-filter-switch{flex:0 1 auto;border:0;padding:0;max-width:100%}
[data-density="compact"] .entity-filter-switch .choice-group{display:flex;align-items:center;gap:6px}
[data-density="compact"] .entity-filter-switch .choice-group legend{float:left;margin:0 6px 0 0;padding:0;line-height:var(--table-control-height);font-weight:500}
[data-density="compact"] .entity-filter-switch .choice-options{gap:4px}
[data-density="compact"] .choice-option>span{min-height:var(--table-control-height);padding:4px 7px;gap:5px;font-size:12px;border-radius:5px}
[data-density="compact"] .choice-option strong{font-size:12px}
[data-density="compact"] .entity-table-tools input:not([type=checkbox]),[data-density="compact"] .entity-table-tools select,[data-density="compact"] .entity-table-tools button,[data-density="compact"] .entity-columns summary{min-height:var(--table-control-height);padding:5px 8px;font-size:12px}
[data-density="compact"] .entity-result-count{margin:4px 0;font-size:12px}
[data-density="compact"] .entity-data-table td{padding:7px 10px!important;line-height:1.35}
[data-density="compact"] .entity-data-table th button{min-height:36px;font-size:12px}
[data-density="compact"] .entity-cell-identity{gap:8px}
[data-density="compact"] .entity-cell-identity img{width:40px;height:36px}
[data-density="compact"] .entity-cell-identity small{margin-top:2px}
[data-density="compact"] .entity-data-table tr>td:last-child,[data-density="compact"] .entity-data-table tr>th:last-child{position:sticky;right:0;background:#fff;border-left:1px solid var(--border,#e5dcda);z-index:2}
[data-density="compact"] .entity-data-table tr>th:last-child{background:var(--canvas,#f5f3f2);z-index:3}
[data-density="compact"] .entity-data-table .entity-action-row{margin:0;gap:4px;flex-wrap:nowrap}
[data-density="compact"] .entity-data-table tr>td:last-child>button{margin-top:4px;min-height:30px;padding:4px 8px}
@media(max-width:650px){
 [data-density="compact"]{--table-control-height:44px}
 [data-density="compact"] .entity-filter-toggle{display:inline-flex;align-items:center}
 [data-density="compact"] .entity-table-tools>.entity-search{min-width:0;max-width:none;flex:1 1 160px}
 [data-density="compact"] .entity-table-tools>.entity-search{font-size:0}
 [data-density="compact"] .entity-filter-fields{display:none}
 [data-density="compact"] .entity-filters-open .entity-filter-fields{display:flex}
 [data-density="compact"] .entity-filter-switch .choice-group{display:block}
 [data-density="compact"] .entity-filter-switch .choice-group legend{float:none;line-height:1.4;margin-bottom:4px}
 [data-density="compact"] .entity-table-scroll{max-height:60dvh!important}
}

[data-density="compact"] .entity-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:226px;white-space:nowrap}
[data-density="compact"] .entity-row-actions .entity-action-row{display:flex;align-items:center;gap:4px;margin:0;flex-wrap:nowrap}
[data-density="compact"] .entity-row-actions button,[data-density="compact"] .entity-row-actions a{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:32px;padding:5px 7px;border:1px solid var(--border,#e5dcda);border-radius:5px;font-size:12px;white-space:nowrap;line-height:1.3;text-decoration:none}
[data-density="compact"] .entity-row-actions svg{width:16px;height:16px;flex-shrink:0}
[data-density="compact"] .entity-columns{margin:0}
[data-density="compact"] .entity-columns summary{line-height:20px}
@media(max-width:650px){[data-density="compact"] .entity-row-actions button,[data-density="compact"] .entity-row-actions a{min-height:44px}}

.entity-row-more{display:none}
@media(max-width:650px){
 [data-density="compact"] .entity-row-actions{min-width:102px;gap:4px}
 [data-density="compact"] .entity-primary-actions{display:none}
 [data-density="compact"] .entity-row-more{display:block;position:relative;margin:0}
 [data-density="compact"] .entity-row-more>summary{list-style:none;display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid var(--border,#e5dcda);border-radius:5px;color:var(--action,#c43214);cursor:pointer}
 [data-density="compact"] .entity-row-more>div{position:absolute;right:0;top:48px;z-index:5;background:#fff;padding:8px;border:1px solid var(--border,#e5dcda);border-radius:7px;box-shadow:0 4px 14px #34343426}
 [data-density="compact"] .entity-row-more>summary:hover{background:var(--selected,#fff0eb)}
 [data-density="compact"] .entity-row-more>summary:focus-visible{outline:2px solid var(--action,#c43214);outline-offset:2px}
 [data-density="compact"] .entity-table-tools:not(.entity-filters-open)>.entity-columns,[data-density="compact"] .entity-table-tools:not(.entity-filters-open)>[data-et-export]{display:none}
}

.entity-data-table th[aria-sort="ascending"] button,.entity-data-table th[aria-sort="descending"] button{color:var(--action,#c43214)!important}
.action-popover{position:fixed;inset:auto;margin:0;padding:5px;min-width:165px;border:1px solid var(--border,#e5dcda);border-radius:8px;background:white;box-shadow:0 6px 22px #34343426;color:var(--ink,#343434);z-index:3000}
.action-popover button{display:block;width:100%;text-align:left;min-height:38px;padding:7px 10px;border:0;border-radius:5px;background:white;color:inherit;font:13px/1.4 Arial;cursor:pointer;transition:background 150ms}
.action-popover button:hover,.action-popover button:focus-visible{background:var(--selected,#fff0eb);color:var(--action,#c43214);outline:2px solid var(--action,#c43214);outline-offset:-2px}
/* Configured two-row tools share the compact table, with no extra filter stacks. */
[data-filter-layout="two-row"] .entity-table-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:0}
[data-filter-layout="two-row"] .entity-table-tools>.entity-search{min-width:130px;max-width:380px;flex:1 1 180px}
[data-filter-layout="two-row"] .entity-filter-fields{order:2;flex:1 0 100%;flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:6px 0;margin:0;gap:10px}
[data-filter-layout="two-row"] .entity-filter-fields>.entity-filter-switch{flex:0 0 auto;max-width:none}
[data-filter-layout="two-row"] .entity-filter-fields .choice-options{flex-wrap:nowrap;overflow:visible;white-space:nowrap}
[data-filter-layout="two-row"] .entity-filter-fields .choice-group{flex-wrap:nowrap}
[data-filter-layout="two-row"] .delisted-filter{padding:4px 7px;min-height:32px;margin:0;font-size:12px;display:inline-flex;flex-direction:row;gap:4px}
[data-filter-layout="two-row"] .delisted-filter input{width:14px;height:14px;min-height:14px}
[data-filter-layout="two-row"] .delisted-filter span{display:flex;gap:4px;align-items:center}
@media(max-width:650px){[data-filter-layout="two-row"] .entity-table-tools>.entity-search{max-width:none;min-width:130px;flex:1 1 150px}[data-filter-layout="two-row"] .entity-table-tools:not(.entity-filters-open)>.delisted-filter,[data-filter-layout="two-row"] .entity-table-tools:not(.entity-filters-open)>[data-et-reset]{display:none}[data-filter-layout="two-row"] .entity-table-tools:not(.entity-filters-open)>.entity-filter-fields{display:none}[data-filter-layout="two-row"] .entity-filter-fields{display:flex;flex-direction:row;flex-wrap:nowrap}[data-filter-layout="two-row"] .entity-filter-fields .choice-group{display:flex}[data-filter-layout="two-row"] .entity-table-tools .choice-option>span{min-height:44px}}

/* Compact list is a density variant of the shared table, including search and paging. */
[data-table-layout="compact-list"] .entity-table-scroll{border:0;border-radius:0;max-height:none!important;min-height:0;overflow:visible}
[data-table-layout="compact-list"] .entity-data-table{display:block;min-width:0!important;width:100%!important}
[data-table-layout="compact-list"] .entity-data-table thead{display:none}
[data-table-layout="compact-list"] .entity-data-table tbody{display:block}
[data-table-layout="compact-list"] .entity-data-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid var(--border)}
[data-table-layout="compact-list"] .entity-data-table td{display:block;border:0!important;padding:0!important;position:static!important;min-width:0!important;max-width:none!important;width:auto!important;background:transparent!important}
[data-table-layout="compact-list"] .entity-cell-identity{gap:8px;align-items:flex-start}
[data-table-layout="compact-list"] .entity-cell-identity img{flex:0 0 38px;width:38px;height:34px;margin-top:2px}
[data-table-layout="compact-list"] .entity-cell-identity>div{min-width:0}
[data-table-layout="compact-list"] .entity-cell-identity strong{font-size:13px;line-height:1.45;overflow-wrap:anywhere}
[data-table-layout="compact-list"] .entity-cell-identity small{font-size:11px;line-height:1.4;color:var(--muted)}
[data-table-layout="compact-list"] .entity-cell-identity small:last-child{display:none}
.entity-location-tag{display:inline-flex;align-items:center;gap:4px;margin:5px 0 0 46px;padding:2px 5px;border-radius:4px;color:var(--action);background:var(--selected);font-size:11px;font-weight:600}.entity-location-tag svg{width:13px;height:13px}
[data-table-layout="compact-list"] .entity-row-actions{display:grid;grid-template-columns:auto auto;min-width:0;gap:4px}
[data-table-layout="compact-list"] .entity-row-actions .entity-action-row{display:contents}
[data-table-layout="compact-list"] .entity-row-actions button[data-entity-action]{grid-column:1;grid-row:1}
[data-table-layout="compact-list"] .entity-row-actions button[data-et-open]{grid-column:2;grid-row:1}
[data-table-layout="compact-list"] .entity-row-actions a,[data-table-layout="compact-list"] .entity-row-actions button[disabled]{min-width:32px;justify-self:end}
[data-table-layout="compact-list"] .entity-table-pages{gap:6px;font-size:11px;margin-top:8px}
[data-table-layout="compact-list"] .entity-table-pages button,[data-table-layout="compact-list"] .entity-table-pages select{min-height:32px;padding:4px 7px}
@container(max-width:430px){[data-table-layout="compact-list"] .entity-data-table tr{grid-template-columns:1fr;padding:10px 0;gap:7px}[data-table-layout="compact-list"] .entity-row-actions{display:flex;justify-content:flex-start;margin-left:46px;flex-wrap:wrap}[data-table-layout="compact-list"] .entity-row-actions .entity-action-row{display:contents}[data-table-layout="compact-list"] .entity-row-actions button,[data-table-layout="compact-list"] .entity-row-actions a{min-height:44px}[data-table-layout="compact-list"] .entity-table-pages{justify-content:space-between}}

[data-table-layout="compact-list"] .entity-row-actions{display:flex;flex-wrap:nowrap;gap:4px}[data-table-layout="compact-list"] .entity-row-actions button[data-entity-action]{order:0}[data-table-layout="compact-list"] .entity-row-actions button[data-et-open]{order:1}[data-table-layout="compact-list"] .entity-row-actions a,[data-table-layout="compact-list"] .entity-row-actions button[disabled]{order:2}@container(max-width:430px){[data-table-layout="compact-list"] .entity-row-actions{flex-wrap:wrap}}

.entity-data-table.entity-table-resizable{table-layout:fixed!important;width:max-content;min-width:100%!important}.entity-data-table.entity-table-resizable col[data-column-key]{width:var(--et-col-width,auto)}.entity-data-table.entity-table-resizable th{position:relative}.entity-table-resizable .table-resize-handle{position:absolute;right:0;top:0;bottom:0;width:14px;cursor:col-resize;touch-action:none;z-index:8;border-right:2px solid transparent}.entity-table-resizable .table-resize-handle:hover,.entity-table-resizable .table-resize-handle:focus-visible{border-right-color:var(--action,#c43214);background:#d4341412}.entity-table-resizable.is-resizing-columns{user-select:none;cursor:col-resize}.entity-table-resizable.is-resizing-columns *{cursor:col-resize!important}

.entity-data-table.entity-table-resizable{min-width:0!important}.entity-data-table.entity-table-resizable th,.entity-data-table.entity-table-resizable td{min-width:0!important;max-width:none;overflow:hidden;overflow-wrap:anywhere}.entity-data-table.entity-table-resizable th{overflow:visible}.entity-data-table.entity-table-resizable th:after{content:"";position:absolute;right:0;top:20%;height:60%;border-right:1px solid var(--border,#e5dcda);pointer-events:none}.is-resizing-columns,.is-resizing-columns *{user-select:none;cursor:col-resize!important}.entity-table-resizable .table-resize-handle:focus-visible{outline:2px solid var(--action,#c43214);outline-offset:-2px}.entity-table-resizable .table-resize-handle{transition:background .15s,border-color .15s}.entity-table-resizable .table-resize-handle:active{background:var(--selected,#fff0eb)}
.entity-group-by{min-width:130px}.entity-data-table tbody .entity-group-header th{position:relative;top:auto;z-index:auto;padding:0!important;background:var(--canvas,#f5f3f2);border-bottom:1px solid var(--border,#e5dcda)}.entity-group-toggle{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:8px 12px;border:0;background:transparent;color:var(--ink,#343434);font:inherit;font-size:13px;font-weight:600;text-align:left;cursor:pointer}.entity-group-toggle:hover{background:var(--selected,#fff0eb)}.entity-group-toggle:focus-visible{outline:2px solid var(--action,#c43214);outline-offset:-2px}.entity-group-count{margin-left:auto;font-size:12px;font-weight:400;color:var(--muted,#696366);white-space:nowrap}.entity-card-group h3{margin:0}.entity-card-group-rows{display:grid;gap:12px;margin-top:8px}.entity-card-group-rows[hidden]{display:none}
@media(max-width:650px){.entity-group-by{flex:1;min-width:calc(50% - 8px)}.entity-group-by select{width:100%}.entity-group-toggle{min-height:44px;gap:8px;padding-inline:10px}.entity-group-count{font-size:11px}}
.entity-data-table .entity-group-toggle{min-height:42px;font-weight:600;white-space:normal}
