[data-surface] { --cf: var(--sf-field, rgba(255, 255, 255, .07)); --cf2: var(--sf-hover, rgba(255, 255, 255, .1)); --cline: var(--sf-line, rgba(255, 255, 255, .1)); }
#luz-panel { position: fixed; inset: 0; z-index: calc(var(--z-console) - 4); pointer-events: none; }
#luz { display: none !important; }
.luz-fab { display: none !important; }

.lzp .luz-card {
  position: fixed; inset-inline-end: 12px; top: 12px; bottom: calc(var(--console, 76px) + 12px);
  width: 404px; max-width: calc(100vw - 24px);
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 24px; color: var(--sf-ink, var(--chalk));
  background: var(--sf-bg-strong, var(--glass-strong)); -webkit-backdrop-filter: var(--sf-blur, var(--blur)); backdrop-filter: var(--sf-blur, var(--blur));
  box-shadow: var(--sf-edge, var(--edge)), var(--sf-shadow, var(--lift-hi));
  font-family: var(--font); pointer-events: auto;
  opacity: 0; visibility: hidden; transform: translateX(calc(12px * var(--dir, 1))) scale(.98); transform-origin: 100% 50%;
  transition: opacity 180ms var(--ease-enter), transform 180ms var(--ease-enter), visibility 0s 180ms;
}
.lzp .luz-card.show { opacity: 1; visibility: visible; transform: none; transition: opacity 240ms var(--ease-enter), transform 240ms var(--ease-enter), visibility 0s; }

.luz-hd { display: flex; align-items: center; gap: 8px; min-height: 52px; padding-block: 10px 6px; padding-inline: var(--pad-sheet, 18px) 8px; }
.luz-hd .grow { flex: 1; }
.luz-hd .ibtn { position: relative; width: var(--h-icon, 34px); height: var(--h-icon, 34px); border-radius: var(--r-sm); color: var(--sf-ink-2, var(--chalk-2)); background: transparent; box-shadow: none; }
.luz-hd .ibtn[hidden] { display: none; }
.luz-hd .ibtn svg { width: 17px; height: 17px; }
.luz-hd .ibtn::after { content: ""; position: absolute; inset: -3px; }
@media (hover: hover) and (pointer: fine) { .luz-hd .ibtn:hover { color: var(--sf-ink, var(--chalk)); background: var(--cf); } }
.luz-orb { position: relative; display: grid; place-items: center; width: 28px; height: 28px; margin-inline-end: -2px; padding: 0; border: 0; border-radius: var(--r-xs); background: none; color: var(--sf-accent, var(--lamp)); cursor: pointer; }
.luz-orb::after { content: ""; position: absolute; inset: -8px; }
.luz-bars { display: inline-flex; align-items: center; gap: 2px; height: 18px; }
.luz-bars i { width: 2.5px; height: 7px; border-radius: 2px; background: currentColor; }
.luz-bars i:nth-child(2) { height: 13px; }
.luz-bars i:nth-child(3) { height: 18px; }
.luz-bars i:nth-child(4) { height: 10px; }
.luz-root:not([data-mode="idle"]) .luz-bars i { animation: luz-bar 700ms ease-in-out infinite alternate; }
.luz-root:not([data-mode="idle"]) .luz-bars i:nth-child(2) { animation-delay: -200ms; }
.luz-root:not([data-mode="idle"]) .luz-bars i:nth-child(3) { animation-delay: -400ms; }
.luz-root:not([data-mode="idle"]) .luz-bars i:nth-child(4) { animation-delay: -100ms; }
@keyframes luz-bar { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.luz-name { font-size: var(--fs-title, 16px); font-weight: 600; letter-spacing: -.01em; }
.luz-role { font-size: var(--fs-label, 12px); color: var(--sf-ink-3, var(--chalk-3)); white-space: nowrap; }
.luz-status { font-size: 12px; font-weight: 500; color: var(--sf-accent, var(--lamp)); white-space: nowrap; }
.luz-status:empty { display: none; }
.luz-htitle, .luz-livetag, .luz-clock { display: none; }
.luz-livetag { align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: var(--r-xs); font-size: 12px; font-weight: 600; color: var(--lamp-ink); background: var(--lamp); }
.luz-livetag i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: luz-pulse 1.4s ease-in-out infinite; }
@keyframes luz-pulse { 50% { opacity: .35; } }
.luz-clock { font-size: 12px; color: var(--sf-ink-3, var(--chalk-3)); font-variant-numeric: tabular-nums; }
.luz-card[data-kind="live"] :is(.luz-livetag, .luz-clock) { display: inline-flex; }
.luz-card[data-kind="live"] .luz-role { display: none; }
.luz-card[data-kind="history"] :is(.luz-orb, .luz-name, .luz-role, .luz-status, .luz-histbtn, .luz-stopbtn, .luz-mutebtn) { display: none; }
.luz-card[data-kind="history"] .luz-htitle { display: block; font-size: 16px; font-weight: 600; }

