.drt-scope {
    --drt-primary: #0F5E67;
    --drt-primary-soft: rgba(15, 94, 103, 0.08);
    --drt-border: rgba(15, 94, 103, 0.24);
}

.drt-scope .container-fluid {
    max-width: 1320px;
}

.drt-scope .zbe-exp-choice-pill {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
}

.drt-scope .zbe-exp-choice-pill.active {
    background: #ffffff;
    border-color: var(--drt-border);
    color: var(--drt-primary);
    box-shadow: none;
}

.drt-scope .btn-check:checked + .zbe-exp-choice-pill {
    background: var(--drt-primary);
    border-color: var(--drt-primary);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 94, 103, 0.18);
}

.drt-scope .cab-card,
.drt-scope .cab-q-card {
    overflow: hidden;
}

.drt-scope .drt-mode-card {
    border: 1px solid var(--drt-border);
    box-shadow: 0 12px 28px rgba(15, 94, 103, 0.08);
}

.drt-scope .drt-mode-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: var(--drt-primary-soft);
    color: var(--drt-primary);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.8rem;
}

.drt-scope .drt-context-card {
    border: 2px solid var(--drt-primary);
    background: linear-gradient(135deg, rgba(15, 94, 103, 0.12), rgba(15, 94, 103, 0.04));
    box-shadow: 0 14px 32px rgba(15, 94, 103, 0.12);
}

.drt-scope .drt-context-title {
    color: var(--drt-primary);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.drt-scope .drt-context-text {
    color: #083d43;
    font-size: 1.18rem;
    line-height: 1.45;
    font-weight: 700;
}

.drt-scope .table-responsive {
    -webkit-overflow-scrolling: touch;
}

.drt-scope .cab-table th,
.drt-scope .cab-table td {
    vertical-align: middle;
}

.drt-scope .drt-latent-table {
    table-layout: fixed;
    min-width: 860px;
}

.drt-scope .drt-latent-table th:first-child,
.drt-scope .drt-latent-table td:first-child {
    width: 32%;
}

.drt-scope .drt-latent-table thead th {
    font-size: 0.78rem;
    line-height: 1.15;
    padding: 0.55rem 0.35rem;
}

.drt-scope .drt-latent-table .zbe-exp-matrix-row-options {
    align-items: center;
}

.drt-scope .drt-latent-table .zbe-exp-matrix-row-options .form-check {
    min-height: 2.25rem;
}

.drt-scope .drt-latent-table .zbe-exp-matrix-input {
    cursor: pointer;
}

.drt-scope iframe {
    max-width: 100%;
}

@media (max-width: 768px) {
    .drt-scope {
        padding-left: 10px;
        padding-right: 10px;
    }

    .drt-scope .cab-page-hero,
    .drt-scope .cab-card,
    .drt-scope .cab-intro-card,
    .drt-scope .cab-legal-card {
        border-radius: 14px;
    }

    .drt-scope .card-body {
        padding: 0.95rem;
    }

    .drt-scope .card-header {
        line-height: 1.25;
        padding: 0.8rem 0.95rem;
    }

    .drt-scope .zbe-exp-choice-group {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 0.45rem;
    }

    .drt-scope .zbe-exp-choice-group .form-check,
    .drt-scope .zbe-exp-choice-group .zbe-exp-choice-pill {
        width: 100%;
    }

    .drt-scope .zbe-exp-choice-pill {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-right: 0 !important;
    }

    .drt-scope .cab-table {
        min-width: 640px;
        font-size: 0.86rem;
    }

    .drt-scope .drt-context-text {
        font-size: 1.03rem;
    }

    .drt-scope .cab-table th,
    .drt-scope .cab-table td {
        padding: 0.5rem 0.45rem;
    }

    .drt-scope .drt-latent-table {
        min-width: 760px;
    }

    .drt-scope .drt-latent-table th:first-child,
    .drt-scope .drt-latent-table td:first-child {
        width: 250px;
    }

    .drt-scope .drt-latent-table thead th {
        font-size: 0.7rem;
    }

    .drt-scope .zbe-exp-matrix-input {
        width: 1.2rem;
        height: 1.2rem;
    }
}

@media (max-width: 480px) {
    .drt-scope .cabarceno-navbar-title {
        font-size: 0.84rem;
    }

    .drt-scope .cab-step-title {
        font-size: 1.25rem;
    }

    .drt-scope .cab-step-subtitle {
        font-size: 0.92rem;
    }

    .drt-scope .card-body {
        padding: 0.8rem;
    }

    .drt-scope .cab-table {
        min-width: 600px;
    }

    .drt-scope .drt-context-title {
        font-size: 0.82rem;
    }

    .drt-scope .drt-context-text {
        font-size: 0.98rem;
    }

    .drt-scope .drt-latent-table {
        min-width: 720px;
    }

    .drt-scope .drt-latent-table th:first-child,
    .drt-scope .drt-latent-table td:first-child {
        width: 220px;
    }
}
