/* A request's life: loaded only on the guide, after style.css. */
.hew-rl-side { display: grid; gap: 12px; padding: 12px 14px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.hew-rl-who { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg); }
.hew-rl-track { display: flex; flex-wrap: wrap; gap: 6px; }
.hew-rl-phase { padding: 2px 9px; border: 1px dashed var(--border-strong); border-radius: 999px; font: 12px var(--mono); color: var(--quiet); transition: background .3s, border-color .3s, color .3s; }
.hew-rl-phase.past { border-style: solid; color: var(--soft); }
.hew-rl-phase.now { border-style: solid; border-color: var(--red); background: var(--red); color: var(--bg); }
.hew-rl-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.hew-rl-body .label { margin-bottom: 6px; }
.hew-rl-bar, .hew-rl-kvbar { position: relative; display: flex; height: 24px; border: 1px solid var(--border-strong); border-radius: 6px; overflow: hidden; background: var(--bg); }
.hew-rl-seg { display: grid; place-items: center; overflow: hidden; white-space: nowrap; font: 11px var(--mono); }
.hew-rl-seg.weights { width: 54%; background: var(--surface-2); border-right: 1px solid var(--border-strong); color: var(--soft); }
.hew-rl-seg.kv { width: 0; background: repeating-linear-gradient(135deg, var(--purple) 0 1px, transparent 1px 7px) var(--glow); color: var(--purple); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.hew-rl-seg.kv.on { width: 26%; border-right: 1px dashed var(--purple); }
.hew-rl-kvfill { display: block; width: 0; height: 100%; background: var(--quiet); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.hew-rl-note { display: block; margin-top: 5px; font: 12px var(--mono); color: var(--soft); }
.hew-rl-text { margin: 0; min-height: 1.5em; font: 500 17px/1.5 var(--sans); color: var(--fg); }
.hew-rl-new { border-radius: 4px; color: var(--red); background: var(--glow-red); transition: color .6s, background .6s; }
.hew-rl-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; background: var(--red); vertical-align: -.15em; animation: hew-rl-blink 1s steps(1) infinite; }
.hew-rl-caret.off { visibility: hidden; }
.hew-rl-wire { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: center; min-height: 34px; margin: -6px 0; }
.hew-rl-wire::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--border-strong); }
.hew-rl-call, .hew-rl-reply { position: relative; justify-self: center; max-width: 100%; padding: 4px 10px; border: 1px solid var(--border-strong); border-radius: 7px; background: var(--bg); font: 12.5px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.hew-rl-call { border-color: var(--purple); color: var(--fg); transform: translateY(-12px); }
.hew-rl-reply { color: var(--soft); transform: translateY(12px); }
.hew-rl-call.in, .hew-rl-reply.in { opacity: 1; transform: none; }
.hew-rl-devrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hew-rl-gpu { position: relative; overflow: hidden; padding: 3px 10px; border: 1px solid var(--border); border-radius: 7px; font: 12.5px var(--mono); color: var(--quiet); transition: border-color .3s, color .3s; }
.hew-rl-gpu.busy { border-color: var(--purple); color: var(--fg); }
.hew-rl-gpu.busy::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--glow), transparent); animation: hew-rl-scan .9s ease-in-out infinite; }
.hew-rl-tok { min-width: 4.5em; color: var(--quiet); transition: border-color .3s, background .3s, color .3s; }
.hew-rl-tok.pending { border-style: dashed; border-color: var(--purple); color: var(--purple); }
.hew-rl-tok.committed { border-color: var(--red); background: var(--red); color: var(--bg); }
@keyframes hew-rl-scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes hew-rl-blink { 50% { opacity: 0; } }

@media (max-width: 600px) {
  .hew-rl-side { gap: 10px; padding: 10px 12px 12px; }
  .hew-rl-body { gap: 10px; }
  .hew-rl-phase { padding: 1px 7px; font-size: 11px; }
  .hew-rl-wire { grid-template-columns: 1fr; gap: 6px; min-height: 62px; margin: -8px 0; }
  .hew-rl-wire::before { display: none; }
  .hew-rl-call, .hew-rl-reply { font-size: 11.5px; }
  .hew-rl-text { font-size: 16px; }
  .hew-rl-note { min-height: 3em; }
}
@media (prefers-reduced-motion: reduce) {
  .hew-rl-caret, .hew-rl-gpu.busy::after { animation: none; }
}
