/*
 * OfficePress request composer and shared pickers (stylesheet slot 12, after queues.css and the record sheet, before account).
 * Only --op-* and the remapped --wf-* tokens appear here. The preview does not draw the composer, so the look is the
 * preview's own: 12px panels with a border and no shadow, a toolbar-toned action footer, 8px fields and rows, 16px/20px
 * headings, accent text only for the state that is selected. Layout and organization are the r005 ones.
 *
 *   .page--composer            request starting point and form (request.tsx marks the page); layout and header rules
 *   participant, reference,    component rules with no page prefix, because the template screens reuse the same
 *   upload and picker rules    picker and reference editor
 *
 * Selected, invalid, busy and failed never rely on colour alone: the current step has a bar and aria-current, a chosen
 * person has a bar and a check, an invalid field has a heavier outline and an error line with a glyph, a failed upload
 * has a cross badge and a bar, and a busy form shows a moving line and the wait cursor.
 * r005/composer.css loads after this sheet; the rules it sets (card widths, file link underline) are left as they are and
 * nothing here needs to beat them.
 */

/* ---------- Page frame ---------- */

.page--composer { container: composer / inline-size; }

.page--composer .page-header { gap: var(--op-space-4); margin-bottom: var(--op-space-5); }
.page--composer .page-title { margin: 0 0 var(--op-space-1); font: var(--op-text-heading); color: var(--op-text); overflow-wrap: anywhere; }
.page--composer .page-subtitle { max-width: 80ch; color: var(--op-text-2); font: var(--op-text-small); }
.page--composer .page-actions { flex: none; flex-wrap: wrap; justify-content: flex-end; }
.page--composer .wf-kicker { margin-bottom: var(--op-space-1); color: var(--op-text-2); font: var(--op-text-caption); font-weight: 700; }

/* The title and its actions stack when the page is too narrow to share a row (r005 does this by viewport width). */
@container composer (max-width: 639px) {
  .page--composer .page-header { align-items: stretch; flex-direction: column; margin-bottom: var(--op-space-4); }
  .page--composer .page-actions { width: 100%; justify-content: flex-start; }
  .page--composer .page-actions .button { flex: 1 1 auto; }
}

.page--composer .back-link { display: inline-flex; align-items: center; gap: var(--op-space-1); min-height: 28px; margin-bottom: var(--op-space-1); font-weight: 600; text-decoration: none; }
@media (hover: hover) { .page--composer .back-link:hover { color: var(--op-text); text-decoration: underline; } }

/* ---------- Starting point ---------- */

.page--composer .toolbar { gap: var(--op-space-3); margin-bottom: var(--op-space-4); }
.page--composer .toolbar .result-count { color: var(--op-text-2); font-size: var(--wf-text-sm); }

.page--composer .blank-card {
  margin-bottom: var(--op-space-4);
  padding: var(--op-space-4) var(--op-space-5);
  border: 1px dashed var(--op-border-strong);
  border-radius: var(--op-radius-12);
  background: var(--op-surface);
}
.page--composer .blank-card h2 { margin: 0; font: var(--op-text-title); color: var(--op-text); }
.page--composer .blank-card .wf-copy { color: var(--op-text-2); font: var(--op-text-small); }

/* The icon tile: the file and template glyphs sit on a tonal square. */
.page--composer .template-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--op-radius-8);
  background: var(--op-tint);
  color: var(--op-accent-ink);
}

.page--composer .template-grid { gap: var(--op-space-4); }
.page--composer .template-card {
  min-height: 96px;
  padding: var(--op-space-4);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-12);
  background: var(--op-surface);
  color: var(--op-text);
  font: inherit;
  transition-property: border-color, background-color;
  transition-duration: var(--op-dur-fast);
}
.page--composer .template-card > div { min-width: 0; }
.page--composer .template-card h3 { margin: 0 0 var(--op-space-1); font: var(--op-text-title); color: var(--op-text); overflow-wrap: anywhere; }
.page--composer .template-card p { color: var(--op-text-2); font: var(--op-text-small); overflow-wrap: anywhere; }
@media (hover: hover) {
  .page--composer .template-card:hover { border-color: var(--op-text-2); background: var(--op-sunken); }
}

