/* The demo copy (demo.js): the strip over every screen saying the work is made up, and "Try it as…", the people a
   tester taps instead of typing a name. Colors and fonts only from brand.css. */
.demo-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px;
  padding: calc(6px + env(safe-area-inset-top)) 16px 6px; background: var(--ice); color: var(--navy); font-size: 17px; line-height: 1.35; text-align: center;
}
/* The strip sits above the page, so the page's own top padding for the notch isn't needed twice. */
.demo-bar ~ .page, .demo-bar ~ .shell .bar { padding-top: 12px; }
.demo-tag {
  padding: 2px 10px; border-radius: var(--pill); background: var(--fill); color: var(--on-fill);
  font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
}
.demo-text { font-weight: 700; text-wrap: pretty; }
.demo-switch {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px;
  border: 0; background: none; color: var(--navy); font-weight: 800; text-decoration: underline; cursor: pointer;
}
.demo-switch .ic { width: 20px; height: 20px; color: var(--deep); }
.demo-switch:disabled { color: var(--slate); cursor: default; }
.demo-err { flex-basis: 100%; }

.demo-people { list-style: none; padding: 0; margin: 16px 0 12px; display: grid; gap: 10px; }
.demo-person { justify-content: space-between; }
.demo-person:hover:not(:disabled) { border-color: var(--navy); }
.demo-person:disabled { cursor: default; }
.demo-person[aria-busy="true"] { background: var(--ice); }
.demo-person > .ic { color: var(--slate); }
.demo-who { display: grid; gap: 2px; min-width: 0; }
.demo-who b { font-weight: 900; overflow-wrap: anywhere; }
.demo-who span { color: var(--slate); font-weight: 600; text-wrap: pretty; }
.demo-pick .note { margin-bottom: 4px; }
