/* Lectura y formularios del centro de información; contenido y reglas originales. */
.legal-page { --legal-muted: #52657d; --legal-ink: #1c2d45; --legal-line: #dce5f0; background: #f5f7fb; color: var(--legal-ink); }
.legal-page main { max-width: 1200px; padding-inline: 32px; }
.legal-page .legal-header { height: 72px; border-color: var(--legal-line); box-shadow: 0 2px 12px rgb(27 53 88 / 3%); }
.legal-page .legal-header nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 550; border-radius: 10px; }
.legal-page .legal-header-cta { background: #eff5ff; border: 1px solid #d5e3f8; color: #214f91; }
.legal-page .legal-hero { gap: 30px; padding-block: 38px 28px; grid-template-columns: minmax(0, 1fr) 300px; }
.legal-page .legal-hero h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 650; line-height: 1.2; letter-spacing: -.025em; }
.legal-page .legal-eyebrow { color: #245dac; font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.legal-page .legal-hero-copy > p:not(.legal-eyebrow) { font-size: 15px; line-height: 1.7; }
.legal-page .legal-hero-meta { font-size: 12px; line-height: 1.7; gap: 8px 18px; }
.legal-page .legal-identity-card { background: #fff; border: 1px solid var(--legal-line); border-radius: 14px; box-shadow: none; color: var(--legal-ink); padding: 20px; }
.legal-page .legal-identity-card :is(dt, dd, a, a[aria-disabled="true"]) { color: #52657d; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.legal-page .legal-identity-card > span { font-size: 12px; color: #52657d; text-transform: none; letter-spacing: 0; }
.legal-page .legal-identity-card > strong { font-size: 17px; line-height: 1.5; font-weight: 650; color: var(--legal-ink); }
.legal-page .legal-identity-card dl { border-color: var(--legal-line); }
.legal-page .legal-configuration-notice { padding: 16px 20px; margin-bottom: 28px; border-radius: 12px; gap: 12px; }
.legal-page .legal-configuration-notice :is(p, li) { font-size: 13px; line-height: 1.6; }
.legal-page .legal-configuration-notice details summary { cursor: pointer; font-size: 13px; font-weight: 600; padding-block: 10px; min-height: 44px; }
.legal-page .legal-configuration-notice details ul { padding-block: 4px; }
.legal-page .legal-layout { grid-template-columns: 244px minmax(0, 1fr); gap: 28px; }
.legal-page .legal-sidebar { top: 92px; }
.legal-page .legal-index { padding: 14px; border-radius: 14px; box-shadow: none; gap: 5px; }
.legal-page .legal-index > span { font-size: 12px; font-weight: 600; color: #52657d; padding: 4px 10px 14px; text-transform: none; letter-spacing: 0; }
.legal-page .legal-index a { display: flex; align-items: center; min-height: 48px; padding: 11px 12px; border: 1px solid transparent; border-radius: 9px; color: #425976; font-size: 14px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.legal-page .legal-index a:is(.active, :hover) { background: #eff5ff; border-color: #d5e3f8; color: #214f91; }
.legal-page .legal-help-card { border-radius: 14px; padding: 18px; box-shadow: none; }
.legal-page .legal-help-card :is(span, a) { font-size: 13px; font-weight: 600; }
.legal-page .legal-help-card p { font-size: 13px; line-height: 1.6; }
.legal-page .legal-document { border-radius: 16px; box-shadow: 0 4px 18px rgb(27 53 88 / 3%); scroll-margin-top: 92px; }
.legal-page .legal-document[hidden] { display: none !important; }
.legal-page .legal-document-header { background: #f8fafd; gap: 16px; padding: 28px 32px; }
.legal-page .legal-section-number { width: 38px; height: 38px; font-size: 13px; font-weight: 600; border-radius: 10px; }
.legal-page .legal-document-header h2 { font-size: clamp(24px, 2.5vw, 30px); line-height: 1.3; font-weight: 650; margin-block: 6px 10px; letter-spacing: -.025em; overflow-wrap: anywhere; }
.legal-page .legal-document-header div > span { font-size: 12px; font-weight: 600; color: #52657d; letter-spacing: 0; text-transform: none; }
.legal-page .legal-document-header p:not(.legal-section-number) { font-size: 14px; line-height: 1.65; }
.legal-page .legal-document > section { margin-inline: 32px; padding-block: 26px; }
.legal-page .legal-document h3 { font-size: 19px; font-weight: 600; line-height: 1.5; scroll-margin-top: 96px; overflow-wrap: anywhere; }
.legal-page .legal-document section > :is(p, ul, ol) { font-size: 15px; line-height: 1.8; color: #42536b; overflow-wrap: anywhere; }
.legal-page .legal-document strong { font-weight: 600; }
.legal-page .legal-data-grid :is(strong, p), .legal-page .legal-cookie-list :is(strong, p) { font-size: 14px; line-height: 1.7; }
.legal-page .legal-data-grid > div, .legal-page .legal-cookie-list > div { border-radius: 10px; padding: 18px; }
.legal-page .legal-cookie-state { font-size: 11px; letter-spacing: 0; text-transform: none; }
.legal-page .legal-table-wrap { scrollbar-width: thin; border-radius: 10px; }
.legal-page .legal-table-wrap :is(th, td) { font-size: 13px; line-height: 1.7; padding: 14px; }
.legal-page .legal-table-wrap th { text-transform: none; letter-spacing: 0; }
.legal-reader-tools { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 14px 32px; border-bottom: 1px solid #e4ebf4; }
.legal-reader-outline { flex: 1; min-width: 0; }
.legal-reader-outline summary { display: list-item; width: fit-content; min-height: 44px; padding: 10px 4px; font-size: 14px; font-weight: 600; color: #214f91; cursor: pointer; }
.legal-reader-outline nav { display: grid; gap: 3px; padding-bottom: 8px; }
.legal-reader-outline a { display: flex; align-items: center; min-height: 44px; padding: 8px; border-radius: 8px; font-size: 13px; line-height: 1.5; text-decoration: none; color: #425976; overflow-wrap: anywhere; }
.legal-reader-outline a:hover { background: #eff5ff; color: #214f91; }
.legal-reader-print { flex: 0 0 auto; min-height: 44px; padding: 10px 14px; border: 1px solid #dce5f0; border-radius: 9px; background: #fff; color: #425976; font: 500 13px / 1.5 var(--font-ui); cursor: pointer; }
.legal-reader-print:hover { background: #eff5ff; border-color: #bdd1ee; }
.legal-page :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid #245dac; outline-offset: 3px; }
.legal-page :is(h2, h3):focus-visible { outline: 2px solid #245dac; outline-offset: 5px; border-radius: 3px; }
.legal-page .cookie-preferences { border-radius: 12px; }
.legal-page .cookie-preferences > label { gap: 16px; padding: 18px; min-height: 76px; }
.legal-page .cookie-preferences > label > span { min-width: 0; gap: 4px; }
.legal-page .cookie-preferences > label strong { font-size: 15px; line-height: 1.5; }
.legal-page .cookie-preferences > label small { font-size: 13px; line-height: 1.6; }
.legal-page .cookie-preferences input[type="checkbox"] { flex: 0 0 22px; width: 22px; height: 22px; }
.legal-page .cookie-preferences label:has(input:checked) { background: #f5f9ff; }
.legal-page .cookie-preference-actions { flex-wrap: wrap; gap: 10px; padding: 16px 18px; }
.legal-page .cookie-preferences > p:not(:empty) { font-size: 13px; line-height: 1.6; padding: 14px 18px; }
.legal-page .legal-button { min-height: 44px; border-radius: 9px; font-size: 14px; line-height: 1.5; font-weight: 600; }
.legal-page .complaint-provider-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 20px 32px 0; padding: 18px; border: 1px solid #e4ebf4; border-radius: 12px; background: #f8fafd; }
.legal-page .complaint-channel-status { margin: 20px 32px; color: #42536b; font-size: 14px; line-height: 1.7; }
.legal-page [data-legal-bank-disclosure][hidden], .legal-page [data-complaint-status][hidden], .legal-page .complaint-form[hidden] { display: none !important; }
.legal-page .complaint-provider-summary span { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.legal-page .complaint-provider-summary strong { font-size: 13px; line-height: 1.6; }
.legal-page .complaint-lock { margin: 20px 32px 0; padding: 18px; border-radius: 12px; }
.legal-page .complaint-lock strong { font-size: 15px; }
.legal-page .complaint-lock :is(p, li) { font-size: 13px; line-height: 1.6; }
.legal-page .complaint-lock summary { min-height: 44px; padding-block: 10px; font-size: 13px; font-weight: 600; cursor: pointer; }
.legal-page .complaint-guidance { margin: 0 32px !important; padding-block: 24px !important; }
.legal-page .complaint-guidance > div { border-radius: 11px; }
.legal-page .complaint-guidance strong { font-size: 15px; }
.legal-page .complaint-guidance p { font-size: 13px; line-height: 1.7; }
.legal-page .complaint-form { margin: 0 32px 28px; }
.legal-page .complaint-required-note { color: #52657d; font-size: 13px; margin: 0 0 20px; }
.legal-page .complaint-form fieldset { min-width: 0; margin-bottom: 20px; border: 1px solid #e4ebf4; border-radius: 12px; padding: 18px; }
.legal-page .complaint-form legend { font-size: 16px; line-height: 1.6; font-weight: 600; padding-inline: 8px; }
.legal-page .complaint-grid label > span, .legal-page .complaint-choice-row strong { font-size: 14px; line-height: 1.5; }
.legal-page .complaint-choice-row small, .legal-page .complaint-check span { font-size: 13px; line-height: 1.6; }
.legal-page .complaint-choice-row > label { min-height: 76px; padding: 14px; gap: 12px; border-radius: 10px; }
.legal-page .complaint-choice-row > label:has(input:checked) { border-color: #92b4e4; background: #eff5ff; }
.legal-page .complaint-form :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { min-height: 48px; font-size: 16px; line-height: 1.5; padding: 12px; border-radius: 9px; background: #fff; }
.legal-page .complaint-form :is(input[type="checkbox"], input[type="radio"]) { flex-shrink: 0; width: 20px; height: 20px; accent-color: #245dac; }
.legal-page .complaint-check { align-items: flex-start; min-height: 44px; padding-block: 10px; }
.legal-page .complaint-form textarea { resize: vertical; min-height: 128px; }
.legal-page .complaint-form label > small, .legal-page .complaint-legal-note { font-size: 13px; line-height: 1.7; color: #52657d; overflow-wrap: anywhere; }
.legal-page .complaint-form-footer { flex-wrap: wrap; gap: 16px; }
.legal-page .complaint-form-footer strong { font-size: 15px; line-height: 1.6; }
.legal-page .complaint-form-footer span { font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.legal-page .complaint-form-footer p { font-size: 13px; line-height: 1.7; }
.legal-page .complaint-form-message:not(:empty) { font-size: 14px; line-height: 1.7; padding: 16px; border-radius: 10px; }
.legal-page .legal-sources > ul { margin: 24px 32px; padding-left: 20px; }
.legal-page .legal-sources li, .legal-page .legal-sources > p { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.legal-page .legal-sources > p { margin-inline: 32px; }
.legal-page .legal-footer { border-color: var(--legal-line); }
.legal-page .legal-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; line-height: 1.5; }
.legal-page .legal-footer :is(p, small) { font-size: 13px; line-height: 1.7; }
.legal-page .cookie-banner { gap: 22px; border-radius: 14px; padding: 20px; max-height: calc(100dvh - 24px); overflow-y: auto; }
.legal-page .cookie-banner strong { font-size: 16px; line-height: 1.5; }
.legal-page .cookie-banner p { font-size: 13px; line-height: 1.7; }
@media (max-width: 960px) {
  .legal-page main { padding-inline: 20px; }
  .legal-page .legal-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .legal-page .legal-identity-card { max-width: none; }
  .legal-page .legal-layout { display: block; }
  .legal-page .legal-sidebar { position: static; margin-bottom: 20px; }
  .legal-page .legal-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .legal-page .legal-index > span { display: block; grid-column: 1 / -1; }
  .legal-page .legal-index a { white-space: normal; }
  .legal-page .legal-help-card { display: none; }
}
@media (max-width: 600px) {
  .legal-page main { padding-inline: 14px; }
  .legal-page .legal-header { height: 68px; padding-inline: 14px; gap: 10px; }
  .legal-page .legal-header nav a:not(.legal-header-cta) { display: none; }
  .legal-page .legal-header .legal-header-cta { font-size: 12px; padding: 9px 10px; max-width: 164px; line-height: 1.5; text-align: center; }
  .legal-page .legal-hero { padding-block: 26px 22px; }
  .legal-page .legal-configuration-notice { padding: 16px; }
  .legal-page .legal-index { padding: 10px; gap: 6px; }
  .legal-page .legal-index a { font-size: 13px; padding: 10px; }
  .legal-page .legal-document-header { padding: 22px 20px; }
  .legal-page .legal-document > section { margin-inline: 20px; padding-block: 22px; }
  .legal-page .legal-document h3 { font-size: 18px; }
  .legal-reader-tools { padding: 12px 20px; flex-wrap: wrap; }
  .legal-reader-outline { flex-basis: 100%; }
  .legal-reader-print { width: 100%; }
  .legal-page .complaint-provider-summary { margin: 20px; }
  .legal-page .legal-complaints .complaint-provider-summary { grid-template-columns: minmax(0, 1fr); }
  .legal-page .complaint-provider-summary > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding-block: 10px; border-right: 0; }
  .legal-page .complaint-provider-summary > div:first-child { padding-top: 0; }
  .legal-page .complaint-provider-summary > div:last-child { padding-bottom: 0; }
  .legal-page .complaint-guidance, .legal-page .complaint-lock, .legal-page .complaint-form { margin-inline: 20px !important; }
  .legal-page .complaint-form fieldset { padding: 14px; }
  .legal-page .complaint-grid { gap: 16px; }
  .legal-page .legal-sources > :is(ul, p) { margin-inline: 20px; }
}
@media print {
  .legal-reader-tools, .legal-page .legal-back-top { display: none !important; }
  .legal-page .legal-hero { display: none; }
  .legal-page main { padding: 0; }
  .legal-page .legal-layout { display: block; }
  .legal-page .legal-document { overflow: visible; box-shadow: none; break-after: auto; }
  .legal-page .legal-document-header { background: #fff; padding: 0 0 20px; }
  .legal-page .legal-document > section { margin-inline: 0; }
  .legal-page .legal-document section { break-inside: auto; }
  .legal-page .legal-document h3 { break-after: avoid; }
  .legal-page .legal-table-wrap { overflow: visible; }
  .legal-page .legal-table-wrap table { min-width: 0; }
  .legal-page .legal-document section > :is(p, ul, ol) { color: #000; }
}

.complaint-receipt{padding:24px;border:1px solid #b8cbe7;border-radius:12px;background:#f6f9fe;margin:24px 0}.complaint-receipt pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.complaint-receipt summary{cursor:pointer;margin:16px 0}.complaint-receipt p{overflow-wrap:anywhere}
