.hv-cw{--cw-line:var(--border);border:1px solid var(--border);border-radius:var(--radius-panel);background:var(--surface);color:var(--text);box-shadow:var(--hv-card-shadow-hover);overflow:hidden}.hv-cw .hv-cw-code{--cw-line:#ffffff14;--cw-ground:var(--color-stage-canvas-deep);--cw-string:var(--color-stage-success);--cw-key:var(--accent-text);--cw-comment:var(--muted-2);--cw-keyword:var(--hv-indigo);--cw-call:var(--color-stage-ink);--cw-number:var(--hv-amber);background:var(--cw-ground);color:var(--text);box-shadow:inset 0 1px #ffffff0f}.hv-cw-bar{border-bottom:1px solid var(--cw-line);background:color-mix(in srgb, var(--surface-2) 55%, transparent);align-items:stretch;gap:1rem;padding-inline:1.25rem;display:flex}.hv-cw-dots{flex:none;align-items:center;gap:.5rem;display:flex}.hv-cw-dots i{border-radius:var(--radius-pill);background:#ff5f57;block-size:.75rem;inline-size:.75rem}.hv-cw-dots i:nth-child(2){background:#febc2e}.hv-cw-dots i:nth-child(3){background:#28c840}.hv-cw-tabs{scrollbar-width:none;min-width:0;display:flex;overflow-x:auto}.hv-cw-tabs button{min-block-size:3.5rem;font-size:var(--text-sm);color:var(--muted);transition:color var(--dur) ease-out;flex:none;align-items:center;gap:.5rem;padding-inline:1rem;font-weight:600;display:inline-flex;position:relative}.hv-cw-tabs button:hover,.hv-cw-tabs button[aria-selected=true]{color:var(--text)}.hv-cw-tabs button svg{block-size:1rem;inline-size:1rem}.hv-cw-tabs button[aria-selected=true] svg{color:var(--hv-amber)}.hv-cw-tabs button:after{content:"";inset-inline:.75rem;border-radius:var(--radius-pill);background:var(--hv-amber);block-size:2px;transition:transform .3s cubic-bezier(.22,1,.36,1);position:absolute;bottom:-1px;transform:scaleX(0)}.hv-cw-tabs button[aria-selected=true]:after{transform:scaleX(1)}.hv-cw-tabs button:focus-visible,.hv-cw-langs button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:var(--radius-field)}.hv-cw-panes,.hv-cw-samples{display:grid}.hv-cw-pane,.hv-cw-sample{visibility:hidden;opacity:0;grid-area:1/1;min-width:0;transition:opacity .28s ease-out,visibility 0s linear .28s}.hv-cw-pane[data-active],.hv-cw-sample[data-active]{visibility:visible;opacity:1;transition:opacity .28s ease-out 80ms,visibility}.hv-cw-pane{align-items:center;gap:1.5rem;padding:1.5rem 1.25rem 1.25rem;display:grid}@media (min-width:900px){.hv-cw-pane{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start;gap:2.5rem;padding:1.5rem 1.5rem 1.5rem 2.5rem}.hv-cw-copy{padding-block-start:1.5rem}}.hv-cw-copy{justify-items:start;gap:.75rem;display:grid}.hv-cw-copy .hv-actions{justify-content:flex-start}@media (max-width:899px){.hv-cw-pane:not([data-active]){display:none}.hv-cw-pane[data-active]{animation:.28s ease-out both hv-cw-fade}.hv-cw-code pre{font-size:var(--text-label)}}@media (max-width:479px){.hv-cw-dots{display:none}.hv-cw-bar{gap:0;padding-inline:.5rem}.hv-cw-tabs button{padding-inline:.75rem}}.hv-cw-code{border:1px solid var(--cw-line);border-radius:var(--radius-card);min-width:0}.hv-cw-codebar{justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem .5rem 0 .75rem;display:flex}.hv-cw-langs{scrollbar-width:none;gap:.25rem;min-width:0;display:flex;overflow-x:auto}.hv-cw-langs button,.hv-cw-langs-one{border-radius:var(--radius-pill);font-family:var(--font-mono);font-size:var(--text-label);color:var(--muted);transition:color var(--dur) ease-out, background-color var(--dur) ease-out, border-color var(--dur) ease-out;border:1px solid #0000;flex:none;padding:.25rem .75rem}.hv-cw-langs button:hover{color:var(--text)}.hv-cw-langs button[aria-selected=true]{border-color:var(--cw-line);background:var(--surface-2);color:var(--text)}.hv-cw-code pre{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;font-family:var(--font-mono);font-size:var(--text-xs);color:var(--color-stage-ink);margin:0;padding:.75rem 1.25rem 1.5rem 0;line-height:1.85;overflow-x:auto}.hv-cw-line{min-width:max-content;display:flex}.hv-cw-code pre[data-wrap] .hv-cw-line{min-width:0}.hv-cw-ln{text-align:end;inline-size:2.75rem;color:var(--muted-2);opacity:.55;-webkit-user-select:none;user-select:none;flex:none;padding-inline-end:1rem}.hv-cw-text{white-space:pre}.hv-cw-code pre[data-wrap] .hv-cw-text{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.hv-t-string{color:var(--cw-string)}.hv-t-key{color:var(--cw-key)}.hv-t-comment{color:var(--cw-comment);font-style:italic}.hv-t-keyword{color:var(--cw-keyword)}.hv-t-call{color:var(--cw-call);font-weight:600}.hv-t-number,.hv-t-flag,.hv-t-var{color:var(--cw-number)}.hv-t-punct{color:var(--muted)}@media (prefers-reduced-motion:no-preference){.hv-cw[data-phase=armed] .hv-cw-line{opacity:0}.hv-cw[data-phase=play] .hv-cw-line{animation:.48s cubic-bezier(.22,1,.36,1) both hv-cw-line;animation-delay:calc(var(--i) * 50ms + .15s)}}@media (prefers-reduced-motion:reduce){.hv-cw-pane,.hv-cw-pane[data-active],.hv-cw-sample,.hv-cw-tabs button:after{transition:none;animation:none}}@keyframes hv-cw-fade{0%{opacity:0}}@keyframes hv-cw-line{0%{opacity:0;transform:translateY(.25rem)}}.hv-cw-stage{min-width:0}.hv-cw-stage .at{margin-bottom:0}
