/* Resource collection: shared type, photography, controls, and reading rhythm. */
.resources-v3 {
  --rs-paper:#f5f7f3; --rs-surface:#fff; --rs-ink:#18392e; --rs-muted:#586e61;
  --rs-green:#226b4e; --rs-lime:#d0ec9b; --rs-line:#d8e2d8; --rs-dark:#12352a;
  --rs-radius:8px; --rs-gutter:clamp(20px,3.2vw,64px);
  font-kerning:normal; text-rendering:optimizeLegibility;
}
.resources-v3 :is(.rs-shell,.rh-shell,.inner-container) { width:min(calc(100% - var(--rs-gutter)*2),1440px); }
.resources-v3 main :is(p,dd,li) { overflow-wrap:break-word; }
.resources-v3 main :is(h1,h2,h3) { text-wrap:pretty; word-break:normal; }
.resources-v3 main :is(input,select,textarea) { font-family:inherit; }
.resources-v3 main :is(button,a) { touch-action:manipulation; }
.resources-v3 main :is(section,article,header)[id] { scroll-margin-top:88px; }
.resources-v3 .rs-kicker { font-size:11px; letter-spacing:.16em; }

/* The image remains visible; the text sits over a controlled dark area. */
.resources-v3 .rs-hero { background:var(--rs-dark); color:#fff; }
.resources-v3 .rs-home-hero { min-height:clamp(470px,38vw,620px); }
.resources-v3 .rs-channel-hero { min-height:360px; }
.resources-v3 .rs-hero-photo { inset:-36px -16px; width:calc(100% + 32px); height:calc(100% + 72px); object-position:65% 50%; filter:none; transition:none; }
.resources-v3 .rs-home-hero .rs-hero-photo { object-position:50% 54%; }
.resources-v3 .rs-hero-shade { background:linear-gradient(90deg,#0b2b22f5 0%,#103327dd 32%,#153b2c77 58%,#0e2c2424 85%),linear-gradient(0deg,#09271d66,transparent 28%); }
.resources-v3 .rs-hero-copy { padding-block:52px 84px; }
.resources-v3 .rs-hero-copy > * { animation-name:rs-title-enter; animation-duration:650ms; }
.resources-v3 .rs-home-hero .rs-hero-copy { padding-block:66px 98px; }
.resources-v3 .rs-hero h1 { max-width:820px; font-size:clamp(34px,3.7vw,56px); line-height:1.22; letter-spacing:-.035em; color:#fff; }
.resources-v3 .rs-home-hero h1 { font-size:clamp(40px,4.5vw,72px); }
.resources-v3 .rs-hero .rs-kicker { color:#cee3b9; }
.resources-v3 .rs-hero-lead { max-width:36em; margin-top:22px; color:#e0eadf; font-size:15px; line-height:1.85; }
.resources-v3 .rs-hero a { color:#fff; }
.resources-v3 .rs-hero-actions { gap:26px; margin-top:28px; }
.resources-v3 .rs-hero-actions .rs-primary { background:var(--rs-lime); color:#193d2d; border-radius:5px; box-shadow:none; }
.resources-v3 .rs-hero .rs-text-link { min-height:42px; margin-top:18px; border-bottom-color:#d0e4bb88; padding-bottom:3px; }
.resources-v3 .rs-hero-foot { bottom:20px; padding-top:14px; gap:12px; border-color:#d5e6ce40; color:#d4e4d2; font-size:11px; letter-spacing:.04em; }
.resources-v3 :is(.rs-suite,.ro-suite-nav) { gap:20px; padding-inline:max(var(--rs-gutter),calc((100% - 1440px)/2)); min-height:60px; }
.resources-v3 :is(.rs-suite,.ro-suite-nav) > div { display:flex; flex:0 0 auto; margin-left:auto; grid-template-columns:none; justify-content:flex-end; gap:24px; }
.resources-v3 :is(.rs-suite,.ro-suite-nav) a { min-height:60px; padding-inline:12px; font-size:13px; }
.resources-v3 :is(.rs-suite-home,.ro-suite-label) { padding-right:24px !important; }
.resources-v3 :is(.rs-suite,.ro-suite-nav) a[aria-current="page"] { font-weight:750; }

/* Two research routes, with consistent image and text proportions. */
.resources-v3 .rs-directory { padding-block:52px; }
.resources-v3 .rs-section-heading { margin-bottom:26px; }
.resources-v3 .rs-section-heading h2 { font-size:clamp(28px,2.5vw,40px); line-height:1.35; }
.resources-v3 .rs-channel-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.resources-v3 .rs-channel { display:flex; flex-direction:column; border-radius:var(--rs-radius); box-shadow:0 3px 16px #163b2605; }
.resources-v3 .rs-channel-visual { height:auto; aspect-ratio:16/9; flex-shrink:0; }
.resources-v3 .rs-channel-visual > img { object-position:center; image-rendering:auto; }
.resources-v3 .rs-channel-index { border:1px solid #ffffff4a; background:#14372de8; color:#fff; border-radius:4px; top:16px; left:16px; }
.resources-v3 .rs-channel-copy { flex:1; display:flex; flex-direction:column; padding:24px; }
.resources-v3 .rs-channel-copy h3 { margin:12px 0; font-size:clamp(21px,1.8vw,27px); }
.resources-v3 .rs-channel-copy h3 span { flex:none; width:34px; height:34px; }
.resources-v3 .rs-channel-copy p { min-height:0; margin-bottom:20px; font-size:14px; line-height:1.8; }
.resources-v3 .rs-channel-copy > span { margin-top:auto; padding-top:15px; font-size:12px; }
.resources-v3 .rs-topic-art { background:#193d30; color:#ecf4df; }
.resources-v3 .rs-topic-art :is(i,small) { color:#bdd5b8; }
.resources-v3 .rs-topic-art b { background:#ffffff0b; border-color:#bed7b64d; }
.resources-v3 .rs-term-art { color:#244f3a; background:#e6eccc; }
.resources-v3 .rs-quickstart { gap:36px; margin-bottom:48px; padding:30px 36px; border:1px solid var(--rs-line); border-radius:var(--rs-radius); background:var(--rs-surface); align-items:center; }
.resources-v3 .rs-quickstart h2 { line-height:1.4; }
.resources-v3 .rs-quickstart a { padding-block:18px; }
.resources-v3 .rs-photo-credits { margin-block:0 30px; font-size:11px; color:var(--rs-muted); line-height:1.8; }
.resources-v3 .rs-photo-credits summary { cursor:pointer; width:max-content; padding-block:8px; }
.resources-v3 .rs-photo-credits p { max-width:900px; margin:8px 0; }
.resources-v3 .rs-photo-credits a { color:var(--rs-green); text-underline-offset:3px; }

/* One compact filter area and an unobtrusive collection toolbar. */
.resources-v3 .ro-command { gap:12px 20px; margin-top:24px; padding:16px; border:1px solid var(--rs-line); border-radius:var(--rs-radius); background:var(--rs-surface); }
.resources-v3 .ro-search { min-height:46px; padding-inline:14px; background:var(--rs-paper); }
.resources-v3 .ro-search input { min-width:0; height:44px; font-size:14px; }
.resources-v3 .ro-command > p { margin:0; font-size:12px; }
.resources-v3 .ro-filters { gap:6px; }
.resources-v3 .ro-filters button { padding:8px 14px; min-height:38px; border-color:transparent; background:var(--rs-paper); font-size:13px; border-radius:4px; }
.resources-v3 .ro-workspace { margin-top:12px; padding-bottom:0; }
.resources-v3 .ro-workspace-dock { min-height:50px; padding-bottom:12px; gap:16px; }
.resources-v3 .ro-workspace-actions button { min-height:36px; font-size:12px; }
.resources-v3 .rs-source-notice { margin-block:12px 20px; font-size:12px; line-height:1.7; }
.resources-v3 .ro-item-actions { gap:8px; }
.resources-v3 .ro-item-actions :is(a,button) { min-height:38px; border-radius:4px; font-size:12px; padding-inline:13px; }
.resources-v3 .ro-item-actions a:first-child { background:var(--rs-green); color:#fff; border-color:var(--rs-green); }
.resources-v3 .ro-item-actions a:first-child img { filter:brightness(0) invert(1); }
.resources-v3 :is(.ro-method,.ro-data,.ro-library) { padding-bottom:44px; }

/* Method rows stay compact, with the open procedure clearly distinguished. */
.resources-v3 .ro-method-river { gap:12px; }
.resources-v3 .ro-method-stop { border-radius:var(--rs-radius); }
.resources-v3 .ro-method-stop > button,
.resources-v3 .ro-method-stop:nth-child(even) > button,
.resources-v3 .ro-method-stop:nth-child(odd) > button { grid-template-columns:48px minmax(0,1fr) 44px; gap:20px; min-height:96px; padding:20px 26px; }
.resources-v3 .ro-method-number { font:500 28px/1.2 Georgia,serif; color:#769480; }
.resources-v3 .ro-method-title strong { font-size:clamp(18px,1.7vw,24px); }
.resources-v3 .ro-method-title small { font-size:12px; }
.resources-v3 .ro-method-panel { margin-inline:94px 26px; }
.resources-v3 .ro-method-panel :is(p,dl > div) { font-size:14px; line-height:1.85; }
.resources-v3 .ro-method-panel dl { gap:12px; }
.resources-v3 .ro-method-panel dl > div { border-radius:5px; padding:16px 18px; }
.resources-v3 .ro-method-stop.is-open { border-left-width:3px; }

/* Dataset selection: clear selected row, readable metadata and a bounded list. */
.resources-v3 .ro-data-canvas { grid-template-columns:minmax(0,1fr) minmax(260px,32%); min-height:470px; border-radius:var(--rs-radius); overflow:hidden; }
.resources-v3 .ro-data-backdrop { opacity:.05; }
.resources-v3 .ro-data-wash { background:linear-gradient(120deg,#ffffffed,#f4f8f0e8); }
.resources-v3 .ro-data-feature { padding:clamp(24px,3vw,44px); }
.resources-v3 .ro-data-feature h2 { font-size:clamp(25px,2.5vw,38px); line-height:1.35; margin-block:12px 20px; }
.resources-v3 .ro-data-feature :is(dt,dd) { font-size:14px; line-height:1.8; }
.resources-v3 .ro-data-points { height:520px; padding:12px; background:#eaf0e7; overscroll-behavior:contain; }
.resources-v3 .ro-data-points button,
.resources-v3 .ro-data-points button:hover,
.resources-v3 .ro-data-points button[aria-pressed="true"] { min-height:84px; padding:16px 12px; border-radius:5px; }
.resources-v3 .ro-data-points button[aria-pressed="true"] { background:#1d5c43; color:#fff; box-shadow:none; }
.resources-v3 .ro-data-points small { font-size:12px; opacity:.85; }
.resources-v3 .ro-data-points button { box-shadow:none; }
.resources-v3 .ro-library-flow { gap:20px; }
.resources-v3 .ro-library-chapter,.resources-v3 .ro-library-chapter:nth-child(even) { grid-template-columns:54px minmax(0,1fr); border-radius:var(--rs-radius); overflow:hidden; }
.resources-v3 .ro-library-chapter > div:not(.rs-document-spine) { padding:26px; }
.resources-v3 .rs-document-spine { padding-inline:8px; border-right-width:3px; background:#1f513c; color:#e8f0dd; border-color:#173f2f; }
.resources-v3 .rs-document-spine img { filter:brightness(0) invert(1); }
.resources-v3 .ro-library-chapter:nth-child(3n + 2) .rs-document-spine { background:#655d40; border-color:#4c472f; }
.resources-v3 .ro-library-chapter:nth-child(3n) .rs-document-spine { background:#355e59; border-color:#294944; }
.resources-v3 .rs-document-spine :is(span,b) { color:#e8f0dd; }
.resources-v3 .ro-library-chapter h2 { font-size:clamp(20px,1.8vw,26px); line-height:1.4; }
.resources-v3 .ro-library-chapter > div > span { font-size:14px; line-height:1.85; }
.resources-v3 .ro-library-chapter dl > div { grid-template-columns:66px minmax(0,1fr); font-size:13px; }

/* Academic modes expose only the controls that apply to the chosen material. */
.resources-v3.academic-index-page { background:var(--rs-paper); }
html[data-theme="light"] body.resources-v3.academic-index-page { background:var(--rs-paper); }
.resources-v3.academic-index-page .resource-flow-screen { background:var(--rs-paper); }
.resources-v3.academic-index-page .ad-index-desk { width:min(calc(100% - var(--rs-gutter)*2),1440px); padding-block:24px 48px; gap:24px; grid-template-columns:minmax(0,1fr) 270px; }
.resources-v3.academic-index-page .ad-index-heading { min-height:250px; padding:38px 44px; border:0; border-radius:var(--rs-radius); background:#153a2d; margin:0; }
.resources-v3.academic-index-page .ad-index-heading-copy { width:64%; }
.resources-v3.academic-index-page .ad-index-heading h1 { font-size:clamp(34px,3.7vw,54px); color:#fff; letter-spacing:-.025em; }
.resources-v3.academic-index-page .ad-index-heading .ad-index-eyebrow { color:#d0e5bd; }
.resources-v3.academic-index-page .ad-index-heading-copy > p:not(.ad-index-eyebrow) { max-width:31em; font-size:15px; line-height:1.8; color:#dce9dc; }
.resources-v3.academic-index-page .ad-index-visual { width:65%; opacity:.82; mask-image:linear-gradient(90deg,transparent,#000 55%); }
.resources-v3.academic-index-page .ad-index-visual > img { transform:none; object-position:center 52%; transition:none; }
.resources-v3.academic-index-page .ad-flow-command { padding:0; border:0; background:transparent; }
.resources-v3.academic-index-page .ad-mode-tabs { display:flex; gap:6px; padding:5px; margin:0 0 16px; border:1px solid var(--rs-line); border-radius:6px; background:#eaf0e7; }
.resources-v3.academic-index-page .ad-mode-tabs button { flex:1 1 0; justify-content:center; min-width:0; min-height:42px; padding:8px; border:0; border-radius:4px; color:#506859; font-size:13px; white-space:nowrap; }
.resources-v3.academic-index-page .ad-mode-tabs button[aria-pressed="true"] { color:#fff; background:#245f46; }
.resources-v3.academic-index-page .ad-mode-tabs small { background:#ffffff35; color:inherit; font-size:10px; }
.resources-v3.academic-index-page .ad-editorial-search { min-height:56px; grid-template-columns:82px minmax(0,1fr) 104px; padding:5px; border-color:#a4bca7; box-shadow:none; }
.resources-v3.academic-index-page .ad-editorial-search input { font-size:15px; }
.resources-v3.academic-index-page .ad-editorial-search button[type="submit"] { background:#245f46; min-height:44px; }
.resources-v3.academic-index-page .ad-editorial-search button[type="submit"] { border-radius:4px !important; }
.resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools { grid-template-columns:repeat(4,minmax(0,1fr)) 58px 48px; min-height:64px; }
.resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools label { min-height:64px; grid-column:auto; grid-row:auto; }
.resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools > label { min-width:0; grid-area:auto !important; }
.resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools :is(.ad-filter-result-count,.ad-filter-reset) { min-height:44px; width:auto; }
.resources-v3.academic-index-page .ad-literature-filter-label { font-size:11px; }
.resources-v3.academic-index-page .ad-motion-select-value { font-size:13px; }
.resources-v3.academic-index-page .ad-index-sidebar { inset:auto; top:80px; border-radius:var(--rs-radius); padding:20px; max-height:calc(100dvh - 100px); }
.resources-v3.academic-index-page .ad-index-sidebar section { padding-block:18px; }
.resources-v3.academic-index-page .ad-index-side-title h2 { font-size:14px; }
.resources-v3.academic-index-page .ad-nebula-labels { grid-template-columns:repeat(2,minmax(0,1fr)); }
.resources-v3.academic-index-page .ad-nebula-labels button { padding:8px; font-size:12px; }
.resources-v3.academic-index-page .ad-literature-head { flex-wrap:wrap; gap:10px; margin-top:18px; }
.resources-v3.academic-index-page .ad-paper-record { border-radius:var(--rs-radius); padding:24px; }
.resources-v3.academic-index-page .ad-feature-paper-heading h2 { font-size:clamp(19px,1.6vw,24px); line-height:1.5; color:var(--rs-ink); }
.resources-v3.academic-index-page .ad-feature-abstract-preview > span { font-size:14px; line-height:1.85; color:var(--rs-muted); }
.resources-v3.academic-index-page .ad-paper-source-state summary { font-size:12px; }
.resources-v3.academic-index-page .ad-screen:not([data-academic-mode="papers"]) .ad-index-desk { grid-template-columns:minmax(0,1fr); grid-template-areas:'hero' 'main'; }
.resources-v3.academic-index-page .ad-screen:not([data-academic-mode="papers"]) .ad-editorial-search { grid-template-columns:minmax(0,1fr) 104px; }
.resources-v3.academic-index-page .ad-screen:not([data-academic-mode="papers"]) .ad-catalog { display:block; margin-top:18px; }
.resources-v3.academic-index-page .ad-catalog-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:0 0 18px; border:0; background:none; }
.resources-v3.academic-index-page .ad-subject-list { display:flex; flex-wrap:wrap; flex:1; gap:6px; min-width:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.resources-v3.academic-index-page .ad-subject-list button { display:inline-flex; align-items:center; gap:7px; min-height:36px; width:auto; padding:7px 12px; border:1px solid var(--rs-line); border-radius:4px; background:var(--rs-surface); font-size:12px; color:var(--rs-muted); }
.resources-v3.academic-index-page .ad-subject-list button[aria-pressed="true"] { background:#e4eedd; border-color:#abc59e; color:#214f36; }
.resources-v3.academic-index-page .ad-results { padding:0; background:transparent; border:0; }
.resources-v3.academic-index-page .ad-results-head { margin:0 0 18px; align-items:center; gap:14px; }
.resources-v3.academic-index-page .ad-results-head h2 { font-size:24px; }
.resources-v3.academic-index-page .ad-results-head select { min-height:38px; font-size:12px; }
.resources-v3.academic-index-page .ad-results-head > label { border-radius:5px; min-height:40px; }
.resources-v3.academic-index-page .ad-card-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:18px; }
.resources-v3.academic-index-page .ad-card-grid > .ad-card { grid-column:span 2; }
.resources-v3.academic-index-page .ad-card-grid:has(> .ad-card:last-child:nth-child(3n + 1)) > .ad-card:nth-last-child(-n + 4),
.resources-v3.academic-index-page .ad-card-grid:has(> .ad-card:last-child:nth-child(3n + 2)) > .ad-card:nth-last-child(-n + 2) { grid-column:span 3; }
.resources-v3.academic-index-page .ad-card-grid > .ad-card:only-child { grid-column:1/-1; }
.resources-v3.academic-index-page .ad-card { padding:24px; border-radius:var(--rs-radius); min-height:270px; }
.resources-v3.academic-index-page .ad-card h3 { font-size:21px; line-height:1.4; }
.resources-v3.academic-index-page .ad-card p { font-size:14px; line-height:1.85; color:var(--rs-muted); }
.resources-v3.academic-index-page .ad-card-meta { font-size:12px; line-height:1.6; }
.resources-v3.academic-index-page .ad-card :is(footer,a,.ad-card-tags) { font-size:12px; }
.resources-v3.academic-index-page .ad-card-footer { margin-top:auto; }
.resources-v3.academic-index-page .ad-dialog { width:min(760px,calc(100% - 32px)); max-height:calc(100dvh - 48px); border-radius:12px; padding:32px; }

/* Topic routes, glossary and detail pages share the same reading scale. */
.resources-v3 .inner-section { padding-block:44px; }
.resources-v3 .topic-route-matrix { gap:20px; }
.resources-v3 .topic-route-matrix article { display:flex; flex-direction:column; gap:0; min-height:0; padding:26px 30px; border-radius:var(--rs-radius); border-top:3px solid #397356; }
.resources-v3 .topic-route-matrix article > header { padding-bottom:18px; }
.resources-v3 .topic-route-matrix header h3 { font-size:25px; line-height:1.4; }
.resources-v3 .topic-route-matrix ol { border-top:0; }
.resources-v3 .topic-route-matrix li { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.8fr); gap:20px; padding-block:16px; }
.resources-v3 .topic-route-matrix li :is(a,small) { min-width:0; line-height:1.7; }
.resources-v3 .topic-relationship-map { border-radius:var(--rs-radius); }
.resources-v3 .rs-glossary-hero { background:linear-gradient(110deg,#14392d,#2e5d42); }
.resources-v3 .rs-glossary-art { color:#d4e6b8; opacity:.85; }
.resources-v3 .rs-glossary-art > span { border-color:#b2ce974a; }
.resources-v3 .rs-glossary-art > i { color:#d4e6b8; }
.resources-v3 .glossary-command { gap:16px; padding:12px 18px; border-radius:var(--rs-radius); min-height:66px; }
.resources-v3 .glossary-command input { min-height:40px; font-size:15px; }
.resources-v3 .glossary-command > span { font-size:12px; }
.resources-v3 .glossary-index,.resources-v3 .glossary-definition { border-radius:var(--rs-radius); }
.resources-v3 .glossary-shell { grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr); gap:24px; }
.resources-v3 .glossary-term-list button { min-height:66px; padding:14px; }
.resources-v3 .glossary-definition { top:80px; padding:30px; border-top:3px solid #397356; }
.resources-v3 .glossary-definition h3 { font-size:28px; }
.resources-v3 .glossary-definition section p { font-size:16px; line-height:1.9; }
.resources-v3 .glossary-definition-title p { font-size:17px; }
.resources-v3 :is(.method-hero,.dataset-masthead,.knowledge-hero) { background:#e6efe1; padding-block:32px 38px; }
.resources-v3 :is(.method-hero,.dataset-masthead,.knowledge-hero) h1 { font-size:clamp(30px,3.5vw,52px); line-height:1.3; }
.resources-v3 :is(.method-hero,.dataset-masthead,.knowledge-hero) :is(p,dd,.dataset-summary) { font-size:15px; line-height:1.85; }
.resources-v3 :is(.method-hero-figure,.dataset-schema-card,.knowledge-hero-figure) { border-radius:var(--rs-radius); }
.resources-v3 :is(.method-article,.dataset-article,.knowledge-article) { font-size:16px; line-height:1.9; }
.resources-v3 .rs-entry { max-width:1440px; padding:24px var(--rs-gutter) 48px; }
.resources-v3 .rs-entry-hero { padding:clamp(24px,3vw,44px); border-radius:var(--rs-radius); background:#e6efdf; gap:32px; }
.resources-v3 .rs-entry-hero h1 { font-size:clamp(28px,3vw,44px); }
.resources-v3 .rs-entry-layout { gap:24px; margin-top:24px; }
.resources-v3 :is(.rs-entry-facts,.rs-entry-provenance,.rs-entry-downloads) { border-radius:var(--rs-radius); }
.resources-v3 .rs-entry dl > div { font-size:14px; line-height:1.8; }
.resources-v3 .rs-entry h2 { font-size:23px; }
.resources-v3 .academic-paper-hero { background:#e6efdf; }
.resources-v3 .academic-paper-hero h1 { font-size:clamp(28px,3vw,44px); line-height:1.4; }
.resources-v3 .academic-paper-shell { width:min(calc(100% - var(--rs-gutter)*2),1320px); }
.resources-v3.academic-paper-page { --paper-bg:var(--rs-paper); --paper-card:var(--rs-surface); --paper-ink:var(--rs-ink); --paper-muted:var(--rs-muted); --paper-line:var(--rs-line); --paper-blue:#276b50; --paper-soft:var(--rs-paper); }
.resources-v3 .academic-paper-main { padding:24px 0 48px; background:var(--rs-paper); }
.resources-v3 .academic-paper-facts { align-self:start; }
.resources-v3 .academic-paper-record { border-radius:8px;box-shadow:none; }
.resources-v3 :is(.academic-paper-content,.academic-paper-hero) { padding:clamp(24px,3vw,42px); }
.resources-v3 .academic-paper-visual img { width:auto;max-width:100%;border-radius:6px; }
.resources-v3 .academic-paper-official { border-radius:4px;color:#fff; }

@media (hover:hover) and (pointer:fine) {
  .resources-v3 .rs-channel:hover { transform:translateY(-5px); border-color:#97b18d; box-shadow:0 14px 34px #163b2612; }
  .resources-v3 .rs-hero-actions .rs-primary:hover { background:#e0f2b8; }
  .resources-v3 :is(.ad-card,.topic-route-matrix article):hover { border-color:#8ca780; box-shadow:0 8px 24px #163b260c; }
}
@media (max-width:1100px) {
  .resources-v3 .rs-channel-grid { gap:18px; }
  .resources-v3 .rs-channel-copy { padding:20px; }
  .resources-v3.academic-index-page .ad-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .resources-v3.academic-index-page .ad-card-grid > .ad-card:nth-child(n) { grid-column:auto; }
  .resources-v3.academic-index-page .ad-card-grid > .ad-card:last-child:nth-child(odd) { grid-column:1/-1; }
  .resources-v3.academic-index-page .ad-index-desk { grid-template-columns:minmax(0,1fr) 240px; gap:20px; }
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools { grid-template-columns:repeat(2,minmax(0,1fr)) 58px 48px; }
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools label:nth-child(3) { grid-column:1; grid-row:2; }
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools label:nth-child(4) { grid-column:2; grid-row:2; }
}
@media (max-width:980px) {
  .resources-v3.academic-index-page .ad-index-desk { grid-template-columns:minmax(0,1fr); grid-template-areas:'hero' 'main' 'sidebar'; }
  .resources-v3.academic-index-page .ad-index-sidebar { position:static; max-height:none; }
  .resources-v3.academic-index-page .ad-index-heading { min-height:220px; padding:30px; }
  .resources-v3.academic-index-page .ad-index-heading-copy { width:72%; }
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools { grid-template-columns:repeat(4,minmax(0,1fr)) 54px 44px; }
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools label { grid-column:auto !important; grid-row:auto !important; }
  .resources-v3 .ro-data-canvas { grid-template-columns:minmax(0,1fr); }
  .resources-v3 .ro-data-points { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); height:auto; max-height:300px; padding:12px; gap:6px; border-left:0; border-top:1px solid var(--rs-line); }
}
@media (min-width:761px) and (max-width:1199px) {
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools :is(.ad-filter-result-count,.ad-filter-reset) { grid-column:span 2 !important; }
}
@media (max-width:760px) {
  .resources-v3 { --rs-gutter:20px; }
  .resources-v3 .rs-home-hero { min-height:430px; }
  .resources-v3 .rs-channel-hero { min-height:330px; }
  .resources-v3 .rs-hero-copy,.resources-v3 .rs-home-hero .rs-hero-copy { padding-block:40px 86px; }
  .resources-v3 .rs-hero-shade { background:linear-gradient(90deg,#0e2d22ee,#0e3026b3 62%,#102e2655); }
  .resources-v3 .rs-hero-lead { font-size:14px; max-width:30em; }
  .resources-v3 .rs-hero-foot { font-size:10px; flex-wrap:wrap; gap:6px 14px; }
  .resources-v3 :is(.rs-suite,.ro-suite-nav) { padding-inline:12px; }
  .resources-v3 :is(.rs-suite,.ro-suite-nav) > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; width:100%; overflow:visible; }
  .resources-v3 :is(.rs-suite,.ro-suite-nav) a { min-height:44px; padding-inline:8px; font-size:12px; }
  .resources-v3 :is(.rs-suite,.ro-suite-nav) a::after { inset-inline:24%; height:2px; }
  .resources-v3 .rs-directory { padding-block:34px; }
  .resources-v3 .rs-section-heading { align-items:flex-start; flex-direction:column; gap:12px; margin-bottom:22px; }
  .resources-v3 .rs-section-heading > p br { display:none; }
  .resources-v3 .rs-channel-grid { grid-template-columns:1fr; gap:20px; }
  .resources-v3 .rs-channel-copy { padding:18px; }
  .resources-v3 .rs-channel-copy h3 { font-size:21px; }
  .resources-v3 .rs-channel-copy small { font-size:9px; letter-spacing:.06em; }
  .resources-v3 .rs-channel-copy p { font-size:13px; margin-bottom:16px; }
  .resources-v3 .rs-channel-copy > span { font-size:11px; }
  .resources-v3 .rs-quickstart { grid-template-columns:1fr; padding:24px; gap:24px; margin-bottom:28px; }
  .resources-v3 .rs-quickstart a { grid-template-columns:1fr 20px; gap:6px; }
  .resources-v3 .rs-quickstart a span { grid-column:1; }
  .resources-v3 .rs-quickstart a strong { grid-column:1; grid-row:2; }
  .resources-v3 .rs-quickstart a i { grid-column:2; grid-row:1/3; }
  .resources-v3 .ro-command { grid-template-columns:minmax(0,1fr); padding:12px; gap:12px; margin-top:18px; }
  .resources-v3 .ro-command > p { grid-column:1; grid-row:auto; }
  .resources-v3 .ro-filters button { flex:1 1 auto; font-size:12px; padding-inline:10px; }
  .resources-v3 .ro-workspace-dock { flex-wrap:wrap; gap:10px; }
  .resources-v3 .ro-workspace-actions { width:100%; justify-content:flex-start; gap:6px; margin-left:0; }
  .resources-v3 .ro-workspace-actions button { padding-inline:9px; font-size:11px; }
  .resources-v3 .ro-method-stop > button,.resources-v3 .ro-method-stop:nth-child(even) > button,.resources-v3 .ro-method-stop:nth-child(odd) > button { grid-template-columns:30px minmax(0,1fr) 30px; min-height:90px; padding:18px 16px; gap:12px; }
  .resources-v3 .ro-method-number { font-size:23px; }
  .resources-v3 .ro-method-panel { margin-inline:16px; }
  .resources-v3 .ro-method-panel dl { grid-template-columns:1fr; }
  .resources-v3 .ro-method-panel :is(p,dl > div) { font-size:13px; }
  .resources-v3 .ro-data-feature { min-height:0; padding:24px; }
  .resources-v3 .ro-data-feature :is(dt,dd) { font-size:13px; }
  .resources-v3 .ro-library-flow,.resources-v3 .topic-route-matrix,.resources-v3 .glossary-shell { grid-template-columns:1fr; }
  .resources-v3 .ro-library-chapter > div:not(.rs-document-spine) { padding:22px; }
  .resources-v3 .inner-section { padding-block:30px; }
  .resources-v3 .topic-route-matrix article { padding:24px; }
  .resources-v3 .rs-glossary-hero :is(h1,.rs-hero-lead) { max-width:80%; }
  .resources-v3 .rs-glossary-art { right:-5%; opacity:.24; }
  .resources-v3 .glossary-command { flex-wrap:wrap; gap:8px; padding:12px 16px; }
  .resources-v3 .glossary-command input { flex:1 1 80%; }
  .resources-v3 .glossary-index { padding:14px; }
  .resources-v3 .glossary-term-list { max-height:300px; overflow:auto; overscroll-behavior:contain; }
  .resources-v3 .glossary-definition { position:static; padding:24px; }
  .resources-v3.academic-index-page .ad-index-desk { padding-block:18px 34px; gap:18px; }
  .resources-v3.academic-index-page .ad-index-heading { padding:26px; min-height:218px; }
  .resources-v3.academic-index-page .ad-index-heading-copy { width:100%; }
  .resources-v3.academic-index-page .ad-index-heading-copy > p:not(.ad-index-eyebrow) { max-width:28em; font-size:14px; }
  .resources-v3.academic-index-page .ad-index-visual { width:80%; opacity:.42; }
  .resources-v3.academic-index-page .ad-mode-tabs { gap:3px; padding:4px; flex-wrap:wrap; }
  .resources-v3.academic-index-page .ad-mode-tabs button { font-size:12px; min-width:max-content; flex:1 1 25%; padding:8px 10px; }
  .resources-v3.academic-index-page .ad-editorial-search { grid-template-columns:68px minmax(0,1fr) 44px; }
  .resources-v3.academic-index-page .ad-screen:not([data-academic-mode="papers"]) .ad-editorial-search { grid-template-columns:minmax(0,1fr) 44px; }
  .resources-v3.academic-index-page .ad-editorial-search input { font-size:14px; padding-inline:10px; }
  .resources-v3.academic-index-page .ad-editorial-search button[type="submit"] span { display:none; }
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools label { min-height:58px; }
  .resources-v3.academic-index-page .ad-paper-record { padding:20px; }
  .resources-v3.academic-index-page .ad-card { padding:22px; }
  .resources-v3.academic-index-page .ad-results-head { flex-wrap:wrap; }
  .resources-v3.academic-index-page .ad-dialog { padding:24px; }
}
@media (max-width:480px) {
  .resources-v3 { --rs-gutter:16px; }
  .resources-v3 .rs-home-hero h1 { font-size:36px; }
  .resources-v3 .rs-hero h1 { font-size:32px; }
  .resources-v3 .rs-hero-actions { gap:18px; flex-wrap:wrap; }
  .resources-v3 .rs-hero-actions a { font-size:13px; gap:14px; }
  .resources-v3 .rs-hero-actions .rs-primary { padding-inline:18px; }
  .resources-v3 .rs-channel-grid,.resources-v3.academic-index-page .ad-card-grid { grid-template-columns:1fr; }
  .resources-v3 .rs-channel-copy { padding:22px; }
  .resources-v3 .rs-channel-copy h3 { font-size:24px; }
  .resources-v3 .rs-channel-copy p { font-size:14px; }
  .resources-v3 .ro-data-points { grid-template-columns:1fr; max-height:270px; }
  .resources-v3 .ro-library-chapter,.resources-v3 .ro-library-chapter:nth-child(even) { grid-template-columns:40px minmax(0,1fr); }
  .resources-v3 .ro-library-chapter > div:not(.rs-document-spine) { padding:20px 18px; }
  .resources-v3 .rs-document-spine { padding-inline:5px; }
  .resources-v3 .rs-document-spine span { font-size:21px; }
  .resources-v3 .rs-glossary-hero :is(h1,.rs-hero-lead) { max-width:100%; }
  .resources-v3 .topic-relationship-map { grid-template-columns:1fr; }
  .resources-v3 .rs-entry-access { grid-template-columns:1fr; }
}
html[data-theme="dark"] .resources-v3 { --rs-paper:#111f19; --rs-surface:#1b2d23; --rs-ink:#e5ede1; --rs-muted:#adbfaf; --rs-line:#354d3b; --rs-green:#9bc89b; }
html[data-theme="dark"] .resources-v3 :is(.rs-entry-facts,.rs-entry-provenance,.rs-entry-downloads,.ad-editorial-search,.ad-literature-tools) { background:var(--rs-surface); border-color:var(--rs-line); }
html[data-theme="dark"] .resources-v3 :is(.rs-entry-hero,.academic-paper-hero,.method-hero,.dataset-masthead,.knowledge-hero) { background:#223d2b; }
html[data-theme="dark"] .resources-v3 :is(.rs-entry,.academic-paper-hero,.method-hero,.dataset-masthead,.knowledge-hero) :is(h1,h2,h3,p,dt,dd) { color:var(--rs-ink); }
html[data-theme="dark"] .resources-v3 .ro-data-wash { background:#193123ed; }
html[data-theme="dark"] .resources-v3 :is(.ro-data-feature h2,.ro-data-feature dd) { color:var(--rs-ink); }
html[data-theme="dark"] .resources-v3 :is(.ro-data-feature > span,.ro-data-feature dt) { color:var(--rs-muted); }
html[data-theme="dark"] .resources-v3 :is(.ro-data-points,.ad-mode-tabs,.ad-nebula-labels button) { background:#203627; }
html[data-theme="dark"] .resources-v3 .ad-screen :is(.ad-card p,.ad-editorial-search input,.ad-index-sidebar-head strong,.ad-index-side-title h2) { color:var(--rs-ink); }
html[data-theme="dark"] .resources-v3 .rs-hero .rs-primary { color:#173827; }
@media (prefers-reduced-motion:reduce) {
  .resources-v3 main *, .resources-v3 main *::before, .resources-v3 main *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
  .resources-v3 .rs-hero-photo { transform:none; }
  .resources-v3 .rs-channel:hover { transform:none; }
}
