/* Real dataset browsing and source inspection share the Observatory workspace.
   Mounted by portal-research-library.js. Operational tools remain intact. */
#library-page[data-research-surface="library"] > :not(#research-library-browser):not(#omega-study-workflow),
#inspect-page[data-research-surface="source"] > :not(#research-inspect-source):not(#research-inspect-workspace):not(#omega-study-workflow) { display:none !important; }
#library-page #research-library-browser,
#inspect-page #research-inspect-source {
  color:var(--omega-ink,#20322f); font:15px/1.5 var(--omega-font,"Instrument Sans","Segoe UI",sans-serif);
  width:100%; max-width:1440px; min-width:0; margin:0 auto; padding:6px 0 32px;
  --panel:var(--omega-paper,#fff); --panel-bg:var(--omega-paper,#fff);
  --text:var(--omega-ink,#20322f); --ink:var(--omega-ink,#20322f);
  --muted:var(--omega-muted,#536760); --text-muted:var(--omega-muted,#536760);
  --line:var(--omega-line,#cedbd4); --border:var(--omega-line,#cedbd4);
  --accent:var(--omega-accent,#24685e);
}
#library-page #research-library-browser[hidden],
#inspect-page #research-inspect-source[hidden],
:is(#research-library-browser,#research-inspect-source) [hidden] { display:none !important; }
:is(#research-library-browser,#research-inspect-source) :is(h3,h4,p,dl) { margin:0; }
:is(#research-library-browser,#research-inspect-source) :is(input,select,button,a) { -webkit-tap-highlight-color:transparent; }
:is(#research-library-browser,#research-inspect-source) :is(input,select,button,a):focus-visible { outline:3px solid var(--omega-accent,#24685e); outline-offset:3px; }
:is(#research-library-browser,#research-inspect-source) :is(button,.button) {
  font:500 13px/1.35 var(--omega-font,"Instrument Sans","Segoe UI",sans-serif);
  letter-spacing:0; text-transform:none; min-height:40px; padding:10px 14px;
  border:1px solid var(--omega-line,#cedbd4); border-radius:4px; box-shadow:none;
  background:var(--omega-paper,#fff); color:var(--omega-ink,#20322f);
  cursor:pointer; white-space:normal; overflow-wrap:anywhere;
}
:is(#research-library-browser,#research-inspect-source) :is(button,.button):hover:not(:disabled) { border-color:var(--omega-accent,#24685e); background:var(--omega-soft,#edf2ef); }
:is(#research-library-browser,#research-inspect-source) :is(.button-primary,[data-library-add],.research-library-primary) {
  color:#fff; background:var(--omega-accent,#24685e); border-color:var(--omega-accent,#24685e);
}
:is(#research-library-browser,#research-inspect-source) :is(.button-primary,[data-library-add],.research-library-primary):hover:not(:disabled) { color:#fff; background:#1c564d; border-color:#1c564d; }
:is(#research-library-browser,#research-inspect-source) button:disabled { opacity:.55; cursor:not-allowed; }
:is(#research-library-browser,#research-inspect-source) :is(input,select) {
  min-width:0; max-width:100%; min-height:42px; border:1px solid var(--omega-line,#cedbd4);
  border-radius:4px; background:#fff; color:var(--omega-ink,#20322f);
  padding:10px 12px; font:400 14px/1.35 var(--omega-font,"Instrument Sans","Segoe UI",sans-serif);
  box-shadow:none; text-align:left;
}
:is(#research-library-browser,#research-inspect-source) input::placeholder { color:#687971; opacity:1; }
:is(#research-library-browser,#research-inspect-source) a { color:var(--omega-accent,#24685e); text-underline-offset:3px; }
#research-library-browser .research-library-layout,
#research-inspect-source .research-source-inspection-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:30px; align-items:start; }
#research-library-browser .research-library-main,
#research-inspect-source .research-source-inspection-main { min-width:0; }
#research-library-browser .research-library-heading,
#research-inspect-source .research-source-inspection-header { display:flex; align-items:start; justify-content:space-between; gap:20px; margin-bottom:24px; }
#library-page #research-library-browser .research-library-heading { display:block; }
#library-page #research-library-browser .research-library-heading > p:first-child { font-size:12px; letter-spacing:.06em; color:var(--omega-muted,#536760); margin:0 0 11px; }
#research-library-browser .research-library-heading h3,
#research-inspect-source .research-source-inspection-header :is(h2,h3) {
  font:500 clamp(29px,3vw,39px)/1.12 var(--omega-display,"Newsreader",Georgia,serif);
  color:var(--omega-ink,#20322f); letter-spacing:-.7px; margin:0 0 10px;
}
#library-page #research-library-browser .research-library-heading h3,
#inspect-page #research-inspect-source .research-source-inspection-header :is(h2,h3) { font:500 clamp(29px,3vw,39px)/1.12 var(--omega-display,"Newsreader",Georgia,serif); letter-spacing:-.7px; margin:0 0 10px; }
#research-library-browser .research-library-heading p,
#research-inspect-source .research-source-inspection-header p { font-size:14px; line-height:1.55; color:var(--omega-muted,#536760); max-width:62ch; }
#research-library-browser .research-library-heading > button,
#research-inspect-source .research-source-inspection-header > button { flex-shrink:0; }
#research-library-browser .research-library-search { display:grid; gap:7px; margin-bottom:14px; }
#research-library-browser .research-library-question-box { margin:0 0 24px; padding:22px; border:1px solid #b4cec2; border-top:4px solid var(--omega-accent,#24685e); border-radius:6px; background:#edf4ef; }
#research-library-browser .research-library-question-box label { display:block; font-size:21px; font-weight:600; line-height:1.3; color:var(--omega-ink,#20322f); }
#research-library-browser #research-library-question-help { margin:7px 0 14px; color:var(--omega-muted,#536760); font-size:14px; }
#research-library-browser .research-library-question-entry { display:flex; gap:10px; align-items:stretch; }
#research-library-browser .research-library-question-entry input { flex:1; width:100%; min-width:0; min-height:50px; font-size:16px; }
#research-library-browser .research-library-question-entry button { flex-shrink:0; font-size:14px; }
#research-library-browser .research-library-question-honu { margin-top:12px; border-color:transparent; background:transparent; padding:7px 0; color:var(--omega-accent,#24685e); text-decoration:underline; text-underline-offset:3px; }
#research-library-browser .research-library-question-status:empty { display:none; }
#research-library-browser .research-library-question-status { margin-top:10px; font-size:13px; line-height:1.5; }
#research-library-browser #research-library-question-results { margin-top:20px; border-top:1px solid #c4d7ca; padding-top:18px; }
#research-library-browser .research-library-question-result-heading { display:grid; gap:4px; margin-bottom:12px; }
#research-library-browser .research-library-question-matches { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
#research-library-browser .research-library-question-matches article { display:flex; flex-direction:column; gap:8px; min-width:0; padding:16px; background:#fff; border:1px solid var(--omega-line,#cedbd4); border-radius:4px; overflow-wrap:anywhere; }
#research-library-browser .research-library-question-matches article>span { font-size:12px; color:var(--omega-muted,#536760); }
#research-library-browser .research-library-question-matches h5 { margin:0; font-size:17px; font-weight:600; line-height:1.3; }
#research-library-browser .research-library-question-matches p { font-size:13px; line-height:1.5; }
#research-library-browser .research-library-question-matches button { margin-top:auto; align-self:start; }
#research-library-browser .research-library-question-caution { color:#655f49; }
#research-library-browser .research-library-question-next { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
#research-library-browser .research-library-question-gaps { margin-top:14px; font-size:13px; }
#research-library-browser .research-library-question-note { margin-top:12px; font-size:12px; color:var(--omega-muted,#536760); }
#research-library-browser .research-library-connections { display:grid; gap:12px; margin:0 0 24px; padding:18px 0; border-block:1px solid var(--omega-line,#cedbd4); }
#research-library-browser .research-library-provider-explorer { display:grid; gap:12px; padding:20px; margin:0 0 24px; border:1px solid var(--omega-line,#cedbd4); border-left:4px solid var(--omega-accent,#24685e); background:var(--omega-paper,#fff); }
#research-library-browser .research-library-provider-explorer h4 { font-size:20px; }
#research-library-browser .research-library-provider-explorer p { font-size:14px; line-height:1.5; color:var(--omega-muted,#536760); }
#research-library-browser .research-library-provider-explorer form { display:flex; gap:12px; flex-wrap:wrap; align-items:end; }
#research-library-browser .research-library-provider-explorer label { display:grid; gap:6px; flex:1 1 220px; font-size:14px; }
#research-library-browser .research-library-provider-explorer :is(input,select) { width:100%; }
#research-library-browser .research-library-provider-dataset { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; align-items:start; padding:16px 0; border-top:1px solid var(--omega-line,#cedbd4); overflow-wrap:anywhere; }
#research-library-browser .research-library-provider-dataset>div { display:grid; gap:5px; }
#research-library-browser .research-library-provider-dataset h4 { font-size:17px; }
#research-library-browser .research-library-provider-dataset span { font-size:12px; color:var(--omega-muted,#536760); }
#research-public-vertical { display:flex; flex-wrap:wrap; align-items:start; gap:12px; min-width:0; margin:16px 0; padding:16px; border:1px solid var(--omega-line,#cedbd4); background:var(--omega-paper,#fff); }
#research-public-vertical legend { font-weight:600; padding:0 6px; }
#research-public-vertical label { display:grid; gap:6px; flex:1 1 180px; max-width:280px; }
#research-public-vertical p { flex-basis:100%; margin:0; font-size:13px; line-height:1.5; }
#research-public-vertical[hidden],#research-public-vertical [hidden] { display:none !important; }
#research-inspect-source .research-inspect-mode-control { display:grid; gap:6px; margin:16px 0; max-width:420px; font-size:14px; font-weight:600; }
#research-library-browser .research-library-connections h4 { font-size:19px; line-height:1.4; }
#research-library-browser .research-library-connections p { font-size:13px; color:var(--omega-muted,#536760); line-height:1.5; }
#research-library-browser .research-library-connections form { display:grid; gap:6px; }
#research-library-browser .research-library-connections form>label { font-size:13px; font-weight:500; }
#research-library-browser .research-library-connections form>div { display:flex; flex-wrap:wrap; gap:8px; }
#research-library-browser .research-library-connections input { flex:1 1 220px; width:100%; font-size:15px; }
#research-library-browser #research-library-connections-status:empty { display:none; }
#research-library-browser .research-library-connection { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:16px; padding:16px 0; border-top:1px solid var(--omega-line,#cedbd4); overflow-wrap:anywhere; }
#research-library-browser .research-library-connection>div:first-child { display:grid; gap:5px; }
#research-library-browser .research-library-connection h4 { font-size:17px; }
#research-library-browser .research-library-connection span { font-size:12px; color:var(--omega-muted,#536760); }
#research-library-browser .research-library-connection-actions { display:grid; justify-items:start; gap:10px; max-width:190px; }
#research-library-browser .research-library-connection-actions a { font-size:13px; }
#research-library-browser #research-library-connections-pages { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
@media(max-width:650px) {
  #research-library-browser .research-library-question-box { padding:16px; }
  #research-library-browser .research-library-question-entry { flex-direction:column; }
  #research-library-browser .research-library-question-matches { grid-template-columns:minmax(0,1fr); }
  #research-library-browser .research-library-connection { grid-template-columns:minmax(0,1fr); }
  #research-library-browser .research-library-provider-dataset { grid-template-columns:minmax(0,1fr); }
  #research-library-browser .research-library-connection-actions { display:flex; flex-wrap:wrap; max-width:none; }
}
#research-library-browser .research-library-search label,
#research-library-browser .research-library-search > span { font-size:12px; color:var(--omega-muted,#536760); }
#research-library-browser .research-library-search input { width:100%; font-size:15px; min-height:48px; padding:13px 16px; }
#research-library-browser .research-library-filters { display:flex; align-items:end; flex-wrap:wrap; gap:10px 14px; }
#research-library-browser .research-library-filters label { display:grid; gap:6px; flex:1 1 160px; font-size:12px; color:var(--omega-muted,#536760); }
#research-library-browser .research-library-filters select { width:100%; }
#research-library-browser .research-library-status { font-size:12px; color:var(--omega-muted,#536760); line-height:1.55; margin:16px 0; }
#research-library-browser .research-library-status[data-tone="error"] { color:var(--omega-bad,#ae3d37); }
#research-library-browser .research-library-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); align-items:stretch; gap:22px; }
#research-library-browser .research-library-card {
  min-width:0; display:flex; flex-direction:column; overflow:hidden;
  background:#fff; border:1px solid var(--omega-line,#cedbd4); border-radius:4px; box-shadow:none;
}
#research-library-browser .research-library-card-body { display:flex; flex-direction:column; flex:1; min-width:0; padding:22px 24px 24px; }
#research-library-browser .research-library-card-kicker { font-size:11px; color:var(--omega-accent,#24685e); line-height:1.5; margin-bottom:10px; letter-spacing:.025em; }
#research-library-browser .research-library-card h4 { font:500 26px/1.13 var(--omega-display,"Newsreader",Georgia,serif); color:var(--omega-ink,#20322f); letter-spacing:-.3px; margin:0 0 10px; overflow-wrap:anywhere; }
#library-page #research-library-browser .research-library-card h4 { font:500 26px/1.13 var(--omega-display,"Newsreader",Georgia,serif); letter-spacing:-.3px; }
#research-library-browser .research-library-card-body > p { font-size:12px; color:var(--omega-muted,#536760); line-height:1.6; overflow-wrap:anywhere; }
#research-library-browser .research-library-card-facts { display:flex; flex-wrap:wrap; gap:7px 16px; padding:17px 0; margin:0; list-style:none; font-size:12px; color:var(--omega-muted,#536760); }
#research-library-browser .research-library-card-facts > :is(span,li,div) { min-width:0; overflow-wrap:anywhere; }
#research-library-browser .research-library-card-facts dt { font-size:11px; color:var(--omega-muted,#536760); }
#research-library-browser .research-library-card-facts dd { margin:3px 0 0; font-size:12px; color:var(--omega-ink,#20322f); }
#research-library-browser .research-library-card-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:auto; padding-top:6px; }
#research-library-browser .research-library-card-preview { order:-1; display:flex; flex-direction:column; justify-content:center; gap:9px; min-height:172px; padding:18px 24px; background:var(--omega-soft,#edf2ef); border-bottom:1px solid var(--omega-line,#cedbd4); min-width:0; }
#research-library-browser .research-library-card-preview > svg { display:block; width:100%; max-height:156px; min-height:96px; }
#research-library-browser .research-library-card-preview figure { margin:0; min-width:0; }
#research-library-browser .research-library-card-preview figure svg { display:block; width:100%; height:auto; max-height:170px; }
#research-library-browser .research-library-card-preview figure circle { fill:var(--omega-accent,#24685e); }
#research-library-browser .research-library-card-preview figure line { stroke:var(--omega-line,#cedbd4); }
#research-library-browser .research-library-card-preview svg text { fill:var(--omega-muted,#536760); font:11px var(--omega-font,"Instrument Sans","Segoe UI",sans-serif); }
#research-library-browser .research-library-card-preview :is(p,small,figcaption) { font-size:11px; line-height:1.5; color:var(--omega-muted,#536760); max-width:38ch; }
#research-library-browser .research-library-card-preview strong { font-size:13px; line-height:1.4; color:var(--omega-ink,#20322f); font-weight:500; }
#research-library-browser .research-library-card-preview:has(svg) { background:#f2f5f1; }
#research-library-browser .research-library-card-preview:not(:has(svg)) { min-height:106px; }
#research-library-browser .research-library-pagination { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:22px; padding-top:18px; border-top:1px solid var(--omega-line,#cedbd4); font-size:12px; color:var(--omega-muted,#536760); }
:is(#research-library-browser,#research-inspect-source) .research-study-basket { min-width:0; border-left:1px solid var(--omega-line,#cedbd4); padding:3px 0 0 26px; }
:is(#research-library-browser,#research-inspect-source) .research-study-basket h3 { font:500 27px/1.15 var(--omega-display,"Newsreader",Georgia,serif); letter-spacing:-.4px; margin:0 0 14px; color:var(--omega-ink,#20322f); }
#library-page #research-library-browser .research-study-basket h3,
#inspect-page #research-inspect-source .research-study-basket h3 { font:500 27px/1.15 var(--omega-display,"Newsreader",Georgia,serif); letter-spacing:-.4px; }
:is(#research-library-browser,#research-inspect-source) .research-study-basket > p { color:var(--omega-muted,#536760); font-size:12px; line-height:1.6; margin:8px 0 18px; overflow-wrap:anywhere; }
:is(#research-library-browser,#research-inspect-source) .research-study-basket-list { display:grid; gap:0; padding:0; margin:0; list-style:none; }
:is(#research-library-browser,#research-inspect-source) .research-study-basket-item { border-top:1px solid var(--omega-line,#cedbd4); padding:16px 0; min-width:0; }
:is(#research-library-browser,#research-inspect-source) .research-study-basket-item strong { display:block; font-size:13px; font-weight:550; line-height:1.45; color:var(--omega-ink,#20322f); overflow-wrap:anywhere; }
:is(#research-library-browser,#research-inspect-source) .research-study-basket-item :is(p,small,span) { display:block; font-size:12px; color:var(--omega-muted,#536760); margin-top:5px; line-height:1.5; overflow-wrap:anywhere; }
:is(#research-library-browser,#research-inspect-source) .research-study-basket-item button { min-height:32px; font-size:12px; padding:5px 8px; margin-top:8px; }
:is(#research-library-browser,#research-inspect-source) .research-study-basket-empty { padding:18px 0; border-top:1px solid var(--omega-line,#cedbd4); color:var(--omega-muted,#536760); font-size:13px; line-height:1.65; }
:is(#research-library-browser,#research-inspect-source) .research-study-basket-actions { display:flex; flex-direction:column; gap:9px; border-top:1px solid var(--omega-line,#cedbd4); margin-top:8px; padding-top:19px; }
:is(#research-library-browser,#research-inspect-source) .research-study-basket-actions .button { width:100%; }
/* Inspect's dataset view uses the existing provider request and real-data preview.
   Query controls retain their IDs, visibility rules and validation. */
#research-inspect-source .research-source-inspection-header { align-items:center; padding-bottom:20px; border-bottom:1px solid var(--omega-line,#cedbd4); }
#research-inspect-source #research-public-data { width:100%; padding:22px; margin:0; border:1px solid var(--omega-line,#cedbd4); border-radius:4px; background:#fff; box-shadow:none; }
/* The selected dataset is already named in this page's heading. Keep the
   scientific definitions, warnings and all request controls; remove duplicate
   catalog entry chrome only while using the dedicated source workspace. */
#inspect-page[data-research-surface="source"] #research-inspect-source #research-public-data > :is(.research-source-heading,.research-source-choices),
#inspect-page[data-research-surface="source"] #research-inspect-source #research-public-query[open] > #research-public-summary,
#inspect-page[data-research-surface="source"] #research-inspect-source #research-public-summary + p,
#inspect-page[data-research-surface="source"] #research-inspect-source :is(#research-public-query-title,#research-public-stage-note,#research-public-back-to-datasets),
#inspect-page[data-research-surface="source"] #research-inspect-source #research-public-form > .research-query-grid > label:has(> #research-public-source) { display:none !important; }
#inspect-page[data-research-surface="source"] #research-inspect-source #research-public-browser-stage { margin:0; padding:0; border:0; background:none; }
#inspect-page #research-inspect-source #research-inspect-guidance { font-size:12px; color:var(--omega-muted,#536760); line-height:1.5; margin:0 0 14px; }
#research-inspect-source #research-public-data :is(h3,h4) { color:var(--omega-ink,#20322f); font-size:18px; line-height:1.35; letter-spacing:0; }
#research-inspect-source #research-public-data p { font-size:13px; line-height:1.6; margin:9px 0; color:var(--omega-muted,#536760); }
#research-inspect-source #research-public-data :is(label.control,.control > span) { font-size:12px; line-height:1.45; color:var(--omega-muted,#536760); }
#research-inspect-source #research-public-data label.control { display:grid; gap:7px; }
#research-inspect-source #research-public-data :is(input,select) { width:100%; }
#research-inspect-source #research-public-data input[type="checkbox"] { width:17px; min-height:17px; height:17px; accent-color:var(--omega-accent,#24685e); padding:0; }
#research-inspect-source #research-public-data .analysis-secondary-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:12px 0; }
#research-inspect-source #research-public-data .research-query-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px 18px; margin:17px 0; }
#research-inspect-source #research-public-data .research-source-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 18px; margin:16px 0; }
#research-inspect-source #research-public-data .research-source-facts > div { border-top:1px solid var(--omega-line,#cedbd4); padding-top:10px; min-width:0; }
#research-inspect-source #research-public-data .research-source-facts dt { color:var(--omega-muted,#536760); font-size:11px; }
#research-inspect-source #research-public-data .research-source-facts dd { font-size:13px; color:var(--omega-ink,#20322f); margin:4px 0 0; overflow-wrap:anywhere; }
#research-inspect-source #research-public-data :is(.research-station-finder,.research-study-context,.research-source-notes,.research-date-tools) { border-color:var(--omega-line,#cedbd4); border-radius:4px; background:var(--omega-soft,#edf2ef); color:var(--omega-ink,#20322f); }
#research-inspect-source #research-public-data .research-source-notes { padding:12px 14px; margin:12px 0; }
#research-inspect-source #research-public-data details > summary { cursor:pointer; color:var(--omega-ink,#20322f); font-size:13px; line-height:1.5; }
#research-inspect-source #research-public-data .research-date-tools { display:grid; grid-template-columns:minmax(170px,1fr) 1.2fr; gap:15px; align-items:end; padding:14px; }
#research-inspect-source #research-public-data :is(.research-variable-definition,.research-loaded-context) { border-color:var(--omega-line,#cedbd4); }
#research-inspect-source #research-public-data .research-data-preview { margin:20px 0 0; border:0; border-top:1px solid var(--omega-line,#cedbd4); border-radius:0; padding:22px 0 0; background:#fff; }
#research-inspect-source #research-public-data .research-preview-heading h3 { font:500 25px/1.2 var(--omega-display,"Newsreader",Georgia,serif); }
#research-inspect-source #research-public-data .research-preview-figure { padding:16px 0 8px; margin:0; }
#research-inspect-source #research-public-data .research-preview-figure svg { background:#f5f6f2; border-radius:3px; max-height:350px; }
#research-inspect-source #research-public-data .research-preview-figure text { fill:var(--omega-muted,#536760); font-family:var(--omega-font,"Instrument Sans","Segoe UI",sans-serif); }
#research-inspect-source #research-public-data .research-preview-badge { color:var(--omega-muted,#536760); font-size:11px; border-color:var(--omega-line,#cedbd4); border-radius:3px; padding:6px 8px; }
#research-inspect-source #research-public-data .research-preview-warning { color:var(--omega-warn,#8a5b13); border-color:var(--omega-warn,#8a5b13); }
#research-inspect-source #research-public-data .research-preview-stats { padding:16px 0; border-block:1px solid var(--omega-line,#cedbd4); gap:14px 20px; }
#research-inspect-source #research-public-data .research-preview-stats dt { font-size:11px; color:var(--omega-muted,#536760); }
#research-inspect-source #research-public-data .research-preview-stats dd { font-size:13px; color:var(--omega-ink,#20322f); }
#research-inspect-source #research-public-data .research-preview-table-wrap { margin-top:16px; }
#research-inspect-source #research-public-data .research-preview-table-wrap table { font-size:12px; }
#research-inspect-source #research-public-data .research-preview-table-wrap th { background:var(--omega-soft,#edf2ef); color:var(--omega-ink,#20322f); }
#research-inspect-source #research-public-data .research-preview-table-wrap :is(th,td) { border-color:var(--omega-line,#cedbd4); padding:10px 12px; }
#research-inspect-source #research-public-status[data-tone="error"] { color:var(--omega-bad,#ae3d37); }
/* Question collections narrow actual catalog fields; they do not invent
   datasets, preview curves or coverage. The selected question is explicit. */
#research-library-browser .research-library-curation { margin:0 0 22px; }
#research-library-browser .research-library-collections { display:flex; flex-wrap:wrap; gap:8px; }
#research-library-browser .research-library-collections button { display:flex; align-items:center; gap:10px; padding:10px 13px; border-radius:3px; background:transparent; }
#research-library-browser .research-library-collections strong { font-size:13px; font-weight:500; }
#research-library-browser .research-library-collections span { color:var(--omega-muted,#5e6d68); font-size:11px; }
#research-library-browser .research-library-collections [aria-pressed="true"] { border-color:var(--omega-accent,#24685e); background:var(--omega-soft,#edf2ef); }
#research-library-browser .research-library-collection-context { display:flex; align-items:center; gap:12px; margin-top:10px; font-size:13px; color:var(--omega-muted,#5e6d68); }
#research-library-browser .research-library-collection-context:has(p:empty) { margin:0; }
#research-library-browser .research-library-collection-context button { flex:none; }
#research-library-browser .research-library-card-preview,
#research-library-browser .research-library-card-preview:not(:has(svg)) { min-height:250px; padding:20px 22px 18px; background:#f3f5f1; }
#research-library-browser .research-library-card-preview figure svg { max-height:none; }
#research-library-browser .research-library-preview-title { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:12px; }
#research-library-browser .research-library-preview-title strong { font-size:13px; }
#research-library-browser .research-library-preview-title span { flex:none; color:var(--omega-muted,#5e6d68); font-size:12px; }
#research-library-browser .research-library-card-preview figure circle { fill:#24685e; fill-opacity:.78; }
#research-library-browser .research-library-card-preview figure line { stroke:#d4ddd6; stroke-width:1; }
#research-library-browser .research-library-card-preview figcaption { max-width:none; line-height:1.6; margin-top:4px; }
#research-library-browser .research-library-preview-empty { display:grid; justify-items:start; gap:10px; max-width:42ch; }
#research-library-browser .research-library-preview-empty > span { font:500 23px/1.2 var(--omega-display,"Newsreader",Georgia,serif); color:var(--omega-ink,#20322f); }
#research-library-browser .research-library-preview-empty :is(p,small) { font-size:12px; line-height:1.65; max-width:none; }
#research-library-browser .research-library-card-preview[aria-busy="true"] { border-top:3px solid var(--omega-accent,#24685e); padding-top:17px; }
#research-inspect-source .research-inspect-overview { padding:0 0 20px; margin-bottom:18px; border-bottom:1px solid var(--omega-line,#d4ddd6); }
#research-inspect-source .research-inspect-overview:empty { display:none; }
#research-inspect-source .research-inspect-overview dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
#research-inspect-source .research-inspect-overview dt { color:var(--omega-muted,#5e6d68); font-size:11px; margin-bottom:6px; }
#research-inspect-source .research-inspect-overview dd { margin:0; color:var(--omega-ink,#20322f); font-size:14px; line-height:1.55; }
#research-inspect-source .research-inspect-overview > p { margin-top:15px; color:var(--omega-muted,#5e6d68); font-size:12px; }
#research-inspect-source .research-inspect-overview details { margin-top:10px; color:var(--omega-muted,#5e6d68); font-size:13px; }
#research-inspect-source .research-inspect-overview summary { color:var(--omega-accent,#24685e); cursor:pointer; }
#research-inspect-source .research-inspect-overview details p { max-width:75ch; margin-top:10px; line-height:1.7; }
#research-inspect-source #research-inspect-guidance { font-size:13px; line-height:1.65; color:var(--omega-accent,#24685e); padding:0 0 18px; }
#research-inspect-source #research-public-data .research-query-grid { gap:18px; }
#research-inspect-source #research-public-data .research-preview-figure svg { max-height:400px; background:#f3f5f1; }
/* Inspect starts with actual source scope and a geographic choice. The map
   is a location selector, never an invented measurement surface. */
#research-inspect-source .research-inspect-availability { display:grid; grid-template-columns:1fr 1fr; gap:28px; padding:2px 0 20px; }
#research-inspect-source .research-inspect-availability .research-inspect-section-label { font-size:11px; color:#5e6d68; margin:0 0 7px; text-transform:uppercase; letter-spacing:.05em; }
#research-inspect-source .research-inspect-availability strong { display:block; color:#20322f; font-size:17px; line-height:1.5; font-weight:550; font-variant-numeric:tabular-nums; }
#research-inspect-source .research-inspect-availability p { margin:7px 0 0; font-size:12px; line-height:1.6; color:#5e6d68; }
#research-inspect-source .research-inspect-measurements { padding:18px 0 0; border-top:1px solid #d4ddd6; }
#research-inspect-source .research-inspect-measurements header { display:flex; align-items:baseline; justify-content:space-between; gap:15px; }
#research-inspect-source :is(.research-inspect-measurements,.research-inspect-location) h4 { font:500 25px/1.2 var(--omega-display,"Newsreader",Georgia,serif); color:#20322f; margin:0; }
#research-inspect-source .research-inspect-measurements :is(header span,p) { font-size:12px; color:#5e6d68; line-height:1.6; }
#research-inspect-source .research-inspect-measurements > p { margin:8px 0 12px; }
#research-inspect-source .research-inspect-field-filter { display:grid; gap:6px; font-size:12px; color:#5e6d68; margin:14px 0; max-width:480px; }
#research-inspect-source #research-inspect-measurement-choices { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); gap:8px; max-height:235px; overflow:auto; padding:3px; margin-left:-3px; }
#research-inspect-source .research-inspect-measurement-choice { display:flex; flex-direction:column; align-items:start; gap:5px; text-align:left; padding:11px 13px; min-height:68px; }
#research-inspect-source .research-inspect-measurement-choice strong { font-size:13px; line-height:1.45; font-weight:500; }
#research-inspect-source .research-inspect-measurement-choice span { font-size:11px; color:#5e6d68; }
#research-inspect-source [data-inspect-measurement][aria-pressed="true"] { border-color:#24685e; background:#e9f0eb; box-shadow:inset 3px 0 #24685e; }
#research-inspect-source .research-inspect-location { margin:0 0 24px; }
#research-inspect-source .research-inspect-location > header p { margin:9px 0 14px; font-size:13px; color:#5e6d68; line-height:1.65; max-width:78ch; }
#research-inspect-source .research-inspect-map-tools { display:flex; align-items:end; flex-wrap:wrap; gap:10px; margin-bottom:12px; }
#research-inspect-source .research-inspect-map-tools label { display:grid; gap:5px; min-width:180px; font-size:11px; color:#5e6d68; }
#research-inspect-source .research-inspect-map-tools select { min-height:40px; padding:9px 12px; }
#research-inspect-source .research-inspect-geography { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
#research-inspect-source .research-inspect-geography:has(#research-inspect-directory:not([hidden])) { grid-template-columns:minmax(0,1fr) 270px; }
#research-inspect-source .research-inspect-location-map { height:340px; width:100%; min-width:0; border:1px solid #c4d0c6; border-radius:4px; background:#eef2ed; z-index:0; font-family:var(--omega-font,"Segoe UI",sans-serif); }
#research-inspect-source .research-inspect-location-map .leaflet-control-zoom a { color:#20322f; background:#fff; }
#research-inspect-source .research-inspect-location-map .leaflet-control-attribution { color:#536760; background:rgba(255,255,255,.9); font-size:10px; }
#research-inspect-source :is(#research-inspect-map-coverage,.research-inspect-map-key,#research-inspect-station-status) { font-size:11px; color:#5e6d68; line-height:1.6; margin-top:9px; }
#research-inspect-source #research-inspect-map-status { color:#24685e; font-size:13px; line-height:1.6; margin:12px 0 0; }
#research-inspect-source #research-inspect-directory { min-width:0; display:flex; flex-direction:column; gap:9px; }
#research-inspect-source #research-inspect-directory > label { display:grid; gap:6px; font-size:12px; color:#5e6d68; }
#research-inspect-source #research-inspect-directory > label input { width:100%; }
#research-inspect-source #research-inspect-station-choices { display:grid; gap:7px; max-height:270px; overflow:auto; padding:3px; margin-left:-3px; }
#research-inspect-source #research-inspect-station-choices button { display:grid; justify-items:start; gap:5px; text-align:left; width:100%; padding:10px 12px; }
#research-inspect-source #research-inspect-station-choices button strong { font-size:12px; font-weight:550; line-height:1.45; }
#research-inspect-source #research-inspect-station-choices button span { font-size:11px; color:#5e6d68; }
#research-inspect-source #research-inspect-station-choices [aria-pressed="true"] { background:#e9f0eb; border-color:#24685e; box-shadow:inset 3px 0 #24685e; }
#research-inspect-source #research-inspect-station-choices > p { font-size:12px; line-height:1.6; color:#5e6d68; }
#research-inspect-source #research-inspect-provider-directory { display:inline-block; margin-top:14px; font-size:14px; }
#research-inspect-source #research-public-station-finder,
#research-inspect-source #research-public-form label:has(> #research-public-variable) { display:none; }
/* A short request path: measurement, place, period, then the returned preview.
   Exact extraction controls remain in one optional request disclosure. */
#research-inspect-source .research-inspect-overview { padding:0; margin:0 0 16px; border:0; background:none; }
#research-inspect-source .research-inspect-measurements { padding:0; margin:0; border:0; }
#research-inspect-source .research-inspect-measurements > label { display:block; font-size:13px; font-weight:550; margin-bottom:7px; }
#research-inspect-source #research-inspect-measurement-choices { display:block; }
#research-inspect-source #research-inspect-measurement-choice { width:100%; min-height:44px; font-size:15px; }
#research-inspect-source #research-inspect-measurement-count:empty { display:none; }
#research-inspect-source .research-inspect-dataset-notes { margin-top:10px; color:#5e6d68; font-size:12px; }
#research-inspect-source .research-inspect-dataset-notes > summary { cursor:pointer; padding:4px 0; }
#research-inspect-source .research-inspect-dataset-notes .research-inspect-availability { margin:14px 0; }
#research-inspect-source .research-inspect-fixed-place { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; font-size:13px; margin-top:14px; }
#research-inspect-source .research-inspect-location { margin:0 0 18px; padding:0; border:0; }
#research-inspect-source .research-inspect-location > header h4 { font-size:18px; margin:0 0 4px; }
#research-inspect-source .research-inspect-location > header p { font-size:12px; margin:0 0 10px; }
#research-inspect-source .research-inspect-map-tools { margin:0 0 10px; gap:8px; }
#research-inspect-source .research-inspect-map-tools :is(button,select) { min-height:34px; padding:5px 9px; font-size:12px; }
#research-inspect-source .research-inspect-location-map { height:260px; min-height:0; }
#research-inspect-source #research-inspect-station-choices { max-height:205px; }
#research-inspect-source #research-inspect-station-choices button { padding:8px 10px; gap:3px; }
#research-inspect-source #research-inspect-station-choices button > span:nth-of-type(n+2) { display:none; }
#research-inspect-source #research-inspect-station-status { font-size:11px; margin:0; }
#inspect-page #research-inspect-source #research-inspect-guidance { display:none; }
#research-inspect-source #research-public-data { padding:0; border:0; }
#research-inspect-source #research-public-form > .research-query-grid:not(:has(input,select)) { display:none; }
#research-inspect-source #research-public-form > .research-query-grid { margin:10px 0; grid-template-columns:minmax(0,1fr); }
#research-inspect-source #research-public-form > p:not([id]),
#research-inspect-source #research-public-form > #research-public-date-summary:not([data-tone="warning"]),
#research-inspect-source #research-public-date-archive { display:none; }
#research-inspect-source #research-public-data .research-date-tools { grid-template-columns:minmax(0,1fr); padding:0; border:0; background:none; margin:12px 0 5px; }
#research-inspect-source #research-public-data .research-inspect-period { display:flex; align-items:center; gap:12px; flex-wrap:wrap; font-size:13px; margin:7px 0; }
#research-inspect-source #research-public-data .research-inspect-period button { min-height:30px; font-size:12px; padding:4px 9px; }
#research-inspect-source #research-public-data .research-inspect-advanced { margin:18px 0 0; background:#f5f4f0; }
#research-inspect-source #research-public-inspect-options > label { margin-top:14px; }
#research-inspect-source #research-public-inspect-options :is(#research-public-details,#research-public-date-help,#research-public-request-options) { background:none; padding:10px 0; border:0; }
/* Calendar dates and the destination of a preview are primary decisions.
   Provider exact-time controls stay mounted once in Advanced request. */
#research-inspect-source .research-inspect-selected-place { color:#20322f; background:#edf2ef; border-left:3px solid #24685e; padding:10px 13px; font-size:13px; line-height:1.6; margin:0 0 15px; }
#research-inspect-source #research-public-data .research-inspect-period { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px 16px; align-items:center; margin:12px 0 20px; }
#research-inspect-source .research-inspect-calendar { display:grid; grid-template-columns:minmax(160px,1.2fr) repeat(2,minmax(0,1fr)); gap:14px; grid-column:1 / -1; }
#research-inspect-source .research-inspect-calendar>label:has(#research-public-date-preset) { order:-1; }
#research-inspect-source .research-inspect-calendar label { display:grid; gap:6px; font-size:13px; color:#20322f; }
#research-inspect-source .research-inspect-calendar input { width:100%; min-height:44px; font-variant-numeric:tabular-nums; }
#research-inspect-source #research-public-period-label { font-size:12px; color:#5e6d68; line-height:1.5; }
#research-inspect-source .research-inspect-calendar-note { grid-column:1 / -1; font-size:11px; color:#5e6d68; }
#research-inspect-source .research-inspect-intent { display:grid; grid-template-columns:minmax(210px,.8fr) minmax(0,1fr); gap:18px; align-items:center; padding:16px 0; border-top:1px solid #d4ddd6; margin:12px 0 0; }
#research-inspect-source .research-inspect-intent>label { order:0; display:grid; gap:6px; font-size:13px; color:#20322f; }
#research-inspect-source .research-inspect-intent>p { order:1; font-size:12px; color:#5e6d68; line-height:1.55; }
#research-inspect-source .research-inspect-intent select { width:100%; }
#research-inspect-source #research-public-inspect-options #research-public-study-context { margin:12px 0; padding:12px; }
#research-inspect-source .research-inspect-quick-preview { display:flex; flex-wrap:wrap; align-items:center; gap:8px 20px; padding:12px 0; border-bottom:1px solid #d4ddd6; margin:8px 0 12px; }
#research-inspect-source .research-inspect-quick-preview label { display:flex; align-items:center; gap:9px; color:#24685e; font-size:13px; font-weight:550; cursor:pointer; }
#research-inspect-source .research-inspect-quick-preview input[type="checkbox"] { width:17px; height:17px; min-height:17px; margin:0; padding:0; accent-color:#24685e; }
#research-inspect-source .research-inspect-quick-preview p { color:#5e6d68; font-size:12px; flex:1 1 250px; }
#research-inspect-source .research-inspect-quick-preview>.button-primary { margin-left:auto; min-height:40px; }
#research-inspect-source .research-inspect-comparisons { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px 12px; align-items:end; border-top:1px solid #d4ddd6; padding-top:15px; margin-top:15px; }
#research-inspect-source .research-inspect-comparisons>label { display:grid; gap:7px; color:#20322f; font-size:13px; font-weight:550; }
#research-inspect-source .research-inspect-comparisons select { width:100%; min-height:40px; }
#research-inspect-source .research-inspect-comparisons>button { min-height:40px; }
#research-inspect-source .research-inspect-comparisons>p,
#research-inspect-source .research-inspect-comparisons>details,
#research-inspect-source .research-inspect-measurement-chips { grid-column:1 / -1; }
#research-inspect-source .research-inspect-comparisons>p { color:#5e6d68; font-size:12px; line-height:1.5; margin:0; }
#research-inspect-source .research-inspect-measurement-chips { display:flex; flex-wrap:wrap; gap:8px; }
#research-inspect-source .research-inspect-measurement-chip { display:flex; align-items:center; gap:8px; border:1px solid #b9cec5; background:#edf2ef; border-radius:4px; padding:7px 10px; color:#20322f; font-size:13px; }
#research-inspect-source .research-inspect-measurement-chip small { display:block; font-size:11px; color:#5e6d68; padding-top:2px; }
#research-inspect-source .research-inspect-measurement-chip button { background:transparent; color:#24685e; border:0; font-size:20px; min-height:32px; min-width:32px; padding:0; }
#research-inspect-source #research-public-measurements { padding:0; margin:0; border:0; background:none; }
#research-inspect-source #research-public-measurements>summary { padding:6px 0; color:#24685e; font-size:13px; }
#research-inspect-source #research-public-measurements-list { max-height:220px; overflow:auto; overscroll-behavior:contain; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr)); gap:7px; margin-top:10px; }
#research-inspect-source #research-public-measurements .research-measurement-check { color:#20322f; background:#fff; border-color:#d4ddd6; padding:9px; }
#research-inspect-source #research-public-measurements .research-measurement-check input { width:17px; height:17px; min-height:17px; accent-color:#24685e; }
#research-inspect-source #research-public-preview-panel { margin:12px 0 20px; }
#research-inspect-source #research-public-preview-panel>.research-preview-figure { margin:12px 0 18px; }
#research-inspect-source #research-public-preview-panel>.research-preview-fields:has(>button:only-child) { display:none; }
#research-inspect-source #research-public-preview-panel>.research-preview-fields { max-height:125px; overflow:auto; overscroll-behavior:contain; margin:12px 0 0; }
@media(max-width:650px){
  #research-inspect-source #research-public-data .research-inspect-period { grid-template-columns:minmax(0,1fr); }
  #research-inspect-source .research-inspect-intent { grid-template-columns:minmax(0,1fr); gap:8px; }
  #research-inspect-source .research-inspect-calendar { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #research-inspect-source .research-inspect-calendar>label:has(#research-public-date-preset) { grid-column:1 / -1; }
  #research-inspect-source .research-inspect-comparisons { grid-template-columns:minmax(0,1fr); }
  #research-inspect-source .research-inspect-quick-preview>.button-primary { width:100%; margin:0; }
}
@media(max-width:1100px) {
  #research-inspect-source .research-inspect-geography:has(#research-inspect-directory:not([hidden])) { grid-template-columns:minmax(0,1fr); }
  #research-inspect-source #research-inspect-station-choices { grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); max-height:235px; }
}
@media(max-width:650px) {
  #research-inspect-source .research-inspect-availability { grid-template-columns:minmax(0,1fr); gap:17px; }
  #research-inspect-source .research-inspect-location-map { height:290px; }
  #research-inspect-source .research-inspect-measurements header { align-items:start; }
}

/* The operational Inspector is part of the same light workspace. Keep its
   readings, trend cards, watches and fixed history dialog fully available. */
#inspect-page[data-research-surface="tools"] { --ink:#20322f; --text:#20322f; --muted:#5e6d68; --line:#d4ddd6; --panel:#fff; --panel-bg:#fff; color:#20322f; }
#inspect-page[data-research-surface="tools"] :is(.inspect-viewport,.watches-panel) { background:#fff; border:1px solid #d4ddd6; border-radius:4px; box-shadow:none; }
#inspect-page[data-research-surface="tools"] :is(.panel-title,.page-head h2,.inspect-quick-chart-titletext) { color:#20322f; font-family:var(--omega-display,"Newsreader",Georgia,serif); font-weight:500; }
#inspect-page[data-research-surface="tools"] :is(.inspect-guidance,.muted,.inspect-filter-field,.inspect-reading-toolbar label,.live-tile-unit,.live-tile-source,.live-tile-spread,.live-tile-meta,.inspect-sparkline-caption) { color:#5e6d68; }
#inspect-page[data-research-surface="tools"] :is(input,select) { color:#20322f; background:#fff; border-color:#d4ddd6; border-radius:4px; min-height:38px; }
#inspect-page[data-research-surface="tools"] :is(.button-secondary,.category-chip,.recipe-chip,.outcome-chip,.research-help-button,.workspace-tab,.watches-quickadd) { color:#20322f; background:#f5f4f0; border-color:#d4ddd6; box-shadow:none; }
#inspect-page[data-research-surface="tools"] :is(.category-chip.is-active,.workspace-tab.is-active) { color:#24685e; background:#e9f0eb; border-color:#24685e; }
#inspect-page[data-research-surface="tools"] .live-tile { color:#20322f; background:#fff; border-color:#d4ddd6; border-radius:4px; }
#inspect-page[data-research-surface="tools"] .live-tile-label { color:#20322f; }
#inspect-page[data-research-surface="tools"] .live-tile-value { color:#20322f; font-variant-numeric:tabular-nums; }
#inspect-page[data-research-surface="tools"] :is(button.live-tile:hover,.is-reading-list .live-tile:hover) { background:#edf2ef; border-color:#8faf9c; }
#inspect-page[data-research-surface="tools"] .inspect-live-tiles.is-reading-list { border-color:#d4ddd6; }
#inspect-page[data-research-surface="tools"] .is-reading-list .live-tile { border-radius:0; }
#inspect-page[data-research-surface="tools"] :is(.live-tile-history,details>summary) { color:#24685e; }
#inspect-page[data-research-surface="tools"] .live-tile-sparkline path.stroke { stroke:#24685e; }
#inspect-page[data-research-surface="tools"] .live-tile-sparkline path.fill { fill:rgba(36,104,94,.07); }
#inspect-page[data-research-surface="tools"] #inspect-quick-chart,
#inspect-page[data-research-surface="tools"] #inspect-quick-chart .inspect-quick-chart-head { color:#20322f; background:#fff; border-color:#d4ddd6; }
#inspect-page[data-research-surface="tools"] #inspect-quick-chart { box-shadow:0 18px 64px rgba(32,50,47,.18),0 0 0 100vmax rgba(32,50,47,.3); }
#inspect-page[data-research-surface="tools"] #inspect-quick-chart .inspect-quick-chart-canvas { background:#f3f5f1; }
#inspect-page[data-research-surface="tools"] #inspect-quick-chart :is(svg text,.inspect-quick-chart-tools>label) { color:#5e6d68; fill:#5e6d68; }
@media (max-width:650px) {
  #research-inspect-source .research-inspect-overview dl { grid-template-columns:minmax(0,1fr); gap:13px; }
  #research-library-browser .research-library-collection-context { align-items:start; }
  #research-library-browser .research-library-card-preview,
  #research-library-browser .research-library-card-preview:not(:has(svg)) { min-height:220px; padding:18px; }
}
@media (min-width:1400px) {
  #research-library-browser .research-library-layout { grid-template-columns:minmax(0,1fr) 300px; gap:36px; }
}
@media (max-width:1050px) {
  #research-library-browser .research-library-layout,
  #research-inspect-source .research-source-inspection-layout { grid-template-columns:minmax(0,1fr) 238px; gap:22px; }
  :is(#research-library-browser,#research-inspect-source) .research-study-basket { padding-left:20px; }
  #research-library-browser .research-library-card-body { padding:20px; }
}
@media (max-width:800px) {
  #research-library-browser .research-library-layout,
  #research-inspect-source .research-source-inspection-layout { grid-template-columns:minmax(0,1fr); gap:24px; }
  :is(#research-library-browser,#research-inspect-source) .research-study-basket { border-left:0; border-top:1px solid var(--omega-line,#cedbd4); padding:22px 0 0; }
  :is(#research-library-browser,#research-inspect-source) .research-study-basket-actions { flex-direction:row; flex-wrap:wrap; }
  :is(#research-library-browser,#research-inspect-source) .research-study-basket-actions .button { width:auto; }
  #research-library-browser .research-library-cards { grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); }
}
@media (max-width:560px) {
  #library-page #research-library-browser,#inspect-page #research-inspect-source { padding-top:0; }
  #research-library-browser .research-library-heading,#research-inspect-source .research-source-inspection-header { flex-wrap:wrap; gap:12px; margin-bottom:20px; }
  #research-library-browser .research-library-heading h3,#research-inspect-source .research-source-inspection-header :is(h2,h3) { font-size:32px; }
  #research-library-browser .research-library-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  #research-library-browser .research-library-cards { grid-template-columns:minmax(0,1fr); gap:18px; }
  #research-library-browser .research-library-card h4 { font-size:27px; }
  #research-library-browser .research-library-card-preview { padding:16px 20px; min-height:154px; }
  #research-library-browser .research-library-pagination { flex-wrap:wrap; }
  :is(#research-library-browser,#research-inspect-source) :is(button,.button) { min-height:44px; }
  :is(#research-library-browser,#research-inspect-source) :is(input,select) { font-size:16px; }
  #research-inspect-source #research-public-data { padding:16px; }
  #research-inspect-source #research-public-data :is(.research-query-grid,.research-source-facts,.research-date-tools) { grid-template-columns:minmax(0,1fr); }
  #research-inspect-source #research-public-data .research-preview-heading { display:block; }
  #research-inspect-source #research-public-data .research-preview-badge { display:inline-block; margin-top:8px; }
  #research-inspect-source #research-public-data .research-preview-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
