/* Additions use the approved learner palette and typography without changing its layout. */
.learner-start-notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:90;display:flex;align-items:center;gap:20px;max-width:calc(100vw - 40px);box-sizing:border-box;border:1px solid var(--line);border-radius:18px;padding:18px 22px;background:#fff;color:var(--ink);box-shadow:0 12px 40px #21154e1a;font:500 .88rem/1.5 'DM Sans',sans-serif}
.learner-start-notice[hidden],.learner-start-notice button[hidden]{display:none}.learner-start-notice button{flex:none;border:0;border-radius:12px;padding:10px 16px;background:var(--purple);color:#fff;font:600 .82rem 'DM Sans',sans-serif;cursor:pointer}.learner-start-notice button:focus-visible{outline:3px solid #bcb3f5;outline-offset:3px}.history-read-notice{padding:18px 0;color:var(--muted);font-size:.88rem}.history-read-notice p{margin:0 0 12px}
@media(max-width:520px){.learner-start-notice{bottom:16px;width:calc(100vw - 32px);gap:12px;padding:16px}}
.results-title{position:relative;padding-right:48px}
.feedback-query-icon{position:absolute;right:0;top:0;display:grid;place-items:center;width:38px;height:38px;border:1px solid #ddd9f0;border-radius:50%;background:#fff;color:var(--purple);font:700 17px/1 'DM Sans',sans-serif;cursor:pointer;transition:background .15s,border-color .15s}
.feedback-query-icon:hover{background:var(--purple-soft);border-color:var(--purple)}
.feedback-query-icon:focus-visible,.feedback-query-close:focus-visible,.feedback-query-send:focus-visible{outline:3px solid #bcb3f5;outline-offset:3px}
.feedback-query-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100svh - 40px);overflow:auto;box-sizing:border-box;border:1px solid var(--line);border-radius:24px;padding:28px;background:#fff;color:var(--ink);box-shadow:0 24px 90px #21154e2b;font:inherit}
.feedback-query-dialog::backdrop{background:#17132955;backdrop-filter:blur(4px)}
.feedback-query-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.feedback-query-heading h2{margin:0;font-size:1.35rem;letter-spacing:-.025em}
.feedback-query-close{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;background:#f5f3fb;color:var(--muted);font-size:24px;cursor:pointer;flex:none}
.feedback-query-dialog p{font-size:.88rem;line-height:1.6;color:var(--muted);margin:0 0 18px}
.feedback-query-form label{display:block;font-size:.82rem;font-weight:700;margin:12px 0 8px}
.feedback-query-form textarea,.feedback-query-form select{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:14px;background:#faf9fe;color:var(--ink);padding:14px;font:inherit;font-size:.88rem;line-height:1.5;resize:vertical}
.feedback-query-form textarea{min-height:120px}.feedback-query-form :is(textarea,select):focus{outline:2px solid #c9c0fa;outline-offset:2px;border-color:var(--purple)}
.feedback-query-context{margin-top:16px;font-size:.82rem;color:var(--muted)}.feedback-query-context summary{cursor:pointer}.feedback-query-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:22px}
.feedback-query-meta{font-size:.78rem!important;color:var(--muted);line-height:1.5}
.feedback-query-send{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:14px;background:var(--purple);color:white;cursor:pointer;box-shadow:0 5px 14px #6153d824}
.feedback-query-send svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.feedback-query-send:disabled{opacity:.5;cursor:wait}
.feedback-query-dialog .feedback-query-status{margin:14px 0 0;font-size:.82rem}
.feedback-questions{margin:14px 0 22px}.feedback-question-thread{padding:18px 20px;background:#faf9fe;border:1px solid #e5e1f2;border-radius:16px;margin-top:12px}
.review-row>.feedback-question-thread{margin:0 18px 18px}.feedback-question-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.feedback-question-heading h3{margin:0;font-size:.86rem;font-weight:750;color:var(--ink)}
.feedback-question-state{font-size:.72rem;color:var(--purple);white-space:nowrap}.feedback-question-note,.feedback-question-reply{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.84rem;line-height:1.6;margin:0;color:var(--muted)}.feedback-question-reply{margin-top:12px;padding-top:12px;border-top:1px solid #e5e1f2;color:var(--ink)}.feedback-question-thread>.feedback-query-meta{margin:8px 0 0}
.feedback-question-retry,.feedback-question-pages button{border:0;background:transparent;color:var(--purple);font:inherit;font-size:.8rem;cursor:pointer;padding:6px 0}.feedback-question-pages{display:flex;justify-content:space-between;gap:16px;margin-top:12px}
.top-status .save-state[data-state="error"]{color:#a74043!important}.top-status .save-state[data-state="saving"]{color:var(--muted)!important}
[hidden]{display:none!important}
@media(max-width:600px){.feedback-query-dialog{padding:22px;border-radius:20px}.feedback-question-heading{align-items:flex-start;flex-direction:column;gap:5px}.feedback-query-icon{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.feedback-query-icon{transition:none}.feedback-query-dialog::backdrop{backdrop-filter:none}}
.review-name .feedback-question-marker{display:block;margin-top:5px;font-size:.68rem;color:var(--purple);font-weight:600;letter-spacing:0;text-transform:none}
.topbar .top-status .save-state[data-state="error"]{color:#a74043!important}.topbar .top-status .save-state[data-state="saving"]{color:var(--muted)!important}
