/* CWM Notes revision 1 — 2026-10-02. */
.note-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.note-body p{white-space:pre-wrap;margin:.45em 0}.note-body h2{font-size:1.2em;margin:.8em 0 .3em}.note-body ul,.note-body ol{padding-left:1.6em;white-space:normal}.note-body li{white-space:pre-wrap}.note-body a{text-decoration:underline}
.notes-editor{width:min(850px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:90vh;overflow:auto;border:1px solid #b8ab8b;border-radius:18px;padding:24px;box-sizing:border-box}.notes-editor::backdrop{background:#19160f80}.notes-editor label{display:block;margin:12px 0}.notes-editor input,.notes-editor select{box-sizing:border-box;width:100%;padding:10px;font:inherit}.notes-toolbar{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.notes-toolbar button{font-size:.9rem;padding:7px 10px}.notes-content{min-height:220px;max-height:45vh;overflow:auto;border:1px solid #c6bfae;border-radius:8px;padding:14px;background:white;color:#25231f}.notes-content:focus{outline:2px solid #806c35}.notes-editor footer{display:flex;justify-content:flex-end;gap:12px;margin-top:16px}.notes-editor [role=alert]{color:#982e27}.notes-editor h2{margin-top:0}
@media(max-width:600px){.notes-editor{padding:15px}.notes-content{min-height:180px}.notes-toolbar button{min-height:40px}}
/* Notes related UI revision 2 — 2026-10-14. */
.notes-editor fieldset{min-width:0;margin:16px 0;border:1px solid #c6bfae;border-radius:8px;padding:12px}.notes-editor fieldset button{margin:4px;white-space:normal;overflow-wrap:anywhere}.notes-editor textarea{width:100%;max-width:100%;min-height:110px}.notes-editor .note-comment{border-bottom:1px solid #ddd;padding:12px 0}.note-comment>div{white-space:pre-wrap;overflow-wrap:anywhere}.notes-editor h3{margin-top:20px}.record-title{flex-wrap:wrap}
