.vl-status {
    --vl-status-line: #e6e9ef;
    --vl-status-muted: #6b7280;
    --vl-status-ink: #1f2937;
}

.vl-status-hero {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--vl-status-line);
}

.vl-status-mark {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    background: #f3f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    flex: 0 0 76px;
}

.vl-status-mark img {
    display: block;
    max-width: 58px;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.vl-status-mark.is-photo {
    width: 160px;
    height: 110px;
    flex-basis: 160px;
    background: transparent;
    border-radius: 12px;
}

.vl-status-mark.is-photo img {
    max-width: 160px;
    max-height: 110px;
}

.vl-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 22px;
    flex: 1;
    min-width: 0;
}

.vl-status-field label {
    display: block;
    margin: 0 0 3px;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--vl-status-muted);
    font-weight: 600;
}

.vl-status-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--vl-status-ink);
    line-height: 1.35;
    word-break: break-word;
}

.vl-status-value.is-soft {
    font-weight: 500;
}

.vl-status-span-2 {
    grid-column: span 2;
}

.vl-status-empty {
    color: #b0b7c3;
    font-weight: 500;
}

.vl-status-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.vl-status-card {
    border: 1px solid var(--vl-status-line);
    border-radius: 14px;
    padding: 14px 14px 8px;
    background: #fff;
    min-width: 0;
}

.vl-status-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--vl-status-ink);
}

.vl-status-card h3 i {
    color: #886ab5;
}

.vl-status-count {
    margin-left: auto;
    background: #f3f4f8;
    color: #4b5563;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
}

.vl-status-level,
.vl-status-item,
.vl-status-alert {
    padding: 10px 0;
    border-top: 1px solid #f0f2f6;
}

.vl-status-level:first-of-type,
.vl-status-item:first-of-type,
.vl-status-alert:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.vl-status-level-head,
.vl-status-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vl-status-swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex: 0 0 14px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}

.vl-status-name {
    font-weight: 600;
    color: var(--vl-status-ink);
    min-width: 0;
}

.vl-status-level-head .vl-status-name {
    flex: 1;
}

.vl-status-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f3f4f8;
    color: #4b5563;
    font-size: 12px;
    padding: 2px 8px;
}

.vl-status-pct {
    margin-left: auto;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--vl-status-ink);
}

.vl-status-level.is-low .vl-status-pct {
    color: #dc3545;
}

.vl-status-level.is-warn .vl-status-pct {
    color: #d97706;
}

.vl-status-meter {
    height: 8px;
    border-radius: 999px;
    background: #eef0f4;
    overflow: hidden;
    margin: 8px 0 4px;
}

.vl-status-meter span {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.vl-status-detail,
.vl-status-tags {
    color: var(--vl-status-muted);
    font-size: 12.5px;
    line-height: 1.4;
}

.vl-status-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.vl-status-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f3f4f8;
    color: #886ab5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
}

.vl-status-item-body {
    min-width: 0;
    flex: 1;
}

.vl-status-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.vl-codec-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.vl-codec-metric {
    border: 1px solid var(--vl-status-line, #e6e9ef);
    border-radius: 12px;
    padding: 12px 14px;
    background: #fafbfc;
}

.vl-codec-metric-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--vl-status-ink, #1f2937);
    font-variant-numeric: tabular-nums;
}

.vl-codec-metric.is-on .vl-codec-metric-value {
    color: #1f8a4c;
}

.vl-codec-metric-label {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--vl-status-muted, #6b7280);
}

.vl-codec-checks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 4px 18px;
}

.vl-codec-checks .vl-status-alert {
    border-top: 0;
    padding: 8px 0;
}

.vl-status-card + .vl-status-card {
    margin-top: 16px;
}

.vl-status-card > .vl-status-hero {
    margin-bottom: 0;
    padding-bottom: 4px;
    border-bottom: 0;
}

.vl-tx3-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 12px;
}

.vl-tx3-grid > .vl-status-card {
    background: #fafbfc;
}

.vl-tx3-grid > .vl-status-card + .vl-status-card {
    margin-top: 0;
}

.vl-tx3-grid .vl-status-grid {
    grid-template-columns: 1fr 1fr;
}

.vl-status-card.is-danger h3 i,
.vl-status-card.is-danger .vl-status-alert i {
    color: #dc3545;
}

.vl-status-card.is-warning h3 i,
.vl-status-card.is-warning .vl-status-alert i {
    color: #d97706;
}

.vl-status-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1f8a4c;
    padding: 6px 0 10px;
    font-weight: 600;
}

.vl-status-note i {
    font-size: 16px;
}

.vl-status-note.is-muted {
    color: var(--vl-status-muted);
}

@media (max-width: 991px) {
    .vl-status-hero,
    .vl-status-sections {
        display: block;
    }

    .vl-status-mark {
        margin-bottom: 14px;
    }

    .vl-status-grid,
    .vl-status-span-2 {
        display: block;
    }

    .vl-status-field {
        margin-bottom: 12px;
    }

    .vl-status-card {
        margin-bottom: 16px;
    }
}

