body{background:#f6f7f2}
.world-data-page{width:min(1080px,calc(100% - 40px));padding:24px 0 60px}
.world-data-hero{padding:36px 0 24px}
.world-data-hero h1{font-size:clamp(2.2rem,5vw,3.5rem);letter-spacing:-.055em;line-height:1.1;margin:0 0 12px}
.world-data-hero p{margin:0;color:#526076;font-size:.92rem}
.data-filters{display:flex;gap:10px;align-items:center}
.search-field{flex:1}
.data-filters input,.data-filters select,.reset-filter{font:inherit;font-size:.86rem;border:1px solid #cbd3df;border-radius:9px;background:#fff;color:#101827;min-height:44px;padding:10px 13px}
.data-filters input{width:100%}
.data-filters input::placeholder{color:#647086}
.data-filters select{max-width:210px}
.reset-filter{cursor:pointer}
.data-count{color:#526076;font-size:.75rem;margin:14px 0}
.world-data-table-wrap{border-top:1px solid #d5dce5}
.world-data-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.world-data-table th,.world-data-table td{text-align:left;padding:14px 12px;border-bottom:1px solid #e0e4e9;vertical-align:middle}
.world-data-table thead th{color:#526076;font-weight:500;font-size:.74rem;padding-block:12px}
.world-data-table thead th:first-child,.world-data-table tbody th{padding-left:0}
.world-data-table tbody th[scope="row"]{width:44%;font-size:.87rem;font-weight:500}
.figure{width:30%;font-size:.9rem;font-weight:650;line-height:1.45}
.year{width:8%;font-size:.76rem;color:#526076;white-space:nowrap}
.source{width:18%;font-size:.73rem}
.source a{color:#3157d5;text-decoration:none}
.source a:hover{text-decoration:underline}
.topic-link{color:inherit;text-decoration:none}
.topic-link:hover{text-decoration:underline;text-underline-offset:4px}
.category-row th{padding:32px 0 10px;font-size:.82rem;font-weight:700;color:#3157d5;border-bottom:1px solid #cbd3df}
.category-row span{font-weight:400;color:#647086;margin-left:8px;font-size:.72rem}
tr[data-stat]:hover{background:rgba(255,255,255,.6)}
tr:target{background:#e8edff;scroll-margin-top:90px}
.world-data-footnote{margin-top:22px;color:#526076;font-size:.72rem}
.world-data-page [hidden]{display:none!important}
.world-data-page :focus-visible{outline:2px solid #3157d5;outline-offset:4px}
.population-footer{max-width:1080px}
@media(max-width:640px){
  .world-data-page{width:calc(100% - 28px);padding-top:20px}
  .world-data-hero{padding:28px 0 22px}
  .world-data-hero p{font-size:.84rem;max-width:280px}
  .data-filters{flex-wrap:wrap}
  .search-field{flex-basis:100%}
  .data-filters select{min-width:150px}
  .world-data-table,.world-data-table tbody{display:block;width:100%}
  .world-data-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .world-data-table tr[data-stat]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 12px;padding:14px 0;border-bottom:1px solid #e0e4e9}
  .world-data-table tr[data-stat]>*{width:auto;border:0;padding:0}
  .world-data-table tbody th[scope="row"]{width:auto;font-size:.82rem;grid-column:1;grid-row:1}
  .figure{grid-column:2;grid-row:1;text-align:right!important;font-size:.86rem;overflow-wrap:anywhere}
  .year{grid-column:1;grid-row:2;font-size:.7rem}
  .source{grid-column:2;grid-row:2;text-align:right!important;font-size:.7rem}
  .category-row,.category-row th{display:block}
  .category-row th{padding:26px 0 9px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
