/* Past-paper worked solutions. Charcoal tokens only; the one purple action is
   the app's, not this file's. Sans for the UI, serif for the examiner's voice. */
.pw { margin: 14px 0 4px; }
.pw-mono { font: 500 11px/1.4 var(--font-ui); letter-spacing: .08em; color: #8e8e99; text-transform: uppercase; }
.pw-key { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.pw-key .pw-serif { font-size: 16px; color: #9ddbb5; }
.pw-details { border-top: 1px solid #2a2a30; }
.pw-summary { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 12px 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 13px; line-height: 1.4; font-family: inherit; color: #b6a6ff; border-radius: 6px; }
.pw-summary::-webkit-details-marker { display: none; }
.pw-summary::before { content: ''; width: 7px; height: 7px; margin-right: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.pw-details[open] > .pw-summary::before { transform: rotate(45deg); }
.pw-summary:focus-visible, .pw-btn:focus-visible, .pw-flag:focus-visible { outline: 2px solid #b6a6ff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .pw-summary::before { transition: none; } }
.pw-body { padding: 0 0 6px; }
.pw-ai { margin: 0 0 12px; font-size: 12px; line-height: 1.5; color: #8e8e99; }
.pw-btn { min-height: 40px; padding: 8px 16px; border: 1px solid #6b6b75; border-radius: 8px; background: transparent; color: #f5f5f7; font-weight: 500; font-size: 14px; line-height: 1.2; font-family: inherit; cursor: pointer; }
.pw-btn:hover:not(:disabled) { background: #222226; }
.pw-btn:disabled { opacity: .6; cursor: default; }
.pw-status { margin: 10px 0 0; font-size: 13px; color: #b5b5bf; min-height: 1em; }
.pw-steps { list-style: none; margin: 0; padding: 0; }
.pw-step { display: grid; grid-template-columns: 78px 1fr auto; gap: 4px 14px; align-items: start; padding: 12px 0; border-top: 1px solid #2a2a30; }
.pw-step:first-child { border-top: 0; }
.pw-step:focus { outline: none; }
.pw-label { padding-top: 4px; white-space: nowrap; }
.pw-serif { margin: 0; font: 400 16px/1.5 var(--font-body); color: #f5f5f7; overflow-wrap: anywhere; }
.pw-how { margin: 6px 0 0; font-weight: 400; font-size: 14px; line-height: 1.5; font-family: inherit; color: #b5b5bf; overflow-wrap: anywhere; }
.pw-do { color: #8e8e99; }
.pw-chip { align-self: start; padding: 2px 8px; border: 1px solid currentColor; border-radius: 999px; font-weight: 500; font-size: 12px; line-height: 1.5; font-family: inherit; white-space: nowrap; }
.pw-chip[data-status="earned"] { color: #9ddbb5; }
.pw-chip[data-status="partial"] { color: #f0c779; }
.pw-chip[data-status="missed"] { color: #f3aba3; }
.pw-full { margin: 12px 0 0; padding: 14px 16px; border-radius: 10px; background: #222226; }
.pw-full .pw-mono { margin-bottom: 6px; }
.pw-full .fx-strip { margin: 10px 0 0; }
.pw-full .fx-line { background: #18181b; border-color: #2a2a30; color: #f5f5f7; }
.pw-flag { margin-top: 12px; padding: 6px 0; border: 0; background: none; color: #b6a6ff; font-weight: 400; font-size: 13px; line-height: 1.4; font-family: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 520px) {
    .pw-step { grid-template-columns: 1fr; }
    .pw-chip { justify-self: start; }
}
