/* Editor y vista de observaciones con formato (observaciones_rich.js). Prefijo obsr- */
.obsr-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; padding: .35rem .4rem; border: 1px solid #dee2e6; border-bottom: 0; border-radius: .375rem .375rem 0 0; background: #f8f9fa; }
.obsr-btn { border: 0; background: transparent; width: 2rem; height: 2rem; border-radius: .3rem; color: #343a40; display: inline-flex; align-items: center; justify-content: center; }
.obsr-btn:hover { background: #e9ecef; }
.obsr-btn:active { background: #dee2e6; }
.obsr-btn:focus-visible, .obsr-color:focus-visible { outline: 2px solid #0d6efd; outline-offset: 1px; }
.obsr-sep { width: 1px; align-self: stretch; margin: .2rem .25rem; background: #dee2e6; }
.obsr-color { width: 1.15rem; height: 1.15rem; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #adb5bd; padding: 0; margin: 0 .1rem; }
.obsr-color:hover { box-shadow: 0 0 0 2px #495057; }
.obsr-area.form-control { min-height: 7rem; max-height: 22rem; overflow-y: auto; border-radius: 0 0 .375rem .375rem; white-space: pre-wrap; }
.obsr-area:empty::before { content: attr(data-placeholder); color: #6c757d; pointer-events: none; }
.obsr-area ul, .obsr-area ol, .obsr-vista ul, .obsr-vista ol { margin: .25rem 0; padding-left: 1.4rem; }
.obsr-area a, .obsr-vista a { color: #0d6efd; text-decoration: underline; }
.obsr-count { text-align: right; font-size: .75rem; color: #6c757d; margin-top: .2rem; }
.obsr-count.obsr-excede { color: #dc3545; font-weight: 600; }
.obsr-vista { white-space: pre-wrap; }
.obsr-vista div, .obsr-vista p { margin: 0; }
