.country-switcher {
  box-sizing: border-box;
  display: inline-grid;
  grid-template-columns: auto minmax(88px, 108px);
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 6px 4px 11px;
  border: 1px solid #c6d3e2;
  border-radius: 6px;
  background: #f8fbff;
  color: #27496f;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  box-shadow: 0 1px 2px rgba(20, 48, 82, 0.06);
}

.country-switcher--desktop {
  flex: 0 0 auto;
  margin-left: auto;
}

.unified-account-link {
  box-sizing: border-box;
  position: absolute;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.unified-account-link svg { width: 18px; height: 18px; flex: none; }
.unified-account-link:focus-visible { outline: 3px solid #68aaeb; outline-offset: 2px; }

.country-switcher__label {
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.country-switcher__select {
  width: 100%;
  min-height: 28px;
  margin: 0;
  padding: 3px 25px 3px 8px;
  border: 1px solid #aebfd4;
  border-radius: 4px;
  background-color: #ffffff;
  color: #123a69;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.country-switcher__select:focus-visible {
  outline: 3px solid rgba(7, 91, 198, 0.22);
  outline-offset: 1px;
}

.country-switcher__select[aria-busy="true"] {
  cursor: wait;
  opacity: 0.72;
}

body.desktop-theme-institutional .country-switcher {
  border-color: #b9cce4;
  border-radius: 4px;
  background: #f5f8fc;
  box-shadow: none;
}

@media (min-width: 1440px) {
  html[data-desktop-theme="institutional"] body.desktop-theme-institutional .country-switcher--desktop {
    margin-left: 0;
  }
}

@media (min-width: 901px) {
  .unified-account-link {
    top: 3px;
    right: max(12px, calc((100vw - 1416px) / 2));
    height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    background: #123f76;
    color: #fff;
  }
  .unified-account-link:hover { background: #1c518c; color: #fff; }
  html.has-unified-account .country-switcher--desktop {
    right: max(120px, calc((100vw - 1416px) / 2 + 108px));
  }
  .country-switcher--desktop {
    position: absolute;
    z-index: 90;
    top: 3px;
    right: max(12px, calc((100vw - 1416px) / 2));
    display: block;
    width: 88px;
    height: 28px;
    min-height: 28px;
    max-height: 28px;
    margin: 0;
    padding: 0;
    border-color: rgba(255, 255, 255, 0.35);
    background: transparent;
    box-shadow: none;
  }

  .country-switcher--desktop .country-switcher__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .country-switcher--desktop .country-switcher__select {
    width: 88px;
    height: 28px;
    min-height: 27px;
    max-height: 28px;
    padding-block: 1px;
    border-color: rgba(255, 255, 255, 0.42);
    background-color: #123f76;
    color: #ffffff;
    font-size: 12px;
  }

  html[data-country-app="uk"][data-desktop-theme="institutional"] body.desktop-theme-institutional .topbar {
    gap: 12px;
  }

  html[data-country-app="uk"][data-desktop-theme="institutional"] body.desktop-theme-institutional .institutional-header-search {
    grid-template-columns: 28px minmax(120px, 1fr) 56px;
    width: min(250px, 22vw);
    margin-left: auto;
  }

  html[data-country-app="uk"][data-desktop-theme="institutional"] body.desktop-theme-institutional .tabs {
    right: max(505px, calc((100vw - 1416px) / 2 + 445px));
    left: max(375px, calc((100vw - 1416px) / 2 + 345px));
  }

  html[data-country-app="uk"][data-desktop-theme="institutional"] body.desktop-theme-institutional .tabs .tab {
    padding-inline: 7px;
  }

  html[data-country-app="uk"][data-desktop-theme="institutional"] body.desktop-theme-institutional .tabs .tab:not([data-view="dashboard"]):not([data-view="cases"]):not([data-view="plans"]) {
    font-size: 12px;
  }

  html[data-country-app="uk"][data-desktop-theme="institutional"] body.desktop-theme-institutional .tabs .tab[data-view="dashboard"]::before,
  html[data-country-app="uk"][data-desktop-theme="institutional"] body.desktop-theme-institutional .tabs .tab[data-view="cases"]::before,
  html[data-country-app="uk"][data-desktop-theme="institutional"] body.desktop-theme-institutional .tabs .tab[data-view="plans"]::before {
    font-size: 12px;
  }

  .country-switcher--mobile {
    display: none;
  }
}

@media (max-width: 900px) {
  .unified-account-link {
    top: max(3px, env(safe-area-inset-top));
    right: 14px;
    width: 44px;
    height: 28px;
    border: 1px solid #809abd;
    border-radius: 4px;
    color: #fff;
    background: #123f76;
  }
  .unified-account-link svg { width: 20px; height: 20px; }
  .unified-account-link span { display: none; }
  .unified-account-link:hover { background: #1c518c; }
  html.has-unified-account .miqm-institutional-showcase__authority > small { visibility: hidden; }
  .country-switcher--desktop {
    display: none;
  }

  html[data-country-app] .country-switcher--mobile {
    position: absolute;
    z-index: 76;
    top: max(3px, env(safe-area-inset-top));
    right: 70px;
    grid-template-columns: 84px;
    height: 28px;
    min-height: 28px;
    padding: 0;
    border-color: #809abd;
    border-radius: 4px;
    background: #123f76;
    box-shadow: none;
  }

  .country-switcher--mobile .country-switcher__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .country-switcher--mobile .country-switcher__select {
    width: 84px;
    height: 26px;
    min-height: 26px;
    padding-block: 1px;
    border: 0;
    border-radius: 4px;
    background-color: #123f76;
    color: #fff;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .country-switcher,
  .country-switcher * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.data-governance-value {
  color: #b42318;
}

.data-governance-match-status {
  margin: 10px;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.data-governance-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin: 8px 0;
  font-size: 13px;
}

.data-governance-fields > div {
  min-width: 0;
  max-width: 100%;
}

.data-governance-fields > div:has(details[open]) {
  flex-basis: 100%;
}

.data-governance-notice {
  max-width: 100%;
  min-width: 0;
}

.data-governance-notice > summary {
  color: #b42318;
  border-color: #b42318;
}

.data-governance-body,
.data-governance-issue {
  display: block !important;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.data-governance-issue + .data-governance-issue {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
}

.data-governance-issue p {
  margin: 4px 0;
  font-weight: 400;
  color: #30343b;
}

.data-governance-body {
  max-height: 352px;
  overflow: auto;
}
