/* Final editorial layout refinements. */
.article-page .page-hero{padding-block:58px}.article-page .page-hero h1{font-size:clamp(2.4rem,4.5vw,4.8rem);max-width:1050px;margin-bottom:18px}.article-page .page-hero p{max-width:900px}.article-page .page-hero .eyebrow{margin-bottom:10px}.article-page .page-hero .last-checked{font-size:.85rem;margin-bottom:0}.article-page .page-hero .guide-byline{margin-block:.5rem 1rem}.book-summary h2{font-size:clamp(1.8rem,3vw,2.7rem);margin-top:2rem}.book-summary li{margin-bottom:.65rem}.book-summary .buy-links{margin-block:1.4rem}.brand .brand-first{display:inline;font:inherit;letter-spacing:inherit;white-space:inherit}.comparison-evidence{font-size:.85rem;line-height:1.5;display:block;margin-top:.5rem}.model-note{font-size:.9rem;line-height:1.6;background:#eef3f6;padding:1.2rem;border-left:4px solid #e5b52c}.review-evidence{padding:1rem 1.2rem;margin:1.5rem 0;background:#eef3f6;border-left:4px solid #b51b34;font-size:.9rem}.review-evidence p{margin:0 0 .6rem}.review-evidence ul{padding-left:1.2rem}.review-evidence li{margin:.4rem 0}.review-evidence a{overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}.country-source-note{font-size:.82rem;color:#46546a}.country-source-note a{font-weight:700;text-decoration:underline}.model-table{width:100%;border-collapse:collapse}.model-table th,.model-table td{text-align:left;padding:.8rem;border-bottom:1px solid #ccd3dc;vertical-align:top}.model-table a{text-decoration:underline}.model-table caption{text-align:left;font-weight:700;margin-bottom:1rem}
@media(max-width:760px){.article-page .page-hero{padding-block:54px}.article-page .page-hero h1{font-size:clamp(2rem,8vw,2.75rem);line-height:1.08}.article-page .page-hero .eyebrow{font-size:.68rem}.article-page .page-hero p{font-size:1rem}.topic-article{padding-top:1.8rem}.model-table{font-size:.85rem}.model-table th,.model-table td{padding:.6rem}}
@media(max-width:359px){.header-inner .brand>span{display:block;line-height:.94;font-size:1.03rem;letter-spacing:0;white-space:normal}.brand .brand-first{display:block;font-size:.74rem;line-height:1.1;letter-spacing:.06em}.brand strong{display:block;font-size:1.2rem;line-height:1}.brand small{display:none}.header-inner{gap:7px}.menu-button{min-width:58px;padding-inline:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.inline-evidence{display:block;font-size:.8rem;line-height:1.55;margin-top:.55rem;font-family:Arial,sans-serif}.inline-evidence a{text-decoration:underline;overflow-wrap:anywhere}.review-evidence summary{cursor:pointer;font-weight:700;min-height:44px;padding-block:.5rem}.review-evidence details[open] summary{margin-bottom:.8rem}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #071a3d;outline-offset:3px;box-shadow:0 0 0 3px #fff}.article-body p a:not(.button),.reading-width p a:not(.button),.topic-body a{text-decoration:underline;text-underline-offset:3px}.search-trigger{display:inline-flex;align-items:center;justify-content:center}.search-trigger svg{pointer-events:none}.model-note select{display:block;max-width:100%;min-height:44px;margin:.7rem 0}.model-note .button{margin-block:.4rem}
#budget .wrap>p>a{display:inline-flex;align-items:center;min-height:44px;margin:.3rem .6rem .3rem 0}.inline-evidence a{display:inline-flex;align-items:center;min-height:24px}.model-table td,.model-table th{overflow-wrap:anywhere}

/* Scoped repairs: preserve normal word boundaries and scroll complete tables. */
main h1,main h2,main h3,main h4,main label,main th,main td,.country-scorecard .score{overflow-wrap:normal;word-break:normal;hyphens:none}
main th,main td{min-width:7.5rem}
.table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin-block:1rem}
.table-scroll:focus-visible{outline:3px solid var(--navy);outline-offset:3px}
.table-scroll table{min-width:36rem;width:100%}
.table-scroll th,.table-scroll td{white-space:normal;overflow-wrap:normal;word-break:normal}
.table-scroll th a,.table-scroll td a{overflow-wrap:break-word}
.country-book-top .country-book-media img{height:auto;object-fit:contain;max-height:none!important;width:100%!important}
.country-book-top .country-book-media>span{position:static;display:block;margin-top:10px;font-size:.58rem;line-height:1.45;white-space:normal}
.country-book-top .button-row{flex-wrap:wrap}.country-book-top .button{white-space:normal;overflow-wrap:normal}
@media(max-width:760px){.country-book-top p:not(.eyebrow):not(.companion-title){display:block;font-size:.85rem;line-height:1.5;margin-bottom:.7rem}.country-book-top .wrap{align-items:start}.country-book-top .button{font-size:.74rem}.table-scroll table{font-size:.9rem}}

/* Keep the expanded menu on its own row at every compact-header width.
   Earlier tablet rules combine flex-wrap:nowrap with a 100% menu basis,
   which otherwise collapses the brand to zero width when the menu opens. */
@media(max-width:1080px){
  .site-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:minmax(76px,auto) auto;align-items:center;column-gap:10px;row-gap:0;min-height:76px}
  .site-header .brand{grid-column:1;grid-row:1;justify-self:start;min-width:0;max-width:100%;width:auto;overflow-wrap:normal;word-break:normal}
  .site-header .brand small{width:max-content;max-width:100%}
  .site-header .menu-button{grid-column:2;grid-row:1;margin:0}
  .site-header .search-trigger{grid-column:3;grid-row:1;margin:0}
  .site-header .site-nav{grid-column:1 / -1;grid-row:2;width:100%;max-width:100%;min-width:0;position:static;inset:auto;margin:0;padding:12px 0 18px;box-shadow:none;max-height:none;overflow:visible;flex-direction:column;align-items:stretch;gap:0}
  .site-header .site-nav:not(.open){display:none}
  .site-header .site-nav.open{display:flex}
}

/* Controlled component repairs: book-panel flow, source labels and social wrapping. */
.country-book-top+.country-lead-visual{margin-top:0}
.country-book-top .companion-title{overflow-wrap:normal;word-break:normal;hyphens:none}
@media(max-width:500px){.country-book-top .wrap{grid-template-columns:1fr}.country-book-top .country-book-media{width:100px}}
.source-links{grid-template-columns:repeat(auto-fit,minmax(min(100%,24rem),1fr));align-self:start;align-content:start;padding:clamp(12px,3vw,24px)}
.source-links a{overflow-wrap:normal;word-break:normal;hyphens:none;min-width:0;min-height:44px;display:flex;align-items:center}
.source-links a.source-url{overflow-wrap:anywhere}
.social-links{flex-wrap:wrap}
/* The current result card has one content child; no legacy rank column. */
#retirement-results>.recommendation-card{grid-template-columns:minmax(0,1fr)}