.luz-body {
  flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain;
  padding: 4px var(--pad-sheet, 18px) 14px; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}
.luz-body::-webkit-scrollbar { display: none; }
.luz-answer, .luz-menu, .luz-note { display: flex; flex-direction: column; gap: var(--gap-2, 10px); }
:is(.luz-answer, .luz-menu, .luz-note, .luz-live, .luz-hist, .luz-foot, .luz-found, .luz-acts, .luz-more, .luz-src, .luz-q)[hidden] { display: none; }

.luz-q { align-self: flex-end; max-width: 84%; margin: 0; padding: 8px 12px; border-radius: 16px; border-end-end-radius: 6px; background: var(--cf2); font-size: var(--fs-body, 13.5px); line-height: 1.4; overflow-wrap: anywhere; }
.luz-a { margin: 0; font-size: calc(var(--fs-body, 13.5px) + 1.5px); line-height: 1.45; letter-spacing: -.005em; text-wrap: pretty; }
.luz-a b.w { font-weight: 600; }
.luz-a .w { transition: opacity 200ms ease; }
.luz-root[data-mode="speaking"] .luz-a .w:not(.said) { opacity: .45; }
.luz-a.wait { min-height: 26px; }
.luz-dots { display: inline-flex; gap: 4px; vertical-align: middle; }
.luz-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--sf-ink-3, var(--chalk-3)); animation: luz-dot 1s ease-in-out infinite; }
.luz-dots i:nth-child(2) { animation-delay: 150ms; }
.luz-dots i:nth-child(3) { animation-delay: 300ms; }
@keyframes luz-dot { 40% { opacity: .25; transform: translateY(-2px); } }

