:root {
  --app-bg: #f5f7f4;
  --app-surface: #ffffff;
  --app-soft: #eef3ec;
  --app-soft-2: #e7efe5;
  --app-ink: #102f27;
  --app-muted: #687b73;
  --app-green: #07513f;
  --app-green-dark: #043a2e;
  --app-lime: #dff0ad;
  --app-line: rgba(9, 52, 42, 0.11);
  --app-line-strong: rgba(9, 52, 42, 0.18);
  --app-shadow:
    0 12px 35px rgba(8, 45, 37, 0.055),
    0 2px 7px rgba(8, 45, 37, 0.025);
}

html {
  background: var(--app-bg);
}

body.public-application {
  min-width: 320px;
  margin: 0;
  background: var(--app-bg);
  color: var(--app-ink);
  font-family:
    "Segoe UI Variable",
    "Segoe UI",
    Inter,
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

body.public-application *,
body.public-application *::before,
body.public-application *::after {
  box-sizing: border-box;
}

body.public-application a {
  color: inherit;
}

body.public-application button,
body.public-application input,
body.public-application select {
  font: inherit;
}

body.public-application .ui-main {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 150px);
  margin: 0;
  padding: 0;
}

body.public-application .ui-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.px-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.px-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.px-eyebrow {
  display: block;
  color: #63805e;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Header */

body.public-application .ui-header {
  position: sticky;
  top: 0;
  z-index: 500;
  border-bottom: 1px solid var(--app-line);
  background: rgba(250, 251, 248, 0.94);
  box-shadow: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.public-application .ui-header-inner {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
}

body.public-application .ui-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--app-ink);
  text-decoration: none;
}

body.public-application .ui-brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: var(--app-green);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  box-shadow: 0 7px 17px rgba(7, 66, 51, 0.16);
}

body.public-application .ui-brand-text {
  display: grid;
}

body.public-application .ui-brand-text strong {
  font-size: 1rem;
  line-height: 1.1;
}

body.public-application .ui-brand-text small {
  margin-top: 3px;
  color: #73827b;
  font-size: 0.46rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

body.public-application .ui-desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  background: #fff;
}

body.public-application .ui-desktop-nav a {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 9px;
  background: transparent !important;
  color: #405b52 !important;
  font-size: 0.73rem;
  font-weight: 650;
  text-decoration: none;
}

body.public-application .ui-desktop-nav a:hover {
  background: var(--app-soft) !important;
}

body.public-application
.ui-desktop-nav
a[aria-current="page"] {
  background: #e5eddc !important;
  color: var(--app-ink) !important;
}

body.public-application .ui-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

body.public-application .ui-country-button,
body.public-application .ui-account-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 11px;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

body.public-application .ui-country-button {
  border: 1px solid var(--app-line);
  background: #fff;
}

body.public-application .ui-country-button img {
  width: 24px;
  height: 18px;
  border-radius: 3px;
  object-fit: cover;
}

body.public-application .ui-account-button {
  background: var(--app-green);
  color: #fff !important;
}

body.public-application .ui-account-button .ui-icon {
  width: 17px;
  height: 17px;
}

/* Shared light page headers */

body.public-application .px-country-hero,
body.public-application .px-directory-hero,
body.public-application .px-home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--app-line);
  border-radius: 17px;
  background:
    linear-gradient(
      120deg,
      rgba(232, 242, 222, 0.8),
      rgba(255, 255, 255, 0) 42%
    ),
    #fff;
  color: var(--app-ink);
  box-shadow: var(--app-shadow);
}

body.public-application .px-country-hero::before,
body.public-application .px-directory-hero::before,
body.public-application .px-home-hero::before {
  position: absolute;
  z-index: -1;
  top: -110px;
  right: -90px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(208, 232, 157, 0.18);
  content: "";
}

body.public-application .px-hero-icon {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 11px;
  background: var(--app-soft-2);
  color: var(--app-green);
}

body.public-application .px-country-heading,
body.public-application .px-directory-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

body.public-application
.px-country-heading
.px-eyebrow,
body.public-application
.px-directory-heading
.px-eyebrow,
body.public-application
.px-home-copy
.px-eyebrow {
  color: #67815f;
}

body.public-application .px-country-heading h1,
body.public-application .px-directory-heading h1 {
  margin: 3px 0 6px;
  color: var(--app-ink);
  font-family:
    "Segoe UI Variable",
    "Segoe UI",
    Inter,
    system-ui,
    sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

body.public-application .px-country-heading p,
body.public-application .px-directory-heading p {
  max-width: 570px;
  margin: 0;
  color: var(--app-muted);
  font-size: 0.79rem;
  line-height: 1.5;
}

/* Country selection */

body.public-application .px-country-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: center;
  min-height: 150px;
  padding: 25px;
}

body.public-application .px-country-search {
  display: flex;
  min-height: 47px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--app-line);
  border-radius: 11px;
  background: #f7f9f5;
  color: var(--app-ink);
  box-shadow: none;
}

body.public-application .px-country-search input {
  min-width: 0;
  min-height: 45px;
  flex: 1;
  padding: 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--app-ink);
  font-size: 0.82rem;
}

body.public-application .px-country-search > span:last-child {
  color: var(--app-muted);
  font-size: 0.66rem;
  white-space: nowrap;
}

body.public-application .px-country-results {
  padding-top: 27px;
}

