/* Keep the complete list available until the reader chooses a guided pass. */
.gp-practice [hidden] { display: none !important; }

.gp-start, .gp-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
}
.gp-start > span { font-size: .82rem; color: var(--tx-copy); }
.gp-practice .gp-list { margin-top: 1.1rem; }
.gp-practice .gp-list li { padding-block: .75rem; }
.gp-practice .gp-list li + li { border-top: 1px solid var(--tx-line); }
.gp-practice .gp-button, .gp-practice .gp-show-all {
  min-height: 44px;
  max-width: 100%;
  font: 500 .88rem/1.3 var(--ex-sans, sans-serif);
  cursor: pointer;
}
.gp-practice .gp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-radius: 2rem;
  border: 1px solid #f0dfb7;
  padding: .72rem 1.2rem;
  background: #f0dfb7;
  color: #213d30;
}
.gp-practice .gp-button:hover { background: #fff1ce; }
.gp-practice .gp-quiet {
  color: var(--tx-ink);
  background: transparent;
  border-color: var(--tx-line);
}
.gp-practice .gp-quiet:hover { background: #ffffff0f; }
.gp-practice .gp-button:disabled { opacity: .45; cursor: default; }
.gp-practice .gp-show-all {
  padding: .55rem .15rem;
  margin-inline-start: auto;
  border: 0;
  background: none;
  color: var(--tx-copy);
  text-decoration: underline;
  text-underline-offset: .3em;
}
.gp-practice button:focus-visible, .gp-stage-title:focus-visible {
  outline: 2px solid var(--tx-gold);
  outline-offset: 4px;
}
.gp-reader {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--tx-line);
  border-radius: 14px;
  background: linear-gradient(135deg, #0e27227a, #172d2340);
}
.gp-rail {
  width: 100%;
  height: 2px;
  margin-bottom: 1.4rem;
  background: #eee0bb2e;
}
.gp-rail i {
  display: block;
  height: 100%;
  background: #e5cd98;
}
.tx-section.gp-practice .gp-stage-title {
  width: fit-content;
  margin: 0 0 .85rem;
  font: 500 .84rem/1.4 var(--ex-sans, sans-serif);
  color: var(--tx-gold);
}
.tx-section.gp-practice .gp-stage-text {
  margin: 0;
  max-width: 52ch;
  font: 400 clamp(1.28rem, 2vw, 1.8rem)/1.48 var(--ex-serif, Georgia, serif);
  color: var(--tx-ink);
  overflow-wrap: anywhere;
}
.gp-actions { margin-top: 1.65rem; gap: .45rem .65rem; }
@media (max-width: 500px) {
  .gp-actions .gp-show-all { margin-inline-start: 0; }
  .gp-practice .gp-reader { margin-inline: -.55rem; }
}
@media print {
  .gp-practice .gp-list[hidden] { display: block !important; }
  .gp-practice .gp-reader, .gp-practice .gp-start { display: none !important; }
  .gp-practice .gp-list li { break-inside: avoid; border: 0; }
  .tx-section.gp-practice { break-inside: auto; }
}