/* Creating from a template: the section is busy, so cards wait and a moving line says so. */
.page--composer .catalog-main { position: relative; }
.page--composer .catalog-main[aria-busy="true"] { cursor: progress; }
.page--composer .catalog-main[aria-busy="true"] .template-card,
.page--composer .catalog-main[aria-busy="true"] .blank-card .button { opacity: 0.6; pointer-events: none; }
.page--composer .catalog-main[aria-busy="true"]::before,
.page--composer .editor-layout[aria-busy="true"] .form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: var(--op-radius-full);
  background: linear-gradient(90deg, transparent, var(--op-accent-strong), transparent) 0 0 / 40% 100% no-repeat, var(--op-tint-2);
  animation: op-composer-busy 1200ms var(--op-ease) infinite;
}
@keyframes op-composer-busy { from { background-position: -40% 0, 0 0; } to { background-position: 140% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .page--composer .catalog-main[aria-busy="true"]::before,
  .page--composer .editor-layout[aria-busy="true"] .form-card::before { background: var(--op-accent-strong); }
}

.page--composer .empty-state.surface { border-radius: var(--op-radius-12); background: var(--op-surface); }

.composer-pager { gap: var(--op-space-3); }
.composer-pager .result-count { color: var(--op-text-2); font-size: var(--wf-text-sm); }

/* ---------- Form layout ---------- */

/* Three columns (steps, form, summary) need about 1060px of page; two need 900px; below that one column. */
.page--composer .editor-layout { grid-template-columns: 200px minmax(0, 1fr) 280px; gap: var(--op-space-5); }
.page--composer .editor-layout[aria-busy="true"] { cursor: progress; }
.page--composer .editor-layout[aria-busy="true"] > * { opacity: 0.72; }

@container composer (max-width: 1059px) {
  .page--composer .editor-layout { grid-template-columns: 190px minmax(0, 1fr); }
  .page--composer .summary-aside { grid-column: 2; position: static; }
}

@container composer (max-width: 899px) {
  .page--composer .editor-layout { grid-template-columns: minmax(0, 1fr); }
  .page--composer .summary-aside { grid-column: 1; }
  .page--composer .step-nav { display: flex; position: static; gap: var(--op-space-1); overflow-x: auto; padding-bottom: var(--op-space-1); }
  .page--composer .step-button { flex: 0 0 auto; }
}

/* ---------- Steps ---------- */

.page--composer .step-nav { gap: var(--op-space-1); }
.page--composer .step-button {
  position: relative;
  min-height: 44px;
  padding: 0 var(--op-space-3);
  border-radius: var(--op-radius-8);
  color: var(--op-text-2);
  font-weight: 600;
  text-decoration: none;
}
.page--composer .step-button > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.page--composer .step-button.is-complete { color: var(--op-text); }
.page--composer .step-button.is-active { background: var(--op-selection-bg); color: var(--op-text); font-weight: 700; }
.page--composer .step-button.is-active::before {
  content: "";
  position: absolute;
  inset: var(--op-space-2) auto var(--op-space-2) 0;
  width: 4px;
  border-radius: 0 var(--op-radius-4) var(--op-radius-4) 0;
  background: var(--op-accent-strong);
}
@media (hover: hover) {
  .page--composer .step-button:hover { background: var(--op-sunken); color: var(--op-text); }
  .page--composer .step-button.is-active:hover { background: var(--op-selection-bg); }
}

.page--composer .step-number {
  width: 24px;
  height: 24px;
  flex: none;
  border: 1.5px solid var(--op-control-border);
  background: var(--op-surface);
  color: var(--op-text);
  font-size: var(--wf-text-xs);
  font-weight: 700;
}
.page--composer .step-number .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.page--composer .step-button.is-complete .step-number { border-color: var(--op-accent-strong); background: var(--op-accent-strong); color: var(--op-on-accent); }
.page--composer .step-button.is-active .step-number { border-color: var(--op-accent-strong); color: var(--op-accent-ink); }

/* In a narrow page only the current step keeps its label; the others stay numbered, named for assistive technology. */
@container composer (max-width: 639px) {
  .page--composer .step-nav { gap: var(--op-space-1); overflow: visible; }
  .page--composer .step-button { min-width: 44px; justify-content: center; padding: 0 10px; }
  .page--composer .step-button:not(.is-active):not(:hover) > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .page--composer .step-button.is-active { flex: 1 1 auto; justify-content: flex-start; padding-left: var(--op-space-3); }
}

/* ---------- Form panel ---------- */

.page--composer .form-card { position: relative; border: 1px solid var(--op-border); border-radius: var(--op-radius-12); background: var(--op-surface); }
.page--composer .editor-layout[aria-busy="true"] .form-card::before { z-index: 3; border-radius: var(--op-radius-12) var(--op-radius-12) 0 0; }

.page--composer .form-section { padding: var(--op-space-6); }
.page--composer .form-section > h2 { margin: 0 0 var(--op-space-1); font: var(--op-text-title); color: var(--op-text); }
.page--composer .form-section > h2:focus-visible { outline-offset: var(--op-space-1); border-radius: var(--op-radius-4); }
.page--composer .form-section > p { margin: 0 0 var(--op-space-4); color: var(--op-text-2); font: var(--op-text-small); }
.page--composer .form-grid { gap: var(--op-space-5); }
.page--composer .field-row { gap: var(--op-space-4); }
.page--composer .field > .button { justify-self: start; }
.page--composer .form-section > .notice,
.page--composer .form-grid > .notice { margin: 0; }
.page--composer .form-section > .notice:not(:last-child) { margin-bottom: var(--op-space-4); }
.page--composer .form-section > .error { margin-top: var(--op-space-3); }
.page--composer .form-section .participant-list + p { margin-top: var(--op-space-4); }
.page--composer .form-section > .notice:last-child { margin-top: var(--op-space-4); }

/* A locked (template-controlled) field keeps its value readable. */
.page--composer .input:disabled,
.page--composer .select:disabled,
.page--composer .textarea:disabled { opacity: 1; -webkit-text-fill-color: var(--op-text-2); }

/* Action footer: stays reachable while a long step scrolls. */
.page--composer .form-actions {
  position: sticky;
  z-index: 2;
  bottom: 0;
  padding: var(--op-space-3) var(--op-space-6);
  border-top: 1px solid var(--op-border);
  border-radius: 0 0 var(--op-radius-12) var(--op-radius-12);
  background: var(--op-toolbar);
}
.page--composer :is(input, select, textarea, a, button) { scroll-margin-bottom: 96px; }

@media (max-width: 699px) {
  .page--composer .form-section { padding: var(--op-space-5) var(--op-space-4); }
  .page--composer .form-actions { padding: var(--op-space-3) var(--op-space-4); }
}

/* One row of actions on a phone, wrapping only when the row cannot hold them. */
@media (max-width: 440px) {
  .page--composer .form-actions { align-items: center; flex-flow: row wrap; gap: var(--op-space-2); }
  .page--composer .form-actions > div { display: flex; flex: 1 1 auto; flex-wrap: wrap; justify-content: flex-end; }
  .page--composer .form-actions .button { width: auto; flex: 0 1 auto; }
}

/* ---------- Summary ---------- */

.page--composer .summary-aside { padding: var(--op-space-5); border: 1px solid var(--op-border); border-radius: var(--op-radius-12); background: var(--op-surface); }
.page--composer .summary-aside h2 { margin: 0 0 var(--op-space-3); font: var(--op-text-title); color: var(--op-text); }
.page--composer .summary-list { gap: var(--op-space-3); }
.page--composer .summary-list div { padding-bottom: var(--op-space-3); border-bottom-color: var(--op-border); }
.page--composer .summary-list dt { color: var(--op-text-2); }
.page--composer .summary-list dd { color: var(--op-text); font-weight: 700; overflow-wrap: anywhere; }
.page--composer .summary-aside .help { margin-top: var(--op-space-3); }

/* ---------- Notices ---------- */

/* Failures carry a bar as well as the danger outline; recovery notices keep the tonal info look. */
.page--composer .notice { margin-bottom: var(--op-space-4); }
.page--composer .notice[role="alert"] { box-shadow: inset 4px 0 0 var(--op-danger); }
.page--composer .notice .wf-muted { color: var(--op-text-2); }
.page--composer .notice p + p { margin-top: var(--op-space-1); }
.page--composer .notice > div { min-width: 0; }
.composer-actions { gap: var(--op-space-2); }

/* A rule that has no control beside it (the fixed rejection policy) reads as a quiet panel, not a card. */
.page--composer .form-grid > .surface.surface-body {
  padding: var(--op-space-4);
  border-radius: var(--op-radius-8);
  background: var(--op-sunken);
}
.page--composer .form-grid > .surface.surface-body p.help { margin: 0; }
.page--composer .form-grid > .surface.surface-body .wf-copy { margin-top: var(--op-space-2); color: var(--op-text-2); }

/* ---------- Tags ---------- */

.chip-list { gap: var(--op-space-2); }
.chip { min-height: 28px; padding: 0 var(--op-space-1) 0 var(--op-space-3); gap: var(--op-space-1); border-radius: var(--op-radius-full); font-size: var(--wf-text-sm); font-weight: 600; }
.chip .button--small.button--icon { width: 24px; height: 24px; min-height: 24px; border-radius: var(--op-radius-full); }
.chip .button .icon { width: 14px; height: 14px; }

/* ---------- Reference rows (shared with the template editor) ---------- */

.reference-list { gap: var(--op-space-3); }
.reference-row { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr) var(--op-input-h); gap: var(--op-space-2); align-items: start; }
.reference-list > .error { margin-top: calc(var(--op-space-1) * -1); }
@media (max-width: 700px) {
  .reference-row { grid-template-columns: minmax(0, 1fr) var(--op-input-h); }
  .reference-row .button { grid-row: 2; }
}

