:root {
    --jfpc-paper: oklch(98.4% 0.008 74);
    --jfpc-surface: oklch(99.2% 0.006 74);
    --jfpc-ink: oklch(22% 0.018 245);
    --jfpc-muted: oklch(47% 0.02 245);
    --jfpc-line: oklch(88% 0.012 68);
    --jfpc-magenta: oklch(48% 0.205 357);
    --jfpc-magenta-deep: oklch(40% 0.18 357);
    --jfpc-clay: oklch(75% 0.13 62);
    --jfpc-teal: oklch(42% 0.045 184);
    --jfpc-olive: oklch(47% 0.075 132);
    --jfpc-wine: oklch(42% 0.12 345);
    --jfpc-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.jfpc,
.jfpc * {
    box-sizing: border-box;
}

.jfpc [hidden] {
    display: none !important;
}

.jfpc {
    width: 100%;
    color: var(--jfpc-ink);
    background: var(--jfpc-paper);
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1rem, 3vw, 3rem);
    overflow: hidden;
}

.jfpc__inner {
    width: min(100%, 86rem);
    margin: 0 auto;
}

.jfpc__header {
    max-width: 58rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.jfpc__eyebrow,
.jfpc__path-kicker {
    margin: 0 0 0.75rem;
    color: var(--jfpc-magenta);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.jfpc__header h2,
.jfpc__path-panel h3,
.jfpc__locked-inner h2 {
    margin: 0;
    max-width: 22ch;
    color: var(--jfpc-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: 0;
    text-wrap: balance;
}

.jfpc__header h2 {
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    line-height: 1.03;
}

.jfpc__header > p:last-child {
    max-width: 64ch;
    margin: 1rem 0 0;
    color: var(--jfpc-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.jfpc__orientation {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 7rem);
}

.jfpc__compass-wrap {
    display: grid;
    place-items: center;
    min-width: 0;
}

.jfpc__compass {
    position: relative;
    width: min(100%, 23rem);
    aspect-ratio: 1;
    border: 1px solid oklch(71% 0.04 74);
    border-radius: 50%;
    background: var(--jfpc-surface);
    box-shadow: 0 1.25rem 3.5rem oklch(28% 0.03 60 / 0.12), 0 0.25rem 0.75rem oklch(28% 0.03 60 / 0.08);
    isolation: isolate;
}

.jfpc__compass::before,
.jfpc__compass::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.jfpc__compass::before {
    inset: 0.55rem;
    border: 1px solid oklch(66% 0.05 73);
    z-index: 7;
}

.jfpc__compass::after {
    inset: 1.15rem;
    border: 1px solid var(--jfpc-line);
    z-index: 7;
}

.jfpc__ticks {
    position: absolute;
    inset: 0.25rem;
    border-radius: 50%;
    background: repeating-conic-gradient(from -1deg, oklch(55% 0.04 70) 0deg 0.7deg, transparent 0.7deg 5deg);
    mask: radial-gradient(circle, transparent 0 85%, oklch(1% 0.005 357) 85% 88%, transparent 88%);
    opacity: 0.6;
    z-index: 8;
    pointer-events: none;
}

.jfpc__sector {
    position: absolute;
    inset: 0.75rem;
    display: block;
    width: calc(100% - 1.5rem);
    height: calc(100% - 1.5rem);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--jfpc-ink);
    cursor: pointer;
    transition: filter 180ms var(--jfpc-ease), background-color 240ms var(--jfpc-ease);
}

.jfpc__sector--north {
    background: oklch(95% 0.035 74);
    clip-path: polygon(0 0, 100% 0, 50% 50%);
}

.jfpc__sector--east {
    background: oklch(91% 0.035 184);
    clip-path: polygon(100% 0, 100% 100%, 50% 50%);
}

.jfpc__sector--south {
    color: oklch(97% 0.01 74);
    background: var(--jfpc-wine);
    clip-path: polygon(100% 100%, 0 100%, 50% 50%);
}

.jfpc__sector--west {
    background: oklch(91% 0.045 132);
    clip-path: polygon(0 100%, 0 0, 50% 50%);
}

.jfpc__sector-content {
    position: absolute;
    display: grid;
    justify-items: center;
    gap: 0.3rem;
    width: clamp(5.8rem, 30%, 7rem);
    font-size: clamp(0.72rem, 2.5vw, 0.88rem);
    font-weight: 650;
    line-height: 1.15;
    text-align: center;
    letter-spacing: 0;
}

.jfpc__sector-content svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jfpc__sector--north .jfpc__sector-content {
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
}

.jfpc__sector--east .jfpc__sector-content {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

.jfpc__sector--south .jfpc__sector-content {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.jfpc__sector--west .jfpc__sector-content {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
}

@media (hover: hover) {
    .jfpc__sector:hover {
        filter: brightness(0.96) saturate(1.08);
    }
}

.jfpc__sector:active {
    filter: brightness(0.91);
}

.jfpc__sector:focus-visible {
    z-index: 6;
    outline: none;
}

.jfpc__sector:focus-visible .jfpc__sector-content {
    border-radius: 0.5rem;
    outline: 3px solid var(--jfpc-magenta);
    outline-offset: 0.35rem;
}

.jfpc__sector.is-active {
    color: var(--jfpc-magenta-deep);
    background: oklch(91% 0.065 355);
    box-shadow: inset 0 0 0 0.28rem var(--jfpc-magenta);
    z-index: 5;
}

.jfpc__needle {
    --jfpc-angle: -45deg;
    position: absolute;
    top: calc(50% - 0.19rem);
    left: 50%;
    width: 16%;
    height: 0.38rem;
    transform: rotate(var(--jfpc-angle));
    transform-origin: 0 50%;
    transition: transform 420ms var(--jfpc-ease);
    pointer-events: none;
    z-index: 9;
}

.jfpc__needle span {
    position: absolute;
    inset: 0;
    border-radius: 999px 30% 30% 999px;
    background: var(--jfpc-magenta);
    box-shadow: 0 0.2rem 0.45rem oklch(35% 0.12 357 / 0.26);
}

.jfpc__needle span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.55rem;
    width: 0;
    height: 0;
    border-top: 0.45rem solid transparent;
    border-bottom: 0.45rem solid transparent;
    border-left: 0.75rem solid var(--jfpc-magenta);
    transform: translateY(-50%);
}

.jfpc__hub {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 5.2rem;
    aspect-ratio: 1;
    border: 1px solid oklch(69% 0.055 71);
    border-radius: 50%;
    background: var(--jfpc-paper);
    box-shadow: 0 0.45rem 1.1rem oklch(30% 0.03 60 / 0.16), inset 0 0 0 0.35rem var(--jfpc-surface);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
}

.jfpc__hub span {
    color: var(--jfpc-magenta-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    line-height: 1;
}

.jfpc__path-panel {
    max-width: 40rem;
}

.jfpc__path-panel h3 {
    max-width: 18ch;
    color: var(--jfpc-magenta-deep);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.jfpc__path-description {
    max-width: 58ch;
    margin: 1.4rem 0 0;
    color: var(--jfpc-ink);
    font-size: 1.04rem;
    line-height: 1.65;
}

.jfpc__path-prompt {
    max-width: 58ch;
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--jfpc-line);
    color: var(--jfpc-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.jfpc__refresh,
.jfpc__secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    margin-top: 1.35rem;
    padding: 0.7rem 1rem;
    border: 1px solid var(--jfpc-magenta);
    border-radius: 0.5rem;
    color: var(--jfpc-magenta-deep);
    background: var(--jfpc-surface);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
    transition: color 180ms var(--jfpc-ease), background-color 180ms var(--jfpc-ease), transform 180ms var(--jfpc-ease);
}

.jfpc__refresh svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (hover: hover) {
    .jfpc__refresh:hover,
    .jfpc__secondary-button:hover {
        color: var(--jfpc-surface);
        background: var(--jfpc-magenta);
        transform: translateY(-1px);
    }
}

.jfpc__refresh:focus-visible,
.jfpc__secondary-button:focus-visible,
.jfpc__primary-button:focus-visible,
.jfpc__card a:focus-visible {
    outline: 3px solid var(--jfpc-magenta);
    outline-offset: 3px;
}

.jfpc__refresh:disabled {
    cursor: wait;
    opacity: 0.65;
}

.jfpc__quiz-invite {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 38rem;
    margin-top: 1.6rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--jfpc-line);
}

.jfpc__quiz-invite p {
    margin: 0;
}

.jfpc__quiz-invite strong,
.jfpc__quiz-invite span {
    display: block;
}

.jfpc__quiz-invite strong {
    margin-bottom: 0.25rem;
    color: var(--jfpc-ink);
    font-size: 0.98rem;
}

.jfpc__quiz-invite p > span {
    color: var(--jfpc-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.jfpc__quiz-open {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    min-height: 3.25rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--jfpc-magenta);
    border-radius: 0.55rem;
    color: var(--jfpc-surface);
    background: var(--jfpc-magenta);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 180ms var(--jfpc-ease), transform 180ms var(--jfpc-ease);
}

.jfpc__quiz-open small {
    margin-top: 0.15rem;
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.86;
}

@media (hover: hover) {
    .jfpc__quiz-open:hover {
        background: var(--jfpc-magenta-deep);
        transform: translateY(-1px);
    }
}

.jfpc__quiz-open:focus-visible,
.jfpc__quiz-close:focus-visible,
.jfpc__quiz-answer:has(input:focus-visible) {
    outline: 3px solid var(--jfpc-magenta);
    outline-offset: 3px;
}

.jfpc__quiz {
    width: min(100%, 68rem);
    margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
    scroll-margin-top: 8rem;
    overflow: hidden;
    border: 1px solid var(--jfpc-line);
    border-radius: 1rem;
    background: var(--jfpc-surface);
    box-shadow: 0 1.1rem 3rem oklch(30% 0.025 60 / 0.08);
}

.jfpc__quiz-inner {
    width: min(100%, 56rem);
    margin: 0 auto;
    padding: clamp(1.4rem, 4vw, 3rem);
}

.jfpc__quiz-header {
    position: relative;
    padding-right: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--jfpc-line);
}

.jfpc__quiz-header h3,
.jfpc__quiz-result h3 {
    max-width: 24ch;
    margin: 0;
    color: var(--jfpc-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0;
    text-wrap: balance;
}

.jfpc__quiz-header h3:focus,
.jfpc__quiz-result h3:focus,
.jfpc__quiz-fieldset legend:focus {
    outline: 0;
}

.jfpc__quiz-header > div > p:last-child {
    max-width: 64ch;
    margin: 0.85rem 0 0;
    color: var(--jfpc-muted);
    line-height: 1.55;
}

.jfpc__quiz-close {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    padding: 0;
    border: 1px solid var(--jfpc-line);
    border-radius: 50%;
    color: var(--jfpc-ink);
    background: var(--jfpc-paper);
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
}

.jfpc__quiz-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--jfpc-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.jfpc__quiz-progress > span:first-child {
    flex: 0 0 auto;
}

.jfpc__quiz-progress-track {
    position: relative;
    flex: 1 1 auto;
    height: 0.38rem;
    overflow: hidden;
    border-radius: 999px;
    background: oklch(91% 0.012 70);
}

.jfpc__quiz-progress-value {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: var(--jfpc-magenta);
    transition: width 240ms var(--jfpc-ease);
}

.jfpc__quiz-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.jfpc__quiz-fieldset legend {
    max-width: 34ch;
    margin: 0 0 1.2rem;
    padding: 0;
    color: var(--jfpc-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
}

.jfpc__quiz-answers {
    display: grid;
    gap: 0.65rem;
}

.jfpc__quiz-answer {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    min-height: 4.2rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--jfpc-line);
    border-radius: 0.7rem;
    color: var(--jfpc-ink);
    background: var(--jfpc-surface);
    line-height: 1.48;
    cursor: pointer;
    transition: border-color 180ms var(--jfpc-ease), background-color 180ms var(--jfpc-ease), transform 180ms var(--jfpc-ease);
}

.jfpc__quiz-answer input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

.jfpc__quiz-answer-marker {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid var(--jfpc-line);
    border-radius: 50%;
    color: var(--jfpc-muted);
    background: var(--jfpc-paper);
    font-size: 0.78rem;
    font-weight: 750;
}

.jfpc__quiz-answer:has(input:checked) {
    border-color: var(--jfpc-magenta);
    background: oklch(96% 0.025 357);
}

.jfpc__quiz-answer:has(input:checked) .jfpc__quiz-answer-marker {
    border-color: var(--jfpc-magenta);
    color: var(--jfpc-surface);
    background: var(--jfpc-magenta);
}

@media (hover: hover) {
    .jfpc__quiz-answer:hover {
        border-color: oklch(72% 0.08 357);
        transform: translateY(-1px);
    }
}

.jfpc__quiz-navigation,
.jfpc__quiz-result-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.jfpc__quiz-navigation .jfpc__primary-button,
.jfpc__quiz-navigation .jfpc__secondary-button,
.jfpc__quiz-result-actions .jfpc__primary-button,
.jfpc__quiz-result-actions .jfpc__secondary-button {
    min-width: 8rem;
    margin-top: 0;
}

.jfpc__quiz-navigation .jfpc__primary-button:disabled {
    border-color: var(--jfpc-line);
    color: var(--jfpc-muted);
    background: oklch(92% 0.008 70);
    cursor: not-allowed;
    transform: none;
}

.jfpc__quiz-disclaimer {
    margin: 1.4rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--jfpc-line);
    color: var(--jfpc-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.jfpc__quiz-result {
    padding-top: 1.8rem;
}

.jfpc__quiz-result-summary {
    max-width: 65ch;
    margin: 1rem 0 0;
    color: var(--jfpc-ink);
    font-size: 1.02rem;
    line-height: 1.65;
}

.jfpc__quiz-secondary {
    max-width: 62ch;
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    border: 1px solid oklch(84% 0.04 62);
    border-radius: 0.6rem;
    color: var(--jfpc-ink);
    background: oklch(96% 0.025 62);
    line-height: 1.5;
}

.jfpc__quiz-result h4 {
    margin: 1.5rem 0 0.6rem;
    color: var(--jfpc-ink);
    font-size: 1rem;
    text-transform: none;
}

.jfpc__quiz-result-list {
    display: grid;
    gap: 0.45rem;
    max-width: 60ch;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jfpc__quiz-result-list li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--jfpc-muted);
    line-height: 1.5;
}

.jfpc__quiz-result-list li::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--jfpc-clay);
}

.jfpc__quiz-insight {
    max-width: 62ch;
    margin: 1.4rem 0 0;
    color: var(--jfpc-magenta-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    line-height: 1.45;
}

.jfpc__quiz-continuity {
    max-width: 62ch;
    margin: 1.3rem 0 0;
    color: var(--jfpc-muted);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
}

.jfpc.is-loading .jfpc__refresh svg {
    animation: jfpc-spin 900ms linear infinite;
}

.jfpc__feedback {
    min-height: 1.5rem;
    margin-top: clamp(2rem, 4vw, 3.5rem);
    color: var(--jfpc-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.jfpc__results {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.jfpc__card,
.jfpc__skeleton {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--jfpc-line);
    border-radius: 0.85rem;
    background: var(--jfpc-surface);
    box-shadow: 0 0.7rem 1.8rem oklch(30% 0.025 60 / 0.07);
}

.jfpc__card {
    display: flex;
    flex-direction: column;
    animation: jfpc-card-in 360ms var(--jfpc-ease) both;
    animation-delay: calc(var(--jfpc-card-index, 0) * 45ms);
}

.jfpc__card--course {
    border-color: oklch(79% 0.09 58);
    box-shadow: inset 0 0.2rem 0 oklch(73% 0.13 54), 0 0.7rem 1.8rem oklch(30% 0.025 60 / 0.07);
}

.jfpc__card--masterclass {
    border-color: oklch(72% 0.09 76);
    background: linear-gradient(145deg, oklch(99% 0.018 78), var(--jfpc-surface) 38%);
    box-shadow: inset 0 0.22rem 0 oklch(74% 0.12 76), 0 0.7rem 1.8rem oklch(30% 0.025 60 / 0.08);
}

.jfpc__card.is-completed {
    border-color: #aeb5b0;
    background: #f1f2f0;
    box-shadow: none;
}

.jfpc__card.is-completed .jfpc__card-media img {
    filter: grayscale(0.82);
    opacity: 0.72;
}

.jfpc__card.is-completed .jfpc__card-fallback {
    color: #4d5751;
    background: #dfe3e0;
}

.jfpc__card.is-completed .jfpc__content-badge {
    color: #465049;
    background: #dfe3e0;
}

.jfpc__card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    color: var(--jfpc-surface);
    background: oklch(87% 0.04 70);
}

.jfpc__card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 360ms var(--jfpc-ease);
}

@media (hover: hover) {
    .jfpc__card-media:hover img {
        transform: scale(1.025);
    }
}

.jfpc__card-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--jfpc-magenta-deep);
    background: oklch(93% 0.035 61);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.5rem;
}

.jfpc__inline-icon svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jfpc__card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.15rem;
}

.jfpc__content-badge {
    align-self: flex-start;
    margin-bottom: 0.65rem;
    padding: 0.28rem 0.48rem;
    border-radius: 0.3rem;
    color: var(--jfpc-magenta-deep);
    background: oklch(95% 0.035 357);
    font-size: 0.7rem;
    font-weight: 750;
    line-height: 1.15;
    text-transform: uppercase;
}

.jfpc__completion-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.35rem;
    margin: -0.2rem 0 0.65rem;
    padding: 0.32rem 0.55rem;
    border: 1px solid #89968e;
    border-radius: 999px;
    color: #33433a;
    background: #e3e9e5;
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.1;
}

.jfpc__completion-badge svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jfpc__card--course .jfpc__content-badge {
    color: oklch(39% 0.08 50);
    background: oklch(94% 0.055 65);
}

.jfpc__card--masterclass .jfpc__content-badge {
    color: oklch(36% 0.07 68);
    background: oklch(94% 0.05 78);
}

.jfpc__preview-cue {
    align-self: flex-start;
    margin: -0.15rem 0 0.6rem;
    color: oklch(36% 0.06 150);
    font-size: 0.78rem;
    font-weight: 700;
}

.jfpc__teacher {
    min-height: 1.25rem;
    margin: 0 0 0.55rem;
    color: var(--jfpc-magenta);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.4;
}

.jfpc .jfpc__card-title {
    display: -webkit-box;
    min-height: 3.75rem;
    margin: 0;
    overflow: hidden;
    color: var(--jfpc-ink);
    font-size: 1.18rem;
    font-weight: 600;
    line-height: 1.32;
    letter-spacing: 0;
    text-transform: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.jfpc .jfpc__card-title a {
    color: inherit;
    text-decoration: none;
}

.jfpc__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.8rem;
    margin: 0.9rem 0 1rem;
    padding: 0;
    color: var(--jfpc-muted);
    font-size: 0.8rem;
    line-height: 1.35;
    list-style: none;
}

.jfpc__meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
}

