@import url('./clinical-note-reading.css');
.clinical-note-editor{color:#234237;max-width:64rem}.clinical-note-editor-header{display:flex;gap:1rem;justify-content:space-between;align-items:center;padding:.6rem 0;border-bottom:1px solid #dce4dc}.clinical-note-editor-header h3{margin:.2rem 0;font-size:1.5rem}.clinical-note-editor-header small{font-size:.65rem;letter-spacing:.16em;color:#698074}.clinical-note-editor-tools,.note-choices,.note-plan-controls{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}.clinical-note-editor button{min-height:44px;border:1px solid #cbd7ce;border-radius:8px;background:#fff;color:#325040;padding:.45rem .75rem;margin:0;line-height:1.3}.clinical-note-editor button[aria-pressed=true],.clinical-note-editor .note-primary{background:#2d5845;color:#fff;border-color:#2d5845}.clinical-note-editor button:disabled{opacity:.5}.clinical-note-editor [role=status]{font-size:.85rem;color:#6b7465;margin:.7rem 0}.note-editor-section{padding:1.15rem 0;border:0;border-bottom:1px solid #e3e9e2}.note-editor-section h4,.note-editor-section>summary{margin:0 0 .6rem;font-size:1rem;color:#264d3b;font-weight:600}.note-editor-section label{display:block;font-size:.8rem;color:#627568;margin:.5rem 0}.note-editor-section textarea,.note-editor-section input[type=number]{display:block;box-sizing:border-box;width:100%;border:1px solid #d5ded4;background:#f9fbf7;border-radius:7px;padding:.65rem;color:#203e32;font:inherit;font-size:1rem;line-height:1.6;margin:.25rem 0;min-height:44px}.note-editor-section textarea:focus{outline:2px solid #6a967c;outline-offset:1px;background:#fff}.note-item{padding:.65rem .85rem;margin:.5rem 0;background:#f4f7f1;border-radius:9px}.note-item-bar{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.note-item-bar strong{font-size:.8rem;color:#667b6b}.note-item-bar button{background:transparent;border:0;font-size:1.25rem;color:#7d6e62;width:44px}.note-editor-section .note-visibility{display:flex;align-items:center;gap:.5rem;font-size:.75rem}.note-visibility input{width:20px;height:20px}.note-plan-controls>label{max-width:11rem}.note-start{padding:1.25rem 0}.note-start button{margin-right:.5rem}.clinical-note-editor>details{margin-top:1rem}.clinical-note-editor>details>summary{font-size:.85rem;padding:.75rem 0;color:#4d7059}@media(max-width:760px){.clinical-note-editor-header{align-items:flex-start;flex-direction:column}.clinical-note-editor-tools{width:100%}.clinical-note-editor-tools .note-primary{margin-left:auto}.note-item{padding:.6rem}.note-editor-section{padding:.9rem 0}}

.clinical-note-editor [hidden],#note-section>.note-review-actions[hidden],#note-section>label[hidden]{display:none!important}

.note-reading .note-editor-section h4{display:flex;align-items:center;justify-content:space-between;gap:1rem}.note-reading .note-editor-section h4 button{border:0;background:transparent;color:#6e8975;font-size:1rem;width:44px}.note-reading .note-editor-section{padding:.6rem 0}.note-reading .note-editor-section p{white-space:pre-wrap;line-height:1.75;margin:.2rem 0 .6rem;font-size:.95rem;overflow-wrap:anywhere}.note-reading .note-empty{color:#89928a;font-size:.8rem!important}.note-reading [data-note-section='00']{border-left:3px solid #6e9278;background:#eef4ec;padding:.7rem 1rem;border-radius:0 8px 8px 0}

.note-edit-nav{display:flex;gap:.3rem;flex-wrap:wrap;border-bottom:1px solid #dce4dc;padding:.4rem 0}.note-edit-nav button{font-size:.75rem;padding:.4rem .6rem}

.note-cache-recovery{padding:.7rem;border:1px solid #dcd9c4;border-radius:8px;background:#faf9f0;margin:.5rem 0}.note-cache-recovery details{margin-top:.5rem}.note-cache-recovery pre{white-space:pre-wrap;max-height:25rem;overflow:auto;font:inherit;font-size:.85rem;line-height:1.6}

.note-patient-copy{border:1px solid #dce5dc;border-radius:10px;background:#f8faf6;padding:0 .9rem;margin:.7rem 0}.note-patient-copy>summary{display:flex;align-items:center;justify-content:space-between;gap:.6rem;min-height:48px;cursor:pointer;font-size:.85rem;list-style-position:inside}.note-patient-copy>summary small{color:#708273;font-weight:400}.note-patient-copy p{font-size:.85rem;line-height:1.6;overflow-wrap:anywhere}.note-copy-choices{max-height:20rem;overflow:auto;overscroll-behavior:contain;border-top:1px solid #e3e9df}.note-copy-choice{display:flex;gap:.65rem;align-items:center;min-height:44px;margin:.15rem 0;padding:.25rem .3rem;font-size:.85rem;cursor:pointer}.note-copy-choice input{width:20px;height:20px;flex:0 0 20px;accent-color:#2d5845}.note-copy-choice span{overflow-wrap:anywhere}.note-copy-extras{margin:.6rem 0}.note-copy-extras>summary{padding:.6rem 0;min-height:24px;font-size:.8rem;color:#58725d;cursor:pointer}.note-copy-preview{border-top:1px solid #dce5dc;padding:.75rem 0}.note-copy-preview>small{font-size:.65rem;letter-spacing:.1em;color:#6f8271}.note-copy-preview p{margin:.35rem 0}.note-patient-copy [data-copy-status]{font-size:.8rem;color:#6b7465}
.note-carried-advice{border:1px solid #d9e5df;border-radius:10px;padding:10px 14px;margin:10px 0;background:#f7faf8}
.note-carried-advice summary{cursor:pointer;font-weight:600}.note-carried-advice small{display:block;color:#60736b;margin:8px 0}
.note-carried-advice label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px}.note-carried-advice input{width:20px;height:20px;flex:none}
