/* Notes belong to the ordinary study UI; no Pro exam selectors. */
.run-side .study-note-label{display:block;margin-top:1.2rem;padding-top:1rem;border-top:1px solid #c3d5c9;font-size:.9rem;line-height:1.5}
.run-side .study-note-label textarea{box-sizing:border-box;display:block;width:100%;max-width:100%;min-height:7rem;margin-top:.55rem;resize:vertical}
.run-side #save-note{margin-top:.45rem;min-height:44px}
.run-side .study-note-status{margin-top:.75rem;font-size:.82rem;line-height:1.55;overflow-wrap:anywhere}
.run-side #personal-note:focus-visible,.run-side #save-note:focus-visible{outline:3px solid #237464;outline-offset:3px}

/* Local learning history adds context without changing a saved score. */
.study-recommendation{margin:1rem 0;padding:1.1rem;border:1px solid #b9ccc0;border-radius:12px;background:#f2f6f3;overflow-wrap:anywhere}
.study-recommendation h3{margin:0 0 .55rem;font-size:1.12rem;line-height:1.4}
.study-recommendation p{margin:.65rem 0;line-height:1.55}
.study-recommendation .button{max-width:100%;min-height:44px;white-space:normal;text-align:center}
.study-recommendation .fine{font-size:.83rem}
.study-history-updates{margin:1rem 0;border:1px solid #bccbd7;border-radius:12px;background:#f7f9fb;overflow-wrap:anywhere}
.study-history-updates>summary{min-height:44px;padding:1rem;cursor:pointer;line-height:1.5}
.study-history-updates>summary strong{margin-right:.65rem;font-size:1rem}
.study-history-updates>summary>span{font-size:.88rem}
.study-history-body{padding:0 1rem 1rem}
.study-history-body>p{line-height:1.55}
.study-history-body>.fine,.study-history-dates{font-size:.83rem;line-height:1.6}
.study-history-dates time{white-space:nowrap}
.study-history-item{border-top:1px solid #ced8e0}
.study-history-item>summary{min-height:44px;padding:.9rem 0;cursor:pointer;line-height:1.5}
.study-history-item>summary>strong{font-size:.96rem;font-weight:600}
.study-history-item>summary>span{display:block;margin:.4rem 0 0 1rem;font-size:.8rem;color:#4c6172}
.study-history-item>div{padding:0 0 1rem}
.study-history-item h4{font-size:1rem;margin:1.2rem 0 .5rem}
.study-history-item .prewrap{line-height:1.6}
.study-history-badge{display:block;width:fit-content;max-width:100%;margin-top:.45rem;padding:.2rem .55rem;border:1px solid #bac9d7;border-radius:5px;background:#eaf0f6;color:#284359;font-size:.78rem;font-weight:600;line-height:1.5}
.study-history-pages{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.7rem;margin-top:1rem}
.study-history-pages .button{min-height:44px;white-space:normal}
.study-history-pages span{font-size:.83rem}
.study-history-updates summary:focus-visible,.study-history-updates button:focus-visible,.study-recommendation button:focus-visible{outline:3px solid #237464;outline-offset:3px}
@media(max-width:480px){.study-history-updates>summary>span{display:block;margin:.25rem 0 0 1rem}.study-history-pages span{width:100%;order:-1;text-align:center}.study-history-pages .button{flex:1 1 40%;padding:.7rem .55rem;font-size:.83rem}}

/* Topic-level local progress: guidance, not a grade. */
.study-topic-progress{margin:1rem 0;padding:1.1rem;border:1px solid #c5d4ca;border-radius:14px;background:#fbfcfb;overflow-wrap:anywhere}
.study-topic-progress.is-empty{background:#f7f9f7}
.study-topic-progress .section-head{margin-bottom:.9rem}
.study-topic-progress .section-head h3{margin:.2rem 0 .45rem;font-size:1.2rem}
.study-topic-progress .section-head p{margin:0;max-width:58rem;line-height:1.6}
.study-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}
.study-topic-card{padding:1rem;border:1px solid #d1ddd5;border-radius:12px;background:#fff}
.study-topic-card.selected{border-color:#568a78;box-shadow:0 0 0 2px rgba(86,138,120,.12)}
.study-topic-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem}
.study-topic-card-head h4{margin:.2rem 0 .45rem;font-size:1.06rem;line-height:1.35}
.study-topic-card-head>strong{font-size:1.25rem;white-space:nowrap}
.study-topic-meters{display:grid;gap:.55rem;margin:.7rem 0}
.study-topic-meters div{display:grid;gap:.25rem}
.study-topic-meters span{font-size:.8rem;line-height:1.4;color:#4d6256}
.study-topic-meters progress{width:100%;height:.55rem}
.study-topic-card .fine{min-height:2.5em;margin:.65rem 0;font-size:.8rem;line-height:1.45}
.study-topic-card .button{width:100%;min-height:44px;white-space:normal}
.study-topic-card .button:focus-visible{outline:3px solid #237464;outline-offset:3px}
@media(max-width:820px){.study-topic-grid{grid-template-columns:1fr}.study-topic-card .fine{min-height:0}}
