:root { --geo-global: #ab8850; --geo-other: #81919c; --geo-missing: #bc7371; }
[data-theme="dark"] { --geo-global: #c3a268; --geo-other: #8b9ba6; --geo-missing: #ce8d89; }
.country-page-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin: 3px 0 20px; }
.country-page-heading h1 { margin: 0 0 6px; }
.country-page-heading p { margin: 0; }
.country-page-heading > a { flex-shrink: 0; }
.country-saved-plan { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 12px; color: var(--muted); }
.country-saved-plan .button { font-size: 12px; }
.country-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.country-grid .panel { margin: 0; min-width: 0; padding: 24px; }
.country-grid h2 { font-size: 18px; }
.country-grid .section-title { gap: 14px; }
.country-grid .section-title > a { white-space: nowrap; }
.country-summary { display: grid; grid-template-columns: repeat(3,1fr); margin: 18px 0; gap: 12px; }
.country-summary strong { font-size: 26px; letter-spacing: -.5px; font-weight: 650; }
.country-summary small { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.country-strip { display: flex; height: 10px; border-radius: 4px; overflow: hidden; width: 100%; background: var(--soft); }
.country-strip i { display: block; height: 100%; flex-shrink: 0; }
.country-key { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 20px; color: var(--muted); font-size: 11px; }
.country-key span { display: inline-flex; gap: 5px; align-items: center; }
.country-key b { color: var(--ink); font-weight: 550; }
.country-key i, .country-bar-heading i { display: inline-block; width: 8px; height: 8px; flex-shrink: 0; border-radius: 2px; }
.country-bars { margin: 16px 0 0; padding: 0; list-style: none; }
.country-bars > li { margin-bottom: 13px; }
.country-bar-heading { display: flex; gap: 10px; align-items: baseline; font-size: 13px; }
.country-bar-heading > span { display: inline-flex; gap: 8px; align-items: center; flex: 1; }
.country-bar-heading > strong { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.country-bar-heading > small { font-size: 11px; color: var(--muted); text-align: right; min-width: 64px; }
.country-track { height: 5px; border-radius: 2px; overflow: hidden; background: var(--soft); margin-top: 7px; }
.country-track i { display: block; height: 100%; min-width: 1px; border-radius: 2px; }
.country-contributors { margin: 5px 0 0 16px; font-size: 10px; line-height: 1.4; color: var(--muted); }
.country-contributors a { color: var(--muted); }
.country-more { border-top: 1px solid var(--line); margin: 6px 0 14px; padding-top: 10px; }
.country-more summary, .country-source-details summary { color: var(--accent); font-size: 12px; cursor: pointer; }
.country-gap { font-size: 12px; padding: 10px 12px; border-radius: 6px; color: var(--ink); background: var(--soft); }
.country-grid .caption { font-size: 11px; line-height: 1.5; margin-bottom: 0; }
.country-method { font-size: 11px; color: var(--muted); text-align: right; }
.country-select-label { display: block; color: var(--muted); font-size: 11px; margin: 16px 0 5px; }
#country-fund { width: 100%; max-width: 100%; padding: 10px 12px; border-radius: 7px; border: 1px solid var(--line); background: var(--input-bg); color: var(--ink); font: inherit; font-size: 13px; }
.country-fund-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 14px; }
.country-ticker { color: var(--ink); font-size: 30px; font-weight: 650; letter-spacing: -.6px; }
.country-fund-heading > span { text-align: right; }
.country-fund-heading strong { display: block; font-size: 13px; font-weight: 600; }
.country-fund-heading small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.country-basis { margin: 14px 0 10px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.country-source-details { border-top: 1px solid var(--line); padding-top: 10px; margin-bottom: 16px; }
.country-source-details p { font-size: 12px; line-height: 1.6; color: var(--muted); }
.country-sources { font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.country-sources > span { font-weight: 600; }
.country-sources ul { padding-left: 16px; margin: 6px 0; }
.country-sources li { margin: 6px 0; }
.country-library { margin-top: 20px; }
.country-filters { display: flex; align-items: center; gap: 18px; margin: 16px 0; }
.country-filters > label:first-child { flex: 1; max-width: 460px; }
.country-filters input[type="search"] { width: 100%; background: var(--input-bg); color: var(--ink); border: 1px solid var(--line); padding: 11px 12px; border-radius: 7px; font: inherit; font-size: 13px; }
.country-checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; cursor: pointer; }
.country-checkbox input { accent-color: var(--accent); width: 16px; height: 16px; }
.country-table { width: 100%; min-width: 670px; }
.country-library .table-scroll { position: relative; }
.country-table th { font-size: 11px; white-space: nowrap; }
.country-table td { font-size: 12px; vertical-align: middle; padding-top: 16px; padding-bottom: 16px; }
.country-table td:first-child { width: 24%; }
.country-table td:nth-child(3) { width: 31%; }
.country-table td:last-child { text-align: right; }
.country-table td > small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.country-table-ticker { font-size: 14px; font-weight: 650; }
.country-table-exposure { display: flex; justify-content: space-between; gap: 12px; }
.country-table-exposure b { font-weight: 550; }
.country-table .country-strip { height: 5px; margin-top: 7px; max-width: 310px; }
.country-table .button { font-size: 11px; white-space: nowrap; padding: 7px 10px; }
.country-methodology { font-size: 13px; line-height: 1.7; }
.country-methodology summary { font-weight: 600; cursor: pointer; }
.country-methodology p { color: var(--muted); max-width: 1000px; }
.country-grid :focus-visible, .country-library :focus-visible, .country-methodology :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 900px) {
  .country-grid { gap: 14px; }
  .country-grid .panel { padding: 18px; }
  .country-grid h2 { font-size: 16px; }
  .country-summary strong { font-size: 23px; }
}
@media (max-width: 700px) {
  .country-page-heading { align-items: start; margin-bottom: 16px; }
  .country-page-heading p { font-size: 11px; max-width: 280px; }
  .country-page-heading > a { font-size: 10px; padding: 7px 8px; }
  .country-grid { grid-template-columns: 1fr; }
  .country-grid .panel { padding: 18px; }
  .country-grid .section-title { flex-direction: row; align-items: center; }
  .country-grid .section-title > a { font-size: 11px; }
  .country-filters { align-items: stretch; flex-direction: column; gap: 12px; }
  .country-filters > label:first-child { max-width: none; }
  .country-library { padding: 16px; }
  .country-bar-heading > small { min-width: 54px; }
  .country-bar-heading, .country-bar-heading > strong { font-size: 12px; }
  .country-library .section-title { flex-direction: row; }
  .country-library .section-title h2 { font-size: 18px; }
  .security-bar .button-row { flex-wrap: wrap; }
  #fund-breakdown { scroll-margin-top: 18px; }
}
@media (max-width: 360px) {
  .site-nav a, .site-nav a:last-child { font-size: 9px; padding: 0 1px; }
  .country-grid .panel { padding: 14px; }
  .country-page-heading { flex-wrap: wrap; }
}
