/**
 * dashboard-professional.css — v6.0 SHIM
 * Now delegates ALL tokens + layout to eap-design-system.css.
 * This file keeps backward-compatible class aliases only.
 * Enqueue eap-design-system first, then this file.
 */

/* Backward-compat: old class names that still appear in widget HTML */
.eap-premium-shell { /* alias → .eap-dashboard-app-wrap */ }
.eap-premium-shell .eap-sidebar { /* handled by eap-design-system */ }
.eap-premium-shell .eap-main    { /* handled by eap-design-system */ }

/* .eap-metric-label was renamed to .eap-kpi-label — keep both working */
.eap-metric-label {
    display: block;
    color: var(--eap-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 8px;
}
.eap-metric-value {
    color: var(--eap-text-primary);
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    font-family: var(--eap-font);
    letter-spacing: -1px;
}

/* .eap-diag-wrap used by SchemaValidator table */
.eap-diag-wrap {
    overflow-x: auto;
    display: block;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}
.eap-diag-wrap table { min-width: 720px; }

/* .eap-card-tag used by WidgetRenderer */
.eap-card-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--r-full);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Tooltip (created by dashboard.js) */
.eap-tooltip {
    position: fixed;
    background: #1f2937;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 99999;
    pointer-events: none;
    max-width: 260px;
    word-wrap: break-word;
    white-space: normal;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    line-height: 1.4;
}
