.course-notes-link{display:block;margin-top:24px;padding:16px;border:1px solid #e6d9ed;border-radius:14px;background:#faf3fb;color:#532769;font-weight:800;line-height:1.5;text-decoration:none}
.course-notes-link:hover,.course-notes-link[aria-current=page]{background:#f0e1f5;border-color:#b88cc9}
.course-note-form{display:grid;gap:16px}
.course-note-form label{font-weight:800}
.course-note-form textarea{box-sizing:border-box;width:100%;min-height:160px;resize:vertical;padding:16px;border:1px solid #d8d2e0;border-radius:14px;font:inherit;line-height:1.7;background:#fff;color:#20172b}
.course-note-form textarea:focus{outline:2px solid #9561b0;outline-offset:2px}
.course-note-form button,.course-notes-feed-head button{justify-self:start;border:0;border-radius:24px;padding:14px 20px;background:var(--button-gradient,#733c90);color:#fff;font:inherit;font-weight:800;cursor:pointer}
.course-notes-feed-head button:disabled{opacity:.5;cursor:default}
.course-notes-feed-head{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.course-notes-feed-head h2{margin:0}
.course-notes-feed-head h2 span{color:#76697e;font-size:.75em}
.course-notes-hint{font-size:14px;color:#71647a;line-height:1.6}
.course-note-card{padding:24px 0;border-top:1px solid #e6dfea}
.course-note-meta{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:12px;font-size:13px;color:#77677e}
.course-note-meta span{color:#5a3470}
.course-note-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}
.course-notes-pagination{display:flex;gap:20px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:24px}
.course-notes-page,.course-notes-page .lesson-section{min-width:0}
@media(max-width:700px){.course-notes-feed-head{align-items:stretch}.course-notes-feed-head form,.course-notes-feed-head button{width:100%}.course-notes-feed-head button{white-space:normal}.course-notes-link{margin-top:16px}}
@media print{.course-notes-manage{display:none}.course-note-card{break-inside:avoid}}
