/* Text from tokens: loaded only on the guide, after style.css. */
.hew-ts-top { display: flex; align-items: center; gap: 10px; }
.hew-ts-top .label { margin: 0; }
.hew-ts-stop { border-style: dashed; color: var(--soft); transition: border-color .3s, color .3s, background .3s; }
.hew-ts-stop.hit { border-style: solid; border-color: var(--red); background: var(--red); color: var(--bg); }
.hew-ts-tokens { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
.hew-ts-tok { opacity: 0; transform: translateY(-6px); color: var(--soft); transition: opacity .35s, transform .35s, border-color .3s, color .3s, box-shadow .3s; }
.hew-ts-tok.in { opacity: 1; transform: none; }
.hew-ts-tok.byte { border-style: dashed; }
.hew-ts-tok.now { border-color: var(--purple); color: var(--fg); box-shadow: 0 0 0 3px var(--glow); }
.hew-ts-tok.stop { border-color: var(--red); color: var(--red); box-shadow: 0 0 0 3px var(--glow-red); }
.hew-ts-panes { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; }
.hew-ts-pane { min-width: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.hew-ts-heldpane { transition: border-color .3s; }
.hew-ts-heldpane.busy { border-color: var(--purple); }
.hew-ts-out { margin: 0; min-height: 2.6em; font: 500 19px/1.5 var(--sans); color: var(--fg); overflow-wrap: anywhere; white-space: pre-wrap; }
.hew-ts-new { border-radius: 4px; color: var(--red); background: var(--glow-red); transition: color .6s, background .6s; }
.hew-ts-done { color: var(--fg); }
.hew-ts-cut { color: var(--quiet); text-decoration: line-through; }
.hew-ts-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; background: var(--red); vertical-align: -.15em; animation: hew-blink 1s steps(1) infinite; }
.hew-ts-caret.off { display: none; }
.hew-ts-end { margin-left: 10px; vertical-align: 2px; font-size: 11.5px; border-color: var(--red); color: var(--red); opacity: 0; transition: opacity .4s; }
.hew-ts-end.in { opacity: 1; }
.hew-ts-held { min-height: 32px; font: 600 19px/1.5 var(--mono); }
.hew-ts-bytes, .hew-ts-maybe { color: var(--purple); }
.hew-ts-none { font: 13px var(--mono); color: var(--quiet); }
.hew-ts-why { min-height: 1.4em; font: 12px var(--mono); color: var(--soft); }
@keyframes hew-blink { 50% { opacity: 0; } }

@media (max-width: 600px) {
  .hew-ts-tokens { min-height: 62px; align-content: flex-start; }
  .hew-ts-panes { grid-template-columns: 1fr; gap: 12px; }
  .hew-ts-out { font-size: 17px; min-height: 3em; }
}
@media (prefers-reduced-motion: reduce) {
  .hew-ts-caret { animation: none; }
}
