/* Administration → Newsroom (Pages/Admin/Newsroom/*); shares the aic-* look of AI contributors (ai-finder.css) */
.nwr-team-faces { display: flex; }
.nwr-team-faces > span + span { margin-left: -6px; }
.nwr-team-faces .aic-avatar { box-shadow: 0 0 0 2px var(--aic-card); }

/* Review desk */
.nwr-desk { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 1rem; padding-top: 0.75rem; align-items: start; }
.nwr-list { display: flex; flex-direction: column; gap: 0.5rem; position: sticky; top: 0.5rem; max-height: calc(100vh - 6rem); overflow-y: auto; }
.nwr-list__filters { padding-bottom: 0.25rem; }
.nwr-list__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.nwr-item { display: flex; gap: 0.6rem; align-items: flex-start; width: 100%; text-align: left; border: 1px solid var(--aic-line); border-radius: 8px; background: var(--aic-card); padding: 0.55rem 0.65rem; cursor: pointer; font: inherit; color: inherit; }
.nwr-item:hover { border-color: #AEB8C4; }
.nwr-item--on { border-color: var(--aic-sel-line); background: var(--aic-sel); }
.nwr-item:focus-visible { outline: 2px solid var(--rz-primary); outline-offset: 1px; }
.nwr-item__text { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.nwr-item__title { font-weight: 600; font-size: 0.88rem; line-height: 1.3; }
.nwr-item__meta { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; font-size: 0.74rem; color: var(--aic-muted); }
.nwr-score { font-size: 0.72rem; font-weight: 700; padding: 0 0.35rem; border-radius: 4px; background: #EEF1F4; color: #2B3440; }

.nwr-state--ready { border-color: #7CC4A0; background: #E6F6EE; color: #14532D; }
.nwr-state--needs-work { border-color: #EBB75B; background: #FFF4DE; color: #7A4B00; }
.nwr-state--writing, .nwr-state--editing { border-color: #8AB8EA; background: #E8F1FC; color: #1E3A8A; }
.nwr-state--published { border-color: #B9A2E6; background: #F2ECFD; color: #4C1D95; }
.nwr-state--rejected, .nwr-state--failed { border-color: #E9A1A1; background: #FDECEC; color: #8B1A1A; }

.nwr-detail { display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.nwr-detail__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; flex-wrap: wrap; }
.nwr-byline { display: flex; gap: 0.6rem; align-items: center; }
.nwr-byline h2 { margin: 0; font-size: 1rem; }
.nwr-topic { margin: 0; }

.nwr-preview { border: 1px solid var(--aic-line); border-radius: 10px; background: var(--aic-card); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; max-width: 820px; }
.nwr-preview__title { margin: 0; font-size: 1.6rem; line-height: 1.2; }
.nwr-preview__summary { margin: 0; font-size: 1.05rem; color: var(--aic-muted); }
.nwr-preview__cover { margin: 0.25rem 0; }
.nwr-preview__cover img { width: 100%; max-height: 340px; object-fit: cover; border-radius: 8px; display: block; background: #E9EDF2; }
.nwr-preview__cover figcaption { font-size: 0.72rem; color: var(--aic-muted); margin-top: 0.25rem; }
.nwr-preview .news-body { font-size: 0.98rem; }
.nwr-preview .news-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rz-primary); }
.nwr-edit { max-width: 820px; }

.nwr-reviews { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; max-width: 820px; }
.nwr-review { display: flex; gap: 0.6rem; align-items: flex-start; border: 1px solid var(--aic-line); border-left-width: 4px; border-radius: 8px; padding: 0.6rem 0.75rem; background: var(--aic-card); }
.nwr-review--approve { border-left-color: #2F9E6A; }
.nwr-review--revise { border-left-color: #D99A1E; }
.nwr-review--reject { border-left-color: #C24141; }
.nwr-review__head { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.nwr-review__notes { margin: 0.35rem 0 0; font-style: italic; font-size: 0.9rem; }
.nwr-review__fix { margin: 0.35rem 0 0; padding-left: 1.2rem; font-size: 0.85rem; }
.nwr-review__person { width: 30px; height: 30px; border-radius: 999px; background: #EEF1F4; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex: 0 0 30px; }
.nwr-verdict--approve { border-color: #7CC4A0; background: #E6F6EE; color: #14532D; }
.nwr-verdict--revise { border-color: #EBB75B; background: #FFF4DE; color: #7A4B00; }
.nwr-verdict--reject { border-color: #E9A1A1; background: #FDECEC; color: #8B1A1A; }

.nwr-sources { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.86rem; max-width: 820px; overflow-wrap: anywhere; }
.nwr-sources__quote { display: block; color: var(--aic-muted); font-size: 0.8rem; margin-top: 0.1rem; }
.nwr-decide { max-width: 820px; }
.nwr-decide h3 { margin: 0; font-size: 1rem; }
.aic-trace__facts { font-size: 0.78rem; color: var(--aic-muted); }
.nwr-detail .aic-trace { margin: 0; max-width: 820px; }

/* Published */
.nwr-published { padding-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.nwr-pub { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.nwr-pub__item { flex-direction: row; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.nwr-pub__thumb { width: 72px; height: 48px; object-fit: cover; border-radius: 6px; background: #E9EDF2; flex: 0 0 72px; }
.nwr-pub__thumb--none { display: inline-flex; align-items: center; justify-content: center; color: #9AA6B2; }
.nwr-pub__text { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; min-width: 12rem; }
.nwr-pub__title { font-weight: 600; color: inherit; text-decoration: none; }
.nwr-pub__title:hover { color: var(--rz-primary); text-decoration: underline; }

/* New stories */
.nwr-assign { padding-top: 0.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.nwr-assign__cards { gap: 1rem; align-items: start; }
.nwr-assign h2 { margin: 0; font-size: 1.05rem; }
.nwr-topic-row { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.25rem; }
.nwr-jobs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }

/* Team */
.nwr-team { padding-top: 0.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.nwr-team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; align-items: start; }
.nwr-persona h2 { margin: 0; font-size: 1.05rem; }
.nwr-persona p { margin: 0; }
.nwr-persona__voice { color: var(--aic-muted); font-style: italic; }
.nwr-persona--off { opacity: 0.6; }
.nwr-persona .rz-form-field { width: 100%; }

/* Settings */
.nwr-settings { padding-top: 0.75rem; display: flex; flex-direction: column; gap: 1rem; max-width: 980px; }
.nwr-settings h2 { margin: 0; font-size: 1.05rem; }
.nwr-feeds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.nwr-feeds li { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.nwr-feeds__test { flex-basis: 100%; font-size: 0.78rem; padding-left: 2rem; }
.nwr-feeds__test--ok { color: #14532D; }
.nwr-feeds__test--bad { color: #8B1A1A; }
.nwr-settings__nums { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.nwr-settings__nums .rz-form-field { width: 11rem; }

/* Channels */
.nwr-channels { padding-top: 0.75rem; display: flex; flex-direction: column; gap: 1rem; }
.nwr-channels h2 { margin: 0; font-size: 1.05rem; }
.nwr-channel-add { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.nwr-channel-list, .nwr-videos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.nwr-channel { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap; border-top: 1px solid var(--aic-line); padding-top: 0.5rem; }
.nwr-channel__name { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; min-width: 0; }
.nwr-channel__name .rzi { color: #C4302B; }
.nwr-video { display: flex; gap: 0.75rem; align-items: flex-start; border-top: 1px solid var(--aic-line); padding-top: 0.5rem; flex-wrap: wrap; }
.nwr-video__thumb img { width: 128px; height: 72px; object-fit: cover; border-radius: 6px; display: block; background: #E9EDF2; }
.nwr-video__text { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; min-width: 14rem; }
.nwr-video__title { font-weight: 600; color: inherit; text-decoration: none; }
.nwr-video__title:hover { text-decoration: underline; }
.nwr-video--new, .nwr-video--writing { border-color: #8AB8EA; background: #E8F1FC; color: #1E3A8A; }
.nwr-video--written { border-color: #7CC4A0; background: #E6F6EE; color: #14532D; }
.nwr-video--failed { border-color: #E9A1A1; background: #FDECEC; color: #8B1A1A; }
.nwr-transcript { white-space: pre-wrap; max-height: 18rem; overflow-y: auto; font-size: 0.78rem; background: var(--rz-base-100, #F1F4F8); border-radius: 6px; padding: 0.5rem 0.75rem; margin: 0.35rem 0 0; }
.nwr-origin { display: flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; margin: 0; font-size: 0.86rem; }
.nwr-origin .rzi { color: #C4302B; font-size: 1.1rem; }

@media (max-width: 900px) {
    .nwr-desk { grid-template-columns: 1fr; }
    .nwr-list { position: static; max-height: 22rem; }
    .nwr-preview { padding: 1rem; }
}
.nwr-channel__edit { flex-basis: 100%; }

/* Languages (TranslationPanel.razor) */
.nwr-lang--ok { background: #E6F6EE; color: #14532D; }
.nwr-lang--warn { background: #FFF4DE; color: #7A4B00; }
.nwr-view { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }
.nwr-tr__head { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.nwr-tr--ready { border-color: #7CC4A0; background: #E6F6EE; color: #14532D; }
.nwr-tr--needs-work { border-color: #EBB75B; background: #FFF4DE; color: #7A4B00; }
.nwr-tr--translating { border-color: #8AB8EA; background: #E8F1FC; color: #1E3A8A; }
.nwr-tr--failed { border-color: #E9A1A1; background: #FDECEC; color: #8B1A1A; }
.nwr-tr__pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
.nwr-tr__pair:has(.nwr-tr__original) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .nwr-tr__pair:has(.nwr-tr__original) { grid-template-columns: 1fr; } }
.nwr-tr__original { background: var(--rz-base-100, #F6F8FA); }
.nwr-tr__center { justify-content: center; margin-top: 0.75rem; }

/* Compare versions (DraftChanges.razor) */
.nwr-view { margin-bottom: -0.25rem; }
.nwr-view .aic-chip[disabled] { opacity: 0.5; cursor: default; }
.nwr-diff { display: flex; flex-direction: column; gap: 0.75rem; max-width: 820px; }
.nwr-diff__pick { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: flex-end; }
.nwr-diff__pick label { display: flex; flex-direction: column; gap: 0.15rem; }
.nwr-diff__pick select { font: inherit; font-size: 0.85rem; padding: 0.3rem 0.4rem; border: 1px solid var(--aic-line); border-radius: 6px; background: var(--aic-card); color: inherit; max-width: 20rem; }
.nwr-diff__pick > .rzi { color: var(--aic-muted); padding-bottom: 0.35rem; }
.nwr-diff__sum { display: flex; gap: 0.6rem; font-size: 0.85rem; padding-bottom: 0.35rem; }
.nwr-diff__add { color: #14532D; font-weight: 600; }
.nwr-diff__del { color: #8B1A1A; font-weight: 600; }
.nwr-diff__asked { border: 1px solid #EBB75B; background: #FFF7E6; border-radius: 8px; padding: 0.6rem 0.8rem; font-size: 0.88rem; }
.nwr-diff__asked ul { margin: 0.2rem 0 0.4rem; padding-left: 1.2rem; }
.nwr-diff__doc { border: 1px solid var(--aic-line); border-radius: 10px; background: var(--aic-card); padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.nwr-diff__field { display: flex; flex-direction: column; gap: 0.2rem; }
.nwr-diff__field .nwr-preview__title { font-size: 1.35rem; }
.nwr-diff__block { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.3rem; padding: 0.3rem 0.4rem; border-radius: 6px; line-height: 1.6; font-size: 0.95rem; }
.nwr-diff__block--heading { font-weight: 700; }
.nwr-diff__block--added { background: #ECF8F1; }
.nwr-diff__block--removed { background: #FDF0F0; }
.nwr-diff__block--changed { background: #F6F8FB; }
.nwr-diff__mark { font-weight: 700; color: var(--aic-muted); text-align: center; }
.nwr-diff__block--added .nwr-diff__mark { color: #14532D; }
.nwr-diff__block--removed .nwr-diff__mark { color: #8B1A1A; }
.nwr-diff__ins { background: #CFF0DC; color: #0F3D22; text-decoration: underline; text-decoration-color: #2F9E6A; text-underline-offset: 2px; border-radius: 2px; }
.nwr-diff__del-text { background: #F9D7D7; color: #7A1616; text-decoration: line-through; border-radius: 2px; }
.nwr-diff__fold { font-size: 0.8rem; color: var(--aic-muted); padding: 0.1rem 0 0.1rem 1.8rem; font-style: italic; }
.nwr-car-x { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 1rem; line-height: 1; padding: 0 0.15rem; margin-left: 0.2rem; }
.nwr-car-x:hover { color: var(--rz-danger, #C62828); }
