/* Moderator controls around the phone (not product UI): Full screen in the website nav; in full screen
 * (index.html?app) a slim bar at the top with Exit full screen and Start over. A phone-sized window,
 * or the app added to the Home Screen, shows the prototype alone. */
.text-button { font: inherit; font-weight: 700; color: var(--interactive); background: none; border: 0; padding: 0; cursor: pointer; min-height: var(--target-min); text-decoration: underline; }
.site-nav .nav-controls { margin-left: auto; display: flex; align-items: center; gap: var(--s300); }
.app-controls { display: none; }
.app-only .app-controls { display: flex; align-items: center; justify-content: space-between; gap: var(--s200); padding: var(--s100) var(--s400); background: var(--white-0); border-bottom: 1px solid var(--cool-gray-20); color: var(--text-secondary); }
.app-controls a { display: inline-flex; align-items: center; min-height: var(--target-min); padding: 0 var(--s50); color: var(--interactive); font-weight: 700; }
.app-only .stage-caption { display: none; }
.stage-caption { font-size: var(--fs-xs); line-height: var(--sds-global-typography-line-height-125); }
@media (max-width: 520px) { .app-only .app-controls { display: none; } html, body { overscroll-behavior: none; background: var(--white-0); } }
/* In the caption sentence the button stays inline (WCAG 2.5.8 exempts targets inside a sentence). */
.stage-caption .text-button { min-height: 0; }
