/* 3.6.12 — reading comfort and an explicit, persistent theme choice. */
html { color-scheme:dark; }
.zb-theme-toggle {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--border);border-radius:10px;background:var(--panel);color:var(--text);box-shadow:none;cursor:pointer;flex-shrink:0;font-size:.82rem}
.zb-theme-toggle [data-theme-icon] {font-size:1.2rem;line-height:1}
.zb-theme-toggle:focus-visible {outline:2px solid var(--accent);outline-offset:3px}
.public-info-page {width:100%;min-width:0;}
.public-info-page .lead {max-width:72ch;line-height:1.75}
.public-info-page .info-copy-grid {align-items:stretch;gap:20px}
.public-info-page .info-copy-grid section {min-width:0;padding:clamp(20px,3vw,30px);text-align:left}
.public-info-page .info-copy-grid p {line-height:1.8;overflow-wrap:anywhere}
.public-info-page .info-copy-grid h2 {line-height:1.4;margin-bottom:12px}
.public-info-page .info-copy-grid a,.consent-banner a {text-decoration:underline;text-underline-offset:3px}
.public-footer {padding:24px 16px;overflow-wrap:anywhere}
.consent-banner {max-height:80dvh;overflow:auto}
@media(max-width:600px) {
 .zb-header-inner {gap:10px}
 .zb-theme-toggle {padding:8px;min-width:40px}
 .zb-theme-label {display:none}
 .public-info-page {padding:18px 12px;border-radius:12px}
 .public-info-page .info-copy-grid {gap:14px;margin-top:20px}
 .public-info-page .info-copy-grid section {padding:20px 16px;border-radius:12px}
 .zb-story .zb-editorial-summary {border:0;border-radius:0;background:none;padding:8px 0 12px;box-shadow:none}
 .zb-story .zb-summary-prose {margin-top:18px;font-size:1rem;line-height:1.75}
 .zb-story .zb-summary-lead {font-size:1.06rem;line-height:1.65}
 .zb-story .zb-summary-paragraph {margin-bottom:1.35em}
 .zb-story .zb-summary-prose .source-citation-group {display:flex;flex-wrap:wrap;gap:2px;margin:5px 0 0;max-width:100%}
 .zb-story .zb-summary-prose .citation-trigger {width:36px;height:40px;border:0;background:transparent;box-shadow:none;border-radius:6px}
 .zb-story .zb-summary-prose .citation-trigger img {width:24px;height:24px;border-radius:50%}
 .zb-story .zb-summary-prose .citation-trigger:hover {background:var(--accent-soft);transform:none}
 .zb-story .zb-summary-prose .citation-trigger:focus-visible {outline:2px solid var(--accent);outline-offset:0}
}
@media(max-width:360px) {
 .zb-header-inner {gap:6px}
 .zb-header .brand {gap:5px}
 .zb-header .brand-text {font-size:1.22rem}
 .zb-header .brand-mark {width:26px;height:26px}
}
html[data-theme="light"] {
 color-scheme:light;--bg:#f4f6f8;--bg-soft:#edf2f5;--panel:#fff;--panel-strong:#fff;--panel-muted:#edf3f6;
 --text:#182b3b;--text-soft:#42586b;--text-muted:#566c7e;--border:#ccd7df;--border-strong:#528e89;
 --accent:#00776d;--accent-strong:#00665e;--accent-soft:#e0f3ef;--danger:#b6273b;--warning:#885600;--shadow:0 8px 28px #1b344312;
}
html[data-theme="light"] body {background:var(--bg);color:var(--text)}
html[data-theme="light"] :is(.zb-header,.topbar) {background:#fffffffa;border-color:var(--border)}
html[data-theme="light"] :is(.brand-text,.zb-header a,.zb-header summary,.zb-theme-toggle) {color:var(--text)}
html[data-theme="light"] :is(.zb-nav-panel,.zb-search-panel,.zb-category-list,.consent-banner,.citation-popover) {background:#fff;color:var(--text);border-color:var(--border);box-shadow:var(--shadow)}
html[data-theme="light"] :is(.zb-nav-panel a:hover,.zb-tabs a:hover) {background:#e9f3f1}
html[data-theme="light"] :is(.lead-story-card,.secondary-story-card,.story-card,.panel-card,.editor-card,.zb-mini-news,.zb-filters,.info-copy-grid section,.info-contact-card,.public-claim,.claim-card,.public-source,.filter-panel,.frontpage-filter-panel,.story-article-card,.stat-card,.summary-card) {background:#fff;border-color:var(--border);color:var(--text);box-shadow:none}
html[data-theme="light"] :is(.lead-story-content,.story-card-content,.secondary-story-content,.lead-story-body,.secondary-story-body,.story-body,.zb-editorial-summary) {background:#fff;color:var(--text)}
html[data-theme="light"] .zb-story .zb-editorial-summary {background:#f0f8f6;border-color:#c3dcd5}
html[data-theme="light"] :is(h1,h2,h3,h4,.lead-story-title,.secondary-story-title,.zb-mini-news-title,.zb-summary-lead,.claim-statement,.citation-popover strong) {color:var(--text)}
html[data-theme="light"] :is(.story-summary,.zb-summary-prose,.zb-summary-point-text,.zb-summary-heading>p,.zb-hint,.zb-mini-news-earlier,.zb-mini-news-heading h2,.zb-sort-select,.frontpage-stats>a,.zb-tabs a,.zb-category-tabs a,.zb-period-segments>a,.zb-period-segments>span,.public-source small,.claim-topline small,.claim-date,.public-story-image figcaption,.citation-popover span,.citation-popover time,.citation-popover small) {color:var(--text-soft)}
html[data-theme="light"] :is(input,textarea,select,.zb-filter-search input,.zb-search-panel input[type=search],.zb-filters select) {background:#fff;color:var(--text);border-color:#aabcc9}
html[data-theme="light"] :is(input,textarea)::placeholder {color:#5b7080}
html[data-theme="light"] :is(.zb-tabs span,.zb-category-tabs small,.count-badge,.badge,.source-count,.filter-chip,.sort-tab,.button.secondary,.source-chip,.source-pill) {background:#edf2f6;color:var(--text-soft);border-color:var(--border)}
html[data-theme="light"] :is(.zb-tabs a[aria-selected="true"],.zb-header .selected,.zb-category-tabs .active,.eyebrow,.zb-mini-news-heading>a,.details-link,.info-contact-card a) {color:var(--accent)}
html[data-theme="light"] :is(.zb-period-segments .active,.frontpage-stats>a.active,.filter-chip.active,.sort-tab.active) {background:#dff2ed;color:#005e56;border-color:#76afa6}
html[data-theme="light"] :is(.button.primary,.zb-filter-submit,.zb-search-panel button) {background:#00776d;color:#fff;box-shadow:none}
html[data-theme="light"] :is(.zb-story .conflict-public-card,.zb-story .zb-unknowns) {background:#fff8e9;border-color:#dec995}
html[data-theme="light"] :is(.public-story-image,.lead-story-image,.secondary-story-image,.zb-mini-news-image) {background:#dce5eb;border-color:var(--border)}
html[data-theme="light"] :is(.public-footer,.zb-tabs,.public-source,.zb-mini-news-item,.zb-category-bar,.zb-summary-point,.zb-verification) {border-color:var(--border)}
html[data-theme="light"] :is(.citation-trigger,.source-logo-fallback) {background:#e9f1f4;color:var(--text);border-color:#a7c8c3;box-shadow:none}
html[data-theme="light"] .citation-fallback {color:#284e56}
html[data-theme="light"] .citation-popover::after {background:#fff;border-color:var(--border)}
/* Preserve category hues with dark, readable lettering on pale fills. */
html[data-theme="light"] [class*="category-"] {--category-color:#37536b}
html[data-theme="light"] .category-swiat {--category-color:#235c9c}
html[data-theme="light"] .category-polska {--category-color:#006e72}
html[data-theme="light"] :is(.category-polityka,.category-technologia) {--category-color:#63428e}
html[data-theme="light"] :is(.category-gospodarka,.category-biznes,.category-sport) {--category-color:#28673b}
html[data-theme="light"] :is(.category-kryminal,.category-zdrowie) {--category-color:#9b3555}
html[data-theme="light"] :is(.category-kultura,.category-spoleczenstwo) {--category-color:#815800}
html[data-theme="light"] :is(.category-pill,.category-chip,.zb-colored-category,.zb-category-tab)[class*="category-"] {color:var(--category-color);background:color-mix(in srgb,var(--category-color) 9%,white);border-color:color-mix(in srgb,var(--category-color) 35%,white)}
html[data-theme="light"] :is(.importance-label,.verification-badge,.confirmation-badge) {color:#624400;background:#fff1d7;border-color:#c5a667}
@media(max-width:600px) {
 html[data-theme="light"] .zb-story .zb-editorial-summary {background:transparent;border:0}
 html[data-theme="light"] .zb-story .zb-summary-prose .citation-trigger {background:transparent}
}
html[data-theme="light"] :is(.lead-story-copy,.secondary-story-copy,.event-card,.event-card-content,.source-brand-chip,.latest-ticker,.ticker-label,.review-matches-disclosure) {background:#fff;color:var(--text);border-color:var(--border)}
html[data-theme="light"] :is(.lead-story-copy p,.event-card-content p,.secondary-story-copy p,.ticker-group a,.source-brand-chip,.meta,.section-kicker) {color:var(--text-soft)}
html[data-theme="light"] .confirmation-strong {color:#00684d;border-color:#91c6b5!important;background:#e3f4ec!important}
html[data-theme="light"] .confirmation-moderate {color:#785100;border-color:#d2b776!important;background:#fff3d4!important}
html[data-theme="light"] .confirmation-early {color:#255a91;border-color:#a4bddc!important;background:#e9f1fc!important}

/* 3.6.12a: explicit link colors and legacy !important category rules. */
html[data-theme="light"] {--muted:#526777}
html[data-theme="light"] body :is(h1,h2,h3,h4) a,
html[data-theme="light"] body :is(.event-card-content h2 a,.related-story-row,.story-row-main,.mini-story-row) {color:#182b3b}
html[data-theme="light"] body :is(.event-card-content>p,.lead-story-copy>p,.public-conflict p,.claim-statement,.zb-summary-point-text) {color:#364e60}
html[data-theme="light"] body :is(.category-pill,.category-chip,.zb-colored-category,.zb-category-tab,.zb-category-tabs a)[class*="category-"] {color:var(--category-color,#37536b)!important;background:color-mix(in srgb,var(--category-color,#37536b) 9%,white)!important;border-color:color-mix(in srgb,var(--category-color,#37536b) 38%,white)!important}
html[data-theme="light"] body :is(.story-temperature,.story-temperature-large.subdued) {opacity:1;background:#edf2f5;border-color:#c6d2dc;color:#42576a}
html[data-theme="light"] body :is(.temperature-button,.temperature-label,.story-temperature-large.subdued small,.story-temperature small,.change-signal,.mini-change-signal,.story-breadcrumbs,.zb-category-hint) {color:#42576a;opacity:1}
html[data-theme="light"] body :is(.public-story-image figcaption,.zb-story .public-source small,.zb-story .claim-date,.zb-story .claim-topline small,.zb-story .timeline-item time,.timeline-copy small,.timeline-copy span) {color:#526777}
html[data-theme="light"] body :is(.claim-icon,.claim-label,.change-kind,.zb-summary-source-label) {color:#375468}
html[data-theme="light"] body :is(.claim-date,.story-detail-meta .pill,.pill.older-fallback) {background:#edf2f5;color:#364e60;border-color:#c6d2dc}
html[data-theme="light"] body .citation-close {background:#edf2f5;color:#182b3b;border-color:#aabcc9}
html[data-theme="light"] body .public-conflict {border-color:#dfcfaa}
html[data-theme="light"] body :is(.related-story-row small,.source-count-label,.secondary-source-line,.frontpage-subtitle) {color:#526777}
html[data-theme="light"] body :is(.zb-tabs span,.zb-tabs a) {color:#42576a}
html[data-theme="light"] body .zb-tabs a[aria-selected="true"] {color:#00665e}
/* Keep photographs and their AI labels unchanged; improve the caption below. */
html[data-theme="light"] body .public-story-image figcaption {background:#edf2f5}
@media(max-width:600px) {
 .zb-story .zb-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:12px 0}
 .zb-story .zb-tabs #tab-summary {grid-column:1/-1}
 .zb-story .zb-tabs a {min-width:0;min-height:44px;padding:9px 6px;font-size:.82rem;line-height:1.3;gap:5px}
 .zb-story .zb-tabs a span {flex-shrink:0}
 .zb-story .zb-summary-points {padding-left:17px}
 .zb-story .zb-summary-point {padding:12px 0 14px 2px}
 .zb-story .zb-summary-point-text {font-size:1rem;line-height:1.7}
 .zb-story .zb-summary-point-sources {gap:3px;align-items:center;max-width:100%}
 .zb-story .source-citation-group {white-space:normal;display:inline-flex;flex-wrap:wrap;gap:2px;max-width:100%;margin-left:0}
 .zb-story .citation-trigger {width:36px;height:40px;min-height:40px;border:0;border-radius:6px;background:transparent;box-shadow:none}
 .zb-story .citation-trigger img {width:24px;height:24px;border-radius:50%}
 .zb-story .citation-trigger:focus-visible {outline:2px solid var(--accent);outline-offset:0}
 .zb-story .public-claim {padding:12px 10px;gap:9px;border-radius:8px}
 .zb-story .claim-icon {width:22px;height:22px;font-size:.85rem}
 .zb-story .claim-copy {min-width:0}
 .zb-story .claim-topline {gap:5px 7px}
 .zb-story .claim-statement {font-size:.96rem;line-height:1.65}
 .zb-story .claim-label {letter-spacing:.02em}
 .zb-story .public-conflict {grid-template-columns:22px minmax(0,1fr);padding:14px 10px;gap:9px}
 .zb-story .public-conflict p {font-size:.96rem;line-height:1.65}
 .zb-story .public-conflict small {display:block;font-size:.84rem;line-height:1.6;overflow-wrap:anywhere}
 .zb-story .panel-card,.zb-story .zb-source-card {padding:16px 12px;border-radius:10px}
 .zb-story .panel-card-header {flex-wrap:wrap}
 .zb-story .timeline-item {grid-template-columns:56px 8px minmax(0,1fr);gap:7px}
 .zb-story .timeline-item time {font-size:.68rem}
 html[data-theme="light"] .zb-story .citation-trigger {background:transparent}
}

/* 3.6.12b: the theme control is a permanent header item. */
.zb-header .zb-header-inner>.zb-theme-toggle {display:inline-flex!important;visibility:visible!important;opacity:1!important;position:relative;flex:0 0 auto;min-width:44px;min-height:44px;max-width:none;overflow:visible;z-index:2;color:var(--text);background:var(--panel);border:1px solid var(--border-strong)}
.zb-header .zb-desktop-nav {min-width:0}
@media(max-width:1100px) and (min-width:901px){.zb-header-inner{gap:16px}.zb-desktop-nav{gap:14px}}
@media(max-width:600px){.zb-header .zb-theme-toggle{width:44px;padding:8px}.zb-header .zb-theme-label{display:none}.zb-header .zb-header-inner{gap:6px}}
