/* Career profiles — scoped to the importer; no theme overrides outside this section. */
.entry-content .jfi-career-profiles,
.jfi-career-profiles {
    box-sizing: border-box;
    background: #edf4eb;
    color: #27333e;
    border: 1px solid #c3d5bc;
    border-radius: 10px;
    padding: clamp(14px, 3vw, 24px);
    margin: 26px 0;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.jfi-career-profiles *, .jfi-career-profiles *::before, .jfi-career-profiles *::after { box-sizing: border-box; }
.jfi-career-profiles [hidden] { display: none !important; }
.jfi-career-profiles .jfi-career-heading {
    font-size: 1.25rem; line-height: 1.35; font-weight: 700;
    color: #34563d; margin: 0 0 14px;
}
.jfi-career-profiles p { margin: 0 0 12px; }
.jfi-career-profiles > p:last-child { margin-bottom: 0; }
.jfi-career-profiles .jfi-profile-notice {
    color: #4e5e50; font-size: .875em; margin: 0 0 18px;
}
.jfi-career-profiles .jfi-noc-selector { margin: 0 0 16px; }
.jfi-career-profiles .jfi-noc-selector label { display: block; font-weight: 600; margin-bottom: 6px; }
.jfi-career-profiles .jfi-noc-selector select {
    display: block; width: 100%; max-width: 100%; min-width: 0;
    min-height: 44px; padding: 9px 12px; border: 1px solid #aebfae;
    border-radius: 6px; font: inherit; background: #fff; color: #27333e;
}
.jfi-career-profiles .jfi-noc-profile { margin: 12px 0 0; }
/* Only the three detail panels are expandable; their arrows align at the right. */
.jfi-career-profiles details > summary {
    cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    gap: 12px; list-style: none;
}
.jfi-career-profiles details > summary::-webkit-details-marker { display: none; }
.jfi-career-profiles details > summary::marker { content: ""; }
.jfi-career-profiles details > summary::after {
    content: ""; display: block; flex: 0 0 7px; width: 7px; height: 7px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); margin: 0 4px 4px 0;
}
.jfi-career-profiles details[open] > summary::after {
    transform: rotate(225deg); margin-bottom: -3px;
}
.jfi-career-profiles summary:focus-visible, .jfi-career-profiles select:focus-visible,
.jfi-career-profiles a:focus-visible { outline: 2px solid #246797; outline-offset: 3px; }
.jfi-career-profiles .jfi-profile-summary {
    font-size: 1.06rem; font-weight: 700; line-height: 1.4; color: #34563d;
    margin: 0; padding: 10px 12px; background: #dce9d8; border-radius: 6px;
}
.jfi-career-profiles .jfi-profile-meta {
    display: block; font-size: .82em; font-weight: 400;
    color: #4b6050; margin: 4px 0 0;
}
.jfi-career-profiles .jfi-profile-body { margin: 12px 0 0; }
.jfi-career-profiles .jfi-profile-panel {
    margin: 10px 0 0; background: #fff; border: 1px solid #d4dfd0;
    border-radius: 7px;
}
.jfi-career-profiles .jfi-outlook-panel { padding: 15px; }
.jfi-career-profiles .jfi-outlook-panel h4 {
    font-size: 1.02rem; font-weight: 650; color: #34563d;
    margin: 0 0 10px; line-height: 1.4;
}
.jfi-career-profiles .jfi-rating-line {
    display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px;
    margin: 0 0 12px;
}
.jfi-career-profiles .jfi-rating {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .92em; font-weight: 650; color: #344453;
}
.jfi-career-profiles .jfi-rating::before {
    content: ""; width: 9px; height: 9px; flex: 0 0 9px;
    background: currentColor; border-radius: 50%;
}
.jfi-career-profiles .jfi-rating-good { color: #215b31; }
.jfi-career-profiles .jfi-rating-moderate { color: #876515; }
.jfi-career-profiles .jfi-rating-limited { color: #8a3333; }
.jfi-career-profiles .jfi-rating-period { font-size: .85em; color: #4e5e50; }
.jfi-career-profiles .jfi-outlook-details { border-top: 1px solid #e0e8dc; padding-top: 11px; }
.jfi-career-profiles .jfi-outlook-details summary { font-weight: 600; color: #34563d; }
.jfi-career-profiles .jfi-expand-panel > summary { padding: 13px 15px; font-weight: 600; color: #34563d; }
.jfi-career-profiles .jfi-expand-panel[open] > summary { border-bottom: 1px solid #e0e8dc; }
.jfi-career-profiles .jfi-panel-content { padding: 12px 15px; }
.jfi-career-profiles .jfi-outlook-details .jfi-panel-content { padding: 10px 0 0; }
.jfi-career-profiles .jfi-panel-content ul { margin: 0 0 12px 1.25em; padding: 0; list-style: disc; }
.jfi-career-profiles .jfi-panel-content li { margin-bottom: 5px; }
.jfi-career-profiles .jfi-panel-content > :last-child, .jfi-career-profiles .jfi-outlook-panel > :last-child { margin-bottom: 0; }
.jfi-career-profiles .jfi-source, .jfi-career-profiles .jfi-profile-footer {
    font-size: .8em; line-height: 1.5; color: #4e5e50;
}
.jfi-career-profiles .jfi-source { margin: 10px 0 0; }
.jfi-career-profiles .jfi-profile-footer { border-top: 1px solid #c3d5bc; margin-top: 16px; padding-top: 12px; }
.jfi-career-profiles .jfi-profile-footer p:last-child { margin-bottom: 0; }
.jfi-career-profiles a { color: #235b82; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 480px) {
    .jfi-career-profiles .jfi-outlook-panel, .jfi-career-profiles .jfi-expand-panel > summary, .jfi-career-profiles .jfi-panel-content { padding: 12px; }
}
