html, body { margin: 0; min-height: 100vh; background: #f8f9fb; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; }

/* The <mockup-tool> ships its own chrome (topbar, steps, footer); the page just
   gives it a centered max width. Theme via --mc-* here if desired. */
mockup-tool { display: block; max-width: 1200px; margin: 0 auto; }
[data-picker-mount][hidden], [data-design-mount][hidden] { display: none; }

/* "Use these mockups" handoff: the standalone demo has no host app to receive
   the `mockups-ready` event, so we show the finished mockups here, full size,
   with a way back to the tool (its state stays mounted underneath). */
/* The host's own word when the picker hands back nothing: the tool leaves that to us. */
.pick-notice { box-sizing: border-box; margin: 12px auto 0; max-width: 1200px; padding: 10px 14px; border: 1px solid #fcd34d; border-radius: 8px; background: #fffbeb; color: #92400e; font-size: 14px; line-height: 1.4; }
.pick-notice[hidden] { display: none; }

.finished { position: fixed; inset: 0; z-index: 1000; background: #f8f9fb; display: flex; flex-direction: column; }
.finished[hidden] { display: none; }

.finished-bar { position: sticky; top: 0; display: flex; align-items: center; gap: 16px; padding: 12px 20px; background: #fff; border-bottom: 1px solid #e5e7eb; }
.finished-bar .back { font: inherit; font-size: 14px; padding: 8px 14px; border: 1px solid #d1d5db; border-radius: 999px; background: #fff; cursor: pointer; }
.finished-bar .back:hover { background: #f3f4f6; }
.finished-bar h2 { margin: 0; font-size: 15px; }
.finished-bar .count { color: #6b7280; font-size: 13px; margin-left: auto; }

.finished-list { flex: 1; overflow: auto; padding: 20px; }
.mk { margin: 0 auto 28px; width: max-content; max-width: 100%; }
.mk figcaption { display: flex; align-items: baseline; gap: 10px; padding: 8px 2px; font-size: 13px; flex-wrap: wrap; }
.mk figcaption .name { font-weight: 600; }
.mk figcaption .sub { color: #6b7280; }
.mk figcaption a { margin-left: auto; color: #4f46e5; }
/* Full size: the rendered mockup at its natural resolution (scroll if big). */
.mk img { display: block; max-width: none; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }

.finished-empty { color: #6b7280; padding: 40px; text-align: center; }
