/* ==========================================================================
   FILA DE ESPERA - DESIGN REFINADO v2
   Superfície operacional do administrativo
   Melhorias: glassmorphism, micro-interações, hierarquia visual aprimorada
   ========================================================================== */

:root {
    --wl-brand: var(--primary-color, #f67537);
    --wl-brand-strong: var(--primary-dark, #dd5d22);
    --wl-surface: var(--card-bg, #ffffff);
    --wl-surface-soft: var(--bg-secondary, #f8fafc);
    --wl-border: var(--border-color, rgba(148, 163, 184, 0.12));
    --wl-text: var(--text-primary, #111827);
    --wl-text-soft: var(--text-secondary, #64748b);
    --wl-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.06);
    --wl-shadow-md: 0 4px 6px rgba(15, 23, 42, 0.04), 0 2px 4px rgba(15, 23, 42, 0.06);
    --wl-shadow-lg: 0 10px 15px rgba(15, 23, 42, 0.05), 0 4px 6px rgba(15, 23, 42, 0.05);
    --wl-shadow-hover: 0 8px 25px rgba(246, 117, 55, 0.10), 0 4px 10px rgba(15, 23, 42, 0.06);
    --wl-radius-sm: 8px;
    --wl-radius-md: 12px;
    --wl-radius-lg: 16px;
    --wl-glow-brand: 0 0 20px rgba(246, 117, 55, 0.08);
    --wl-transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   LAYOUT PRINCIPAL
   ========================================================================== */

.wl-main-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    animation: wlFadeIn 0.35s var(--wl-transition);
}

.wl-secondary-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@keyframes wlFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wlSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wlPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ==========================================================================
   LINK PANEL (COMPACTO) - GLASS CARD
   ========================================================================== */

.wl-inline-link-panel {
    position: relative;
    background: var(--wl-surface);
    border: 1px solid var(--wl-border);
    box-shadow: var(--wl-shadow-sm), var(--wl-glow-brand);
    border-radius: var(--wl-radius-md);
    padding: 0.95rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background-image:
        linear-gradient(135deg,
            rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.05),
            rgba(59, 130, 246, 0.03));
    transition: box-shadow 0.3s var(--wl-transition), transform 0.3s var(--wl-transition);
}

.wl-inline-link-panel:hover {
    box-shadow: var(--wl-shadow-md), var(--wl-glow-brand);
    transform: translateY(-1px);
}

.wl-inline-link-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wl-brand), rgba(246, 117, 55, 0.3));
    border-radius: var(--wl-radius-md) var(--wl-radius-md) 0 0;
    opacity: 0.6;
}

.wl-inline-link-head {
    display: grid;
    grid-template-columns: minmax(220px, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    flex: 1;
    min-width: 0;
}

.wl-inline-link-copy {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
}

.wl-inline-link-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.wl-link-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    color: var(--wl-text-soft);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.25s var(--wl-transition);
}

.wl-link-badge.is-ready {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.08);
}

.wl-link-badge.is-pending {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.08);
}

.wl-link-badge.is-saving {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.08);
}

.wl-link-badge.is-error {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.08);
}

.wl-inline-link-head h3 {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--wl-text);
}

.wl-inline-link-head p {
    margin: 0;
    color: var(--wl-text-soft);
    font-size: 0.8rem;
    line-height: 1.4;
}

.wl-inline-link-url {
    min-width: 0;
    flex: 1;
}

.wl-inline-link-url code {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: var(--wl-radius-sm);
    background: var(--wl-surface-soft);
    color: var(--wl-text);
    font-size: 0.82rem;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    border: 1px solid var(--wl-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: border-color 0.2s var(--wl-transition), background 0.2s var(--wl-transition);
}

.wl-inline-link-url code:hover {
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.2);
    background: var(--wl-surface);
}

.wl-link-actions--compact {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.wl-link-actions--compact .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--wl-radius-sm);
    transition: all 0.25s var(--wl-transition);
}

.wl-link-actions--compact .btn:hover {
    transform: scale(1.08);
}

.wl-config-link--compact {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.85rem;
    border-radius: var(--wl-radius-sm);
    text-decoration: none;
    color: var(--wl-brand);
    background: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.08);
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s var(--wl-transition);
}

.wl-config-link--compact:hover {
    background: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.12);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(246, 117, 55, 0.12);
}

/* ==========================================================================
   KPI CARDS - GLASS COM GRADIENTE
   ========================================================================== */

.wl-kpis {
    margin-bottom: 0;
    animation: wlSlideUp 0.4s var(--wl-transition);
}

.wl-kpi-card {
    position: relative;
    background: var(--wl-surface);
    border: 1px solid var(--wl-border);
    box-shadow: var(--wl-shadow-sm);
    border-radius: var(--wl-radius-md);
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 72px;
    transition: box-shadow 0.3s var(--wl-transition), transform 0.3s var(--wl-transition);
    overflow: hidden;
}

.wl-kpi-card:hover {
    box-shadow: var(--wl-shadow-hover);
    transform: translateY(-2px);
}

.wl-kpi-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    opacity: 0.04;
    pointer-events: none;
}