.vl-list-table.table-bordered,
.vl-list-table.table-bordered td,
.vl-list-table.table-bordered th {
    border-color: var(--vl-status-line, #e6e9ef);
}

.vl-list-table thead th {
    background: #fafbfc;
    color: var(--vl-status-muted, #6b7280);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-top: 0;
    vertical-align: middle;
}

.vl-list-table tbody td {
    vertical-align: top;
    padding: 14px 12px;
}

.vl-list-table.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fcfcfd;
}
.page-content table.table.table-bordered.table-striped {
    margin-bottom: 12px;
    border: 1px solid #e2e8f0 !important;
    border-collapse: separate;
    border-spacing: 0;
}
.page-content table.table.table-bordered.table-striped thead tr:first-child th {
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-color: #e2e8f0;
    border-top: 0;
    padding: 12px;
    vertical-align: middle;
}
.page-content table.table.table-bordered.table-striped thead tr:nth-child(2) th {
    background: #fff;
    border-color: #e2e8f0;
    padding: 8px 10px;
}
.page-content table.table.table-bordered.table-striped thead tr:nth-child(2) input {
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #0f172a;
    box-shadow: none;
}
.page-content table.table.table-bordered.table-striped:not(.vl-meet-table) tbody td {
    border-color: #eef2f6;
    padding: 12px;
    vertical-align: middle;
    color: #334155;
}
.page-content table.table.table-bordered.table-striped tbody td {
    border-color: #eef2f6;
}
.page-content table.table.table-bordered.table-striped tbody tr:nth-of-type(odd),
.page-content table.table.table-bordered.table-striped tbody tr.odd {
    background: #fff;
}
.page-content table.table.table-bordered.table-striped tbody tr:nth-of-type(even),
.page-content table.table.table-bordered.table-striped tbody tr.even {
    background: #f8fafc;
}
.page-content table.table.table-bordered.table-striped.table-hover tbody tr:hover {
    background: #eff6ff;
}
.page-content .dataTables_wrapper > .row:last-child {
    margin: 0;
    align-items: center;
    background: transparent;
    border-top: 0;
}
.page-content .dataTables_wrapper .dataTables_info,
.page-content .dataTables_wrapper .dataTables_paginate {
    padding: 12px 14px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}
.page-content .dataTables_wrapper .pagination { margin: 0; }
.page-content .dataTables_wrapper .page-link {
    border-color: #e2e8f0;
    color: #334155;
    border-radius: 8px;
    margin-left: 4px;
}
.page-content .dataTables_wrapper .page-item.active .page-link {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}
.vl-confirm-dialog { max-width: 420px; }
.vl-confirm {
    position: relative;
    padding: 28px 24px 22px;
    border: 1px solid #fecdd3;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}
.vl-confirm-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 14px;
}
.vl-confirm-close:hover { background: #f1f5f9; color: #0f172a; }
.vl-confirm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #fff1f2;
    color: #be123c;
    font-size: 20px;
}
.vl-confirm-title {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 800;
}
.vl-confirm-text {
    margin: 0 0 20px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
}
.vl-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.vl-confirm-cancel,
.vl-confirm-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}
.vl-confirm-cancel {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
}
.vl-confirm-cancel:hover { background: #f1f5f9; color: #0f172a; text-decoration: none; }
.vl-confirm-delete {
    border: 1px solid #e11d48;
    background: #e11d48;
    color: #fff;
}
.vl-confirm-delete:hover { background: #be123c; border-color: #be123c; color: #fff; text-decoration: none; }
.vl-confirm form { margin: 0; }
.vl-confirm .form-control {
    margin: 0 0 20px;
    text-align: left;
}

.vl-list-scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.vl-list-scroll > .vl-list-table {
    width: max-content;
    min-width: 100%;
    margin-bottom: 0;
}

.ws-room-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ws-room-card {
    border: 1px solid #e2e8f0;
    border-left-width: 6px;
    border-radius: 12px;
    background: #fff;
    padding: 10px 12px;
}
.ws-room-card.is-online {
    border-color: #86efac;
    border-left-color: #16a34a;
    background: #f0fdf4;
}
.ws-room-card.is-issues {
    border-color: #fcd34d;
    border-left-color: #d97706;
    background: #fffbeb;
}
.ws-room-card.is-offline {
    border-color: #fda4af;
    border-left-color: #e11d48;
    background: #fff1f2;
}
.ws-room-status {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}
.ws-room-status.is-online { color: #166534; background: #bbf7d0; border: 1px solid #86efac; }
.ws-room-status.is-issues { color: #92400e; background: #fde68a; border: 1px solid #f59e0b; }
.ws-room-status.is-offline { color: #9f1239; background: #fecdd3; border: 1px solid #fb7185; }
.ws-room-family {
    font-weight: 700;
    white-space: nowrap;
    color: #0f172a;
}
.ws-room-family i {
    width: 18px;
    margin-right: 6px;
    color: #0891b2;
    text-align: center;
}
.ws-room-family-logo {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    object-fit: contain;
    vertical-align: -3px;
}
.ws-room-head {
    display: grid;
    grid-template-columns: minmax(180px, 340px) minmax(0, 1fr) max-content max-content;
    align-items: center;
    column-gap: 12px;
    row-gap: 8px;
}
.ws-room-status-col {
    width: 11.5rem;
    justify-self: end;
}
.ws-edit-status {
    margin-bottom: 0.5rem;
    text-align: center;
}
.ws-edit-status .ws-room-status {
    width: auto;
    min-width: 11.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
    padding: 6px 14px;
}
.ws-room-status-col .ws-room-status {
    flex-direction: column;
    gap: 2px;
    text-align: center;
}
.ws-eq-status > span:first-child {
    font-size: 11px;
    font-weight: 400 !important;
    line-height: 1.1;
}
.ws-eq-status {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 7.5rem;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 400 !important;
    line-height: 1.2;
    white-space: normal;
}
.ws-room-status-date {
    display: block;
    font-size: 9px !important;
    font-weight: 400 !important;
    line-height: 1.15;
    letter-spacing: 0;
    opacity: 0.9;
    text-align: center;
}
.ws-room-title {
    font-weight: 800;
    color: #0f172a;
    font-size: 15px;
}
.ws-room-sub,
.ws-room-place {
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    min-width: 0;
}
.ws-room-actions { width: 40px; display: flex; justify-content: flex-end; align-items: flex-start; }
.ws-room-actions.pv-visit-actions { width: auto; gap: 6px; flex-direction: row; }
.ws-room-actions .vl-wx-actions-stack .btn,
#webUsersId .vl-wx-actions-stack .btn { background: #fff; }
.vl-mc-actions,
.vl-user-actions {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}
.ws-room-actions .vl-wx-actions-stack .btn-outline-secondary,
#webUsersId .vl-wx-actions-stack .btn.btn-icon.btn-outline-secondary,
.page-content table .vl-mc-actions .btn.btn-icon.btn-outline-secondary,
.page-content table .vl-ws-actions .btn.btn-icon.btn-outline-secondary,
.page-content table .vl-user-actions .btn.btn-icon.btn-outline-secondary {
    color: #475569;
    border-color: #cbd5e1;
    background: #fff;
}
.ws-room-actions .vl-wx-actions-stack .btn-outline-secondary:hover,
#webUsersId .vl-wx-actions-stack .btn.btn-icon.btn-outline-secondary:hover,
.page-content table .vl-mc-actions .btn.btn-icon.btn-outline-secondary:hover,
.page-content table .vl-ws-actions .btn.btn-icon.btn-outline-secondary:hover,
.page-content table .vl-user-actions .btn.btn-icon.btn-outline-secondary:hover {
    color: #fff;
    background: #334155;
    border-color: #334155;
}
.ws-room-actions .vl-wx-actions-stack .btn-outline-secondary:hover .fal,
#webUsersId .vl-wx-actions-stack .btn.btn-icon.btn-outline-secondary:hover .fal,
.page-content table .vl-mc-actions .btn.btn-icon.btn-outline-secondary:hover .fal,
.page-content table .vl-ws-actions .btn.btn-icon.btn-outline-secondary:hover .fal,
.page-content table .vl-user-actions .btn.btn-icon.btn-outline-secondary:hover .fal { color: #fff; }
.ws-room-actions .vl-wx-actions-stack .btn-outline-danger,
#webUsersId .vl-wx-actions-stack .btn.btn-icon.btn-outline-danger,
.page-content table .vl-mc-actions .btn.btn-icon.btn-outline-danger,
.page-content table .vl-ws-actions .btn.btn-icon.btn-outline-danger,
.page-content table .vl-user-actions .btn.btn-icon.btn-outline-danger {
    color: #e11d48;
    border-color: #fecdd3;
    background: #fff;
}
.ws-room-actions .vl-wx-actions-stack .btn-outline-danger:hover,
#webUsersId .vl-wx-actions-stack .btn.btn-icon.btn-outline-danger:hover,
.page-content table .vl-mc-actions .btn.btn-icon.btn-outline-danger:hover,
.page-content table .vl-ws-actions .btn.btn-icon.btn-outline-danger:hover,
.page-content table .vl-user-actions .btn.btn-icon.btn-outline-danger:hover {
    color: #fff;
    background: #e11d48;
    border-color: #e11d48;
}
.ws-room-actions .vl-wx-actions-stack .btn-outline-danger:hover .fal,
#webUsersId .vl-wx-actions-stack .btn.btn-icon.btn-outline-danger:hover .fal,
.page-content table .vl-mc-actions .btn.btn-icon.btn-outline-danger:hover .fal,
.page-content table .vl-ws-actions .btn.btn-icon.btn-outline-danger:hover .fal,
.page-content table .vl-user-actions .btn.btn-icon.btn-outline-danger:hover .fal { color: #fff; }
#webUsersId .vl-wx-actions-stack .btn.btn-icon.btn-outline-warning,
.page-content table .vl-user-actions .btn.btn-icon.btn-outline-warning {
    color: #c2410c;
    border-color: #fed7aa;
    background: #fff;
}
#webUsersId .vl-wx-actions-stack .btn.btn-icon.btn-outline-warning:hover,
.page-content table .vl-user-actions .btn.btn-icon.btn-outline-warning:hover {
    color: #fff;
    background: #c2410c;
    border-color: #c2410c;
}
#webUsersId .vl-wx-actions-stack .btn.btn-icon.btn-outline-warning:hover .ni,
#webUsersId .vl-wx-actions-stack .btn.btn-icon.btn-outline-warning:hover .fal,
.page-content table .vl-user-actions .btn.btn-icon.btn-outline-warning:hover .fal { color: #fff; }
#webUsersId .vl-wx-actions-stack .btn.btn-icon.btn-outline-success,
.page-content table .vl-user-actions .btn.btn-icon.btn-outline-success {
    color: #15803d;
    border-color: #bbf7d0;
    background: #fff;
}
#webUsersId .vl-wx-actions-stack .btn.btn-icon.btn-outline-success:hover,
.page-content table .vl-user-actions .btn.btn-icon.btn-outline-success:hover {
    color: #fff;
    background: #15803d;
    border-color: #15803d;
}
#webUsersId .vl-wx-actions-stack .btn.btn-icon.btn-outline-success:hover .ni,
#webUsersId .vl-wx-actions-stack .btn.btn-icon.btn-outline-success:hover .fal,
.page-content table .vl-user-actions .btn.btn-icon.btn-outline-success:hover .fal { color: #fff; }
.page-content .btn.vl-add-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #047857;
    border-radius: 10px;
    background: #047857;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
}
.page-content .btn.vl-add-list:hover {
    background: #065f46;
    border-color: #065f46;
    color: #fff;
}
@media (max-width: 860px) {
    .ws-room-head {
        grid-template-columns: minmax(0, 1fr) 11.5rem 68px;
    }
    .ws-room-place { grid-column: 1 / -1; }
    .ws-room-status-col { justify-self: end; }
}
.ws-room-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.ws-room-metric {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}
.ws-room-metric span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
}
.ws-room-equips {
    margin-top: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    overflow-x: auto;
}
.ws-room-equips table {
    width: 100%;
    min-width: 920px;
    margin: 0;
    font-size: 12px;
    table-layout: fixed;
}
.ws-room-equips th:nth-child(1),
.ws-room-equips td:nth-child(1) { width: 140px; }
.ws-room-equips th:nth-child(2),
.ws-room-equips td:nth-child(2) { width: 24%; }
.ws-room-equips th:nth-child(3),
.ws-room-equips td:nth-child(3) { width: 16%; }
.ws-room-equips th:nth-child(4),
.ws-room-equips td:nth-child(4) { width: 148px; }
.ws-room-equips th:nth-child(5),
.ws-room-equips td:nth-child(5) { width: 72px; }
.ws-room-equips th:nth-child(6),
.ws-room-equips td:nth-child(6) { width: 22%; }
.ws-room-equips td:nth-child(2),
.ws-room-equips td:nth-child(3),
.ws-room-equips td:nth-child(6) {
    overflow: hidden;
    text-overflow: ellipsis;
}
.ws-room-equips th {
    background: #f8fafc;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-top: 0;
}
.ws-room-equips td,
.ws-room-equips th { vertical-align: middle; border-color: #e2e8f0; }
.vl-call-env.ws-room-metrics {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
    gap: 4px;
    max-width: none;
    min-width: 132px;
}
.vl-call-env .ws-room-metric {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 3px 8px;
    box-sizing: border-box;
}
.vl-call-env .ws-room-metric span {
    display: inline;
    margin: 0;
}
#macros_table td p { margin: 0 0 2px; }
#macros_table .vl-call-type { white-space: nowrap; }
#macros_table .vl-call-type i { width: 16px; margin-right: 6px; color: #0891b2; text-align: center; }
#macros_table .vl-call-meta { font-size: 11px; line-height: 1.35; color: #64748b; word-break: break-all; }
#macros_table .vl-call-duration { font-weight: 800; color: #0f172a; white-space: nowrap; }
#macros_table .vl-call-duration small { margin-left: 2px; font-size: 11px; font-weight: 600; color: #64748b; }
#macros_table .vl-call-actions { vertical-align: middle; text-align: center; }
.vl-call-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}
.vl-call-detail:hover { color: #1e40af; background: #dbeafe; text-decoration: none; }
.vl-call-detail .fal { font-size: 13px; }
.vl-meet-table td { vertical-align: middle; }
.vl-meet-name { font-weight: 800; color: #0f172a; line-height: 1.3; }
.vl-meet-name a,
.vl-meet-name a:hover,
.vl-meet-name a:focus,
.vl-call-meta a,
.vl-call-meta a:hover,
.vl-call-meta a:focus,
a.vl-equip-link,
a.vl-equip-link:hover,
a.vl-equip-link:focus {
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
}
a.vl-equip-link.is-name,
a.vl-equip-link.is-name:hover,
a.vl-equip-link.is-name:focus {
    color: #0f172a !important;
    font-size: inherit !important;
    font-weight: 800 !important;
    line-height: 1.3;
}
.vl-meet-mail { margin-top: 1px; font-size: 12px; line-height: 1.3; color: #475569; word-break: break-all; }
.vl-meet-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.vl-meet-type,
.vl-meet-site {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.vl-meet-type { background: #eff6ff; color: #1d4ed8; }
.vl-meet-site { background: #f8fafc; color: #334155; border: 1px solid #e2e8f0; }
.vl-meet-segs {
    list-style: none;
    margin: 6px 0 0;
    padding: 2px 0 2px 8px;
    border-left: 2px solid #c4b5fd;
}
.vl-meet-segs li {
    color: #5b21b6;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}
.vl-meet-when { white-space: nowrap; }
.vl-meet-clock {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}
.vl-meet-clock .fal { font-size: 10px; color: #94a3b8; }
.vl-meet-parts { text-align: center; }
.vl-meet-parts .fal { margin-right: 6px; color: #1d4ed8; }
.vl-meet-quality { min-width: 148px; }
.vl-meet-quality .ws-room-metric em {
    font-style: normal;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .02em;
    text-transform: uppercase;
    background: transparent;
}
.vl-meet-quality .ws-room-metric.is-ok {
    color: #047857;
    background: #ecfdf5;
    border-color: #a7f3d0;
}
.vl-meet-quality .ws-room-metric.is-ok span,
.vl-meet-quality .ws-room-metric.is-ok em { color: #047857; }
.vl-meet-quality .ws-room-metric.is-problem {
    color: #be123c;
    background: #fff1f2;
    border-color: #fecdd3;
}
.vl-meet-quality .ws-room-metric.is-problem span,
.vl-meet-quality .ws-room-metric.is-problem em { color: #be123c; }
.vl-meet-quality .ws-room-metric.is-empty {
    color: #64748b;
    background: #f8fafc;
    border-color: #e2e8f0;
}
.vl-meet-quality .ws-room-metric.is-empty span,
.vl-meet-quality .ws-room-metric.is-empty em { color: #64748b; }
.vl-meet-meta { font-size: 12px; line-height: 1.45; color: #334155; }
.vl-meet-meta div { display: flex; gap: 8px; align-items: baseline; }
.vl-meet-meta span {
    flex: 0 0 88px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}
.vl-meet-empty { color: #94a3b8; }
.vl-meet-quality-detail { min-width: 210px; }
.vl-meet-qmeta {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
    color: #64748b;
}
.vl-meet-qmeta b { font-weight: 600; color: #475569; }
.vl-meet-quality-detail .vl-meet-qmeta + .ws-room-metric { margin-top: 6px; }
.vl-wx-table td { vertical-align: top; }
.vl-wx-contact { display: flex; gap: 10px; align-items: flex-start; min-width: 220px; }
.vl-wx-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: 0 0 36px; }
.vl-wx-pills { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.vl-wx-pill {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.vl-wx-pill.is-on,
.vl-wx-pill.is-ok { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.vl-wx-pill.is-warn { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.vl-wx-pill.is-problem { background: #fff1f2; color: #be123c; border-color: #fecdd3; }
.vl-wx-pill.is-muted { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
.vl-wx-pill.is-group { background: #f5f3ff; color: #5b21b6; border-color: #ddd6fe; }
.vl-rating-badge {
    height: 32px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 800;
}
.vl-rating-score {
    margin-top: 6px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}
.vl-wx-sync {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
}
.vl-wx-sync .fal { width: 14px; color: #64748b; font-size: 13px; text-align: center; }
.vl-wx-sync.is-activity {
    width: fit-content;
    margin-bottom: 6px;
    padding: 4px 10px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 800;
}
.vl-wx-sync.is-activity .fal { color: #1d4ed8; }
.vl-wx-site { margin-top: 6px; color: #1d4ed8; font-size: 11px; font-weight: 800; line-height: 1.3; }
.vl-wx-line { color: #334155; font-size: 12px; line-height: 1.35; }
.vl-wx-block { margin-top: 8px; }
.vl-wx-activity { min-width: 128px; }
.vl-wx-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
    padding: 3px 8px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
}
.vl-wx-status { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.vl-wx-status .vl-wx-pill { margin-top: 0; }
.vl-wx-table .vl-meet-segs { margin-top: 0; }
.vl-wx-contact .vl-meet-segs { margin-top: 6px; }
.vl-wx-table .vl-meet-meta span { flex-basis: 118px; }
.vl-wx-table td.vl-wx-actions { vertical-align: middle; width: 64px; text-align: center; }
.vl-wx-actions-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.vl-wx-actions-stack .btn,
.page-content table .btn.btn-icon,
.page-content .ws-room-actions .btn.btn-icon,
.page-content a.vl-call-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    margin: 0 2px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    line-height: 1;
    gap: 0;
}
.vl-wx-actions-stack .btn .fal,
.vl-wx-actions-stack .btn .ni,
.page-content table .btn.btn-icon .fal,
.page-content table .btn.btn-icon .ni,
.page-content .ws-room-actions .btn.btn-icon .fal,
.page-content a.vl-call-detail .fal { font-size: 13px; }
.page-content a.vl-call-detail span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.vl-wx-actions-stack .btn-outline-secondary,
.page-content table .btn.btn-icon.btn-outline-secondary,
.page-content a.vl-call-detail { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
.vl-wx-actions-stack .btn-outline-secondary:hover,
.page-content table .btn.btn-icon.btn-outline-secondary:hover,
.page-content a.vl-call-detail:hover { color: #1e40af; background: #dbeafe; }
.page-content .vl-wx-meet-actions a.vl-call-detail {
    color: #475569;
    background: #fff;
    border-color: #cbd5e1;
}
.page-content .vl-wx-meet-actions a.vl-call-detail:hover {
    color: #fff;
    background: #334155;
    border-color: #334155;
}
.page-content .vl-wx-meet-actions a.vl-call-detail:hover .fal { color: #fff; }
.vl-wx-actions-stack .btn-outline-warning,
.page-content table .btn.btn-icon.btn-outline-warning { color: #c2410c; background: #fff7ed; border-color: #fed7aa; }
.vl-wx-actions-stack .btn-outline-warning:hover,
.page-content table .btn.btn-icon.btn-outline-warning:hover { color: #9a3412; background: #ffedd5; }
.vl-wx-actions-stack .btn-outline-success,
.page-content table .btn.btn-icon.btn-outline-success { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
.vl-wx-actions-stack .btn-outline-success:hover,
.page-content table .btn.btn-icon.btn-outline-success:hover { color: #065f46; background: #d1fae5; }
.vl-wx-actions-stack .btn-outline-danger,
.page-content table .btn.btn-icon.btn-outline-danger,
.page-content .ws-room-actions .btn.btn-icon.btn-outline-danger { color: #be123c; background: #fff1f2; border-color: #fecdd3; }
.vl-wx-actions-stack .btn-outline-danger:hover,
.page-content table .btn.btn-icon.btn-outline-danger:hover,
.page-content .ws-room-actions .btn.btn-icon.btn-outline-danger:hover { color: #9f1239; background: #ffe4e6; }
.vl-form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.vl-form-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}
.vl-form-btn.is-back {
    margin-right: auto;
    color: #334155;
    background: #f8fafc;
    border-color: #e2e8f0;
}
.vl-form-btn.is-back:hover { color: #0f172a; background: #f1f5f9; text-decoration: none; }
.vl-form-btn.is-save { color: #fff; background: #b56a9f; border-color: #b56a9f; }
.vl-form-btn.is-save:hover { color: #fff; background: #a6538e; border-color: #9e4e86; }
.page-content form:not(.ct-filter) .form-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
}
.page-content form:not(.ct-filter) input.form-control:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.page-content form:not(.ct-filter) select.form-control {
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    font-size: 13px;
    box-shadow: none;
}
.page-content form:not(.ct-filter) textarea.form-control {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    font-size: 13px;
    box-shadow: none;
}
.page-content form:not(.ct-filter) .form-control:focus {
    border-color: #cbd5e1;
    background: #fff;
    box-shadow: none;
}
.vl-trigger-arg {
    display: flex;
    align-items: center;
    gap: 8px;
}
.vl-trigger-arg input.form-control {
    flex: 0 0 88px;
    width: 88px;
    margin: 0;
}
.vl-trigger-arg select.form-control {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin: 0;
}
.page-content form:not(.ct-filter) .select2-container { width: 100% !important; }
.page-content form:not(.ct-filter) .select2-container--default .select2-selection--single {
    height: 36px;
    border-radius: 8px;
    border-color: #e2e8f0;
    background: #f8fafc;
}
.page-content form:not(.ct-filter) .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
    font-size: 13px;
    color: #0f172a;
    padding-left: 10px;
}
.page-content form:not(.ct-filter) .select2-container--default .select2-selection--single .select2-selection__arrow { height: 34px; }
.page-content form:not(.ct-filter) .select2-container--default .select2-selection--multiple {
    min-height: 36px;
    border-radius: 8px;
    border-color: #e2e8f0;
    background: #f8fafc;
}
.page-content input.form-control:disabled,
.page-content select.form-control:disabled,
.page-content textarea.form-control:disabled,
.page-content input.form-control[readonly],
.page-content textarea.form-control[readonly] {
    background: #e2e8f0 !important;
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    border: 1px dashed #94a3b8 !important;
    cursor: not-allowed;
    opacity: 1;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .06);
}
.page-content .select2-container--disabled .select2-selection--single,
.page-content .select2-container--disabled .select2-selection--multiple {
    background: #e2e8f0 !important;
    border: 1px dashed #94a3b8 !important;
    cursor: not-allowed;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .06);
}
.page-content .select2-container--disabled .select2-selection__rendered,
.page-content .select2-container--disabled .select2-selection__choice {
    color: #64748b !important;
}
.panel-content.border-faded.d-flex.flex-row {
    align-items: center;
    gap: 10px;
}
.panel-content.border-faded.d-flex.flex-row > a.btn,
.panel-content.border-faded.d-flex.flex-row > button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none !important;
}
.panel-content.border-faded.d-flex.flex-row > a.btn .fal,
.panel-content.border-faded.d-flex.flex-row > button.btn .fal {
    font-size: 13px;
}
.panel-content.border-faded.d-flex.flex-row > a.btn-default,
.panel-content.border-faded.d-flex.flex-row > a.btn-info {
    color: #334155;
    background: #f8fafc;
    border-color: #e2e8f0;
}
.panel-content.border-faded.d-flex.flex-row > a.btn-default:hover,
.panel-content.border-faded.d-flex.flex-row > a.btn-info:hover {
    color: #0f172a;
    background: #f1f5f9;
    border-color: #e2e8f0;
    text-decoration: none;
}
.panel-content.border-faded.d-flex.flex-row > button.btn,
.panel-content.border-faded.d-flex.flex-row > button.btn:hover,
.panel-content.border-faded.d-flex.flex-row > button.btn:focus,
.panel-content.border-faded.d-flex.flex-row > a.btn-primary,
.panel-content.border-faded.d-flex.flex-row > a.btn-primary:hover,
.panel-content.border-faded.d-flex.flex-row > a.btn-primary:focus {
    color: #fff;
    background: #b56a9f;
    border-color: #b56a9f;
}
.panel-content.border-faded.d-flex.flex-row > button.btn:hover,
.panel-content.border-faded.d-flex.flex-row > a.btn-primary:hover {
    background: #a6538e;
    border-color: #9e4e86;
    color: #fff;
    text-decoration: none;
}
.panel-content.border-faded.d-flex.flex-row > button.btn:disabled {
    opacity: .55;
}
.pv-checks.ws-room-equips table { min-width: 0; table-layout: auto; }
.pv-checks.ws-room-equips th:nth-child(1),
.pv-checks.ws-room-equips td:nth-child(1) { width: 32%; }
.pv-checks.ws-room-equips th:nth-child(2),
.pv-checks.ws-room-equips td:nth-child(2) { width: 180px; }
.pv-checks.ws-room-equips th:nth-child(3),
.pv-checks.ws-room-equips td:nth-child(3) { width: auto; }
.pv-visit-counter {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    margin-top: 8px;
    padding: 6px 10px;
    border: 1px solid #ddd6fe;
    border-radius: 8px;
    background: #f5f3ff;
    color: #8a2be2;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}
.pv-checks.ws-room-equips td:nth-child(2),
.pv-checks.ws-room-equips td:nth-child(3),
.pv-checks.ws-room-equips td:nth-child(6) {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}
.pv-check-comment { color: #475569; font-size: 12px; font-weight: 600; }
.pv-counter { color: #8a2be2; font-size: 12px; font-weight: 700; line-height: 1.35; }
.pv-counter .ws-room-status-date { color: #8a2be2; opacity: 1; text-align: left; }

.vl-list-device {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-width: 240px;
}

.vl-list-device-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f3f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex: 0 0 42px;
}

.vl-list-device-mark:has(img) {
    width: auto;
    height: auto;
    flex: 0 0 auto;
    background: transparent;
    border-radius: 0;
}

.subheader.vl-kpi-head {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.vl-kpi-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 0 0 auto;
}
.vl-kpi-head .subheader-title { margin: 0; }
.vl-kpi-head .subheader-title.vl-title-line {
    white-space: nowrap;
    flex: 0 0 auto;
}
.vl-kpi-head .subheader-title.vl-title-line small {
    display: inline;
    margin: 0;
}
.vl-kpi-strip {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
}
.vl-kpi {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 3px 9px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}
.vl-kpi .fal { font-size: 13px; }
.vl-kpi-label {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.1;
}
.vl-licence {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
    padding: 4px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    vertical-align: middle;
    font-weight: 600;
}
.vl-licence-count {
    font-size: 13px;
    color: #0f172a;
    white-space: nowrap;
}
.vl-licence-count b { font-size: 15px; }
.vl-licence-count span { color: #64748b; font-weight: 600; }
.vl-licence-bar {
    display: block;
    width: 88px;
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}
.vl-licence-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #047857;
}
.vl-licence.is-warn .vl-licence-bar i { background: #ea580c; }
.vl-licence.is-problem .vl-licence-bar i { background: #be123c; }
.vl-licence-pct {
    min-width: 32px;
    font-size: 12px;
    font-weight: 700;
    color: #047857;
}
.vl-licence.is-warn .vl-licence-pct { color: #c2410c; }
.vl-licence.is-problem .vl-licence-pct { color: #be123c; }
.vl-kpi:hover { text-decoration: none; }
.vl-kpi.is-info { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
.vl-kpi.is-info:hover { color: #1d4ed8; }
.vl-kpi.is-ok { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
.vl-kpi.is-ok:hover { color: #047857; }
.vl-kpi.is-warn { color: #c2410c; background: #fff7ed; border-color: #fed7aa; }
.vl-kpi.is-warn:hover { color: #c2410c; }
.vl-kpi.is-problem { color: #be123c; background: #fff1f2; border-color: #fecdd3; }
.vl-kpi.is-problem:hover { color: #be123c; }
.vl-status-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-left-width: 6px;
    border-radius: 12px;
    background: #fff;
}
.page-content-wrapper > .vl-status-banner,
.page-content-wrapper > nav.navbar {
    margin-left: 2rem;
    margin-right: 2rem;
}
.page-content-wrapper > header + .vl-status-banner,
.page-content-wrapper > header + nav.navbar {
    margin-top: 1.5rem;
}
@media (max-width: 576px) {
    .page-content-wrapper > .vl-status-banner,
    .page-content-wrapper > nav.navbar {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}
.vl-status-banner.is-ok {
    border-color: #a7f3d0;
    border-left-color: #16a34a;
    background: #f0fdf4;
}
.vl-status-banner.is-problem {
    border-color: #fecdd3;
    border-left-color: #e11d48;
    background: #fff1f2;
}
.vl-status-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    flex: 0 0 36px;
    font-size: 16px;
}
.vl-status-banner.is-ok .vl-status-banner-icon { background: #bbf7d0; color: #166534; }
.vl-status-banner.is-problem .vl-status-banner-icon { background: #fecdd3; color: #9f1239; }
.vl-status-banner.is-info {
    border-color: #bfdbfe;
    border-left-color: #2563eb;
    background: #eff6ff;
}
.vl-status-banner.is-info .vl-status-banner-icon { background: #dbeafe; color: #1d4ed8; }
.vl-status-banner.is-warn {
    border-color: #fed7aa;
    border-left-color: #ea580c;
    background: #fff7ed;
}
.vl-status-banner.is-warn .vl-status-banner-icon { background: #ffedd5; color: #c2410c; }
.vl-status-banner.is-legend { align-items: flex-start; }
.vl-status-banner.is-legend .vl-status-banner-icon { margin-top: 2px; }
.vl-status-banner-text .h5,
.vl-status-banner-text h3,
.vl-status-banner-text h5,
.vl-status-banner-text p,
.vl-status-banner-text strong {
    color: #0f172a;
}
.vl-status-banner-text .h5 { display: block; margin: 0 0 8px; font-weight: 800; }
.vl-status-banner-text ul { margin: 4px 0 0; padding-left: 18px; }
.vl-status-banner-text li { margin: 2px 0; }
.vl-status-banner-text p { margin: 0 0 4px; }
.vl-status-banner-text p:last-child { margin-bottom: 0; }
.vl-status-banner a.btn,
.vl-status-banner a.vl-status-banner-link {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px;
    background: #fff !important;
    color: #0f172a !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.alert.vl-status-banner.alert-dismissible { padding-right: 14px; }
.vl-status-banner .close {
    position: static;
    float: none;
    margin: 0;
    padding: 0;
    width: 28px;
    height: 28px;
    opacity: 1;
    color: #64748b;
    text-shadow: none;
    font-size: 16px;
}
.vl-status-banner .close:hover { color: #0f172a; }
.vl-status-banner-text { flex: 1 1 auto; min-width: 0; }
.vl-status-banner-text strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
}
.vl-status-banner-text span.vl-status-banner-detail {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}
.vl-status-banner-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.vl-status-banner-link:hover { color: #0f172a; text-decoration: none; border-color: #cbd5e1; }

.vl-list-device-body {
    min-width: 0;
    flex: 1;
}

.vl-list-device-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 15px;
    font-weight: 700;
    color: var(--vl-status-ink, #1f2937);
    line-height: 1.3;
}

.vl-list-device-title a {
    color: inherit;
}

.vl-list-device-sub,
.vl-list-device-desc,
.vl-list-place-line,
.vl-list-status-date {
    color: var(--vl-status-muted, #6b7280);
    font-size: 12.5px;
    line-height: 1.4;
}

.vl-list-device-ip {
    display: inline-block;
    margin-top: 2px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

#codecs_table .vl-pin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 18px;
    padding: 0 6px;
    margin-left: 4px;
    background: #15803d;
    vertical-align: middle;
}
#codecs_table .vl-pin-badge .fal { font-size: 11px; color: #fff; }
#codecs_table .vl-codec-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
    margin-top: 6px;
}
#codecs_table .vl-codec-facts div {
    display: inline-flex;
    gap: 4px;
    grid-template-columns: none;
}
#codecs_table .vl-codec-facts dt {
    text-transform: none;
    letter-spacing: 0;
}
#codecs_table .vl-codec-facts dt:after { content: ":"; }
#codecs_table .vl-codec-facts.vl-facts-lines {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 4px;
}
#codecs_table .vl-codec-facts.vl-facts-lines div {
    display: flex;
    width: 100%;
}
#codecs_table .vl-att-row { margin-top: 6px; }
#codecs_table .vl-att-row div { align-items: center; }
#codecs_table .vl-att-row .vl-att-link { margin-top: 0; }
#codecs_table .vl-att-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-top: 6px;
    border-radius: 6px;
    color: #334155;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 13px;
}
#codecs_table .vl-codec-place {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}
#codecs_table .vl-codec-conn,
#codecs_table .vl-cap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 26px;
    height: 26px;
    margin: 0 4px 4px 0;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #e2e8f0;
    vertical-align: middle;
}
#codecs_table .vl-codec-conn.is-local { color: #15803d; border-color: #86efac; background: #f0fdf4; }
#codecs_table .vl-codec-conn.is-remote { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }
#codecs_table .vl-codec-ip-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin-top: 2px;
}
#codecs_table .vl-codec-ip-line .vl-codec-conn { margin: 0; }
#codecs_table .vl-codec-ip-line .vl-list-device-ip { margin: 0 2px 0 0; }
#codecs_table .vl-cap-badge,
#codecs_table .vl-cam-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
#codecs_table .vl-cap-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 8px;
}
#codecs_table .vl-cap-badge.is-on { color: #166534; background: #bbf7d0; }
#codecs_table .vl-cap-badge.is-on .vl-cap-dot { background: #15803d; }
#codecs_table .vl-cap-badge.is-off { color: #9f1239; background: #fecdd3; }
#codecs_table .vl-cap-badge.is-off .vl-cap-dot { background: #e11d48; }
#codecs_table .vl-cam-badge .fal { font-size: 11px; }
#codecs_table .vl-cam-badge.is-on { color: #166534; background: #bbf7d0; }
#codecs_table .vl-cam-badge.is-off { color: #9f1239; background: #fecdd3; }
#codecs_table tbody td { vertical-align: top; }
#codecs_table tr.selected { background: #eef2ff; }

#codecs_table.vl-codec-cards {
    display: block;
    border: 0;
}
#codecs_table.vl-codec-cards thead { display: none; }
#codecs_table.vl-codec-cards tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#codecs_table.vl-codec-cards tbody tr {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1.6fr) minmax(120px, 0.6fr) minmax(150px, 0.7fr) 52px;
    gap: 8px 14px;
    align-items: start;
    border: 1px solid #e2e8f0;
    border-left-width: 6px;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    cursor: pointer;
}
#codecs_table.vl-codec-cards tbody tr.is-online {
    border-color: #86efac;
    border-left-color: #16a34a;
    background: #f0fdf4;
}
#codecs_table.vl-codec-cards tbody tr.is-offline {
    border-color: #fda4af;
    border-left-color: #e11d48;
    background: #fff1f2;
}
#codecs_table.vl-codec-cards tbody tr.selected {
    outline: 2px solid #4f46e5;
    background: #eef2ff;
}
#codecs_table.vl-codec-cards tbody td {
    display: block;
    width: auto !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
#codecs_table.vl-codec-cards tbody td:first-child { display: none; }
@media (max-width: 1200px) {
    #codecs_table.vl-codec-cards tbody tr {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    #codecs_table.vl-codec-cards tbody td:nth-child(3) { grid-column: 1 / -1; }
}

.vl-list-meta {
    display: grid;
    gap: 3px;
    margin: 8px 0 0;
}

.vl-list-meta div {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
}

.vl-list-meta dt {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--vl-status-muted, #6b7280);
}

.vl-list-meta dd {
    margin: 0;
    color: var(--vl-status-ink, #1f2937);
    font-weight: 600;
    word-break: break-word;
}

.vl-list-place-title {
    font-weight: 700;
    color: var(--vl-status-ink, #1f2937);
}

.vl-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.vl-list-tags-label {
    width: 100%;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--vl-status-muted, #6b7280);
}

.vl-list-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.vl-list-room-status {
    min-width: 280px;
    width: 280px;
}

.vl-list-metrics {
    align-self: stretch;
    width: 100%;
    display: grid;
    gap: 4px;
    margin: 8px 0 0;
    text-align: left;
}

.vl-list-metrics div {
    display: grid;
    grid-template-columns: 72px minmax(140px, 1fr);
    gap: 10px;
    align-items: baseline;
}

.vl-list-metrics dt {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--vl-status-muted, #6b7280);
}

.vl-list-metrics dd {
    margin: 0;
    color: var(--vl-status-ink, #1f2937);
    font-weight: 600;
    white-space: nowrap;
}

.vl-list-status-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

.vl-list-status-since {
    color: #dc3545;
    font-size: 12px;
    font-weight: 700;
}

.vl-list-actions {
    display: flex;
    justify-content: center;
    gap: 6px;
}
#segments_table .vl-list-actions {
    flex-direction: column;
    align-items: center;
}

#codecs_table.vl-codec-cards .vl-list-actions {
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
#codecs_table.vl-codec-cards .vl-list-actions .btn,
#segments_table .vl-list-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    border-radius: 50%;
    line-height: 1;
    flex: 0 0 32px;
    box-shadow: none;
    background: #fff;
}
#codecs_table.vl-codec-cards .vl-list-actions .btn .fal,
#segments_table .vl-list-actions .btn .fal {
    font-size: 13px;
    line-height: 1;
}
#codecs_table.vl-codec-cards .vl-list-actions .btn-outline-secondary,
#segments_table .vl-list-actions .btn-outline-secondary,
#codecs_table.vl-inv-cards .vl-inv-actions .btn-outline-secondary {
    color: #475569;
    border-color: #cbd5e1;
}
#codecs_table.vl-codec-cards .vl-list-actions .btn-outline-secondary:hover,
#segments_table .vl-list-actions .btn-outline-secondary:hover,
#codecs_table.vl-inv-cards .vl-inv-actions .btn-outline-secondary:hover {
    color: #fff;
    background: #334155;
    border-color: #334155;
}
#codecs_table.vl-codec-cards .vl-list-actions .btn-outline-secondary:hover .fal,
#segments_table .vl-list-actions .btn-outline-secondary:hover .fal,
#codecs_table.vl-inv-cards .vl-inv-actions .btn-outline-secondary:hover .fal {
    color: #fff;
}
#codecs_table.vl-codec-cards .vl-list-actions .btn-outline-danger,
#codecs_table.vl-inv-cards .vl-inv-actions .btn-outline-danger {
    color: #e11d48;
    border-color: #fecdd3;
}
#codecs_table.vl-codec-cards .vl-list-actions .btn-outline-danger:hover,
#codecs_table.vl-inv-cards .vl-inv-actions .btn-outline-danger:hover {
    color: #fff;
    background: #e11d48;
    border-color: #e11d48;
}
#codecs_table.vl-codec-cards .vl-list-actions .btn-outline-danger:hover .fal {
    color: #fff;
}
#codecs_table.vl-codec-cards .vl-list-actions .btn-outline-success,
#segments_table .vl-list-actions .btn-outline-success {
    color: #15803d;
    border-color: #bbf7d0;
}
#codecs_table.vl-codec-cards .vl-list-actions .btn-outline-success:hover,
#segments_table .vl-list-actions .btn-outline-success:hover {
    color: #fff;
    background: #15803d;
    border-color: #15803d;
}
#codecs_table.vl-codec-cards .vl-list-actions .btn-outline-success:hover .fal,
#segments_table .vl-list-actions .btn-outline-success:hover .fal {
    color: #fff;
}

.vl-gozen-file {
    display: flex;
    align-items: center;
    gap: 8px;
}
.vl-gozen-name {
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-all;
    text-decoration: none;
}
.vl-gozen-name:hover {
    color: #1d4ed8;
    text-decoration: underline;
}
.vl-gozen {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.vl-gozen-fact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}
.vl-gozen-fact .fal { color: #475569; font-size: 12px; }
.vl-list-empty {
    color: #b0b7c3;
}

.vl-list-connectors {
    width: 100%;
    margin-top: 8px;
    text-align: left;
    font-size: 12.5px;
}

.vl-list-connectors-title {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--vl-status-ink, #1f2937);
}

#codecs_table .vl-list-status .vl-list-connectors {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#codecs_table .vl-macros-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 700;
    font-size: 12.5px;
    color: var(--vl-status-ink, #1f2937);
    cursor: pointer;
}
#codecs_table .vl-macros-toggle .fal {
    font-size: 13px;
}
#codecs_table .vl-macros-toggle:after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}
#codecs_table .vl-macros-toggle[aria-expanded="true"]:after {
    transform: rotate(-135deg) translateY(-1px);
}
#codecs_table .vl-macros-panel {
    display: none;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    text-align: center;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.35;
}
#codecs_table .vl-macros-panel,
#codecs_table .vl-macros-panel a,
#codecs_table .vl-macros-panel .is-on,
#codecs_table .vl-macros-panel a.is-on {
    color: #1f2937;
}
#codecs_table .vl-macros-toggle[aria-expanded="true"] + .vl-macros-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vl-list-connectors.is-center,
.vl-list-connectors.is-center .vl-list-connectors-title {
    text-align: center;
}

.vl-list-checks {
    font-size: 12.5px;
    text-align: left;
}

.vl-list-checks .is-on,
.vl-list-checks a.is-on {
    color: #1f8a4c;
}

.vl-list-checks .is-off {
    color: #dc3545;
}

#codecs_table .vl-net { margin-top: 8px; }
#codecs_table .vl-net-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 700;
    font-size: 12.5px;
    color: var(--vl-status-ink, #1f2937);
    cursor: pointer;
}
#codecs_table .vl-net-toggle .fal { font-size: 13px; }
#codecs_table .vl-net-toggle:after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}
#codecs_table .vl-net-toggle[aria-expanded="true"]:after {
    transform: rotate(-135deg) translateY(-1px);
}
#codecs_table .vl-net-panel { display: none; margin-top: 4px; }
#codecs_table .vl-net-toggle[aria-expanded="true"] + .vl-net-panel { display: grid; }

.vl-list-device-logo {
    display: block;
    height: 22px;
    width: auto;
    max-width: 96px;
    object-fit: contain;
}

.vl-list-device-photo {
    display: block;
    width: 72px;
    height: auto;
    margin-top: 6px;
    border-radius: 8px;
}

/* start page controltower */

    /* Barre de défilement discrète style clair */
    #sv-cockpit ::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }
    #sv-cockpit ::-webkit-scrollbar-track {
      background: #f1f5f9;
    }
    #sv-cockpit ::-webkit-scrollbar-thumb {
      background: #cbd5e1;
      border-radius: 4px;
    }
    #sv-cockpit ::-webkit-scrollbar-thumb:hover {
      background: #94a3b8;
    }
    .pulse-dot {
      box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
      animation: pulse 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
    }
    .pulse-danger {
      box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
      animation: pulseDanger 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
    }
    @keyframes pulse {
      to {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
      }
    }
    @keyframes pulseDanger {
      to {
        box-shadow: 0 0 0 9px rgba(239, 68, 68, 0);
      }
    }
  
#sv-cockpit, #sv-cockpit * { box-sizing: border-box; }
body.blur,
body.blur #js-page-content,
body.blur .page-content,
body.blur .page-content-wrapper,
body.blur .page-header,
body.blur .page-sidebar,
body.blur .page-footer,
.vl-secnav,
.toast {
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
main#js-page-content.page-content,
body #sv-cockpit,
body #sv-cockpit > div { background-color: #FBF8FA !important; }
.ct-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin: 0 0 12px; padding: 8px 10px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }
.ct-field { display: flex; flex-direction: column; gap: 2px; flex: 1 1 148px; min-width: 132px; max-width: 210px; margin: 0; }
.ct-field > span { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #64748b; line-height: 1.2; }
.ct-filter .select2-container { width: 100% !important; }
.ct-filter .select2-container--default .select2-selection--single { height: 30px; border-radius: 8px; border-color: #e2e8f0; background: #f8fafc; }
.ct-filter .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 28px; font-size: 12px; color: #0f172a; padding-left: 8px; padding-right: 22px; }
.ct-filter .select2-container--default .select2-selection--single .select2-selection__arrow { height: 28px; }
.ct-filter .select2-container--default .select2-selection--multiple { height: 30px; min-height: 30px; max-height: 30px; overflow: hidden; display: flex; align-items: center; padding: 0; border-radius: 8px; border-color: #e2e8f0; background: #f8fafc; }
.ct-filter .select2-container--default .select2-selection--multiple .select2-selection__rendered { display: flex; align-items: center; flex-wrap: nowrap; width: 100%; min-width: 0; height: 28px; margin: 0; padding: 0 6px; overflow: hidden; }
.ct-filter .select2-container--default .select2-selection--multiple .select2-selection__choice { float: none; display: inline-flex; align-items: center; flex: 0 0 auto; max-width: 100%; margin: 0 4px 0 0; padding: 0 4px; height: 20px; line-height: 18px; font-size: 12px; overflow: hidden; white-space: nowrap; }
.ct-filter .select2-container--default .select2-selection--multiple .select2-selection__choice__remove { flex: 0 0 auto; margin-right: 3px; }
.ct-filter .select2-container--default .select2-selection--multiple .select2-selection__placeholder { margin: 0; line-height: 28px; }
.ct-filter .select2-container--default .select2-search--inline { float: none; display: flex; align-items: center; flex: 0 0 auto; height: 20px; }
.ct-filter .select2-container--default .select2-search--inline .select2-search__field { margin: 0 !important; height: 18px; line-height: 18px; font-size: 12px; width: 0 !important; min-width: 0 !important; padding: 0; }
.ct-filter .select2-container--open .select2-selection--multiple .select2-search--inline { flex: 1 0 48px; }
.ct-filter .select2-container--open .select2-selection--multiple .select2-search--inline .select2-search__field { width: 100% !important; min-width: 48px !important; }
.ct-filter-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: 0 0 auto; padding-bottom: 0; }
.ct-filter-actions .ct-filter-btn { width: 30px; min-width: 30px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; line-height: 1; }
.ct-filter-actions .ct-filter-btn svg { width: 14px; height: 14px; }
.ct-filter-actions .ct-search-spinner { margin-right: 0; }
.ct-search-icon[hidden] { display: none !important; }
.tc-tools { gap: 8px; }
.tc-chip { display: inline-flex; align-items: center; gap: 6px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 6px 10px; font-size: 12px; color: #0f172a; white-space: nowrap; }
.tc-chip span { font-weight: 600; }
.tc-chip b { font-family: ui-monospace, monospace; font-weight: 700; }
.tc-chip i { color: #94a3b8; font-style: normal; }
.tc-chip svg, .tc-sync svg { width: 14px; height: 14px; }
.tc-chip svg { color: #0891b2; }
.tc-sync { display: inline-flex; align-items: center; gap: 6px; background: #4f46e5; color: #fff; border: 0; border-radius: 8px; padding: 6px 10px; font-size: 12px; font-weight: 600; }
.tc-sync:hover { background: #4338ca; }
.tc-sync .animate-spin { animation: tc-spin .7s linear infinite; }
.ct-board-loader { display: inline-flex; align-items: center; margin-left: 8px; vertical-align: middle; }
.ct-board-loader[hidden], .ct-search-spinner[hidden] { display: none !important; }
.ct-board-spinner, .ct-search-spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(79, 70, 229, 0.25); border-top-color: #4f46e5; border-radius: 50%; animation: tc-spin .7s linear infinite; vertical-align: -2px; }
.ct-search-spinner { width: 12px; height: 12px; margin-right: 6px; border-color: rgba(255, 255, 255, 0.35); border-top-color: #fff; vertical-align: -1px; }
#ct-search-btn:disabled { opacity: 0.85; cursor: default; }
#sv-cockpit #actionModal,
#sv-cockpit #cityRoomsModal {
  z-index: 5000 !important;
}
#sv-cockpit #actionModal h3,
#sv-cockpit #actionModal h4,
#sv-cockpit #actionModal p,
#sv-cockpit #cityRoomsModal h3,
#sv-cockpit #cityRoomsModal p {
  margin: 0;
}
#sv-cockpit #actionModal button,
#sv-cockpit #cityRoomsModal button {
  font-family: inherit;
  line-height: 1.2;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}
body #sv-cockpit #actionModal #modalServiceList [class*="text-[9px]"],
body #sv-cockpit #actionModal #modalServiceList [class*="text-[10px]"],
body #sv-cockpit #actionModal #modalServiceList [class*="text-[11px]"],
body #sv-cockpit #cityRoomsModal [class*="text-[9px]"],
body #sv-cockpit #cityRoomsModal [class*="text-[10px]"],
body #sv-cockpit #cityRoomsModal [class*="text-[11px]"] {
  font-size: 12px !important;
  line-height: 1.35 !important;
}
body #sv-cockpit #actionModal #modalServiceList .leading-tight > .truncate {
  font-size: 14px !important;
  line-height: 1.35 !important;
}
@keyframes tc-spin { to { transform: rotate(360deg); } }
body #sv-cockpit #sv-kpis { background: transparent !important; box-shadow: none !important; }
body #sv-cockpit #sv-kpis > div > div { padding: 12px 14px !important; }
body #sv-cockpit #sv-kpis [class*="text-[9px]"] { font-size: 12px !important; line-height: 1.25 !important; color: #0f172a !important; }
body #sv-cockpit #sv-kpis [class*="text-[10px]"],
body #sv-cockpit #sv-kpis [class*="text-[11px]"] { font-size: 12px !important; line-height: 1.25 !important; color: #0f172a !important; }
body #sv-cockpit #sv-kpis [class*="text-xs"] { font-size: 16px !important; line-height: 1.15 !important; }
body #sv-cockpit #sv-kpis [class*="text-xl"],
body #sv-cockpit #sv-kpis [class*="text-2xl"] { font-size: 24px !important; line-height: 1.1 !important; }
body #sv-cockpit #sv-kpis [class*="w-6"][class*="h-6"] { width: 26px !important; height: 26px !important; }
body #sv-cockpit #sv-kpis [class*="w-6"][class*="h-6"] svg { width: 15px !important; height: 15px !important; }
/* end page controltower */

#codecs_table.vl-inv-cards {
    display: block;
    border: 0;
}
#codecs_table.vl-inv-cards thead { display: none; }
#codecs_table.vl-inv-cards tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#codecs_table.vl-inv-cards tbody tr {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(260px, 1.6fr) minmax(150px, 0.8fr) minmax(140px, 0.7fr) 44px;
    gap: 8px 16px;
    align-items: start;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}
#codecs_table.vl-inv-cards tbody td {
    display: block;
    width: auto !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    vertical-align: top;
}
#codecs_table.vl-inv-cards tbody td:first-child { display: none; }
#codecs_table.vl-inv-cards tbody td.vl-inv-extra { grid-column: 1 / 5; }
#codecs_table.vl-inv-cards tbody td.vl-inv-extra:not(:has(.vl-inv-fields)) { display: none; }
#codecs_table.vl-inv-cards .vl-inv-actions {
    grid-column: 5;
    grid-row: 1;
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
#codecs_table.vl-inv-cards .vl-inv-kicker {
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6b7280;
}
#codecs_table.vl-inv-cards .vl-inv-fields {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 2px 0 0;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}
#codecs_table.vl-inv-cards .vl-inv-fields div {
    display: grid;
    grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
}
#codecs_table.vl-inv-cards .vl-inv-fields dt {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #6b7280;
}
#codecs_table.vl-inv-cards .vl-inv-fields dd {
    margin: 0;
    font-weight: 600;
    color: #1f2937;
    word-break: break-word;
}
#codecs_table.vl-inv-cards .vl-inv-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    border-radius: 50%;
    line-height: 1;
    flex: 0 0 32px;
    background: #fff;
    box-shadow: none;
}
#codecs_table.vl-inv-cards .vl-inv-actions .btn .fal { font-size: 13px; line-height: 1; }
@media (max-width: 1100px) {
    #codecs_table.vl-inv-cards tbody tr {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    #codecs_table.vl-inv-cards .vl-inv-actions,
    #codecs_table.vl-inv-cards tbody td.vl-inv-extra {
        grid-column: auto;
        grid-row: auto;
    }
    #codecs_table.vl-inv-cards tbody td.vl-inv-extra { grid-column: 1 / -1; }
}

.vl-crumb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 12px;
}
.vl-crumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}
.vl-crumb li {
    display: inline-flex;
    align-items: center;
}
.vl-crumb li + li::before {
    content: ">";
    margin: 0 8px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}
.vl-crumb-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}
.vl-crumb-item .fal { font-size: 12px; color: #94a3b8; }
.vl-crumb li[aria-current="page"] .vl-crumb-item {
    background: #1e293b;
    border-color: #1e293b;
    color: #fff;
}
.vl-crumb-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.vl-crumb-date .fal { font-size: 12px; color: #94a3b8; }
@media (max-width: 575px) {
    .vl-crumb-date { display: none; }
}

.vl-head-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
}
.vl-head-dl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}
.vl-head-dl:hover {
    color: #0f172a;
    border-color: #cbd5e1;
    text-decoration: none;
}
.vl-head-dl .fa-download { color: #64748b; font-size: 11px; }
.vl-head-sub {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 6px;
    padding: 0 2px;
    color: #5c3450;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}
.vl-head-sub:hover { color: #754467; text-decoration: underline; }
.vl-head-sub .fa-angle-right { font-size: 11px; }
.page-sidebar .nav-filter.vl-nav-search {
    display: block !important;
    position: sticky;
    top: 0;
    z-index: 6;
    height: auto !important;
    margin: 0;
    padding: 14px 16px 10px;
    background: #754467;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    transform: none !important;
    box-shadow: none !important;
}
.nav-function-minify .page-sidebar .nav-filter.vl-nav-search,
.nav-function-top .page-sidebar .nav-filter.vl-nav-search {
    display: none !important;
}
.vl-nav-search .position-relative { position: relative; }
.vl-nav-search .fa-search {
    position: absolute;
    top: 50%;
    left: 12px;
    z-index: 2;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    transform: translateY(-50%);
    pointer-events: none;
}
.page-sidebar .vl-nav-search input[type=text] {
    width: 100% !important;
    height: 38px;
    padding: 0 34px !important;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12) !important;
    color: #fff !important;
    font-size: 14px;
    box-shadow: none;
}
.page-sidebar .vl-nav-search input[type=text]::placeholder { color: rgba(255, 255, 255, .62); }
.page-sidebar .vl-nav-search input[type=text]:focus {
    border-color: rgba(255, 255, 255, .55) !important;
    background: rgba(255, 255, 255, .18) !important;
}
.vl-nav-search-clear {
    display: none;
    position: absolute;
    top: 50%;
    right: 6px;
    z-index: 2;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}
.vl-nav-search-clear.is-on { display: inline-flex; align-items: center; justify-content: center; }
.vl-nav-search-clear:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.page-sidebar .nav-menu .js-filter-hide {
    display: none !important;
}
.page-sidebar .nav-menu .js-filter-show {
    display: block !important;
}
body:not(.nav-function-minify):not(.nav-function-top) .page-sidebar .nav-menu li a {
    padding: 1rem 1.75rem;
    font-size: 0.9375rem;
}
body:not(.nav-function-minify):not(.nav-function-top) .page-sidebar .nav-menu li a > .ni,
body:not(.nav-function-minify):not(.nav-function-top) .page-sidebar .nav-menu li a > [class*=fa-] {
    font-size: 1.2rem;
    width: 1.85rem;
}
body:not(.nav-function-minify):not(.nav-function-top) .page-sidebar .nav-menu li > ul li a {
    padding: 0.9rem 1.75rem 0.9rem 3.4rem;
    font-size: 0.9rem;
}
.vl-profile.dropdown-menu {
    width: 280px;
    min-width: 280px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}
.vl-profile-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    padding: 12px;
    border-radius: 12px;
    background: #f8fafc;
}
.vl-profile-head img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 44px;
}
.vl-profile-id { min-width: 0; }
.vl-profile-name {
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vl-profile-mail {
    margin-top: 2px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vl-profile .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    margin-top: 2px;
    padding: 0 12px;
    border-radius: 10px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}
.vl-profile .dropdown-item .fal {
    width: 16px;
    color: #64748b;
    font-size: 14px;
    text-align: center;
}
.vl-profile .dropdown-item:hover,
.vl-profile .dropdown-item:focus {
    background: #f1f5f9;
    color: #0f172a;
    text-decoration: none;
}
.vl-profile .dropdown-item:hover .fal,
.vl-profile .dropdown-item:focus .fal { color: #0f172a; }
.vl-profile .dropdown-item.is-logout { color: #be123c; }
.vl-profile .dropdown-item.is-logout .fal { color: #be123c; }
.vl-profile .dropdown-item.is-logout:hover,
.vl-profile .dropdown-item.is-logout:focus {
    background: #fff1f2;
    color: #9f1239;
}
.vl-profile .dropdown-item.is-logout:hover .fal,
.vl-profile .dropdown-item.is-logout:focus .fal { color: #9f1239; }

.vl-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 14px 0 4px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}
.vl-pager-info {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}
.vl-pager-info b {
    color: #0f172a;
    font-weight: 700;
}
.vl-pager-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}
.vl-pager-pages a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}
.vl-pager-pages a:hover {
    color: #0f172a;
    border-color: #cbd5e1;
    text-decoration: none;
}
.vl-pager-pages a.is-current {
    background: #1e293b;
    border-color: #1e293b;
    color: #fff;
}
.vl-pager-gap {
    color: #94a3b8;
    padding: 0 2px;
    font-weight: 700;
}
.page-footer .vl-page-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b089b0;
    font-size: 12px;
    font-weight: 500;
}
.page-footer .vl-page-foot a[target]:not(.btn),
.page-footer .vl-page-foot a[target]:not(.btn):hover,
.page-footer .vl-page-foot a[target]:not(.btn):focus,
.page-footer .vl-page-foot a[target]:not(.btn):visited,
.page-footer .vl-page-foot a[target]:not(.btn):active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b089b0 !important;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
}
.page-footer .vl-page-foot a i { color: #b089b0; font-size: 11px; }
.page-footer .vl-page-foot-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #b089b0;
}
.page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.page-footer .vl-page-load {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    color: #b089b0;
    font-size: 12px;
    font-weight: 500;
}
.page-footer .vl-page-load i { font-size: 12px; }
.dataTables_wrapper .dataTables_info {
    padding-top: 12px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}
.dataTables_wrapper .dataTables_paginate .pagination {
    gap: 4px;
}
.dataTables_wrapper .dataTables_paginate .page-link {
    min-width: 32px;
    height: 32px;
    margin: 0 2px;
    padding: 0 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px !important;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
}
.dataTables_wrapper .dataTables_paginate .page-item.active .page-link {
    background: #1e293b;
    border-color: #1e293b;
    color: #fff;
}

.dataTables_wrapper .dt-buttons,
.vl-codec-toolbar .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    float: none;
    gap: 6px;
    margin: 0 0 12px;
}
.panel-toolbar .vl-codec-toolbar.dataTables_wrapper {
    width: auto;
    flex: 0 0 auto;
}
.panel-toolbar .vl-codec-toolbar .dt-buttons {
    margin: 0;
}
.dataTables_wrapper .dt-buttons .btn,
.vl-codec-toolbar .dt-buttons .btn.vl-dt-btn {
    display: inline-flex;
    align-items: center;
    float: none;
    gap: 6px;
    height: 32px;
    margin: 0 !important;
    padding: 0 11px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
}
.dataTables_wrapper .dt-buttons .btn:hover,
.vl-codec-toolbar .dt-buttons .btn.vl-dt-btn:hover {
    color: #0f172a;
    border-color: #cbd5e1;
    background: #fff;
}
.dataTables_wrapper .dt-buttons .btn > span,
.vl-codec-toolbar .dt-buttons .btn.vl-dt-btn > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.dataTables_wrapper .dt-buttons .btn .fal,
.dataTables_wrapper .dt-buttons .btn .fas,
.dataTables_wrapper .dt-buttons .btn .far,
.vl-codec-toolbar .dt-buttons .btn.vl-dt-btn .fal { font-size: 12px; }
.dataTables_wrapper .dt-buttons .badge,
.vl-codec-toolbar .vl-dt-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    margin: 0;
    padding: 0 5px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 11px;
    font-weight: 700;
}
.dataTables_wrapper .dt-buttons .btn.btn-success,
.dataTables_wrapper .dt-buttons .btn.vl-dt-btn.is-add {
    background: #047857;
    border-color: #047857;
    color: #fff;
}
.dataTables_wrapper .dt-buttons .btn.btn-success:hover,
.dataTables_wrapper .dt-buttons .btn.vl-dt-btn.is-add:hover { background: #065f46; border-color: #065f46; color: #fff; }
.dataTables_wrapper .dt-buttons .btn.btn-success ~ .btn.btn-success,
.dataTables_wrapper .dt-buttons .btn.vl-dt-btn.is-import {
    color: #047857;
    border-color: #a7f3d0;
    background: #ecfdf5;
}
.dataTables_wrapper .dt-buttons .btn.btn-success ~ .btn.btn-success:hover,
.dataTables_wrapper .dt-buttons .btn.vl-dt-btn.is-import:hover {
    color: #065f46;
    border-color: #6ee7b7;
    background: #ecfdf5;
}
.dataTables_wrapper .dt-buttons .btn.vl-dt-btn.is-job { color: #5c3450; border-color: #e4d4df; background: #faf6f8; }
.dataTables_wrapper .dt-buttons .btn.vl-dt-btn.is-job:hover { color: #5c3450; background: #faf6f8; }
.dataTables_wrapper .dt-buttons .btn.btn-primary,
.dataTables_wrapper .dt-buttons .btn.vl-dt-btn.is-edit { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }
.dataTables_wrapper .dt-buttons .btn.btn-primary:hover,
.dataTables_wrapper .dt-buttons .btn.vl-dt-btn.is-edit:hover { color: #1e40af; background: #eff6ff; }
.dataTables_wrapper .dt-buttons .btn.btn-danger,
.dataTables_wrapper .dt-buttons .btn.vl-dt-btn.is-danger { color: #be123c; border-color: #fecdd3; background: #fff1f2; }
.dataTables_wrapper .dt-buttons .btn.btn-danger:hover,
.dataTables_wrapper .dt-buttons .btn.vl-dt-btn.is-danger:hover { color: #9f1239; background: #fff1f2; }
.dataTables_wrapper .dt-buttons .btn.btn-outline-success,
.dataTables_wrapper .dt-buttons .btn.vl-dt-btn.is-export { color: #334155; background: #fff; border-color: #e2e8f0; }
.dataTables_wrapper .dt-buttons .btn.btn-outline-success:hover,
.dataTables_wrapper .dt-buttons .btn.vl-dt-btn.is-export:hover { color: #0f172a; background: #fff; border-color: #cbd5e1; }
.dataTables_wrapper .dt-buttons .btn.btn-outline-secondary,
.dataTables_wrapper .dt-buttons .btn.btn-secondary,
.dataTables_wrapper .dt-buttons .btn.btn-default,
.dataTables_wrapper .dt-buttons .btn.vl-dt-btn.is-quiet { color: #64748b; background: transparent; }
.dataTables_wrapper .dt-buttons .btn.btn-outline-secondary:hover,
.dataTables_wrapper .dt-buttons .btn.btn-secondary:hover,
.dataTables_wrapper .dt-buttons .btn.btn-default:hover,
.dataTables_wrapper .dt-buttons .btn.vl-dt-btn.is-quiet:hover { color: #0f172a; background: #fff; }
.vl-codec-toolbar .btn.is-split { margin-left: 8px !important; }
th.vl-job-status-col,
td.vl-job-status-col {
    text-align: center;
    vertical-align: middle;
}
td.vl-job-status-col .vl-job-actions,
td.vl-job-status-col .vl-job-duration {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
.vl-job-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}
.vl-job-duration {
    display: flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    margin-top: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}
.vl-job-duration .fal { font-size: 11px; }
.vl-job-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}
.vl-job-act {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 26px;
    padding: 0 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}
.vl-job-act:hover { color: #0f172a; border-color: #cbd5e1; text-decoration: none; }
.vl-job-act .fal { font-size: 11px; }
.vl-job-act.is-info { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }
.vl-job-act.is-info:hover { color: #1e40af; }
.vl-job-act.is-edit { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }
.vl-job-act.is-edit:hover { color: #1e40af; }
.vl-job-act.is-danger { color: #be123c; border-color: #fecdd3; background: #fff1f2; }
.vl-job-act.is-danger:hover { color: #9f1239; }
.vl-job-act.is-ok { color: #047857; border-color: #a7f3d0; background: #ecfdf5; }
.vl-job-act.is-ok:hover { color: #065f46; }
.dataTables_wrapper .dt-buttons .btn.disabled,
.dataTables_wrapper .dt-buttons .btn:disabled,
.vl-codec-toolbar .btn.vl-dt-btn.disabled,
.vl-codec-toolbar .btn.vl-dt-btn:disabled {
    opacity: 0.45;
    pointer-events: none;
}

.vl-ai {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1030;
    font-size: 14px;
    line-height: 1.4;
}
.vl-ai-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #754467;
    color: #fff;
    box-shadow: 0 10px 24px rgba(117, 68, 103, 0.35);
    cursor: pointer;
}
.vl-ai-fab:hover,
.vl-ai-fab:focus { background: #5c3450; color: #fff; outline: none; }
.vl-ai-fab .fal { font-size: 20px; }
.vl-ai-panel {
    position: absolute;
    right: 0;
    bottom: 64px;
    display: flex;
    flex-direction: column;
    width: 380px;
    height: 560px;
    height: min(560px, calc(100vh - 110px));
    max-height: calc(100vh - 110px);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}
.vl-ai-panel[hidden] { display: none !important; }
.vl-ai-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px 12px 14px;
    background: #754467;
    color: #fff;
}
.vl-ai-id {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.vl-ai-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
}
.vl-ai-id strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}
.vl-ai-sub {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    font-weight: 600;
}
.vl-ai-tools { display: flex; align-items: center; gap: 4px; }
.vl-ai-plugins {
    height: 28px;
    max-width: 108px;
    margin: 0;
    padding: 0 6px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}
.vl-ai-plugins:focus { outline: none; border-color: #fff; }
.vl-ai-plugins option { color: #1e293b; background: #fff; }
.vl-ai-plugin {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}
.vl-ai-plugin[hidden] { display: none !important; }
.vl-ai-plugin-title {
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
}
.vl-ai-plugin label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}
.vl-ai-plugin input,
.vl-ai-plugin textarea {
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
}
.vl-ai-plugin input { height: 34px; padding: 0 10px; }
.vl-ai-plugin textarea {
    min-height: 72px;
    resize: vertical;
    line-height: 1.4;
}
.vl-ai-plugin input:focus,
.vl-ai-plugin textarea:focus { border-color: #754467; outline: none; }
.vl-ai-plugin-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.vl-ai-plugin-cancel,
.vl-ai-plugin-run {
    height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.vl-ai-plugin-cancel {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
}
.vl-ai-plugin-run {
    border: 0;
    background: #754467;
    color: #fff;
}
.vl-ai-tool {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.vl-ai-tool:hover,
.vl-ai-tool:focus { background: rgba(255, 255, 255, 0.16); outline: none; }
.vl-ai-log {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 14px;
    background: #f8fafc;
}
.vl-ai-empty {
    margin: 0 8px 14px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
}
.vl-ai-empty:first-child { margin-top: 18px; }
.vl-ai-empty:last-child { margin-bottom: 8px; }
.vl-ai-msg { display: flex; margin-bottom: 10px; }
.vl-ai-msg.is-user { justify-content: flex-end; }
.vl-ai-bubble {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 13px;
    line-height: 1.45;
}
.vl-ai-msg.is-user .vl-ai-bubble {
    background: #754467;
    color: #fff;
    border-bottom-right-radius: 4px;
}
.vl-ai-msg.is-assistant .vl-ai-bubble {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #1e293b;
    border-bottom-left-radius: 4px;
}
.vl-ai-bubble.is-html {
    max-width: 100%;
    white-space: normal;
    overflow-x: auto;
}
.vl-ai-bubble.is-html p {
    margin: 0 0 6px;
}
.vl-ai-bubble.is-html p:last-child {
    margin-bottom: 0;
}
.vl-ai-bubble.is-html table {
    width: max-content;
    min-width: 100%;
    margin-top: 6px;
    border-collapse: collapse;
    font-size: 11px;
}
.vl-ai-bubble.is-html th,
.vl-ai-bubble.is-html td {
    border: 1px solid #e2e8f0;
    padding: 3px 6px;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}
.vl-ai-bubble.is-html th {
    background: #f8fafc;
    font-weight: 700;
}
.vl-ai-status-missing {
    color: #dc2626;
    font-weight: 700;
}
.vl-ai-xapi-command {
    margin: 0 0 10px;
}
.vl-ai-xapi-command-label {
    display: block;
    margin: 0 0 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.vl-ai-xapi-command-value {
    display: block;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}
.vl-ai-xapi-summary {
    margin: 0 0 8px;
    font-weight: 600;
}
.vl-ai-bubble.is-html .vl-ai-help-lead {
    margin: 0 0 10px;
    color: #334155;
    font-size: 13px;
    line-height: 1.45;
}
.vl-ai-bubble.is-html .vl-ai-help-kicker {
    margin: 0 0 8px;
    color: #754467;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.vl-ai-bubble.is-html .vl-ai-help-item {
    margin: 0 0 6px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
.vl-ai-bubble.is-html .vl-ai-help-item:last-child {
    margin-bottom: 0;
}
.vl-ai-bubble.is-html .vl-ai-help-item summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}
.vl-ai-bubble.is-html .vl-ai-help-item summary::-webkit-details-marker {
    display: none;
}
.vl-ai-bubble.is-html .vl-ai-help-item summary .fal {
    color: #754467;
    font-size: 14px;
}
.vl-ai-bubble.is-html .vl-ai-help-item summary::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: auto;
    border-right: 1.5px solid #754467;
    border-bottom: 1.5px solid #754467;
    transform: rotate(45deg);
}
.vl-ai-bubble.is-html .vl-ai-help-item[open] summary {
    background: #faf6f8;
}
.vl-ai-bubble.is-html .vl-ai-help-item[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}
.vl-ai-bubble.is-html .vl-ai-help-item p {
    margin: 0;
    padding: 0 12px 10px 32px;
    color: #475569;
    font-size: 12px;
    line-height: 1.45;
}
.vl-ai-bubble.is-html .vl-ai-help-examples-label {
    padding-bottom: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}
.vl-ai-bubble.is-html .vl-ai-help-examples {
    margin: 0;
    padding: 0 12px 10px 32px;
    list-style: none;
}
.vl-ai-bubble.is-html .vl-ai-help-examples li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 4px;
    padding: 6px 8px;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    line-height: 1.35;
}
.vl-ai-bubble.is-html .vl-ai-help-examples li::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    margin-top: 5px;
    border-radius: 50%;
    background: #754467;
}
.vl-ai-bubble.is-html .vl-ai-help-examples li:last-child {
    margin-bottom: 0;
}
.vl-ai-bubble.is-html .vl-ai-help-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}
.vl-ai-bubble.is-html .vl-ai-help-close {
    height: 32px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.vl-ai-bubble.is-html .vl-ai-help-close:hover,
.vl-ai-bubble.is-html .vl-ai-help-close:focus {
    border-color: #cbd5e1;
    background: #f8fafc;
    outline: none;
}
.vl-ai-bubble.is-html .vl-ai-xapi-job {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin: 0 0 10px;
}
.vl-ai-bubble.is-html .vl-ai-xapi-job > .vl-ai-action {
    flex: 0 0 auto;
    margin-left: auto;
}
.vl-ai-xapi-job-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    color: #15803d;
    font-size: 13px;
    font-weight: 700;
}
.vl-ai-bubble.is-html a {
    color: #754467;
}
.vl-ai-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 8px;
}
.vl-ai-toolbar .vl-ai-filters {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}
.vl-ai-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 6px;
    margin-left: auto;
}
.vl-ai-bubble.is-html a.vl-ai-action,
.vl-ai-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    margin: 0 !important;
    padding: 0 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #334155 !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: none;
    white-space: nowrap;
}
.vl-ai-bubble.is-html a.vl-ai-action:hover,
.vl-ai-bubble.is-html a.vl-ai-action:focus,
.vl-ai-action:hover,
.vl-ai-action:focus {
    color: #0f172a !important;
    border-color: #cbd5e1;
    background: #f8fafc;
    text-decoration: none !important;
}
.vl-ai-bubble.is-html a.vl-ai-action.is-details {
    color: #5c3450 !important;
    border-color: #e4d4df;
    background: #faf6f8;
}
.vl-ai-bubble.is-html a.vl-ai-action.is-details:hover,
.vl-ai-bubble.is-html a.vl-ai-action.is-details:focus {
    color: #46263d !important;
    border-color: #d2b8c9;
    background: #f3ebf0;
}
.vl-ai-action .fal {
    font-size: 11px;
}
.vl-ai-pager {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 0 8px;
}
.vl-ai-page {
    height: 28px;
    padding: 0 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}
.vl-ai-page:disabled {
    opacity: 0.4;
    cursor: default;
}
.vl-ai-page-label {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}
.vl-ai-filters,
.vl-ai-request {
    margin: 0 0 8px;
    color: #64748b;
    font-size: 11px;
}
.vl-ai-filters summary,
.vl-ai-request summary {
    cursor: pointer;
    font-weight: 700;
    user-select: none;
}
.vl-ai-filters pre,
.vl-ai-request pre {
    margin: 6px 0 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
}
.vl-ai-msg.is-error .vl-ai-bubble {
    border: 1px solid #fecdd3;
    background: #fff1f2;
    color: #9f1239;
}
.vl-ai-dots { display: inline-flex; gap: 4px; align-items: center; height: 16px; }
.vl-ai-stop {
    margin-left: 10px;
    border: 0;
    background: transparent;
    color: #9f1239;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}
.vl-ai-stop:hover,
.vl-ai-stop:focus { color: #881337; outline: none; }
.vl-ai-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    animation: vl-ai-blink 1s infinite ease-in-out;
}
.vl-ai-dots i:nth-child(2) { animation-delay: 0.15s; }
.vl-ai-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes vl-ai-blink {
    0%, 80%, 100% { opacity: 0.25; }
    40% { opacity: 1; }
}
.vl-ai-form {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}
.vl-ai-input {
    flex: 1 1 auto;
    min-height: 40px;
    max-height: 120px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #1e293b;
    font-size: 13px;
    line-height: 1.4;
    resize: none;
    outline: none;
    box-shadow: none;
}
.vl-ai-input:focus { border-color: #754467; }
.vl-ai-send {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: #754467;
    color: #fff;
    cursor: pointer;
}
.vl-ai-send:hover,
.vl-ai-send:focus { background: #5c3450; outline: none; }
.vl-ai-send:disabled,
.vl-ai-input:disabled { opacity: 0.55; cursor: default; }
body.vl-exporting #vl-ai-chat { display: none !important; }
@media print {
    #vl-ai-chat { display: none !important; }
}
@media (max-width: 480px) {
    .vl-ai { right: 12px; bottom: 12px; }
    .vl-ai-panel { width: calc(100vw - 24px); }
}
.vl-ai.is-full:has(.vl-ai-panel:not([hidden])) .vl-ai-fab { display: none; }
.vl-ai.is-full .vl-ai-panel:not([hidden]) {
    position: fixed;
    top: 16px;
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
    height: auto;
    max-height: none;
    z-index: 1040;
}

