html:is([data-country-exemplar], [data-country-reader]) { color-scheme: light; }
html:is([data-country-exemplar], [data-country-reader]) .footer .footer-col a {
  display: flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}
html:is([data-country-exemplar], [data-country-reader])[data-theme="dark"] {
  color-scheme: dark;
  --bg-primary: #15191a;
  --bg-secondary: #242b2b;
  --bg-tertiary: #1e2424;
  --bg-card: #1e2424;
  --bg-hover: #293232;
  --text-primary: #f0f4f2;
  --text-secondary: #d0d9d5;
  --text-tertiary: #a5b4ad;
  --border-color: #3b4742;
  --border-strong: #64756d;
  --accent-hover: #88d9ba;
  --accent-color: #49bd94;
  --rc-shell-wash: #15191a;
  --rc-shell-surface: #1e2424;
  --rc-shell-ink: #f0f4f2;
  --rc-shell-line: #3b4742;
}
html:is([data-country-exemplar], [data-country-reader]) .operational-main { color: var(--text-primary); }
html[data-country-exemplar] [data-modal-await-ready]:disabled {
  cursor: progress;
  color: var(--text-tertiary);
  opacity: 0.65;
}
html:is([data-country-exemplar], [data-country-reader])[data-theme="dark"] .footer {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-secondary);
}
html:is([data-country-exemplar], [data-country-reader])[data-theme="dark"] .footer :is(h5, a) {
  color: var(--text-primary);
}
html:is([data-country-exemplar], [data-country-reader]) .pub-hero-bar .nav-menu-toggle {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-strong);
}
html:is([data-country-exemplar], [data-country-reader]) .pub-hero-bar .nav-links-mobile {
  background: var(--bg-card);
  border-color: var(--border-strong);
}
html:is([data-country-exemplar], [data-country-reader]) .pub-hero-bar .nav-links-mobile a:not(.btn) {
  color: var(--text-primary);
}
.ch-exemplar-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ch-exemplar-heading > div { min-width: 0; }
.ch-register-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.ch-register-topics a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-bottom: 2px solid var(--border-color); text-decoration: none; }
.ch-register-topics a:hover { border-color: var(--ch-link); }
.ch-reader-theme-button { width: 44px; flex: 0 0 44px; }
.ch-reader-theme-button svg { width: 20px; height: 20px; }
.ch-exemplar-results { scroll-margin-top: 24px; }
.ch-exemplar-results .ch-register-row-summary { font-size: 15px; line-height: 1.55; }
.ch-exemplar-results .ch-register-row-body > section { max-width: 80ch; }
.ch-exemplar-results .ch-register-row-body .ch-register-source-evidence { max-width: none; border-top: 1px solid var(--border-color); padding-top: 14px; margin-top: 14px; }
.ch-exemplar-sources { border-top: 1px solid var(--border-color); padding-top: 24px; margin-top: 24px; scroll-margin-top: 24px; }
html[data-country-exemplar] .ch-filter-form:has(select[name="countries"]) { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 24px; }
html[data-country-exemplar] .ch-filter-form select[name="countries"] { min-width: 310px; width: 100%; }
html[data-country-exemplar] .cre-kicker { display: none; }
html[data-country-exemplar] .cre-disclosure summary { font-size: 14px; }
@media (max-width: 600px) {
  html[data-country-exemplar] .operational-main { padding-inline: 16px; }
  .ch-exemplar-results .ch-register-row-summary { font-size: 14px; }
  html[data-country-exemplar] .ch-register-filters label:has(select[name="firmType"]) { grid-column: 1 / -1; }
  html[data-country-exemplar] .ch-filter-form:has(select[name="countries"]) .ch-field { width: 100%; }
  html[data-country-exemplar] .ch-filter-form select[name="countries"] { min-width: 0; }
}
