.l-richnotemount, .l-richnote-canvas { min-width: 0; width: 100%; }
.l-richnotetoolbar { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; padding: 8px; border: 1px solid #c7d7ed; border-bottom: 0; border-radius: 6px 6px 0 0; background: #f5f8fc; }
.l-richnotebutton { width: 34px; height: 32px; flex: 0 0 34px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #17345d; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.l-richnotebutton:hover, .l-richnotebutton.is-active { border-color: #a9c2e9; background: #e4efff; }
.l-richnotebutton[data-command="italic"] { font-style: italic; }
.l-richnotebutton[data-command="underline"] { text-decoration: underline; }
.l-richnotelink { display: flex; gap: 6px; padding: 8px; border: 1px solid #c7d7ed; background: #f5f8fc; }
.l-richnotelink input { flex: 1; min-width: 0; border: 1px solid #b4c7e2; border-radius: 4px; padding: 6px; }
.l-richnotelink button { border: 1px solid #7b9fe2; border-radius: 4px; background: #e4efff; color: #12325e; padding: 6px 12px; }
.l-richnotesurface { border: 1px solid #c7d7ed; border-radius: 0 0 6px 6px; background: #fff; min-height: 250px; }
.l-richnotecontent { min-height: 250px; padding: 18px; outline: none; color: #14284c; line-height: 1.55; overflow-wrap: anywhere; }
.l-richnotecontent p { margin: 0 0 .8em; }
.l-richnotecontent h1, .l-richnotecontent h2, .l-richnotecontent h3 { margin: 1em 0 .45em; letter-spacing: 0; }
.l-richnotecontent ul, .l-richnotecontent ol { padding-left: 1.5em; margin: .5em 0 1em; }
.l-richnotecontent mark { background: #fff19a; }
.l-richnotecontent a { color: #1b5bbd; text-decoration: underline; }
.l-richnotecontent blockquote { border-left: 3px solid #8ca9d8; padding-left: 12px; color: #41577a; }
.l-richnotewarning { margin: 8px 0; color: #8b4220; font-size: 13px; }
.l-canvascontenttype { font-size: 11px; font-weight: 700; color: #49658c; text-transform: uppercase; }
.l-canvasnewnotebutton { border: 1px solid #abc1e6; background: #f6f9ff; color: #17345d; border-radius: 4px; padding: 6px 8px; cursor: pointer; white-space: nowrap; }
.l-canvasdocumentselect { max-width: min(220px, 25vw); min-width: 110px; border: 1px solid #abc1e6; border-radius: 4px; padding: 5px; background: #fff; color: #17345d; font: inherit; }
.l-canvaspanelhead:has(.l-canvasdocumentselect:not(.l-hidden)) { flex-wrap: wrap; }
.l-canvaspanelhead:has(.l-canvasdocumentselect:not(.l-hidden)) .l-canvasheaderactions { flex-wrap: wrap; justify-content: flex-end; }
.l-canvaspanelhead:has(.l-canvasdocumentselect:not(.l-hidden)) .l-canvaspaneltitle { min-width: 120px; }
.l-canvaspanel[data-l-canvas-type="note"] .l-canvasinsertmenu,
.l-canvaspanel[data-l-canvas-type="note"] .l-canvasadjustmenu,
.l-canvaspanel[data-l-canvas-type="note"] .l-canvasstylemenu,
.l-canvaspanel[data-l-canvas-type="note"] .l-canvassegmented { display: none; }
.l-canvaspanel[data-l-canvas-type="note"] .l-canvasdocument { padding: 12px; }
.l-canvaspanel[data-l-canvas-type="note"] .l-richnotesurface { min-height: min(60vh, 600px); }
.l-canvaspanel[data-l-canvas-type="note"] .l-richnotecontent { min-height: min(60vh, 600px); }
.l-course-ai-eye { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border: 1px solid #b7cae9; border-radius: 4px; background: #fff; color: #49658c; cursor: pointer; }
.l-course-ai-eye[aria-pressed="true"] { background: #e8f3ff; border-color: #5a91dc; color: #1556a3; }
.l-course-ai-eye:disabled { opacity: .5; cursor: default; }
.l-course-ai-eye svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.l-course-ai-documents { min-width: 0; flex: 1 1 100%; border-top: 1px solid #d4e0f1; padding-top: 6px; }
.l-course-ai-documents summary { cursor: pointer; font-size: 12px; color: #315781; }
.l-course-ai-list { max-height: 230px; overflow: auto; padding: 5px 0; }
.l-course-ai-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid #e6edf7; }
.l-course-ai-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
@media (max-width: 700px) { .l-richnotebutton { width: 32px; flex-basis: 32px; } .l-richnotecontent { padding: 12px; } .l-canvasdocumentselect { max-width: 100%; flex: 1 1 100%; } }
