/* studiodemo only: the view-only bar, the tour and the pages for what has no dashboard page. Same tokens as app.css. */
.demo-bar { background: linear-gradient(90deg, rgba(139, 92, 246, 0.22), rgba(34, 211, 238, 0.14)); border-bottom: 1px solid var(--border-bright);
  font-size: 0.84rem; color: #e4e4f2; }
.demo-bar .wrap { display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; align-items: center; justify-content: space-between; padding: 0.42rem 0; }
.demo-bar b { color: #fff; }
.demo-bar a { color: #fff; font-weight: 600; white-space: nowrap; }
.demo-bar .links { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.demo-bar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); margin-right: 0.45rem;
  box-shadow: 0 0 10px var(--cyan); vertical-align: middle; }
.demo-note { color: var(--muted); font-size: 0.82rem; border: 1px dashed var(--border-strong); border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem; margin: 0.8rem 0; }
.demo-note b { color: var(--cyan); }
.toast.run { border-color: rgba(34, 211, 238, 0.55); }

/* tour */
.tour-hero { margin: 1.4rem 0 0.4rem; }
.tour-hero h1 { font-size: clamp(1.6rem, 5.4vw, 2.6rem); max-width: 22ch; }
.tour-hero h1 span { background: linear-gradient(90deg, var(--violet-bright), var(--cyan)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.tour-hero p { color: var(--muted); max-width: 62ch; font-size: 1rem; }
.tour { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin: 1.2rem 0; counter-reset: stop; }
.stop { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; color: var(--text); transition: border-color 0.15s, transform 0.15s; }
.stop:hover { border-color: var(--border-bright); transform: translateY(-2px); text-decoration: none; color: var(--text); }
.stop .pic { aspect-ratio: 16 / 9; }
.stop .pic.tall img { object-position: top; }
.stop .vbody h3 { font-size: 1.05rem; }
.stop .vbody h3::before { counter-increment: stop; content: counter(stop); display: inline-grid; place-items: center; width: 24px; height: 24px;
  margin-right: 0.5rem; border-radius: 50%; background: var(--violet); color: #fff; font-size: 0.78rem; vertical-align: 2px; }
.stop .go { color: var(--violet-bright); font-weight: 600; font-size: 0.88rem; margin-top: auto; }
.also { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.also a { display: inline-flex; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 0.4rem; }

/* galleries */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.7rem; }
.gallery figure { margin: 0; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.gallery img { width: 100%; }
.gallery figcaption { padding: 0.45rem 0.6rem; font-size: 0.82rem; color: var(--muted); }
.gallery.wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery.host img { background: radial-gradient(circle at 50% 30%, rgba(139, 92, 246, 0.25), transparent 70%); aspect-ratio: 3 / 4; object-fit: contain; }
.sheetimg { border-radius: 10px; border: 1px solid var(--border); margin-top: 0.4rem; width: 100%; }
.logo-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.logo-row .logo { max-width: 260px; }
.logo-row .avatar { width: 88px; height: 88px; border-radius: 50%; }
.voices, .beds { list-style: none; padding: 0; margin: 0; }
.voices li, .beds li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.35rem; padding: 0.7rem 0; border-top: 1px solid var(--border); }
.voices li:first-child, .beds li:first-child { border-top: 0; }
.voices .vh, .beds .vh { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
audio { width: 100%; height: 40px; }
.clipgrid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.clipgrid video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.clipgrid figure { margin: 0; }
.clipgrid figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }
.vertclip { width: 100%; max-width: 260px; aspect-ratio: 9 / 16; background: #000; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.report-frame { width: 100%; height: 78vh; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #0b0b12; }
.scorebig { font: 700 2.4rem/1 var(--head); background: linear-gradient(90deg, #fff, var(--violet-bright)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.scorebig small { font-size: 1rem; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.phone { max-width: 300px; border-radius: 28px; border: 6px solid #1c1c28; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
@media (min-width: 620px) {
  .tour { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .clipgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voices li, .beds li { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; }
}

/* sub-steps (7a/7b, 10a/10b) fit the step circle */
.phase .num { font-size: 0.74rem; letter-spacing: -0.03em; }
