/* Research home: compact defaults, hidden extras, and a search-to-table flow. */
.research-options{margin:8px 0 10px;border:1px solid #454545;background:#000000;color:#F1F1F1}
.research-options>summary{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;padding:9px 11px;color:#1D89F8;cursor:pointer;list-style:none;font:13px/1.4 var(--sans)}
.research-options>summary::-webkit-details-marker,.research-more-options>summary::-webkit-details-marker{display:none}
.research-options>summary:before{content:'+';display:inline-grid;place-items:center;width:18px;height:18px;border:1px solid #454545;color:#1D89F8;font:14px/1 var(--sans)}
.research-options[open]>summary:before{content:'−'}
.research-options>summary strong{font-weight:600}
.research-options>summary span{color:#F1F1F1;font-size:11px}
.research-options-body{display:grid;gap:9px;padding:10px 11px 12px;border-top:1px solid #454545}
.research-option-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.research-options .research-addon-group{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0;margin:0;padding:8px;border:1px solid #454545;background:#000000;color:#F1F1F1}
.research-options .research-addon-group legend{padding:0 5px;color:#1D89F8;font:600 11px/1.4 var(--sans)}
.research-options .research-addon-group small{flex-basis:100%;color:#F1F1F1;font:11px/1.45 var(--sans)}
.research-options .research-family-shortcuts{margin:0;padding:8px;border:1px solid #454545;background:#000000}
.research-options .research-family-shortcuts>span{color:#1D89F8;font:600 11px/1.4 var(--sans)}
.research-options .research-family-shortcuts>span:not(:first-child){margin-left:10px}
.research-options button{padding:6px 9px;border:1px solid #454545;background:#000000;color:#1D89F8;font:12px/1.35 var(--sans);cursor:pointer}
.research-options button:hover,.research-options button:focus-visible{border-color:#1D89F8;color:#F1F1F1}
.research-options .research-more-options{border-top:1px solid #454545;padding-top:8px}
.research-more-options>summary{color:#F1F1F1;cursor:pointer;font:12px/1.4 var(--sans);list-style:none}
.research-more-options>summary:before{content:'+';color:#1D89F8;margin-right:8px}
.research-more-options[open]>summary:before{content:'−'}
.research-more-options>.research-option-row{padding-top:8px}
.research-options .research-family-shortcuts{margin:0;padding:0;border:0;background:none}
.research-options .research-family-shortcuts>span{color:#F1F1F1}
.research-options .research-view-tools{margin:0;padding:8px;border:1px solid #454545;background:#000000}
.research-options .research-view-tools>label{color:#F1F1F1;font-size:12px}
.research-options .research-collections{margin:0;padding-top:8px;border-top:1px solid #454545}
.research-options .research-date-source-note{color:#F1F1F1}
.research-chips:empty{display:none}
.research-chips:not(:empty){margin:0 0 7px}
.research-command{margin:0 0 7px}
.research-results-bar{display:flex;justify-content:flex-start;align-items:center;margin:0 0 8px;padding:0;border:0;background:transparent}
.research-result-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.research-result-actions button{min-height:32px}
.research-result-actions [data-research-compare]{color:#15C03E;border-color:#15C03E}
.research-bottom{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap;padding:8px 2px;color:#F1F1F1;font:11px/1.4 var(--sans)}
.research-bottom .research-count{color:#F1F1F1}
.research-bottom .research-status{color:#1D89F8}
.research-table .research-person-head,.research-table tbody td:first-child{width:180px!important;min-width:180px!important;max-width:180px!important;text-align:left}
.research-table .research-person{max-width:164px}
.research-table .research-evidence{max-width:164px}
.research-match-details{margin-top:4px}
.research-match-details>summary{color:#B9B9B9;cursor:pointer;font-size:12px;line-height:1.5;padding-block:4px}
.research-match-details>summary:hover{color:#F1F1F1}
.research-match-details>.research-evidence{max-height:12rem;overflow:auto;overflow-wrap:anywhere}
.research-table .research-date-head{width:76px!important;min-width:76px!important;max-width:76px!important}
.research-table .research-date-group{width:auto!important;min-width:0!important;max-width:none!important;background:#181818!important;border-bottom:1px solid #454545!important}
.research-date-group-title{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px}
.research-date-group-title strong{color:#1D89F8;font:600 11px/1.25 var(--sans);text-align:center}
.research-table .research-date-group-title button{display:inline-grid;place-items:center;flex:0 0 20px;width:20px;height:20px;padding:0;border:1px solid #1D89F8;color:#1D89F8;font:14px/1 var(--sans)}
.research-table .research-date-group-title button:hover{background:#1D89F8;color:#000000}
.research-options .research-table-navigation{position:static;top:auto;margin:4px 0 0;box-shadow:none}
.research-options .research-table-navigation .table-top-scroll{height:12px}
.research-table .research-date-head button{font-size:10px!important;text-align:center!important}
.research-table tbody td:last-child{width:72px!important;min-width:72px!important;max-width:72px!important}
.research-table .row-compare{white-space:normal;overflow-wrap:anywhere}
.research-screenshot .research-options{display:none!important}
@media(max-width:760px){
 .research-options>summary{align-items:flex-start;gap:5px 9px}
 .research-options>summary span{flex-basis:100%;padding-left:27px}
 .research-options-body{padding:9px;gap:8px}
 .research-options .research-family-shortcuts>span{flex-basis:100%}
 .research-command{margin-bottom:7px}
 .research-table .research-person-head,.research-table tbody td:first-child{width:160px!important;min-width:160px!important;max-width:160px!important}
 .research-table .research-person,.research-table .research-evidence{max-width:144px}
 .research-table .research-date-head{width:72px!important;min-width:72px!important;max-width:72px!important}
 .research-table tbody td:last-child{width:66px!important;min-width:66px!important;max-width:66px!important}
}
/* Approved compact table layout: explicit sizing supersedes legacy table rules. */
.research-table-toolbar{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #284359;border-bottom:0;background:#000}.research-table-toolbar>span{flex:1;color:#f1f1f1;font:14px var(--sans)}.research-table-toolbar button{font:13px var(--sans);padding:8px 12px;min-height:40px;border:1px solid #284359;border-radius:4px;color:#83baff;background:#080e16}.research-table-toolbar button:disabled{opacity:.4}.research-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%;font:13px/1.4 var(--sans)}.research-table thead th{height:auto!important;padding:4px 8px!important;vertical-align:middle;background:#0c141e!important}.research-table th button{height:auto;min-height:36px;padding:6px 4px;font:13px/1.3 var(--sans)!important;gap:6px}.research-table .research-date-group-title{min-height:36px;padding:0;gap:16px;justify-content:space-between}.research-table .research-date-group-title strong{font-size:13px;text-align:left}.research-table .research-date-group-title button{width:36px;flex:0 0 36px;min-height:36px;height:36px;padding:0}.research-table .research-leaf-title{padding:0;gap:8px!important}.research-table .research-leaf-title .research-remove{margin:0;flex:0 0 32px;min-width:32px;width:32px;min-height:36px;font-size:19px!important;justify-content:center}.research-table .research-date-head,.research-table .research-leaf{width:116px!important;min-width:116px!important;max-width:116px!important}.research-table .research-inline-filter{font:14px/1.3 var(--sans);padding:6px;margin:3px 0;min-width:0;max-width:none;height:32px}.research-table .research-select-cell,.research-table tbody td.research-select-cell{position:sticky;left:0;z-index:3;width:40px!important;min-width:40px!important;max-width:40px!important;text-align:center;padding:0!important;background:#000!important}.research-select-cell input{width:18px;height:18px;accent-color:#15c03e;margin:12px 10px}.research-table .research-person-head,.research-table tbody td.research-person-cell{position:sticky;left:40px;z-index:2;width:184px!important;min-width:184px!important;max-width:184px!important;background:#000!important;text-align:left;padding:10px!important;box-shadow:1px 0 #284359}.research-table .research-person,.research-table .research-evidence{max-width:164px}.research-table td,.research-table tbody td:last-child{width:116px!important;min-width:116px!important;max-width:116px!important;padding:12px 10px;font-size:13px;vertical-align:middle}.research-table .research-person{font:14px/1.4 var(--sans);white-space:normal;overflow-wrap:normal}.research-table .research-person>span{font-size:12px;color:#acc2d7}.research-table .research-numeric{color:#f6d64a}.research-command{flex-wrap:nowrap;gap:8px}.research-command input{min-width:0;width:0;flex:1;font-size:16px}.research-command button{flex:0 0 auto;min-height:40px}.research-screenshot .research-table-toolbar{display:none}
@media(max-width:700px){.research-table .research-person-head,.research-table tbody td.research-person-cell{width:142px!important;min-width:142px!important;max-width:142px!important}.research-table .research-person,.research-table .research-evidence{max-width:122px}.research-table .research-person{font-size:13px}.research-table th button{font-size:12px!important}.research-table .research-date-head,.research-table .research-leaf,.research-table td,.research-table tbody td:last-child{width:104px!important;min-width:104px!important;max-width:104px!important}.research-table tbody td.research-select-cell{width:40px!important;min-width:40px!important;max-width:40px!important}.research-table .research-inline-filter{font-size:16px}.column-search-menu{padding-bottom:env(safe-area-inset-bottom);background:#080e16}.column-search-menu::backdrop{background:#0008}.column-search-menu .column-menu-heading{position:sticky;top:0;background:#080e16;z-index:2;padding:12px}.column-search-menu .column-menu-row,.column-search-menu .column-menu-heading button{min-height:44px}.column-search-menu input,.column-search-menu select{font-size:16px}.research-options>summary span{display:none}}
.research-table thead tr:nth-child(2) th:first-child,.research-table td.research-numeric{width:116px!important;min-width:116px!important;max-width:116px!important}.research-table .research-inline-filter{font-size:14px!important}.research-table th.research-select-cell{width:40px!important;min-width:40px!important;max-width:40px!important}.research-table th.research-date-group,.research-table th.research-name-group{width:auto!important;min-width:0!important;max-width:none!important}@media(max-width:700px){.research-table thead tr:nth-child(2) th:first-child,.research-table td.research-numeric{width:104px!important;min-width:104px!important;max-width:104px!important}.research-table .research-inline-filter{font-size:16px!important}}
.research-table-navigation{position:sticky;top:0;z-index:8;background:#000;display:block!important;padding:6px 8px 0}.research-table-navigation .table-top-scroll{display:block!important;height:20px;overflow-x:scroll}.research-table-navigation .table-navigation-actions{display:flex;gap:8px;align-items:center}.research-default-layout .research-table{width:100%!important;min-width:100%!important}.research-default-layout .research-table .research-leaf{min-width:64px!important;width:64px!important;max-width:none!important}.research-default-layout .research-table td.research-numeric{min-width:64px!important;width:64px!important;max-width:none!important}.research-default-layout .research-table .research-date-head,.research-default-layout .research-table thead tr:nth-child(2) th:first-child{min-width:80px!important;width:80px!important;max-width:none!important}.research-default-layout .research-table td.research-birthdate-cell{min-width:92px!important;width:92px!important}.research-default-layout .research-table .research-leaf-title{gap:2px!important}.research-default-layout .research-table .research-leaf-title .research-remove{min-width:24px;width:24px;flex-basis:24px}.research-default-layout .research-table .research-person-head,.research-default-layout .research-table tbody td.research-person-cell{width:160px!important;min-width:160px!important;max-width:160px!important}@media(max-width:700px){.research-default-layout .research-table{width:max-content!important}.research-default-layout .research-table .research-leaf,.research-default-layout .research-table td.research-numeric,.research-default-layout .research-table .research-date-head,.research-default-layout .research-table thead tr:nth-child(2) th:first-child{width:104px!important;min-width:104px!important}.research-default-layout .research-table .research-person-head,.research-default-layout .research-table tbody td.research-person-cell{width:142px!important;min-width:142px!important;max-width:142px!important}}
/* Whole-table movement: no frozen identity columns. */
:is(#view-research,#view-users) .research-table th,:is(#view-research,#view-users) .research-table td{position:static!important;left:auto!important;box-shadow:none!important}.desktop-table-navigation{padding:4px 10px!important}.table-scroll-slider{display:block;width:100%;margin:0;height:32px;padding:0!important;appearance:none;-webkit-appearance:none;background:transparent;touch-action:pan-y;cursor:ew-resize}.table-scroll-slider::-webkit-slider-runnable-track{height:8px;border-radius:6px;background:#24374a}.table-scroll-slider::-moz-range-track{height:8px;border-radius:6px;background:#24374a}.table-scroll-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:56px;height:16px;border:1px solid #83baff;border-radius:6px;background:#2189ff;margin-top:-4px}.table-scroll-slider::-moz-range-thumb{width:56px;height:16px;border:1px solid #83baff;border-radius:6px;background:#2189ff}.table-scroll-slider:disabled{opacity:.4;cursor:default}.research-default-layout .research-table th.research-leaf:not(.research-date-head){width:156px!important;min-width:156px!important}.research-table .research-leaf-title>button:first-child{white-space:normal!important;text-align:left!important}

:is(#view-research,#view-users) .research-remove-group{margin-left:18px!important;flex-shrink:0;}

.comparison-layer-picker{flex:1 1 100%;border:1px solid #2185d0;padding:12px}.comparison-layer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.comparison-layer-grid label,.comparison-layer-picker>label{display:block;padding:6px}.comparison-calendars{display:flex;flex-wrap:wrap;gap:16px}.comparison-matrix .placement-matches{display:inline-block;margin:4px}.comparison-matrix td>small{display:block}

.research-table .research-name-group .research-date-group-title>[data-name-group]{
 display:flex;flex:1 1 auto;width:auto;height:auto;min-width:0;min-height:36px;
 border:0;line-height:1.4;overflow-wrap:normal;text-align:left;
}
