@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/practice-brand/inter-regular.woff) format('woff');
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/practice-brand/inter-semibold.woff) format('woff');
}

.walkthrough-app {
  --cc-parchment: #f8f4ec;
  --cc-field: #fffaf3;
  --cc-inset: #efe7db;
  --cc-type: #302d27;
  --cc-muted: #655f54;
  --cc-rule: #d8d0c3;
  --cc-rust: #934b33;
  --cc-rust-dark: #773b27;
  --practice-sans: Inter, system-ui, sans-serif;
}

.walkthrough-app #screen-splash[data-mode="play"],
.walkthrough-app #screen-summary.play,
.walkthrough-app #screen-splash[data-mode="play"] ~ #library-dialog {
  --bg: var(--cc-parchment);
  --bg-2: var(--cc-inset);
  --fg: var(--cc-type);
  --dim: var(--cc-muted);
  --line: var(--cc-rule);
  --signal: var(--cc-rust);
  --practice-teal: var(--cc-rust);
  background: var(--cc-parchment);
  color: var(--cc-type);
}

.walkthrough-app #screen-splash[data-mode="play"] { gap: 16px; }
.walkthrough-app #screen-splash[data-mode="play"] > .brand { min-height: 65px; }
.walkthrough-app :is(#screen-splash[data-mode="play"],#screen-summary.play) .wordmark {
  font: 600 clamp(1.28rem, 5vw, 1.65rem)/1 var(--practice-serif);
  letter-spacing: -.02em;
}
.walkthrough-app #screen-splash .wordmark-emblem,
.walkthrough-app #screen-summary .wordmark-emblem { background: transparent; padding: 0; }
.walkthrough-app .wordmark-emblem img { width: 100%; height: 100%; object-fit: contain; }

.walkthrough-app #screen-splash[data-mode="play"] #practice-intro h1 {
  font: 500 clamp(2.65rem, 8vw, 4.25rem)/1 var(--practice-serif);
  letter-spacing: -.032em;
}

.walkthrough-app #screen-splash[data-mode="play"] #practice-intro > p {
  margin: .45rem 0 0;
  max-width: 34ch;
  color: var(--cc-muted);
  font: 400 .95rem/1.5 var(--practice-sans);
}

.walkthrough-app #screen-splash[data-mode="play"] :is(.setup-step,.consent-step) {
  margin-block: 0;
  color: var(--cc-muted);
  font: 600 .74rem/1.45 var(--practice-sans);
}

.walkthrough-app :is(.setup-step,.consent-step) span { margin-inline: .35em; color: var(--cc-rust); }
.walkthrough-app #screen-splash[data-step="setup"] .consent-step,
.walkthrough-app #screen-splash[data-step="consent"] :is(.setup-step,#stage5-pilot-panel,.slice-guide) { display: none; }
.walkthrough-app #screen-splash[data-mode="play"] #practice-consent-heading { margin-top: 0; }

.walkthrough-app #screen-splash[data-mode="play"] :is(.hand-btn,.meta-form select,.meta-form input[type="text"]) {
  background: var(--cc-field);
  border-color: #a69682;
}

.walkthrough-app #screen-splash[data-mode="play"] .hand-btn.selected {
  color: var(--cc-type);
  background: var(--cc-inset);
  outline: 2px solid var(--cc-rust);
  outline-offset: -2px;
}

.walkthrough-app #screen-splash[data-mode="play"] .hand-btn.selected:focus-visible {
  outline: 2px solid #1f6f5c;
  outline-offset: 3px;
}

.walkthrough-app #screen-splash[data-mode="play"] :is(.mode-t,.hand-label) { text-transform: none; }
.walkthrough-app #screen-splash[data-mode="play"] :is(.brand-actions .account-link,.text-button,.practice-guide-link) { color: var(--cc-rust); }
.walkthrough-app #screen-splash[data-mode="play"] .primary,
.walkthrough-app #screen-live[data-mode="play"] :is(#practice-begin,#board-confirm),
.walkthrough-app #screen-live[data-mode="play"][data-phase="capture"] #btn-stop,
.walkthrough-app #screen-summary.play .result-actions .primary { background: var(--cc-rust); color: var(--cc-field); border-color: var(--cc-rust); border-radius: 3px; }
.walkthrough-app #screen-splash[data-mode="play"] .primary:enabled:hover,
.walkthrough-app #screen-live[data-mode="play"] :is(#practice-begin,#board-confirm,#btn-stop):enabled:hover,
.walkthrough-app #screen-summary.play .result-actions .primary:enabled:hover { background: var(--cc-rust-dark); }
.walkthrough-app #screen-splash[data-mode="play"] .primary:disabled { background: var(--cc-inset); color: var(--cc-muted); }
.walkthrough-app #screen-live[data-mode="play"] #board-confirm:disabled { background: var(--cc-inset); color: var(--cc-muted); }

.walkthrough-app #screen-live[data-mode="play"] { background: var(--cc-inset); }
.walkthrough-app #screen-live[data-mode="play"] :is(.video-wrap,#practice-ready) { background: var(--cc-parchment); }
.walkthrough-app #screen-live[data-mode="play"] #practice-frame-header { border-color: var(--cc-rule); }
.walkthrough-app #practice-frame-header span,
.walkthrough-app #screen-live[data-mode="play"] #practice-ready-hint { color: var(--cc-muted); }
.walkthrough-app #practice-frame-header h2 { color: var(--cc-type); }
.walkthrough-app #screen-live[data-mode="play"] .ctrl-bar .ctrl-btn:not(#btn-stop) { color: var(--cc-type); background: var(--cc-field); border-color: #a69682; }

.walkthrough-app #stage5-pilot-panel { padding: .9rem 1rem; border-left: 3px solid var(--cc-rust); background: var(--cc-inset); color: var(--cc-type); text-align: left; }
.walkthrough-app #stage5-pilot-panel h2 { margin: 0; font: 600 1.5rem/1.05 var(--practice-serif); }
.walkthrough-app #stage5-pilot-status { margin: .35rem 0 0; color: var(--cc-muted); font: 400 .86rem/1.45 var(--practice-sans); }
.walkthrough-app .pilot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin-top: .35rem; }
.walkthrough-app .pilot-actions :is(a,button) { display: inline-flex; align-items: center; min-height: 44px; font: 600 .82rem/1.3 var(--practice-sans); }
.walkthrough-app .pilot-actions [hidden] { display: none; }
.walkthrough-app .pilot-actions button { padding: .45rem .65rem; border: 1px solid var(--cc-rust); border-radius: 3px; background: transparent; color: var(--cc-rust-dark); }
.walkthrough-app .pilot-actions a { color: var(--cc-rust-dark); text-decoration: underline; text-underline-offset: 3px; }
.walkthrough-app .pilot-actions #stage5-pilot-opt-in { background: var(--cc-rust); color: var(--cc-field); }
.walkthrough-app #stage5-blade-feedback { background: var(--cc-inset); color: var(--cc-type); border-left: 3px solid var(--cc-rust); padding: .65rem .75rem; }

@media (max-width: 640px) {
  .walkthrough-app #screen-splash[data-mode="play"] .brand-actions > .brand-link:last-child { display: inline-flex; }
  .walkthrough-app #screen-splash[data-mode="play"] .brand-actions { gap: .35rem .7rem; flex-wrap: wrap; }
  .walkthrough-app #screen-splash[data-mode="play"] .brand-link .journey-icon { display: none; }
}
