.fx-marks { display: block; }
.fx-marks .fx-shell { display: grid; gap: 14px; min-width: 0; color: var(--fx-ink); }
.fx-marks .fx-shell, .fx-marks .fx-shell * { box-sizing: border-box; }
.fx-marks .fx-steps { margin: 0; padding-left: 24px; }
.fx-marks .fx-steps li + li { margin-top: 6px; }
.fx-marks .fx-goal, .fx-marks .fx-start { margin: 0; }
.fx-marks .fx-reading { display: grid; gap: 10px; }
.fx-marks .fx-question { margin: 0; padding: 14px; background: var(--fx-sun-pale); border: 2px solid var(--fx-ink); border-radius: 8px; }
.fx-marks .fx-underline { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 800; }
.fx-marks .fx-advert { margin: 0; padding: 12px; background: var(--fx-paper); border-left: 4px solid var(--fx-sky); }
.fx-marks .fx-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-marks .fx-controls legend { padding: 0; margin-bottom: 10px; font-weight: 800; }
.fx-marks .fx-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fx-marks .fx-options .fx-btn { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-width: 0; min-height: 44px; padding: 10px; border: 2px solid var(--fx-ink); border-radius: 8px; background: var(--fx-paper); color: var(--fx-ink); cursor: pointer; text-align: left; }
.fx-marks .fx-good:has(input:checked) { background: var(--fx-mint-pale); }
.fx-marks .fx-good:has(input:checked) > span { color: var(--fx-ink); }
.fx-marks .fx-bad:has(input:checked) { background: var(--fx-paper); border-color: var(--fx-muted); }
.fx-marks .fx-cross { flex: 0 0 14px; visibility: hidden; }
.fx-marks .fx-bad:has(input:checked) .fx-cross { visibility: visible; }
.fx-marks .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-marks .fx-diagram { --fx-r: 0; position: relative; height: 320px; min-width: 0; padding: 0; overflow: hidden; }
.fx-marks:has(#fx-marks-exp:checked) .fx-diagram, .fx-marks:has(#fx-marks-skills:checked) .fx-diagram { --fx-r: 1; }
.fx-marks:has(#fx-marks-exp:checked):has(#fx-marks-skills:checked) .fx-diagram { --fx-r: 2; }
.fx-marks .fx-part { position: absolute; top: 14px; width: 44%; padding: 0 4px; text-align: center; font-size: 14px; line-height: 1.4; }
.fx-marks .fx-marks-label { left: 0; }
.fx-marks .fx-answer-label { right: 0; }
.fx-marks .fx-support { position: absolute; top: 103px; left: 50%; width: 72px; height: 186px; transform: translateX(-50%); background: var(--fx-sky); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.fx-marks .fx-base { position: absolute; top: 285px; left: 32%; width: 36%; height: 7px; border-radius: 4px; background: var(--fx-ink); }
.fx-marks .fx-beam { position: absolute; top: 100px; left: 22%; width: 56%; height: 6px; border-radius: 4px; background: var(--fx-ink); transform: rotate(calc((var(--fx-r) - 2) * 4deg)); transform-origin: 50% 50%; transition: transform 0.45s; }
.fx-marks:has(#fx-marks-exp:checked):has(#fx-marks-skills:checked):not(:has(#fx-marks-office:checked)) .fx-beam { background: var(--fx-mint); }
.fx-marks .fx-hanger { position: absolute; top: 3px; width: 75%; max-width: 180px; height: 142px; transform-origin: 50% 0; transform: translateX(-50%) rotate(calc((2 - var(--fx-r)) * 4deg)); transition: transform 0.45s; }
.fx-marks .fx-left { left: 0; }
.fx-marks .fx-right-pan { left: 100%; }
.fx-marks .fx-sling { position: absolute; top: 0; left: 0; width: 100%; height: 130px; fill: none; stroke: var(--fx-ink); stroke-width: 1.5; }
.fx-marks .fx-pan { position: absolute; right: 0; bottom: 0; left: 0; height: 12px; background: var(--fx-sky-pale); border: 2px solid var(--fx-ink); border-top-width: 3px; border-radius: 0 0 50% 50%; }
.fx-marks .fx-load { position: absolute; right: 0; bottom: 12px; left: 0; display: flex; align-items: end; justify-content: center; gap: 3px; }
.fx-marks .fx-token { flex: 0 0 30px; height: 44px; padding-top: 4px; border: 2px solid var(--fx-ink); border-radius: 5px 5px 2px 2px; background: var(--fx-mint); color: var(--fx-ink); font-size: 12px; line-height: 15px; font-weight: 800; text-align: center; }
.fx-marks .fx-fixed { background: var(--fx-sun); }
.fx-marks .fx-exp-token, .fx-marks .fx-skills-token, .fx-marks .fx-zero { visibility: hidden; }
.fx-marks .fx-zero { flex-basis: 22px; padding: 3px; border: 0; background: var(--fx-muted); }
.fx-marks .fx-zero > span { display: block; height: 100%; padding-top: 2px; background: var(--fx-paper); }
.fx-marks:has(#fx-marks-exp:checked) .fx-exp-token, .fx-marks:has(#fx-marks-skills:checked) .fx-skills-token, .fx-marks:has(#fx-marks-office:checked) .fx-zero { visibility: visible; }
.fx-marks .fx-key { position: absolute; right: 4px; bottom: 6px; left: 4px; margin: 0; font-size: 12px; line-height: 16px; text-align: center; }
.fx-marks .fx-says { display: grid; min-width: 0; }
.fx-marks .fx-says > p { grid-area: 1 / 1; align-self: stretch; margin: 0; visibility: hidden; }
.fx-marks:not(:has(#fx-marks-exp:checked)):not(:has(#fx-marks-skills:checked)):not(:has(#fx-marks-office:checked)) .fx-state-0 { visibility: visible; }
.fx-marks:has(#fx-marks-exp:checked):not(:has(#fx-marks-skills:checked)):not(:has(#fx-marks-office:checked)) .fx-state-1 { visibility: visible; }
.fx-marks:not(:has(#fx-marks-exp:checked)):has(#fx-marks-skills:checked):not(:has(#fx-marks-office:checked)) .fx-state-2 { visibility: visible; }
.fx-marks:not(:has(#fx-marks-exp:checked)):not(:has(#fx-marks-skills:checked)):has(#fx-marks-office:checked) .fx-state-3 { visibility: visible; }
.fx-marks:has(#fx-marks-exp:checked):has(#fx-marks-skills:checked):not(:has(#fx-marks-office:checked)) .fx-state-4 { visibility: visible; }
.fx-marks:has(#fx-marks-exp:checked):not(:has(#fx-marks-skills:checked)):has(#fx-marks-office:checked) .fx-state-5 { visibility: visible; }
.fx-marks:not(:has(#fx-marks-exp:checked)):has(#fx-marks-skills:checked):has(#fx-marks-office:checked) .fx-state-6 { visibility: visible; }
.fx-marks:has(#fx-marks-exp:checked):has(#fx-marks-skills:checked):has(#fx-marks-office:checked) .fx-state-7 { visibility: visible; }
@container (max-width: 480px) { .fx-marks .fx-options { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .fx-marks .fx-beam, .fx-marks .fx-hanger { transition: none; } }