.luz-found { display: flex; flex-direction: column; gap: var(--gap-2, 10px); animation: luz-in 240ms var(--ease-out) backwards; }
@keyframes luz-in { from { opacity: 0; transform: translateY(6px); } }
.luz-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.luz-nums div { min-width: 0; padding: 8px 10px; border-radius: var(--r-sm); background: var(--cf); }
.luz-nums b { display: block; font-size: var(--fs-readout, 20px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.luz-nums span { display: block; font-size: 12px; color: var(--sf-ink-3, var(--chalk-3)); }
.luz-nums .hi b { color: var(--sf-accent, var(--lamp)); }
.luz-picks { display: flex; flex-direction: column; gap: 2px; margin: 0 -8px; }
.luz-pk { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: var(--gap-2, 10px); padding-block: 4px 4px; padding-inline: 4px 8px; border-radius: var(--r-md); color: inherit; text-decoration: none; transition: background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .luz-pk:hover { background: var(--cf); } }
.luz-pk img { width: 56px; height: 38px; border-radius: var(--r-xs); object-fit: cover; background: var(--studio-1); }
.luz-pk-t { min-width: 0; }
.luz-pk-t b { display: block; font-size: var(--fs-body, 13.5px); font-weight: 600; }
.luz-pk-t span { display: block; font-size: 12px; color: var(--sf-ink-2, var(--chalk-2)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.luz-pk em { font-style: normal; font-size: var(--fs-body, 13.5px); font-weight: 600; font-variant-numeric: tabular-nums; }
.luz-found-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.luz-found-acts .btn { position: relative; height: var(--h-btn, 36px); padding: 0 14px; gap: 6px; border-radius: var(--r-sm); font-size: var(--fs-body, 13.5px); font-weight: 500; }
.luz-found-acts .btn svg { width: 16px; height: 16px; }
.luz-found-acts .btn::after { content: ""; position: absolute; inset: -3px 0; }
.luz-found-acts .luz-lit { color: var(--lamp-ink); background: var(--lamp); font-weight: 600; box-shadow: none; }
.luz-found-acts .luz-lit[aria-pressed="false"] { color: var(--sf-ink, var(--chalk)); background: var(--cf); }
.luz-found-acts .luz-lit[aria-pressed="false"] svg { color: var(--sf-accent, var(--lamp)); }
.luz-found-acts .btn:active { transform: scale(.96); }

.luz-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.luz-act { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 30px; padding-block: 0 0; padding-inline: 8px 10px; border-radius: var(--r-xs); font-size: 12px; font-weight: 500; color: var(--sf-ink-2, var(--chalk-2)); background: var(--cf); }
.luz-act svg { width: 15px; height: 15px; flex: none; color: var(--sf-accent, var(--lamp)); }
.luz-act .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sf-ink, var(--chalk)); }
.luz-act .cnt { color: var(--sf-ink-3, var(--chalk-3)); font-variant-numeric: tabular-nums; white-space: nowrap; }
.luz-act.fail svg { color: var(--resv); }
.luz-act.undone { opacity: .6; }
.luz-act.undone .lbl { text-decoration: line-through; }
.luz-undo { position: relative; margin-inline-start: 2px; padding: 0 2px; border: 0; background: none; font: 600 12px/1 var(--font); color: var(--sf-ink, var(--chalk)); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.luz-undo::after { content: ""; position: absolute; inset: -8px -6px; }
.luz-spin { width: 13px; height: 13px; flex: none; border-radius: 50%; border: 2px solid var(--cline); border-top-color: var(--lamp); animation: luz-spin 800ms linear infinite; }
@keyframes luz-spin { to { transform: rotate(360deg); } }
.luz-src { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12px; line-height: 1.4; color: var(--sf-ink-3, var(--chalk-3)); }
.luz-src > * + *::before { content: "·"; margin: 0 6px; }
.luz-src a { color: var(--sf-ink-2, var(--chalk-2)); text-decoration: underline; text-underline-offset: 2px; }
.luz-more, .luz-tries { display: flex; flex-wrap: wrap; gap: 6px; }
.lzp .chip { position: relative; height: auto; min-height: var(--h-chip, 30px); padding: 5px 10px; border-radius: var(--r-sm); font: 500 var(--fs-label, 12px)/1.3 var(--font); color: var(--sf-ink, var(--chalk)); background: var(--cf); box-shadow: none; text-align: start; white-space: normal; }
@media (hover: hover) and (pointer: fine) { .lzp .chip:hover { background: var(--cf2); } }
.lzp .chip:active { transform: scale(.96); }

.luz-sec { margin: 2px 0 -2px; font-size: var(--fs-label, 12px); font-weight: 500; color: var(--sf-ink-2, var(--chalk-2)); }
.luz-sec-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.luz-simtabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-sm); background: var(--cf); }
.luz-simtabs button { position: relative; height: 28px; padding: 0 10px; border: 0; border-radius: 7px; font: 500 12px/1 var(--font); color: var(--sf-ink-3, var(--chalk-3)); background: transparent; cursor: pointer; }
.luz-simtabs button[aria-selected="true"] { color: var(--sf-ink, var(--chalk)); background: var(--studio-2); }
.luz-sims { display: flex; flex-wrap: wrap; gap: 6px; }
.luz-sim { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: var(--h-chip, 30px); padding-block: 0 0; padding-inline: 6px 10px; border: 0; border-radius: var(--r-sm); font: 500 var(--fs-label, 12px)/1.2 var(--font); color: var(--sf-ink, var(--chalk)); background: var(--cf); cursor: pointer; transition: background-color 150ms ease, transform 150ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .luz-sim:hover { background: var(--cf2); } }
.luz-sim:active { transform: scale(.96); }
.luz-sim-ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--lamp-ink); background: var(--lamp); }
.luz-sim-ic svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.luz-sim.lv .luz-sim-ic svg { fill: none; stroke: currentColor; stroke-width: 2.4; }
.luz-tip { margin: 0; font-size: 12px; line-height: 1.45; color: var(--sf-ink-3, var(--chalk-3)); }
.luz-note-t { margin: 0; font-size: var(--fs-title, 16px); font-weight: 600; text-wrap: balance; }
.luz-note p { margin: 0; }
.luz-link { position: relative; flex: none; padding: 0; border: 0; background: none; font: 500 12px/1.2 var(--font); color: var(--sf-ink-2, var(--chalk-2)); text-decoration: underline; text-decoration-color: oklch(1 0 0 / .3); text-underline-offset: 3px; cursor: pointer; }
.luz-link::after { content: ""; position: absolute; inset: -10px -6px; }
@media (hover: hover) and (pointer: fine) { .luz-link:hover { color: var(--sf-ink, var(--chalk)); text-decoration-color: currentColor; } }

