:root{--site-navy:#0b2d5b;--site-red:#c62828}
.site-doc-toolbar{position:sticky;top:0;z-index:1000;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:82px;padding:12px max(18px,calc((100vw - 1180px)/2));background:#fff;color:var(--site-navy);border-bottom:1px solid #e4e9ef;box-shadow:0 5px 20px rgba(6,24,51,.08);font-family:Arial,Helvetica,sans-serif}
.site-doc-brand{display:flex;align-items:center;gap:15px;color:var(--site-navy);text-decoration:none;font-weight:800}.site-doc-brand img{display:block;width:130px;height:auto}.site-doc-brand span{display:block;padding-left:15px;border-left:1px solid #dce3eb;color:#68778a;font-size:.76rem;font-weight:700;letter-spacing:.02em}.site-doc-actions{display:flex;align-items:center;gap:9px}.site-doc-actions a,.site-doc-actions button{display:inline-flex;align-items:center;gap:7px;border:1px solid #d8e0e9;border-radius:9px;padding:9px 13px;background:#fff;color:var(--site-navy);text-decoration:none;font:700 .84rem Arial,Helvetica,sans-serif;cursor:pointer}.site-doc-actions a.primary{background:var(--site-red);border-color:var(--site-red);color:#fff}.site-doc-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.site-doc-actions a:hover,.site-doc-actions button:hover{background:#f2f5f8}.site-doc-actions a.primary:hover{background:#a91f26}.document a[href*="wa.me"]{color:inherit;font-weight:750;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
@media screen{
  body{background:#e8edf3!important}
  main.document,.document{width:min(100% - 30px,960px)!important;margin:24px auto 48px!important;background:transparent!important}
  main.document>.page,.document>.page{width:100%!important;height:auto!important;min-height:0!important;margin:0 0 22px!important;padding:clamp(28px,5vw,72px)!important;overflow:visible!important;box-shadow:0 13px 38px rgba(23,36,58,.13)!important;border-radius:4px}
  main.document>.page footer,.document>.page footer{position:static!important;margin-top:34px!important;padding-top:14px!important}
  .cover .meta-card,.cover .alert,.cover .cover-note{position:static!important;margin:28px 0 0!important}
  .cover-copy,.cover .subtitle{width:auto!important;max-width:100%!important}
}
@media screen and (max-width:720px){
  .site-doc-toolbar{position:static;align-items:center;min-height:68px;padding:10px 14px}.site-doc-brand img{width:130px}.site-doc-brand>span{display:none}.site-doc-actions{margin-left:auto}.site-doc-actions a,.site-doc-actions button{padding:9px 10px}.site-doc-actions a:not(.primary){display:none}.site-doc-actions .action-label{display:none}
  [dir=rtl] .site-doc-toolbar .site-doc-actions .language-switcher .language-menu{right:0;left:auto}
  main.document,.document{width:100%!important;margin:0!important}
  main.document>.page,.document>.page{margin:0 0 10px!important;padding:30px 20px!important;border-radius:0!important;box-shadow:none!important}
  .cover h1{font-size:30pt!important}.cover-copy{margin-top:28px!important}
  .meta-card,.grid.two,.principles,.process,.outcomes,.routes,.harm-grid,.rule-grid,.steps,.response-flow,.decision-cards,.info-grid,.who-grid,.commitments,.approval,.share-grid,.data-list{grid-template-columns:1fr!important}
  table{display:block!important;overflow-x:auto!important;max-width:100%!important}
  .note,.urgent,.contact-strip,.cover-note{display:block!important}.note strong,.urgent strong,.contact-strip strong{display:block;margin-bottom:8px}
}
@media print{.site-doc-toolbar,.screen-toolbar{display:none!important}}

/* Keep the shared language control consistent on every document page.
   Some legacy document styles target all toolbar divs, so these selectors
   intentionally override them and keep the menu closed by default. */
.site-doc-toolbar .site-doc-actions .language-switcher{position:relative;display:inline-flex;align-items:center}
.site-doc-toolbar .site-doc-actions .language-switcher .language-menu{position:absolute;top:calc(100% + 9px);right:0;left:auto;display:none!important;width:220px;flex-direction:column;align-items:stretch;gap:0;padding:8px}
.site-doc-toolbar .site-doc-actions .language-switcher.is-open .language-menu{display:grid!important}
.site-doc-toolbar .site-doc-actions .language-switcher .language-option{width:100%}
[dir=rtl] .site-doc-toolbar .site-doc-actions .language-switcher .language-menu{right:auto;left:0}
@media screen and (max-width:720px){
  html[dir=rtl] .site-doc-toolbar .site-doc-actions .language-switcher .language-menu{position:fixed!important;top:68px!important;right:auto!important;left:50%!important;width:min(280px,calc(100vw - 28px))!important;transform:translateX(-50%)}
}
