html:lang(en) [data-lang="zh"], html:lang(zh) [data-lang="en"] { display:none }
#lead-sample [data-lang]:not([hidden]) { display:inline }
#lead-sample [data-lang][hidden] { display:none }
.vj-imprint p[data-copy="p1.footer.company_code"] { flex-basis:100%; max-width:none }
.home-cover { width:min(100%,440px) }
.page-media { display:block; aspect-ratio:auto; min-height:0; padding:48px; background:var(--home-soft) }
.page-media img { position:static; width:100%; height:auto; max-width:100%; max-height:none; box-sizing:border-box; padding:clamp(12px,1.6vw,24px); border:1px solid var(--line); border-radius:12px; background:white }
.p1-submit .policy-section { width:var(--policy-column); margin:24px auto 96px }
.policy-section > .p1-checklist-title { margin:0 0 12px; font:500 19px/1.4 var(--sans); letter-spacing:normal }
.p1-checklist-title + .p1-list { margin-top:0 }
.p1-list { display:grid; gap:9px; padding-left:1.45em; margin:22px 0 34px; }
.p1-board { list-style:none; padding:0 }
.p1-board li { display:flex; flex-wrap:wrap; gap:3px 14px; margin:12px 0; padding:14px 0; border-block-start:1px solid var(--rule) }
.p1-board li strong { flex-basis:100% }
.p1-board-status { margin-block:32px 64px; padding:32px; border-radius:24px; background:var(--pale); font:400 17.5px/1.6 var(--sans) }
.p1-board-status p + p { margin-top:16px }
.p1-signature { margin-top:28px }
.reader-prose a { overflow-wrap:anywhere }
.p1-notfound .policy-intro { min-height:42vh }
.p1-notfound .policy-links { margin-top:24px }
.vj-announcement { white-space:normal; text-align:center }
.vj-announcement a { flex-shrink:0 }
@media(max-width:767px) {
 .vj-announcement { padding:6px 30px 6px 15px;line-height:1.3 }
 .vj-announcement a { max-width:32% }
 .home-cover { width:min(100%,320px) }
}

#scope > .p1-checklist-title { margin-top:34px }
#scope .policy-type-table { min-width:0 }
#scope .policy-type-table td { white-space:normal }

/* Line endings: no stranded last character in headings, lead-ins or running text. */
:is(p, li, td, th, dd, figcaption) { text-wrap: pretty; }
:is(h1, h2, h3, h4, .home-lead, .home-facts, .home-current-meta, .policy-intro > p, .rpr-step-title, .rpr-step-time, .rpr-step-body) { text-wrap: balance; }
@media (max-width: 767px) {
  /* On phones these run past six lines, where balancing stops applying. */
  .policy-intro > p, html:lang(en) .home-lead { text-wrap: pretty; }
}
/* Browsers without text-wrap support: keep the Chinese lead sentence to even lines. */
html:lang(zh) .home-lead { max-width: 22em; }
@media (max-width: 479px) {
  html:lang(zh) .home-lead { max-width: 15em; }
}

.africa-media { display:flex; flex-direction:column; justify-content:center; }
.p1-rules-card-title { margin:0 0 18px; font:500 18px/1.35 var(--sans); color:var(--home-navy); }
.africa-media .p1-list { margin:0; gap:14px; font:400 15.5px/1.55 var(--sans); color:var(--home-navy); }
.africa-media .p1-list li::marker { font-weight:500; color:var(--home-secondary); }
.policy-section > p + p { margin-top:16px; }
.policy-leadership { margin-bottom:16px; }
.policy-leadership .policy-person { margin:0 0 6px; font:500 22px/1.25 var(--sans); color:var(--ink); }
.home-entry .p1-founder-lead { max-width:68ch; margin-top:16px; color:var(--home-secondary); line-height:1.55 }
.p1-template-files { margin-top:14px }
