/* Publishing (VOD) — create wizard + package list.
   Impeccable: accent #5B7CFA, static status signals, no amber, no glow. */

/* ── Create wizard ──────────────────────────────────────────────────────── */
.vod-create-head { display: flex; align-items: flex-start; gap: 12px; }
.vod-create-head h1 { margin: 0; }
.vod-subject { color: var(--text-3); font-size: 12.5px; margin-top: 2px; }

/* Step rail */
.vod-steps { display: flex; gap: 6px; list-style: none; margin: 22px 0 26px; padding: 0; }
.vod-step button {
  display: flex; align-items: center; gap: 8px; background: none; border: 0;
  padding: 6px 2px; color: var(--text-4); font-size: 12.5px; font-family: inherit;
  cursor: pointer;
}
.vod-step button:disabled { cursor: default; }
.vod-step.done button { color: var(--text-2); }
.vod-step.current button { color: var(--text-1); }
.vod-step button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.vod-step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 600;
  border: 1px solid var(--border); color: var(--text-4);
}
.vod-step.current .vod-step-n { border-color: var(--accent); color: var(--accent); }
.vod-step.done .vod-step-n { border-color: var(--text-4); color: var(--text-2); }
.vod-step + .vod-step::before {
  content: ''; align-self: center; width: 26px; height: 1px;
  background: var(--border); margin-right: 6px;
}

.vod-step-body { max-width: 720px; min-height: 260px; }
.vod-step-q {
  font-size: 19px; font-weight: 500; margin: 0 0 16px; color: var(--text-1);
  letter-spacing: -0.01em;
}

/* Choice cards — one decision, big targets, no dense radio list. */
.vod-choice-grid { display: grid; gap: 10px; }
.vod-choice {
  position: relative; display: flex; flex-direction: column; gap: 3px;
  padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px;
  background: transparent; cursor: pointer; text-align: left; width: 100%;
  font-family: inherit; transition: border-color 120ms, background 120ms;
}
.vod-choice:hover { border-color: var(--text-4); }
.vod-choice.selected { border-color: var(--accent); background: rgba(91, 124, 250, 0.06); }
.vod-choice:focus-within, .vod-choice:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
/* The radio stays in the a11y tree and drives :focus-within, but the whole
   card is the hit target — a 14px dot is not a real one. */
.vod-choice-radio { position: absolute; opacity: 0; pointer-events: none; }
.vod-choice-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-1); font-weight: 500;
}
.vod-choice-sub { font-size: 12.5px; color: var(--text-3); line-height: 1.45; }
.vod-choice-detail { font-size: 11px; color: var(--text-4); margin-top: 3px; font-family: var(--font-mono); }
.vod-pill {
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent); background: rgba(91, 124, 250, 0.12);
  padding: 2px 7px; border-radius: 99px;
}

.vod-field { display: block; margin-bottom: 20px; }
.vod-field .field-label { display: block; margin-bottom: 5px; }
.vod-help { font-size: 11.5px; color: var(--text-3); line-height: 1.5; display: block; margin-top: 5px; }

/* Filmstrip poster picker */
.vod-filmstrip { display: flex; gap: 5px; overflow-x: auto; padding: 2px 0 8px; }
.vod-frame {
  flex: 0 0 auto; padding: 0; border: 1px solid var(--border); border-radius: 4px;
  background: none; cursor: pointer; line-height: 0; overflow: hidden;
}
.vod-frame img { height: 64px; display: block; }
.vod-frame.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.vod-frame:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.vod-actions { display: flex; align-items: center; gap: 8px; margin-top: 26px;
  padding-top: 18px; border-top: 1px solid var(--border); max-width: 720px; }
.vod-summary { margin-left: auto; font-size: 11.5px; color: var(--text-4); font-family: var(--font-mono); }

/* Download toggle in the share dialog. */
.vod-toggle { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; }
.vod-toggle input { margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.vod-toggle > span { font-size: 13px; color: var(--text-1); }
.vod-toggle .vod-help { margin-top: 2px; }

/* ── Package list ───────────────────────────────────────────────────────── */
.vod-parts { display: flex; gap: 4px; }
.vod-why {
  margin-left: 6px; font-size: 11px; color: var(--text-3);
  text-decoration: underline dotted; cursor: help;
}

@media (max-width: 720px) {
  .vod-steps { flex-wrap: wrap; }
  .vod-step + .vod-step::before { display: none; }
  .vod-actions { flex-wrap: wrap; }
  .vod-summary { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .vod-choice { transition: none; }
}