.jfpc__inline-icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    color: var(--jfpc-magenta);
}

.jfpc__inline-icon svg {
    width: 0.95rem;
    height: 0.95rem;
}

.jfpc__card-description {
    display: -webkit-box;
    min-height: 4.35rem;
    margin: 0.9rem 0 1rem;
    overflow: hidden;
    color: var(--jfpc-muted);
    font-size: 0.88rem;
    line-height: 1.52;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.jfpc__card-footer {
    display: grid;
    gap: 0.65rem;
    margin-top: auto;
}

.jfpc__details-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    width: fit-content;
    min-height: 2.2rem;
    padding: 0.35rem 0;
    border: 0;
    border-radius: 0;
    color: var(--jfpc-magenta-deep);
    background: transparent;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18rem;
    cursor: pointer;
}

.jfpc__details-trigger:hover {
    color: var(--jfpc-magenta);
}

.jfpc__details-trigger:focus-visible {
    outline: 3px solid oklch(72% 0.14 350 / 0.35);
    outline-offset: 3px;
}

.jfpc__card-action,
.jfpc__primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    margin-top: auto;
    padding: 0.75rem 1rem;
    border: 1px solid var(--jfpc-magenta);
    border-radius: 0.55rem;
    color: var(--jfpc-surface);
    background: var(--jfpc-magenta);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 180ms var(--jfpc-ease), transform 180ms var(--jfpc-ease);
}