/* ---------- Evidence files ---------- */

.file-list { gap: var(--op-space-2); }
.file-row {
  position: relative;
  align-items: center;
  gap: var(--op-space-3);
  padding: var(--op-space-3) var(--op-space-4);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-8);
  background: var(--op-surface);
  overflow: hidden;
}
.file-row > [data-icon]:first-child { color: var(--op-text-2); }
.file-row { flex-wrap: wrap; }
.file-row > :nth-child(2) { flex: 1 1 160px; min-width: 0; overflow-wrap: anywhere; }
.file-row strong { color: var(--op-text); font-weight: 700; }
.file-row small { color: var(--op-text-2); font-size: var(--wf-text-xs); }
.file-row .badge { flex: none; }
.file-row .button { flex: none; }

/* In flight: a moving line under the row; the state text and badge say the same in words. */
.file-row[data-state="queued"]::after,
.file-row[data-state="uploading"]::after,
.file-row[data-state="processing"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--op-accent-strong), transparent) 0 0 / 40% 100% no-repeat, var(--op-tint-2);
  animation: op-composer-busy 1200ms var(--op-ease) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .file-row[data-state="queued"]::after,
  .file-row[data-state="uploading"]::after,
  .file-row[data-state="processing"]::after { background: var(--op-accent-strong); }
}