body.public-application .px-country-results > header,
body.public-application .px-section-header,
body.public-application .px-results-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  padding: 0 2px;
}

body.public-application .px-country-results h2,
body.public-application .px-section-header h2,
body.public-application .px-results-header h2 {
  margin: 3px 0 0;
  color: var(--app-ink);
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}

body.public-application .px-country-results > header p {
  margin: 0;
  color: var(--app-muted);
  font-size: 0.72rem;
}

body.public-application .px-country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.public-application .px-country-grid li[hidden] {
  display: none;
}

body.public-application .px-country-grid a {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  text-decoration: none;
  transition:
    border-color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

body.public-application .px-country-grid a:hover {
  border-color: var(--app-line-strong);
  box-shadow: var(--app-shadow);
  transform: translateY(-2px);
}

body.public-application .px-country-flag {
  position: relative;
  display: grid;
  place-items: center;
  width: 49px;
  height: 36px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 7px;
  background: var(--app-soft);
  color: var(--app-muted);
  font-size: 0.65rem;
  font-weight: 800;
}

body.public-application .px-country-flag img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.public-application .px-country-name {
  display: grid;
  min-width: 0;
  flex: 1;
}

body.public-application .px-country-name small {
  color: #7b8983;
  font-size: 0.61rem;
}

body.public-application .px-country-name strong {
  font-size: 0.86rem;
}

body.public-application .px-round-arrow {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--app-soft);
  color: var(--app-green);
}

/* Clean home */

body.public-application .px-home {
  padding-top: 20px;
}

body.public-application .px-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 270px;
  gap: 35px;
  align-items: center;
  min-height: 235px;
  padding: 31px;
}

body.public-application .px-home-glow {
  display: none;
}

body.public-application .px-home-copy h1 {
  max-width: 700px;
  margin: 6px 0 11px;
  color: var(--app-ink);
  font-family:
    "Segoe UI Variable",
    "Segoe UI",
    Inter,
    system-ui,
    sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 3.45rem);
  font-weight: 740;
  line-height: 0.98;
  letter-spacing: -0.06em;
  white-space: pre-line;
}

body.public-application .px-home-copy > p {
  max-width: 590px;
  margin: 0;
  color: var(--app-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

body.public-application .px-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

body.public-application .px-button {
  display: inline-flex;
  min-height: 41px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 750;
  text-decoration: none;
}

body.public-application .px-button-accent {
  background: var(--app-green);
  color: #fff !important;
}

body.public-application .px-button-glass {
  border: 1px solid var(--app-line);
  background: #fff;
  color: var(--app-ink) !important;
}

body.public-application .px-home-country {
  padding: 16px;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: #f1f5ed;
  box-shadow: none;
  backdrop-filter: none;
}

body.public-application .px-home-country-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.public-application .px-flag-frame {
  display: grid;
  place-items: center;
  width: 52px;
  height: 39px;
  overflow: hidden;
  border-radius: 7px;
}

body.public-application .px-flag-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.public-application .px-home-country-top > div {
  display: grid;
  gap: 2px;
}

body.public-application .px-home-country-top small,
body.public-application .px-home-stat span {
  color: var(--app-muted);
  font-size: 0.64rem;
}

body.public-application .px-home-country-top strong {
  color: var(--app-ink);
  font-size: 0.9rem;
}

body.public-application .px-home-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 11px;
  padding: 12px 0;
  border-top: 1px solid var(--app-line);
  border-bottom: 1px solid var(--app-line);
}

body.public-application .px-home-stat strong {
  color: var(--app-green);
  font-size: 1.45rem;
}

body.public-application .px-home-country > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--app-green);
  font-size: 0.68rem;
  font-weight: 750;
  text-decoration: none;
}

/* Compact service navigation */

body.public-application .px-services {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding-top: 10px;
}

body.public-application .px-service,
body.public-application .px-service-primary,
body.public-application .px-service-dark {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  min-width: 0;
  min-height: 92px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: #fff;
  color: var(--app-ink);
  box-shadow: none;
  text-decoration: none;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

body.public-application .px-service:hover {
  box-shadow: var(--app-shadow);
  transform: translateY(-2px);
}

body.public-application .px-service-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--app-soft-2);
  color: var(--app-green);
}

body.public-application
.px-service-dark
.px-service-icon {
  background: var(--app-green);
  color: #fff;
}

body.public-application .px-service-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
  padding: 0;
}

body.public-application .px-service-copy small {
  color: #6d825f;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.public-application .px-service-copy strong {
  overflow-wrap: anywhere;
  font-size: 0.75rem;
  line-height: 1.25;
}

body.public-application .px-service-copy > span {
  display: none;
}

body.public-application .px-service-arrow {
  display: none;
}

/* Home activities */

body.public-application .px-home-latest {
  padding-top: 32px;
}

body.public-application .px-section-header > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--app-green);
  font-size: 0.7rem;
  font-weight: 750;
  text-decoration: none;
}

body.public-application .px-latest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.public-application .px-latest-activity {
  display: grid;
  grid-template-columns: 83px minmax(0, 1fr) 33px;
  min-height: 88px;
  align-items: center;
  gap: 11px;
  padding: 9px;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  text-decoration: none;
}

body.public-application .px-latest-date {
  display: grid;
  min-height: 68px;
  align-content: center;
  gap: 3px;
  padding: 10px;
  border-radius: 10px;
  background: var(--app-green);
  color: #fff;
}

