.tigersoft3cx-live-badge {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1045;
    display: none;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 3rem;
    min-width: 6.8125rem;
    padding: .65rem 1rem;
    border: 1px solid var(--tblr-border-color, #d9dde3);
    border-radius: 999px;
    color: var(--tblr-body-color, #1f2937);
    background: var(--tblr-bg-surface, #fff);
    box-shadow: 0 .4rem 1.1rem rgb(31 35 48 / 20%);
    font: inherit;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease;
}
.tigersoft3cx-live-badge .ti { font-size: 1.25rem; }
.tigersoft3cx-live-badge[data-queue-state="staffed"] { background: #2b8a3e; border-color: #2b8a3e; color: #fff; }
.tigersoft3cx-live-badge[data-queue-state="empty"] { background: #c92a2a; border-color: #c92a2a; color: #fff; }
.tigersoft3cx-queue-status { font-weight: 600; }
.tigersoft3cx-live-badge:hover { transform: translateY(-1px); box-shadow: 0 .55rem 1.35rem rgb(31 35 48 / 28%); }
.tigersoft3cx-live-badge:focus-visible { outline: 3px solid rgb(15 108 189 / 35%); outline-offset: 3px; }
.tigersoft3cx-live-count {
    position: absolute; top: -.3rem; right: -.3rem;
    min-width: 1.25rem; height: 1.25rem; padding: 0 .25rem;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px; background: var(--tblr-body-color, #1f2937);
    color: var(--tblr-bg-surface, #fff); font-size: .7rem;
}
.tigersoft3cx-live-count[hidden], .tigersoft3cx-live[hidden] { display: none !important; }
.tigersoft3cx-live {
    position: fixed; right: 1.5rem; bottom: 5.25rem;
    width: min(560px, calc(100vw - 3rem)); max-height: calc(100dvh - 6.25rem);
    overflow: auto; z-index: 1051; box-shadow: 0 8px 32px #0003;
}
/* Floating call controls share Copilot's widest-layout breakpoint. */
.tigersoft3cx-live:not(.tigersoft3cx-live-inline) { display: none; }
/* Copilot sits at bottom:6rem with a 3rem button; keep a .75rem gap. */
@media (min-width: 1400px) {
    .tigersoft3cx-live-badge { display: inline-flex; bottom: 9.75rem; }
    .tigersoft3cx-live:not(.tigersoft3cx-live-inline) { display: block; }
    .tigersoft3cx-live { bottom: 13.5rem; max-height: calc(100dvh - 14.5rem); }
}
.tigersoft3cx-live-inline { position: static; width: 100%; max-width: 1000px; max-height: none; box-shadow: none; }
.tigersoft3cx-ticket-row { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--tblr-border-color, #ddd); align-items: center; }
.tigersoft3cx-ticket-row > div { min-width: 0; overflow-wrap: anywhere; }
.tigersoft3cx-ticket-row > button { flex-shrink: 0; }
@media (max-width: 600px) { .tigersoft3cx-ticket-row { align-items: start; flex-direction: column; } }
@media print { .tigersoft3cx-live-badge, .tigersoft3cx-live:not(.tigersoft3cx-live-inline) { display: none !important; } }