.wl-kpi-card:nth-child(1)::after {
    background: radial-gradient(circle, #3b82f6, transparent 70%);
}

.wl-kpi-card:nth-child(2)::after {
    background: radial-gradient(circle, #8b5cf6, transparent 70%);
}

.wl-kpi-card:nth-child(3)::after {
    background: radial-gradient(circle, #f59e0b, transparent 70%);
}

.wl-kpi-card:nth-child(4)::after {
    background: radial-gradient(circle, #10b981, transparent 70%);
}

.wl-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--wl-radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wl-kpi-icon.people {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.wl-kpi-icon.service {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.wl-kpi-icon.wait {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.wl-kpi-icon.done {
    background: linear-gradient(135deg, #10b981, #059669);
}

.wl-kpi-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    position: relative;
    z-index: 1;
}

.wl-kpi-copy strong {
    color: var(--wl-text);
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.wl-kpi-copy span {
    color: var(--wl-text-soft);
    font-weight: 500;
    font-size: 0.8rem;
}

/* ==========================================================================
   FILTRO - REFINADO
   ========================================================================== */

.wl-filter-card {
    position: relative;
    background: var(--wl-surface);
    border: 1px solid var(--wl-border);
    box-shadow: var(--wl-shadow-sm);
    border-radius: var(--wl-radius-md);
    padding: 1rem 1.15rem;
    animation: wlSlideUp 0.45s var(--wl-transition);
}

.wl-filter-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.wl-filter-head h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--wl-text);
}

.wl-filter-head p {
    margin: 0.2rem 0 0;
    color: var(--wl-text-soft);
    font-size: 0.78rem;
    line-height: 1.5;
}

.wl-filter-head .btn {
    font-size: 0.78rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--wl-radius-sm);
    flex-shrink: 0;
    transition: all 0.25s var(--wl-transition);
}

.wl-filter-head .btn:hover {
    transform: scale(1.03);
}

.wl-public-settings-card .wl-filter-head {
    margin-bottom: 1rem;
}

.wl-setting-row {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    padding: 0.95rem 1rem;
    border-radius: var(--wl-radius-md);
    border: 1px solid var(--wl-border);
    background: var(--wl-surface-soft);
    cursor: pointer;
    transition: border-color 0.25s var(--wl-transition), box-shadow 0.25s var(--wl-transition), transform 0.25s var(--wl-transition);
}

.wl-setting-row:hover {
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.25);
    box-shadow: 0 2px 12px rgba(246, 117, 55, 0.06);
    transform: translateY(-1px);
}

.wl-setting-switch {
    margin: 0;
    padding-top: 0.15rem;
    flex-shrink: 0;
}

.wl-setting-switch .form-check-input {
    width: 2.85rem;
    height: 1.55rem;
    cursor: pointer;
    border-color: rgba(148, 163, 184, 0.35);
    transition: all 0.2s var(--wl-transition);
}

.wl-setting-switch .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.12);
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.42);
}

.wl-setting-switch .form-check-input:checked {
    background-color: var(--wl-brand);
    border-color: var(--wl-brand);
    box-shadow: 0 0 12px rgba(246, 117, 55, 0.12);
}

.wl-setting-copy {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    min-width: 0;
}

.wl-setting-copy strong {
    color: var(--wl-text);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
}

.wl-setting-copy span {
    color: var(--wl-text-soft);
    font-size: 0.82rem;
    line-height: 1.55;
}

.wl-input {
    min-height: 40px;
    border-radius: var(--wl-radius-sm);
    border: 1px solid var(--wl-border);
    background: var(--wl-surface-soft);
    color: var(--wl-text);
    font-weight: 500;
    font-size: 0.85rem;
    transition: border-color 0.2s var(--wl-transition), box-shadow 0.2s var(--wl-transition), background 0.2s var(--wl-transition);
}

.wl-input:focus {
    border-color: var(--wl-brand);
    box-shadow: 0 0 0 3px rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.1);
    background: var(--wl-surface);
}

.wl-search-field {
    position: relative;
}

.wl-search-field i {
    position: absolute;
    top: 50%;
    left: 0.85rem;
    transform: translateY(-50%);
    color: var(--wl-text-soft);
    font-size: 0.8rem;
    transition: color 0.2s var(--wl-transition);
}

.wl-search-field:focus-within i {
    color: var(--wl-brand);
}

.wl-search-field .wl-input {
    padding-left: 2.4rem;
}

/* ==========================================================================
   FOCO POR PROFISSIONAL
   ========================================================================== */

.wl-focus-panel {
    background: linear-gradient(135deg,
            rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.08),
            rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.16);
    box-shadow: var(--wl-shadow-sm), 0 0 20px rgba(246, 117, 55, 0.04);
    border-radius: var(--wl-radius-md);
    padding: 0.95rem 1rem;
    display: grid;
    gap: 0.9rem;
    animation: wlSlideUp 0.3s var(--wl-transition);
}

.wl-focus-main {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wl-focus-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.16), rgba(37, 99, 235, 0.14));
    color: var(--wl-brand);
    font-size: 0.95rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(246, 117, 55, 0.08);
}

.wl-focus-copy {
    min-width: 0;
}

.wl-focus-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.2rem;
    color: var(--wl-brand);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wl-focus-copy h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--wl-text);
}

.wl-focus-copy p {
    margin: 0.2rem 0 0;
    color: var(--wl-text-soft);
    font-size: 0.8rem;
    line-height: 1.55;
}

.wl-focus-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.wl-focus-stat {
    min-width: 112px;
    padding: 0.65rem 0.75rem;
    border-radius: var(--wl-radius-sm);
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(4px);
    transition: transform 0.2s var(--wl-transition), box-shadow 0.2s var(--wl-transition);
}

.wl-focus-stat:hover {
    transform: translateY(-1px);
    box-shadow: var(--wl-shadow-sm);
}

.wl-focus-stat strong {
    display: block;
    color: var(--wl-text);
    font-size: 0.95rem;
    font-weight: 700;
}

.wl-focus-stat span {
    display: block;
    margin-top: 0.1rem;
    color: var(--wl-text-soft);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wl-focus-actions {
    display: flex;
    justify-content: flex-end;
}

.wl-focus-actions .btn {
    transition: all 0.25s var(--wl-transition);
}

.wl-focus-actions .btn:hover {
    transform: scale(1.03);
}

/* ==========================================================================
   SEÇÕES - HEADERS
   ========================================================================== */

.wl-section-head,
.wl-section-head--compact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.wl-section-head h3,
.wl-section-head--compact h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--wl-text);
}

.wl-section-head p,
.wl-section-head--compact p {
    margin: 0.2rem 0 0;
    color: var(--wl-text-soft);
    font-size: 0.78rem;
    line-height: 1.5;
}

.wl-section-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: var(--wl-surface-soft);
    color: var(--wl-text-soft);
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid var(--wl-border);
}

.wl-section-head-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================================================
   BOARD (PANORAMA AO VIVO)
   ========================================================================== */

.wl-board-card {
    position: relative;
    background: var(--wl-surface);
    border: 1px solid var(--wl-border);
    box-shadow: var(--wl-shadow-sm);
    border-radius: var(--wl-radius-md);
    padding: 1rem 1.15rem;
    animation: wlSlideUp 0.5s var(--wl-transition);
}

.wl-board-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            rgba(59, 130, 246, 0.5),
            rgba(139, 92, 246, 0.5),
            rgba(16, 185, 129, 0.5));
    border-radius: var(--wl-radius-md) var(--wl-radius-md) 0 0;
    opacity: 0.4;
}

.wl-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.wl-board-column {
    min-width: 0;
    border-radius: var(--wl-radius-md);
    padding: 0.85rem;
    background: var(--wl-surface-soft);
    border: 1px solid var(--wl-border);
    transition: box-shadow 0.25s var(--wl-transition), transform 0.25s var(--wl-transition);
}

.wl-board-column:hover {
    box-shadow: var(--wl-shadow-sm);
    transform: translateY(-1px);
}

.wl-board-column--triagem {
    border-color: rgba(59, 130, 246, 0.2);
    border-top: 3px solid rgba(59, 130, 246, 0.4);
}

.wl-board-column--espera {
    border-color: rgba(245, 158, 11, 0.2);
    border-top: 3px solid rgba(245, 158, 11, 0.4);
}

.wl-board-column--atendimento {
    border-color: rgba(139, 92, 246, 0.2);
    border-top: 3px solid rgba(139, 92, 246, 0.4);
}

.wl-board-column--finalizado {
    border-color: rgba(16, 185, 129, 0.2);
    border-top: 3px solid rgba(16, 185, 129, 0.4);
}