body.public-application .px-latest-date small {
  color: var(--app-lime);
  font-size: 0.57rem;
  font-weight: 800;
}

body.public-application .px-latest-date strong {
  font-size: 0.7rem;
}

body.public-application .px-latest-content {
  display: grid;
  min-width: 0;
  gap: 3px;
}

body.public-application .px-latest-content > small {
  color: #68805d;
  font-size: 0.56rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.public-application .px-latest-content > strong {
  overflow-wrap: anywhere;
  font-size: 0.85rem;
}

body.public-application .px-latest-content > span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--app-muted);
  font-size: 0.64rem;
}

body.public-application .px-latest-content .ui-icon {
  width: 12px;
  height: 12px;
}

/* Directory headers */

body.public-application .px-directory {
  padding-top: 20px;
}

body.public-application .px-directory-hero {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 21px;
}

body.public-application .px-directory-total {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

body.public-application .px-directory-total strong {
  color: var(--app-green);
  font-size: 1.5rem;
}

body.public-application .px-directory-total span {
  color: var(--app-muted);
  font-size: 0.67rem;
}

/* Compact search and filters */

body.public-application .px-filter-bar {
  position: relative;
  z-index: 60;
  display: grid;
  grid-template-columns:
    minmax(250px, 1.5fr)
    repeat(3, minmax(140px, 0.65fr))
    auto
    auto;
  gap: 6px;
  align-items: stretch;
  margin-top: 8px;
  padding: 6px;
  border: 1px solid var(--app-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--app-shadow);
}

body.public-application .px-document-filters {
  grid-template-columns:
    minmax(270px, 1.5fr)
    minmax(170px, 0.65fr)
    minmax(160px, 0.65fr)
    auto
    auto;
}

body.public-application .px-resource-filters {
  grid-template-columns:
    minmax(280px, 1.5fr)
    minmax(190px, 0.7fr)
    auto
    auto;
}

body.public-application .px-filter-search {
  display: flex;
  min-width: 0;
  min-height: 43px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border-radius: 9px;
  background: var(--app-soft);
}

body.public-application .px-filter-search input,
body.public-application .px-filter-input input {
  width: 100%;
  min-width: 0;
  min-height: 41px;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--app-ink);
  font-size: 0.77rem;
}

body.public-application .px-select-control,
body.public-application .px-filter-input {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 1px;
  padding: 5px 8px;
  border: 1px solid var(--app-line);
  border-radius: 9px;
  background: #fff;
}

body.public-application .px-select-control > span,
body.public-application .px-filter-input > span {
  color: #78877f;
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

body.public-application .px-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.public-application .px-select-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 24px;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--app-ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 650;
  text-align: left;
}

body.public-application .px-select-button > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.public-application .px-select-button::after {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #597066;
  border-bottom: 1.5px solid #597066;
  content: "";
  transform: rotate(45deg) translateY(-2px);
}

body.public-application .px-select-menu {
  position: absolute;
  z-index: 200;
  top: calc(100% + 5px);
  left: 0;
  display: grid;
  width: max(100%, 155px);
  max-height: 175px;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid var(--app-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 15px 38px rgba(5, 45, 36, 0.16);
}

body.public-application .px-select-menu[hidden] {
  display: none;
}

body.public-application .px-select-option {
  min-height: 32px;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--app-ink);
  cursor: pointer;
  font-size: 0.7rem;
  text-align: left;
}

body.public-application .px-select-option:hover {
  background: var(--app-soft);
}

body.public-application
.px-select-option[aria-selected="true"] {
  background: #e3eecf;
  font-weight: 800;
}

body.public-application .px-live-state {
  display: inline-flex;
  min-width: 52px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #58764e;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.public-application .px-live-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ca047;
}

body.public-application .px-clear-filters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #647970;
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
}

body.public-application .px-directory-results {
  min-height: 190px;
  padding-top: 23px;
  transition: opacity 0.15s ease;
}

body.public-application
.px-directory-results[aria-busy="true"] {
  opacity: 0.4;
  pointer-events: none;
}

/* Compact media cards */

body.public-application .px-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.public-application .px-media-card {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  min-width: 0;
  min-height: 166px;
  overflow: hidden;
  border: 1px solid var(--app-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: none;
}

body.public-application .px-media-visual,
body.public-application .px-media-video,
body.public-application .px-media-audio {
  position: relative;
  display: flex;
  width: auto;
  height: auto;
  min-height: 166px;
  align-items: flex-start;
  padding: 11px;
  background:
    linear-gradient(155deg, #064435, #0b6650);
  color: #fff;
}

body.public-application .px-media-kind {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.55rem;
  font-weight: 750;
}

body.public-application .px-media-kind .ui-icon {
  width: 13px;
  height: 13px;
}

body.public-application .px-media-waves {
  position: absolute;
  right: 11px;
  bottom: 13px;
  display: flex;
  height: 30px;
  align-items: end;
  gap: 4px;
}

body.public-application .px-media-waves i {
  display: block;
  width: 4px;
  border-radius: 4px;
  background: var(--app-lime);
}

body.public-application .px-media-waves i:nth-child(1) { height: 9px; }
body.public-application .px-media-waves i:nth-child(2) { height: 20px; }
body.public-application .px-media-waves i:nth-child(3) { height: 13px; }
body.public-application .px-media-waves i:nth-child(4) { height: 27px; }
body.public-application .px-media-waves i:nth-child(5) { height: 16px; }

body.public-application .px-media-content {
  display: flex;
  min-height: 166px;
  flex-direction: column;
  padding: 13px;
}

body.public-application .px-media-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

body.public-application .px-media-meta span,
body.public-application .px-document-meta span {
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--app-soft);
  color: #5d7554;
  font-size: 0.54rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.public-application .px-media-content h2 {
  margin: 8px 0 5px;
  color: var(--app-ink);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

body.public-application .px-media-content > p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--app-muted);
  font-size: 0.68rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.public-application .px-play-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 37px;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding: 5px 7px;
  border: 0;
  border-radius: 9px;
  background: var(--app-soft);
  color: var(--app-ink);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 750;
  text-align: left;
}

body.public-application .px-play-button > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: var(--app-green);
  color: #fff;
}

