/* T43 Editorial policy + corrections log - page layout only; visual tokens come from css/v2 */
.ed-hero .psb-hero__title--l { color: var(--text-display); }
.ed-updated { font-size: 12px; text-transform: uppercase; color: var(--ink-700); }
.ed-toc { list-style: none; margin: 0; padding: 0; gap: 8px; }
.ed-toc .psb-pill { padding: 6px 14px; font-size: 13px; }

.ed-principles { padding-block: 64px 32px; }
.ed-principles h2, .ed-log h2 { margin-bottom: 24px; }
.ed-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ed-cards .psb-box { gap: 10px; }
.ed-num { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--ink-900); border-radius: 50%; background: var(--butter-500); color: var(--ink-900); font: 400 18px/1 var(--font-display); }
.psb .ed-cards h3 { font: 700 var(--fs-h5)/1.35 var(--font-body); }
.ed-cards p { font-size: var(--fs-body-s); color: var(--text-secondary); }

.ed-never { padding-block: 24px; }
.ed-never__box { padding: 32px 36px; }
.ed-never__box .psb-overline { color: var(--butter-500); }
.ed-never__box h2 { color: var(--text-display); }
.ed-x { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 36px; }
.ed-x li { display: flex; gap: 12px; }
.ed-x li::before { content: "✕"; flex: none; font-weight: 700; color: var(--butter-500); }

.ed-log { padding-block: 40px 72px; }
.ed-log .psb-sechead { margin-bottom: 18px; }
.ed-log .psb-sechead h2 { margin-bottom: 0; }
.ed-filter { margin-bottom: 16px; }
.ed-filter .psb-pill { padding: 6px 14px; font-size: 13px; }
.ed-log__table tbody th a { color: var(--text-primary); }
@media (min-width: 701px) { .ed-log__table td { white-space: normal; } }
.ed-type { display: inline-block; padding: 3px 10px; border: 1.5px solid var(--ink-900); border-radius: var(--radius-pill); font: 700 12px/1.3 var(--font-body); color: var(--ink-900); }
.ed-type--factual { background: var(--sky-100); }
.ed-type--safety { background: var(--tomato-100); color: var(--tomato-600); }
.ed-type--update { background: var(--pine-100); }
.ed-type--clarity { background: var(--butter-100); }
.ed-log .psb-note { margin-top: 12px; }

.ed-team__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.ed-team__side { display: flex; align-items: center; gap: 20px; }
.ed-avatars { display: flex; }
.ed-avatars span { display: grid; place-items: center; width: 48px; height: 48px; margin-left: -10px; border: 2px solid var(--ink-900); border-radius: 50%; background: var(--media-bg, var(--cream-0)); color: var(--ink-900); font: 700 14px/1 var(--font-body); }
.ed-avatars span:first-child { margin-left: 0; }

@media (max-width: 1100px) { .ed-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
    .ed-principles { padding-top: 40px; }
    .ed-cards { grid-template-columns: 1fr; }
    .ed-never__box { padding: 22px; }
    .ed-x { grid-template-columns: 1fr; }
    /* corrections table becomes cards */
    .ed-log__table { border: 0; background: none; overflow: visible; }
    .ed-log__table .psb-table { min-width: 0; }
    .ed-log__table thead { position: absolute; left: -9999px; }
    .ed-log__table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin-bottom: 10px; padding: 12px 14px; border: var(--stroke); border-radius: 14px; background: var(--bg-surface); }
    .ed-log__table tr[hidden] { display: none; }
    .ed-log__table tbody th, .ed-log__table td { padding: 0; border: 0; background: none !important; white-space: normal !important; }
    .ed-log__table td:first-child { font-size: 11px; color: var(--text-muted); }
    .ed-log__table td:last-child { grid-column: 2; grid-row: 1; }
    .ed-log__table tbody th, .ed-log__table td:nth-child(3) { grid-column: 1 / -1; }
    .ed-team__side { width: 100%; justify-content: space-between; }
}
