:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-2: #eef2ed;
  --ink: #17201f;
  --muted: #65716f;
  --line: #d9dfdc;
  --primary: #0d625a;
  --primary-strong: #084a44;
  --lime: #b7e36b;
  --lime-soft: #edf8d9;
  --blue: #3267c8;
  --blue-soft: #e9f0ff;
  --coral: #b84f3a;
  --coral-soft: #fff0ec;
  --gold: #9a6a13;
  --gold-soft: #fff7dc;
  --shadow: 0 12px 28px rgba(23, 32, 31, 0.07);
  --shell: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

input[type="search"]::-webkit-search-cancel-button {
  appearance: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(50, 103, 200, 0.35);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  text-wrap: balance;
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 14px;
  color: #fff;
  background: var(--primary-strong);
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.ui-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.ui-icon-people {
  font-size: 8px;
  letter-spacing: -3px;
}

.ui-icon-search {
  --search-circle-size: 14px;
  --search-stroke-size: 2.5px;
  --search-handle-width: 7px;
  --search-handle-offset-x: 16px;
  --search-handle-offset-y: 14px;
  position: relative;
  overflow: visible;
  font-size: 0;
}

.ui-icon-search::before,
.ui-icon-search::after {
  content: "";
  position: absolute;
  display: block;
}

.ui-icon-search::before {
  top: 1px;
  left: 1px;
  width: var(--search-circle-size);
  height: var(--search-circle-size);
  border: var(--search-stroke-size) solid currentColor;
  border-radius: 50%;
}

.ui-icon-search::after {
  top: var(--search-handle-offset-y);
  left: var(--search-handle-offset-x);
  width: var(--search-handle-width);
  height: var(--search-stroke-size);
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(217, 223, 220, 0.9);
  background: rgba(247, 248, 245, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(23, 32, 31, 0.08);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 800;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: lowercase;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topnav-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.topnav-link:hover,
.topnav-link.active {
  color: var(--primary-strong);
  background: var(--surface-2);
}

.topnav-link.is-disabled,
.topnav-link.is-disabled:hover {
  color: #8b9492;
  background: transparent;
  cursor: default;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-link {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #3d4845;
}

.language-switcher {
  position: relative;
}

.language-switcher summary {
  min-width: 94px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #bfc9b4;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  list-style: none;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.ui-icon-language {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1.7px solid currentColor;
  border-radius: 50%;
  overflow: hidden;
  font-size: 0;
}

.ui-icon-language::before,
.ui-icon-language::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.ui-icon-language::before {
  inset: 1px 4px;
  border-inline: 1.2px solid currentColor;
  border-radius: 50%;
}

.ui-icon-language::after {
  left: 1px;
  right: 1px;
  top: 7px;
  height: 3px;
  border-block: 1.2px solid currentColor;
}

.language-switcher summary > b {
  color: var(--muted);
  font-size: 12px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 120;
  width: 164px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 42, 38, 0.15);
}

.language-option {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border-radius: 5px;
  color: var(--ink);
  font-size: 13px;
}

.language-flag {
  position: relative;
  display: inline-block;
  flex: 0 0 22px;
  width: 22px;
  height: 14px;
  margin-right: 8px;
  overflow: hidden;
  border: 1px solid rgba(24, 43, 39, 0.16);
  border-radius: 1px;
  background: #fff;
  letter-spacing: 0;
}

.language-flag::before,
.language-flag::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.language-flag-zh_cn,
.language-flag-zh_hk,
.language-flag-vi {
  background: #de2910;
}

.language-flag-zh_cn::after,
.language-flag-vi::after {
  content: "\2605";
  color: #ffde00;
  line-height: 1;
}

.language-flag-zh_cn::after {
  content: none;
}

.language-flag-zh_cn {
  background: #ee1c25 url("/assets/web/flags/cn.svg?v=4") center / 100% 100% no-repeat;
}

.language-flag-vi::after {
  inset: 2px 0 0;
  text-align: center;
  font-size: 9px;
}

.language-flag-zh_hk::after {
  content: "\273F";
  inset: 1px 0 0;
  color: #fff;
  text-align: center;
  font-size: 9px;
  line-height: 1;
}

.language-flag-en {
  background: repeating-linear-gradient(to bottom, #b22234 0 1px, #fff 1px 2px);
}

.language-flag-en::before {
  inset: 0 50% 48% 0;
  background: #3c3b6e;
}

.language-flag-en::after {
  inset: 0 0 0 50%;
  background:
    linear-gradient(33deg, transparent 42%, #fff 42% 48%, #c8102e 48% 54%, #fff 54% 60%, transparent 60%),
    linear-gradient(-33deg, transparent 42%, #fff 42% 48%, #c8102e 48% 54%, #fff 54% 60%, transparent 60%),
    linear-gradient(90deg, transparent 34%, #fff 34% 43%, #c8102e 43% 57%, #fff 57% 66%, transparent 66%),
    linear-gradient(transparent 34%, #fff 34% 43%, #c8102e 43% 57%, #fff 57% 66%, transparent 66%),
    #012169;
}

.language-flag-de { background: linear-gradient(#161616 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66%); }
.language-flag-fr { background: linear-gradient(90deg, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66%); }
.language-flag-es { background: linear-gradient(#aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.language-flag-pt { background: linear-gradient(90deg, #046a38 0 40%, #da291c 40%); }
.language-flag-it { background: linear-gradient(90deg, #009246 0 33.33%, #fff 33.33% 66.66%, #ce2b37 66.66%); }
.language-flag-ru { background: linear-gradient(#fff 0 33.33%, #0039a6 33.33% 66.66%, #d52b1e 66.66%); }
.language-flag-id { background: linear-gradient(#e70011 0 50%, #fff 50%); }
.language-flag-hi { background: linear-gradient(#ff9933 0 33.33%, #fff 33.33% 66.66%, #138808 66.66%); }
.language-flag-ar { background: #006c35; }
.language-flag-bn { background: #006a4e; }
.language-flag-ja,
.language-flag-ko { background: #fff; }

.language-flag-ko {
  background: #fff url("/assets/web/flags/ko.svg?v=2") center / 100% 100% no-repeat;
}

.language-flag-pt::after,
.language-flag-hi::after,
.language-flag-ja::after,
.language-flag-ko::after,
.language-flag-bn::after {
  border-radius: 50%;
}

.language-flag-pt::after { top: 4px; left: 7px; width: 5px; height: 5px; background: #f7cf3c; }
.language-flag-hi::after { top: 5px; left: 9px; width: 4px; height: 4px; background: #000080; }
.language-flag-ja::after { top: 3px; left: 7px; width: 8px; height: 8px; background: #bc002d; }
.language-flag-bn::after { top: 3px; left: 6px; width: 8px; height: 8px; background: #f42a41; }
.language-flag-ko::before,
.language-flag-ko::after { content: none; }
.language-flag-ar::after { left: 4px; right: 4px; bottom: 3px; height: 1px; background: #fff; }

.language-option > span:not(.language-flag) {
  flex: 1 1 auto;
}

.language-option:hover {
  background: var(--surface-2);
}

.language-option.current {
  color: var(--primary-strong);
  font-weight: 750;
}

.traditional-chinese-page {
  font-family: "PingFang HK", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
}

.account-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border-radius: 999px;
  font-weight: 750;
}

.primary-action,
.secondary-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 7px;
  font-weight: 750;
}

.account-link,
.primary-action {
  color: #fff;
  background: var(--primary);
}

.account-link:hover,
.primary-action:hover {
  background: var(--primary-strong);
}

.account-link.is-disabled {
  color: #fff;
  background: var(--primary);
  cursor: default;
  opacity: 0.72;
}

.secondary-action {
  color: var(--primary-strong);
  border: 1px solid var(--line);
  background: var(--surface);
}

.mobile-nav {
  display: none;
}

.home-search-band {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f0f4ef;
}

.home-search-grid {
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 64px;
  padding-block: 58px 54px;
}

.kicker {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-search-copy h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(21px, 2.6vw, 34px);
  line-height: 1.08;
  font-weight: 850;
}

.lead {
  max-width: 670px;
  margin-bottom: 28px;
  color: #485451;
  font-size: 18px;
  line-height: 1.8;
}

.hero-search {
  width: min(680px, 100%);
  min-height: 62px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 7px 17px;
  border: 1px solid #cdd6d2;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-search .ui-icon,
.catalog-search .ui-icon {
  --search-circle-size: 30px;
  --search-stroke-size: 4px;
  --search-handle-width: 15px;
  --search-handle-offset-x: 28px;
  --search-handle-offset-y: 31px;
  width: 50px;
  height: 50px;
  color: var(--primary);
  line-height: 1;
}

.hero-search input,
.catalog-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.hero-search input {
  font-size: 16px;
}

.hero-search button {
  min-width: 92px;
  min-height: 46px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--primary);
  font-weight: 800;
  cursor: pointer;
}

.quick-links {
  min-height: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 16px;
  margin-top: 18px;
  font-size: 13px;
}

.quick-links span {
  color: var(--muted);
}

.quick-links a {
  color: var(--primary-strong);
  font-weight: 700;
  border-bottom: 1px solid rgba(13, 98, 90, 0.3);
}

.brand-visual {
  position: relative;
  align-self: stretch;
  min-height: 340px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
}

.brand-visual::before,
.brand-visual::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(13, 98, 90, 0.3);
}

.brand-visual::before {
  top: 18px;
  right: 8px;
  border-left: 0;
  border-bottom: 0;
}

.brand-visual::after {
  bottom: 18px;
  left: 8px;
  border-right: 0;
  border-top: 0;
}

.brand-visual img {
  width: min(270px, 78%);
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 24px 48px rgba(13, 98, 90, 0.16);
}

.brand-visual-label {
  position: absolute;
  right: 0;
  bottom: 46px;
  display: grid;
  min-width: 180px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
}

.brand-visual-label strong {
  color: var(--primary);
  font-size: 18px;
}

.brand-visual-label span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.integrity-strip {
  color: #fff;
  background: var(--primary-strong);
}

.integrity-grid {
  min-height: 94px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.integrity-grid > div {
  min-height: 54px;
  display: grid;
  align-content: center;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.integrity-grid > div:first-child {
  padding-left: 0;
}

.integrity-grid > div:last-child {
  border-right: 0;
}

.integrity-grid strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
}

.integrity-grid span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.page-section {
  padding-block: 76px;
}

.section-heading,
.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 34px;
  margin-bottom: 28px;
}

.section-heading h2,
.split-heading h2,
.help-copy h2,
.about-policy h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 750;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.category-link {
  min-height: 92px;
  display: grid;
  align-content: space-between;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.category-link:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 98, 90, 0.5);
  box-shadow: var(--shadow);
}

.category-link span {
  font-size: 16px;
  font-weight: 800;
}

.category-link small {
  color: var(--muted);
}

.sample-band {
  max-width: none;
  border-block: 1px solid var(--line);
  background: #eef2ed;
}

.split-heading {
  align-items: start;
  margin-bottom: 0;
}

.split-heading > div:first-child {
  position: sticky;
  top: 104px;
  width: 38%;
  padding-top: 8px;
}

.split-heading > div:first-child > p:last-child,
.help-copy p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.sample-list {
  width: 56%;
  display: grid;
  gap: 10px;
}

.condition-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.condition-row:first-child {
  border-top: 1px solid var(--line);
}

a.condition-row:hover {
  background: var(--lime-soft);
}

.condition-index {
  color: #87918f;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.condition-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.condition-main strong {
  overflow-wrap: anywhere;
  word-break: normal;
  font-size: 15px;
}

.condition-main small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-label {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #4f5c59;
  background: var(--surface-2);
  font-size: 10px;
  font-weight: 750;
}

.status-editorial_draft {
  color: #72500c;
  background: var(--gold-soft);
}

.status-draft {
  color: var(--blue);
  background: var(--blue-soft);
}

.card-arrow {
  color: var(--primary);
}

.help-section {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 70px;
}

.help-copy h2 {
  max-width: 580px;
}

.experience-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.experience-types a {
  min-height: 128px;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.experience-types a:hover {
  border-color: var(--primary);
}

.experience-mark {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 850;
}

.mark-help {
  color: var(--coral);
  background: var(--coral-soft);
}

.mark-experience {
  color: var(--primary);
  background: var(--lime-soft);
}

.mark-visit {
  color: var(--blue);
  background: var(--blue-soft);
}

.mark-recovery {
  color: #47731a;
  background: #edf7e7;
}

.experience-types strong {
  align-self: end;
}

.experience-types small {
  color: var(--muted);
}

.compact-masthead {
  padding-block: 42px 48px;
  border-bottom: 1px solid var(--line);
  background: #eef2ed;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.compact-masthead h1 {
  max-width: 900px;
  margin-bottom: 15px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
}

.catalog-page .compact-masthead h1,
.community-page .compact-masthead h1 {
  font-size: clamp(18px, 2.5vw, 29px);
}

.compact-masthead > .shell > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.about-masthead h1 {
  max-width: none;
  margin-bottom: 0;
  color: var(--primary);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.25;
  white-space: normal;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 44px;
  padding-block: 46px 86px;
}

.catalog-filters {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  max-height: calc(100vh - 124px);
  overflow: auto;
  padding-right: 12px;
}

.catalog-filters h2 {
  margin-bottom: 14px;
  font-size: 15px;
}

.filter-chip {
  width: 100%;
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.active {
  color: var(--primary-strong);
  background: var(--surface-2);
  font-weight: 750;
}

.filter-chip span {
  color: #89928f;
  font-size: 11px;
}

.catalog-toolbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.catalog-toolbar > p {
  min-width: 92px;
  margin: 0;
  color: var(--muted);
  text-align: right;
  font-size: 12px;
}

.catalog-search {
  min-height: 64px;
  flex: 1;
  display: grid;
  grid-template-columns: 52px 1fr 34px;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.clear-search {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.catalog-list {
  border-inline: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.catalog-list .condition-row {
  border-top: 0;
}

.condition-row.search-result-row {
  grid-template-columns: minmax(0, 1fr) auto 24px;
}

.search-results-page > .catalog-search {
  grid-template-columns: 52px minmax(0, 1fr) auto;
}

.search-results-page > .catalog-search .primary-action {
  min-width: 72px;
  white-space: nowrap;
}

.catalog-empty {
  padding: 64px 20px;
  text-align: center;
}

.catalog-empty p {
  margin: 8px 0 0;
  color: var(--muted);
}

.article-shell {
  padding-block: 30px 90px;
}

.article-breadcrumb {
  margin-bottom: 28px;
}

.article-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 50px;
  align-items: end;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.draft-banner {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 4px;
  color: #6e4b07;
  background: var(--gold-soft);
  font-size: 11px;
  font-weight: 800;
}

.article-header h1 {
  margin: 18px 0 4px;
  font-size: clamp(21px, 3vw, 36px);
  line-height: 1.06;
}

.english-name {
  margin-bottom: 20px;
  color: var(--primary);
  font-weight: 700;
}

.article-dek {
  max-width: 800px;
  margin: 0;
  color: #46524f;
  font-size: 18px;
  line-height: 1.75;
}

.article-id {
  display: grid;
  gap: 5px;
  padding: 16px 0 4px 18px;
  border-left: 3px solid var(--lime);
}

.article-id span,
.article-id small,
.aside-label {
  color: var(--muted);
  font-size: 11px;
}

.article-grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 220px;
  gap: 44px;
  align-items: start;
  padding-top: 36px;
}

.article-toc,
.article-aside {
  position: sticky;
  top: 100px;
  display: grid;
  align-self: start;
}

.article-toc {
  gap: 2px;
}

.article-toc strong {
  margin-bottom: 10px;
  font-size: 13px;
}

.article-toc a {
  padding: 7px 0 7px 10px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.article-toc a:hover {
  color: var(--primary);
  border-left-color: var(--primary);
}

.medical-article {
  min-width: 0;
}

.medical-article section {
  padding: 6px 0 44px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.medical-article section:last-child {
  border-bottom: 0;
}

.medical-article h2 {
  margin-bottom: 16px;
  font-size: 27px;
  line-height: 1.24;
}

.medical-article p,
.medical-article li {
  color: #3f4b48;
  font-size: 16px;
  line-height: 1.9;
}

.medical-article ul,
.medical-article ol {
  padding-left: 22px;
}

.key-fact-list {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 0 !important;
  list-style: none;
}

.key-fact-list li {
  position: relative;
  padding: 12px 15px 12px 42px;
  border-left: 3px solid var(--lime);
  background: #f0f4ef;
}

.key-fact-list li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  color: var(--primary);
  font-weight: 900;
}

.medical-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.medical-facts > div {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.medical-facts > div:nth-child(2n) {
  border-right: 0;
}

.medical-facts dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.medical-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.v2-detail-list {
  display: grid;
  gap: 10px;
  padding: 0 !important;
  list-style: none;
}

.v2-detail-list li {
  padding: 13px 15px;
  border-left: 3px solid #b9c9c4;
  background: #f2f5f2;
}

.v2-detail-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.v2-detail-list p {
  margin: 0;
}

.medical-article .urgent-section {
  padding: 15px 18px 13px;
  border: 1px solid #e1b8ae;
  border-radius: 8px;
  background: var(--coral-soft);
}

.urgent-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.urgent-title > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
  font-size: 14px;
}

.urgent-title .kicker {
  margin: 0;
  color: #5a3a33;
}

.urgent-section ul {
  margin: 9px 0 0;
  padding-left: 20px;
}

.urgent-section li {
  color: #62382e;
}

.urgent-section li + li {
  margin-top: 2px;
}

.question-list {
  display: grid;
  gap: 9px;
  padding: 0 !important;
  counter-reset: question;
  list-style: none;
}

.question-list li {
  counter-increment: question;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.question-list li::before {
  content: counter(question, decimal-leading-zero);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.source-note {
  font-size: 13px !important;
}

.source-list {
  padding: 0 !important;
  list-style: none;
}

.source-list li {
  border-bottom: 1px solid var(--line);
}

.source-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.source-list a > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.source-list small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.article-aside {
  gap: 12px;
}

.aside-block {
  display: grid;
  gap: 6px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.aside-block p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.aside-block a,
.feedback-link {
  color: var(--primary);
  font-size: 12px;
  font-weight: 750;
}

.aside-experience {
  border-color: #c7dca8;
  background: var(--lime-soft);
}

.feedback-link {
  padding: 11px 4px;
  text-align: center;
}

.community-masthead .primary-action {
  margin-top: 24px;
}

.community-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 44px;
  padding-block: 42px 86px;
}

.community-types {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 4px;
}

.community-types button {
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.community-types button:hover,
.community-types button.active {
  color: var(--primary-strong);
  background: var(--surface-2);
  font-weight: 800;
}

.community-disclaimer {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
  font-size: 12px;
}

.community-disclaimer span {
  color: #52627e;
}

.community-feed {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.feed-loading,
.feed-empty,
.feed-error {
  padding: 54px 18px;
  border-block: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.experience-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.experience-card-type {
  display: inline-flex;
  width: max-content;
  min-height: 27px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--lime-soft);
  font-size: 11px;
  font-weight: 800;
}

.experience-card h2 {
  margin-bottom: 7px;
  font-size: 18px;
}

.experience-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.experience-card-meta {
  color: #87918f;
  font-size: 11px;
  text-align: right;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 72px;
}

.about-values > div {
  min-height: 190px;
  padding: 12px 34px;
  border-right: 1px solid var(--line);
}

.about-values > div:first-child {
  padding-left: 0;
}

.about-values > div:last-child {
  border-right: 0;
}

.about-values span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.about-values h2 {
  margin: 38px 0 10px;
  font-size: 22px;
}

.about-values p {
  color: var(--muted);
  line-height: 1.7;
}

.about-policy {
  padding-block: 70px;
  color: #fff;
  background: var(--primary-strong);
}

.about-policy h2 {
  max-width: 840px;
}

.about-policy p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.about-intro,
.about-boundary,
.about-principles {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
  padding-block: 76px;
}

.about-section-heading h2,
.about-contact-copy h2,
.about-global-grid h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.18;
}

.about-prose,
.about-boundary-copy,
.about-global-grid > div:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.about-prose p:last-child,
.about-boundary-copy p:last-child,
.about-global-grid p:last-child {
  margin-bottom: 0;
}

.about-platform-definition {
  color: var(--ink);
  font-weight: 700;
}

.about-dual-band {
  padding-block: 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.about-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-dual-grid article {
  min-height: 330px;
  padding: 54px 56px 50px 0;
}

.about-dual-grid article + article {
  padding-right: 0;
  padding-left: 56px;
  border-left: 1px solid var(--line);
}

.about-dual-grid article > span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.about-dual-grid h2 {
  max-width: 430px;
  margin: 0 0 16px;
  font-size: 28px;
}

.about-dual-grid p {
  max-width: 480px;
  color: var(--muted);
  line-height: 1.8;
}

.about-dual-grid a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 800;
}

.about-global-band {
  padding-block: 72px;
  background: var(--lime-soft);
}

.about-global-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
}

.about-principle-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.about-principle-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.about-principle-list li > span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.about-principle-list strong {
  font-size: 18px;
}

.about-principle-list p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.about-policy-links {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -20px;
  border-block: 1px solid var(--line);
}

.about-policy-links a {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.about-policy-links a:first-child {
  padding-left: 0;
}

.about-policy-links a:last-child {
  border-right: 0;
}

.about-policy-links span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.about-contact-band {
  padding-block: 78px;
  background: #eef3f0;
}

.about-contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
  align-items: start;
}

.about-contact-copy > p:not(.kicker):not(.contact-privacy-note) {
  margin: 22px 0 34px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-method-list {
  border-top: 1px solid var(--line);
}

.contact-method-list > div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 4px 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-method-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.contact-method-icon {
  display: inline-flex;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.contact-method-icon svg {
  width: 100%;
  height: 100%;
}

.contact-method-list a,
.contact-method-list strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 17px;
}

.contact-phone-number {
  font-weight: 800;
}

.contact-method-list a:hover {
  color: var(--primary);
}

.contact-privacy-note {
  margin: 28px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--coral);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact-privacy-note strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.contact-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-form-heading h2,
.contact-form-heading p {
  margin: 0;
}

.contact-form-heading h2 {
  font-size: 24px;
}

.contact-form-heading p {
  color: var(--muted);
  font-size: 12px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-form label:not(.contact-consent) {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-form label > span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.contact-form label > span small,
.contact-form label > span b {
  margin-left: 5px;
  font-size: 11px;
  font-weight: 700;
}

.contact-form label > span small {
  color: var(--muted);
}

.contact-form label > span b {
  color: var(--coral);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #c8d1cd;
  border-radius: 5px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.contact-form input,
.contact-form select {
  min-height: 46px;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.65;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(50, 103, 200, 0.2);
  border-color: var(--blue);
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-honeypot {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact-consent input {
  width: 17px;
  min-height: 17px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.contact-consent a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.contact-submit-row .primary-action {
  min-width: 112px;
  border: 0;
}

.contact-submit-row .form-status {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-submit-row .form-status[data-state="success"] {
  color: var(--primary);
}

.contact-submit-row .form-status[data-state="error"] {
  color: var(--coral);
}

html[dir="rtl"] .about-dual-grid article {
  padding-right: 0;
  padding-left: 56px;
}

html[dir="rtl"] .about-dual-grid article + article {
  padding-right: 56px;
  padding-left: 0;
  border-right: 1px solid var(--line);
  border-left: 0;
}

html[dir="rtl"] .about-policy-links a {
  border-right: 0;
  border-left: 1px solid var(--line);
}

html[dir="rtl"] .about-policy-links a:first-child {
  padding-right: 0;
  padding-left: 24px;
}

html[dir="rtl"] .about-policy-links a:last-child {
  border-left: 0;
}

html[dir="rtl"] .contact-privacy-note {
  padding-right: 14px;
  padding-left: 0;
  border-right: 3px solid var(--coral);
  border-left: 0;
}

html[dir="rtl"] .contact-form input,
html[dir="rtl"] .contact-form textarea {
  text-align: right;
}

html[dir="rtl"] .contact-form input[type="email"],
html[dir="rtl"] .contact-form input[type="url"],
html[dir="rtl"] [dir="ltr"] {
  direction: ltr;
  text-align: left;
}

.error-page {
  min-height: 100vh;
  padding-bottom: 0;
  background: #fff;
}

.error-page main {
  overflow: hidden;
}

.error-page .site-header,
.error-page .mobile-nav {
  display: none;
}

.not-found {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  padding-block: 64px;
  text-align: center;
}

.not-found-language {
  position: absolute;
  inset-block-start: 24px;
  inset-inline-end: 0;
  text-align: start;
}

.not-found-language .language-menu {
  max-height: min(540px, calc(100svh - 76px));
  overflow-y: auto;
}

.not-found-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.not-found-heading img {
  width: 64px;
  height: 48px;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  filter: none;
}

.not-found h1 {
  margin: 0;
  color: #61bd0b;
  font-size: clamp(30.4px, 4vw, 46.4px);
  line-height: 1.12;
}

.not-found p {
  max-width: 720px;
  margin: 36px 0 0;
  color: #61bd0b;
  font-size: 18px;
  line-height: 1.7;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 56px;
}

.not-found .primary-action,
.not-found .secondary-action {
  min-width: 157px;
  min-height: 50px;
  padding-inline: 22px;
  border-radius: 11px;
  font-size: 17px;
  font-weight: 700;
}

.not-found .primary-action {
  background: #61bd0b;
}

.not-found .primary-action:hover {
  background: #52a608;
}

.not-found .secondary-action {
  color: #61bd0b;
  border-color: #61bd0b;
  background: #fff;
}

@media (max-width: 760px) {
  .not-found {
    min-height: 100svh;
    padding-block: 48px;
  }

  .not-found-language {
    inset-block-start: 18px;
    inset-inline-end: 20px;
  }

  .not-found-heading {
    gap: 10px;
  }

  .not-found-heading img {
    width: 48px;
    height: 38px;
  }

  .not-found h1 {
    font-size: clamp(24px, 7.2vw, 32px);
  }

  .not-found p {
    max-width: 350px;
    margin-top: 26px;
    font-size: 16px;
  }

  .not-found-actions {
    width: min(100%, 256px);
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
  }

  .not-found .primary-action,
  .not-found .secondary-action {
    width: 100%;
  }
}

.site-footer {
  padding: 52px 0 24px;
  border-top: 1px solid var(--line);
  background: #e9eeea;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) repeat(4, minmax(108px, 1fr));
  column-gap: clamp(28px, 3.4vw, 58px);
  row-gap: 32px;
}

.brand-static {
  pointer-events: none;
}

.footer-brand p {
  max-width: 340px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.footer-grid > div:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 11px;
  font-size: 13px;
}

.footer-grid > div:not(.footer-brand) a {
  color: var(--muted);
}

.footer-grid > div:not(.footer-brand) a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid #cfd6d2;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 980px) {
  .home-search-grid {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 30px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .article-toc {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .shell {
    width: min(100% - 28px, var(--shell));
  }

  .site-header {
    top: 0;
  }

  .header-inner {
    min-height: 64px;
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .topnav,
  .account-link {
    display: none;
  }

  .header-actions {
    grid-column: 2;
  }

  .icon-link {
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
  }

  .language-switcher summary {
    min-width: 58px;
    height: 38px;
    border: 0;
    background: transparent;
    padding-inline: 5px;
  }

  .language-switcher summary > b {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    min-height: calc(62px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 5px 8px env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
  }

  .mobile-nav.english-mobile-nav {
    grid-template-columns: repeat(5, 1fr);
  }

  .mobile-nav-item {
    min-width: 0;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    color: #77817f;
    font-size: 10px;
  }

  .mobile-nav-item .ui-icon {
    font-size: 20px;
  }

  .mobile-nav-item.active {
    color: var(--primary);
    font-weight: 800;
  }

  .mobile-nav-item.is-disabled {
    color: #9aa29f;
    cursor: default;
  }

  .home-search-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 38px 42px;
  }

  .home-search-copy h1 {
    font-size: 21px;
  }

  .lead {
    font-size: 16px;
    line-height: 1.7;
  }

  .brand-visual {
    display: none;
  }

  .hero-search {
    min-height: 64px;
    grid-template-columns: 52px 1fr auto;
  }

  .hero-search button {
    min-width: 66px;
  }

  .quick-links {
    align-items: flex-start;
  }

  .quick-links span {
    width: 100%;
  }

  .integrity-grid {
    grid-template-columns: 1fr;
    padding-block: 12px;
  }

  .integrity-grid > div,
  .integrity-grid > div:first-child {
    min-height: 66px;
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .integrity-grid > div:last-child {
    border-bottom: 0;
  }

  .page-section {
    padding-block: 52px;
  }

  .section-heading,
  .split-heading,
  .help-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .section-heading h2,
  .split-heading h2,
  .help-copy h2,
  .about-policy h2 {
    font-size: 30px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .category-link {
    min-height: 82px;
    padding: 13px;
  }

  .split-heading > div:first-child {
    position: static;
    width: auto;
  }

  .sample-list {
    width: auto;
  }

  .condition-row {
    min-height: 72px;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
  }

  .condition-row .card-arrow {
    display: none;
  }

  .condition-row.search-result-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .condition-row.search-result-row .ui-icon {
    display: none;
  }

  .status-label {
    max-width: 68px;
    text-align: center;
  }

  .experience-types {
    grid-template-columns: 1fr;
  }

  .experience-types a {
    min-height: 92px;
  }

  .compact-masthead {
    padding-block: 26px 36px;
  }

  .breadcrumb {
    margin-bottom: 28px;
  }

  .compact-masthead h1 {
    font-size: 38px;
  }

  .about-masthead h1 {
    font-size: 24px;
    white-space: normal;
  }

  .catalog-page .compact-masthead h1,
  .community-page .compact-masthead h1 {
    font-size: 19px;
  }

  .catalog-layout,
  .community-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 22px 54px;
  }

  .catalog-filters,
  .community-types {
    position: static;
    display: flex;
    gap: 6px;
    max-height: none;
    overflow-x: auto;
    padding: 0 0 4px;
    scrollbar-width: none;
  }

  .catalog-filters::-webkit-scrollbar,
  .community-types::-webkit-scrollbar {
    display: none;
  }

  .catalog-filters h2 {
    display: none;
  }

  .filter-chip,
  .community-types button {
    width: auto;
    min-width: max-content;
    min-height: 38px;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
  }

  .catalog-toolbar {
    display: grid;
    gap: 8px;
  }

  .catalog-toolbar > p {
    order: -1;
    text-align: left;
  }

  .catalog-search {
    width: 100%;
  }

  .catalog-list {
    border-radius: 6px;
  }

  .article-shell {
    padding-block: 22px 54px;
  }

  .article-header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .article-header h1 {
    font-size: 21.5px;
  }

  .article-dek {
    font-size: 16px;
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 24px;
  }

  .medical-article {
    order: 0;
  }

  .article-aside {
    position: static;
    order: 1;
    grid-template-columns: 1fr 1fr;
  }

  .article-aside .aside-experience,
  .article-aside .feedback-link {
    grid-column: 1 / -1;
  }

  .medical-article section {
    margin-bottom: 26px;
    padding-bottom: 32px;
  }

  .medical-article h2 {
    font-size: 24px;
  }

  .medical-facts {
    grid-template-columns: 1fr;
  }

  .medical-facts > div,
  .medical-facts > div:nth-child(2n) {
    border-right: 0;
  }

  .medical-article p,
  .medical-article li {
    font-size: 15px;
    line-height: 1.85;
  }

  .medical-article .urgent-section {
    padding: 13px 14px 11px;
  }

  .community-disclaimer {
    align-items: flex-start;
    flex-direction: column;
  }

  .experience-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .experience-card-meta {
    text-align: left;
  }

  .about-values {
    grid-template-columns: 1fr;
    padding-block: 42px;
  }

  .about-values > div,
  .about-values > div:first-child {
    min-height: auto;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-values > div:last-child {
    border-bottom: 0;
  }

  .about-values h2 {
    margin-top: 18px;
  }

  .about-intro,
  .about-boundary,
  .about-principles,
  .about-global-grid,
  .about-contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-intro,
  .about-boundary,
  .about-principles {
    padding-block: 48px;
  }

  .about-dual-grid {
    grid-template-columns: 1fr;
  }

  .about-dual-grid article,
  .about-dual-grid article + article {
    min-height: auto;
    padding: 38px 0;
    border-left: 0;
  }

  .about-dual-grid article + article {
    border-top: 1px solid var(--line);
  }

  html[dir="rtl"] .about-dual-grid article,
  html[dir="rtl"] .about-dual-grid article + article {
    padding: 38px 0;
    border-right: 0;
  }

  .about-global-band,
  .about-contact-band {
    padding-block: 48px;
  }

  .about-policy-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .about-policy-links a,
  .about-policy-links a:first-child {
    padding: 20px;
    border-bottom: 1px solid var(--line);
  }

  .about-policy-links a:nth-child(2n) {
    border-right: 0;
  }

  html[dir="rtl"] .about-policy-links a,
  html[dir="rtl"] .about-policy-links a:first-child {
    padding: 20px;
  }

  html[dir="rtl"] .about-policy-links a:nth-child(2n) {
    border-left: 0;
  }

  .contact-form {
    padding: 24px;
  }

  .contact-form-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .site-footer {
    padding-top: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .about-policy-links,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .about-policy-links a {
    border-right: 0;
  }

  .contact-form {
    padding: 20px 16px;
  }

  .contact-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .home-search-copy h1 {
    font-size: 18.5px;
  }

  .hero-search {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    padding-left: 11px;
  }

  .hero-search input {
    font-size: 14px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .condition-row {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .condition-row.search-result-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .condition-row .status-label {
    grid-column: 2;
    justify-self: start;
  }

  .condition-row.search-result-row .status-label {
    grid-column: 1;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }

  .article-aside .aside-experience,
  .article-aside .feedback-link {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.published-banner {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid #9fcfbd;
  border-radius: 5px;
  background: #e5f5ee;
  color: #176044;
  font-size: 13px;
  font-weight: 700;
}

.article-aliases {
  color: var(--text-soft);
  font-size: 14px;
}

.medical-article h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.source-list li small {
  display: block;
  margin-top: 5px;
  color: var(--text-soft);
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.related-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.related-topic {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  color: var(--text);
}

.related-topic small,
.content-credits p {
  color: var(--text-soft);
}

.feedback-link {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font: inherit;
}

.feedback-dialog {
  width: min(560px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 24px 70px #102c2840;
}

.feedback-dialog::backdrop {
  background: #102c2870;
}

.feedback-dialog form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dialog-heading h2 {
  margin: 0;
  font-size: 20px;
}

.dialog-heading button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
}

.feedback-dialog label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.feedback-dialog input,
.feedback-dialog select,
.feedback-dialog textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  font: inherit;
}

.feedback-dialog textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--text-soft);
}

/* Hindi typography is scoped so Devanagari metrics cannot affect other locales. */
.hindi-page {
  font-family: "Noto Sans Devanagari", "Kohinoor Devanagari", Mangal, Inter, system-ui, sans-serif;
}

.hindi-page h1,
.hindi-page h2,
.hindi-page h3,
.hindi-page p,
.hindi-page li,
.hindi-page a,
.hindi-page button,
.hindi-page input,
.hindi-page select,
.hindi-page textarea {
  line-height: 1.55;
}

.hindi-page .brand-copy strong,
.hindi-page .language-trigger,
.hindi-page .topnav-link,
.hindi-page .mobile-nav-label {
  white-space: normal;
}

/* Indonesian wrapping is isolated so long medical names cannot affect other locales. */
.indonesian-page {
  overflow-wrap: anywhere;
}

.indonesian-page .brand-copy strong,
.indonesian-page .language-trigger,
.indonesian-page .topnav-link,
.indonesian-page .mobile-nav-label {
  white-space: normal;
}

/* Arabic is isolated to the RTL document; all existing locales stay LTR. */
html[dir="rtl"] body,
.arabic-page {
  text-align: right;
}

html[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
  text-align: right;
}

html[dir="rtl"] .header-actions {
  justify-self: start;
}

html[dir="rtl"] .brand-copy,
html[dir="rtl"] .condition-main,
html[dir="rtl"] .article-aside,
html[dir="rtl"] .source-list,
html[dir="rtl"] .content-credits {
  text-align: right;
}

html[dir="rtl"] .catalog-filters {
  padding-right: 0;
  padding-left: 12px;
}

html[dir="rtl"] .filter-chip,
html[dir="rtl"] .catalog-toolbar > p,
html[dir="rtl"] .catalog-search input,
html[dir="rtl"] .hero-search input,
html[dir="rtl"] .feedback-dialog input,
html[dir="rtl"] .feedback-dialog textarea,
html[dir="rtl"] .feedback-dialog select {
  text-align: right;
}

html[dir="rtl"] .article-id {
  padding: 16px 18px 4px 0;
  border-left: 0;
  border-right: 3px solid var(--lime);
}

html[dir="rtl"] .article-toc a {
  padding: 7px 10px 7px 0;
  border-left: 0;
  border-right: 1px solid var(--line);
}

html[dir="rtl"] .article-toc a:hover {
  border-right-color: var(--primary);
}

html[dir="rtl"] .medical-article ul,
html[dir="rtl"] .medical-article ol,
html[dir="rtl"] .urgent-section ul {
  padding-left: 0;
  padding-right: 22px;
}

html[dir="rtl"] .key-fact-list {
  padding-right: 0;
}

html[dir="rtl"] .key-fact-list li {
  padding: 12px 42px 12px 15px;
  border-left: 0;
  border-right: 3px solid var(--lime);
}

html[dir="rtl"] .key-fact-list li::before {
  left: auto;
  right: 15px;
}

html[dir="rtl"] .v2-detail-list {
  padding-right: 0;
}

html[dir="rtl"] .v2-detail-list li {
  border-left: 0;
  border-right: 3px solid #b9c9c4;
}

html[dir="rtl"] .condition-row .card-arrow,
html[dir="rtl"] .text-link .ui-icon-arrow,
html[dir="rtl"] .related-topic .ui-icon-arrow {
  transform: scaleX(-1);
}

html[dir="rtl"] .english-name,
html[dir="rtl"] [dir="ltr"] {
  text-align: right;
  unicode-bidi: isolate;
}

.search-results-page {
  padding-block: 28px 80px;
}

.search-results-page > p {
  color: var(--text-soft);
}

@media (max-width: 640px) {
  .related-topics {
    grid-template-columns: 1fr;
  }
}

.legal-page { background:#f7faf9; color:#18332f; }
.legal-header { position:sticky; top:0; z-index:10; border-bottom:1px solid #dce8e5; background:rgba(255,255,255,.96); }
.legal-header-inner { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.legal-header a { color:#0d625a; font-weight:700; }
.legal-layout { display:grid; grid-template-columns:210px minmax(0,760px); gap:56px; align-items:start; padding-block:48px 96px; }
.legal-nav { position:sticky; top:104px; display:grid; gap:4px; }
.legal-nav strong { margin-bottom:10px; font-size:14px; color:#5b706c; }
.legal-nav a { padding:10px 12px; border-left:3px solid transparent; color:#405b56; }
.legal-nav a.active { border-left-color:#0d625a; background:#e7f3f0; color:#0d625a; font-weight:800; }
.legal-document h1 { margin:4px 0 12px; font-size:clamp(34px,5vw,54px); line-height:1.12; }
.legal-document h2 { margin:40px 0 12px; padding-top:8px; border-top:1px solid #dce8e5; font-size:22px; line-height:1.35; }
.legal-document p,.legal-document li { font-size:16px; line-height:1.85; }
.legal-document ul { padding-left:22px; }
.legal-effective { color:#647773; font-size:14px !important; }
.legal-lead { margin:28px 0 8px; padding:20px 22px; border-left:4px solid #0d625a; background:#eaf5f2; font-size:18px !important; }

@media (max-width:760px) {
  .legal-layout { grid-template-columns:1fr; gap:28px; padding-block:28px 72px; }
  .legal-nav { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .legal-nav strong { grid-column:1 / -1; }
  .legal-nav a { border-left:0; border-bottom:3px solid transparent; text-align:center; }
  .legal-nav a.active { border-bottom-color:#0d625a; }
}


.native-record-list {
  display: grid;
  gap: 14px;
}

.native-record {
  padding: 16px 18px;
  border-left: 3px solid var(--line-strong);
  background: var(--surface-soft);
}

.native-record h3,
.native-record p {
  margin-top: 0;
}

.native-record p:last-child {
  margin-bottom: 0;
}