.wl-board-column-subtitle {
    margin-top: 0.2rem;
    color: var(--wl-text-soft);
    font-size: 0.75rem;
    line-height: 1.4;
}

.wl-board-column-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.wl-board-column-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--wl-text);
    font-weight: 600;
    font-size: 0.82rem;
}

.wl-board-column-count {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wl-surface);
    color: var(--wl-text-soft);
    font-size: 0.72rem;
    font-weight: 700;
    border: 1px solid var(--wl-border);
    transition: all 0.25s var(--wl-transition);
}

.wl-board-column-count.bg-brand {
    background: var(--wl-brand);
    color: #fff;
    border-color: var(--wl-brand);
}

.wl-board-card-list {
    display: grid;
    gap: 0.6rem;
}

.wl-board-card-list--compact {
    gap: 0.5rem;
}

/* Preview items no board */
.wl-preview-item {
    padding: 0.65rem 0.75rem;
    border-radius: var(--wl-radius-sm);
    background: var(--wl-surface);
    border: 1px solid var(--wl-border);
    transition: box-shadow 0.2s var(--wl-transition), transform 0.2s var(--wl-transition);
}

.wl-preview-item:hover {
    box-shadow: var(--wl-shadow-sm);
    transform: translateY(-1px);
}

.wl-preview-item strong {
    display: block;
    color: var(--wl-text);
    font-size: 0.82rem;
    font-weight: 600;
}

.wl-preview-item span,
.wl-preview-item small {
    display: block;
    margin-top: 0.15rem;
    color: var(--wl-text-soft);
    font-size: 0.72rem;
    line-height: 1.4;
}

.wl-preview-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.08);
    color: var(--wl-brand);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.wl-preview-more {
    margin-top: 0.5rem;
    color: var(--wl-text-soft);
    font-size: 0.72rem;
    font-weight: 600;
    transition: color 0.2s var(--wl-transition);
}

.wl-preview-more:hover {
    color: var(--wl-brand);
}

.wl-column-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 0.75rem;
    border-radius: var(--wl-radius-sm);
    border: 1px dashed var(--wl-border);
    color: var(--wl-text-soft);
    text-align: center;
    font-size: 0.78rem;
    font-weight: 500;
    transition: border-color 0.2s var(--wl-transition);
}

.wl-column-empty:hover {
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.2);
}

.wl-column-empty--compact {
    min-height: 68px;
    font-size: 0.75rem;
}

/* ==========================================================================
   FILA DETALHADA (LISTA)
   ========================================================================== */

.wl-list-card {
    position: relative;
    background: var(--wl-surface);
    border: 1px solid var(--wl-border);
    box-shadow: var(--wl-shadow-sm);
    border-radius: var(--wl-radius-md);
    padding: 1rem 1.15rem;
    animation: wlSlideUp 0.55s var(--wl-transition);
}

.wl-list {
    display: grid;
    gap: 0.6rem;
}

.wl-list-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(180px, 0.7fr) auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 0.95rem;
    border-radius: var(--wl-radius-md);
    border: 1px solid var(--wl-border);
    background: var(--wl-surface);
    transition: box-shadow 0.3s var(--wl-transition), transform 0.2s var(--wl-transition), border-color 0.2s var(--wl-transition);
}

.wl-list-row:hover {
    box-shadow: var(--wl-shadow-hover);
    transform: translateY(-1px);
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.12);
}

.wl-list-primary {
    min-width: 0;
}

.wl-list-item-name {
    color: var(--wl-text);
    font-size: 0.88rem;
    font-weight: 600;
}

.wl-list-item-contact {
    margin-top: 0.1rem;
    color: var(--wl-text-soft);
    font-size: 0.78rem;
}

.wl-row-note {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    padding: 0.3rem 0.55rem;
    border-radius: var(--wl-radius-sm);
    background: var(--wl-surface-soft);
    color: var(--wl-text-soft);
    font-size: 0.72rem;
    font-weight: 500;
    border: 1px solid var(--wl-border);
    transition: border-color 0.2s var(--wl-transition), background 0.2s var(--wl-transition);
}

.wl-row-note:hover {
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.15);
    background: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.04);
}

.wl-row-note i {
    color: var(--wl-brand);
    font-size: 0.65rem;
}

.wl-list-services {
    min-width: 0;
}

.wl-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.wl-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: var(--wl-surface-soft);
    color: var(--wl-text);
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid var(--wl-border);
    transition: all 0.2s var(--wl-transition);
}

.wl-chip:hover {
    transform: translateY(-1px);
}

.wl-chip.service {
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.15);
}

.wl-chip.service:hover {
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.12);
}

.wl-chip.product {
    background: rgba(139, 92, 246, 0.08);
    color: #7c3aed;
    border-color: rgba(139, 92, 246, 0.15);
}

.wl-chip.product:hover {
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.12);
}

.wl-chip.priority-vip {
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.2);
}

.wl-chip.priority-vip:hover {
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.12);
}

.wl-chip.priority-retorno {
    background: rgba(16, 185, 129, 0.08);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.15);
}

.wl-chip.priority-retorno:hover {
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}

.wl-list-side {
    display: grid;
    gap: 0.3rem;
}

.wl-side-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--wl-text-soft);
    font-size: 0.78rem;
    font-weight: 500;
}

.wl-side-line i {
    width: 14px;
    color: var(--wl-brand);
    font-size: 0.7rem;
}

.wl-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    transition: all 0.25s var(--wl-transition);
}

.wl-status-pill--triagem {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.wl-status-pill--triagem:hover {
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.12);
}

.wl-status-pill--espera {
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
}

.wl-status-pill--espera:hover {
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.12);
}

.wl-status-pill--atendimento {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
}

.wl-status-pill--atendimento:hover {
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.12);
}

.wl-status-pill--finalizado {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
}

.wl-status-pill--finalizado:hover {
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.12);
}

.wl-list-actions {
    display: flex;
    flex-direction: row;
    gap: 0.35rem;
    align-items: center;
    min-width: auto;
    flex-wrap: nowrap;
}

.wl-list-actions .btn {
    width: auto;
    padding: 0.4rem 0.65rem;
    font-size: 0.75rem;
    border-radius: var(--wl-radius-sm);
    transition: all 0.25s var(--wl-transition);
}

.wl-list-actions .btn:hover {
    transform: scale(1.05);
}

.wl-cell-label {
    display: inline-flex;
    margin-bottom: 0.3rem;
    color: var(--wl-text-soft);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.wl-inline-note {
    color: var(--wl-text-soft);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ==========================================================================
   CARDS LATERAIS (BARBEIROS + TIMELINE)
   ========================================================================== */

.wl-side-card {
    position: relative;
    background: var(--wl-surface);
    border: 1px solid var(--wl-border);
    box-shadow: var(--wl-shadow-sm);
    border-radius: var(--wl-radius-md);
    padding: 1rem 1.15rem;
    animation: wlSlideUp 0.6s var(--wl-transition);
}

.wl-professional-stack,
.wl-timeline {
    display: grid;
    gap: 0.65rem;
}

.wl-team-focus-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    margin-bottom: 0.8rem;
    border-radius: var(--wl-radius-md);
    background: linear-gradient(135deg,
            rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.08),
            rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.14);
    animation: wlSlideUp 0.2s var(--wl-transition);
}