body.public-application .px-play-button .ui-icon {
  width: 13px;
  height: 13px;
}

body.public-application
.px-play-button
> .ui-icon:last-child {
  justify-self: end;
}

/* Compact resources */

body.public-application .px-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.public-application .px-resource-card {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 135px;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--app-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: none;
}

body.public-application .px-resource-symbol {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 11px;
  background: var(--app-soft-2);
  color: var(--app-green);
}

body.public-application .px-resource-content {
  min-width: 0;
  padding: 0;
}

body.public-application .px-resource-content > span {
  color: #68815e;
  font-size: 0.57rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.public-application .px-resource-content h2 {
  margin: 4px 0 5px;
  font-size: 0.92rem;
  letter-spacing: -0.025em;
}

body.public-application .px-resource-content p {
  margin: 0;
  color: var(--app-muted);
  font-size: 0.67rem;
  line-height: 1.45;
}

body.public-application .px-resource-card > a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 9px;
  background: var(--app-soft);
  font-size: 0.65rem;
  font-weight: 750;
  text-decoration: none;
}

/* Compact downloads */

body.public-application .px-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.public-application .px-document-card {
  display: grid;
  grid-template-columns: 69px minmax(0, 1fr);
  min-height: 122px;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid var(--app-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: none;
}

body.public-application .px-file-tile {
  display: grid;
  min-height: 72px;
  align-content: center;
  gap: 3px;
  padding: 10px;
  border-radius: 10px;
  background: var(--app-green);
  color: #fff;
}

body.public-application .px-file-tile strong {
  color: var(--app-lime);
  font-size: 0.72rem;
}

body.public-application .px-file-tile small {
  color: #c5d8cf;
  font-size: 0.57rem;
}

body.public-application .px-document-content {
  min-width: 0;
}

body.public-application .px-document-content h2 {
  margin: 6px 0 4px;
  font-size: 0.9rem;
}

body.public-application .px-document-content p {
  margin: 0;
  color: var(--app-muted);
  font-size: 0.66rem;
  line-height: 1.4;
}

body.public-application .px-document-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding-top: 2px;
}

body.public-application .px-download-button,
body.public-application .px-view-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 0.62rem;
  font-weight: 750;
  text-decoration: none;
}

body.public-application .px-download-button {
  background: var(--app-green);
  color: #fff !important;
}

body.public-application .px-view-button {
  border: 1px solid var(--app-line);
  background: var(--app-soft);
}

/* Empty states */

body.public-application .px-empty-state {
  display: grid;
  min-height: 155px;
  justify-items: center;
  align-content: center;
  padding: 24px;
  border: 1px solid var(--app-line);
  border-radius: 15px;
  background: #fff;
  text-align: center;
  box-shadow: none;
}

body.public-application .px-empty-state > span {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 11px;
  background: var(--app-soft-2);
  color: var(--app-green);
}

body.public-application .px-empty-state h2 {
  margin: 10px 0 4px;
  font-size: 1rem;
}

body.public-application .px-empty-state p {
  margin: 0;
  color: var(--app-muted);
  font-size: 0.7rem;
}

body.public-application .px-empty-state > a {
  margin-top: 12px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--app-green);
  color: #fff !important;
  font-size: 0.64rem;
  font-weight: 750;
  text-decoration: none;
}

body.public-application .px-pagination {
  display: grid;
  grid-template-columns: 90px auto 90px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 19px;
}

body.public-application .px-pagination a {
  padding: 7px 9px;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
}

body.public-application .px-pagination p {
  margin: 0;
  color: var(--app-muted);
  font-size: 0.65rem;
}

/* Activities page final unification */

body.public-application .d7-directory {
  width: min(1180px, calc(100% - 32px));
  padding-top: 20px;
}

body.public-application .d7-finder {
  padding: 17px;
  border: 1px solid var(--app-line);
  border-radius: 16px;
  background:
    linear-gradient(
      120deg,
      rgba(232, 242, 222, 0.7),
      transparent 45%
    ),
    #fff;
  color: var(--app-ink);
  box-shadow: var(--app-shadow);
}

body.public-application .d7-finder::before {
  display: none;
}

body.public-application .d7-finder-header {
  min-height: 42px;
  margin-bottom: 11px;
}

body.public-application .d7-title-icon {
  width: 39px;
  height: 39px;
  border: 0;
  border-radius: 10px;
  background: var(--app-soft-2);
  color: var(--app-green);
}

body.public-application .d7-title > div > span {
  color: #67815f;
  font-size: 0.59rem;
}