/* Failed: danger outline and a bar on the edge; the cross badge, message and Retry button carry the meaning. */
.file-row[data-state="failed"] { border-color: var(--op-danger); box-shadow: inset 4px 0 0 var(--op-danger); }
.file-row[data-state="failed"] small { color: var(--op-danger); font-weight: 600; }

.upload-zone {
  gap: var(--op-space-1);
  min-height: 120px;
  padding: var(--op-space-5) var(--op-space-4);
  border: 1px dashed var(--op-control-border);
  border-radius: var(--op-radius-8);
  background: var(--op-sunken);
  color: var(--op-text);
  text-align: center;
  cursor: pointer;
}
.upload-zone > [data-icon] { color: var(--op-accent-ink); }
.upload-zone strong { color: var(--op-text); }
.upload-zone:focus-within { border-style: solid; border-color: var(--op-focus-field); outline: var(--op-focus-width) solid var(--op-focus); outline-offset: 2px; }
@media (hover: hover) { .upload-zone:hover { border-color: var(--op-text); background: var(--op-tint); } }

/* Storage off, or the draft not saved yet: a plain panel instead of a stray line of help text. */
.composer-file-note {
  margin: 0;
  padding: var(--op-space-3) var(--op-space-4);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-8);
  background: var(--op-sunken);
  color: var(--op-text-2);
  font-size: var(--wf-text-sm);
}

