/* The embedded web article belongs to the newsroom terminal, not the reader UI. */
.web-news { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-strong); scroll-margin-top: 96px; }
.web-news-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.web-news-header h2 { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -.5px; }
.web-news-header p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.web-news-status { flex-shrink: 0; margin-top: 7px; color: var(--muted); font-size: 12px; }
.web-news-status[data-state=queued], .web-news-status[data-state=calling], .web-news-status[data-state=generated], .web-news-status[data-state=needs_review] { color: var(--amber); }
.web-news-status[data-state=failed] { color: var(--red); }
.web-news-status[data-state=delivered], .web-news-status[data-state=ready] { color: var(--green); }
.web-news-notice { font-size: 13px; overflow-wrap: anywhere; margin: -8px 0 24px; max-width: 760px; }
.web-news-layout { display: grid; grid-template-columns: minmax(170px, 240px) minmax(0, 1fr); gap: 32px; align-items: start; }
.web-news-media { min-width: 0; }
.web-news-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.web-news-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.web-news-image img[hidden] { display: none; }
.web-news-image-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--ash); font-size: 12px; }
.web-news-image-empty[hidden] { display: none; }
.web-news-file { position: relative; margin: 16px 0 0; font-size: 12px; }
.web-news-file input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.web-news-file:focus-within { outline: 2px solid var(--fg); outline-offset: 3px; }
.web-news-file:has(input:disabled) { opacity: .4; cursor: not-allowed; }
.web-news-media-help, .web-news-selected { margin: 8px 0 12px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.web-news-selected { color: var(--body); }
.web-news-upload-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.web-news-upload-actions button { min-height: 36px; font-size: 12px; }
.web-news-preview { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.web-news-category { display: block; color: var(--muted); font-size: 11px; margin: 0 0 8px; }
.web-news-title { font-size: clamp(24px, 2.4vw, 34px); font-family: var(--serif); font-weight: 400; line-height: 1.17; letter-spacing: -.4px; margin: 0 0 24px; overflow-wrap: anywhere; }
.web-news-copy { max-width: 760px; }
.web-news-prose { color: var(--body); font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.web-news-prose p { margin: 0 0 18px; }
.web-news-prose h4 { margin: 28px 0 10px; font-size: 16px; line-height: 1.5; font-weight: 600; }
.web-news-prose blockquote { margin: 20px 0; padding-left: 20px; border-left: 2px solid var(--line-strong); }
.web-news-prose cite { font-size: 12px; color: var(--muted); }
.web-news-empty { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.web-news-empty p { margin: 0 0 6px; font-size: 14px; }
.web-news-empty span { color: var(--muted); font-size: 12px; }
.web-news-candidate { margin-top: 32px; padding: 24px; border: 1px solid var(--line-strong); background: var(--panel); border-radius: var(--radius); }
.web-news-candidate-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.web-news-candidate-heading h3 { margin: 0; font-size: 14px; }
.web-news-candidate-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.web-news-notes { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: 13px; }
.web-news-notes summary { display: flex; align-items: center; gap: 10px; cursor: pointer; color: var(--body); min-height: 32px; }
.web-news-notes summary span { color: var(--muted); font-family: var(--mono); font-size: 10px; }
.web-news-notes h4 { margin: 18px 0 8px; font-size: 12px; }
.web-news-notes ul { padding-left: 20px; margin: 8px 0; }
.web-news-notes li { margin: 6px 0; overflow-wrap: anywhere; }
.web-news-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.web-news-actions > span, .web-news-footnote { font-size: 11px; color: var(--muted); }
.web-news-footnote { margin: 18px 0 0; }
.web-news-feedback { border: 1px solid var(--line-strong); padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 12px; color: var(--body); }
.web-news-feedback p { margin: 0; }
.web-news-feedback-actions { display: flex; align-items: center; flex-wrap: wrap; column-gap: 18px; margin-top: 4px; }
.web-news-feedback-actions .link { font-size: 12px; }
.web-news [hidden] { display: none !important; }
@media (max-width: 700px) {
  .web-news { margin-top: 32px; padding-top: 24px; }
  .web-news-header { gap: 16px; }
  .web-news-header h2 { font-size: 29px; }
  .web-news-status { max-width: 130px; text-align: right; }
  .web-news-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .web-news-media { max-width: 400px; width: 100%; }
  .web-news-file input { font-size: 16px; }
  .web-news-prose { font-size: 15px; line-height: 1.8; }
  .web-news-candidate { padding: 20px; }
  .web-news-candidate-heading { flex-direction: column; gap: 16px; }
  .web-news button, .web-news-file { min-height: 44px; }
}
