/* Public information pages: no dependency on account state or exam data. */
.legal-page { margin: 0; background: #f5f7fa; color: #173547; font: 16px/1.75 Arial, sans-serif; }
.legal-page * { box-sizing: border-box; }
.legal-page a { color: #354984; text-underline-offset: 3px; }
.legal-page a:focus-visible { outline: 3px solid #f4a52e; outline-offset: 4px; border-radius: 3px; }
.legal-skip { position: absolute; z-index: 50; left: 16px; top: -120px; padding: 12px 18px; background: #fff; }
.legal-skip:focus { top: 12px; }
.legal-main { max-width: 1040px; margin: 0 auto; padding: 40px 24px 28px; }
.legal-intro { max-width: 800px; }
.legal-eyebrow { margin: 0 0 8px; color: #536277; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.legal-main h1 { margin: 0 0 16px; font-size: clamp(30px, 5vw, 44px); line-height: 1.2; letter-spacing: -1px; }
.legal-main h2 { margin: 0 0 16px; font-size: 23px; line-height: 1.4; }
.legal-main h3 { margin: 24px 0 8px; font-size: 18px; }
.legal-main p { margin: 0 0 16px; }
.legal-main p:last-child { margin-bottom: 0; }
.legal-version { color: #536277; font-size: 13px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 22px; }
.legal-tabs a { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 1px solid #cbd7e4; border-radius: 9px; background: #fff; text-decoration: none; font-weight: 600; }
.legal-tabs a[aria-current="page"] { border-color: #354984; background: #354984; color: #fff; }
.legal-draft { margin: 0 0 24px; padding: 18px 22px; border: 1px solid #e6ca8f; border-left: 4px solid #bb7d19; border-radius: 10px; background: #fff9ed; }
.legal-draft strong { display: block; margin-bottom: 4px; }
.legal-contents { margin: 0 0 24px; padding: 22px 26px; border: 1px solid #d3deea; border-radius: 12px; background: #fff; }
.legal-contents h2 { font-size: 18px; }
.legal-contents ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 36px; }
.legal-contents li { padding: 3px 0; break-inside: avoid; }
.legal-section { padding: 28px; margin-bottom: 20px; border: 1px solid #d3deea; border-radius: 12px; background: #fff; scroll-margin-top: 24px; overflow-wrap: anywhere; }
.legal-section > :last-child { margin-bottom: 0; }
.legal-fields { margin: 20px 0; }
.legal-fields > div { display: grid; grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid #e4e9ef; }
.legal-fields dt { font-weight: 600; }
.legal-fields dd { margin: 0; min-width: 0; }
.legal-blank { display: block; min-height: 1.75em; border-bottom: 1px dashed #9baabd; }
.legal-table-wrap { overflow-x: auto; margin: 20px 0; }
.legal-table-wrap:focus-visible { outline: 3px solid #f4a52e; outline-offset: 3px; }
.legal-table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15px; text-align: left; }
.legal-table caption { text-align: left; font-weight: 600; padding-bottom: 12px; }
.legal-table th, .legal-table td { vertical-align: top; padding: 14px 12px; border-bottom: 1px solid #dce3e9; }
.legal-table th { background: #edf2fa; }
.legal-table code { font: 13px/1.5 monospace; overflow-wrap: anywhere; }
.legal-note { color: #536277; font-size: 14px; }
.legal-sources { padding-left: 22px; }
.legal-page .legal-button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:10px 18px; border:1px solid #354984; border-radius:8px; background:#354984; color:#fff; font:600 16px/1.5 Arial,sans-serif; text-decoration:none; cursor:pointer; }
.legal-page .legal-button.secondary { background:#fff; color:#354984; }
.legal-actions { display:flex; flex-wrap:wrap; gap:12px; margin:20px 0; }
.legal-form label { display:block; font-weight:600; margin:16px 0 6px; }
.legal-form input { width:100%; min-height:46px; padding:10px 12px; border:1px solid #b7c8da; border-radius:8px; color:#173547; background:#fff; font:16px Arial,sans-serif; }
.legal-page input:focus-visible,.legal-page button:focus-visible { outline:3px solid #f4a52e; outline-offset:3px; }
.legal-page button:disabled { opacity:.6; cursor:wait; }
.legal-honeypot { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.legal-receipt { white-space:pre-wrap; overflow-wrap:anywhere; font:15px/1.7 Arial,sans-serif; padding:18px; background:#edf2fa; border-radius:8px; }
.legal-page [hidden] { display:none!important; }
@media (max-width: 640px) {
  .legal-main { padding: 28px 16px 16px; }
  .legal-tabs { display: grid; grid-template-columns: 1fr; }
  .legal-contents, .legal-section { padding: 20px; }
  .legal-contents ol { columns: 1; }
  .legal-fields > div { grid-template-columns: 1fr; gap: 6px; }
  .legal-main h2 { font-size: 21px; }
}
@media print {
  .legal-page { background: #fff; font-size: 11pt; }
  .koers-header, .legal-tabs, .legal-contents, .legal-skip, .koers-footer { display: none; }
  .legal-main { max-width: none; padding: 0; }
  .legal-section { padding: 16px 0; border: 0; border-top: 1px solid #bbb; border-radius: 0; }
  .legal-main h2, .legal-main h3 { break-after: avoid; }
  .legal-fields > div, .legal-table tr { break-inside: avoid; }
  .legal-table-wrap { overflow: visible; }
  .legal-table { min-width: 0; font-size: 10pt; }
}

.page-preview-label{padding:12px 20px;background:#edf1fa;color:#354984;font-weight:bold}.legal-section{overflow-wrap:anywhere}