.jfpc .jfpc__card-action,
.jfpc .jfpc__primary-button {
    color: #fff;
}

.jfpc .jfpc__card.is-completed .jfpc__card-action {
    color: var(--jfpc-magenta-deep);
    background: #fff;
}

.jfpc__dismiss-masterclass {
    width: fit-content;
    min-height: 2rem;
    padding: 0.25rem 0;
    border: 0;
    color: var(--jfpc-muted);
    background: transparent;
    font: inherit;
    font-size: 0.8rem;
    text-decoration: underline;
    text-underline-offset: 0.18rem;
    cursor: pointer;
}

.jfpc__dismiss-masterclass:hover,
.jfpc__dismiss-masterclass:focus-visible {
    color: var(--jfpc-magenta-deep);
}

.jfpc__detail-dialog {
    width: min(31rem, calc(100vw - 2rem));
    max-width: none;
    max-height: calc(100dvh - 2rem);
    margin: 1rem 1rem 1rem auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--jfpc-line);
    border-radius: 0.8rem;
    color: var(--jfpc-ink);
    background: var(--jfpc-surface);
    box-shadow: 0 1.2rem 3.5rem oklch(24% 0.035 45 / 0.22);
}

.jfpc__detail-dialog::backdrop {
    background: oklch(22% 0.02 50 / 0.4);
}

