/*
 * Bridge layer for all single CPT pages.
 * Shared styles use :is() selector across all 6 CPT types.
 * Nerve-specific section modifier rules remain scoped to .single-nerve.
 */

/* ── Scope shorthand ────────────────────────────────────────────────── */
/*    :is(.single-muscle, .single-nerve, ...) .fe-single               */

/* ══ Hero ══════════════════════════════════════════════════════════════ */

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-hero {
    background: color-mix(in srgb, var(--fe-accent-bg) 38%, var(--fe-surface) 62%);
    border-radius: 28px;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--fe-accent) 12%, transparent);
    padding: clamp(1.5rem, 2.2vw, 2.75rem);
    margin-bottom: clamp(2rem, 3vw, 3.2rem);
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.95fr);
    gap: clamp(1.2rem, 2vw, 2rem);
    align-items: stretch;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-hero__content {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-hero__title {
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-hero__desc {
    font-size: clamp(1.02rem, 1.2vw, 1.16rem);
    line-height: 1.68;
    max-width: 65ch;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-hero__metrics {
    margin-top: 0.5rem;
    gap: clamp(0.75rem, 1.2vw, 1rem);
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-hero__media {
    display: flex;
    align-items: stretch;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-hero__media .fe-hero__image {
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--fe-accent) 16%, transparent);
    background: color-mix(in srgb, var(--fe-accent-bg) 26%, var(--fe-surface) 74%);
    padding: 0.35rem;
}

@media (max-width: 960px) {
    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-hero__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-hero__media {
        order: 2;
    }
}

/* ══ Main sections ═════════════════════════════════════════════════════ */

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-chip-list {
    gap: 0.55rem;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-network-grid {
    gap: clamp(0.75rem, 1.25vw, 1rem);
    align-items: start;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-network-card {
    background: color-mix(in srgb, var(--fe-accent-bg) 26%, var(--fe-surface) 74%);
    border-color: color-mix(in srgb, var(--fe-accent-border) 62%, transparent);
    border-radius: 16px;
    box-shadow: 0 4px 10px color-mix(in srgb, var(--fe-accent) 10%, transparent);
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-network-card__header {
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-network-card__title {
    color: color-mix(in srgb, var(--fe-accent) 40%, var(--fe-muted) 60%);
    font-size: 11.5px;
    letter-spacing: 0.08em;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-main-col {
    display: grid;
    gap: clamp(1.25rem, 1.9vw, 2rem);
}

/* ══ Nerve-specific section modifiers ══════════════════════════════════ */

.single-nerve .fe-single .fe-section--clinical,
.single-nerve .fe-single #klinika.fe-section {
    background: color-mix(in srgb, var(--fe-accent-bg) 40%, var(--fe-surface) 60%);
    border-color: color-mix(in srgb, var(--fe-accent-border) 78%, transparent);
}

.single-nerve .fe-single .fe-section__head--clinical,
.single-nerve .fe-single #klinika .fe-section__head {
    border-bottom-color: color-mix(in srgb, var(--fe-accent-border) 72%, transparent);
}

.single-nerve .fe-single .fe-section__title--clinical,
.single-nerve .fe-single #klinika .fe-section__title {
    color: color-mix(in srgb, var(--fe-accent) 68%, var(--fe-muted) 32%);
}

.single-nerve .fe-single .fe-section--roots .fe-section__head,
.single-nerve .fe-single .fe-section--course .fe-section__head {
    background: color-mix(in srgb, var(--fe-accent-bg) 32%, var(--fe-surface) 68%);
    border: 1px solid color-mix(in srgb, var(--fe-accent-border) 64%, transparent);
    border-radius: 16px;
    padding: 0.9rem 1.1rem;
}

.single-nerve .fe-single .fe-section--roots .fe-section__body,
.single-nerve .fe-single .fe-section--course .fe-section__body {
    padding-top: 0.4rem;
    display: grid;
    gap: clamp(0.85rem, 1.4vw, 1.1rem);
    grid-template-columns: minmax(0, 1fr);
}

.single-nerve .fe-single .fe-section--roots .fe-section__body > *,
.single-nerve .fe-single .fe-section--course .fe-section__body > * {
    break-inside: avoid;
}

.single-nerve .fe-single .fe-section--roots .fe-section__body ul,
.single-nerve .fe-single .fe-section--roots .fe-section__body ol,
.single-nerve .fe-single .fe-section--course .fe-section__body ul,
.single-nerve .fe-single .fe-section--course .fe-section__body ol,
.single-nerve .fe-single .fe-section--roots .fe-section__body h2,
.single-nerve .fe-single .fe-section--roots .fe-section__body h3,
.single-nerve .fe-single .fe-section--roots .fe-section__body h4,
.single-nerve .fe-single .fe-section--course .fe-section__body h2,
.single-nerve .fe-single .fe-section--course .fe-section__body h3,
.single-nerve .fe-single .fe-section--course .fe-section__body h4 {
    break-inside: avoid;
    page-break-inside: avoid;
}

@media (min-width: 1024px) {
    .single-nerve .fe-single .fe-section--roots .fe-section__body,
    .single-nerve .fe-single .fe-section--course .fe-section__body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: clamp(1.25rem, 2.1vw, 2.1rem);
    }

    .single-nerve .fe-single .fe-section--roots .fe-content-block,
    .single-nerve .fe-single .fe-section--course .fe-content-block {
        break-inside: avoid;
    }
}

/* ══ Sidebar ═══════════════════════════════════════════════════════════ */

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-panel--toc .fe-panel__inner,
:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-panel--quick .fe-panel__inner,
:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-panel--reading .fe-panel__inner {
    border-radius: 18px;
    padding: clamp(0.95rem, 1.2vw, 1.2rem);
    box-shadow: 0 5px 14px color-mix(in srgb, var(--fe-accent) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--fe-accent-border) 52%, transparent);
    background: color-mix(in srgb, var(--fe-accent-bg) 20%, var(--fe-surface) 80%);
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-panel--toc .fe-panel__title,
:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-panel--quick .fe-panel__title,
:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-panel--reading .fe-panel__title {
    margin-bottom: 0.7rem;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-quick-empty {
    font-size: 13px;
}

/* ══ Bibliography ══════════════════════════════════════════════════════ */

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single #zrodla.fe-section .fe-section__head {
    margin-bottom: clamp(0.7rem, 1.4vw, 1rem);
    padding: 0.9rem 1.05rem;
    border: 1px solid color-mix(in srgb, var(--fe-accent-border) 68%, transparent);
    border-radius: 16px;
    background: color-mix(in srgb, var(--fe-accent-bg) 24%, var(--fe-surface) 76%);
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single #zrodla .fe-section__title {
    color: color-mix(in srgb, var(--fe-accent) 64%, var(--fe-muted) 36%);
    letter-spacing: 0.01em;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single #zrodla .fe-method-note {
    margin-bottom: 0.95rem;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single #zrodla .fe-reference-list {
    margin-top: 0.95rem;
    display: grid;
    gap: 0.85rem;
    counter-reset: item;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single #zrodla .fe-reference-item {
    padding: 0.95rem 1rem 1rem;
    border-color: color-mix(in srgb, var(--fe-accent-border) 70%, transparent);
    border-radius: 14px;
    background: color-mix(in srgb, var(--fe-accent-bg) 16%, var(--fe-surface) 84%);
    box-shadow: 0 4px 10px color-mix(in srgb, var(--fe-accent) 8%, transparent);
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single #zrodla .fe-reference-top {
    gap: 0.45rem;
    margin-bottom: 0.55rem;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single #zrodla .fe-ref-badge {
    border-color: color-mix(in srgb, var(--fe-accent-border) 86%, transparent);
    background: color-mix(in srgb, var(--fe-accent-bg) 90%, var(--fe-surface) 10%);
    color: color-mix(in srgb, var(--fe-accent) 62%, var(--fe-muted) 38%);
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single #zrodla .fe-ref-badge--global {
    background: color-mix(in srgb, var(--fe-accent-bg) 82%, var(--fe-accent) 18%);
    border-color: color-mix(in srgb, var(--fe-accent-border) 94%, transparent);
    color: color-mix(in srgb, var(--fe-accent) 74%, var(--fe-muted) 26%);
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single #zrodla .fe-reference-title {
    line-height: 1.6;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-ref-meta {
    margin-top: 6px;
    font-size: 13px;
    color: var(--fe-muted);
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-ref-note {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--fe-text);
}

/* ══ Icon utility classes ══════════════════════════════════════════════ */

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-icon-11 {
    width: 11px;
    height: 11px;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-icon-12 {
    width: 12px;
    height: 12px;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-icon-13 {
    width: 13px;
    height: 13px;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-icon-15 {
    width: 15px;
    height: 15px;
}

/* ══ Responsive bibliography ═══════════════════════════════════════════ */

@media (max-width: 640px) {
    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single #zrodla.fe-section .fe-section__head {
        padding: 0.78rem 0.85rem;
    }

    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single #zrodla .fe-reference-list {
        gap: 0.72rem;
    }

    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single #zrodla .fe-reference-item {
        padding: 0.85rem 0.9rem 0.9rem;
    }
}

/* ════════════════════════════════════════
   3. PREMIUM REDESIGN MODULES (MOCKUP)
   ════════════════════════════════════════ */

/* Custom grid setup for single templates */
@media (min-width: 1024px) {
    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-layout {
        display: grid !important;
        grid-template-columns: 260px minmax(0, 1fr) !important;
        gap: 48px !important;
        align-items: start !important;
    }
}

/* Left TOC Sidebar */
.fe-toc-sidebar {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    background: #F8F5F0;
    border-right: 1px solid #e0c0b1;
    position: sticky;
    top: 96px;
    border-radius: 12px;
}

.fe-toc-sidebar__header {
    padding: 0 20px;
    margin-bottom: 20px;
}

.fe-toc-sidebar__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--fe-accent);
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.fe-toc-sidebar__subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748B;
    margin: 0;
}

.fe-toc-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fe-toc-sidebar__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--fe-text, #374151);
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-left: 4px solid transparent;
    transition: all 0.15s ease;
}

.fe-toc-sidebar__link:hover {
    background: #efeeeb;
    color: var(--fe-accent);
    text-decoration: none !important;
}

.fe-toc-sidebar__link.active,
.fe-toc-sidebar__link--active {
    border-left-color: var(--fe-accent);
    background: #e9e8e5;
    color: var(--fe-accent);
    font-weight: 700;
}

.fe-toc-sidebar__link span.material-symbols-outlined {
    font-size: 20px;
    color: inherit;
}

.fe-toc-sidebar__mobile-toggle {
    display: none;
}

@media (max-width: 1023px) {
    .fe-toc-sidebar {
        position: relative;
        top: 0;
        border-right: none;
        border: 1px solid #e0c0b1;
        margin-bottom: 12px;
        background: #F8F5F0;
        padding: 8px;
    }

    .fe-toc-sidebar__header {
        padding: 0;
        margin-bottom: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .fe-toc-sidebar__title,
    .fe-toc-sidebar__subtitle { display: none; }

    .fe-toc-sidebar__mobile-toggle {
        display: flex;
        align-items: center;
        background: none;
        border: 1px solid #e0c0b1;
        justify-content: space-between;
        min-height: 44px;
        padding: 8px 12px;
        width: 100%;
        border-radius: 6px;
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 13px;
        font-weight: 700;
        color: var(--fe-accent);
        cursor: pointer;
    }

    .fe-toc-sidebar__nav {
        display: none;
        margin-top: 16px;
        border-top: 1px solid #e0c0b1;
        padding-top: 12px;
    }

    .fe-toc-sidebar__nav.open {
        display: flex;
    }
}

html[data-fe-theme="dark"] body.single-bone .fe-hero-new__lead,
html[data-fe-theme="dark"] body.single-bone .fe-content-card__body,
html[data-fe-theme="dark"] body.single-bone .fe-rich-text,
html[data-fe-theme="dark"] .fe-hero-new__lead,
html[data-fe-theme="dark"] .fe-hero-new__header p,
html[data-fe-theme="dark"] .fe-hero-new__latin {
    color: var(--fe-text, #cbd5e1);
}

html[data-fe-theme="dark"] .fe-hero-new__title {
    color: var(--fe-text-strong, #f8fafc);
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-main-col :is(p, li) {
    line-height: 1.68;
}

/* Hero Section New */
.fe-hero-new {
    margin-bottom: 40px;
}
.fe-hero-new__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
}
.fe-hero-new__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 800;
    color: var(--fe-ink, #0f172a);
    margin: 0 0 6px 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 100%;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: normal;
}
.fe-hero-new__latin {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    font-style: italic;
    color: var(--fe-accent);
    margin: 0;
}
.fe-hero-new__ebm {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #F8F5F0;
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid #e0c0b1;
    flex-shrink: 0;
}
.fe-hero-new__ebm-icon {
    color: #0D9488;
    font-size: 18px;
}
.fe-hero-new__ebm-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #0D9488;
}
.fe-hero-new__lead {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--fe-text, #584237);
    margin: 20px 0 0 0;
    max-width: 800px;
}

/* Redesigned Featured Image with Overlay */
.fe-featured-media-container {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #e0c0b1;
    margin-bottom: 40px;
    background-color: #ffffff;
}

@media (max-width: 768px) {
    .fe-featured-media-container {
        height: 280px;
    }
}

.fe-featured-media-trigger {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    position: relative;
    text-align: left;
}

.fe-featured-media-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #ffffff;
    display: block;
}

.fe-featured-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(47, 49, 47, 0.85) 0%, rgba(47, 49, 47, 0) 65%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.fe-featured-media-caption {
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.fe-featured-media-attr {
    display: block;
    font-size: 11px;
    opacity: 0.85;
    margin-top: 4px;
}

.fe-featured-media-attr a {
    color: #ffffff;
    text-decoration: underline;
}

.fe-featured-media-zoom-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fe-ink);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.fe-featured-media-trigger:hover .fe-featured-media-zoom-icon {
    opacity: 1;
}

/* Section Headers Redesign */
.fe-section-new {
    margin-bottom: 48px;
    scroll-margin-top: 100px;
}
.fe-section-new__head {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e0c0b1;
    padding-bottom: 16px;
    margin-bottom: 24px;
}
.fe-section-new__icon {
    color: var(--fe-accent);
    font-size: 28px;
}
.fe-section-new__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    color: var(--fe-ink);
    margin: 0;
}

/* Anatomy Grid Cards */
.fe-anatomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.fe-anatomy-card {
    background: #F8F5F0;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0c0b1;
    transition: all 0.2s ease;
}

.fe-anatomy-card:hover {
    border-color: var(--fe-accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.fe-anatomy-card__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--fe-accent);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.fe-anatomy-card__content {
    font-size: 14px;
    line-height: 1.6;
    color: var(--fe-text);
}

.fe-anatomy-nerves-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fe-anatomy-nerves-list li {
    position: relative;
    padding-left: 18px;
    line-height: 1.5;
    font-size: 14px;
}

.fe-anatomy-nerves-list li::before {
    content: "•";
    position: absolute;
    left: 2px;
    color: var(--fe-accent);
    font-weight: bold;
    font-size: 18px;
    top: -2px;
}

.fe-anatomy-nerves-list a {
    color: var(--fe-accent);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s ease, border-bottom-color 0.18s ease;
    border-bottom: 1.5px solid transparent;
    display: inline-block;
}

.fe-anatomy-nerves-list a:hover {
    color: color-mix(in srgb, var(--fe-accent) 75%, #000 25%);
    border-bottom-color: color-mix(in srgb, var(--fe-accent) 75%, #000 25%);
}

/* Biomechanics Grid Layout */
.fe-biomechanics-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 24px;
}
@media (min-width: 768px) {
    .fe-biomechanics-layout {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.fe-clinical-box {
    background: var(--fe-accent-bg, #eef2ff) !important;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--fe-accent-border, #c7d2fe) !important;
}

.fe-clinical-box__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--fe-accent);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fe-clinical-box__title span.material-symbols-outlined {
    font-size: 24px;
    color: inherit;
}

.fe-clinical-box__content {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--fe-text);
}

.single-pathology .fe-clinical-box--red-flags {
    background: #fff5f5 !important;
    border-color: #f5b8b8 !important;
    border-left: 4px solid #c43232 !important;
    margin-bottom: 40px;
}

.single-pathology .fe-clinical-box--red-flags .fe-clinical-box__title {
    color: #b42318;
}

.single-pathology .fe-clinical-box--red-flags .fe-clinical-box__content,
.single-pathology .fe-clinical-box--red-flags .fe-clinical-box__content :is(p, li, strong) {
    color: #6f1d1b;
}

.single-pathology .fe-toc-sidebar__link--red-flags {
    color: #b42318;
    border-left-color: transparent;
}

.single-pathology .fe-toc-sidebar__link--red-flags:hover,
.single-pathology .fe-toc-sidebar__link--red-flags:focus-visible,
.single-pathology .fe-toc-sidebar__link--red-flags.active,
.single-pathology .fe-toc-sidebar__link--red-flags.fe-toc-sidebar__link--active {
    background: #fff1f1;
    color: #9d1c14;
    border-left-color: #c43232;
}

/* Differential Diagnosis List in Pathology */
.fe-differential-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fe-differential-item {
    margin: 0;
    padding: 0;
}

.fe-differential-item__link,
.fe-differential-item__static {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: #ffffff;
    border: 1px solid #e7dcd4;
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--fe-text, #374151);
    transition: all 0.15s ease;
    text-decoration: none !important;
    box-sizing: border-box;
}

.fe-differential-item__link {
    cursor: pointer;
}

.fe-differential-item__link:hover {
    background: #fff7ed;
    border-color: #f97316;
    color: #b5470f;
    box-shadow: 0 2px 8px rgba(181, 71, 15, 0.08);
    transform: translateY(-1px);
}

.fe-differential-item__icon {
    font-size: 18px;
    color: var(--fe-color-pathology, #b5470f);
    flex-shrink: 0;
    opacity: 0.85;
}

.fe-differential-item__text {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    color: inherit;
}

.fe-differential-item__link .fe-differential-item__text {
    color: #4f3428;
}

.fe-differential-item__link:hover .fe-differential-item__text {
    color: #9a3412;
}

.fe-differential-item__action {
    font-size: 16px;
    color: #b5470f;
    flex-shrink: 0;
    opacity: 0.6;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.fe-differential-item__link:hover .fe-differential-item__action {
    opacity: 1;
    transform: translateX(2px);
}

.fe-clinical-box__divider {
    border: 0;
    height: 1px;
    background: var(--fe-accent-border);
    margin: 16px 0;
    opacity: 0.5;
}

/* Clinical Network Redesign */
.fe-network-section-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid var(--fe-line, #e2e8f0);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.fe-network-group {
    margin-bottom: 24px;
}
.fe-network-group:last-child {
    margin-bottom: 0;
}
.fe-network-group__label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 12px 0;
}
.fe-network-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.fe-network-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    background: #ffffff;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.fe-network-chip:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
.fe-network-chip span.material-symbols-outlined {
    font-size: 16px;
    color: inherit;
}
.fe-network-chip__text {
    color: inherit;
}

/* CPT colors for chips */
.fe-network-chip--muscle {
    border-color: var(--fe-color-muscle, #3b5bdb);
    color: var(--fe-color-muscle, #3b5bdb);
}
.fe-network-chip--muscle:hover {
    background: #eef2ff;
    text-decoration: none !important;
}

.fe-network-chip--nerve {
    border-color: var(--fe-color-nerve, #b07a00);
    color: var(--fe-color-nerve, #b07a00);
}
.fe-network-chip--nerve:hover {
    background: #fefce8;
    text-decoration: none !important;
}

.fe-network-chip--vessel {
    border-color: var(--fe-color-vessel, #c92a2a);
    color: var(--fe-color-vessel, #c92a2a);
}
.fe-network-chip--vessel:hover {
    background: #fff1f2;
    text-decoration: none !important;
}

.fe-network-chip--joint {
    border-color: var(--fe-color-joint, #0c7a6e);
    color: var(--fe-color-joint, #0c7a6e);
}
.fe-network-chip--joint:hover {
    background: #effdf9;
    text-decoration: none !important;
}

.fe-network-chip--test {
    border-color: var(--fe-color-test, #6741d9);
    color: var(--fe-color-test, #6741d9);
}
.fe-network-chip--test:hover {
    background: #f5f3ff;
    text-decoration: none !important;
}

.fe-network-chip--bone {
    border-color: var(--fe-bone, #b08968);
    color: var(--fe-color-bone, #5f3f2a);
}
.fe-network-chip--bone:hover {
    background: var(--fe-bone-bg, #f7efe7);
    text-decoration: none !important;
}

.fe-network-chip--pathology {
    border-color: var(--fe-color-pathology, #b5470f);
    color: var(--fe-color-pathology, #b5470f);
}
.fe-network-chip--pathology:hover {
    background: #fff7ed;
    text-decoration: none !important;
}

/* Bibliography Redesign */
.fe-bib-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fe-bib-item {
    display: flex;
    align-items: start;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.fe-bib-item:hover {
    background: #efeeeb;
    border-color: var(--fe-line, #e2e8f0);
}
html[data-fe-theme="dark"] .fe-bib-item:hover,
html[data-fe-theme="dark"] .fe-bib-item:focus-within {
    background: var(--fe-surface-hover, #241f1b) !important;
    border-color: var(--fe-border-strong, #5f493e) !important;
}
html[data-fe-theme="dark"] .fe-bib-item:hover .fe-bib-item__citation,
html[data-fe-theme="dark"] .fe-bib-item:focus-within .fe-bib-item__citation {
    color: var(--fe-text-strong) !important;
}
html[data-fe-theme="dark"] .fe-bib-item:hover .fe-bib-item__meta,
html[data-fe-theme="dark"] .fe-bib-item:focus-within .fe-bib-item__meta {
    color: var(--fe-text-muted) !important;
}
.fe-bib-item__icon-box {
    background: var(--fe-bg-soft, #f5f4f1);
    padding: 8px;
    border-radius: 6px;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fe-bib-item__icon-box span.material-symbols-outlined {
    font-size: 20px;
}
.fe-bib-item__content {
    flex: 1;
}
.fe-bib-item__citation {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--fe-ink);
    margin: 0 0 4px 0;
    line-height: 1.5;
}
.fe-bib-item__meta {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    color: #64748B;
    margin: 0;
}
html[data-fe-theme="dark"] .fe-bib-item__citation {
    color: var(--fe-ink);
}
html[data-fe-theme="dark"] .fe-bib-item__meta {
    color: var(--fe-muted);
}
.fe-bib-item__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--fe-accent);
    text-decoration: none !important;
    opacity: 0;
    transition: opacity 0.2s ease;
    margin-left: auto;
    white-space: nowrap;
    align-self: center;
}
.fe-bib-item:hover .fe-bib-item__link {
    opacity: 1;
}
@media (max-width: 767px) {
    .fe-bib-item {
        flex-direction: column;
        gap: 12px;
    }
    .fe-bib-item__link {
        opacity: 1;
        margin-left: 0;
        margin-top: 8px;
    }
}

/* Clinical test mobile readability */
@media (max-width: 700px) {
    .single-clinical_test .fe-single {
        padding-inline: 12px;
    }

    .single-clinical_test .fe-single .fe-section__head,
    .single-clinical_test .fe-single .fe-section__body {
        padding-inline: 16px;
    }

    .single-clinical_test .fe-single .fe-section__body,
    .single-clinical_test .fe-single .fe-content-block,
    .single-clinical_test .fe-single .fe-pos-sign {
        display: block;
        max-width: none;
        width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .single-clinical_test .fe-single .fe-content-block {
        font-size: 16px;
        line-height: 1.72;
    }

    .single-clinical_test .fe-single .fe-content-block > *,
    .single-clinical_test .fe-single .fe-pos-sign > * {
        max-width: 100%;
    }

    .single-clinical_test .fe-single .fe-content-block :is(.wp-block-columns, .wp-block-column, .fe-two-col, .fe-grid, .fe-card-grid, .columns, .column) {
        display: block;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        flex: 0 1 auto !important;
        float: none !important;
        margin-inline: 0 !important;
    }

    .single-clinical_test .fe-single .fe-content-block :is(.wp-block-columns, .fe-two-col, .fe-grid, .fe-card-grid, .columns) > * + * {
        margin-top: 14px;
    }

    .single-clinical_test .fe-single .fe-pos-sign {
        margin-top: 14px;
        padding: 15px;
        border-left-width: 0;
        border-top: 3px solid var(--fe-accent);
        border-radius: var(--fe-radius-sm);
        font-size: 16px;
        line-height: 1.72;
    }

    .single-clinical_test .fe-single .fe-score-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .single-clinical_test .fe-single .fe-score-badge {
        width: 100%;
        line-height: 1.35;
    }
}

/* Muscle single page: warm anatomy layout with CPT-safe relation colors */
body.single-muscle .fe-hero-new {
    margin-bottom: 32px;
}

body.single-muscle .fe-hero-new__header {
    align-items: flex-start;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-section-new__head {
    border-bottom-color: #e6c7b7;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-section-new__icon,
:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-section-new__title {
    color: var(--fe-accent);
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-anatomy-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.35fr);
    gap: 24px;
    align-items: stretch;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-anatomy-layout--no-image {
    grid-template-columns: minmax(0, 1fr);
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-anatomy-card--highlighted {
    background: color-mix(in srgb, var(--fe-color-muscle, #3b5bdb) 4%, var(--fe-surface) 96%) !important;
    border: 1px solid color-mix(in srgb, var(--fe-color-muscle, #3b5bdb) 30%, transparent) !important;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--fe-color-muscle, #3b5bdb) 8%, transparent);
}
:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-anatomy-card--highlighted .fe-anatomy-card__title {
    color: var(--fe-color-muscle, #3b5bdb);
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card {
    min-height: 360px;
    border: 1px solid #ecd4c8;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(180deg, #fffaf4 0%, #f8f1e9 100%);
    box-shadow: 0 16px 34px rgba(124, 45, 18, 0.08);
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card .fe-featured-media-trigger {
    min-height: 100%;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card__image {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: contain;
    display: block;
    background: #fffaf4;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 56px 18px 18px;
    background: linear-gradient(to top, rgba(67, 28, 11, 0.78), rgba(67, 28, 11, 0));
    opacity: 0;
    transition: opacity 0.18s ease;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card:hover .fe-muscle-visual-card__overlay,
:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card:focus-within .fe-muscle-visual-card__overlay {
    opacity: 1;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card__fallback {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px;
    text-align: center;
    color: #8a3a0a;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card__fallback .material-symbols-outlined {
    font-size: 42px;
    color: #c2410c;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card__fallback strong {
    font-family: var(--fe-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 17px;
    color: #6f2d08;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card__fallback p {
    max-width: 260px;
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #8c7164;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-anatomy-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-anatomy-grid--topographic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 0;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-anatomy-card {
    background: #fffaf4;
    border-color: #ecd4c8;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(124, 45, 18, 0.05);
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-anatomy-card:hover {
    border-color: #d97706;
    box-shadow: 0 14px 30px rgba(124, 45, 18, 0.08);
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-anatomy-card__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-anatomy-card__heading .material-symbols-outlined {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffedd5;
    color: #c2410c;
    font-size: 18px;
    flex: 0 0 auto;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-anatomy-card__title {
    margin: 0;
    color: #7c2d12;
    letter-spacing: 0;
    text-transform: none;
    font-size: 15px;
    line-height: 1.25;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-anatomy-card__content {
    color: #4f3428;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-anatomy-card__content ul,
:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-anatomy-card__content ol {
    margin-top: 8px;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-anatomy-card--innervation {
    background: #f8f5f0;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-chips--compact {
    gap: 8px;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-section-container--collapsible {
    background: #fffaf4;
    border-color: #ecd4c8;
    box-shadow: 0 16px 34px rgba(124, 45, 18, 0.06);
    padding: 18px;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group--collapsible {
    margin: 0;
    border-bottom: 1px solid #f0ded4;
    padding: 0;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group--collapsible:last-child {
    border-bottom: 0;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group__summary {
    min-height: 48px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
    cursor: pointer;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    user-select: none;
    border-radius: 8px;
    transition: background-color 0.15s ease;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group__summary:active {
    background-color: #fdf3ea;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group__summary:focus-visible {
    outline: 2px solid var(--fe-accent);
    outline-offset: 2px;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group__summary::-webkit-details-marker {
    display: none;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group__summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #9a3412;
    border-bottom: 1.5px solid #9a3412;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
    grid-column: 3;
    justify-self: end;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group--collapsible[open] .fe-network-group__summary::after {
    transform: rotate(225deg);
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group__summary-icon {
    grid-column: 1;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffedd5;
    color: #c2410c;
    font-size: 16px;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group__summary .fe-network-group__label {
    grid-column: 2;
    margin: 0;
    color: #7c2d12;
    letter-spacing: 0.04em;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group__count {
    grid-column: 3;
    justify-self: end;
    margin-right: 22px;
    min-width: 26px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ffedd5;
    color: #9a3412;
    font-size: 12px;
    font-weight: 800;
}

:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group--collapsible .fe-network-chips {
    padding: 2px 0 16px 38px;
}

@media (max-width: 980px) {
    :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-anatomy-layout,
    :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-anatomy-layout--no-image {
        grid-template-columns: 1fr;
    }

    :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card,
    :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card__image,
    :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card__fallback {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .fe-anatomy-grid {
        grid-template-columns: 1fr !important;
    }

    .fe-anatomy-grid .fe-anatomy-card[style*="grid-column"] {
        grid-column: span 1 !important;
    }

    .fe-biomechanics-layout .fe-clinical-box[style*="grid-column"] {
        grid-column: span 1 !important;
    }
}

@media (max-width: 640px) {
    :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-hero-new {
        margin-bottom: 24px;
    }

    :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-anatomy-grid--topographic {
        grid-template-columns: 1fr;
    }

    :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-anatomy-grid {
        grid-template-columns: 1fr !important;
    }

    .fe-anatomy-grid {
        grid-template-columns: 1fr !important;
    }

    .fe-anatomy-grid .fe-anatomy-card[style*="grid-column"] {
        grid-column: span 1 !important;
    }

    .fe-biomechanics-layout .fe-clinical-box[style*="grid-column"] {
        grid-column: span 1 !important;
    }

    :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card,
    :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card__image,
    :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-muscle-visual-card__fallback {
        min-height: 240px;
    }

    :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-section-container--collapsible {
        padding: 12px;
    }

    :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group__summary {
        grid-template-columns: 26px minmax(0, 1fr) auto;
        gap: 8px;
    }

    :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group__count {
        margin-right: 18px;
    }

    :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group--collapsible .fe-network-chips {
        padding-left: 0;
    }
}

/* Shared single CPT landscape mode for rotated phones */
@media (orientation: landscape) and (max-height: 560px) and (min-width: 640px) and (max-width: 1100px) {
    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) {
        overflow-x: hidden;
    }

    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single {
        max-width: min(100%, 1040px);
        margin-inline: auto;
        padding-inline: clamp(16px, 3vw, 28px);
    }

    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-layout {
        display: grid !important;
        grid-template-columns: minmax(168px, 0.24fr) minmax(0, 1fr) !important;
        gap: clamp(18px, 3vw, 30px) !important;
        align-items: start !important;
    }

    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-main-col {
        min-width: 0;
        gap: clamp(16px, 2.4vw, 24px);
        padding-top: 0 !important;
    }

    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .site-header .ast-primary-header-bar,
    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .site-header .main-header-bar,
    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .site-header .main-header-bar-wrap,
    .site-header .ast-primary-header-bar,
    .site-header .main-header-bar,
    .site-header .main-header-bar-wrap {
        min-height: 50px !important;
        max-height: 54px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .site-header :is(.custom-logo-link.fe-theme-logo, .custom-logo-link img, .custom-logo) {
        max-height: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        width: 42px !important;
    }

    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .ast-mobile-menu-trigger-minimal,
    :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .main-header-menu-toggle,
    .ast-mobile-menu-trigger-minimal,
    .main-header-menu-toggle {
        transform: scale(0.85);
        transform-origin: center;
        padding: 4px !important;
    }
    .fe-toc-sidebar {
        position: sticky;
        top: 72px;
        max-height: calc(100dvh - 88px);
        overflow: auto;
        margin-bottom: 0;
        padding: 12px;
        border: 1px solid #e0c0b1;
        border-radius: 10px;
    }

    .fe-toc-sidebar__header {
        display: block;
        padding: 0;
        margin-bottom: 10px;
    }

    .fe-toc-sidebar__title {
        font-size: 16px;
    }

    .fe-toc-sidebar__subtitle {
        font-size: 9px;
    }

    .fe-toc-sidebar__mobile-toggle {
        display: none !important;
    }

    .fe-toc-sidebar__nav {
        display: flex !important;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #e0c0b1;
        gap: 2px;
    }

    .fe-toc-sidebar__link {
        min-height: 34px;
        padding: 8px 9px;
        font-size: 12px;
        gap: 7px;
    }

    .fe-toc-sidebar__link span.material-symbols-outlined {
        font-size: 16px;
    }

    .fe-hero-new {
        margin-bottom: 20px;
    }

    .fe-hero-new__title {
        font-size: clamp(28px, 4.1vw, 38px);
        line-height: 1.06;
        letter-spacing: 0;
    }

    .fe-hero-new__latin {
        font-size: clamp(16px, 2.25vw, 20px);
    }

    .fe-hero-new__lead,
    .fe-readability,
    .fe-anatomy-card__content,
    .fe-clinical-box__content {
        font-size: 14px;
        line-height: 1.55;
    }

    .fe-section-new {
        margin-bottom: 30px;
        scroll-margin-top: 82px;
    }

    .fe-section-new__head {
        padding-bottom: 10px;
        margin-bottom: 16px;
    }

    .fe-section-new__icon {
        font-size: 22px;
    }

    .fe-section-new__title {
        font-size: clamp(18px, 2.8vw, 22px);
    }

    .fe-featured-media-container {
        height: clamp(220px, 54dvh, 320px);
        margin-bottom: 28px;
    }

    .fe-anatomy-card,
    .fe-clinical-box,
    .fe-network-section-container {
        padding: 16px;
    }
}

.fe-muscle-summary-card {
    display: block;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid #ecd4c8;
    border-radius: 12px;
    background: linear-gradient(135deg, #fffaf4 0%, #f8f1e9 100%);
    box-shadow: 0 14px 30px rgba(124, 45, 18, 0.06);
}

.fe-muscle-summary-card:has(.fe-muscle-context-table),
body.single-muscle .fe-muscle-summary-card {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.75fr);
    gap: 18px;
    align-items: stretch;
}

@media (max-width: 768px) {
    .fe-muscle-summary-card:has(.fe-muscle-context-table),
    body.single-muscle .fe-muscle-summary-card {
        grid-template-columns: 1fr;
    }
}

.fe-muscle-summary-card__copy {
    min-width: 0;
}

.fe-muscle-summary-card__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #9a3412;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fe-muscle-summary-card .fe-text-prose,
.fe-muscle-summary-card .fe-text-paragraph,
.fe-muscle-summary-card p {
    margin-top: 0;
    margin-bottom: 0;
}

html[data-fe-theme="dark"] .fe-muscle-summary-card {
    background: var(--fe-surface-raised, #1e293b);
    border-color: var(--fe-border, #334155);
    color: var(--fe-text, #cbd5e1);
    box-shadow: none;
}

html[data-fe-theme="dark"] .fe-muscle-summary-card__eyebrow {
    color: var(--fe-brand-primary, #f97316);
}

.fe-muscle-context-table,
body.single-muscle .fe-muscle-biomechanics-table dl {
    margin: 0;
    display: grid;
    gap: 0;
    border: 1px solid #ecd4c8;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.58);
}

.fe-muscle-context-table > div,
body.single-muscle .fe-muscle-biomechanics-table dl > div {
    display: grid;
    grid-template-columns: minmax(96px, 0.8fr) minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
    padding: 0;
    border-bottom: 1px solid #f0ded4;
}

.fe-muscle-context-table dt,
body.single-muscle .fe-muscle-biomechanics-table dt {
    padding: 10px 12px 10px 12px;
}

.fe-muscle-context-table dd,
body.single-muscle .fe-muscle-biomechanics-table dd {
    padding: 10px 14px;
}

.fe-muscle-context-table > div:last-child,
body.single-muscle .fe-muscle-biomechanics-table dl > div:last-child {
    border-bottom: 0;
}

.fe-muscle-context-table dt,
body.single-muscle .fe-muscle-biomechanics-table dt {
    color: #8c7164;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-right: 1px solid #f0ded4;
    padding-right: 10px;
    display: flex;
    align-items: center;
}

.fe-muscle-context-table dd,
body.single-muscle .fe-muscle-biomechanics-table dd {
    margin: 0;
    color: #4f3428;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    display: flex;
    align-items: center;
}

html[data-fe-theme="dark"] .fe-muscle-context-table,
html[data-fe-theme="dark"] .fe-muscle-biomechanics-table dl {
    background: var(--fe-surface, #0f172a);
    border-color: var(--fe-border, #334155);
}

html[data-fe-theme="dark"] .fe-muscle-context-table > div,
html[data-fe-theme="dark"] .fe-muscle-biomechanics-table dl > div {
    border-bottom-color: var(--fe-border, #334155);
}

html[data-fe-theme="dark"] .fe-muscle-context-table dt,
html[data-fe-theme="dark"] .fe-muscle-biomechanics-table dt {
    color: var(--fe-text-muted, #94a3b8);
    border-right-color: var(--fe-border, #334155);
}

html[data-fe-theme="dark"] .fe-muscle-context-table dd,
html[data-fe-theme="dark"] .fe-muscle-biomechanics-table dd {
    color: var(--fe-text, #f8fafc);
}

body.single-muscle .fe-biomechanics-layout--muscle {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: start;
    gap: 24px;
}

body.single-muscle .fe-muscle-functional-card,
body.single-muscle .fe-muscle-biomechanics-table,
body.single-muscle .fe-clinical-box--muscle {
    border: 1px solid #ecd4c8;
    border-radius: 12px;
    background: #fffaf4;
    box-shadow: 0 12px 28px rgba(124, 45, 18, 0.05);
}

body.single-muscle .fe-muscle-functional-card {
    padding: 22px;
}

body.single-muscle .fe-muscle-functional-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

body.single-muscle .fe-muscle-functional-card__head .material-symbols-outlined {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffedd5;
    color: #c2410c;
    font-size: 18px;
}

body.single-muscle .fe-muscle-functional-card__head h3,
body.single-muscle .fe-muscle-biomechanics-table h3 {
    margin: 0;
    color: #7c2d12;
    font-size: 16px;
    line-height: 1.25;
}

body.single-muscle .fe-muscle-biomechanics-aside {
    display: grid;
    gap: 16px;
}

body.single-muscle .fe-muscle-biomechanics-table {
    padding: 16px;
}

body.single-muscle .fe-muscle-biomechanics-table h3 {
    margin-bottom: 12px;
}

body.single-muscle .fe-clinical-box--muscle {
    background: linear-gradient(135deg, #fff7ed 0%, #f8f1e9 100%) !important;
    border-color: #ecd4c8 !important;
}

body.single-muscle .fe-clinical-box--muscle .fe-clinical-box__title {
    color: #c2410c;
}

@media (max-width: 820px) {
    body.single-muscle .fe-muscle-summary-card,
    body.single-muscle .fe-biomechanics-layout--muscle {
        grid-template-columns: 1fr;
    }
}

@media (orientation: landscape) and (max-height: 560px) and (min-width: 640px) and (max-width: 1100px) {
    body.single-muscle .fe-muscle-summary-card {
        grid-template-columns: minmax(0, 1.25fr) minmax(190px, 0.75fr);
        gap: 14px;
        padding: 14px;
        margin-top: 16px;
    }

    body.single-muscle .fe-muscle-anatomy-layout,
    body.single-muscle .fe-muscle-anatomy-layout--no-image {
        grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
        gap: 16px;
    }

    body.single-muscle .fe-anatomy-grid--topographic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.single-muscle .fe-muscle-visual-card,
    body.single-muscle .fe-muscle-visual-card__image,
    body.single-muscle .fe-muscle-visual-card__fallback {
        min-height: clamp(210px, 50dvh, 280px);
    }

    body.single-muscle .fe-biomechanics-layout--muscle {
        grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
        gap: 16px;
    }

    body.single-muscle .fe-muscle-functional-card,
    body.single-muscle .fe-muscle-biomechanics-table,
    body.single-muscle .fe-clinical-box--muscle {
        padding: 14px;
    }

    body.single-muscle .fe-muscle-context-table > div,
    body.single-muscle .fe-muscle-biomechanics-table dl > div {
        grid-template-columns: minmax(80px, 0.72fr) minmax(0, 1fr);
        padding: 0;
    }

    body.single-muscle .fe-muscle-context-table dt,
    body.single-muscle .fe-muscle-biomechanics-table dt {
        padding: 8px 10px 8px 10px;
    }

    body.single-muscle .fe-muscle-context-table dd,
    body.single-muscle .fe-muscle-biomechanics-table dd {
        padding: 8px 10px 8px 0;
    }
}

/* Clinical test display polish */
.single-clinical_test .material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    min-width: 1em;
    max-width: 1em;
    min-height: 1em;
    overflow: hidden;
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.single-clinical_test .fe-clinical-purpose-lead {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin: 18px 0 0;
    padding: 16px 18px;
    border: 1px solid #e0c0b1;
    border-left: 4px solid var(--fe-accent, #6741d9);
    border-radius: 12px;
    background: linear-gradient(135deg, #fffaf3 0%, #f8f5f0 100%);
    box-shadow: 0 10px 28px rgba(62, 43, 31, 0.06);
}

.single-clinical_test .fe-clinical-purpose-lead__icon {
    width: 34px;
    min-width: 34px;
    max-width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fff1e6;
    color: #b45309;
    font-size: 19px;
}

.single-clinical_test .fe-clinical-purpose-lead strong {
    display: block;
    margin: 0 0 5px;
    color: #7c2d12;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.single-clinical_test .fe-clinical-purpose-lead__text,
.single-clinical_test .fe-clinical-purpose-lead__text p,
.single-clinical_test .fe-clinical-purpose-lead__text li {
    margin-bottom: 0;
    color: var(--fe-text, #584237);
    font-size: 15px;
    line-height: 1.7;
}

.single-clinical_test .fe-ebm-summary .fe-no-ebm-banner,
.single-clinical_test .fe-no-ebm-banner {
    margin-top: 18px;
}

.single-clinical_test .fe-clinical-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: clinical-step;
}

.single-clinical_test .fe-clinical-step {
    position: relative;
    min-height: 28px;
    padding-left: 38px;
    color: var(--fe-text, #584237);
    line-height: 1.72;
    counter-increment: clinical-step;
}

.single-clinical_test .fe-clinical-step::before {
    content: counter(clinical-step);
    position: absolute;
    left: 0;
    top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #fed7aa;
    color: #9a3412;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.single-clinical_test .fe-clinical-step strong {
    color: var(--fe-ink, #0f172a);
    font-weight: 800;
}

.single-clinical_test .fe-ebm-summary,
.single-clinical_test .fe-ebm-pills,
.single-clinical_test .fe-ebm-pill,
.single-clinical_test [class*="gauge"],
.single-clinical_test [class*="Gauge"] {
    min-width: 0;
}

.single-clinical_test .fe-ebm-pill svg,
.single-clinical_test .fe-ebm-summary svg,
.single-clinical_test [class*="gauge"] svg,
.single-clinical_test [class*="Gauge"] svg {
    display: block;
    width: 84px !important;
    height: 84px !important;
    max-width: 84px !important;
    max-height: 84px !important;
    flex: 0 0 84px;
    overflow: visible;
}

.single-clinical_test .fe-ebm-pill circle,
.single-clinical_test .fe-ebm-summary circle,
.single-clinical_test [class*="gauge"] circle,
.single-clinical_test [class*="Gauge"] circle {
    fill: none !important;
    vector-effect: non-scaling-stroke;
    transform-origin: 50% 50%;
}

.single-clinical_test .fe-clinical-profile__metrics {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
}

.single-clinical_test .fe-clinical-gauge {
    display: grid;
    justify-items: center;
    width: 96px;
    max-width: 96px;
    gap: 8px;
    text-align: center;
}

.single-clinical_test .fe-clinical-gauge__ring {
    position: relative;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
}

.single-clinical_test .fe-clinical-gauge__ring svg {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}

.single-clinical_test .fe-clinical-gauge__track,
.single-clinical_test .fe-clinical-gauge__fill {
    fill: none !important;
    stroke-width: 4;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.single-clinical_test .fe-clinical-gauge__track {
    stroke: #e7e0dc;
}

.single-clinical_test .fe-clinical-gauge__fill {
    stroke: #f97316;
}

.single-clinical_test .fe-clinical-gauge__value {
    position: relative;
    z-index: 1;
    color: var(--fe-ink, #0f172a);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.single-clinical_test .fe-clinical-gauge__label {
    display: block;
    color: var(--fe-ink, #0f172a);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.single-clinical_test .fe-clinical-gauge__label span {
    color: #475569;
    font-weight: 700;
}
@media (max-width: 700px) {
    .single-clinical_test .fe-clinical-purpose-lead {
        grid-template-columns: 30px minmax(0, 1fr);
        padding: 14px;
        margin-top: 14px;
    }

    .single-clinical_test .fe-clinical-purpose-lead__icon {
        width: 30px;
        min-width: 30px;
        max-width: 30px;
        height: 30px;
        font-size: 17px;
    }

    .single-clinical_test .fe-clinical-step {
        padding-left: 34px;
    }
}
.single-clinical_test .fe-no-ebm-banner svg,
.single-clinical_test .fe-no-ebm-banner i svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex: 0 0 20px;
}

html[data-fe-theme="dark"] :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) :is(
    .fe-toc-sidebar,
    .fe-toc-sidebar__nav,
    .fe-clinical-box,
    .fe-clinical-card,
    .fe-network-section-container,
    .fe-network-group,
    .fe-bibliography,
    .fe-references,
    .fe-reference-list
) {
    background: var(--fe-surface) !important;
    border-color: var(--fe-border) !important;
    color: var(--fe-text);
}

html[data-fe-theme="dark"] :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) :is(
    .fe-toc-sidebar__link,
    .fe-network-group__summary,
    .fe-reference-list li
) {
    background: var(--fe-surface-sunken) !important;
    border-color: var(--fe-border) !important;
    color: var(--fe-text) !important;
}

html[data-fe-theme="dark"] .single-pathology .fe-clinical-box.fe-clinical-box--red-flags {
    background: #351d1d !important;
    border-color: #934846 !important;
    border-left-color: #f08a82 !important;
    color: #ffe0dd !important;
}

html[data-fe-theme="dark"] .single-pathology .fe-clinical-box--red-flags .fe-clinical-box__title,
html[data-fe-theme="dark"] .single-pathology .fe-clinical-box--red-flags .fe-clinical-box__title span,
html[data-fe-theme="dark"] .single-pathology .fe-clinical-box--red-flags .fe-clinical-box__content,
html[data-fe-theme="dark"] .single-pathology .fe-clinical-box--red-flags .fe-clinical-box__content :is(p, li, strong) {
    color: #ffe0dd !important;
}

html[data-fe-theme="dark"] .single-pathology .fe-toc-sidebar__link.fe-toc-sidebar__link--red-flags {
    background: transparent !important;
    border-left-color: transparent !important;
    color: #ffb4ae !important;
}

html[data-fe-theme="dark"] .single-pathology .fe-toc-sidebar__link.fe-toc-sidebar__link--red-flags:hover,
html[data-fe-theme="dark"] .single-pathology .fe-toc-sidebar__link.fe-toc-sidebar__link--red-flags:focus-visible,
html[data-fe-theme="dark"] .single-pathology .fe-toc-sidebar__link.fe-toc-sidebar__link--red-flags.active,
html[data-fe-theme="dark"] .single-pathology .fe-toc-sidebar__link.fe-toc-sidebar__link--red-flags.fe-toc-sidebar__link--active {
    background: #40211f !important;
    border-left-color: #f08a82 !important;
    color: #ffe0dd !important;
}

html[data-fe-theme="dark"] body.single-muscle :is(
    .fe-muscle-summary-card,
    .fe-muscle-functional-card,
    .fe-muscle-biomechanics-table,
    .fe-clinical-box--muscle
) {
    background: var(--fe-surface) !important;
    border-color: var(--fe-border) !important;
    color: var(--fe-text) !important;
}

html[data-fe-theme="dark"] body.single-muscle :is(
    .fe-muscle-context-table,
    .fe-muscle-biomechanics-table dl
) {
    background: var(--fe-surface-sunken) !important;
    border-color: var(--fe-border) !important;
}

html[data-fe-theme="dark"] body.single-muscle :is(
    .fe-muscle-context-table > div,
    .fe-muscle-biomechanics-table dl > div
) {
    border-color: var(--fe-border) !important;
}

html[data-fe-theme="dark"] body.single-muscle :is(
    .fe-muscle-summary-card p,
    .fe-muscle-functional-card p,
    .fe-muscle-functional-card li,
    .fe-muscle-biomechanics-table p,
    .fe-clinical-box--muscle p,
    .fe-clinical-box--muscle li
) {
    color: var(--fe-text) !important;
}

html[data-fe-theme="dark"] body.single-muscle :is(
    .fe-muscle-functional-card__head h3,
    .fe-muscle-biomechanics-table h3,
    .fe-muscle-context-table dd,
    .fe-muscle-biomechanics-table dd
) {
    color: var(--fe-text-strong) !important;
}

html[data-fe-theme="dark"] body.single-muscle :is(
    .fe-muscle-context-table dt,
    .fe-muscle-biomechanics-table dt
) {
    color: var(--fe-text-muted) !important;
}

html[data-fe-theme="dark"] :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-network-chip {
    background: var(--fe-surface-sunken) !important;
    border-color: var(--fe-border-strong) !important;
    color: var(--fe-text-strong) !important;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) :is(
    .fe-hero-new__header,
    .fe-hero-new__header > div,
    .fe-section-new__head,
    .fe-section-new__title,
    .fe-anatomy-card,
    .fe-anatomy-card__title
) {
    min-width: 0;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) :is(
    .fe-section-new__title,
    .fe-anatomy-card__title
) {
    overflow: visible;
    overflow-wrap: anywhere;
    white-space: normal;
}

html[data-fe-theme="dark"] :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) :is(
    .fe-anatomy-card,
    .fe-anatomy-card--highlighted,
    .fe-clinical-purpose-lead,
    .fe-no-ebm-banner,
    .fe-network-section-container--collapsible,
    .fe-network-group--collapsible
) {
    background: var(--fe-surface) !important;
    border-color: var(--fe-border) !important;
    color: var(--fe-text) !important;
}

html[data-fe-theme="dark"] :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) :is(
    .fe-anatomy-card__title,
    .fe-anatomy-card__heading,
    .fe-anatomy-card__content,
    .fe-network-group__label,
    .fe-network-chip
) {
    color: var(--fe-text) !important;
}

html[data-fe-theme="dark"] :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-muscle-visual-card {
    background: var(--fe-surface-sunken) !important;
    border-color: var(--fe-border-strong) !important;
    box-shadow: var(--fe-shadow-md);
}

html[data-fe-theme="dark"] :is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-muscle-visual-card__image {
    background: var(--fe-surface-sunken) !important;
}
/* Publiczny proces terapeutyczny na stronie patologii */
.fe-cpw-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    margin-top: 1rem;
    padding: 0.7rem 1rem;
    border: 1px solid var(--fe-accent-border, #f0b896);
    border-radius: var(--fe-radius-control, 10px);
    background: var(--fe-accent-bg, #fff2e8);
    color: var(--fe-accent, #b5470f);
    font-weight: 700;
    text-decoration: none;
}

.fe-cpw-hero-cta:hover,
.fe-cpw-hero-cta:focus-visible {
    border-color: var(--fe-accent, #b5470f);
    color: var(--fe-accent, #b5470f);
    text-decoration: none;
}

.fe-cpw-hero-cta:focus-visible,
.fe-cpw a:focus-visible,
.fe-cpw summary:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--fe-accent, #b5470f) 34%, transparent);
    outline-offset: 3px;
}

.fe-cpw-pathway {
    min-width: 0;
    padding: clamp(0.9rem, 2vw, 1.25rem) 0 0;
    border-top: 1px solid var(--fe-line, #e2e8f0);
    background: transparent;
}

.fe-cpw-pathway + .fe-cpw-pathway { margin-top: 1.25rem; }
.fe-cpw-pathway__title { margin: 0 0 1rem; color: var(--fe-ink, #0f172a); font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
.fe-cpw-intro { display: grid; grid-template-columns: minmax(120px, 0.25fr) minmax(0, 1fr); gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--fe-line, #e2e8f0); }
.fe-cpw-intro h3, .fe-cpw-intro p { margin: 0; }
.fe-cpw-intro h3 { color: var(--fe-accent, #b5470f); font-size: 0.85rem; }
.fe-cpw-intro p { color: var(--fe-text, #475569); }

.fe-cpw-tools { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.9rem 0; }
.fe-cpw-tool { display: inline-flex; align-items: center; max-width: 100%; padding: 0.42rem 0.72rem; border: 1px solid var(--fe-accent-border, #f0b896); border-radius: 999px; background: var(--fe-accent-bg, #fff2e8); color: var(--fe-accent, #b5470f); font-size: 0.82rem; font-weight: 700; overflow-wrap: anywhere; text-decoration: none; }
.fe-cpw-tool--unknown { border-style: dashed; color: var(--fe-muted, #64748b); }

.fe-cpw-block { margin-top: 1rem; }
.fe-cpw-block h4 { margin: 0 0 0.5rem; color: var(--fe-ink, #0f172a); font-size: 0.95rem; }
.fe-cpw-list { margin: 0; padding-left: 1.25rem; color: var(--fe-text, #475569); }
.fe-cpw-list li + li { margin-top: 0.45rem; }
.fe-cpw-citations { white-space: nowrap; }
.fe-cpw-citation { color: var(--fe-accent, #b5470f); font-size: 0.78em; font-weight: 800; text-decoration: none; }
.fe-cpw-dosage { margin-top: 0.45rem; padding: 0.65rem 0.75rem; border-left: 3px solid var(--fe-accent, #b5470f); border-radius: 0 10px 10px 0; background: var(--fe-accent-bg, #fff2e8); }

.fe-cpw-phase { margin-top: 0.9rem; border: 1px solid var(--fe-line, #e2e8f0); border-radius: 14px; background: var(--fe-surface, #fff); overflow: clip; }
.fe-cpw-phase summary { display: flex; align-items: center; gap: 0.7rem; min-width: 0; padding: 0.9rem 1rem; cursor: pointer; list-style: none; background: color-mix(in srgb, var(--fe-accent-bg, #fff2e8) 55%, var(--fe-surface, #fff)); }
.fe-cpw-phase summary::-webkit-details-marker { display: none; }
.fe-cpw-phase summary h3 { min-width: 0; flex: 1; margin: 0; color: var(--fe-ink, #0f172a); font-size: 1rem; overflow-wrap: anywhere; }
.fe-cpw-phase__index { color: var(--fe-accent, #b5470f); font-size: 0.75rem; font-weight: 800; }
.fe-cpw-phase__toggle::before { content: "+"; color: var(--fe-accent, #b5470f); font-size: 1.35rem; font-weight: 700; }
.fe-cpw-phase[open] .fe-cpw-phase__toggle::before { content: "−"; }
.fe-cpw-phase__body { padding: 1rem; }
.fe-cpw-phase__summary, .fe-cpw-timeframe { margin: 0 0 0.8rem; color: var(--fe-text, #475569); }

.fe-cpw-sources { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--fe-line, #e2e8f0); }
.fe-cpw-sources h3 { margin: 0 0 0.75rem; color: var(--fe-ink, #0f172a); font-size: 1rem; }
.fe-cpw-sources h3 span { color: var(--fe-muted, #64748b); font-size: 0.82em; font-weight: 600; }
.fe-cpw-sources ol { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.fe-cpw-sources li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.55rem; color: var(--fe-text, #475569); overflow-wrap: anywhere; }
.fe-cpw-source__number { color: var(--fe-accent, #b5470f); font-weight: 800; }
.fe-cpw-source__body { display: grid; gap: 0.25rem; }
.fe-cpw-source__ids { color: var(--fe-muted, #64748b); font-size: 0.76rem; }
.fe-cpw-sources a { color: var(--fe-accent, #b5470f); }

html[data-fe-theme="dark"] .fe-cpw-pathway { background: transparent; border-color: var(--fe-line, #45382f); }
html[data-fe-theme="dark"] .fe-cpw-phase { background: var(--fe-surface, #181411); border-color: var(--fe-line, #45382f); }

@media (max-width: 720px) {
    .fe-cpw-intro { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
    .fe-cpw-pathway { border-radius: 0; }
}

@media (max-width: 390px) {
    .fe-cpw-pathway { padding: 0.85rem 0 0; }
    .fe-cpw-phase__body { padding: 0.85rem; }
    .fe-cpw-phase summary { padding: 0.8rem; }
    .fe-cpw-hero-cta { width: 100%; justify-content: center; }
}

/* Mobile CPT polish: compact relation rows and aligned joint metadata. */
@media (max-width: 640px) {
	:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-section-container--collapsible {
		padding: 9px;
	}

	:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group__summary {
		gap: 7px;
		grid-template-columns: 24px minmax(0, 1fr) auto 10px;
		min-height: 42px;
		padding: 7px 2px;
	}

	:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group__summary::after {
		grid-column: 4;
	}

	:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group__summary-icon {
		font-size: 14px;
		height: 23px;
		width: 23px;
	}

	:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group__summary .fe-network-group__label {
		font-size: 11px;
		letter-spacing: .025em;
		line-height: 1.2;
		overflow-wrap: anywhere;
	}

	:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group__count {
		grid-column: 3;
		height: 22px;
		margin-right: 0;
		min-width: 24px;
	}

	:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-group--collapsible .fe-network-chips {
		gap: 6px;
		padding: 2px 0 10px;
	}

	:is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-chip {
		font-size: 11.5px;
		line-height: 1.2;
		min-height: 32px;
		padding: 5px 9px;
	}

	.single-joint .fe-anatomy-card--joint-type {
		text-align: center;
	}

	.single-joint .fe-anatomy-card--joint-type .fe-anatomy-card__title {
		text-align: center;
	}

	.single-joint .fe-anatomy-card--joint-type .fe-text-list {
		list-style: none;
		margin: 8px 0 0;
		padding: 0;
		text-align: center;
		text-transform: capitalize;
	}
}


/* ── Editorial CPT typography ───────────────────────────────────────────
 * Titles and explanatory copy use one calm hierarchy across public CPTs.
 * A lone generated list item is rendered as plain information, not a list.
 */
:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single {
	--fe-cpt-copy-size: 0.98rem;
	--fe-cpt-copy-leading: 1.65;
	--fe-cpt-section-title-size: clamp(1.25rem, 1.08rem + 0.75vw, 1.62rem);
	--fe-cpt-block-title-size: 1.05rem;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single .fe-section-new__title {
	font-size: var(--fe-cpt-section-title-size);
	font-weight: 750;
	letter-spacing: -0.012em;
	line-height: 1.25;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single :is(.fe-anatomy-card__title, .fe-clinical-box__title) {
	font-size: var(--fe-cpt-block-title-size);
	font-weight: 750;
	letter-spacing: -0.005em;
	line-height: 1.35;
	margin-bottom: 0.55rem;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single :is(
	.fe-readability,
	.fe-anatomy-card__content,
	.fe-clinical-box__content,
	.fe-text-prose,
	.fe-text-segments
) {
	font-size: var(--fe-cpt-copy-size);
	line-height: var(--fe-cpt-copy-leading);
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single :is(
	.fe-readability,
	.fe-anatomy-card__content,
	.fe-clinical-box__content,
	.fe-text-prose,
	.fe-text-segments
) :is(p, li, .fe-text-paragraph) {
	font-size: var(--fe-cpt-copy-size);
	line-height: var(--fe-cpt-copy-leading);
}

/* Clinical Pathways substantive copy uses the shared CPT rhythm */
:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single :is(
	.fe-cpw-intro p,
	.fe-cpw-list li,
	.fe-cpw-dosage,
	.fe-cpw-phase__summary,
	.fe-cpw-timeframe,
	.fe-cpw-source__body
) {
	font-size: var(--fe-cpt-copy-size);
	line-height: var(--fe-cpt-copy-leading);
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single :is(.fe-readability, .fe-anatomy-card__content, .fe-clinical-box__content) ul:has(> li:only-child),
:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single ul.fe-text-list:has(> li:only-child) {
	list-style: none;
	margin: 0;
	padding: 0;
}

:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single :is(.fe-readability, .fe-anatomy-card__content, .fe-clinical-box__content) ul:has(> li:only-child) > li,
:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single ul.fe-text-list:has(> li:only-child) > li {
	margin: 0;
	padding: 0;
}

@media (max-width: 680px) {
	:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single {
		--fe-cpt-copy-size: 0.94rem;
		--fe-cpt-block-title-size: 1.04rem;
	}
}


/* Complete the shared CPT hierarchy: the lead-card label is a content heading,
 * not a small decorative eyebrow. Clinical-test EBM uses the same role.
 */
:is(.single-muscle, .single-bone, .single-nerve, .single-joint, .single-blood_vessel, .single-blood-vessel, .single-clinical_test, .single-clinical-test, .single-pathology) .fe-single :is(.fe-muscle-summary-card__eyebrow, .fe-ebm-summary__label) {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: var(--fe-cpt-block-title-size);
	font-weight: 750 !important;
	letter-spacing: -0.005em;
	line-height: 1.35;
	margin-bottom: 0.55rem !important;
	text-transform: none;
}

/* Dark Mode support for CPT single bridge */
html[data-fe-theme="dark"] :is(
	.single-muscle, .single-bone, .single-nerve, .single-joint,
	.single-blood_vessel, .single-blood-vessel, .single-clinical_test,
	.single-clinical-test, .single-pathology, .single-journal_watch,
	.single-anatomy_note, .single-uklad
) .fe-single .fe-section-new__title {
	color: #f2efe9 !important;
}

html[data-fe-theme="dark"] :is(
	.single-muscle, .single-bone, .single-nerve, .single-joint,
	.single-blood_vessel, .single-blood-vessel, .single-clinical_test,
	.single-clinical-test, .single-pathology, .single-journal_watch,
	.single-anatomy_note, .single-uklad
) .fe-single .fe-section-new__head {
	border-bottom-color: rgba(190, 145, 120, 0.25) !important;
}

html[data-fe-theme="dark"] :is(
	.single-muscle, .single-bone, .single-nerve, .single-joint,
	.single-blood_vessel, .single-blood-vessel, .single-clinical_test,
	.single-clinical-test, .single-pathology, .single-journal_watch,
	.single-anatomy_note, .single-uklad
) .fe-single :is(.fe-muscle-summary-card__eyebrow, .fe-ebm-summary__label) {
	color: #f2efe9 !important;
}

html[data-fe-theme="dark"] :is(
	.single-muscle, .single-nerve, .single-bone, .single-joint,
	.single-blood_vessel, .single-pathology, .single-clinical_test
) .fe-network-section-container--collapsible {
	background: #141613 !important;
	border-color: rgba(190, 145, 120, 0.25) !important;
	box-shadow: none !important;
}

/* One quiet surface for relationship groups; separators carry the hierarchy. */
html[data-fe-theme="dark"] :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-section-container--collapsible {
    background: var(--fe-surface, #1a1c18) !important;
    background-image: none !important;
}
html[data-fe-theme="dark"] :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-section-container--collapsible :is(.fe-network-group--collapsible, .fe-network-group__summary) {
    background: transparent !important;
    background-image: none !important;
}
html[data-fe-theme="dark"] :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-section-container--collapsible,
html[data-fe-theme="dark"] :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-section-container--collapsible :is(.fe-network-group--collapsible, .fe-network-group__summary, .fe-network-chip) {
    box-shadow: none !important;
    background-image: none !important;
}
html[data-fe-theme="dark"] :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-section-container--collapsible .fe-network-group__summary:is(:hover, :active) {
    background: var(--fe-surface-hover, #22231f) !important;
}
html[data-fe-theme="dark"] :is(.single-muscle, .single-nerve, .single-bone, .single-joint, .single-blood_vessel, .single-pathology, .single-clinical_test) .fe-network-section-container--collapsible :is(.fe-network-group__summary, .fe-network-chip):focus-visible {
    outline: 2px solid var(--fe-text-strong, #f2efe9);
    outline-offset: 3px;
}
