/* Wiadomości PRO - regulamin (PL/EN/RU/UK). A12/F10/F11 (7.10, Marcin): kontrast WCAG 2.2 AA w obu motywach + wersja jasna.
   Jeden plik dla czterech wersji językowych (wcześniej ten sam blok w każdej), ładowany tylko przez regulamin*.html.
   Kolory z /assets/wpro-theme.css (--wp-*); motyw wspólny ze stroną główną (localStorage 'wp_theme').
   Ciemny: --gray2 #666 -> #8a8e9c (3,5 -> 6,1:1), czerwone linki #cc0000 -> --wp-link (3,4 -> 7,8:1). */
:root{--gray2:var(--wp-muted-2)}
.top-bar a,.section a,footer a,.tag,.top-bar-logo span{color:var(--wp-link)}
.section a[style*="color:var(--red)"]{color:var(--wp-link)!important}
#reportForm input:not([type=checkbox]),#reportForm select,#reportForm textarea{border-color:var(--wp-control-line)!important}
input::placeholder,textarea::placeholder{color:var(--wp-muted);opacity:1}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--wp-focus)!important;outline-offset:2px}
#reportForm button[type=submit]:hover{background:var(--wp-accent-hover)!important}
.top-bar{align-items:center}
.wp-theme-btn{width:32px;height:32px}
.wp-theme-btn svg{width:17px;height:17px}
[data-theme="light"]{--dark:var(--wp-bg);--card:var(--wp-surface);--border:var(--wp-line);--gray:var(--wp-muted);--blue:#1565c0}
[data-theme="light"] body{color:var(--wp-text)}
[data-theme="light"] .top-bar,[data-theme="light"] footer{background:var(--wp-surface)}
[data-theme="light"] .top-bar a:hover,[data-theme="light"] footer a:hover,[data-theme="light"] .top-bar-logo,[data-theme="light"] .section h2,
[data-theme="light"] .section h3,[data-theme="light"] .section strong,[data-theme="light"] .company-card .field p,[data-theme="light"] .data-table th{color:var(--wp-head)}
[data-theme="light"] .top-bar a[style*="color:#fff"]{color:var(--wp-head)!important}
[data-theme="light"] .hero{background:linear-gradient(135deg,#ffffff 0%,#fbecec 100%)}
[data-theme="light"] .hero p{color:var(--wp-text-2)}
[data-theme="light"] .section p,[data-theme="light"] .section ul li,[data-theme="light"] .section ol li,[data-theme="light"] .data-table td{color:var(--wp-text-2)}
[data-theme="light"] .sidebar ul li a{color:var(--wp-muted)}
[data-theme="light"] .sidebar ul li a:hover,[data-theme="light"] .sidebar ul li a.active{color:var(--wp-head);background:rgba(204,0,0,.06)}
[data-theme="light"] .box-info{background:#e8f1fb;color:#0d47a1}
[data-theme="light"] .box-warn{background:#fdecec;color:#8e0000}
[data-theme="light"] .box-ok{background:#e9f5ea;color:#1b5e20}
[data-theme="light"] .data-table th{background:#fbe5e5}
[data-theme="light"] .data-table tr:hover td{background:rgba(15,17,21,.03)}
[data-theme="light"] .tag{background:#fdecec}
[data-theme="light"] .tag[style*="#ff8a8a"]{color:#9b0d14!important;background:#fbdcdc!important}
[data-theme="light"] .tag[style*="#ffb37a"]{color:#8a3d00!important;background:#fde6d3!important}
[data-theme="light"] .tag[style*="#ffe082"]{color:#6b5300!important;background:#fbf1c9!important}
[data-theme="light"] .tag[style*="color:#aaa"]{color:#4b5563!important;background:#eceef1!important;border-color:#c9ced6!important}
[data-theme="light"] #reportForm input:not([type=checkbox]),[data-theme="light"] #reportForm select,[data-theme="light"] #reportForm textarea{background:var(--wp-surface)!important;color:var(--wp-text)!important}
[data-theme="light"] footer strong[style*="rgba(255,255,255,.6)"]{color:var(--wp-text-2)!important}
[data-theme="light"] [style*="background:#1a1205"]{background:#fff7e0!important;border-bottom-color:#e6c46a!important;color:#5c4300!important}
[data-theme="light"] [style*="color:#ffd980"]{color:#6b4e00!important}
[data-theme="light"] #repMsg{color:var(--wp-text)!important}
/* WCAG 1.4.10 (zastane, wykryte przy pomiarze A12): w wersji RU długie słowa poszerzały kolumnę treści do 622 px
   na telefonie 390 px - przeglądarka pomniejszała całą stronę. Kolumna nie szersza niż ekran, długie słowa łamane. */
.content{min-width:0}
@media(max-width:800px){.page-wrap{grid-template-columns:minmax(0,1fr)}}
.section p,.section li,.data-table td,.company-card .field p{overflow-wrap:anywhere}
