/* Embedded summary skin — paper "document" look for Metrics & Deliverables
 * when they render as a Workspace section (the iframe sets body.yel-workspace-embed
 * via applyWorkspaceEmbed() in metrics.js / deliverables.js).
 *
 * Standalone /metrics.html and /deliverables.html keep the dark console — every
 * rule here is scoped to body.yel-workspace-embed, so nothing changes off-embed.
 *
 * Technique: remap the dark color tokens (declared in styles.css :root) to the
 * live --doc-* paper palette (workspace.css:155-163) so existing components
 * repaint to paper for free. Page-specific layout/serif/chip overrides live in
 * metrics.css and deliverables.css, which load after this file. */

body.yel-workspace-embed {
  /* paper palette — mirrors --doc-* in workspace.css */
  --bg-0: #fbfbf9;
  --bg-1: #fbfbf9;
  --bg-2: #ffffff;
  --bg-3: #f4f5f2;
  --border-1: #e7e7e1;
  --border-2: #d9dad2;
  --border-3: #cfcfc7;
  --ink-0: #1a1c1a;
  --ink-1: #33352f;
  --ink-2: #5f615a;
  --ink-3: #8a8c83;
  --ink-4: #a9aaa1;
  --accent: #1d4e4a;
  --accent-cyan: #2a6b65;
  --accent-green: #1f7a52;
  --accent-amber: #9a6a12;
  --paper-serif: 'Fraunces', Georgia, serif;
  background: #fbfbf9;
  color: #33352f;
}

/* collapse the 3-column console into one centred document column —
   one continuous scroll instead of three independent panes */
body.yel-workspace-embed .dlv-page { min-height: 100vh; background: #fbfbf9; }
body.yel-workspace-embed .dlv-shell {
  display: block;
  overflow: visible;
  background: #fbfbf9;
}
body.yel-workspace-embed .dlv-rail,
body.yel-workspace-embed .dlv-main,
body.yel-workspace-embed .dlv-out {
  max-width: 760px;
  margin: 0 auto;
  overflow: visible;
  background: transparent;
  border: none;
}
body.yel-workspace-embed .dlv-main { padding: 36px 32px 24px; }
body.yel-workspace-embed .dlv-rail { padding: 28px 32px 0; }
body.yel-workspace-embed .dlv-out  { padding: 8px 32px 72px; }

/* eyebrow / kicker → green editorial label */
body.yel-workspace-embed .dlv-kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .16em;
}