.luz-dock { display: flex; flex-direction: column; gap: 6px; padding: 0 10px 10px; }
.luz-listen { display: none; align-items: center; gap: 12px; min-height: 52px; padding-block: 8px 8px; padding-inline: 14px 8px; border-radius: var(--r-md); background: var(--cf); }
.luz-root.luz-hear .luz-listen { display: flex; animation: luz-in 200ms var(--ease-out) backwards; }
.luz-wave { display: flex; align-items: center; gap: 3px; height: 28px; flex: none; }
.luz-wave i { width: 3px; height: 28px; border-radius: 3px; background: var(--lamp); transform: scaleY(.3); animation: luz-bar 700ms ease-in-out infinite alternate; }
.luz-wave i:nth-child(odd) { animation-delay: -300ms; }
.luz-wave i:nth-child(3n) { animation-delay: -500ms; }
.luz-wave i:nth-child(4n) { animation-duration: 900ms; }
.luz-meter { display: none; width: 80px; height: 28px; flex: none; --m-user: var(--lamp); --m-luz: var(--sf-ink, var(--chalk)); --m-idle: var(--sf-ink-3, var(--chalk-3)); }
.luz-talking .luz-meter { display: block; }
.luz-talking .luz-wave { display: none; }
.luz-ls-t { flex: 1; min-width: 0; margin: 0; font-size: var(--fs-body, 13.5px); line-height: 1.3; }
.luz-ls-t small { display: block; font-size: 12px; color: var(--sf-ink-3, var(--chalk-3)); }
.luz-ls-t span { display: block; color: var(--sf-ink-2, var(--chalk-2)); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.luz-ls-stop.btn { flex: none; height: var(--h-btn, 36px); padding: 0 12px; gap: 6px; border-radius: var(--r-sm); font: 500 var(--fs-body, 13.5px)/1 var(--font); color: var(--sf-ink, var(--chalk)); background: var(--cf); box-shadow: none; }
.luz-ls-stop svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }

