/* Reading refinements shared only by the two institutional legal documents. */
body.legal-page { padding: 32px 24px 48px; }
.legal-page .legal-wrapper, .legal-page .legal-doc-nav { width: 100%; max-width: 800px; }
.legal-page .legal-doc-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; margin-bottom: 16px; }
.legal-page .legal-doc-nav a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; color: #e4b88b; font-size: .9375rem; line-height: 1.5; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.legal-page .legal-skip { position: fixed; z-index: 21000; top: 8px; left: 12px; max-width: calc(100% - 24px); padding: 12px 16px; background: #e8d5b0; color: #17110c; transform: translateY(-160%); }
.legal-page .legal-skip:focus { transform: none; }
.legal-page #legal-content { scroll-margin-top: 24px; outline: none; }
.legal-page #legal-content .legal-card { padding: clamp(16px, 4vw, 40px); }
.legal-page #legal-content .header-title { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.25; text-wrap: balance; overflow-wrap: normal; hyphens: auto; }
.legal-page #legal-content :is(p, li) { font-size: 1rem; line-height: 1.75; }
.legal-page #legal-content section :is(p, ul) { max-width: 68ch; }
.legal-page #legal-content .header-subtitle { font-size: .875rem; line-height: 1.6; font-variant-numeric: tabular-nums; }
.legal-page #legal-content .section-title { font-size: 1.375rem; line-height: 1.4; margin: 32px 0 12px; overflow-wrap: break-word; }
.legal-page #legal-content section:target .section-title { color: #f1d3b3; }
.legal-page #legal-content .legal-highlight-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 16px; }
.legal-page #legal-content .legal-highlight-card { min-width: 0; padding: 16px; }
.legal-page #legal-content .legal-highlight-card span { font-size: .9375rem; line-height: 1.6; }
.legal-page #legal-content .legal-toc { margin: 24px 0 32px; padding: 0; border: 0; border-block: 1px solid #51463b; border-radius: 0; background: transparent; }
.legal-page #legal-content .legal-toc summary { min-height: 48px; padding: 12px 0; color: #eee4d8; font-size: 1rem; line-height: 1.5; font-weight: 600; cursor: pointer; }
.legal-page #legal-content .legal-toc summary::marker { color: #d9a171; }
.legal-page #legal-content .legal-toc ol { margin: 0 0 16px; padding-left: 24px; }
.legal-page #legal-content .legal-toc li { margin: 0; padding: 0; }
.legal-page #legal-content .legal-toc a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding-block: 8px; font-size: 1rem; line-height: 1.5; }
.legal-page #legal-content .legal-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; }
.legal-page #legal-content .legal-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; margin: 0; text-align: center; font-size: 1rem; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.legal-page #legal-content .btn-back { padding: 12px 20px; text-transform: none; letter-spacing: 0; }
.legal-page #legal-content .legal-top-link { padding-block: 8px; }
.legal-page #legal-content .cookie-choices button { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.legal-page #legal-content .cookie-preferences [role="status"] { font-size: .9375rem; line-height: 1.6; }
@media (max-width: 1024px) {
  .legal-page > .back-to-top { display: none; }
}
@media (max-width: 600px) {
  body.legal-page { padding: 16px 12px 32px; }
  .legal-page .legal-doc-nav { gap: 4px 16px; margin-bottom: 12px; }
  .legal-page #legal-content .legal-highlight-grid { grid-template-columns: minmax(0, 1fr); }
}
