.lx-dmarc {
    --dm-green: #138e78;
    --dm-red: #d54b6a;
    --dm-blue: #7274ff;
    color: #526579;
}
.lx-dmarc .dm-head,
.lx-dmarc .dm-actions,
.lx-dmarc .dm-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.lx-dmarc .dm-head {
    justify-content: space-between;
    margin-bottom: 24px;
}
.lx-dmarc h2 {
    margin: 0;
    font-size: 24px;
}
.lx-dmarc h3 {
    font-size: 17px;
    margin: 0 0 18px;
}
.lx-dmarc .dm-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    color: #8b99ab;
    margin-bottom: 5px;
}
.lx-dmarc .dm-tabs {
    border-bottom: 1px solid #e5eaf2;
    margin-bottom: 22px;
}
.lx-dmarc .dm-tabs button {
    border: 0;
    background: none;
    padding: 12px 16px;
    color: #748196;
    border-bottom: 3px solid transparent;
}
.lx-dmarc .dm-tabs button.active {
    border-bottom-color: var(--dm-blue);
    color: #6265df;
    font-weight: 600;
}
.lx-dmarc .dm-filter {
    display: grid;
    grid-template-columns: 1.2fr repeat(2, 1fr) 1.2fr 1fr auto;
    gap: 14px;
    align-items: end;
}
.lx-dmarc label {
    display: block;
    font-size: 12px;
    margin: 0;
}
.lx-dmarc label .form-control,
.lx-dmarc label .form-select {
    margin-top: 6px;
}
.lx-dmarc .dm-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}
.lx-dmarc .dm-kpi {
    background: white;
    border: 1px solid #e7ecf5;
    border-radius: 6px;
    padding: 20px;
    min-width: 0;
}
.lx-dmarc .dm-kpi strong {
    display: block;
    font-size: 27px;
    font-weight: 600;
    margin: 9px 0 0;
    color: #364a63;
}
.lx-dmarc .dm-kpi span {
    font-size: 12px;
    color: #8a98aa;
}
.lx-dmarc .dm-kpi.good strong {
    color: var(--dm-green);
}
.lx-dmarc .dm-kpi.bad strong {
    color: var(--dm-red);
}
.lx-dmarc .dm-two {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 20px;
}
.lx-dmarc .card {
    border-radius: 6px;
    box-shadow: 0 2px 14px #2d476705;
}
.lx-dmarc .card-body {
    padding: 24px;
    min-width: 0;
}
.lx-dmarc .dm-chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 210px;
    min-width: 450px;
    padding: 12px 0 24px;
    border-bottom: 1px solid #e9edf4;
}
.lx-dmarc .dm-chart button {
    flex: 1;
    min-width: 8px;
    position: relative;
    padding: 0;
    border: 0;
    background: #eef1f6;
    display: flex;
    flex-direction: column-reverse;
    border-radius: 3px 3px 0 0;
}
.lx-dmarc .dm-chart button:hover,
.lx-dmarc .dm-chart button:focus-visible {
    outline: 2px solid var(--dm-blue);
    outline-offset: 2px;
}
.lx-dmarc .dm-chart .pass {
    background: var(--dm-green);
    width: 100%;
}
.lx-dmarc .dm-chart .fail {
    background: var(--dm-red);
    width: 100%;
}
.lx-dmarc .dm-chart small {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    white-space: nowrap;
    margin-top: 7px;
}
.lx-dmarc .dm-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 12px;
    margin-top: 18px;
}
.lx-dmarc .dm-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dm-green);
    margin-right: 6px;
}
.lx-dmarc .dm-dot.fail {
    background: var(--dm-red);
}
.lx-dmarc .dm-progress {
    height: 6px;
    background: #eef1f6;
    border-radius: 10px;
    overflow: hidden;
    margin: 9px 0 18px;
}
.lx-dmarc .dm-progress span {
    display: block;
    height: 100%;
    background: var(--dm-blue);
}
.lx-dmarc .dm-rate {
    display: inline-block;
    border-radius: 4px;
    padding: 4px 7px;
    font-size: 12px;
    color: var(--dm-green);
    background: #e5f6f0;
    white-space: nowrap;
}
.lx-dmarc .dm-rate.bad {
    background: #fff0f2;
    color: #bc3857;
}
.lx-dmarc .dm-rate.neutral {
    background: #eef1f6;
    color: #718096;
}
.lx-dmarc .table {
    font-size: 13px;
    margin-bottom: 0;
}
.lx-dmarc .table th {
    white-space: nowrap;
    font-size: 11px;
    color: #8a98aa;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid #e8edf5;
}
.lx-dmarc .table td {
    vertical-align: middle;
    padding-top: 15px;
    padding-bottom: 15px;
}
.lx-dmarc .table small {
    display: block;
    font-size: 11px;
    color: #8898ab;
    margin-top: 4px;
}
.lx-dmarc .dm-link {
    background: none;
    border: 0;
    padding: 0;
    color: #536c9c;
    text-align: left;
    overflow-wrap: anywhere;
}
.lx-dmarc .dm-link:hover {
    text-decoration: underline;
}
.lx-dmarc .dm-empty {
    padding: 36px 18px;
    text-align: center;
    color: #8a98aa;
}
.lx-dmarc .dm-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    align-items: center;
}
.lx-dmarc .dm-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 920px;
}
.lx-dmarc .dm-form .wide {
    grid-column: 1/-1;
}
.lx-dmarc .dm-form .check {
    display: flex;
    gap: 9px;
    align-items: center;
    font-size: 14px;
}
.lx-dmarc .dm-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 20px;
}
.lx-dmarc .dm-meta dt {
    font-size: 11px;
    color: #8a98aa;
    margin-bottom: 5px;
}
.lx-dmarc .dm-meta dd {
    margin: 0;
    overflow-wrap: anywhere;
}
.lx-dmarc details {
    font-size: 12px;
}
.lx-dmarc details ul {
    padding-left: 17px;
    margin-top: 8px;
}
.lx-dmarc .dm-alert {
    overflow-wrap: anywhere;
}
@media (max-width: 1250px) {
    .lx-dmarc .dm-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .lx-dmarc .dm-filter {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 800px) {
    .lx-dmarc .dm-two {
        grid-template-columns: 1fr;
    }
    .lx-dmarc .dm-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lx-dmarc .dm-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 480px) {
    .lx-dmarc .dm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }
    .lx-dmarc .dm-kpi {
        padding: 15px;
    }
    .lx-dmarc .dm-kpi strong {
        font-size: 23px;
    }
    .lx-dmarc .card-body {
        padding: 16px;
    }
    .lx-dmarc .dm-form,
    .lx-dmarc .dm-meta {
        grid-template-columns: 1fr;
    }
    .lx-dmarc .dm-tabs button {
        padding: 10px 8px;
    }
    .lx-dmarc .dm-tabs {
        gap: 2px;
    }
}