.jfpc__detail-panel {
    position: relative;
    max-height: calc(100dvh - 2rem);
    padding: 2.2rem 2rem 2rem;
    overflow-y: auto;
}

.jfpc__detail-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    place-items: center;
    border: 1px solid var(--jfpc-line);
    border-radius: 50%;
    color: var(--jfpc-ink);
    background: var(--jfpc-surface);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.jfpc__detail-title {
    margin: 0.35rem 2.5rem 1rem 0;
    color: var(--jfpc-ink);
    font-size: 1.5rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.jfpc__detail-copy {
    margin: 0 0 1.5rem;
    color: var(--jfpc-muted);
    font-size: 0.98rem;
    line-height: 1.65;
    white-space: pre-line;
}

@media (hover: hover) {
    .jfpc__card-action:hover,
    .jfpc__primary-button:hover {
        color: var(--jfpc-surface);
        background: var(--jfpc-magenta-deep);
        transform: translateY(-1px);
    }
}

.jfpc__skeleton {
    padding-bottom: 1rem;
}

.jfpc__skeleton span {
    display: block;
    background: oklch(91% 0.012 70);
    background-image: linear-gradient(90deg, transparent, oklch(97% 0.008 70), transparent);
    background-size: 220% 100%;
    animation: jfpc-shimmer 1.25s linear infinite;
}

.jfpc__skeleton-media {
    aspect-ratio: 16 / 9;
}

.jfpc__skeleton-line,
.jfpc__skeleton-button {
    height: 0.85rem;
    margin: 1rem 1rem 0;
    border-radius: 0.25rem;
}

.jfpc__skeleton-line--short {
    width: 42%;
}

.jfpc__skeleton-button {
    height: 2.85rem;
    margin-top: 1.5rem;
    border-radius: 0.55rem;
}

.jfpc__state {
    grid-column: 1 / -1;
    max-width: 48rem;
    padding: clamp(1.5rem, 4vw, 2.5rem) 0;
    border-top: 1px solid var(--jfpc-line);
}

.jfpc__state-mark {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--jfpc-clay);
    border-radius: 50%;
    color: var(--jfpc-magenta-deep);
    background: oklch(94% 0.035 65);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
}