body.public-application .ui-main .d7-title h1 {
  margin-top: 1px !important;
  color: var(--app-ink) !important;
  font-size: 1.45rem !important;
}

body.public-application .d7-count strong {
  color: var(--app-green);
  font-size: 1.35rem;
}

body.public-application .d7-count span {
  color: var(--app-muted);
  font-size: 0.64rem;
}

body.public-application .d7-search,
body.public-application .d7-search:focus-within {
  min-height: 46px !important;
  border: 1px solid var(--app-line) !important;
  border-radius: 10px !important;
  background: var(--app-soft) !important;
  box-shadow: none !important;
}

body.public-application .d7-search input,
body.public-application .d7-search input:focus {
  height: 44px !important;
  min-height: 44px !important;
  color: var(--app-ink) !important;
  font-size: 0.78rem !important;
}

body.public-application .d7-search-symbol {
  width: 42px;
  color: var(--app-green);
}

body.public-application .d7-live {
  background: #e2edcf;
}

body.public-application .d7-filter-rail {
  gap: 6px;
  margin-top: 7px;
}

body.public-application .d7-filter {
  padding: 6px 8px;
  border: 1px solid var(--app-line);
  border-radius: 9px;
  background: #fff;
  color: var(--app-ink);
}

body.public-application .d7-filter:hover,
body.public-application .d7-filter:focus-within {
  border-color: var(--app-line-strong);
  background: #fff;
  transform: none;
}

body.public-application .d7-filter > span {
  color: #76877f;
  font-size: 0.53rem;
}

body.public-application .d7-picker-button {
  min-height: 23px;
  color: var(--app-ink);
  font-size: 0.69rem;
}

body.public-application .d7-picker-button::after {
  border-color: #587067;
}

body.public-application .d7-filter-footer {
  min-height: 21px;
  padding-top: 5px;
}

body.public-application .d7-filter-footer span,
body.public-application .d7-filter-footer a {
  color: var(--app-muted);
  font-size: 0.58rem;
}

body.public-application .d7-filter-footer a {
  color: var(--app-green);
}

body.public-application .d7-results {
  padding-top: 22px;
}

body.public-application .d7-card {
  min-height: 142px;
  border-radius: 14px;
  box-shadow: none;
}

body.public-application .d7-time-ticket {
  background: var(--app-green);
}

body.public-application .d7-picker-menu {
  max-height: 165px !important;
  border-radius: 9px !important;
}

body.public-application .d7-picker-option {
  min-height: 31px !important;
  font-size: 0.68rem !important;
}

/* Taleem detail */

body.public-application .dx-detail {
  width: min(1180px, calc(100% - 32px));
  padding-top: 20px;
}

body.public-application .dx-detail-hero {
  padding: 19px;
  border: 1px solid var(--app-line);
  border-radius: 16px;
  background:
    linear-gradient(
      120deg,
      rgba(232, 242, 222, 0.7),
      transparent 45%
    ),
    #fff;
  color: var(--app-ink);
  box-shadow: var(--app-shadow);
}

body.public-application .dx-detail-hero::before,
body.public-application .dx-detail-glow {
  display: none;
}

body.public-application .dx-breadcrumb {
  color: var(--app-muted);
}

body.public-application .dx-detail-category {
  color: #64805d;
}

body.public-application .dx-detail-identity h1 {
  margin: 5px 0 8px;
  color: var(--app-ink);
  font-size: clamp(1.8rem, 3.7vw, 2.9rem);
}

body.public-application .dx-detail-identity > p {
  color: var(--app-muted);
}

body.public-application .dx-quick-facts {
  border: 1px solid var(--app-line);
  background: var(--app-soft);
  box-shadow: none;
}

body.public-application .dx-quick-facts > div {
  min-height: 69px;
  border-color: var(--app-line);
}

body.public-application .dx-quick-facts span,
body.public-application .dx-quick-facts small {
  color: var(--app-muted);
}

body.public-application .dx-quick-facts strong {
  color: var(--app-ink);
}

body.public-application .dx-panel {
  border-radius: 14px;
  box-shadow: none;
}

/* Footer */

body.public-application .ui-footer {
  border-top: 1px solid var(--app-line);
  background: #edf1eb;
}

body.public-application .ui-footer-inner {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 100px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  margin: 0 auto;
  padding: 22px 0;
}

body.public-application .ui-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

body.public-application .ui-footer-brand > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--app-green);
  color: #fff;
  font-family: Georgia, serif;
}

body.public-application .ui-footer-brand strong {
  font-size: 0.85rem;
}

body.public-application .ui-footer-identity p {
  max-width: 380px;
  margin: 6px 0 0;
  color: var(--app-muted);
  font-size: 0.65rem;
}

body.public-application .ui-footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 13px;
}

body.public-application .ui-footer-inner nav a,
body.public-application .ui-install-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #526b61;
  cursor: pointer;
  font-size: 0.65rem;
  text-decoration: none;
}

body.public-application .ui-mobile-nav {
  display: none;
}

/* Persistent player */