.luz-bar { display: flex; align-items: center; gap: 2px; min-height: 44px; padding-block: 3px 3px; padding-inline: 14px 3px; border-radius: var(--r-md); background: var(--cf); transition: box-shadow 150ms ease; }
.luz-bar:focus-within { box-shadow: 0 0 0 2px var(--sf-ink, var(--chalk)); }
.luz-input { flex: 1; min-width: 0; height: 36px; padding: 0; border: 0; outline: 0; background: none; font: 400 14px/1.2 var(--font); color: var(--sf-ink, var(--chalk)); }
.luz-input::placeholder { color: var(--sf-ink-3, var(--chalk-3)); }
.luz-bar .ibtn { position: relative; width: var(--h-icon, 34px); height: var(--h-icon, 34px); border-radius: var(--r-sm); color: var(--sf-ink-2, var(--chalk-2)); background: transparent; box-shadow: none; }
.luz-bar .ibtn[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .luz-bar .ibtn:hover { color: var(--sf-ink, var(--chalk)); background: var(--cf); } }
.luz-mic.on { color: var(--lamp-ink); background: var(--lamp); }
.luz-send.ibtn { color: var(--studio); background: var(--sf-sel-bg, var(--chalk)); opacity: .35; pointer-events: none; transition: opacity 150ms ease; }
.luz-bar.has-text .luz-send { opacity: 1; pointer-events: auto; }
.luz-talk { position: relative; display: inline-flex; align-items: center; gap: 6px; height: var(--h-icon, 34px); padding: 0 10px; border: 0; border-radius: var(--r-sm); font: 500 13px/1 var(--font); color: var(--sf-ink-2, var(--chalk-2)); background: transparent; cursor: pointer; transition: background-color 150ms ease, color 150ms ease, transform 150ms var(--ease-out); }
.luz-talk:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .luz-talk:hover { color: var(--sf-ink, var(--chalk)); background: var(--cf); } }
.luz-talk-ic { display: grid; color: var(--sf-accent, var(--lamp)); }
.luz-talk-ic svg { width: 18px; height: 18px; }
.luz-talk-dot { display: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.luz-talking .luz-talk { color: var(--lamp-ink); background: var(--lamp); }
.luz-talking .luz-talk-ic { display: none; }
.luz-talking .luz-talk-dot { display: block; animation: luz-pulse 1.4s ease-in-out infinite; }
.luz-talking .luz-bar .luz-mic { display: none; }
.luz-root.luz-simming .luz-input::placeholder { color: var(--sf-accent, var(--lamp)); }

.luz-foot { display: flex; align-items: center; gap: 8px; min-height: 36px; margin: 0 20px 8px; padding-top: 8px; border-top: 1px solid var(--cline); font-size: 12px; color: var(--sf-ink-3, var(--chalk-3)); }
.luz-foot .grow { flex: 1; }
.lz-foot-ic { display: grid; flex: none; }
.lz-foot-ic svg { width: 14px; height: 14px; }
.lz-foot-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lz-thread { display: flex; flex-direction: column; gap: var(--gap-2, 10px); padding: 4px 0; }
.lz-msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 100%; animation: luz-in 300ms var(--ease-out) backwards; }
.lz-msg.u { align-self: flex-end; align-items: flex-end; max-width: 84%; }
.lz-bub { font-size: calc(var(--fs-body, 13.5px) + 1px); line-height: 1.45; overflow-wrap: anywhere; }
.lz-msg.u .lz-bub { padding: 8px 12px; border-radius: 16px; border-end-end-radius: 6px; font-size: var(--fs-body, 13.5px); background: var(--cf2); }
.lz-msg.hearing .lz-bub { box-shadow: inset 0 0 0 1.5px var(--lamp); }
.lz-say { margin: 0; text-wrap: pretty; }
.lz-w { display: inline-block; animation: lz-word 360ms var(--ease-out) backwards; transition: opacity 300ms ease; }
.lz-w.tmp { opacity: .5; }
@keyframes lz-word { from { opacity: 0; transform: translateY(.3em); } }
.lz-msg.old { opacity: .6; }
.lz-msg.cut .lz-say { color: var(--sf-ink-2, var(--chalk-2)); }
.lz-cut { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--sf-ink-3, var(--chalk-3)); }
.lz-cut > span:first-child { display: grid; }
.lz-cut svg { width: 11px; height: 11px; fill: currentColor; stroke: none; }
.lz-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; max-width: 100%; }
.lz-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 28px; padding-block: 0 0; padding-inline: 8px 10px; border-radius: var(--r-xs); font-size: 12px; font-weight: 500; color: var(--sf-ink-2, var(--chalk-2)); background: var(--cf); }
.lz-chip svg { width: 14px; height: 14px; flex: none; color: var(--sf-accent, var(--lamp)); }
.lz-chip .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sf-ink, var(--chalk)); }
.lz-chip .cnt { color: var(--sf-ink-3, var(--chalk-3)); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lz-chip .luz-spin { width: 12px; height: 12px; }
.lz-chip.fail svg { color: var(--resv); }
.lz-chip.undone { opacity: .6; }
.lz-chip.undone .lbl { text-decoration: line-through; }
.lz-src { margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--sf-ink-3, var(--chalk-3)); }
.lz-div { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; color: var(--sf-ink-3, var(--chalk-3)); }
.lz-div::before, .lz-div::after { content: ""; flex: 1; height: 1px; background: var(--cline); }
.lz-div.you { color: var(--sf-accent, var(--lamp)); }
.lz-static { padding-top: 10px; }
.lz-static .lz-msg, .lz-static .lz-chip, .lz-static .lz-cut { animation: none; }
.lz-intro { display: flex; flex-direction: column; gap: 4px; padding-bottom: 4px; }
.lz-intro-k { margin: 0; font-size: 12px; color: var(--sf-ink-3, var(--chalk-3)); }
.lz-intro-t { margin: 0; font-size: calc(var(--fs-title, 16px) + 2px); font-weight: 600; letter-spacing: -.015em; line-height: 1.2; text-wrap: balance; }
.lz-intro-s { margin: 2px 0 0; font-size: var(--fs-body, 13.5px); line-height: 1.45; color: var(--sf-ink-2, var(--chalk-2)); text-wrap: pretty; }
.lz-intro .lz-tries { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lz-intro-k.lz-more-k { margin: 12px 0 4px; }
.lz-intro.mini { padding-bottom: 10px; border-bottom: 1px solid var(--cline); }
.lz-intro.mini :is(.lz-intro-s, .lz-tries, .lz-more-k, .luz-sims) { display: none; }
.lz-intro.mini .lz-intro-t { font-size: 16px; }
.lz-sys { align-self: stretch; padding: 12px; border-radius: var(--r-md); background: var(--cf); }
.lz-sys p { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--sf-ink-2, var(--chalk-2)); }
.lz-sys p > span:first-child { display: grid; color: var(--avail); }
.lz-sys p svg { width: 15px; height: 15px; }
.lz-sys-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lz-sys-row .chip > span:first-child { display: grid; }

