.ability-explorer-stats {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin: 16px 0 24px;
}

.ability-stat-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    padding: 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s;
    display: block;
}

a.ability-stat-card:hover {
    border-color: var(--wp-admin-theme-color-darker-20);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ability-stat-number {
    color: var(--wp-admin-theme-color-darker-20);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 8px;
}

.ability-stat-label {
    color: #1e1e1e;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ability-explorer-wrap .wp-list-table {
    border: 1px solid #c3c4c7;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.ability-explorer-wrap .wp-list-table td code {
    background: #f6f7f7;
    border-radius: 3px;
    font-size: 12px;
    padding: 2px 8px;
}

.ability-explorer-wrap td.column-primary strong {
    display: block;
    font-size: 14px;
    margin-bottom: 0.2em;
}

.ability-explorer-wrap .wp-list-table .column-provider {
    width: 10%;
}

.ability-provider {
    align-items: center;
    border-radius: 2px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 500;
    justify-content: center;
    padding: 2px 8px;
}

.ability-provider-core {
    background: #f0f6fc;
    border: 1px solid #c5d9ed;
    color: #0a4b78;
}

.ability-provider-plugin,
.ability-provider-theme {
    background: #f0f6fc;
    border: 1px solid #c3c4c7;
    color: #1e1e1e;
}

.ability-schema-wrapper {
    position: relative;
    margin-top: 10px;
}

.ability-schema-wrapper .ability-copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
}

.ability-schema-wrapper pre {
    margin: 0;
    padding: 15px;
    background: #f6f7f7;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    overflow: auto;
}

.ability-detail-section {
    background: var(--wp--preset--color--white, #fff);
    border: 1px solid var(--wp-admin-border-color, #c3c4c7);
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    margin-bottom: 16px;
    margin-top: 24px;
    padding: 16px;
}

.ability-detail-section h3 {
    margin-top: 0;
    margin-bottom: 12px;
}