body.public-application .media-player.px-player {
  right: 14px;
  bottom: 14px;
  width: min(390px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: var(--app-green-dark);
  box-shadow: 0 20px 55px rgba(0, 28, 21, 0.28);
}

body.public-application .px-player-icon {
  width: 33px;
  height: 33px;
  border-radius: 9px;
}

body.public-application .px-player-title small {
  font-size: 0.55rem;
}

body.public-application .px-player-title strong {
  font-size: 0.72rem;
}

body.public-application .media-player.px-player button,
body.public-application .media-player.px-player select {
  min-height: 31px;
  padding: 5px 7px;
  border-radius: 7px;
  font-size: 0.61rem;
}

/* Accessibility */

.public-application a:focus-visible,
.public-application button:focus-visible,
.public-application input:focus-visible,
.public-application select:focus-visible {
  outline: 2px solid #779665;
  outline-offset: 2px;
}

/* Tablet */

@media (max-width: 980px) {
  body.public-application .ui-desktop-nav {
    display: none;
  }

  body.public-application .px-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.public-application .px-country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.public-application .px-filter-bar {
    grid-template-columns:
      minmax(220px, 1.4fr)
      repeat(2, minmax(135px, 0.7fr));
  }

  body.public-application .px-resource-card {
    grid-template-columns: 43px minmax(0, 1fr);
  }

  body.public-application .px-resource-card > a {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
}

/* Mobile */

@media (max-width: 720px) {
  body.public-application {
    padding-bottom: calc(73px + env(safe-area-inset-bottom, 0px));
  }

  body.public-application .ui-header-inner {
    width: calc(100% - 22px);
    min-height: 57px;
    gap: 8px;
  }

  body.public-application .ui-brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 1.05rem;
  }

  body.public-application .ui-brand-text strong {
    font-size: 0.88rem;
  }

  body.public-application .ui-brand-text small {
    display: none;
  }

  body.public-application .ui-header-actions {
    gap: 4px;
  }

  body.public-application .ui-country-button,
  body.public-application .ui-account-button {
    min-width: 34px;
    min-height: 34px;
    padding: 5px;
    border-radius: 10px;
  }

  body.public-application .ui-country-button span,
  body.public-application .ui-account-button span {
    display: none;
  }

  body.public-application .px-page {
    width: 100%;
    padding: 10px 10px calc(89px + env(safe-area-inset-bottom));
  }

  body.public-application .px-country-hero,
  body.public-application .px-directory-hero,
  body.public-application .px-home-hero {
    border-radius: 15px;
  }

  body.public-application .px-country-hero {
    grid-template-columns: 1fr;
    gap: 13px;
    min-height: auto;
    padding: 15px;
  }

  body.public-application .px-country-heading,
  body.public-application .px-directory-heading {
    gap: 9px;
  }

  body.public-application .px-hero-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  body.public-application .px-country-heading h1,
  body.public-application .px-directory-heading h1 {
    font-size: 1.35rem;
  }

  body.public-application .px-country-heading p {
    font-size: 0.7rem;
  }

  body.public-application .px-country-search {
    min-height: 43px;
  }

  body.public-application .px-country-search input {
    min-height: 41px;
    font-size: 0.78rem;
  }

  body.public-application .px-country-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  body.public-application .px-country-grid a {
    min-height: 68px;
    padding: 9px;
    border-radius: 12px;
  }

  body.public-application .px-home {
    padding-top: 9px;
  }

  body.public-application .px-home-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
    padding: 18px 15px;
  }

  body.public-application .px-home-copy h1 {
    margin: 5px 0 9px;
    font-size: clamp(1.8rem, 9vw, 2.55rem);
  }

  body.public-application .px-home-copy > p {
    font-size: 0.74rem;
  }

  body.public-application .px-home-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 14px;
  }

  body.public-application .px-button {
    min-height: 38px;
    padding: 7px 8px;
    font-size: 0.64rem;
  }

  body.public-application .px-home-country {
    padding: 12px;
  }

  body.public-application .px-home-stat {
    margin: 10px 0 8px;
    padding: 9px 0;
  }

  body.public-application .px-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding-top: 7px;
  }

  body.public-application .px-service,
  body.public-application .px-service-primary,
  body.public-application .px-service-dark {
    min-height: 76px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    padding: 9px;
    border-radius: 12px;
  }

  body.public-application .px-service-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  body.public-application .px-service-copy strong {
    font-size: 0.68rem;
  }

  body.public-application .px-home-latest {
    padding-top: 25px;
  }

  body.public-application .px-latest-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  body.public-application .px-latest-activity {
    grid-template-columns: 75px minmax(0, 1fr) 30px;
    min-height: 80px;
    gap: 8px;
    padding: 7px;
    border-radius: 12px;
  }

  body.public-application .px-latest-date {
    min-height: 64px;
    padding: 8px;
  }

  body.public-application .px-latest-activity .px-round-arrow {
    width: 30px;
    height: 30px;
  }

  body.public-application .px-directory {
    padding-top: 9px;
  }

  body.public-application .px-directory-hero {
    min-height: 88px;
    padding: 13px;
  }

  body.public-application .px-directory-heading p,
  body.public-application .px-directory-total {
    display: none;
  }

  body.public-application .px-filter-bar,
  body.public-application .px-document-filters,
  body.public-application .px-resource-filters {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-top: 6px;
    padding: 5px;
    border-radius: 12px;
  }

  body.public-application .px-filter-search {
    grid-column: 1 / -1;
    min-height: 41px;
  }

  body.public-application .px-filter-search input {
    min-height: 39px;
  }

  body.public-application .px-select-control,
  body.public-application .px-filter-input {
    min-height: 43px;
    padding: 4px 7px;
  }

  body.public-application .px-live-state,
  body.public-application .px-clear-filters {
    min-height: 28px;
  }

  body.public-application .px-directory-results {
    padding-top: 18px;
  }

  body.public-application .px-media-grid,
  body.public-application .px-resource-grid,
  body.public-application .px-document-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  body.public-application .px-media-card {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 150px;
    border-radius: 13px;
  }

  body.public-application .px-media-visual {
    min-height: 150px;
    padding: 8px;
  }

  body.public-application .px-media-kind {
    font-size: 0;
  }

  body.public-application .px-media-content {
    min-height: 150px;
    padding: 10px;
  }

  body.public-application .px-resource-card {
    min-height: 120px;
    padding: 11px;
    border-radius: 13px;
  }

  body.public-application .px-document-card {
    min-height: 110px;
    border-radius: 13px;
  }

  body.public-application .ui-footer {
    display: none;
  }

  body.public-application .ui-mobile-nav {
    position: fixed;
    z-index: 450;
    right: 8px;
    bottom: max(7px, env(safe-area-inset-bottom, 7px));
    left: 8px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 57px;
    padding: 4px;
    border: 1px solid var(--app-line);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 32px rgba(5, 45, 36, 0.17);
    backdrop-filter: blur(16px);
  }

  body.public-application .ui-mobile-nav-simple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.public-application .ui-mobile-nav a {
    display: flex;
    min-width: 0;
    min-height: 47px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    border-radius: 11px;
    background: transparent !important;
    color: #71827a !important;
    font-size: 0.47rem;
    font-weight: 700;
    text-decoration: none;
  }

  body.public-application .ui-mobile-nav a .ui-icon {
    width: 17px;
    height: 17px;
  }

  body.public-application
  .ui-mobile-nav
  a[aria-current="page"] {
    background: #e4edd8 !important;
    color: var(--app-green) !important;
  }

  body.public-application .d7-directory,
  body.public-application .dx-detail {
    width: 100%;
    padding: 9px 10px calc(89px + env(safe-area-inset-bottom));
  }

  body.public-application .d7-finder {
    padding: 11px;
    border-radius: 14px;
  }

  body.public-application .d7-finder-header {
    min-height: 35px;
    margin-bottom: 8px;
  }

  body.public-application .d7-title-icon {
    width: 34px;
    height: 34px;
  }

  body.public-application .ui-main .d7-title h1 {
    font-size: 1.15rem !important;
  }

  body.public-application .d7-count strong {
    font-size: 1.1rem;
  }

  body.public-application .d7-search,
  body.public-application .d7-search:focus-within {
    min-height: 42px !important;
  }

  body.public-application .d7-search input,
  body.public-application .d7-search input:focus {
    height: 40px !important;
    min-height: 40px !important;
    font-size: 0.71rem !important;
  }

  body.public-application .d7-mobile-filter-bar {
    min-height: 27px;
    padding-top: 5px;
  }

  body.public-application .d7-filter {
    min-height: 43px !important;
    padding: 4px 7px !important;
  }

  body.public-application .d7-card {
    min-height: 132px;
  }

  body.public-application .dx-detail-hero {
    padding: 13px;
    border-radius: 14px;
  }

  body.public-application .dx-detail-intro {
    gap: 14px;
    padding-top: 14px;
  }

  body.public-application .dx-detail-identity h1 {
    font-size: 1.65rem;
  }

  body.public-application .media-player.px-player {
    right: 8px;
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 16px);
  }
}

