/* Embeddable players: compact, self-contained, readable in light or dark. */
html:has(body.embed), body.embed { height: 100%; }
body.embed { margin: 0; overflow: hidden; background: var(--c-paper); color: var(--c-ink); }
.embed__frame { display: grid; grid-template-rows: auto minmax(6rem, 1fr) auto auto; gap: var(--space-3); height: 100%; padding: var(--space-4); box-sizing: border-box; }
.embed__frame--card { grid-template-rows: none; align-content: start; gap: var(--space-4); overflow: auto; }
.embed__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); }
.embed__kicker { font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-signal-strong); }
.embed__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.embed__brand { display: inline-flex; align-items: center; gap: var(--space-2); flex: none; font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); color: var(--c-ink); text-decoration: none; }
.embed__brand .brand__mark { width: 1.25rem; height: 1.25rem; }
.embed__stage { min-height: 0; padding: var(--space-2); background: var(--c-sheet); border: var(--line) solid var(--c-rule); border-radius: var(--radius-md); overflow: auto; }
.embed__stage .seq { width: 100%; }
.embed__caption { min-height: 0; overflow: auto; }
.embed__step { font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-ink-3); }
.embed__step-title { margin-top: var(--space-1); font-family: var(--font-display); font-size: var(--text-md); font-weight: 700; }
.embed__text { margin-top: var(--space-1); font-size: var(--text-sm); color: var(--c-ink-2); }
.embed__prompt { font-family: var(--font-display); font-size: var(--text-md); font-weight: 650; }
.embed__choices { margin: 0; padding-left: var(--space-5); font-size: var(--text-sm); color: var(--c-ink-2); }
.embed__q { margin-top: var(--space-2); padding: var(--space-2) var(--space-3); background: var(--c-signal-wash); border-left: 3px solid var(--c-signal); border-radius: var(--radius-sm); font-size: var(--text-sm); }
.embed__q summary { cursor: pointer; }
.embed__q p { margin-top: var(--space-1); color: var(--c-ink-2); }
.embed__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-3); border-top: var(--line) solid var(--c-rule); }
.embed__open { font-size: var(--text-sm); }
