/* ==========================================================================
   TYPOGRAPHY
   Scoped to .ctc-admin-dashboard so these element styles don't leak onto
   WordPress core admin chrome (admin notices, menu, footer, media modal)
   that also renders on this page.
   ========================================================================== */
.ctc-admin-dashboard :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 700;
    line-height: 1.2;
}

.ctc-admin-dashboard h1 {
    font-size: 1.25rem;
}

.ctc-admin-dashboard h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.ctc-admin-dashboard h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.ctc-admin-dashboard h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.ctc-admin-dashboard h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.ctc-admin-dashboard p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.ctc-admin-dashboard .help-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.ctc-admin-dashboard code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

html[data-theme="light"] .ctc-admin-dashboard code {
    background-color: rgba(0, 0, 0, 0.05);
}

html[data-theme="dark"] .ctc-admin-dashboard code {
    background-color: rgba(255, 255, 255, 0.08);
}