@media (max-width: 390px) {
  body.public-application .px-home-actions {
    grid-template-columns: 1fr;
  }

  body.public-application .px-services {
    grid-template-columns: 1fr 1fr;
  }

  body.public-application .px-country-search > span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-application *,
  .public-application *::before,
  .public-application *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
/* PREMIUM FIXES V13 START */

/* Wider content without excessive left and right margins */

body.public-application :where(
  .ui-header-inner,
  .ui-footer-inner,
  .ui-container,
  .px-home,
  .px-directory,
  .px-country-page,
  .d7-directory,
  .d7-page,
  .d7-shell,
  .dx-detail,
  .v5-directory,
  .v5-detail
) {
  width: min(1500px, calc(100% - 32px)) !important;
  max-width: 1500px;
  margin-inline: auto;
}

.ui-brand-text small {
  display: none !important;
}

/* Cleaner home wording */

body.public-application :where(
  .ui-home-copy h1,
  .px-home-hero h1,
  .px-home-copy h1
) {
  max-width: 780px;
  font-size: clamp(2.35rem, 4.2vw, 4.3rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.052em !important;
  text-wrap: balance;
}

body.public-application :where(
  .ui-home-location-top,
  .px-home-country-top
) > div > span:empty {
  display: none;
}

/* Search field corrections */

body.public-application input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}

body.public-application input[type="search"]::-webkit-search-cancel-button,
body.public-application input[type="search"]::-webkit-search-decoration {
  display: none;
  -webkit-appearance: none;
}

body.public-application :where(
  .d7-search,
  .d7-global-search,
  .v5-global-search,
  .px-search,
  .px-filter-search,
  .px-global-search
) {
  min-height: 48px !important;
  border: 1px solid #d9e2dc !important;
  border-radius: 13px !important;
  outline: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.public-application :where(
  .d7-search,
  .d7-global-search,
  .v5-global-search,
  .px-search,
  .px-filter-search,
  .px-global-search
):focus-within {
  border-color: #91aa9e !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(39, 91, 71, 0.09) !important;
}

body.public-application :where(
  .d7-search,
  .d7-global-search,
  .v5-global-search,
  .px-search,
  .px-filter-search,
  .px-global-search
)::before,
body.public-application :where(
  .d7-search,
  .d7-global-search,
  .v5-global-search,
  .px-search,
  .px-filter-search,
  .px-global-search
)::after {
  border: 0 !important;
  box-shadow: none !important;
}

body.public-application :where(
  .d7-search,
  .d7-global-search,
  .v5-global-search,
  .px-search,
  .px-filter-search,
  .px-global-search
) input {
  min-height: 46px !important;
  padding-block: 8px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

body.public-application :where(
  [data-clear-search],
  .d7-search-clear,
  .px-search-clear
) {
  display: grid !important;
  place-items: center !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #eef3ed !important;
  color: #436659 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

/* Hide native select only after the premium control exists */

body.public-application .pxd-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* Premium select button */

body.public-application .pxd-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  width: 100%;
  min-width: 0;
  min-height: 34px;
  margin: 0;
  padding: 4px 1px;
  border: 0;
  border-radius: 7px;
  outline: 0;
  background: transparent;
  color: #123d32;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

body.public-application .pxd-value {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.public-application .pxd-arrow {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: #668076;
  transition: transform 150ms ease;
}

body.public-application .pxd-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.public-application .pxd-button[aria-expanded="true"] .pxd-arrow {
  transform: rotate(180deg);
}

body.public-application .pxd-button:focus-visible {
  outline: 2px solid #81a190 !important;
  outline-offset: 3px !important;
}

/* Portal dropdown: scrolling no longer closes it */

.pxd-menu {
  position: fixed;
  z-index: 10000;
  display: grid;
  gap: 3px;
  max-width: calc(100vw - 20px);
  max-height: min(292px, calc(100vh - 24px));
  padding: 7px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(20, 60, 48, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow:
    0 20px 50px rgba(7, 43, 34, 0.16),
    0 3px 10px rgba(7, 43, 34, 0.06);
  scrollbar-width: thin;
  scrollbar-color: #b8c9c0 transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.pxd-menu::-webkit-scrollbar {
  width: 7px;
}

.pxd-menu::-webkit-scrollbar-track {
  background: transparent;
}

.pxd-menu::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #b8c9c0;
  background-clip: padding-box;
}

.pxd-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  outline: 0;
  background: transparent;
  color: #24483e;
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.pxd-option:hover,
.pxd-option:focus-visible {
  background: #f0f4ef;
}

.pxd-option.is-selected {
  background: #e5f0d2;
  color: #173f32;
  font-weight: 750;
}

.pxd-option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pxd-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #0b5742;
  opacity: 0;
}

.pxd-option.is-selected .pxd-check {
  opacity: 1;
}

.pxd-check svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Remove controls generated by older dropdown implementations */

body.public-application .ui4-select-button,
body.public-application .ui-select-button,
.ui4-select-menu,
.ui-select-menu {
  display: none !important;
}

/* Better centering inside all filter cells */

body.public-application :where(
  .d7-filter,
  .v5-filter,
  .px-filter,
  .px-filter-field
) {
  align-content: center !important;
  min-height: 57px !important;
}

body.public-application :where(
  .d7-filter,
  .v5-filter,
  .px-filter,
  .px-filter-field
) > span:first-child {
  margin: 0 0 1px !important;
  line-height: 1.2 !important;
}

/* Exact active navigation: never highlight Home and another tab */

.ui-desktop-nav a[aria-current="page"],
.ui-mobile-nav a[aria-current="page"] {
  background: #e8eee4 !important;
  color: #0c4234 !important;
}

/* Mobile */

@media (max-width: 720px) {
  body.public-application :where(
    .ui-header-inner,
    .ui-footer-inner,
    .ui-container,
    .px-home,
    .px-directory,
    .px-country-page,
    .d7-directory,
    .d7-page,
    .d7-shell,
    .dx-detail,
    .v5-directory,
    .v5-detail
  ) {
    width: calc(100% - 20px) !important;
  }

  body.public-application :where(
    .ui-home-copy h1,
    .px-home-hero h1,
    .px-home-copy h1
  ) {
    font-size: clamp(2rem, 10vw, 2.8rem) !important;
  }

  .pxd-menu {
    top: auto !important;
    right: 10px !important;
    bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
    left: 10px !important;
    width: auto !important;
    max-width: none;
    max-height: min(48vh, 360px);
    padding: 8px;
    border-radius: 17px;
  }

  .pxd-option {
    min-height: 45px;
    padding-inline: 13px;
    font-size: 14px;
  }

  body.public-application :where(
    .d7-filter,
    .v5-filter,
    .px-filter,
    .px-filter-field
  ) {
    min-height: 53px !important;
  }

  body.public-application :where(
    .d7-search,
    .d7-global-search,
    .v5-global-search,
    .px-search,
    .px-filter-search,
    .px-global-search
  ) {
    min-height: 45px !important;
  }

  body.public-application :where(
    .d7-search,
    .d7-global-search,
    .v5-global-search,
    .px-search,
    .px-filter-search,
    .px-global-search
  ) input {
    min-height: 43px !important;
    font-size: 16px !important;
  }
}

/* PREMIUM FIXES V13 END */