/* Functional pages start with the task; long-form explanations remain intact. */
body[data-editorial][data-editorial] :is(.procedure-hero,.guide-hero,.rate-hero,.news-index-header,.institution-index>.article-title),
body[data-editorial="tools"] .fee-hero {
 display:block;min-height:0;padding:24px 0;margin:0 0 20px;background:none;border:0;border-radius:0;
}
body[data-editorial][data-editorial] :is(.procedure-hero,.guide-hero,.rate-hero,.news-index-header,.institution-index>.article-title)::after,
body[data-editorial="tools"] .fee-hero::after {display:none}
body[data-editorial][data-editorial] :is(.procedure-hero,.guide-hero,.rate-hero)>img {display:none}
body[data-editorial][data-editorial] :is(.procedure-hero,.guide-hero,.rate-hero,.news-index-header,.institution-index>.article-title,.fee-hero) h1 {
 font-size:clamp(25px,3.1vw,42px);line-height:1.5;letter-spacing:.02em;margin:8px 0 12px;word-break:normal;overflow-wrap:anywhere;text-wrap:pretty;
}
body[data-editorial][data-editorial] :is(.procedure-hero,.guide-hero,.rate-hero,.news-index-header,.institution-index>.article-title,.fee-hero) p {max-width:760px;margin:8px 0;font-size:16px;line-height:1.8}
body[data-editorial][data-editorial] :is(.procedure-hero,.guide-hero,.rate-hero,.news-index-header,.institution-index>.article-title,.fee-hero) .eyebrow {font-size:12px;margin:0}
.procedure-hero .procedure-meta {gap:6px 16px;margin-top:12px}
.procedure-shell>.institution-hub-links {margin:0 0 20px;padding:12px 0;gap:8px 20px;border-block:1px solid #ead8e0;display:flex;flex-wrap:wrap}
.institution-hub-links a {font-size:14px;line-height:1.65}
.procedure-library {margin-top:0!important;padding-top:4px!important}
.procedure-section-heading {margin-bottom:16px!important}
.procedure-section-heading h2 {font-size:20px!important}
.institution-page .procedure-hero {margin-bottom:16px}
.institution-page .procedure-hero h1 {margin:6px 0 12px}
.institution-page .procedure-hero .procedure-meta {font-size:12px;line-height:1.7}
.institution-page>.institution-hub-links a {border:0;border-radius:0;padding:5px 0;background:none;box-shadow:none}
.institution-page>.institution-hub-links a:hover {text-decoration:underline}
.institution-page .procedure-library .procedure-section-heading {margin:0 0 12px;line-height:1.5}
.institution-page .procedure-library .procedure-section-heading h2 {margin:0;line-height:1.5}
.institution-page .procedure-library .procedure-filters {margin-top:12px}
.procedure-filters {margin-bottom:20px!important}
.procedure-reading .procedure-section,.procedure-reading .institution-official-section {padding-block:30px;margin-block:0}
.procedure-reading .reading-depth-head {padding-top:26px}
.procedure-body {min-width:0}
.procedure-toc a {line-height:1.6}
.institution-index>.institution-qa-library {margin-top:0}
.institution-index>.institution-hub-links {margin-top:32px}
.rate-shell>.rate-toolbar {margin-top:0;padding-top:12px}
.rate-meaning {margin-block:16px 24px;padding:18px 22px}
.rate-meaning p {margin-bottom:0;font-size:14px;line-height:1.8}
body .fee-hero {max-width:none}
.fee-badges {margin-top:12px;gap:6px}
.fee-intro-note {font-size:13px!important;line-height:1.7!important;margin:10px 0 20px!important;padding:12px 16px!important;background:#fff5f8}
.fee-tabs {margin-top:0!important}
.fee-usage-details {margin:28px 0;border-top:1px solid #e7cfd9;padding-top:18px}
.fee-usage-details>summary {cursor:pointer;font-weight:600;padding:10px 0;color:#782744}
.fee-usage-details .fee-use-cases {margin-top:16px}
.news-index-shell>.section {padding-top:0!important}

/* Five destinations, with a visible, keyboard-accessible direct path to QA. */
.header .desktop-nav {align-items:center}
.header .nav-group {position:relative;margin:0;border:0;padding:0;background:transparent;font-size:14px}
.header .nav-group>summary {display:flex;align-items:center;justify-content:space-between;gap:7px;list-style:none;cursor:pointer;min-height:44px;padding:9px 10px;line-height:1.5;white-space:nowrap;border:0;border-radius:8px;color:#572e40;font-size:inherit}
.header .nav-group>summary::-webkit-details-marker {display:none}
.header .nav-group>summary::after {display:none}
.header .nav-group>summary span {font-size:15px;transition:transform .15s}
.header .nav-group[open]>summary span {transform:rotate(180deg)}
.header .nav-group[data-current],.header .nav-group[open]>summary,.header .nav-group>summary:hover {color:#782744;background:#f9edf2;border-radius:8px}
.header .nav-submenu {display:grid;gap:2px;background:#fff;padding:10px;min-width:248px;box-shadow:0 16px 40px #54243820;border:1px solid #ecdbe3;border-radius:8px}
.header .desktop-nav .nav-submenu {position:absolute;top:calc(100% + 8px);left:0;z-index:90}
.header .desktop-nav .nav-group:last-of-type .nav-submenu {left:auto;right:0}
.header .nav-submenu a {display:block;text-decoration:none;padding:12px 14px;line-height:1.55;font-size:14px;color:#502d3b;border-radius:4px;white-space:normal}
.header .nav-submenu a:hover,.header .nav-submenu a[aria-current] {background:#fff1f6;color:#782744}
.header .mobile-menu .nav-group>summary {padding:14px 12px;font-size:16px;white-space:normal}
.header .mobile-menu .nav-submenu {min-width:0;box-shadow:none;margin:0 6px 10px;border:0;border-left:2px solid #e8b7c9;border-radius:0;background:#fff9fb;padding:4px}
.header :is(a,summary):focus-visible {outline:2px solid #8b3057;outline-offset:3px}

/* Keep the homepage's artwork, but let visitors reach a task without a long intro. */
.home-page .home-intro {padding-block:48px;grid-template-columns:minmax(0,1fr) 180px;gap:40px}
.home-page .home-intro h1 {font-size:clamp(28px,4vw,52px)}
.home-page .home-welcome-art img {max-width:180px}
.home-page .home-welcome-art figcaption {font-size:12px;letter-spacing:.02em;white-space:nowrap}
.home-page .home-qa-entry {display:flex;flex-wrap:wrap;gap:4px 16px;justify-content:flex-start;align-items:center;padding:14px 0;margin:4px 0 0;background:none;border:0;font-size:14px}
.home-page .home-qa-entry b {font-size:14px}
.home-page .home-qa-entry span {font-size:12px}
.home-page .home-tasks {gap:20px}
.home-page .task-art {min-height:0;height:280px}
.home-page .home-tasks {grid-template-columns:repeat(3,minmax(0,1fr));padding-block:32px}
.home-page .home-hub a.task-banner {grid-template-columns:1fr;grid-template-rows:180px 1fr;grid-row:auto;height:auto;min-height:330px}
.home-page .task-visual {min-height:0}
.home-page .task-caption {padding:22px 24px 40px}
.home-page .task-caption h2 {font-size:24px;line-height:1.5}
.home-page .home-tool-shortcuts {margin-inline:max(6vw,24px)}
.home-page .home-tool-shortcuts .hub-section-title h2 {font-size:22px;letter-spacing:0}
.home-page .home-intro {min-height:0}
.home-tool-shortcuts {margin:40px 0 48px}
.home-tool-shortcuts .hub-section-title {align-items:center;margin-bottom:18px}
.home-tool-shortcuts h2 {font-size:22px;line-height:1.5;margin:0}
.home-tool-shortcuts .hub-section-title>a {font-size:14px;white-space:nowrap}
.home-tool-shortcuts nav {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid #e5cbd6}
.home-tool-shortcuts nav a {position:relative;display:flex;flex-direction:column;gap:7px;padding:22px 32px 22px 18px;text-decoration:none;min-width:0;line-height:1.5}
.home-tool-shortcuts nav a+a {border-left:1px solid #ead5de}
.home-tool-shortcuts nav a:hover {background:#fff3f7}
.home-tool-shortcuts span {font-weight:650;color:#68243f;font-size:16px}
.home-tool-shortcuts small {font-size:12px;color:#6e5d65}
.home-tool-shortcuts nav b {position:absolute;right:12px;top:24px;color:#a24d70}
.home-latest-link {display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5cbd6;padding:20px 0;text-decoration:none;gap:20px}
.home-latest-link b,.home-latest-link small {display:block}
.home-latest-link b {font-size:18px;margin-bottom:6px}
.home-latest-link small {font-size:13px;color:#6e5d65}
.home-cycle-section>h2 {font-size:24px;line-height:1.5}

/* The full 33-topic index is still present; only secondary groups are folded. */
.cf-hero {padding:32px 38px;grid-template-columns:minmax(0,1fr) 100px;gap:24px}
.cf-hero h1 {font-size:clamp(29px,3.8vw,46px);margin-bottom:12px}
.cf-lead {font-size:16px;margin-bottom:0}
.cf-hero .cf-primary {display:none}
.cf-hero-aside img {width:80px}
.cf-hero-aside p {margin:8px 0 0;font-size:12px}
.cf-notice {margin:12px 0 20px;padding:12px 16px}
.cf-find {padding-top:0;margin-top:0}
.cf-find h2 {font-size:23px;margin-bottom:10px}
.cf-find>p:not(.cf-kicker) {margin:6px 0 12px;font-size:14px}
.cf-tabs {margin:12px 0}
.cf-group {border:1px solid #e4cbd6;border-radius:8px;padding:0 24px}
.cf-group>summary {display:flex;justify-content:space-between;align-items:center;gap:18px;cursor:pointer;font-weight:650;font-size:22px;padding:24px 0;color:#65223d;list-style:none;line-height:1.6}
.cf-group>summary::after {content:'＋';font-size:24px;font-weight:400}
.cf-group[open]>summary::after {content:'−'}
.cf-group>summary b {font-size:13px;white-space:nowrap;margin-left:auto}
.cf-group>summary::-webkit-details-marker {display:none}
.cf-latest {margin-top:40px}
.cf-evidence a[aria-haspopup=dialog],.report-pdf-preview a[aria-haspopup=dialog] {cursor:zoom-in}

/* Source-page viewer: no navigation, no generated replacement of official data. */
.evidence-viewer {width:min(1100px,calc(100vw - 28px));max-width:none;height:min(900px,calc(100dvh - 40px));max-height:none;padding:0;border:1px solid #e1cbd4;border-radius:12px;color:#402d36;background:white;overflow:hidden}
.evidence-viewer[open] {display:flex;flex-direction:column}
.evidence-viewer::backdrop {background:#27151ed4}
.evidence-viewer-top {display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 20px;border-bottom:1px solid #e6d5de;flex:none}
.evidence-viewer h2 {font-size:18px;margin:0;line-height:1.5}
.evidence-viewer button {font:inherit;font-size:14px;color:#68243f;background:#fff3f7;border:1px solid #ddbac9;border-radius:6px;min-height:44px;min-width:44px;padding:8px 14px;cursor:pointer}
.evidence-viewer-tools {display:flex;align-items:center;gap:12px;padding:12px 20px 0;flex:none}
.evidence-viewer-tools label {font-size:13px;white-space:nowrap}
.evidence-viewer-tools input {max-width:260px;min-width:50px;flex:1;accent-color:#893255}
.evidence-pan-hint {font-size:12px;margin:8px 20px 12px;line-height:1.5}
.evidence-viewport {overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;background:#f0e9ed;padding:12px;touch-action:pan-x pan-y pinch-zoom}
.evidence-viewport img {display:block;max-width:none!important;height:auto!important;object-fit:contain;margin:0 auto;background:#fff}
.evidence-viewer-caption {font-size:12px;line-height:1.6;padding:12px 20px;margin:0;max-height:100px;overflow:auto;flex:none}

@media(max-width:760px){
 body[data-editorial][data-editorial] :is(.procedure-hero,.guide-hero,.rate-hero,.news-index-header,.institution-index>.article-title),body[data-editorial="tools"] .fee-hero {padding:14px 0 12px;margin-bottom:12px}
 body[data-editorial][data-editorial] :is(.procedure-hero,.guide-hero,.rate-hero,.news-index-header,.institution-index>.article-title,.fee-hero) h1 {font-size:26px;line-height:1.5;letter-spacing:0}
 body[data-editorial][data-editorial] :is(.procedure-hero,.guide-hero,.rate-hero,.news-index-header,.institution-index>.article-title,.fee-hero) p {font-size:14px;line-height:1.8}
 .procedure-hero .procedure-meta {font-size:11px;line-height:1.6;margin-top:10px}
 .procedure-shell>.institution-hub-links {gap:7px 18px;margin-bottom:16px;padding:10px 0}
 .institution-page>.institution-hub-links {display:grid;grid-template-columns:1fr 1fr;gap:4px 12px}
 .institution-page>.institution-hub-links a {font-size:12px;line-height:1.7}
 .procedure-section-heading {display:block!important}
 .procedure-section-heading>a {display:inline-block;margin-top:6px;font-size:13px}
 .procedure-section-heading h2 {font-size:19px!important}
 .procedure-filters {padding:16px!important}
 .institution-library-filters {padding:16px!important}
 .rate-meaning {padding:16px}
 .fee-badges span {font-size:11px;padding:4px 8px}
 .fee-intro-note {padding:10px 12px!important}
 .fee-card-heading p {font-size:13px}
 .home-page .home-intro {padding:30px 20px 20px;grid-template-columns:1fr;gap:12px}
 .home-page .home-intro h1 {font-size:clamp(25px,6.5vw,36px);line-height:1.55}
 .home-page .home-welcome-art {display:none}
 .home-page .home-qa-entry {display:block;padding:12px 0 0;line-height:1.8}
 .home-page .home-qa-entry span {margin-right:10px}
 .home-page .home-tasks {gap:14px}
 .home-page .home-tasks {grid-template-columns:1fr;padding-block:24px}
 .home-page .home-hub a.task-banner {grid-template-columns:38% minmax(0,1fr);grid-template-rows:1fr;min-height:166px;height:auto}
 .home-page .task-caption {padding:16px 18px 32px}
 .home-page .task-caption h2 {font-size:21px;line-height:1.5;letter-spacing:0}
 .home-page .task-caption p {font-size:12px;line-height:1.7}
 .home-page .home-tool-shortcuts .hub-section-title h2 {font-size:19px}
 .home-page .task-art {height:170px;min-height:0}
 .home-tool-shortcuts {margin:30px 0}
 .home-tool-shortcuts .hub-section-title {gap:12px}
 .home-tool-shortcuts h2 {font-size:19px}
 .home-tool-shortcuts .hub-section-title>a {font-size:12px}
 .home-tool-shortcuts nav {grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-tool-shortcuts nav a {padding:18px 25px 18px 10px}
 .home-tool-shortcuts nav a:nth-child(3) {border-left:0}
 .home-tool-shortcuts nav a:nth-child(n+3) {border-top:1px solid #ead5de}
 .home-tool-shortcuts span {font-size:15px}
 .home-tool-shortcuts nav b {right:8px;top:19px}
 .home-cycle-section>h2 {font-size:23px}
 .cf-hero {padding:24px;grid-template-columns:1fr;margin-top:16px;gap:0}
 .cf-shell .cf-hero {padding-block:20px}
 .cf-shell .cf-hero .cf-kicker {margin-bottom:10px}
 .cf-shell .cf-find h2 {font-size:21px;margin:0 0 12px}
 .cf-hero h1 {font-size:28px;line-height:1.5}
 .cf-hero-aside {display:none}
 .cf-lead {font-size:14px}
 .cf-statusline {padding-block:10px;margin:0}
 .cf-find h2 {font-size:21px;line-height:1.5}
 .cf-find>.cf-kicker {display:none}
 .cf-filter {padding:12px;margin-top:12px}
 .cf-group {padding-inline:18px}
 .cf-group>summary {font-size:19px;gap:10px;padding:18px 0}
 .evidence-viewer {width:calc(100vw - 12px);height:calc(100dvh - 16px);border-radius:8px}
 .evidence-viewer-top {padding:10px 12px}
 .evidence-viewer-tools {padding:10px 12px 0;gap:6px;flex-wrap:wrap}
 .evidence-viewer-tools input {order:5;max-width:none;flex-basis:100%;height:30px}
 .evidence-viewer-tools label {margin-left:auto}
 .evidence-viewer-tools button {padding:8px 12px}
 .evidence-pan-hint {margin-inline:12px}
 .evidence-viewer-caption {padding:10px 12px;max-height:90px}
}
@media(prefers-reduced-motion:reduce){.header .nav-group>summary span {transition:none}}
@media print{.evidence-viewer {display:none!important}}


body[data-editorial] .guide-library{margin-top:0;padding-top:0}body[data-editorial] .guide-library .library-heading{margin-block:12px}body[data-editorial] .guide-library .library-heading h2{font-size:22px;margin:0}.guide-hero .guide-meta{font-size:12px;line-height:1.7}.guide-shell>.institution-hub-links{margin-block:0 20px}