.wl-team-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--wl-text);
    font-size: 0.82rem;
    font-weight: 700;
    text-align: left;
    transition: color 0.2s var(--wl-transition);
}

.wl-team-back-btn:hover {
    color: var(--wl-brand);
}

.wl-team-back-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.16);
    color: var(--wl-brand);
    flex-shrink: 0;
    transition: all 0.2s var(--wl-transition);
}

.wl-team-back-btn:hover .wl-team-back-icon {
    background: var(--wl-brand);
    color: #fff;
    border-color: var(--wl-brand);
}

.wl-team-focus-label {
    color: var(--wl-text-soft);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: right;
}

.wl-professional-card,
.wl-timeline-item {
    border-radius: var(--wl-radius-md);
    padding: 0.8rem;
    border: 1px solid var(--wl-border);
    background: var(--wl-surface-soft);
    transition: all 0.25s var(--wl-transition);
}

.wl-professional-card {
    width: 100%;
    text-align: left;
    appearance: none;
    cursor: pointer;
    transition: transform 0.25s var(--wl-transition), box-shadow 0.25s var(--wl-transition), border-color 0.25s var(--wl-transition), opacity 0.25s var(--wl-transition);
}

.wl-professional-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--wl-shadow-hover);
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.18);
}

.wl-professional-card:focus-visible,
.wl-pagination-btn:focus-visible,
.wl-list-actions .btn:focus-visible,
.wl-focus-actions .btn:focus-visible,
.wl-section-head-actions .btn:focus-visible,
.wl-team-back-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.18);
}

.wl-professional-card.is-active {
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.28);
    background: linear-gradient(135deg,
            rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.12),
            rgba(255, 255, 255, 0.92));
    box-shadow: 0 4px 15px rgba(246, 117, 55, 0.10);
}

.wl-professional-card.is-dimmed {
    opacity: 0.78;
}

.wl-professional-top {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.wl-professional-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--wl-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
            rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.15),
            rgba(59, 130, 246, 0.1));
    color: var(--wl-brand);
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(246, 117, 55, 0.06);
}

.wl-professional-copy strong,
.wl-timeline-item strong {
    display: block;
    color: var(--wl-text);
    font-size: 0.85rem;
    font-weight: 600;
}

.wl-professional-copy span,
.wl-timeline-item span {
    color: var(--wl-text-soft);
    font-size: 0.75rem;
}

.wl-professional-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.wl-professional-flag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.06);
}

.wl-professional-stats {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.wl-professional-stat {
    padding: 0.5rem 0.6rem;
    border-radius: var(--wl-radius-sm);
    background: var(--wl-surface);
    text-align: center;
    flex: 1;
    min-width: 0;
    border: 1px solid var(--wl-border);
    transition: all 0.2s var(--wl-transition);
}

.wl-professional-stat:hover {
    transform: translateY(-1px);
    box-shadow: var(--wl-shadow-sm);
}

.wl-professional-stat strong {
    display: block;
    color: var(--wl-text);
    font-weight: 600;
    font-size: 0.85rem;
}

.wl-professional-stat span {
    color: var(--wl-text-soft);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.wl-professional-hint {
    display: inline-flex;
    margin-top: 0.6rem;
    color: var(--wl-text-soft);
    font-size: 0.72rem;
    font-weight: 600;
}

.wl-timeline-item {
    display: grid;
    gap: 0.45rem;
    transition: all 0.25s var(--wl-transition);
}

.wl-timeline-item:hover {
    box-shadow: var(--wl-shadow-sm);
    transform: translateX(2px);
}

.wl-timeline-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.wl-timeline-time {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: var(--wl-surface);
    border: 1px solid var(--wl-border);
    color: var(--wl-text-soft);
    font-size: 0.68rem;
    font-weight: 700;
    flex-shrink: 0;
}

.wl-timeline-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
    font-size: 0.68rem;
    font-weight: 700;
    transition: all 0.2s var(--wl-transition);
}

.wl-timeline-status:hover {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
}

.wl-timeline-detail {
    color: var(--wl-text-soft);
    font-size: 0.74rem;
    line-height: 1.45;
}

/* ==========================================================================
   EMPTY STATE
   ========================================================================== */

.wl-empty-state {
    padding: 1.5rem 1rem 1rem;
    text-align: center;
    animation: wlSlideUp 0.3s var(--wl-transition);
}

.wl-empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    border-radius: var(--wl-radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.08);
    color: var(--wl-brand);
    font-size: 1.25rem;
    box-shadow: 0 0 20px rgba(246, 117, 55, 0.06);
}

.wl-empty-state h4 {
    margin: 0;
    color: var(--wl-text);
    font-size: 0.95rem;
    font-weight: 600;
}

.wl-empty-state p {
    margin: 0.3rem auto 0;
    max-width: 38ch;
    color: var(--wl-text-soft);
    font-size: 0.8rem;
}

/* ==========================================================================
   MODAIS
   ========================================================================== */

.wl-splash-content,
.wl-modal-content {
    border: 0;
    border-radius: var(--wl-radius-lg);
    overflow: hidden;
    background: var(--wl-surface);
    box-shadow: var(--wl-shadow-lg);
}

#waitlistAddModal .modal-dialog {
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
}

#waitlistAddModal .wl-modal-content {
    display: flex;
    flex-direction: column;
    max-height: min(860px, calc(100vh - 2rem));
    max-height: min(860px, calc(100dvh - 2rem));
}

#waitlistAddModal .modal-body {
    overflow-y: auto;
    min-height: 0;
}

#waitlistAddModal .wl-modal-header,
#waitlistAddModal .modal-footer {
    flex-shrink: 0;
}

.wl-splash-body {
    display: flex;
    flex-direction: row;
}

