/* 3.4: transparent editorial notes and reading comparison. */
.reader-changes[hidden] { display: none; }
.reader-changes { padding: 16px; margin: 18px 0; background: rgba(24,190,157,.06); border: 1px solid rgba(54,242,214,.25); border-radius: 14px; }
.reader-changes h2 { font-size: 1.1rem; }
.reader-quiet { padding: 10px 14px; font-size: .8rem; }
.reader-quiet h2,.reader-quiet > small { display: none; }
.reader-changes ul { padding-left: 22px; }
.reader-changes li { padding: 8px 0; overflow-wrap: anywhere; }
.reader-changes p { margin: 6px 0; }
.reader-changes small { display: block; color: var(--text-soft); margin-top: 10px; font-size: .8rem; line-height: 1.5; }
.transparency-public { min-width: 0; }
.transparency-public h2 { font-size: 1.2rem; }
.transparency-public h3 { font-size: 1rem; line-height: 1.5; }
.transparency-public p { line-height: 1.65; font-size: .9rem; overflow-wrap: anywhere; }
.transparency-public article { margin: 14px 0; }
.transparency-public details,.transparency-editor details { padding: 12px 0; border-top: 1px solid rgba(132,160,190,.15); }
.transparency-public summary,.transparency-editor summary,.reader-changes summary { cursor: pointer; min-height: 44px; padding: 8px 0; overflow-wrap: anywhere; }
.transparency-public a { color: var(--accent); overflow-wrap: anywhere; }
.unknown-list { padding-left: 20px; }
.unknown-list li { padding: 10px 0; }
.unknown-list small { display: block; color: var(--muted); margin-top: 6px; }
.correction-diff { display: grid; gap: 8px; }
.correction-diff dt { color: var(--accent); font-weight: 700; }
.correction-diff dd { margin: 0 0 8px; overflow-wrap: anywhere; line-height: 1.6; }
.transparency-editor { margin-top: 20px; }
.transparency-editor form { display: grid; gap: 12px; margin: 14px 0; }
.transparency-editor textarea { min-height: 100px; }
/* 3.3.1: compact chronological source list, native disclosure without JS. */
.sources-explanation { color: var(--text-soft); font-size: .8rem; line-height: 1.5; margin: 8px 0 14px; }
.numbered-sources { padding-left: 26px; margin: 0; list-style: decimal; }
.numbered-sources > li { display: list-item; min-width: 0; padding-left: 2px; }
.numbered-sources > li::marker { color: var(--accent); font-weight: 800; }
.more-story-sources { margin-top: 14px; }
.more-story-sources > summary { cursor: pointer; padding: 14px; min-height: 44px; border: 1px solid rgba(54,242,214,.28); border-radius: 12px; color: var(--accent); background: rgba(34,205,164,.06); font-weight: 700; }
.more-story-sources > summary small { display: block; color: var(--text-soft); font-size: .75rem; font-weight: 400; margin-top: 6px; }
.more-story-sources .sources-hide { display: none; }
.more-story-sources[open] .sources-hide { display: inline; }
.more-story-sources[open] .sources-show { display: none; }
.more-story-sources[open] > ol { margin-top: 14px; }
/* 3.3: public reading layouts. Admin views deliberately retain their styling. */
.public-wrap :is(h1,h2,h3,p,.claim-copy,.public-source) { overflow-wrap: anywhere; }
.public-wrap :is(.lead-story-copy,.secondary-story-copy,.event-card-content,.story-detail-side) { min-width: 0; }
.lead-story-copy h2 { max-width: none; font-size: clamp(1.65rem,2.1vw,2.25rem); line-height: 1.16; }
.lead-story-copy p { display: block; overflow: visible; font-size: 1rem; line-height: 1.65; }
.lead-story-image { max-height: 290px; }
.newsroom-grid { align-items: start; }
.secondary-news-grid { min-height: 0; grid-template-rows: auto auto; }
.secondary-story-media { max-height: 160px; }
.secondary-story-copy { gap: 8px; }
.secondary-story-card { min-height: 0; }
.story-detail-main h1 { font-size: clamp(1.9rem,2.6vw,2.8rem); line-height: 1.13; letter-spacing: -.035em; }
.story-summary { font-size: 1.0625rem; line-height: 1.8; color: #c3d2df; }
.timeline-copy small { font-size: .78rem; line-height: 1.45; }
.timeline-copy strong { font-size: .875rem; }
.public-story-image img { max-height: 340px; width: 100%; object-fit: contain; }
.story-detail-main-stack > .public-story-image { background: #08131e; border-radius: 18px; overflow: hidden; }
.truth-status-bar { flex-wrap: wrap; row-gap: 8px; }
.signal-details { color: var(--text-soft); font-size: .8rem; }
.signal-details summary { cursor: pointer; padding: 6px 0; }
.signal-details[open] { padding-bottom: 6px; }
.filters-toggle,.claims-toggle { display: none; }
.citation-popover { transform: none; transition: opacity .15s ease; overflow-wrap: anywhere; padding-top: 48px; }
.citation-popover.is-open { transform: none; }
.citation-popover::after { display: none; }
.citation-close { position: absolute; right: 8px; top: 6px; min-width: 44px; min-height: 36px; border: 1px solid #35495c; border-radius: 9px; background: #122334; color: #eaf3fb; cursor: pointer; }
.citation-popover a { display: inline-flex; align-items: center; min-height: 44px; }
.citation-popover:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.public-wrap :is(button,a,summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (min-width: 1600px) {
    .public-wrap:has(.claim-graph-main) { width: min(1640px,calc(100% - 64px)); }
    .story-detail-shell:has(.claim-graph-main) { grid-template-columns: minmax(300px,.95fr) minmax(500px,1.7fr) minmax(280px,.9fr); gap: 24px; }
    .story-detail-shell:has(.claim-graph-main) .story-detail-main-stack { display: contents; }
    .story-detail-shell:has(.claim-graph-main) .story-detail-main-stack > * { grid-column: 2; }
    .story-detail-shell:has(.claim-graph-main) .story-detail-main-stack > .claim-graph-main { grid-column: 1; grid-row: 1 / span 12; }
    .story-detail-shell:has(.claim-graph-main) > .story-detail-side { grid-column: 3; grid-row: 1 / span 12; }
    .claim-graph-main .claim-graph-heading { flex-wrap: wrap; padding: 18px; }
    .claim-graph-main .public-claim { padding: 16px; }
}
@media (max-width: 1100px) {
    .story-detail-shell { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 720px) {
    .public-wrap { width: calc(100% - 24px); padding-top: 18px; }
    .newsroom-grid,.secondary-news-grid { grid-template-columns: minmax(0,1fr) !important; }
    .lead-story-card { display: flex; flex-direction: column; }
    .lead-story-copy { order: 0; padding: 18px; }
    .lead-story-copy h2 { font-size: 1.65rem; }
    .lead-story-image { aspect-ratio: 16/9; max-height: 230px; }
    .secondary-story-card { grid-template-columns: 110px minmax(0,1fr) !important; }
    .secondary-story-media { height: 100%; min-height: 120px; max-height: none; }
    .secondary-story-copy { padding: 12px; }
    .secondary-story-copy h3 { font-size: 1rem; line-height: 1.35; }
    .secondary-story-copy .category-meta-row { display: none; }
    .event-feed-grid .event-card { grid-template-columns: minmax(0,1fr); }
    .event-card-image { max-height: 210px; }
    .event-card-content { padding: 16px; }
    .frontpage-stats,.ticker-top { display: none; }
    .story-detail-main { padding: 18px; }
    .story-detail-main h1 { font-size: 1.9rem; }
    .story-summary { font-size: 1rem; line-height: 1.75; }
    .story-detail-main-stack { display: flex; flex-direction: column; gap: 16px; }
    .story-detail-main-stack > .story-article-card { order: -3; }
    .story-detail-main-stack > .claim-graph-main { order: -2; }
    .story-detail-main-stack > .public-story-image { order: -1; }
    .claim-graph-heading { flex-wrap: wrap; }
    .claim-copy,.claim-topline { min-width: 0; }
    .claim-topline { flex-wrap: wrap; }
    .claims-enhanced:not(.claims-expanded) .public-claim:nth-child(n+4) { display: none; }
    .claims-toggle { display: block; width: calc(100% - 32px); margin: 8px 16px 16px; min-height: 44px; }
    .filters-toggle { display: block; min-height: 44px; width: 100%; margin-bottom: 8px; }
    .filters-enhanced:not(.filters-expanded) .frontpage-search-row,
    .filters-enhanced:not(.filters-expanded) .filter-chips { display: none; }
    .sort-tabs { display: flex; flex-wrap: wrap; }
    .sort-tab,.filter-chip,.temperature-button,.details-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
    .citation-trigger,.claim-statement .citation-trigger { width: 44px; height: 44px; }
    .source-citation-group { flex-wrap: wrap; max-width: 100%; white-space: normal; }
    .citation-popover.citation-sheet { transform: none; padding-bottom: max(16px,env(safe-area-inset-bottom)); }
    .story-reader-actions small { display: none; }
    .lead-story-footer,.event-card-footer { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
    .citation-popover { transition: none; }
}
