.cab[data-view=practice] .cab-art {display:none}
.cab .practice-entry {
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.55rem;
  min-height:46px;width:100%;padding:.5rem .75rem;text-align:start;
  border:1px solid var(--hl-edge);border-radius:.75rem;background:var(--hl-paper);color:var(--hl-on-soft);
  font:inherit;font-size:var(--type-label,.925rem);font-weight:760;
}
.practice-entry .theme-icon {width:1.2rem;height:1.2rem}
.practice-station,.practice-work {
  min-width:0;padding:clamp(.85rem,4.6cqw,1.35rem);
  padding-bottom:max(1.45rem,var(--safe-bottom));
  color:var(--hl-ink);
}
.practice-heading h1,.practice-question h1,.practice-work h1 {
  margin:.55rem 0 .32rem;line-height:1.17;letter-spacing:-.035em;
  font-size:clamp(1.39rem,6cqw,1.87rem);font-weight:850;overflow-wrap:anywhere;
}
.practice-sample,.practice-message {
  margin:0;color:var(--hl-muted);line-height:1.5;
}
.practice-modes {
  list-style:none;padding:0;margin:0;display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;
}
.practice-modes > li {display:grid;min-width:0}
.practice-modes .practice-story {grid-column:1/-1}
.practice-mode {
  --mode-tint:var(--hl-accent-soft);--mode-ink:var(--hl-on-soft);
  border:1px solid transparent;background:var(--mode-tint);color:var(--hl-ink);text-align:start;
  width:100%;min-height:clamp(104px,14dvh,132px);display:grid;grid-template-columns:auto minmax(0,1fr) auto;
  padding:.62rem;align-items:center;align-content:start;gap:.4rem;border-radius:1.08rem;
}
.practice-mode[data-mode=mistakes] {--mode-tint:var(--hl-rose);--mode-ink:var(--hl-on-rose)}
.practice-mode[data-mode=listen] {--mode-tint:var(--hl-sky);--mode-ink:var(--hl-on-sky)}
.practice-mode[data-mode=speak] {--mode-tint:var(--hl-apricot);--mode-ink:var(--hl-on-apricot)}
.practice-mode[data-mode=cards] {--mode-tint:var(--hl-rose);--mode-ink:var(--hl-on-rose)}
.practice-mode[data-mode=express] {--mode-tint:var(--hl-sky);--mode-ink:var(--hl-on-sky)}
.practice-mode:disabled {cursor:default;--mode-tint:var(--hl-soft);--mode-ink:var(--hl-muted)}
.practice-mode-icon {
  display:grid;place-items:center;justify-self:start;grid-column:1;
  border-radius:.72rem;width:2rem;aspect-ratio:1;
  background:var(--hl-paper);color:var(--mode-ink);
}
.practice-mode-icon .theme-icon {width:1.12rem;height:1.12rem}
.practice-mode-text {display:grid;gap:.14rem;overflow-wrap:anywhere;grid-area:2 / 1 / auto / -1}
.practice-mode-text strong {font-size:.98rem;line-height:1.25;font-weight:810}
.practice-mode-text small {font-size:.78rem;line-height:1.35;color:var(--hl-muted)}
.practice-count,.practice-mode > .theme-icon {grid-area:1 / 2 / auto / -1;justify-self:end;color:var(--mode-ink)}
.practice-count {font-size:.75rem;font-weight:760}
.practice-mode > .theme-icon {height:1rem;width:1rem}
.practice-story .practice-mode {min-height:66px;align-content:center}
.practice-story .practice-mode-text {grid-area:1 / 2}
.practice-story .practice-mode > .theme-icon {grid-area:1 / 3}
.practice-sample {margin:.65rem 0 0;font-size:.8rem}
.practice-work-header {
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.63rem;
  margin-bottom:1.2rem;
}
.practice-progress {
  accent-color:var(--hl-accent);display:block;width:100%;height:.46rem;
}
.practice-position {font-size:.8rem;font-weight:800;color:var(--hl-muted);font-variant-numeric:tabular-nums}
.express-clock {
  grid-column:1/-1;justify-self:end;font-size:.86rem;color:var(--hl-muted);
  display:inline-flex;align-items:center;gap:.42rem;font-weight:720;
}
.express-seconds {font-variant-numeric:tabular-nums;font-size:1rem;color:var(--hl-ink);min-width:2ch;text-align:right}
.practice-question {display:grid;gap:.8rem}
.practice-question h1 {margin:0}
.practice-clue,.practice-feedback,.practice-card-answer {
  overflow-wrap:anywhere;margin:0;padding:.95rem 1rem;border:1px solid var(--hl-edge);
  border-radius:.85rem;background:var(--hl-accent-soft);color:var(--hl-on-soft);
}
.practice-clue {font-size:clamp(1.03rem,4.35cqw,1.23rem);font-weight:740;line-height:1.53}
.practice-feedback,.practice-card-answer {display:block}
.practice-feedback > strong {font-size:.88rem;font-weight:820}
.practice-feedback.practice-missed {background:var(--hl-bad-bg);color:var(--hl-bad)}
.practice-model {font-size:clamp(1.15rem,5.4cqw,1.57rem);line-height:1.43;font-weight:850;margin:.25rem 0 .45rem}
.practice-listen {display:flex;align-items:center;flex-wrap:wrap;gap:.55rem}
.practice-listen .is-speaking,.practice-feedback .is-speaking,.practice-card-answer .is-speaking,.reader-lines .is-speaking {
  outline:2px solid var(--hl-accent);outline-offset:2px;
}
.practice-options,.practice-answer,.practice-response-pair {display:grid;gap:.5rem}
.practice-response-pair {grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr))}
.practice-options button,.practice-primary,.practice-secondary,.practice-mic,.practice-tiles button {
  display:inline-flex;align-items:center;justify-content:center;gap:.48rem;min-height:46px;
  padding:.52rem .7rem;border:1px solid var(--hl-edge);border-radius:.75rem;
  background:var(--hl-paper);color:var(--hl-ink);font:inherit;font-weight:760;
  line-height:1.37;text-align:center;overflow-wrap:anywhere;
}
.practice-options button[lang=ko] {font-size:1.25rem}
.practice-options button[aria-pressed=true],.practice-mic[aria-pressed=true] {
  background:var(--hl-accent-soft);color:var(--hl-on-soft);border-color:var(--hl-accent);
}
.practice-primary {background:var(--hl-accent);color:var(--hl-on-accent);border-color:var(--hl-accent);width:100%;border-radius:1.75rem}
.practice-primary:disabled {background:var(--hl-soft);color:var(--hl-muted);border-color:var(--hl-edge);cursor:default}
.practice-answer label {font-size:.87rem;font-weight:800}
.practice-answer input {
  height:46px;min-width:0;width:100%;padding:0 .72rem;border:1px solid var(--hl-rail);border-radius:.65rem;
  background:var(--hl-paper);color:var(--hl-ink);font:inherit;font-size:1rem;
}
.practice-answer input:focus-visible {outline:2px solid var(--hl-focus);outline-offset:1px}
.practice-tiles {display:flex;flex-wrap:wrap;gap:.35rem}
.practice-tiles button {font-size:1.03rem;min-width:46px}
.practice-tiles.practice-tile-answer {
  min-height:60px;padding:.35rem;border:1px dashed var(--hl-rail);border-radius:.75rem;
  background:var(--hl-soft);
}
.practice-tile-label {font-size:.88rem;font-weight:790;margin:0 0 -.35rem}
.practice-message {font-size:.84rem}
.practice-finish-content {display:grid;justify-items:center;text-align:center;margin:1.4rem 0}
.practice-finish-content > span {
  display:grid;place-items:center;width:3rem;height:3rem;border-radius:50%;
  background:var(--hl-accent-soft);color:var(--hl-on-soft);
}
.practice-finish-content > span .theme-icon {width:1.55rem;height:1.55rem}
.practice-finish-content p {margin:.27rem 0;font-size:1rem;font-weight:800}
.practice-finish-content small {color:var(--hl-muted)}
.reader-list,.reader-lines {list-style:none;padding:0;margin:.3rem 0;display:grid;gap:.5rem}
.reader-story {
  display:grid;grid-template-columns:2.35rem minmax(0,1fr) auto;align-items:center;gap:.65rem;
  width:100%;min-height:3.45rem;padding:.42rem .65rem;border:1px solid var(--hl-edge);
  border-radius:.8rem;background:var(--hl-paper);color:var(--hl-ink);text-align:start;font:inherit;
}
.reader-story img {width:100%;height:2.25rem;object-fit:contain}
.reader-story span {display:grid;gap:.15rem}
.reader-story small {font-size:.78rem;color:var(--hl-muted)}
.reader-story strong {font-size:.97rem;line-height:1.3}
.reader-story .theme-icon {width:1rem;height:1rem}
.reader-setting {
  display:block;width:100%;height:clamp(6.25rem,27dvh,15rem);object-fit:cover;
  object-position:center 62%;border-radius:.9rem;margin:0 0 .75rem;
}
.reader-lines li {
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem;align-items:center;
  width:93%;padding:.3rem .36rem .3rem .7rem;border-radius:.88rem;
  background:var(--hl-paper);border:1px solid var(--hl-edge);font-weight:680;line-height:1.4;
}
.reader-lines li:nth-child(even) {justify-self:end;background:var(--hl-accent-soft)}
.reader-lines p {margin:0}
.reader-lines .round-audio {width:2.75rem;height:2.75rem;aspect-ratio:1}
.reader-page h2 {margin:.48rem 0 .75rem}
.reader-page .practice-feedback,.reader-reread {margin-top:.65rem}
.reader-reread {width:100%}
.reader-actions:empty {display:none}
@media (hover:hover) {
  .practice-mode:not(:disabled):hover {border-color:var(--mode-ink)}
  .cab .practice-entry:hover,.practice-options button:hover,.practice-secondary:hover,.practice-mic:hover,.practice-tiles button:hover {
    background:var(--hl-hover);
  }
}