.wl-splash-visual {
    position: relative;
    flex: 0 0 30%;
    min-height: 240px;
    background: linear-gradient(135deg, #1e293b, #334155);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wl-splash-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: wlPulse 3s ease-in-out infinite;
}

.wl-splash-icon {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: var(--wl-radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.wl-splash-copy {
    flex: 1;
    padding: 1.75rem;
}

.wl-splash-copy h2 {
    margin: 0 0 0.6rem;
    color: var(--wl-text);
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 700;
}

.wl-splash-copy p {
    margin: 0;
    color: var(--wl-text-soft);
    line-height: 1.6;
    font-size: 0.85rem;
}

.wl-splash-points {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.wl-splash-point {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--wl-text);
    font-weight: 500;
    font-size: 0.82rem;
}

.wl-splash-point i {
    margin-top: 0.1rem;
    color: #10b981;
    font-size: 0.85rem;
}

.wl-splash-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.wl-splash-actions .btn {
    font-size: 0.82rem;
    padding: 0.55rem 1rem;
    transition: all 0.25s var(--wl-transition);
}

.wl-splash-actions .btn:hover {
    transform: scale(1.03);
}

.wl-splash-secondary {
    color: var(--wl-text-soft);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s var(--wl-transition);
}

.wl-splash-secondary:hover {
    color: var(--wl-brand);
}

.wl-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.15rem 1.15rem 0;
}

.wl-modal-header .btn-close {
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.2s var(--wl-transition);
}

.wl-modal-header .btn-close:hover {
    transform: rotate(90deg);
}

.wl-modal-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--wl-radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.1);
    color: var(--wl-brand);
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(246, 117, 55, 0.06);
}

.wl-modal-client {
    padding: 0.75rem;
    border-radius: var(--wl-radius-sm);
    margin-bottom: 0.75rem;
    background: var(--wl-surface-soft);
    color: var(--wl-text);
    font-weight: 500;
    font-size: 0.82rem;
    border: 1px solid var(--wl-border);
}

.wl-add-phone-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: end;
}

.wl-add-phone-row .btn {
    min-height: 40px;
    border-radius: var(--wl-radius-sm);
    transition: all 0.25s var(--wl-transition);
}

.wl-add-phone-row .btn:hover {
    transform: scale(1.03);
}

.wl-add-status {
    padding: 0.6rem 0.7rem;
    border-radius: var(--wl-radius-sm);
    background: rgba(59, 130, 246, 0.08);
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.16);
}

.wl-add-status.is-error {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border-color: rgba(239, 68, 68, 0.18);
}

.wl-add-status.is-success {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.18);
}

.wl-add-results-list {
    display: grid;
    gap: 0.45rem;
}

.wl-add-result-card,
.wl-add-selected-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.72rem;
    border-radius: var(--wl-radius-sm);
    border: 1px solid var(--wl-border);
    background: var(--wl-surface);
    color: var(--wl-text);
    transition: all 0.2s var(--wl-transition);
}

.wl-add-result-card {
    text-align: left;
}

.wl-add-result-card strong,
.wl-add-selected-card strong {
    display: block;
    color: var(--wl-text);
    font-size: 0.84rem;
    font-weight: 700;
}

.wl-add-result-card small,
.wl-add-selected-card span {
    display: block;
    margin-top: 0.12rem;
    color: var(--wl-text-soft);
    font-size: 0.74rem;
    line-height: 1.4;
}

.wl-add-result-card i {
    color: var(--wl-brand);
    flex-shrink: 0;
}

.wl-add-customer-fields {
    padding-top: 0.1rem;
}

.wl-add-search {
    position: relative;
}

.wl-add-search i {
    position: absolute;
    top: 50%;
    left: 0.85rem;
    transform: translateY(-50%);
    color: var(--wl-text-soft);
    font-size: 0.78rem;
    transition: color 0.2s var(--wl-transition);
}

.wl-add-search:focus-within i {
    color: var(--wl-brand);
}

.wl-add-search .wl-input {
    padding-left: 2.35rem;
}

.wl-add-choice-list {
    display: grid;
    gap: 0.45rem;
    overflow: auto;
    padding-right: 0.2rem;
}

.wl-add-choice {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
    width: 100%;
    padding: 0.68rem;
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius-sm);
    background: var(--wl-surface);
    text-align: left;
    color: var(--wl-text);
    transition: border-color 0.2s var(--wl-transition), box-shadow 0.2s var(--wl-transition), transform 0.2s var(--wl-transition);
}

.wl-add-choice:hover,
.wl-add-result-card:hover {
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.24);
    box-shadow: var(--wl-shadow-sm);
    transform: translateY(-1px);
}

.wl-add-choice.is-selected {
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.34);
    background: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.07);
    box-shadow: 0 0 12px rgba(246, 117, 55, 0.06);
}

.wl-add-choice-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--wl-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wl-surface-soft);
    color: var(--wl-brand);
}

.wl-add-choice-copy {
    min-width: 0;
}

.wl-add-choice-copy strong {
    display: block;
    color: var(--wl-text);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
}

.wl-add-choice-copy small {
    display: block;
    margin-top: 0.12rem;
    color: var(--wl-text-soft);
    font-size: 0.72rem;
    line-height: 1.35;
}

.wl-add-choice-qty {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem;
    border-radius: 999px;
    border: 1px solid var(--wl-border);
    background: var(--wl-surface-soft);
    flex-shrink: 0;
}

.wl-add-qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--wl-text);
    font-size: 0.66rem;
    background: var(--wl-surface);
    border: 1px solid var(--wl-border);
    transition: all 0.2s var(--wl-transition);
}

.wl-add-qty-btn:hover {
    background: var(--wl-brand);
    color: #fff;
    border-color: var(--wl-brand);
    transform: scale(1.1);
}

.wl-add-qty-value {
    min-width: 18px;
    text-align: center;
    color: var(--wl-text);
    font-size: 0.76rem;
    font-weight: 800;
}

.wl-add-empty {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    border: 1px dashed var(--wl-border);
    border-radius: var(--wl-radius-sm);
    color: var(--wl-text-soft);
    font-size: 0.78rem;
    text-align: center;
    transition: border-color 0.2s var(--wl-transition);
}

.wl-add-empty:hover {
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.2);
}

.wl-add-summary {
    display: grid;
    gap: 0.75rem;
}

.wl-add-summary-head {
    padding: 0.75rem;
    border-radius: var(--wl-radius-sm);
    background: var(--wl-surface);
    border: 1px solid var(--wl-border);
    transition: all 0.2s var(--wl-transition);
}

.wl-add-summary-head:hover {
    box-shadow: var(--wl-shadow-sm);
}

.wl-add-summary-head span,
.wl-add-summary-block>span {
    display: block;
    color: var(--wl-text-soft);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.wl-add-summary-head strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--wl-text);
    font-size: 0.9rem;
    font-weight: 800;
}

.wl-add-summary-block {
    display: grid;
    gap: 0.45rem;
}

.wl-add-summary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.wl-summary-tag,
.wl-summary-muted {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid rgba(59, 130, 246, 0.14);
    transition: all 0.2s var(--wl-transition);
}

.wl-summary-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.1);
}

.wl-summary-tag.is-product {
    background: rgba(139, 92, 246, 0.08);
    color: #7c3aed;
    border-color: rgba(139, 92, 246, 0.14);
}

.wl-summary-tag.is-product:hover {
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.1);
}

.wl-summary-muted {
    background: var(--wl-surface);
    color: var(--wl-text-soft);
    border-color: var(--wl-border);
}

.wl-add-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1rem;
    align-items: start;
}

