.venus-auth-body {
    min-height: 100vh;
    background: #f6f7fb;
}

.venus-brand-mark {
    width: 48px;
    height: 48px;
    color: #fff;
    background: #0d6efd;
    font-size: 1.35rem;
}

.venus-app-body {
    background: #eef3f9;
    color: #172033;
}

.venus-workspace {
    min-height: calc(100vh - 110px);
}

@media (min-width: 992px) {
    .venus-curriculum-sidebar {
        position: sticky;
        top: 1rem;
        align-self: flex-start;
        max-height: calc(100vh - 2rem);
    }

    .venus-curriculum-sidebar > .card {
        max-height: calc(100vh - 2rem);
    }
}

.venus-tree-panel {
    max-height: calc(100vh - 250px);
    overflow: auto;
}

.venus-content-tabs {
    border-right: 1px solid #d7e1f0;
    padding-right: .75rem;
}

.venus-content-tabs .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    width: 100%;
    text-align: left;
}

@media (max-width: 1199.98px) {
    .venus-content-tabs {
        border-right: 0;
        border-bottom: 1px solid #d7e1f0;
        padding-right: 0;
        padding-bottom: .75rem;
    }

    .venus-content-tabs .nav-item {
        flex: 0 0 auto;
    }
}

@media (min-width: 768px) {
    .venus-horizontal-form .venus-form-grid {
        --venus-form-label-width: 190px;
    }

    .venus-horizontal-form .venus-form-grid > [class*="col-"]:not(.venus-editor-field):has(> .form-label),
    .venus-horizontal-form > .mb-3:has(> .form-label),
    .venus-horizontal-form > .mb-4:has(> .form-label) {
        display: grid;
        grid-template-columns: minmax(140px, var(--venus-form-label-width)) minmax(0, 1fr);
        column-gap: 1rem;
        align-items: start;
    }

    .venus-horizontal-form .venus-form-grid > [class*="col-"]:not(.venus-editor-field) {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .venus-horizontal-form .venus-form-grid > [class*="col-"]:not(.venus-editor-field):has(> .form-label) > .form-label,
    .venus-horizontal-form > .mb-3:has(> .form-label) > .form-label,
    .venus-horizontal-form > .mb-4:has(> .form-label) > .form-label {
        margin-bottom: 0;
        padding-top: .45rem;
    }

    .venus-horizontal-form .invalid-feedback {
        grid-column: 2;
    }
}

.venus-horizontal-form .venus-editor-field > .form-label {
    font-weight: 600;
}

.venus-tree-node {
    border: 1px solid transparent;
    line-height: 1.15;
}

.venus-tree-passive-badge {
    display: inline-flex;
    align-items: center;
    margin-left: .35rem;
    border-radius: 999px;
    padding: .08rem .38rem;
    background: #fee2e2;
    color: #dc2626;
    font-size: .68rem;
    font-weight: 800;
    vertical-align: middle;
}

.venus-tree-node:hover,
.venus-tree-node.active {
    background: #eef4ff;
    border-color: #9dbbff;
}

.venus-tree-children {
    border-left: 1px solid #d7e1f0;
}

.venus-question-card {
    border-color: #d8e2ef;
}

.venus-question-text {
    color: #172b58;
    font-size: .95rem;
    line-height: 1.55;
}

.queue-preview {
    max-width: 340px;
    white-space: normal;
}

.venus-queue-detail-textarea {
    min-height: 260px;
    white-space: pre;
}

.venus-production-summary {
    flex: 0 0 360px;
    max-width: 420px;
}

.venus-production-queue {
    min-width: 0;
}

.venus-production-queue .alert {
    min-height: 55px;
    display: flex;
    align-items: center;
}

.venus-production-queue-item {
    flex: 1 1 260px;
    min-width: 240px;
}

.venus-production-actions {
    flex: 0 0 auto;
}

.venus-material-preview {
    min-height: 360px;
    overflow: auto;
}

.venus-material-preview svg,
#material-raw-preview svg {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1199.98px) {
    .venus-production-summary {
        flex-basis: auto;
        max-width: none;
    }

    .venus-production-actions {
        justify-content: flex-start !important;
    }
}
