/* Resource collections — shared editorial system, scoped to the resource flow. */
.resources-v3 {
  --rs-paper: #f5f6f1; --rs-surface: #fff; --rs-ink: #183c31;
  --rs-muted: #66756d; --rs-green: #276b50; --rs-lime: #d2ec9d;
  --rs-line: #dce3db; --rs-dark: #102d24; --rs-ease: cubic-bezier(.22,1,.36,1);
  --rh-paper: var(--rs-paper); --rh-paper-strong: #e9eee5; --rh-ink: var(--rs-ink);
  --rh-green: var(--rs-green); --rh-green-deep: var(--rs-green); --rh-muted: var(--rs-muted);
  --rh-line: var(--rs-line); --rh-max: 1320px; --ai-paper: var(--rs-paper);
  --ai-paper-bright: var(--rs-surface); --ai-ink: var(--rs-ink); --ai-muted: var(--rs-muted);
  --ai-line: var(--rs-line); --ai-rust: var(--rs-green); --ai-rust-soft: #eaf0e5;
  color: var(--rs-ink); background: var(--rs-paper); overflow-x: clip;
}
html[data-theme="dark"] .resources-v3 {
  --rs-paper: #101e19; --rs-surface: #182b22; --rs-ink: #e8eee5;
  --rs-muted: #adbbb0; --rs-green: #a4d3ac; --rs-line: #34493d;
  --rh-paper-strong: #243a2d; --ai-rust-soft: #243a2d;
}
.resources-v3 [hidden] { display: none !important; }
.resources-v3 :where(a,button,input,select):focus-visible { outline: 2px solid #4585d6; outline-offset: 4px; }
.resources-v3 :where(main a,main button) { -webkit-tap-highlight-color: transparent; }
.resources-v3 :where(main,section,article,nav,div) { min-width: 0; }
.resources-v3 main { overflow: clip; }
.resources-v3 .resource-flow-screen { min-height: 0; background: var(--rs-paper); }
.resources-v3 .rs-shell,
.resources-v3 .rh-shell,
.resources-v3 .inner-container { width: min(calc(100% - 80px),1320px); margin-inline: auto; }
.resources-v3 .site-header { background: var(--rs-surface); }
.resources-v3 .site-header .header-actions { display: flex; }
.resources-v3 .rs-kicker { margin: 0 0 20px; color: var(--rs-green); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.resources-v3 .rs-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #142d24; }
.resources-v3 .rs-home-hero { min-height: 570px; display: flex; flex-direction: column; justify-content: center; }
.resources-v3 .rs-channel-hero { min-height: 420px; display: flex; flex-direction: column; justify-content: center; }
.resources-v3 .rs-hero-photo { position: absolute; z-index: -3; inset: -6%; width: 112%; max-width: none; height: 112%; object-fit: cover; object-position: center 56%; transform: translate3d(var(--rs-px,0px),var(--rs-py,0px),0) scale(var(--rs-zoom,1)); transition: transform 900ms var(--rs-ease); }
.resources-v3 .rs-home-hero .rs-hero-photo { object-position: center 54%; }
.resources-v3 .rs-hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg,rgba(9,31,24,.83),rgba(9,31,24,.45) 43%,rgba(9,31,24,.02) 76%),linear-gradient(0deg,rgba(8,21,15,.62),transparent 30%); }
.resources-v3 .rs-hero-copy { position: relative; padding-block: 66px 86px; }
.resources-v3 .rs-hero .rs-kicker { color: #d8e9c9; }
.resources-v3 .rs-hero h1 { max-width: 780px; margin: 0; color: #fff; font-size: clamp(40px,4.5vw,66px); font-weight: 650; line-height: 1.2; letter-spacing: -.04em; text-wrap: balance; }
.resources-v3 .rs-home-hero h1 { font-size: clamp(44px,5vw,76px); }
.resources-v3 .rs-hero-lead { max-width: 590px; margin: 24px 0 0; color: #e3e8df; font-size: 16px; line-height: 1.9; }
.resources-v3 .rs-hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 32px; }
.resources-v3 .rs-hero a { color: #fff; text-decoration: none; font-size: 14px; }
.resources-v3 .rs-hero-actions a { display: inline-flex; align-items: center; gap: 28px; min-height: 48px; }
.resources-v3 .rs-hero-actions .rs-primary { background: var(--rs-lime); color: #183729; padding: 0 24px; border-radius: 3px; font-weight: 700; }
.resources-v3 .rs-hero a span { display: inline-block; transition: transform 350ms var(--rs-ease); }
.resources-v3 .rs-hero a:hover span { transform: translate(3px,-3px); }
.resources-v3 .rs-hero .rs-text-link { display: inline-flex; gap: 28px; padding-bottom: 8px; border-bottom: 1px solid #8caa8d; margin-top: 24px; }
.resources-v3 .rs-hero-foot { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid #ffffff38; color: #cbd6cc; font-size: 11px; letter-spacing: .08em; }
.resources-v3 .rs-hero-foot small { font-size: inherit; }
.resources-v3 .rs-suite,
.resources-v3 .ro-suite-nav { position: relative; display: flex; align-items: stretch; gap: 28px; width: 100%; margin: 0; padding: 0 max(40px,calc((100% - 1320px)/2)); min-height: 68px; border: 0; border-bottom: 1px solid var(--rs-line); border-radius: 0; background: var(--rs-surface); box-shadow: none; }
.resources-v3 .rs-suite > div,
.resources-v3 .ro-suite-nav > div { display: flex; flex: 1; justify-content: space-between; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.resources-v3 .rs-suite a,
.resources-v3 .ro-suite-nav a { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 10px; min-height: 68px; padding: 0 15px; border: 0; border-radius: 0; color: var(--rs-muted); background: transparent; font-size: 13px; font-weight: 600; text-decoration: none; box-shadow: none; }
.resources-v3 .rs-suite a::after,
.resources-v3 .ro-suite-nav a::after { position: absolute; inset: auto 15px 0; height: 3px; background: var(--rs-green); content: ''; transform: scaleX(0); transform-origin: left; transition: transform 350ms var(--rs-ease); }
.resources-v3 :is(.rs-suite,.ro-suite-nav) a:hover,
.resources-v3 :is(.rs-suite,.ro-suite-nav) a[aria-current="page"] { color: var(--rs-green); background: transparent; }
.resources-v3 :is(.rs-suite,.ro-suite-nav) a:hover::after,
.resources-v3 :is(.rs-suite,.ro-suite-nav) a[aria-current="page"]::after { transform: scaleX(1); }
.resources-v3 .rs-suite-home,
.resources-v3 .ro-suite-label { padding-left: 0 !important; border-right: 1px solid var(--rs-line) !important; padding-right: 28px !important; color: var(--rs-ink) !important; }
.resources-v3 .ro-suite-label small,
.resources-v3 .ro-suite-nav a > img { display: none; }
.resources-v3 .ro-suite-label strong { font: inherit; }
.resources-v3 .rs-directory { padding-block: 72px; }
.resources-v3 .rs-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.resources-v3 .rs-section-heading h2 { margin: 0; font-size: clamp(28px,3vw,40px); font-weight: 650; letter-spacing: -.03em; }
.resources-v3 .rs-section-heading > p { color: var(--rs-muted); font-size: 14px; line-height: 1.8; margin: 0 0 3px; }
.resources-v3 .rs-section-heading .rs-kicker { margin-bottom: 12px; }
.resources-v3 .rs-channel-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.resources-v3 .rs-channel { overflow: hidden; border: 1px solid var(--rs-line); border-radius: 5px; background: var(--rs-surface); color: var(--rs-ink); text-decoration: none; transition: box-shadow 450ms var(--rs-ease),border-color 300ms,transform 450ms var(--rs-ease); }
.resources-v3 .rs-channel:hover { transform: translateY(-6px); border-color: #94af8c; box-shadow: 0 18px 34px #142d2414; }
.resources-v3 .rs-channel-visual { position: relative; overflow: hidden; height: 218px; background: #253d2c; }
.resources-v3 .rs-channel-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transition: transform 1s var(--rs-ease); }
.resources-v3 .rs-channel:hover .rs-channel-visual > img { transform: scale(1.06); }
.resources-v3 .rs-channel-index { position: absolute; top: 18px; left: 18px; display: grid; width: 32px; height: 32px; place-items: center; color: #fff; border: 1px solid #ffffff7a; background: #172b2438; font-size: 11px; }
.resources-v3 .rs-channel-copy { padding: 24px 26px 18px; }
.resources-v3 .rs-channel-copy small { display: block; font-size: 10px; letter-spacing: .12em; color: var(--rs-muted); }
.resources-v3 .rs-channel-copy h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0; font-size: 25px; font-weight: 650; }
.resources-v3 .rs-channel-copy h3 span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--rs-line); border-radius: 50%; font-size: 18px; font-weight: 400; transition: background 300ms,transform 350ms; }
.resources-v3 .rs-channel:hover h3 span { background: var(--rs-lime); color: #17382a; transform: rotate(45deg); }
.resources-v3 .rs-channel-copy p { margin: 0; min-height: 46px; color: var(--rs-muted); font-size: 14px; line-height: 1.75; }
.resources-v3 .rs-channel-copy footer { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--rs-line); color: var(--rs-muted); font-size: 11px; letter-spacing: .04em; }
.resources-v3 .rs-topic-art { height: 100%; display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 9px; color: #dcead4; background: #294d3c; }
.resources-v3 .rs-topic-art > span { font-size: 23px; letter-spacing: .12em; }
.resources-v3 .rs-topic-art i { font-style: normal; color: #a2c195; }
.resources-v3 .rs-topic-art > div { display: flex; gap: 18px; }
.resources-v3 .rs-topic-art b { padding: 8px 16px; border: 1px solid #7b967c; font-size: 14px; font-weight: 400; }
.resources-v3 .rs-topic-art small { margin-top: 8px; font-size: 10px; letter-spacing: .14em; color: #b7c9ac; }
.resources-v3 .rs-term-art { display: grid; height: 100%; grid-template-columns: auto auto; align-items: center; justify-content: center; gap: 0 24px; padding: 30px; color: #e5eccb; background: #485743; }
.resources-v3 .rs-term-art > b { font: italic 96px Georgia,serif; }
.resources-v3 .rs-term-art sub { font-size: .4em; }
.resources-v3 .rs-term-art > span { font: 15px Georgia,serif; }
.resources-v3 .rs-term-art i { display: block; font: 16px system-ui; margin-top: 10px; }
.resources-v3 .rs-term-art small { grid-column: 1/-1; font-size: 10px; letter-spacing: .2em; border-top: 1px solid #a0aa893b; padding-top: 14px; }
.resources-v3 .rs-quickstart { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; padding: 0 0 72px; }
.resources-v3 .rs-quickstart h2 { font-size: 25px; margin: 0; }
.resources-v3 .rs-quickstart > div:last-child { border-top: 1px solid var(--rs-line); }
.resources-v3 .rs-quickstart a { display: grid; grid-template-columns: 135px 1fr 22px; gap: 10px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--rs-line); color: var(--rs-ink); text-decoration: none; transition: padding 350ms var(--rs-ease); }
.resources-v3 .rs-quickstart a:hover { color: #2264a1; padding-left: 12px; }
.resources-v3 .rs-quickstart a span { color: var(--rs-muted); font-size: 11px; }
.resources-v3 .rs-quickstart a strong { font-size: 15px; font-weight: 600; }
.resources-v3 .rs-quickstart a i { font-style: normal; }

/* One command area, one compact workspace, then useful content. */
.resources-v3 .ro-command { display: grid; grid-template-columns: minmax(260px,1fr) auto; gap: 16px 24px; margin: 34px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.resources-v3 .ro-search { grid-column: 1; display: flex; gap: 12px; min-height: 54px; padding: 0 18px; background: var(--rs-surface); border: 1px solid var(--rs-line); border-radius: 4px; }
.resources-v3 .ro-search:focus-within { border-color: var(--rs-green); box-shadow: 0 0 0 3px #709b7018; }
.resources-v3 .ro-search input { padding: 0; height: 52px; background: transparent; color: var(--rs-ink); font-size: 15px; }
.resources-v3 .ro-search img { width: 18px; height: 18px; }
.resources-v3 .ro-search button { color: var(--rs-green); font-size: 12px; }
.resources-v3 .ro-command > p { grid-column: 2; grid-row: 1; align-self: center; font-size: 12px; color: var(--rs-muted); }
.resources-v3 .ro-filters { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.resources-v3 .ro-filters button { min-height: 38px; padding: 8px 17px; border: 1px solid var(--rs-line); border-radius: 3px; background: var(--rs-surface); color: var(--rs-muted); font-size: 12px; box-shadow: none; transition: color 200ms,background 200ms,border-color 200ms; }
.resources-v3 .ro-filters img { display: none; }
.resources-v3 .ro-filters button[aria-pressed="true"] { background: var(--rs-green); color: var(--rs-paper); border-color: var(--rs-green); }
.resources-v3 .ro-filters button:hover { border-color: var(--rs-green); }
.resources-v3 .ro-workspace { margin: 20px 0 0; padding: 0 0 20px; }
.resources-v3 .ro-workspace-dock { min-height: 50px; padding: 0 0 16px; border: 0; border-bottom: 1px solid var(--rs-line); border-radius: 0; background: transparent; box-shadow: none; }
.resources-v3 .ro-workspace-lead > img { width: 16px; height: 16px; }
.resources-v3 .ro-workspace-lead strong { font: 600 13px system-ui,sans-serif; }
.resources-v3 .ro-workspace-actions { flex-wrap: wrap; gap: 8px; }
.resources-v3 .ro-workspace-actions button { min-height: 34px; padding: 5px 12px; font-size: 11px; border: 1px solid var(--rs-line); border-radius: 3px; background: var(--rs-surface); color: var(--rs-ink); }
.resources-v3 .ro-workspace-actions button b { font-size: 10px; border-radius: 2px; }
.resources-v3 .ro-workspace-actions button:hover { background: var(--rs-green); color: var(--rs-paper); box-shadow: none; }
.resources-v3 .ro-item-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.resources-v3 .ro-item-actions :is(a,button) { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 36px; margin: 0; padding: 7px 13px; border: 1px solid var(--rs-line); border-radius: 3px; color: var(--rs-ink); background: var(--rs-surface); font-size: 11px; box-shadow: none; text-decoration: none; }
.resources-v3 .ro-item-actions :is(a,button):hover { color: #2264a1; border-color: #608db1; transform: translateY(-1px); }
.resources-v3 .ro-item-actions :is(a,button) img { width: 13px; height: 13px; }
.resources-v3 .ro-item-actions :is(a,button)[aria-pressed="true"] { color: var(--rs-green); background: var(--rh-paper-strong); }
.resources-v3 .ro-method,
.resources-v3 .ro-data,
.resources-v3 .ro-library { padding: 4px 0 72px; }
.resources-v3 .ro-method-river { display: grid; gap: 12px; }
.resources-v3 .ro-method-river::before,
.resources-v3 .ro-method-stop > button::after { display: none; }
.resources-v3 .ro-method-stop,
.resources-v3 .ro-method-stop:nth-child(even) { width: 100%; margin: 0; border: 1px solid var(--rs-line); border-radius: 4px; background: var(--rs-surface); transition: border-color 300ms,box-shadow 400ms; }
.resources-v3 .ro-method-stop:hover { border-color: #97af95; }
.resources-v3 .ro-method-stop.is-open { border-left: 4px solid var(--rs-green); box-shadow: 0 7px 25px #18382a06; }
.resources-v3 .ro-method-stop > button,
.resources-v3 .ro-method-stop:nth-child(even) > button,
.resources-v3 .ro-method-stop:nth-child(odd) > button { display: grid; grid-template-columns: 62px minmax(0,1fr) 60px; gap: 22px; min-height: 114px; padding: 22px 30px; }
.resources-v3 .ro-method-number { font: 34px Georgia,serif; color: #89a087; }
.resources-v3 .ro-method-title strong { font: 600 23px/1.45 system-ui,sans-serif; }
.resources-v3 .ro-method-title small { color: var(--rs-green); font-size: 11px; letter-spacing: .05em; margin-bottom: 5px; }
.resources-v3 .ro-method-title small img { width: 14px; height: 14px; border-radius: 0; }
.resources-v3 .ro-method-stop > button i,
.resources-v3 .ro-method-stop:nth-child(even) > button i { position: static; font-size: 11px; text-align: right; }
.resources-v3 .ro-method-panel { margin: 0 30px 0 114px; transition: max-height 650ms var(--rs-ease),opacity 400ms,padding 650ms var(--rs-ease); }
.resources-v3 .ro-method-stop.is-open .ro-method-panel { max-height: 1100px; padding: 0 0 28px; }
.resources-v3 .ro-method-panel > p { max-width: 900px; color: var(--rs-muted); font-size: 14px; line-height: 1.85; }
.resources-v3 .ro-method-panel dl { max-width: 940px; }
.resources-v3 .ro-method-panel dl > div { font-size: 13px; line-height: 1.7; }
.resources-v3 .ro-data-canvas { display: grid; grid-template-columns: minmax(0,1fr) 360px; min-height: 560px; padding: 0; border-radius: 5px; background: #173b2d; }
.resources-v3 .ro-data-backdrop { width: 100%; height: 100%; filter: saturate(.75); object-position: center; }
.resources-v3 .ro-data-wash { background: linear-gradient(90deg,#0e302be8,#102f2dc7 50%,#17352955); }
.resources-v3 .ro-data-feature { position: relative; inset: auto; width: auto; align-self: center; padding: 48px; }
.resources-v3 .ro-data-feature h2 { font: 600 clamp(28px,3vw,43px)/1.25 system-ui,sans-serif; max-width: 650px; letter-spacing: -.03em; }
.resources-v3 .ro-data-feature > p { color: #cbe2b6; font-size: 11px; }
.resources-v3 .ro-data-feature > span { font-size: 14px; line-height: 1.8; color: #e2ebe3; }
.resources-v3 .ro-data-feature dl > div { font-size: 13px; line-height: 1.8; border-top-color: #a5c1ae44; }
.resources-v3 .ro-data-feature dt { color: #bacdc1; }
.resources-v3 .ro-data-feature dd { color: #fff; }
.resources-v3 .ro-data-feature .ro-item-actions :is(a,button) { background: #15362ca1; border-color: #c2dac559; color: #fff; }
.resources-v3 .ro-data-feature .ro-item-actions a { background: var(--rs-lime); color: #1d3a29; border-color: var(--rs-lime); }
.resources-v3 .ro-data-points { position: relative; inset: auto; width: auto; display: flex; flex-direction: column; align-items: stretch; height: 560px; overflow-y: auto; overflow-x: hidden; padding: 20px; gap: 0; background: #10291ff2; scrollbar-width: thin; scrollbar-color: #6c8e6b #10291f; }
.resources-v3 .ro-data-points button,
.resources-v3 .ro-data-points button:hover,
.resources-v3 .ro-data-points button[aria-pressed="true"] { display: grid; grid-template-columns: 26px 1fr; flex: 0 0 auto; gap: 3px 12px; min-width: 0; min-height: 95px; padding: 18px 14px; border: 0; border-bottom: 1px solid #688a6844; border-radius: 0; color: #e8f0e5; background: transparent; backdrop-filter: none; transition: background 240ms,padding 350ms var(--rs-ease); }
.resources-v3 .ro-data-points button[aria-pressed="true"] { background: #e0efc9; color: #18372c; border-radius: 3px; }
.resources-v3 .ro-data-points button:hover { background: #436644; color: #fff; }
.resources-v3 .ro-data-points button > img { display: none; }
.resources-v3 .ro-data-points span { grid-column: 1; grid-row: 1/3; color: inherit; padding-top: 3px; opacity: .7; font: 15px Georgia,serif; }
.resources-v3 .ro-data-points strong { margin: 0; color: inherit; font: 600 15px/1.4 system-ui,sans-serif; }
.resources-v3 .ro-data-points small { grid-column: 2; margin-top: 4px; color: inherit; font-size: 11px; opacity: .65; }
.resources-v3 .ro-library-flow { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 20px; padding-top: 0; }
.resources-v3 .ro-library-chapter,
.resources-v3 .ro-library-chapter:nth-child(even) { display: grid; grid-template-columns: 70px minmax(0,1fr); align-items: stretch; min-height: 0; padding: 0; gap: 0; border: 1px solid var(--rs-line); border-radius: 4px; background: var(--rs-surface); transition: transform 400ms var(--rs-ease),box-shadow 400ms; }
.resources-v3 .ro-library-chapter:hover { transform: translateY(-3px); box-shadow: 0 12px 25px #183b2a10; }
.resources-v3 .ro-library-chapter > div:not(.rs-document-spine) { display: flex; flex-direction: column; padding: 26px; }
.resources-v3 .rs-document-spine { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 10px; background: #264733; color: #dce7c9; border-right: 5px solid #162f1f; }
.resources-v3 .rs-document-spine span { font: 27px Georgia,serif; }
.resources-v3 .rs-document-spine img { width: 27px; height: 27px; filter: brightness(0) invert(1); opacity: .6; }
.resources-v3 .rs-document-spine b { writing-mode: vertical-rl; font-size: 12px; font-weight: 500; letter-spacing: .18em; }
.resources-v3 .ro-library-chapter:nth-child(3n + 2) .rs-document-spine { background: #685d3f; border-color: #4e452d; }
.resources-v3 .ro-library-chapter:nth-child(3n) .rs-document-spine { background: #365758; border-color: #274849; }
.resources-v3 .ro-library-chapter > div > p { color: var(--rs-green); font-size: 11px; margin-bottom: 10px; }
.resources-v3 .ro-library-chapter h2 { color: var(--rs-ink); font: 600 23px/1.35 system-ui,sans-serif; overflow-wrap: anywhere; }
.resources-v3 .ro-library-chapter > div > span { margin-top: 14px; font-size: 13px; line-height: 1.7; }
.resources-v3 .ro-library-chapter dl { display: grid; gap: 8px; margin: 18px 0; }
.resources-v3 .ro-library-chapter dl > div { display: grid; grid-template-columns: 60px 1fr; gap: 10px; font-size: 11px; line-height: 1.7; }
.resources-v3 .ro-library-chapter .ro-item-actions { margin-top: auto; padding-top: 8px; gap: 6px; }
.resources-v3 .ro-library-chapter .ro-item-actions :is(a,button) { padding-inline: 10px; }

/* Topic routes and terminology use clear reference layouts, with their own identity. */
.resources-v3 .inner-page { background: var(--rs-paper); }
.resources-v3 .inner-section { padding: 56px 0; }
.resources-v3 .inner-section-head { margin-bottom: 26px; }
.resources-v3 .inner-section-head h2 { font: 650 29px/1.4 system-ui,sans-serif; color: var(--rs-ink); }
.resources-v3 .inner-section-head p { max-width: 650px; color: var(--rs-muted); font-size: 14px; line-height: 1.7; }
.resources-v3 .topic-route-matrix { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.resources-v3 .topic-route-matrix article { padding: 28px 30px; border: 1px solid var(--rs-line); border-radius: 4px; background: var(--rs-surface); }
.resources-v3 .topic-route-matrix article:hover { border-color: #8caa86; }
.resources-v3 .topic-route-matrix article > header { padding-bottom: 22px; border-bottom: 1px solid var(--rs-line); }
.resources-v3 .topic-route-matrix header span { color: var(--rs-green); font-size: 10px; letter-spacing: .13em; }
.resources-v3 .topic-route-matrix header h3 { margin-top: 10px; color: var(--rs-ink); font-size: 25px; }
.resources-v3 .topic-route-matrix ol { margin: 0; padding: 0; }
.resources-v3 .topic-route-matrix li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--rs-line); }
.resources-v3 .topic-route-matrix li:last-child { border: 0; padding-bottom: 0; }
.resources-v3 .topic-route-matrix li a { color: var(--rs-ink); font-size: 15px; }
.resources-v3 .topic-route-matrix li a:hover { color: #2264a1; }
.resources-v3 .topic-route-matrix li small { color: var(--rs-muted); font-size: 12px; }
.resources-v3 #relationship { padding-top: 0; }
.resources-v3 .topic-relationship-map { min-height: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; background: var(--rs-surface); border: 1px solid var(--rs-line); border-radius: 4px; overflow: hidden; padding: 0; }
.resources-v3 .topic-hub,
.resources-v3 .topic-map-grid,
.resources-v3 .topic-relationship-map::before,
.resources-v3 .topic-relationship-map::after { display: none; }
.resources-v3 .topic-node { position: relative; inset: auto; width: auto; min-height: 140px; display: flex; flex-direction: column; justify-content: center; padding: 22px; border: 0; border-right: 1px solid var(--rs-line); border-radius: 0; background: transparent; color: var(--rs-ink); transform: none; box-shadow: none; }
.resources-v3 .topic-node:hover { transform: none; background: var(--rh-paper-strong); }
.resources-v3 .topic-node::before,.resources-v3 .topic-node::after { display: none; }
.resources-v3 .topic-node span { font-size: 9px; color: var(--rs-muted); }
.resources-v3 .topic-node strong { margin: 12px 0 9px; font-size: 20px; }
.resources-v3 .topic-node small { font-size: 11px; color: var(--rs-muted); }
.resources-v3 .topic-source-anchors { padding-top: 0; }
.resources-v3 .source-anchor-list { border-top: 1px solid var(--rs-line); }
.resources-v3 .source-anchor-list li { border-bottom-color: var(--rs-line); background: transparent; padding-block: 18px; }
.resources-v3 .source-anchor-list a { color: var(--rs-green); }
.resources-v3 .rs-glossary-hero { background: #244a38; }
.resources-v3 .rs-glossary-hero .rs-hero-copy { width: min(calc(100% - 80px),1320px); }
.resources-v3 .rs-glossary-art { position: absolute; right: max(7%,calc((100% - 1220px)/2)); top: 45px; bottom: 45px; display: flex; justify-content: center; flex-direction: column; color: #c9ddaa; transform: translateY(var(--rs-py,0px)); transition: transform 1s var(--rs-ease); }
.resources-v3 .rs-glossary-art > b { font: italic 180px/.9 Georgia,serif; letter-spacing: -.1em; }
.resources-v3 .rs-glossary-art sub { font-size: .4em; letter-spacing: 0; }
.resources-v3 .rs-glossary-art > span { margin-top: 20px; padding: 14px 0; border-top: 1px solid #bdd4a247; font: 11px Georgia,serif; letter-spacing: .2em; }
.resources-v3 .rs-glossary-art > i { font: 12px system-ui,sans-serif; color: #aabe9a; }
.resources-v3 .glossary-command { display: flex; gap: 18px; align-items: center; padding: 18px 22px; border: 1px solid var(--rs-line); border-radius: 4px; background: var(--rs-surface); }
.resources-v3 .glossary-command label { color: var(--rs-green); font-size: 11px; }
.resources-v3 .glossary-command input { flex: 1; min-width: 0; font-size: 16px; color: var(--rs-ink); }
.resources-v3 .glossary-command > span { color: var(--rs-muted); font-size: 11px; }
.resources-v3 .glossary-shell { margin-top: 24px; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 24px; }
.resources-v3 .glossary-index { border: 1px solid var(--rs-line); background: var(--rs-surface); border-radius: 4px; padding: 20px; }
.resources-v3 .glossary-filter-row { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 18px; }
.resources-v3 .glossary-filter-row button { min-height: 36px; padding: 7px 14px; color: var(--rs-muted); background: var(--rs-paper); border: 1px solid var(--rs-line); border-radius: 3px; }
.resources-v3 .glossary-filter-row button[aria-pressed="true"] { background: var(--rs-green); color: var(--rs-paper); }
.resources-v3 .glossary-term-list button { min-height: 72px; padding: 14px 12px; color: var(--rs-ink); border-bottom-color: var(--rs-line); }
.resources-v3 .glossary-term-list button.is-active { background: var(--rh-paper-strong); box-shadow: inset 3px 0 var(--rs-green); }
.resources-v3 .glossary-term-list button b { color: var(--rs-green); }
.resources-v3 .glossary-definition { position: sticky; top: 100px; align-self: start; padding: 38px; border: 1px solid var(--rs-line); border-radius: 4px; background: var(--rs-surface); box-shadow: 0 14px 36px #1e382709; }
.resources-v3 .glossary-definition header { align-items: center; border-bottom: 1px solid var(--rs-line); padding-bottom: 20px; }
.resources-v3 .glossary-definition header > b { color: var(--rs-green); font: 60px Georgia,serif; }
.resources-v3 .glossary-definition h3 { color: var(--rs-ink); font-size: 32px; }
.resources-v3 .glossary-definition-title p { color: var(--rs-muted); font: 20px Georgia,serif; }
.resources-v3 .glossary-definition section p { font-size: 18px; line-height: 1.9; color: var(--rs-ink); }
.resources-v3 .glossary-definition dl { border-color: var(--rs-line); }
.resources-v3 .glossary-definition > a { color: var(--rs-green); }
.resources-v3 .glossary-boundary { padding-block: 0 48px; background: transparent; }
.resources-v3 .resource-source-grid { padding: 24px 0; grid-template-columns: 100px 1fr auto; border-top: 1px solid var(--rs-line); border-bottom: 1px solid var(--rs-line); background: transparent; }
.resources-v3 .resource-source-grid h2 { font-size: 15px; color: var(--rs-ink); }
.resources-v3 .resource-source-grid p { font-size: 12px; color: var(--rs-muted); }

/* Academic discovery remains a working search screen, with a bounded visual header. */
.resources-v3.academic-index-page { color: var(--rs-ink); background: var(--rs-paper); }
.resources-v3.academic-index-page .ad-index-desk { display: grid; width: min(calc(100% - 80px),1320px); margin: 0 auto; padding: 32px 0 64px; grid-template-columns: minmax(0,1fr) 288px; gap: 26px; transform: none; border: 0; }
.resources-v3.academic-index-page .academic-discovery-main { grid-column: 1; min-width: 0; padding: 0; }
.resources-v3.academic-index-page .ad-index-heading { display: flex; position: relative; isolation: isolate; overflow: hidden; align-items: center; min-height: 250px; margin: 0 0 24px; padding: 30px; border-radius: 4px; background: #163829; }
.resources-v3.academic-index-page .ad-index-heading-copy { width: 68%; position: relative; z-index: 2; }
.resources-v3.academic-index-page .ad-index-heading .ad-index-eyebrow { margin-bottom: 13px; font-size: 10px; color: #c9ddba; letter-spacing: .1em; }
.resources-v3.academic-index-page .ad-index-heading .ad-index-eyebrow span { color: #c9ddba; }
.resources-v3.academic-index-page .ad-index-heading h1 { color: #fff; font: 650 46px/1.2 system-ui,sans-serif; letter-spacing: -.04em; }
.resources-v3.academic-index-page .ad-index-heading h1::after,
.resources-v3.academic-index-page .ad-index-heading .ad-index-eyebrow::before { display: none; }
.resources-v3.academic-index-page .ad-index-heading-copy > p:not(.ad-index-eyebrow) { max-width: 400px; color: #d7e5d7; font-size: 13px; line-height: 1.75; margin-top: 16px; }
.resources-v3.academic-index-page .ad-index-visual { display: block; position: absolute; z-index: -1; inset: 0; margin: 0; width: 100%; height: 100%; opacity: .78; border-radius: 0; mask-image: linear-gradient(90deg,transparent 10%,#000 90%); }
.resources-v3.academic-index-page .ad-index-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: right center; transform: none; }
.resources-v3.academic-index-page .ad-index-trust { display: none; }
.resources-v3.academic-index-page .ad-index-sidebar { grid-column: 2; grid-row: 1; position: sticky; top: 90px; align-self: start; width: auto; margin: 0; padding: 20px; border: 1px solid var(--rs-line); border-radius: 4px; background: var(--rs-surface); box-shadow: none; transform: none; }
.resources-v3.academic-index-page .ad-index-sidebar-head { padding: 0 0 18px; border-color: var(--rs-line); }
.resources-v3.academic-index-page .ad-index-sidebar-head strong { color: var(--rs-ink); font-size: 18px; letter-spacing: 0; }
.resources-v3.academic-index-page .ad-index-sidebar-head strong::after { display: none; }
.resources-v3.academic-index-page .ad-index-sidebar section { padding: 20px 0; border: 0; border-bottom: 1px solid var(--rs-line); border-radius: 0; background: transparent; box-shadow: none; }
.resources-v3.academic-index-page .ad-index-side-title h2 { color: var(--rs-ink); font-size: 13px; }
.resources-v3.academic-index-page .ad-index-side-title > button { color: var(--rs-green); }
.resources-v3.academic-index-page .ad-search-presets,
.resources-v3.academic-index-page .ad-search-memory-status { display: block; }
.resources-v3.academic-index-page .ad-nebula-labels button { color: var(--rs-muted); font-size: 12px; min-height: 35px; }
.resources-v3.academic-index-page .ad-nebula-labels button:hover { color: var(--rs-green); background: var(--rh-paper-strong); }
.resources-v3.academic-index-page .ad-lens-timeline { border: 0; background: transparent; padding: 18px 0 0; margin-top: 16px; }
.resources-v3.academic-index-page .ad-flow-command { padding: 0; margin: 0; }
.resources-v3.academic-index-page .ad-index-search { border: 1px solid #9eb59b; border-radius: 4px; background: var(--rs-surface); box-shadow: 0 0 0 3px #718c6712; }
.resources-v3.academic-index-page .ad-index-search input { color: var(--rs-ink); font-size: 14px; }
.resources-v3.academic-index-page .ad-index-search > button[type="submit"] { background: #28694e; color: #fff; border-radius: 3px; box-shadow: none; }
.resources-v3.academic-index-page .ad-index-search select { color: var(--rs-ink); background-color: transparent; }
.resources-v3.academic-index-page .ad-index-search .ad-search-assist { color: var(--rs-green); box-shadow: none; border-color: var(--rs-line); }
.resources-v3.academic-index-page .ad-index-search-fields { padding: 12px 0; }
.resources-v3.academic-index-page .ad-index-search-fields button { color: var(--rs-muted); border-color: var(--rs-line); background: var(--rs-surface); }
.resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools { min-height: 74px; border: 1px solid var(--rs-line); border-radius: 4px; background: var(--rs-surface); box-shadow: none; grid-template-columns: repeat(4,minmax(0,1fr)) 64px 50px; }
.resources-v3.academic-index-page .ad-literature-filter-label,
.resources-v3.academic-index-page .ad-motion-select-value { color: var(--rs-ink); }
.resources-v3.academic-index-page .ad-mode-tabs { display: flex; gap: 8px; overflow-x: auto; flex-wrap: nowrap; margin: 22px 0 0; padding: 0 0 12px; border-bottom: 1px solid var(--rs-line); }
.resources-v3.academic-index-page .ad-mode-tabs button { flex: 0 0 auto; display: flex; gap: 6px; align-items: center; padding: 9px 13px; min-height: 38px; border: 1px solid var(--rs-line); border-radius: 3px; color: var(--rs-muted); background: var(--rs-surface); font-size: 12px; }
.resources-v3.academic-index-page .ad-mode-tabs button[aria-pressed="true"] { color: #fff; background: #28694e; border-color: #28694e; }
.resources-v3.academic-index-page .ad-mode-tabs img { width: 14px; height: 14px; }
.resources-v3.academic-index-page .ad-mode-tabs small { font-size: 10px; }
.resources-v3.academic-index-page .ad-literature { padding: 16px 0 0; }
.resources-v3.academic-index-page .ad-paper-grid { gap: 18px; margin-top: 14px; padding-left: 0; }
.resources-v3.academic-index-page .ad-paper-grid::before,
.resources-v3.academic-index-page .ad-paper-record::before { display: none; }
.resources-v3.academic-index-page .ad-paper-record { border: 1px solid var(--rs-line); border-radius: 4px; padding: 24px; background: var(--rs-surface); box-shadow: none; }
.resources-v3.academic-index-page .ad-paper-record:hover { border-color: #8fac88; box-shadow: 0 8px 20px #1d352908; }
.resources-v3.academic-index-page .ad-feature-paper-heading h3 { color: var(--rs-ink); font-size: 19px; line-height: 1.5; }
.resources-v3.academic-index-page .ad-feature-paper-heading h3 a:hover { color: #2468a5; }
.resources-v3.academic-index-page .ad-feature-abstract-preview { color: var(--rs-muted); font-size: 13px; line-height: 1.8; }
.resources-v3.academic-index-page .ad-nebula-preview-actions { border: 1px solid var(--rs-line); border-radius: 3px; box-shadow: none; }
.resources-v3.academic-index-page .ad-nebula-preview-actions :is(a,button) { color: var(--rs-green); background: transparent; font-size: 11px; border-radius: 0; }
.resources-v3.academic-index-page .ad-paper-footer { background: var(--rs-surface); border-color: var(--rs-line); border-radius: 4px; }
.resources-v3.academic-index-page .ad-catalog { padding-top: 20px; }
.resources-v3.academic-index-page .ad-card { border-radius: 4px; border-color: var(--rs-line); background: var(--rs-surface); box-shadow: none; }

/* Detail views: prominent subject header and quiet, spacious reading surfaces. */
.resources-v3 :is(.method-hero,.dataset-masthead,.knowledge-hero) { position: relative; background: #173b2d; color: #e4eee0; padding-block: 30px 44px; border: 0; }
.resources-v3 :is(.method-hero,.dataset-masthead,.knowledge-hero) :is(h1,h2,h3) { color: #fff; }
.resources-v3 :is(.method-hero,.dataset-masthead,.knowledge-hero) h1 { font: 650 clamp(32px,4vw,58px)/1.25 system-ui,sans-serif; letter-spacing: -.04em; }
.resources-v3 :is(.method-hero,.dataset-masthead,.knowledge-hero) :is(p,dt,.dataset-summary) { color: #c5d8c6; }
.resources-v3 :is(.method-hero,.dataset-masthead,.knowledge-hero) :is(dd,a) { color: #edf2e7; }
.resources-v3 :is(.method-hero-path,.dataset-breadcrumb,.knowledge-breadcrumb) { color: #b7ceb9; font-size: 12px; }
.resources-v3 :is(.method-hero-grid,.dataset-title-grid,.knowledge-hero-layout) { gap: 48px; padding-top: 34px; }
.resources-v3 :is(.method-hero-figure,.dataset-schema-card,.knowledge-hero-figure) { background: #ffffff09; border: 1px solid #b2c5ac40; border-radius: 4px; box-shadow: none; }
.resources-v3 :is(.method-hero-figure,.dataset-schema-card,.knowledge-hero-figure) :is(span,b,strong,small,i) { color: #d2e6bd; }
.resources-v3 .method-hero-meta { border-top: 1px solid #b2c5ac40; padding-top: 22px; gap: 20px; }
.resources-v3 :is(.method-hero-meta,.knowledge-meta) dt { color: #b0c9b7; }
.resources-v3 .method-hero-actions button { color: #eff4e9; border-color: #b6ccb059; }
.resources-v3 .method-primary-link { background: #cce69b; color: #193b2a !important; }
.resources-v3 .method-hero-lead { max-width: 620px; font-size: 14px; line-height: 1.9; }
.resources-v3 .knowledge-hero-principle { border: 1px solid #b2c5ac40; background: #ffffff05; padding: 18px 24px; margin-top: 28px; border-radius: 3px; }
.resources-v3 .knowledge-hero-principle p { font-size: 13px; }
.resources-v3 :is(.method-layout,.dataset-layout,.knowledge-shell) { padding-block: 42px 60px; }
.resources-v3 :is(.method-document,.dataset-record-body,.knowledge-content) { background: var(--rs-surface); border: 1px solid var(--rs-line); border-radius: 4px; }
.resources-v3 :is(.method-section,.dataset-section,.knowledge-section) { border-color: var(--rs-line); }
.resources-v3 :is(.method-reading-bar,.knowledge-local-nav) { background: var(--rs-surface); border-color: var(--rs-line); }
.resources-v3 :is(.method-toc,.dataset-record-rail,.knowledge-toc) { color: var(--rs-ink); }
.resources-v3 .academic-paper-shell { width: min(calc(100% - 80px),1200px); padding-block: 28px 60px; }
.resources-v3 .academic-paper-record { border: 1px solid var(--rs-line); border-radius: 4px; background: var(--rs-surface); overflow: hidden; box-shadow: none; }
.resources-v3 .academic-paper-hero { padding: 46px; color: #dbe8d7; background: #193c2e; border: 0; }
.resources-v3 .academic-paper-hero h1 { color: #fff; font: 650 clamp(27px,3vw,43px)/1.35 system-ui,sans-serif; }
.resources-v3 .academic-paper-hero :is(.academic-paper-journal,.academic-paper-authors,.academic-paper-affiliations) { color: #c7d9be; }
.resources-v3 .academic-paper-kicker { color: #e2ebd3; }
.resources-v3 .academic-paper-layout { padding: 38px 46px; }
.resources-v3 .academic-paper-abstract { color: var(--rs-ink); font-size: 16px; line-height: 1.95; }
.resources-v3 .academic-paper-facts { border-color: var(--rs-line); background: var(--rs-paper); border-radius: 3px; }

/* Progressive motion: one-time entrances, image depth and precise interaction feedback. */
.resources-v3 .rs-motion-ready [data-rs-reveal] { opacity: 0; transform: translateY(24px); }
.resources-v3 .rs-motion-ready [data-rs-reveal].rs-visible { opacity: 1; transform: none; transition: opacity 750ms var(--rs-ease),transform 850ms var(--rs-ease); transition-delay: var(--rs-delay,0ms); }
.resources-v3 .rs-hero-copy > * { animation: rs-enter 900ms var(--rs-ease) both; }
.resources-v3 .rs-hero-copy > :nth-child(2) { animation-delay: 100ms; }
.resources-v3 .rs-hero-copy > :nth-child(3) { animation-delay: 200ms; }
.resources-v3 .rs-hero-copy > :nth-child(4) { animation-delay: 300ms; }
.resources-v3 .rs-reading-progress { position: fixed; left: 0; top: 0; z-index: 200; width: 100%; height: 3px; background: #c4e790; transform-origin: left; transform: scaleX(var(--rs-progress,0)); pointer-events: none; }
@keyframes rs-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (min-width: 1700px) {
  .resources-v3 .rs-home-hero { min-height: 630px; }
  .resources-v3 .rs-channel-hero { min-height: 480px; }
}
@media (max-width: 1100px) {
  .resources-v3 .rs-shell,.resources-v3 .rh-shell,.resources-v3 .inner-container { width: calc(100% - 48px); }
  .resources-v3 .rs-suite,.resources-v3 .ro-suite-nav { gap: 16px; padding-inline: 24px; }
  .resources-v3 .rs-suite a,.resources-v3 .ro-suite-nav a { padding-inline: 10px; font-size: 12px; }
  .resources-v3 .rs-channel-grid { gap: 18px; }
  .resources-v3 .rs-channel-copy { padding: 22px; }
  .resources-v3 .rs-channel-visual { height: 180px; }
  .resources-v3 .rs-channel-copy h3 { font-size: 23px; }
  .resources-v3 .rs-channel-copy p { min-height: 70px; }
  .resources-v3 .ro-data-canvas { grid-template-columns: minmax(0,1fr) 300px; }
  .resources-v3 .ro-data-feature { padding: 34px; }
  .resources-v3 .ro-library-chapter,.resources-v3 .ro-library-chapter:nth-child(even) { grid-template-columns: 52px minmax(0,1fr); }
  .resources-v3 .ro-library-chapter > div:not(.rs-document-spine) { padding: 22px; }
  .resources-v3 .ro-library-chapter h2 { font-size: 21px; }
  .resources-v3 .rs-glossary-art { right: 5%; opacity: .65; }
  .resources-v3 .rs-glossary-hero .rs-hero-copy { width: calc(100% - 48px); }
  .resources-v3 .rs-glossary-hero h1 { max-width: 60%; }
  .resources-v3 .rs-glossary-hero .rs-hero-lead { max-width: 55%; }
  .resources-v3.academic-index-page .ad-index-desk { width: calc(100% - 48px); grid-template-columns: minmax(0,1fr) 244px; gap: 20px; }
  .resources-v3.academic-index-page .ad-index-sidebar { padding: 16px; }
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools { grid-template-columns: repeat(2,minmax(0,1fr)) 58px 42px; }
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools label:nth-child(3) { grid-row: 2; grid-column: 1; }
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools label:nth-child(4) { grid-row: 2; grid-column: 2; }
  .resources-v3.academic-index-page .ad-index-heading-copy { width: 90%; }
  .resources-v3.academic-index-page .ad-nebula-preview-actions { flex-wrap: wrap; }
  .resources-v3 .topic-relationship-map { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .resources-v3 .rs-home-hero { min-height: 500px; }
  .resources-v3 .rs-channel-hero { min-height: 380px; }
  .resources-v3 .rs-hero-copy { padding-block: 52px 82px; }
  .resources-v3 .rs-hero-photo { object-position: 64% center; }
  .resources-v3 .rs-hero-shade { background: linear-gradient(90deg,#092318d9,#09231870); }
  .resources-v3 .rs-suite,.resources-v3 .ro-suite-nav { flex-direction: column; gap: 0; min-height: 0; }
  .resources-v3 .rs-suite-home,.resources-v3 .ro-suite-label { display: none !important; }
  .resources-v3 .rs-suite > div,.resources-v3 .ro-suite-nav > div { justify-content: flex-start; gap: 15px; }
  .resources-v3 .rs-suite a,.resources-v3 .ro-suite-nav a { min-height: 55px; }
  .resources-v3 .rs-channel-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .resources-v3 .rs-channel-visual { height: 215px; }
  .resources-v3 .rs-channel-copy p { min-height: 48px; }
  .resources-v3 .rs-quickstart { grid-template-columns: 1fr; gap: 26px; }
  .resources-v3 .ro-data-canvas { grid-template-columns: minmax(0,1fr); }
  .resources-v3 .ro-data-feature { min-height: 370px; padding: 34px; }
  .resources-v3 .ro-data-points { height: auto; max-height: 325px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 16px; gap: 8px; }
  .resources-v3 .ro-data-points button { min-height: 96px; }
  .resources-v3 .ro-library-flow { grid-template-columns: 1fr; }
  .resources-v3 .ro-library-chapter,.resources-v3 .ro-library-chapter:nth-child(even) { grid-template-columns: 72px minmax(0,1fr); }
  .resources-v3 .ro-library-chapter h2 { font-size: 25px; }
  .resources-v3 .ro-workspace-dock { flex-wrap: wrap; gap: 14px; }
  .resources-v3 .ro-workspace-actions { margin-left: auto; }
  .resources-v3 .topic-route-matrix { gap: 18px; }
  .resources-v3 .topic-route-matrix article { padding: 24px; }
  .resources-v3 .topic-route-matrix li { align-items: flex-start; flex-direction: column; gap: 6px; }
  .resources-v3 .glossary-shell { grid-template-columns: 1fr 1fr; gap: 18px; }
  .resources-v3 .glossary-definition { padding: 24px; }
  .resources-v3 .glossary-command label { display: none; }
  .resources-v3 .resource-source-grid { grid-template-columns: 1fr; gap: 10px; }
  .resources-v3.academic-index-page .ad-index-desk { display: flex; flex-direction: column; gap: 18px; }
  .resources-v3.academic-index-page .academic-discovery-main { order: 2; width: 100%; }
  .resources-v3.academic-index-page .ad-index-sidebar { order: 1; position: relative; top: auto; width: 100%; padding: 14px 18px; }
  .resources-v3.academic-index-page .ad-index-sidebar-head { padding-bottom: 0; border: 0; }
  .resources-v3.academic-index-page .ad-index-sidebar:not(.is-open) > :not(.ad-index-sidebar-head) { display: none; }
  .resources-v3.academic-index-page .ad-index-sidebar-head button { display: inline-flex; }
  .resources-v3.academic-index-page .ad-index-heading { min-height: 220px; }
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools label:nth-child(3),
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools label:nth-child(4) { grid-row: auto; grid-column: auto; }
  .resources-v3 :is(.method-hero-grid,.dataset-title-grid,.knowledge-hero-layout) { gap: 30px; }
  .resources-v3 .academic-paper-shell { width: calc(100% - 40px); }
  .resources-v3 .academic-paper-hero { padding: 30px; }
  .resources-v3 .academic-paper-layout { padding: 28px; }
}
@media (max-width: 540px) {
  .resources-v3 .rs-shell,.resources-v3 .rh-shell,.resources-v3 .inner-container { width: calc(100% - 36px); }
  .resources-v3 .rs-suite,.resources-v3 .ro-suite-nav { padding-inline: 18px; }
  .resources-v3 .rs-hero h1 { font-size: 36px; line-height: 1.28; }
  .resources-v3 .rs-home-hero h1 { font-size: 39px; }
  .resources-v3 .rs-home-hero { min-height: 520px; }
  .resources-v3 .rs-channel-hero { min-height: 400px; }
  .resources-v3 .rs-hero-lead { font-size: 14px; max-width: 92%; line-height: 1.85; }
  .resources-v3 .rs-kicker { font-size: 9px; letter-spacing: .14em; }
  .resources-v3 .rs-hero-actions { gap: 20px; flex-wrap: wrap; }
  .resources-v3 .rs-hero-actions a { font-size: 12px; gap: 17px; }
  .resources-v3 .rs-hero-foot { gap: 8px; font-size: 9px; letter-spacing: 0; }
  .resources-v3 .rs-hero-foot > span:first-child { max-width: 45%; }
  .resources-v3 .rs-directory { padding-block: 44px; }
  .resources-v3 .rs-section-heading { display: block; }
  .resources-v3 .rs-section-heading h2 { font-size: 29px; }
  .resources-v3 .rs-section-heading > p { margin-top: 14px; font-size: 13px; }
  .resources-v3 .rs-section-heading > p br { display: none; }
  .resources-v3 .rs-channel-grid { grid-template-columns: 1fr; gap: 24px; }
  .resources-v3 .rs-channel-visual { height: 210px; }
  .resources-v3 .rs-channel-copy p { min-height: 0; }
  .resources-v3 .rs-channel-copy { padding: 22px; }
  .resources-v3 .rs-channel-copy footer { margin-top: 16px; }
  .resources-v3 .rs-quickstart { padding-bottom: 44px; }
  .resources-v3 .rs-quickstart a { grid-template-columns: 1fr 24px; gap: 8px; }
  .resources-v3 .rs-quickstart a span { grid-column: 1; }
  .resources-v3 .rs-quickstart a strong { grid-column: 1; }
  .resources-v3 .rs-quickstart a i { grid-column: 2; grid-row: 1/3; }
  .resources-v3 .ro-command { grid-template-columns: minmax(0,1fr); margin-top: 24px; gap: 12px; }
  .resources-v3 .ro-command > p { grid-column: 1; grid-row: 3; margin: 0; }
  .resources-v3 .ro-filters { gap: 6px; }
  .resources-v3 .ro-filters button { padding-inline: 12px; font-size: 11px; }
  .resources-v3 .ro-workspace-lead { display: none; }
  .resources-v3 .ro-workspace-actions { margin: 0; width: 100%; gap: 6px; }
  .resources-v3 .ro-workspace-actions button { padding-inline: 9px; font-size: 10px; }
  .resources-v3 .ro-method-stop > button,
  .resources-v3 .ro-method-stop:nth-child(odd) > button,
  .resources-v3 .ro-method-stop:nth-child(even) > button { padding: 20px 16px; grid-template-columns: 32px minmax(0,1fr) 28px; gap: 12px; min-height: 105px; }
  .resources-v3 .ro-method-number { font-size: 26px; }
  .resources-v3 .ro-method-title strong { font-size: 18px; }
  .resources-v3 .ro-method-title small { font-size: 10px; }
  .resources-v3 .ro-method-panel { margin: 0 18px; }
  .resources-v3 .ro-method-panel dl > div { grid-template-columns: 65px 1fr; gap: 10px; }
  .resources-v3 .ro-data-feature { padding: 28px 22px; }
  .resources-v3 .ro-data-feature h2 { font-size: 29px; }
  .resources-v3 .ro-data-feature dl > div { grid-template-columns: 65px 1fr; gap: 10px; font-size: 12px; }
  .resources-v3 .ro-data-points { grid-template-columns: 1fr; max-height: 310px; }
  .resources-v3 .ro-data-points button { min-height: 85px; padding: 15px; }
  .resources-v3 .ro-library-chapter,.resources-v3 .ro-library-chapter:nth-child(even) { grid-template-columns: 42px minmax(0,1fr); }
  .resources-v3 .rs-document-spine { padding: 18px 7px; border-right-width: 3px; }
  .resources-v3 .rs-document-spine span { font-size: 20px; }
  .resources-v3 .rs-document-spine img { width: 21px; height: 21px; }
  .resources-v3 .ro-library-chapter > div:not(.rs-document-spine) { padding: 20px 16px; }
  .resources-v3 .ro-library-chapter h2 { font-size: 20px; }
  .resources-v3 .ro-library-chapter .ro-item-actions :is(a,button) { padding: 7px; font-size: 10px; }
  .resources-v3 .inner-section { padding-block: 38px; }
  .resources-v3 .topic-route-matrix { grid-template-columns: 1fr; }
  .resources-v3 .topic-route-matrix li { flex-direction: row; align-items: center; }
  .resources-v3 .topic-relationship-map { grid-template-columns: 1fr; }
  .resources-v3 .topic-node { min-height: 95px; padding: 18px 22px; border-right: 0; border-bottom: 1px solid var(--rs-line); }
  .resources-v3 .topic-node strong { margin: 8px 0 4px; }
  .resources-v3 .source-anchor-list li { grid-template-columns: 1fr auto; gap: 8px; }
  .resources-v3 .source-anchor-list li > span { grid-column: 1/-1; }
  .resources-v3 .source-anchor-list strong { font-size: 14px; }
  .resources-v3 .source-anchor-list a { font-size: 11px; }
  .resources-v3 .rs-glossary-hero .rs-hero-copy { width: calc(100% - 36px); }
  .resources-v3 .rs-glossary-hero h1,.resources-v3 .rs-glossary-hero .rs-hero-lead { max-width: 100%; }
  .resources-v3 .rs-glossary-art { top: auto; bottom: -12px; right: 6%; opacity: .13; }
  .resources-v3 .rs-glossary-art > span,.resources-v3 .rs-glossary-art > i { display: none; }
  .resources-v3 .glossary-command { flex-wrap: wrap; padding: 16px; gap: 10px; }
  .resources-v3 .glossary-command input { width: 100%; flex-basis: 100%; }
  .resources-v3 .glossary-shell { display: flex; flex-direction: column; gap: 18px; }
  .resources-v3 .glossary-index { padding: 15px; }
  .resources-v3 .glossary-term-list { max-height: 310px; overflow-y: auto; }
  .resources-v3 .glossary-definition { position: relative; top: auto; width: 100%; }
  .resources-v3.academic-index-page .ad-index-desk { width: calc(100% - 28px); padding-top: 18px; }
  .resources-v3.academic-index-page .ad-index-heading { min-height: 205px; padding: 24px; }
  .resources-v3.academic-index-page .ad-index-heading-copy { width: 100%; }
  .resources-v3.academic-index-page .ad-index-heading h1 { font-size: 36px; }
  .resources-v3.academic-index-page .ad-index-heading-copy > p:not(.ad-index-eyebrow) { font-size: 12px; }
  .resources-v3.academic-index-page .ad-flow-command > .ad-literature-tools { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .resources-v3.academic-index-page .ad-paper-record { padding: 20px 16px; }
  .resources-v3.academic-index-page .ad-feature-paper-heading h3 { font-size: 18px; }
  .resources-v3.academic-index-page .ad-nebula-preview-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .resources-v3.academic-index-page .ad-nebula-preview-actions :is(a,button) { padding: 9px 5px; font-size: 10px; min-width: 0; }
  .resources-v3.academic-index-page .ad-mode-tabs { gap: 6px; }
  .resources-v3.academic-index-page .ad-mode-tabs button { padding-inline: 10px; font-size: 11px; }
  .resources-v3 :is(.method-hero-grid,.dataset-title-grid,.knowledge-hero-layout) { padding-top: 25px; }
  .resources-v3 :is(.method-hero,.dataset-masthead,.knowledge-hero) h1 { font-size: 32px; }
  .resources-v3 .academic-paper-shell { width: calc(100% - 28px); }
  .resources-v3 .academic-paper-hero { padding: 28px 20px; }
  .resources-v3 .academic-paper-layout { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .resources-v3 *, .resources-v3 *::before, .resources-v3 *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .resources-v3 .rs-hero-photo,.resources-v3 .rs-glossary-art { transform: none !important; }
  .resources-v3 .rs-motion-ready [data-rs-reveal] { opacity: 1; transform: none; }
}
@media print {
  .resources-v3 .rs-reading-progress { display: none; }
  .resources-v3 :is(.method-hero,.dataset-masthead,.knowledge-hero,.academic-paper-hero) { color: #000; background: #fff; }
  .resources-v3 :is(.method-hero,.dataset-masthead,.knowledge-hero,.academic-paper-hero) :is(h1,p,dd,dt,a) { color: #000; }
}