.wl-add-flow {
    display: grid;
    gap: 0.85rem;
    min-width: 0;
}

.wl-add-step,
.wl-add-summary-panel {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius-md);
    background: var(--wl-surface-soft);
    min-width: 0;
    transition: box-shadow 0.2s var(--wl-transition);
}

.wl-add-step:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.wl-add-summary-panel {
    position: sticky;
    top: 0;
}

.wl-add-step-head {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: start;
}

.wl-add-step-head--summary {
    grid-template-columns: 34px minmax(0, 1fr);
}

.wl-add-step-index {
    width: 34px;
    height: 34px;
    border-radius: var(--wl-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.11);
    color: var(--wl-brand);
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.16);
    box-shadow: 0 0 8px rgba(246, 117, 55, 0.04);
}

.wl-add-step-head h6 {
    margin: 0;
    color: var(--wl-text);
    font-size: 0.94rem;
    line-height: 1.25;
    font-weight: 800;
}

.wl-add-step-head p {
    margin: 0.16rem 0 0;
    color: var(--wl-text-soft);
    font-size: 0.78rem;
    line-height: 1.45;
}

.wl-add-step-badge {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(59, 130, 246, 0.14);
}

.wl-add-step-badge.is-optional {
    background: var(--wl-surface);
    color: var(--wl-text-soft);
    border-color: var(--wl-border);
}

.wl-add-step--catalog .wl-add-choice-list {
    max-height: 360px;
}

.wl-add-inline-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.65rem;
    margin-bottom: 0.55rem;
}

.wl-add-inline-title strong {
    color: var(--wl-text);
    font-size: 0.84rem;
}

.wl-add-inline-title span {
    color: var(--wl-text-soft);
    font-size: 0.72rem;
    line-height: 1.35;
}

.wl-add-manual-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.72rem;
    border-radius: var(--wl-radius-sm);
    border: 1px dashed rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.38);
    background: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.06);
    color: var(--wl-text);
    text-align: left;
    transition: all 0.2s var(--wl-transition);
}

.wl-add-manual-card:hover {
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.5);
    box-shadow: 0 2px 8px rgba(246, 117, 55, 0.06);
}

.wl-add-manual-card strong {
    display: block;
    color: var(--wl-text);
    font-size: 0.84rem;
    font-weight: 800;
}

.wl-add-manual-card small {
    display: block;
    margin-top: 0.12rem;
    color: var(--wl-text-soft);
    font-size: 0.74rem;
    line-height: 1.4;
}

.wl-add-manual-card i {
    color: var(--wl-brand);
}

.wl-add-summary-head small {
    display: block;
    margin-top: 0.12rem;
    color: var(--wl-text-soft);
    font-size: 0.74rem;
    line-height: 1.35;
}

/* ==========================================================================
   PAGINAÇÃO
   ========================================================================== */

.wl-pagination-slot {
    margin-top: 0.75rem;
}

.wl-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.wl-pagination--single {
    justify-content: flex-end;
}

.wl-pagination-summary,
.wl-pagination-current {
    color: var(--wl-text-soft);
    font-size: 0.75rem;
    font-weight: 500;
}

.wl-pagination-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.wl-pagination-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--wl-radius-sm);
    border: 1px solid var(--wl-border);
    background: var(--wl-surface);
    color: var(--wl-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s var(--wl-transition);
}

.wl-pagination-btn:hover:not(:disabled) {
    background: var(--wl-brand);
    color: #fff;
    border-color: var(--wl-brand);
    transform: scale(1.05);
}

.wl-pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ==========================================================================
   BOTÕES E COMPONENTES AUXILIARES
   ========================================================================== */

.btn-soft {
    background: var(--wl-surface-soft);
    border: 1px solid var(--wl-border);
    color: var(--wl-text);
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.25s var(--wl-transition);
}

.btn-soft:hover {
    background: var(--wl-border);
    color: var(--wl-text);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-dark {
    transition: all 0.25s var(--wl-transition);
}

.btn-dark:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   DARK MODE
   ========================================================================== */

body.theme-dark,
html[data-theme="dark"] {
    --wl-surface: #1f2937;
    --wl-surface-soft: #111827;
    --wl-border: rgba(71, 85, 105, 0.55);
    --wl-text: #f8fafc;
    --wl-text-soft: #cbd5e1;
    --wl-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.28), 0 1px 2px rgba(0, 0, 0, 0.22);
    --wl-shadow-md: 0 8px 18px rgba(0, 0, 0, 0.26), 0 2px 8px rgba(0, 0, 0, 0.22);
    --wl-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.46);
    --wl-shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.36), 0 0 18px rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.1);
    --wl-glow-brand: 0 0 22px rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.12);
}

.theme-dark .wl-inline-link-panel,
.theme-dark .wl-kpi-card,
.theme-dark .wl-filter-card,
.theme-dark .wl-focus-panel,
.theme-dark .wl-board-card,
.theme-dark .wl-list-card,
.theme-dark .wl-side-card,
html[data-theme="dark"] .wl-inline-link-panel,
html[data-theme="dark"] .wl-kpi-card,
html[data-theme="dark"] .wl-filter-card,
html[data-theme="dark"] .wl-focus-panel,
html[data-theme="dark"] .wl-board-card,
html[data-theme="dark"] .wl-list-card,
html[data-theme="dark"] .wl-side-card {
    background-color: var(--wl-surface);
    border-color: var(--wl-border);
    color: var(--wl-text);
    box-shadow: var(--wl-shadow-sm);
}

.theme-dark .wl-inline-link-panel,
html[data-theme="dark"] .wl-inline-link-panel {
    background-image:
        linear-gradient(135deg,
            rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.12),
            rgba(37, 99, 235, 0.08));
}

.theme-dark .wl-board-column,
.theme-dark .wl-professional-card,
.theme-dark .wl-timeline-item,
.theme-dark .wl-professional-stat,
html[data-theme="dark"] .wl-board-column,
html[data-theme="dark"] .wl-professional-card,
html[data-theme="dark"] .wl-timeline-item,
html[data-theme="dark"] .wl-professional-stat {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(71, 85, 105, 0.3);
}

.theme-dark .wl-focus-panel,
html[data-theme="dark"] .wl-focus-panel {
    background: linear-gradient(135deg,
            rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.12),
            rgba(30, 41, 59, 0.75));
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.2);
}

.theme-dark .wl-focus-stat,
html[data-theme="dark"] .wl-focus-stat {
    background: rgba(15, 23, 42, 0.45);
    border-color: rgba(71, 85, 105, 0.32);
}