.luz-hist { padding: 2px 0 4px; }
.lz-rows { display: flex; flex-direction: column; gap: 2px; margin: 0 -8px; }
.lz-group { margin: 12px 8px 4px; font-size: 12px; font-weight: 500; color: var(--sf-ink-3, var(--chalk-3)); }
.lz-group:first-child { margin-top: 4px; }
.lz-row { position: relative; display: flex; align-items: center; gap: 4px; border-radius: var(--r-md); transition: background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .lz-row:hover { background: var(--cf); } }
.lz-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px; border: 0; border-radius: var(--r-md); background: transparent; color: var(--sf-ink, var(--chalk)); text-align: start; font-family: var(--font); cursor: pointer; }
.lz-tile { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); color: var(--sf-accent, var(--lamp)); background: var(--cf); }
.lz-tile svg { width: 17px; height: 17px; }
.lz-tile:is(.voice, .mixed) { color: var(--lamp-ink); background: var(--lamp); }
.lz-rt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lz-rt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }
.lz-rt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--sf-ink-3, var(--chalk-3)); }
.lz-now { flex: none; display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: var(--r-xs); font-size: 12px; font-weight: 600; color: var(--lamp-ink); background: var(--lamp); }
.lz-del { position: relative; flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin-inline-end: 4px; padding: 0; border: 0; border-radius: var(--r-sm); color: var(--sf-ink-3, var(--chalk-3)); background: transparent; opacity: 0; cursor: pointer; transition: opacity 150ms ease, background-color 150ms ease, color 150ms ease; }
.lz-row:hover .lz-del, .lz-del:focus-visible, .lz-del.armed { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .lz-del:hover { color: var(--sf-ink, var(--chalk)); background: var(--cf); } }
.lz-del.armed:not(.btn) { width: auto; padding: 0 10px; font: 600 12px/1 var(--font); color: var(--studio); background: var(--resv); }
.lz-del.btn { display: inline-flex; width: auto; height: auto; margin: 0; opacity: 1; color: var(--sf-ink-2, var(--chalk-2)); }
.lz-del.btn.armed { color: var(--studio); background: var(--resv); }
@media (hover: none) { .lz-del { opacity: 1; } }
.lz-th-hd { display: flex; align-items: flex-start; gap: 8px; padding: 2px 0 10px; border-bottom: 1px solid var(--cline); }
.lz-th-t { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.lz-th-t b { font-size: 16px; font-weight: 600; line-height: 1.25; }
.lz-th-t small { font-size: 12px; color: var(--sf-ink-3, var(--chalk-3)); }
.lz-empty { display: flex; flex-direction: column; align-items: center; padding: 32px 8px 8px; text-align: center; }
.lz-empty-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); color: var(--sf-accent, var(--lamp)); background: var(--cf); }
.lz-empty-t { margin-top: 12px; font-size: 16px; font-weight: 600; }
.lz-empty-s { max-width: 42ch; margin: 6px auto 14px; font-size: 13px; color: var(--sf-ink-3, var(--chalk-3)); }
.lz-empty .luz-sims { justify-content: center; }
.lz-rows.compact { margin: 0 -8px 2px; }
.lz-rows.compact .lz-open { padding: 6px 8px; gap: 10px; }
.lz-rows.compact .lz-tile { width: 30px; height: 30px; border-radius: 8px; }
.lz-rows.compact .lz-tile svg { width: 15px; height: 15px; }

