.study-section{margin-top:24px}.study-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:18px 0}.study-report-head{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.study-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;margin:24px 0}.study-metrics div{padding:15px;background:var(--pale,#f5f5ef);border-radius:12px;display:flex;flex-direction:column;gap:8px}.study-metrics strong{font-size:1.7rem}.study-metrics span{font-size:.8rem}.study-table-wrap{overflow:auto}.study-table{border-collapse:collapse;width:100%;text-align:left}.study-table th,.study-table td{padding:13px;border-bottom:1px solid var(--line,#d9ded8)}.study-plan{padding-left:24px}.study-plan li{padding:8px}.study-plan p{margin:7px 0}.reader-toolbar{display:grid;grid-template-columns:2fr 2fr 1fr;gap:16px;margin-bottom:20px}.reader-toolbar label,.reader-pagination label{display:flex;flex-direction:column;gap:6px}.reader-toolbar input,.reader-toolbar select,.reader-pagination input{width:100%;padding:12px;background:var(--paper,#fff);color:inherit;border:1px solid var(--line,#d9ded8);border-radius:10px;min-width:0}.reader-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px}.reader-toc{align-self:start;position:sticky;top:25px;max-height:80vh;overflow:auto}.reader-toc a{display:block;font-size:.85rem;padding:10px 0;border-bottom:1px solid var(--line,#d9ded8)}.reader-toc a[aria-current=page]{font-weight:700;color:var(--green,#286d5a)}.reader-page p{font-size:1em;line-height:1.85}.reader-page h2{font-size:1.9em}.reader-page h3{font-size:1.2em;margin-top:26px}.reader-page .diagram-wrap{max-width:100%;overflow:auto}.reader-pagination{display:flex;justify-content:space-between;gap:15px;margin:22px 0;align-items:center}.reader-pagination input{max-width:100px}.unavailable{opacity:.4;cursor:default}.reader-full-image{display:block;width:100%;max-height:70vh;object-fit:contain}.recall-order-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px;border:1px solid var(--line,#d9ded8);border-radius:10px;margin:8px 0;cursor:grab}.recall-order-row label{min-width:100px}.formula-launch{display:block;margin:5px 0 15px;font-size:.8rem}.formula-dialog{background:var(--paper,#fff);color:var(--ink,#1d3439);border:1px solid var(--line,#d9ded8);border-radius:20px;width:min(600px,90vw);padding:28px;max-height:90vh;overflow:auto}.formula-dialog::backdrop{background:#172c34aa}.formula-dialog label{display:grid;gap:8px}.formula-dialog input{padding:12px;width:100%;border-radius:8px;border:1px solid var(--line,#d9ded8)}.formula-dialog .study-actions button{min-height:40px}.formula-dialog math,.nb-body math,.nb-answer math{font-size:1.2em;margin:0 .15em}#formula-preview{min-height:80px;padding:20px;background:var(--pale,#f5f5ef);border-radius:12px;font-size:1.8rem;text-align:center}#formula-status{color:#a53832}.erase-highlights mark{cursor:crosshair;outline:1px dashed currentColor}.study-celebration{position:fixed;right:28px;top:90px;z-index:80;border-radius:50%;background:#286d5a;color:white;font-size:32px;padding:10px 20px;animation:study-pop 1.1s ease-out forwards;pointer-events:none}.rich-atmosphere .shell{background-image:radial-gradient(ellipse at 80% 5%,#72b79a22,transparent 50%),radial-gradient(ellipse at 10% 60%,#ebb77d1a,transparent 60%)}.command-active{outline:2px solid var(--green,#286d5a);border-radius:8px}.mentor-grid{margin-top:24px}.mentor-link-input{width:100%;padding:12px;margin:10px 0}.connection-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;border-bottom:1px solid var(--line,#d9ded8);padding:16px 0}.study-report .tool-row{gap:15px}.study-report a,.reader-page a{overflow-wrap:anywhere}
@keyframes study-pop{0%{transform:scale(.6);opacity:0}20%{transform:scale(1);opacity:1}80%{opacity:1}100%{transform:translateY(-20px);opacity:0}}
@media(prefers-reduced-motion:reduce){.study-celebration{animation:none;opacity:1}}
@media(max-width:800px){.reader-layout{grid-template-columns:1fr}.reader-toc{position:static;max-height:230px}.reader-toolbar{grid-template-columns:1fr}.reader-pagination{flex-wrap:wrap}.study-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.recall-order-row{align-items:start}.reader-page{padding:20px}.study-table th,.study-table td{padding:10px;font-size:.85rem}}

#vignette mark{color:#203536}.calm .study-celebration{display:none}.session-goal{margin-top:-8px;margin-bottom:18px}