.theme-dark .wl-preview-item,
.theme-dark .wl-list-row,
.theme-dark .wl-row-note,
.theme-dark .wl-pagination-btn,
.theme-dark .wl-modal-client,
.theme-dark .wl-add-step,
.theme-dark .wl-add-summary-panel,
.theme-dark .wl-add-selected-card,
.theme-dark .wl-add-result-card,
.theme-dark .wl-add-manual-card,
.theme-dark .wl-add-choice,
.theme-dark .wl-add-summary-head,
.theme-dark .wl-summary-muted,
.theme-dark .wl-chip,
html[data-theme="dark"] .wl-preview-item,
html[data-theme="dark"] .wl-list-row,
html[data-theme="dark"] .wl-row-note,
html[data-theme="dark"] .wl-pagination-btn,
html[data-theme="dark"] .wl-modal-client,
html[data-theme="dark"] .wl-add-step,
html[data-theme="dark"] .wl-add-summary-panel,
html[data-theme="dark"] .wl-add-selected-card,
html[data-theme="dark"] .wl-add-result-card,
html[data-theme="dark"] .wl-add-manual-card,
html[data-theme="dark"] .wl-add-choice,
html[data-theme="dark"] .wl-add-summary-head,
html[data-theme="dark"] .wl-summary-muted,
html[data-theme="dark"] .wl-chip {
    background: rgba(30, 41, 59, 0.4);
    border-color: rgba(71, 85, 105, 0.25);
}

.theme-dark .wl-professional-card.is-active,
html[data-theme="dark"] .wl-professional-card.is-active {
    background: linear-gradient(135deg,
            rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.16),
            rgba(30, 41, 59, 0.86));
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.26);
}

.theme-dark .wl-team-focus-bar,
html[data-theme="dark"] .wl-team-focus-bar {
    background: linear-gradient(135deg,
            rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.14),
            rgba(30, 41, 59, 0.82));
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.2);
}

.theme-dark .wl-team-back-icon,
html[data-theme="dark"] .wl-team-back-icon {
    background: rgba(15, 23, 42, 0.68);
    border-color: rgba(71, 85, 105, 0.36);
}

.theme-dark .wl-column-empty,
html[data-theme="dark"] .wl-column-empty {
    border-color: rgba(71, 85, 105, 0.4);
}

.theme-dark .wl-section-badge,
html[data-theme="dark"] .wl-section-badge {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(71, 85, 105, 0.3);
}

.theme-dark .wl-splash-content,
.theme-dark .wl-modal-content,
html[data-theme="dark"] .wl-splash-content,
html[data-theme="dark"] .wl-modal-content {
    background: #1f2937;
    color: #f8fafc;
    border: 1px solid rgba(71, 85, 105, 0.55);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52);
}

.theme-dark .wl-modal-content .modal-body,
.theme-dark .wl-modal-content .modal-footer,
html[data-theme="dark"] .wl-modal-content .modal-body,
html[data-theme="dark"] .wl-modal-content .modal-footer {
    background: #1f2937;
    color: #f8fafc;
}

.theme-dark .wl-modal-header h5,
.theme-dark .wl-modal-header p,
.theme-dark .wl-splash-copy h2,
.theme-dark .wl-splash-copy p,
.theme-dark .wl-splash-point,
html[data-theme="dark"] .wl-modal-header h5,
html[data-theme="dark"] .wl-modal-header p,
html[data-theme="dark"] .wl-splash-copy h2,
html[data-theme="dark"] .wl-splash-copy p,
html[data-theme="dark"] .wl-splash-point {
    color: inherit;
}

.theme-dark .wl-modal-header p,
.theme-dark .wl-splash-copy p,
html[data-theme="dark"] .wl-modal-header p,
html[data-theme="dark"] .wl-splash-copy p {
    color: #cbd5e1;
}

.theme-dark .wl-modal-header .btn-close,
html[data-theme="dark"] .wl-modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(180%);
    opacity: 0.82;
}

.theme-dark .wl-modal-header .btn-close:hover,
html[data-theme="dark"] .wl-modal-header .btn-close:hover {
    opacity: 1;
}

.theme-dark .wl-input,
.theme-dark .wl-input.form-control,
.theme-dark .wl-input.form-select,
html[data-theme="dark"] .wl-input,
html[data-theme="dark"] .wl-input.form-control,
html[data-theme="dark"] .wl-input.form-select {
    color-scheme: dark;
    background-color: rgba(15, 23, 42, 0.58);
    border-color: rgba(71, 85, 105, 0.48);
    color: #f8fafc;
}

.theme-dark .wl-input:focus,
.theme-dark .wl-input.form-control:focus,
.theme-dark .wl-input.form-select:focus,
html[data-theme="dark"] .wl-input:focus,
html[data-theme="dark"] .wl-input.form-control:focus,
html[data-theme="dark"] .wl-input.form-select:focus {
    background-color: rgba(15, 23, 42, 0.78);
    border-color: var(--wl-brand);
    color: #ffffff;
}

.theme-dark .wl-input::placeholder,
html[data-theme="dark"] .wl-input::placeholder {
    color: #94a3b8;
}

.theme-dark .form-text,
html[data-theme="dark"] .form-text {
    color: #94a3b8;
}