@media (max-width: 1180px) {
  .lzp .luz-card { width: 380px; }
}
@media (max-width: 900px) {
  #luz-panel { z-index: calc(var(--z-console) + 2); }
}
@media (max-width: 760px) {
  .lzp .luz-card { inset-inline-start: 8px; inset-inline-end: 8px; top: auto; bottom: calc(var(--console, 64px) + 8px); width: auto; max-width: none; height: min(72vh, 620px); border-radius: 22px; transform: translateY(16px); transform-origin: 50% 100%; }
  .luz-hd { min-height: 56px; padding-block: 10px 6px; padding-inline: 16px 8px; }
  .luz-role { display: none; }
  .luz-body { padding: 4px 16px 12px; }
  .luz-a { font-size: 15px; }
  .luz-input { font-size: 16px; }
  .luz-nums b { font-size: 19px; }
  .luz-dock { padding: 0 8px 8px; }
  .luz-talk-l { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lzp .luz-card, .lzp .luz-card.show { transform: none; transition: opacity 160ms ease, visibility 0s; }
  .luz-bars i, .luz-wave i, .luz-dots i, .luz-livetag i, .luz-talk-dot, .luz-spin, .lz-w, .lz-msg, .luz-found, .luz-listen { animation: none !important; }
  .luz-wave i { transform: scaleY(.6); }
}

@media (min-width: 761px) { [dir="rtl"] .lzp .luz-card { transform-origin: 0 50%; } }
