.choice-browser{min-width:0}
.choice-search{display:grid;gap:6px;font-weight:600;font-size:15px;margin-bottom:10px}
.choice-search input{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink)}
.choice-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.choice-filters button{border:1px solid var(--line);border-radius:6px;background:white;min-height:36px;padding:5px 9px;font-size:14px;color:var(--muted)}
.choice-filters button[aria-pressed=true]{background:#eaf3f3;border-color:#639693;color:#245e5b}
.choice-status{font-size:14px;color:var(--muted);margin:8px 0;overflow-wrap:anywhere}
.choice-scroll{display:grid;align-content:start;gap:7px;max-height:350px;overflow:auto;scrollbar-gutter:stable;padding:2px 3px 2px 1px}
.choice-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:5px 8px;width:100%;min-height:66px;padding:12px;text-align:left;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink)}
.choice-item.active{background:#eff7f6;border-color:#558c87;box-shadow:inset 3px 0 #558c87}
.choice-item-title{font-size:16px;font-weight:650;overflow-wrap:anywhere}
.choice-item small,.choice-item p{grid-column:1/-1;font-size:14px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere;margin:0}
.choice-item p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.choice-item:focus-visible,.choice-filters button:focus-visible{outline:3px solid #749aaf;outline-offset:2px}
.choice-wide .choice-scroll{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));max-height:440px}
.choice-empty{padding:20px 10px;color:var(--muted)}
.list-pager{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px;font-size:14px;color:var(--muted);flex-wrap:wrap}
.collection-tabs{display:flex;gap:8px;margin-bottom:18px;border-bottom:1px solid var(--line);padding-bottom:10px}
.collection-tabs button{flex:1;min-height:52px;border:1px solid var(--line);border-radius:8px;padding:10px 16px;background:white;font-weight:650;font-size:17px;color:var(--muted)}
.collection-tabs button[aria-selected=true]{background:#fef1ea;color:#954e32;border-color:#d38d70}
[hidden]{display:none!important}
.dataset-catalog-scroll{max-height:580px;overflow:auto}
.dataset-catalog-scroll thead{position:sticky;top:0;z-index:1;background:#f8f9fb}
.catalog-browser{padding:16px;min-width:0}.catalog-browser .table-wrap{overflow:visible}
.catalog-filter-row{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.research-layout{display:grid;grid-template-columns:minmax(270px,320px) minmax(0,1fr);gap:18px;align-items:start}
.research-methods,.research-settings{padding:16px;min-width:0}
.research-methods h2,.research-settings h2{font-size:17px;margin-bottom:12px}
.research-methods .choice-scroll{max-height:640px}
.research-workspace{min-width:0}
.dataset-disclosure{padding:16px;margin-bottom:18px}
.dataset-disclosure summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;min-height:44px;list-style:none}
.dataset-disclosure summary::-webkit-details-marker{display:none}
.dataset-disclosure summary:focus-visible{outline:3px solid #749aaf;outline-offset:4px}
.dataset-disclosure summary>span:first-child,.research-run-bar>span{display:grid;gap:4px;min-width:0}
.dataset-disclosure strong,.research-run-bar strong{overflow-wrap:anywhere}
.dataset-disclosure small,.research-run-bar small{font-size:14px;color:var(--muted)}
.dataset-list-toggle{flex-shrink:0;color:#245e5b;font-size:14px;text-decoration:underline}
.dataset-disclosure[open] .choice-browser{margin-top:16px}
.research-run-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line);background:white}
.research-run-bar .button{flex-shrink:0;min-height:48px}
.research-results{margin-top:18px;min-width:0}
.research-settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
.research-settings-fields .advanced-columns,.research-settings-fields .advanced-method-help{grid-column:1/-1}
.research-settings-fields>small{grid-column:1/-1;margin:0 0 12px}
.research-settings-fields>.field,.research-settings-fields>.check-field{min-width:0}
html:has(#visualization-page){scrollbar-gutter:stable}
.visual-step-label{font-size:14px;color:#537679;font-weight:650;margin-bottom:5px}
.visual-start-note{padding:28px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:10px;background:white;grid-column:span 2;min-width:0}
@container(max-width:900px){.visual-start-note{grid-column:1/-1}}
@media(max-width:1050px){.research-layout{grid-template-columns:minmax(250px,290px) minmax(0,1fr)}}
@media(max-width:800px){.research-layout{grid-template-columns:minmax(0,1fr)}.choice-scroll{max-height:290px}.research-methods .choice-scroll{max-height:190px}}
@media(max-width:600px){.collection-tabs button{padding:10px 6px;font-size:16px}.catalog-browser{padding:12px}.research-settings-fields{grid-template-columns:minmax(0,1fr)}.dataset-disclosure summary{align-items:flex-start}.dataset-list-toggle{max-width:65px;text-align:right}}