.jfpc__state h4 {
    margin: 0;
    color: var(--jfpc-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.2;
}

.jfpc__state p {
    max-width: 60ch;
    margin: 0.7rem 0 0;
    color: var(--jfpc-muted);
    line-height: 1.6;
}

.jfpc--locked {
    padding-block: clamp(3rem, 6vw, 5rem);
}

.jfpc__locked-inner {
    width: min(100%, 52rem);
    margin: 0 auto;
}

.jfpc__locked-inner h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
}

.jfpc__locked-inner > p:not(.jfpc__eyebrow) {
    max-width: 60ch;
    margin: 1rem 0 1.5rem;
    color: var(--jfpc-muted);
    line-height: 1.6;
}

.jfpc__primary-button {
    margin-top: 0;
}

.jfpc__noscript {
    margin-top: 1rem;
    color: var(--jfpc-muted);
}

@media (min-width: 43.75rem) {
    .jfpc__results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 56rem) {
    .jfpc__orientation {
        grid-template-columns: minmax(20rem, 0.9fr) minmax(24rem, 1.1fr);
    }

    .jfpc__compass {
        width: min(100%, 25rem);
    }
}

@media (min-width: 72rem) {
    .jfpc__results {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 23rem) {
    .jfpc__sector-content {
        width: 5.8rem;
        font-size: 0.68rem;
    }

    .jfpc__sector-content svg {
        width: 1.05rem;
        height: 1.05rem;
    }

    .jfpc__hub {
        width: 4.4rem;
    }
}

@media (max-width: 42rem) {
    .jfpc__detail-dialog {
        width: 100%;
        max-height: min(82dvh, 46rem);
        margin: auto 0 0;
        border-radius: 0.8rem 0.8rem 0 0;
    }

    .jfpc__detail-panel {
        max-height: min(82dvh, 46rem);
        padding: 2rem 1.25rem 1.4rem;
    }

    .jfpc__quiz-invite {
        align-items: stretch;
        flex-direction: column;
    }

    .jfpc__quiz-open {
        align-items: center;
        width: 100%;
    }

    .jfpc__quiz-header {
        padding-right: 2.6rem;
    }

    .jfpc__quiz-answer {
        grid-template-columns: 1.9rem minmax(0, 1fr);
        gap: 0.7rem;
        padding: 0.75rem;
    }

    .jfpc__quiz-answer-marker {
        width: 1.9rem;
        height: 1.9rem;
    }

    .jfpc__quiz-navigation,
    .jfpc__quiz-result-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .jfpc__quiz-navigation .jfpc__primary-button,
    .jfpc__quiz-navigation .jfpc__secondary-button,
    .jfpc__quiz-result-actions .jfpc__primary-button,
    .jfpc__quiz-result-actions .jfpc__secondary-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jfpc *,
    .jfpc *::before,
    .jfpc *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@keyframes jfpc-spin {
    to { transform: rotate(360deg); }
}

@keyframes jfpc-shimmer {
    to { background-position: -220% 0; }
}

@keyframes jfpc-card-in {
    from { opacity: 0; transform: translateY(0.7rem); }
    to { opacity: 1; transform: translateY(0); }
}
