/* The demo's label strip and Settings section. Colours come from the app's tokens (../app/css/app.css), so light and dark both work. */

.demo-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 8px 12px;
  /* the text and button line up with the header's 640 px column on wide screens */
  padding: 6px max(12px, env(safe-area-inset-right), calc((100% - 640px) / 2)) 6px max(12px, env(safe-area-inset-left), calc((100% - 640px) / 2));
  background: var(--accent-soft); border-bottom: 1px solid var(--accent); color: var(--text);
}
.demo-strip-text { flex: 1; min-width: 0; font-size: 0.8rem; font-weight: 600; line-height: 1.3; }

.demo-reset {
  flex: none; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px;
  font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: 10px; cursor: pointer;
}
.demo-reset svg { flex: none; }
.demo-reset.armed { color: var(--error-text); background: var(--error-bg); border-color: var(--error-text); }
.demo-reset.armed .demo-reset-label { display: none; }

.demo-about p { margin: 0 0 10px; }
.demo-about h3 { margin-top: 0; }
.demo-about .actions { margin-top: 14px; }

/* The line under an exercise image that is only the placeholder (demo-ui.js, markPlaceholders). */
.demo-get-app { margin: 6px 0 0; font-size: 0.75rem; line-height: 1.3; color: var(--muted); }
.demo-get-app a { color: var(--accent); font-weight: 600; }
