/* Legal documents laid out as a plain legal document (19 Oct 2026): breadcrumb, centred light title, a left list of the sibling documents and the text as plain numbered paragraphs. Colours and the typeface come from the site's own tokens, so both themes work. Loaded only by the legal pages. */
[data-lab="legal"] .abpage-back { display: none; }
[data-lab="legal"] main.abpage { padding: 0; }
[data-lab="legal"] main.abpage > .wrap { max-width: none; padding: 0; }
.ld-top { padding: clamp(28px, 3vw, 44px) 0 0; background: var(--bg); }
.ld-wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 40px); }
.ld-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 18px; color: var(--ink); }
.ld-crumbs li { display: inline-flex; align-items: center; }
.ld-crumbs li svg { margin: 0 8px; color: var(--muted, var(--ink)); }
.ld-crumbs a { color: var(--brand); text-decoration: none; }
.ld-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ld-title { margin: clamp(28px, 3.4vw, 48px) 0 0; text-align: center; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.17; font-weight: 300; letter-spacing: 0; color: var(--ink); text-wrap: balance; }
.ld { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0 clamp(24px, 3vw, 48px); max-width: 1440px; margin: 0 auto; padding: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 40px) clamp(64px, 7vw, 110px); align-items: start; }
.ld-side { font-size: 14px; line-height: 20px; }
.ld-grp summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px 12px 0; font-size: 16px; line-height: 24px; color: var(--ink); cursor: pointer; list-style: none; border-bottom: 1px solid var(--line, color-mix(in srgb, var(--ink) 14%, var(--bg))); }
.ld-grp summary::-webkit-details-marker { display: none; }
.ld-grp summary svg { transition: transform .2s; transform: rotate(180deg); flex: none; }
.ld-grp:not([open]) summary svg { transform: none; }
.ld-grp ul { margin: 0; padding: 0; list-style: none; background: color-mix(in srgb, var(--ink) 5%, var(--bg)); }
.ld-grp li a { display: block; padding: 12px 16px 12px 20px; border-left: 3px solid transparent; color: var(--brand); text-decoration: none; }
.ld-grp li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ld-grp li a[aria-current="page"] { background: color-mix(in srgb, var(--ink) 12%, var(--bg)); border-left-color: var(--brand); color: var(--ink); }
.ld-grp li a:focus-visible, .ld-grp summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.ld-doc { max-width: 680px; width: 100%; margin: 0 auto; font-size: 16px; line-height: 24px; color: var(--ink); }
.ld-doc p { margin: 0 0 16px; }
.ld-doc .ld-h { font-weight: 400; }
.ld-doc a.ld-h { color: var(--brand); text-decoration: none; }
.ld-doc a.ld-h:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .ld { grid-template-columns: minmax(0, 1fr); gap: 28px 0; }
  .ld-grp:not([open]) ul { display: none; }
}
