/* Composer + done screens. Tokens only; mobile-first. */

.composer-back { margin-left: 0; }
.cmp-h2 { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 4px; }
.cmp-sub { color: var(--mid); font-size: 14px; line-height: 1.5; margin-bottom: 14px; }
.cmp-lbl { margin-top: 16px; }

/* Preview */
.cmp-preview { position: relative; display: flex; flex-direction: column; align-items: center; margin: 4px 0 18px; }
.cmp-canvas {
  display: block; width: min(100%, 360px); aspect-ratio: 9 / 16; height: auto;
  border-radius: 14px; box-shadow: 0 14px 28px -10px rgba(3, 14, 24, 0.55);
  background: var(--inset);
}
.cmp-canvas--photo { cursor: grab; }
.cmp-canvas--photo:active { cursor: grabbing; }
.cmp-hint {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  background: rgba(8, 27, 46, 0.82); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 7px 14px; border-radius: var(--r-pill); pointer-events: none; white-space: nowrap;
}

/* Gate */
.cmp-gate { margin-top: 4px; }
.cmp-turnstile { margin: 4px 0 10px; }
.cmp-turnstile:empty { display: none; }
.cmp-privacy { font-size: 12px; line-height: 1.5; color: var(--faint); margin-top: 12px; }
.cmp-privacy a { color: var(--turq-ink); font-weight: 700; }

/* Options */
.cmp-photo-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.cmp-add { flex: 1; min-width: 150px; }
.cmp-add svg { color: var(--turq-ink); }
.cmp-zoom { margin: 10px 0 0; }
.cmp-zoom input[type="range"] { width: 100%; accent-color: var(--turq-ink); }
.cmp-colours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.cmp-swatch { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--mid); }
.cmp-swatch input[type="color"] {
  width: 100%; height: 44px; padding: 3px; background: var(--surface);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-inner); cursor: pointer;
}
.cmp-details { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.cmp-details summary { cursor: pointer; font-weight: 800; font-size: 14px; color: var(--navy); padding: 6px 2px; list-style-position: inside; }
.cmp-details__body { padding-top: 12px; }

/* Done */
.done-card { display: flex; justify-content: center; margin: 4px 0 16px; }
.done-card img {
  display: block; width: min(100%, 320px); aspect-ratio: 9 / 16; height: auto;
  border-radius: 14px; box-shadow: 0 14px 28px -10px rgba(3, 14, 24, 0.55); background: var(--inset);
}
.done-tip { text-align: center; font-size: 13px; color: var(--mid); margin: 10px 0 0; }
.done-pitch { margin-top: 22px; text-align: center; }
.done-badge { display: inline-block; line-height: 0; }
.done-badge img { height: 48px; width: auto; }
.done-desktop { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.done-qr { margin: 0; text-align: center; }
.done-qr img { display: block; width: 120px; height: 120px; border-radius: 10px; background: #fff; padding: 6px; margin: 0 auto 6px; }
.done-qr figcaption { font-size: 12px; color: var(--mid); font-weight: 700; }
.done-note { font-size: 14px; color: var(--mid); line-height: 1.5; }
.done-actions { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 8px; }
.done-actions .btn { width: 100%; }

@media (min-width: 768px) {
  .cmp-canvas { width: 360px; }
}