.theme-dark .wl-inline-link-url code,
html[data-theme="dark"] .wl-inline-link-url code {
    background: rgba(15, 23, 42, 0.58);
    border-color: rgba(71, 85, 105, 0.42);
    color: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.theme-dark .wl-inline-link-url code:hover,
html[data-theme="dark"] .wl-inline-link-url code:hover {
    background: rgba(15, 23, 42, 0.78);
}

.theme-dark .wl-link-badge,
html[data-theme="dark"] .wl-link-badge {
    background: rgba(148, 163, 184, 0.16);
    color: #cbd5e1;
}

.theme-dark .wl-link-badge.is-ready,
.theme-dark .wl-professional-flag,
.theme-dark .wl-status-pill--finalizado,
.theme-dark .wl-chip.priority-retorno,
html[data-theme="dark"] .wl-link-badge.is-ready,
html[data-theme="dark"] .wl-professional-flag,
html[data-theme="dark"] .wl-status-pill--finalizado,
html[data-theme="dark"] .wl-chip.priority-retorno {
    background: rgba(52, 211, 153, 0.16);
    color: #86efac;
    border-color: rgba(52, 211, 153, 0.24);
}

.theme-dark .wl-link-badge.is-pending,
.theme-dark .wl-status-pill--espera,
.theme-dark .wl-chip.priority-vip,
html[data-theme="dark"] .wl-link-badge.is-pending,
html[data-theme="dark"] .wl-status-pill--espera,
html[data-theme="dark"] .wl-chip.priority-vip {
    background: rgba(251, 191, 36, 0.16);
    color: #fde68a;
    border-color: rgba(251, 191, 36, 0.24);
}

.theme-dark .wl-link-badge.is-saving,
.theme-dark .wl-status-pill--triagem,
.theme-dark .wl-timeline-status,
.theme-dark .wl-chip.service,
.theme-dark .wl-summary-tag,
.theme-dark .wl-add-step-badge,
html[data-theme="dark"] .wl-link-badge.is-saving,
html[data-theme="dark"] .wl-status-pill--triagem,
html[data-theme="dark"] .wl-timeline-status,
html[data-theme="dark"] .wl-chip.service,
html[data-theme="dark"] .wl-summary-tag,
html[data-theme="dark"] .wl-add-step-badge {
    background: rgba(96, 165, 250, 0.16);
    color: #bfdbfe;
    border-color: rgba(96, 165, 250, 0.24);
}

.theme-dark .wl-link-badge.is-error,
.theme-dark .wl-add-status.is-error,
html[data-theme="dark"] .wl-link-badge.is-error,
html[data-theme="dark"] .wl-add-status.is-error {
    background: rgba(248, 113, 113, 0.16);
    color: #fecaca;
    border-color: rgba(248, 113, 113, 0.25);
}

.theme-dark .wl-status-pill--atendimento,
.theme-dark .wl-chip.product,
.theme-dark .wl-summary-tag.is-product,
html[data-theme="dark"] .wl-status-pill--atendimento,
html[data-theme="dark"] .wl-chip.product,
html[data-theme="dark"] .wl-summary-tag.is-product {
    background: rgba(167, 139, 250, 0.16);
    color: #ddd6fe;
    border-color: rgba(167, 139, 250, 0.24);
}

.theme-dark .wl-add-status,
html[data-theme="dark"] .wl-add-status {
    background: rgba(96, 165, 250, 0.16);
    color: #bfdbfe;
    border-color: rgba(96, 165, 250, 0.24);
}

.theme-dark .wl-add-status.is-success,
html[data-theme="dark"] .wl-add-status.is-success {
    background: rgba(52, 211, 153, 0.16);
    color: #86efac;
    border-color: rgba(52, 211, 153, 0.24);
}

.theme-dark .wl-add-choice-icon,
.theme-dark .wl-add-choice-qty,
.theme-dark .wl-add-step-index,
html[data-theme="dark"] .wl-add-choice-icon,
html[data-theme="dark"] .wl-add-choice-qty,
html[data-theme="dark"] .wl-add-step-index {
    background: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.14);
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.24);
}

.theme-dark .wl-add-choice.is-selected,
html[data-theme="dark"] .wl-add-choice.is-selected {
    background: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.14);
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.36);
}

.theme-dark .wl-add-qty-btn,
html[data-theme="dark"] .wl-add-qty-btn {
    background: rgba(15, 23, 42, 0.72);
    color: #f8fafc;
    border-color: rgba(71, 85, 105, 0.42);
}

.theme-dark .wl-team-back-btn,
.theme-dark .wl-add-result-card,
.theme-dark .wl-add-manual-card,
.theme-dark .wl-add-choice,
html[data-theme="dark"] .wl-team-back-btn,
html[data-theme="dark"] .wl-add-result-card,
html[data-theme="dark"] .wl-add-manual-card,
html[data-theme="dark"] .wl-add-choice {
    color: #f8fafc;
}

.theme-dark .wl-add-empty,
html[data-theme="dark"] .wl-add-empty {
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(71, 85, 105, 0.4);
}

.theme-dark .btn-soft,
html[data-theme="dark"] .btn-soft {
    background: rgba(30, 41, 59, 0.72);
    border-color: rgba(71, 85, 105, 0.45);
    color: #f8fafc;
}

.theme-dark .btn-soft:hover,
.theme-dark .btn-soft:focus,
html[data-theme="dark"] .btn-soft:hover,
html[data-theme="dark"] .btn-soft:focus {
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(100, 116, 139, 0.65);
    color: #ffffff;
}

.theme-dark .btn-dark,
html[data-theme="dark"] .btn-dark {
    background: var(--wl-brand);
    border-color: var(--wl-brand);
    color: #ffffff;
}

.theme-dark .btn-dark:hover,
.theme-dark .btn-dark:focus,
html[data-theme="dark"] .btn-dark:hover,
html[data-theme="dark"] .btn-dark:focus {
    background: var(--wl-brand-strong);
    border-color: var(--wl-brand-strong);
    color: #ffffff;
}

.theme-dark .btn-outline-dark,
html[data-theme="dark"] .btn-outline-dark {
    background: rgba(30, 41, 59, 0.55);
    border-color: rgba(148, 163, 184, 0.42);
    color: #e2e8f0;
}

.theme-dark .btn-outline-dark:hover,
.theme-dark .btn-outline-dark:focus,
html[data-theme="dark"] .btn-outline-dark:hover,
html[data-theme="dark"] .btn-outline-dark:focus {
    background: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.16);
    border-color: rgba(var(--primary-r, 246), var(--primary-g, 117), var(--primary-b, 55), 0.42);
    color: #ffffff;
}

.theme-dark .btn-outline-danger,
html[data-theme="dark"] .btn-outline-danger {
    background: rgba(248, 113, 113, 0.08);
    color: #fca5a5;
    border-color: rgba(248, 113, 113, 0.38);
}

.theme-dark .btn-outline-danger:hover,
.theme-dark .btn-outline-danger:focus,
html[data-theme="dark"] .btn-outline-danger:hover,
html[data-theme="dark"] .btn-outline-danger:focus {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

.theme-dark .wl-splash-secondary,
html[data-theme="dark"] .wl-splash-secondary {
    color: #cbd5e1;
}

.theme-dark .wl-splash-secondary:hover,
html[data-theme="dark"] .wl-splash-secondary:hover {
    color: var(--wl-brand);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1399px) {
    .wl-secondary-stack {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1199px) {
    .wl-board {
        grid-template-columns: repeat(2, 1fr);
    }

    .wl-add-layout {
        grid-template-columns: 1fr;
    }

    .wl-add-summary-panel {
        position: static;
    }

    .wl-list-row {
        grid-template-columns: 1fr 1fr auto;
    }

    .wl-list-services {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991px) {
    .wl-list-row {
        grid-template-columns: 1fr auto;
        gap: 0.6rem;
    }

    .wl-list-primary {
        grid-column: 1 / -1;
    }

    .wl-list-side {
        grid-column: 1 / -1;
    }

    .wl-kpi-card {
        min-height: auto;
    }

    .wl-splash-body {
        flex-direction: column;
    }

    .wl-splash-visual {
        min-height: 160px;
    }
}

@media (max-width: 767px) {
    .wl-board {
        grid-template-columns: 1fr;
    }

    .wl-inline-link-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .wl-inline-link-head {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .wl-config-link--compact {
        align-self: flex-start;
    }

    .wl-link-actions--compact {
        justify-content: flex-end;
    }
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.wl-glow-brand {
    box-shadow: 0 0 20px rgba(246, 117, 55, 0.06);
}

.wl-transition-fast {
    transition: all 0.15s var(--wl-transition);
}

.wl-transition-normal {
    transition: all 0.25s var(--wl-transition);
}

.wl-transition-slow {
    transition: all 0.35s var(--wl-transition);
}