/* ---------- Participants (shared with the template editor) ---------- */

.participant-list { container: participants / inline-size; gap: var(--op-space-3); }
.participant-row {
  grid-template-columns: 40px minmax(0, 1fr) minmax(150px, 200px) var(--op-input-h);
  align-items: center;
  gap: var(--op-space-2) var(--op-space-3);
  padding: var(--op-space-3) var(--op-space-4);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-8);
  background: var(--op-surface);
}
.participant-row > .avatar { grid-column: 1; grid-row: 1; }
.participant-identity { grid-column: 2; grid-row: 1; }
.participant-role { grid-column: 3; grid-row: 1; max-width: none; }
.participant-row > .button { grid-column: 4; grid-row: 1; }
.participant-row > .participant-alert { grid-column: 2 / -1; grid-row: 2; }
.participant-identity strong { color: var(--op-text); font-weight: 700; overflow-wrap: anywhere; }
.participant-identity small { color: var(--op-text-2); font-size: var(--wf-text-xs); overflow-wrap: anywhere; }

/* Awaiting account setup: a clock glyph and bold text, not colour. */
.participant-pending, .profile-choice small.participant-pending { color: var(--op-text); font-weight: 700; }
.participant-pending::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: var(--op-space-1);
  vertical-align: -2px;
  background: currentColor;
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

/* A person who is no longer available: danger outline and an edge bar besides the error line. */
.participant-row:has(> .participant-alert) { border-color: var(--op-danger); box-shadow: inset 4px 0 0 var(--op-danger); }

/* A narrow list (a phone, or a form squeezed beside the sidebar) puts the role under the name. */
@container participants (max-width: 520px) {
  .participant-row { grid-template-columns: 40px minmax(0, 1fr) var(--op-input-h); padding: var(--op-space-3); }
  .participant-role { grid-column: 2 / 4; grid-row: 2; }
  .participant-row > .participant-alert { grid-row: 3; grid-column: 2 / 4; }
}

/* ---------- Participant picker dialog ---------- */

.participant-picker { width: min(calc(100% - 32px), 520px); }
.participant-picker .dialog-body { display: grid; gap: var(--op-space-4); padding-bottom: var(--op-space-4); }
.participant-picker .dialog-body > * { margin: 0; }
.participant-picker .dialog-body > p { color: var(--op-text-2); }

.profile-choice-list { gap: var(--op-space-1); margin: 0; padding: var(--op-space-1); border: 1px solid var(--op-border); border-radius: var(--op-radius-8); background: var(--op-sunken); }
.profile-choice-list[aria-busy="true"] { cursor: progress; }
.profile-choice-list[aria-busy="true"] > .profile-choice { opacity: 0.6; }

.profile-choice {
  position: relative;
  grid-template-columns: 36px minmax(0, 1fr) 18px;
  padding: var(--op-space-3);
  border: 1px solid transparent;
  border-radius: var(--op-radius-8);
  background: var(--op-surface);
  color: var(--op-text);
  font: inherit;
  text-align: left;
}
.profile-choice strong { color: var(--op-text); overflow-wrap: anywhere; }
.profile-choice small { color: var(--op-text-2); font-size: var(--wf-text-xs); overflow-wrap: anywhere; }
.profile-choice > [data-icon]:last-child { color: var(--op-text-2); }
@media (hover: hover) { .profile-choice:hover { border-color: var(--op-border-strong); background: var(--op-surface); } }

