.erp-master-ux {
    --master-ux-border: #d7e3dc;
    --master-ux-muted: #5d6f66;
    --master-ux-surface: #f6faf7;
    --master-ux-accent: #1f6b43;
    max-width: 1440px;
    margin-inline: auto;
}

.erp-master-ux .master-ux-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--master-ux-border);
}

.erp-master-ux .master-ux-hero h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
}

.erp-master-ux .master-ux-block,
.erp-master-ux .master-ux-subblock {
    margin-bottom: .9rem;
    border: 1px solid var(--master-ux-border);
    border-radius: .65rem;
    background: #fff;
    box-shadow: 0 .12rem .4rem rgba(21, 55, 36, .05);
}

.erp-master-ux .master-ux-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: 0;
    padding: .7rem .9rem;
    border: 0;
    border-radius: .65rem;
    background: var(--master-ux-surface);
    color: #24352c;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
}

.erp-master-ux .master-ux-subblock .master-ux-toggle {
    font-size: .92rem;
    background: #eef5f0;
}

.erp-master-ux .master-ux-toggle:focus-visible {
    outline: 3px solid #86c7a3;
    outline-offset: 2px;
}

.erp-master-ux .master-ux-toggle-state {
    flex: 0 0 auto;
    color: var(--master-ux-muted);
    font-size: .78rem;
    font-weight: 650;
}

.erp-master-ux .master-ux-panel {
    padding: .85rem .9rem 1rem;
}

.erp-master-ux .master-ux-panel[hidden] {
    display: none !important;
}

.erp-master-ux .master-ux-dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
    gap: .75rem 1rem;
}

.erp-master-ux .master-ux-field dt,
.erp-master-ux .master-ux-label {
    margin: 0 0 .15rem;
    color: var(--master-ux-muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.erp-master-ux .master-ux-field dd {
    margin: 0;
    font-size: .95rem;
}

.erp-master-ux .master-ux-span-2 {
    grid-column: 1 / -1;
}

.erp-master-ux .master-ux-warning {
    margin-bottom: .85rem;
}

.erp-master-ux .master-ux-rel-links {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.erp-master-ux .master-ux-gov-term {
    margin: 0 0 .45rem;
}

.erp-master-ux .master-ux-gov-term__name {
    font-weight: 700;
}

.erp-master-ux .master-ux-status-term {
    margin-bottom: .4rem;
}

.erp-master-ux .master-ux-primary-image {
    max-width: 9rem;
    max-height: 9rem;
    object-fit: cover;
    border-radius: .5rem;
}

.erp-master-ux .master-ux-pack-sentence {
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .erp-master-ux .master-ux-hero {
        align-items: stretch;
    }

    .erp-master-ux .master-ux-hero .d-flex {
        flex-wrap: wrap;
    }

    .erp-master-ux .master-ux-dl {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 390px) {
    .erp-master-ux .master-ux-dl {
        grid-template-columns: 1fr;
    }
}
