/* PrivaNex · Data Principal Rights module 2 (29 Oct 2026) · case-page block, widget embed, CAPTCHA and DigiLocker blocks; WCAG 2.1 AA fixes for the rights portal (P-15) */
.rgt2-case .dpc-h4 { margin: 0 0 .35rem; font-size: .95rem; color: var(--dpc-blue, #123A63); }
.rgt2-pre { white-space: pre-line; }
.rgt2-task { border: 1px solid var(--dpc-border, #D9E1E8); border-radius: 8px; padding: .5rem .75rem; margin-bottom: .5rem; }
.rgt2-task > summary { cursor: pointer; }
.rgt2-embed-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.rgt2-captcha { border: 1px solid var(--dpc-border, #D9E1E8); border-radius: 8px; padding: .75rem; }
.rgt2-dl { border-top: 1px solid var(--dpc-border, #D9E1E8); padding-top: .75rem; margin-top: .5rem; }
.dpc-public--embed .dpc-public__card { max-width: 520px; margin: 0 auto; }
/* P-15 · visible keyboard focus everywhere on the portal (2.4.7), never removed */
.dpc-portal a:focus-visible, .dpc-portal button:focus-visible, .dpc-portal input:focus-visible, .dpc-portal select:focus-visible, .dpc-portal textarea:focus-visible, .dpc-portal summary:focus-visible,
.rgt-lang a:focus-visible { outline: 3px solid #F58220; outline-offset: 2px; }
/* P-15 · page navigation of the privacy centre (2.4.5): wraps on a phone, targets at least 24 px (2.5.8), current page marked */
.rgt2-pages { border-top: 1px solid var(--dpc-border, #D9E1E8); margin-top: 1rem; padding-top: .6rem; }
.rgt2-pages ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.rgt2-pages a { display: inline-block; min-height: 24px; padding: 2px 0; font-size: 13px; color: #123A63; text-decoration: underline; }
.rgt2-pages a[aria-current] { font-weight: 700; text-decoration: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rgt2-pages a, :root:not([data-theme="light"]) .rgt-lang a { color: #9CC3EA; } }
:root[data-theme="dark"] .rgt2-pages a, :root[data-theme="dark"] .rgt-lang a { color: #9CC3EA; }
/* P-15 · reflow at 320 CSS px (1.4.10): the client logo shrinks with the card instead of forcing a sideways scroll */
.dpc-portal__top { flex-wrap: wrap; gap: .25rem .75rem; min-width: 0; }
.dpc-portal__brand { min-width: 0; max-width: 100%; }
.dpc-portal__brand .dpc-logo-plate, .dpc-portal__brand .dpc-logo { max-width: 100%; height: auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rgt-lang a[aria-current] { background: #1E3A5A; color: #FFFFFF; } }
:root[data-theme="dark"] .rgt-lang a[aria-current] { background: #1E3A5A; color: #FFFFFF; }