/* Chosen: the selection tone, an edge bar, a heavier name and a check where the chevron was. */
.profile-choice[aria-pressed="true"] { border-color: var(--op-accent-strong); background: var(--op-selection-bg); box-shadow: inset 4px 0 0 var(--op-accent-strong); }
@media (hover: hover) { .profile-choice[aria-pressed="true"]:hover { border-color: var(--op-accent-strong); background: var(--op-selection-bg); } }
.profile-choice[aria-pressed="true"] strong { font-weight: 800; }
.profile-choice[aria-pressed="true"] small { color: var(--op-selection-meta); }
.profile-choice[aria-pressed="true"] > [data-icon]:last-child { visibility: hidden; }
.profile-choice[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: 50%;
  right: var(--op-space-3);
  width: 18px;
  height: 18px;
  translate: 0 -50%;
  background: var(--op-accent-strong);
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
}

/* Empty, loading and failed list states sit inside the list as quiet panels. */
.compact-empty { padding: var(--op-space-5) var(--op-space-4); border: 1px solid var(--op-border); border-radius: var(--op-radius-8); background: var(--op-surface); color: var(--op-text-2); text-align: center; }
.compact-empty .icon { color: var(--op-text-2); }
.compact-empty p { margin: 0; }
.compact-empty[role="alert"] { border-color: var(--op-danger); background: var(--op-danger-tint); box-shadow: inset 4px 0 0 var(--op-danger); color: var(--op-text); }
.compact-empty[role="alert"] .icon { color: var(--op-danger); }
.compact-empty .button { margin-top: var(--op-space-2); }

/* Add by email: its own block under the list, set off by a rule. */
.participant-picker .dialog-body > .form-grid { gap: var(--op-space-3); padding-top: var(--op-space-4); border-top: 1px solid var(--op-border); }
.participant-picker .dialog-body > .form-grid .wf-copy { color: var(--op-text-2); font: var(--op-text-small); }
.participant-picker .dialog-body > .form-grid > .button { justify-self: start; }

/* Page controls under the list. */
.participant-picker .composer-pager { margin: 0; }

/* Phone: the dialog is a bottom sheet (components.css); the list yields height to the sheet's other blocks. */
@media (max-width: 700px) {
  .profile-choice-list { max-height: 36dvh; }
}

/* ---------- Review step ---------- */

.page--composer .review-summary { gap: var(--op-space-5); }
.page--composer .summary-section { padding-bottom: var(--op-space-5); border-bottom-color: var(--op-border); }
.page--composer .summary-section h3 { margin: 0; font: var(--op-text-title); color: var(--op-text); }
.page--composer .summary-section > .wf-spread { margin-bottom: var(--op-space-3); align-items: center; }
.page--composer .copy-block { margin-top: var(--op-space-4); }
.page--composer .copy-block h3 { margin-bottom: var(--op-space-2); }
.page--composer .copy-block p { max-width: 68ch; color: var(--op-text); line-height: 1.7; overflow-wrap: anywhere; white-space: pre-wrap; }
.page--composer .facts { gap: 0 var(--op-space-8); }
.page--composer .fact { border-bottom-color: var(--op-border); }
.page--composer .fact dt { color: var(--op-text-2); }
.page--composer .fact dd { color: var(--op-text); overflow-wrap: anywhere; }
.page--composer .people-list { gap: var(--op-space-2); }
.page--composer .person-row { align-items: center; padding: var(--op-space-3) var(--op-space-4); border-color: var(--op-border); border-radius: var(--op-radius-8); background: var(--op-surface); }
.page--composer .person-row > :nth-child(2) { overflow-wrap: anywhere; }
.page--composer .person-row small { color: var(--op-text-2); }
.page--composer .facts > .fact:first-child { grid-column: 1 / -1; }
