.jb-suite-analytics {
    padding-bottom: 8px;
}

.jb-suite-analytics-wrap {
    display: grid;
    gap: 18px;
}


.jb-suite-analytics-highlights .jb-suite-panel-header p {
    margin-top: 4px;
}

.jb-suite-analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.jb-suite-analytics-card {
    border: 1px solid #e5e1d9;
    border-radius: 12px;
    padding: 12px;
}

.jb-suite-analytics-card strong {
    display: block;
    font-size: 18px;
}

.jb-suite-analytics-card span {
    color: #6b7280;
    font-size: 13px;
}

.jb-suite-analytics-card em {
    display: inline-flex;
    margin-top: 6px;
    font-style: normal;
    color: #6b7280;
    font-size: 12px;
}

.jb-suite-analytics-metric-header {
    margin: 8px 0 12px;
}


.jb-suite-analytics-chart {
    display: grid;
    gap: 16px;
}

.jb-suite-analytics-chart-placeholder {
    height: 220px;
    border-radius: 12px;
    border: 1px solid #e5e1d9;
    background: repeating-linear-gradient(
        to right,
        transparent 0,
        transparent 40px,
        rgba(0, 0, 0, 0.05) 40px,
        rgba(0, 0, 0, 0.05) 41px
    );
    position: relative;
    overflow: hidden;
}

.jb-suite-analytics-chart-placeholder svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.jb-suite-analytics-legend {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: #6b7280;
}

.jb-suite-analytics-dot {
    display: inline-block;
    width: 12px;
    height: 2px;
    background: #2563eb;
    margin-right: 6px;
    vertical-align: middle;
}

.jb-suite-analytics-dot.is-dashed {
    background: transparent;
    border-bottom: 2px dashed #d1d5db;
}

.jb-suite-analytics-engagement-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
@media (max-width: 900px) {
    .jb-suite-analytics-panel-header h2,
    .jb-suite-panel-header h2 {
        word-break: break-word;
    }

    .jb-suite-analytics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
