/* Dashboard screenshots: a browser window on desktop, a phone on small screens */
.dash-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.dash-tab { background: var(--surface); border: 1px solid var(--border-strong); color: var(--text-muted); font: inherit; font-size: 14px; font-weight: 600; padding: 9px 18px; min-width: 168px; border-radius: 999px; cursor: pointer; }
.dash-tab:hover { color: var(--text); }
.dash-tab[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.dash-frame { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(16, 24, 40, 0.25), var(--shadow-sm); overflow: hidden; }
.dash-browser-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #f1f3f5; border-bottom: 1px solid var(--border); }
.dash-dots { display: flex; gap: 7px; flex-shrink: 0; margin-right: 4px; }
.dash-dots span { width: 12px; height: 12px; border-radius: 50%; background: #d0d5dd; }
.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }
.dash-nav { display: flex; align-items: center; gap: 6px; flex-shrink: 0; color: #5f6368; }
.dash-nav svg { width: 18px; height: 18px; padding: 3px; box-sizing: content-box; }
.dash-nav .dash-nav-dim { color: #b6bcc4; }
.dash-nav-right { margin-left: 2px; }
.dash-url { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.dash-url > svg { width: 12px; height: 12px; flex-shrink: 0; color: #5f6368; }
.dash-phone-top { display: none; }
.dash-screen { position: relative; aspect-ratio: 16 / 10; background: #fff; overflow: hidden; }
.dash-play { position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; padding: 0; margin: 0; background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(16,24,40,0.28)); cursor: pointer; display: flex; align-items: center; justify-content: center; font: inherit; }
.dash-play-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--primary); color: #fff; font-weight: 700; font-size: 16px; padding: 14px 24px; border-radius: 999px; box-shadow: 0 10px 30px -8px rgba(0,0,0,0.45); transition: transform 0.15s, background 0.15s; }
.dash-play-pill svg { width: 18px; height: 18px; }
.dash-play:hover .dash-play-pill, .dash-play:focus-visible .dash-play-pill { background: var(--primary-hover); transform: scale(1.04); }
.dash-play-loading { display: none; }
.dash-screen.is-loading .dash-play { pointer-events: none; }
.dash-screen.is-loading .dash-play-label { display: none; }
.dash-screen.is-loading .dash-play-loading { display: inline; }
.dash-screen.is-active .dash-play { display: none; }
/* The demo renders at a fixed logical width (1280px on desktop, 390px in the phone) and is scaled to the frame - see fit() */
.dash-iframe { position: absolute; top: 0; left: 0; z-index: 1; display: block; width: var(--dash-base-w, 1280px); height: var(--dash-base-h, 800px); border: 0; background: #fff; transform-origin: 0 0; transform: scale(var(--dash-scale, 1)); }
.dash-screen.is-loading .dash-iframe { opacity: 0; }
.dash-open { text-align: center; margin-top: 16px; font-size: 14px; }
.dash-open a { color: var(--primary-hover); font-weight: 600; text-decoration: none; }
.dash-open a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .dash-tab { font-size: 13px; padding: 8px 14px; min-width: 150px; }
  /* Phone: a black Galaxy S-series. Thin black bezels (a slightly deeper chin), a bright metal edge
     line around a dark frame, a centred punch-hole camera, volume + Bixby buttons on the left, power on the right */
  .dash-frame { position: relative; overflow: visible; max-width: 292px; margin: 0 auto; border: 5px solid #08090b; border-bottom-width: 8px; border-top-width: 6px; border-radius: 30px; box-shadow: 0 0 0 1px #1c1e22, 0 0 0 2px #9ea2a8, 0 0 0 3px #2c2f34, 0 30px 60px -22px rgba(16, 24, 40, 0.55); }
  .dash-frame::before, .dash-frame::after { content: ""; position: absolute; width: 3px; background: linear-gradient(90deg, #3a3d42, #6c7076 50%, #2a2d31); border-radius: 2px; }
  .dash-frame::before { left: -11px; top: 92px; height: 110px; background: linear-gradient(#4a4d53 0 58px, transparent 58px 72px, #4a4d53 72px 98px, transparent 98px); border-radius: 0; }
  .dash-frame::after { right: -11px; top: 126px; height: 40px; border-radius: 0 2px 2px 0; }
  .dash-browser-bar { display: none; }
  .dash-phone-top { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 2px 18px 0; background: #fff; border-radius: 25px 25px 0 0; font-size: 11px; font-weight: 600; color: var(--text); position: relative; }
  .dash-phone-top::before { content: ""; position: absolute; left: 50%; top: 7px; transform: translateX(-50%); width: 11px; height: 11px; border-radius: 50%; background: #08090b; box-shadow: inset 0 0 0 2px #1d2024, 0 0 0 1px #e9ebee; }
  .dash-phone-top .dash-phone-status { display: flex; gap: 4px; align-items: center; }
  .dash-phone-top svg { width: 14px; height: 12px; }
  .dash-screen { border-radius: 0 0 24px 24px; }
  .dash-screen { aspect-ratio: 1 / 2; }
  .dash-play-pill { font-size: 14px; padding: 12px 18px; }
}
.dash-note { text-align: center; margin: 12px auto 0; max-width: 560px; font-size: 13px; color: var(--text-muted); }
