/* Chalk Results modal (2026-11-04). Fonts from lesson-chalk.css (Patrick Hand). */
.modal.exr{max-width:1180px;padding:0;background:#fbf8f1;color:#14163a;border-radius:22px}
.exr .grow{flex:1}
.exr-board{background:#22302c radial-gradient(circle at 70% 0,#30423d,#22302c 70%);color:#f3efe4;padding:24px 30px 20px;border-bottom:6px solid #8a6a45}
.exr-top{display:flex;gap:18px;align-items:center}
.exr-lola{width:84px;height:84px;border-radius:50%;object-fit:cover;border:3px solid #f3efe4;flex:none}
.exr-h1{font-family:'Patrick Hand',cursive;font-weight:400;font-size:2.6rem;margin:0;line-height:1;color:#f3efe4}
.exr-h1 span{color:#ff6b61}
.exr-meta{opacity:.75;font-size:.88rem;margin-top:4px}
.exr-close{margin-left:auto;align-self:flex-start;background:none;border:1.5px dashed rgba(243,239,228,.55);color:#f3efe4;border-radius:12px;padding:8px 16px;font:inherit;font-weight:700;font-size:.88rem;cursor:pointer}
.exr-close:hover{background:rgba(243,239,228,.1)}
.exr-facts{margin-top:14px;font-size:.88rem;color:rgba(243,239,228,.8);display:flex;flex-wrap:wrap;gap:6px 18px}
.exr-facts b{color:#fff}
.exr-stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:18px;border-top:1.5px dashed rgba(243,239,228,.33);padding-top:14px}
.exr-stats .k{font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;opacity:.7}
.exr-stats .v{font-family:'Patrick Hand',cursive;font-size:2.5rem;line-height:1.1}
.exr-stats .v.r{color:#ff6b61}.exr-stats .v.b{color:#8fb0ff}
.exr-insight{margin:18px 30px 0;display:flex;gap:12px;align-items:center;background:#fff;border-left:5px solid #e8352b;border-radius:12px;padding:12px 16px;font-size:.95rem;box-shadow:0 2px 0 rgba(20,22,58,.06)}
.exr-insight .exr-paw{font-size:1.25rem}.exr-insight b:first-child{color:#e8352b}
.exr-tabs{display:flex;gap:26px;margin:18px 30px 0;border-bottom:2px solid rgba(20,22,58,.08)}
.exr-tab{border:0;background:none;font:inherit;font-weight:800;font-size:1rem;padding:10px 2px;color:rgba(20,22,58,.55);cursor:pointer;display:inline-flex;gap:6px;align-items:center;border-bottom:4px solid transparent;margin-bottom:-2px}
.exr-tab.on{color:#1d3fb8;border-bottom-color:#1d3fb8}
.exr-tab .ic{width:1em;height:1em}
.exr-body{padding:18px 30px 24px}
.exr-chart{background:#22302c;border-radius:16px;padding:16px 22px 12px;color:#f3efe4}
.exr-ch-h{display:flex;gap:14px;align-items:baseline;flex-wrap:wrap}
.exr-chart h3{font-family:'Patrick Hand',cursive;font-weight:400;font-size:1.6rem;margin:0;color:#f3efe4}
.exr-cap{font-size:.8rem;opacity:.7}
.exr-hist{display:flex;align-items:flex-end;gap:12px;height:190px;margin-top:8px;position:relative;border-bottom:2px solid rgba(243,239,228,.65)}
.exr-col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;position:relative}
.exr-bar{display:block;width:70%;border:2.5px solid #f3efe4;border-bottom:none;border-radius:6px 6px 0 0;background:repeating-linear-gradient(-45deg,rgba(243,239,228,.2) 0 3px,transparent 3px 9px)}
.exr-bar.r{border-color:#ff6b61;background:repeating-linear-gradient(-45deg,rgba(255,107,97,.33) 0 3px,transparent 3px 9px)}
.exr-bar.b{border-color:#8fb0ff;background:repeating-linear-gradient(-45deg,rgba(143,176,255,.33) 0 3px,transparent 3px 9px)}
.exr-bar[data-h="0"]{border:0}
.exr-n{font-family:'Patrick Hand',cursive;font-size:1.35rem;min-height:1.2em}
.exr-lab{position:absolute;bottom:-22px;font-size:.72rem;opacity:.7;white-space:nowrap}
.exr-mean{position:absolute;top:0;bottom:0;border-left:2.5px dashed #ffd76a;z-index:1;pointer-events:none}
.exr-mean span{position:absolute;top:-2px;left:6px;font-family:'Patrick Hand',cursive;color:#ffd76a;font-size:1.1rem;white-space:nowrap}
.exr-legend{margin-top:30px;font-size:.75rem;opacity:.75;display:flex;gap:18px;flex-wrap:wrap}
.exr-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;background:#f3efe4}
.exr-legend i.r{background:#ff6b61}.exr-legend i.b{background:#8fb0ff}.exr-legend i.m{background:none;border-left:2.5px dashed #ffd76a;border-radius:0;width:4px}
.exr-tw{overflow-x:auto}
.exr-t{width:100%;border-collapse:separate;border-spacing:0 9px;margin-top:8px}
.exr-t th{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:rgba(20,22,58,.5);text-align:left;font-weight:800;padding:0 12px;border:0;white-space:nowrap}
.exr-k{text-transform:none}.exr-k i{display:inline-block;width:8px;height:8px;border-radius:2px;margin:0 2px 0 4px}
.exr-k i.ok,.exr-spark i.ok{background:#1d3fb8}.exr-k i.no,.exr-spark i.no{background:#e8352b}.exr-spark i.nm{background:rgba(20,22,58,.35)}
.exr-t td{background:#fff;padding:12px;vertical-align:middle;font-size:.88rem;border:0}
.exr-t td:first-child{border-radius:14px 0 0 14px}.exr-t td:last-child{border-radius:0 14px 14px 0}
.exr-t tr.exr-tot td{background:#f1ede2}
.exr-who{display:flex;align-items:center;gap:10px}
.exr-av{width:34px;height:34px;border-radius:50%;background:#1d3fb8;color:#fff;display:grid;place-items:center;font-weight:800;flex:none}
.exr-st{font-size:.75rem;color:rgba(20,22,58,.6);font-weight:700}.exr-st.ok{color:#1f8a5b}.exr-st.amber{color:#b7791f}.exr-st.red{color:#e8352b}
.exr-score{font-family:'Patrick Hand',cursive;font-size:2rem;line-height:1;white-space:nowrap}.exr-score small{font-size:1.1rem}
.exr-score.above{color:#1d3fb8}.exr-score.below{color:#e8352b}
.exr-tag{font-size:.75rem;font-weight:800;padding:2px 0;border-bottom:2.5px solid;white-space:nowrap}
.exr-tag.above{color:#1d3fb8}.exr-tag.below{color:#e8352b}.exr-tag.at{color:#14163a}
.exr .tiny{font-size:.7rem}
.exr-spark{display:flex;align-items:flex-end;gap:3px;height:34px}
.exr-spark i{width:7px;border-radius:2px;flex:none;cursor:default}
.exr-rep{border:2px solid #14163a;background:#fff;border-radius:10px;padding:6px 14px;font:inherit;font-weight:800;font-size:.8rem;box-shadow:2px 2px 0 #14163a;cursor:pointer;color:#14163a}
.exr-rep:hover{transform:translate(-1px,-1px);box-shadow:3px 3px 0 #14163a}
.exr-foot{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:10px}
.exr-btn{border:1.5px solid rgba(20,22,58,.25);background:#fff;border-radius:10px;padding:7px 14px;font:inherit;font-weight:700;font-size:.85rem;color:#14163a;cursor:pointer;text-decoration:none;display:inline-flex;gap:6px;align-items:center}
.exr-btn.pri{background:#1d3fb8;border-color:#1d3fb8;color:#fff}
.exr-btn .ic{width:1em;height:1em}
.exr-qh{margin-bottom:12px}
.exr-read{margin-top:8px;font-size:.9rem;color:#f3efe4}.exr-read b{color:#ffd76a}.exr-read p{display:inline;margin:0}
.exr-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.exr-sort{border:0;background:none;font:inherit;font-weight:800;font-size:.85rem;color:rgba(20,22,58,.55);padding:4px 2px;border-bottom:3px solid transparent;cursor:pointer}
.exr-sort.on{color:#1d3fb8;border-bottom-color:#1d3fb8}
.exr-cnt{margin-left:12px;font-size:.8rem;font-weight:700;display:inline-flex;gap:10px}.exr-cnt .b{color:#1d3fb8}.exr-cnt .r{color:#e8352b}
.exr-qrow{display:grid;grid-template-columns:70px minmax(160px,1.3fr) 190px 110px 90px minmax(150px,1fr) 80px;gap:14px;align-items:center;background:#fff;border-radius:12px;padding:10px 16px;margin-bottom:7px;font-size:.88rem}
.exr-qrow.hard{box-shadow:inset 5px 0 0 #e8352b}
.exr-hd{font-size:.68rem;font-weight:800;color:#e8352b;text-transform:uppercase;letter-spacing:.05em}
.exr-topic details summary{font-size:.75rem;color:#1d3fb8;cursor:pointer}
.exr-pc{display:flex;gap:10px;align-items:center}
.exr-track{flex:1;height:14px;background:rgba(20,22,58,.07);border-radius:8px;overflow:hidden}
.exr-fill{height:100%;background:rgba(20,22,58,.35)}.exr-fill.r{background:#e8352b}.exr-fill.b{background:#1d3fb8}
.exr-wrong p{display:inline;margin:0}
.exr-diff{font-size:.75rem;font-weight:800;border-bottom:2.5px solid}.exr-diff.easy{color:#1d3fb8}.exr-diff.medium{color:#14163a}.exr-diff.hard{color:#e8352b}
@media (max-width:760px){.exr-stats{grid-template-columns:repeat(2,1fr)}.exr-h1{font-size:2rem}.exr-board,.exr-body{padding-left:16px;padding-right:16px}.exr-tabs,.exr-insight{margin-left:16px;margin-right:16px}.exr-qrow{grid-template-columns:60px 1fr;}}
