/* quotes-section-layout.css — wave302 (2026-10-31): Quote Overhaul
 * D6. The editor's section-description block (quotes-section-layout.js,
 * drawn at the top of a description-first category, above the
 * working lines) and the client document's description-first layer
 * (quotes-customize.js's summary rows, shared by the paper preview
 * and the PDF's content): the section description as the reading
 * layer, the working lines quieter beneath it. Loaded beside the
 * quotes styles; every rule is additive — full-detail documents
 * carry none of these classes' effects. */

/* ---- the editor (staff) ---- */
.qsl-cat-desc-row { margin: 0 16px 0 52px; padding-bottom: 8px; }
.qsl-cat-desc-view {
  margin: 0 16px 8px 52px; padding: 8px 12px;
  border-left: 3px solid var(--q-line); background: var(--q-tint);
  border-radius: 0 8px 8px 0;
  font-size: var(--q-fs-sm); line-height: 1.55; color: var(--q-ink);
  white-space: pre-wrap;
}
.qsl-cat-desc-edit { margin: 6px 16px 10px 52px; padding: 12px 14px; border: 1px solid var(--q-line); border-radius: 10px; background: var(--q-tint); }
.qsl-cat-desc-edit .qm-field { display: block; }
.qsl-cat-desc-edit textarea {
  width: 100%; box-sizing: border-box; margin-top: 6px; padding: 8px 10px;
  border: 1px solid var(--q-line); border-radius: var(--q-r-sm);
  font: inherit; font-size: var(--q-fs-sm); line-height: 1.5;
  background: var(--q-card); resize: vertical;
}
.quote-cat.collapsed .qsl-cat-desc-row,
.quote-cat.collapsed .qsl-cat-desc-view,
.quote-cat.collapsed .qsl-cat-desc-edit { display: none; }

/* ---- the client document ---- */
.qcd-catdesc { display: block; white-space: pre-wrap; font-size: 12.5px; line-height: 1.55; color: var(--qd-ink, var(--q-ink)); font-weight: 400; }
.qcd-row-catdesc td { border-bottom: 0; padding-top: 2px; padding-bottom: 8px; }
.qcd-row-catdesc td:first-child { padding-left: 20px; }
/* The working lines beneath a description: same figures, drawn as
 * the secondary layer — lighter title, one step smaller. */
.qcd-row-line.is-working td { font-size: 12.4px; }
.qcd-row-line.is-working td:first-child { font-weight: 400; color: var(--qd-muted); }
.qcd-row-line.is-working td.q-n:last-child { color: var(--qd-ink, var(--q-ink)); }
