.article-body {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 930px;
  padding: clamp(28px, 5vw, 58px);
}

.article-body h1 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  margin: 0 0 24px;
}

.article-body h2 {
  color: var(--green);
  font-size: 22px;
  margin: 38px 0 12px;
}

.article-body p,
.article-body li {
  font-size: 18px;
  line-height: 1.72;
}

.article-body p {
  margin: 0 0 19px;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
}

.intel-panel {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 22px;
}

.panel-section {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 16px;
}

.panel-section h2 {
  font-size: 14px;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.source-row,
.url-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  padding: 11px 0;
}

.source-row:first-child,
.url-row:first-child {
  border-top: 0;
}

.score-line {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.score-pill {
  background: #e8f1ed;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 7px;
}

.source-row a,
.url-row a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.source-row p,
.url-row p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.editor-dialog {
  border: 0;
  max-width: min(1180px, 96vw);
  padding: 0;
  width: 1180px;
}

.editor-dialog::backdrop {
  background: rgba(20, 28, 25, .55);
}

.editor-shell {
  background: var(--bg);
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  padding: 16px;
}

.editor-shell header {
  align-items: center;
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
}

.editor-shell header div {
  display: flex;
  gap: 8px;
}

#editorText {
  border: 1px solid var(--line);
  min-height: 70vh;
  padding: 16px;
  resize: vertical;
}

#editorPreview {
  box-shadow: none;
  max-height: 70vh;
  overflow: auto;
}

@media (max-width: 900px) {
  .editor-shell {
    grid-template-columns: 1fr;
  }
}
