/* Recorrido de Ventalogic: colores de Netnologic y controles que siguen siendo interactivos. */
.vendia-guide[hidden] {
    display: none !important;
}
.vg-highlight {
    position: fixed;
    z-index: 1010;
    pointer-events: none;
    border: 2px solid #214ee7;
    border-radius: 10px;
    box-shadow: 0 0 0 4px #214ee724;
}
.vg-card {
    position: fixed;
    z-index: 1020;
    box-sizing: border-box;
    overflow: auto;
    padding: 18px;
    color: #0b1530;
    background: #fff;
    border: 1px solid #ced8f4;
    border-radius: 16px;
    box-shadow: 0 12px 46px #0b15302e;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
}
.vg-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.vg-stage {
    color: #556588;
    font-size: 10px;
    letter-spacing: 0.055em;
    font-weight: 700;
}
.vg-card button {
    font: inherit;
    cursor: pointer;
    border: 1px solid #d9e0f0;
    border-radius: 8px;
    color: inherit;
    background: transparent;
    padding: 8px 12px;
    line-height: 1.3;
    min-height: 40px;
}
.vg-card header button {
    border: 0;
    padding: 2px;
    font-size: 24px;
    min-width: 36px;
}
.vg-card h2 {
    font-size: 19px;
    line-height: 1.25;
    margin: 15px 0 10px;
    letter-spacing: -0.3px;
}
.vg-card p {
    margin: 0 0 12px;
}
.vg-card .vg-instruction {
    font-size: 12px;
    color: #556588;
    background: #f2f5fc;
    padding: 10px;
    border-radius: 8px;
}
.vg-card footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}
.vg-card .vg-primary {
    background: #214ee7;
    color: #fff;
    border-color: #214ee7;
    font-weight: 700;
}
.vg-card .vg-pause {
    display: block;
    width: 100%;
    border: 0;
    font-size: 12px;
    text-decoration: underline;
    margin-top: 9px;
}
.vg-card button:disabled {
    opacity: 0.4;
    cursor: default;
}
.vg-card button:focus-visible,
.vg-launcher:focus-visible {
    outline: 3px solid #1ecbe1;
    outline-offset: 3px;
}
.vg-progress {
    height: 4px;
    background: #e9eefb;
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden;
}
.vg-progress i {
    height: 100%;
    display: block;
    background: #214ee7;
}
.vg-launcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ced8f4;
    background: #edf2ff;
    color: #2141bd;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    border-radius: 9px;
    padding: 9px 12px;
    cursor: pointer;
    white-space: nowrap;
}
.vg-product-note {
    border-left: 3px solid #214ee7;
    color: #28406c;
    background: #edf2ff;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    margin: 0 0 18px;
}
/* Contraste coherente cuando el cliente utiliza el tema oscuro de su panel. */
[data-theme='dark'] .vg-card {
    background: #14203b;
    color: #f3f6ff;
    border-color: #3a4f7a;
}
[data-theme='dark'] .vg-stage,
[data-theme='dark'] .vg-card .vg-instruction {
    color: #c0cee9;
}
[data-theme='dark'] .vg-card .vg-instruction,
[data-theme='dark'] .vg-product-note {
    background: #1c2e50;
    color: #dce7ff;
}
[data-theme='dark'] .vg-card button {
    border-color: #465a80;
}
[data-theme='dark'] .vg-launcher {
    background: #1c2e50;
    color: #c0d0ff;
    border-color: #465a80;
}
@media (max-width: 700px) {
    /* Deja lugar para ver el control señalado y la tarjeta al mismo tiempo. */
    .vg-running .content {
        padding-bottom: min(430px, 55vh) !important;
    }
    .vg-current-target {
        scroll-margin-top: 88px;
    }
    .menu-workspace .topbar {
        flex-wrap: wrap;
    }
    .menu-workspace .topbar > .row {
        flex-wrap: wrap;
        gap: 8px;
    }
    .vg-launcher {
        padding: 8px 10px;
        font-size: 11px;
    }
    .vg-card {
        padding: 14px;
    }
    .vg-card h2 {
        font-size: 17px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .vg-card,
    .vg-highlight {
        transition: none;
        animation: none;
    }
}
