/*!
 * Quill Editor v2.0.2
 * https://quilljs.com
 * Copyright (c) 2017-2024, Slab
 * Copyright (c) 2014, Jason Chen
 * Copyright (c) 2013, salesforce.com
 */
.note-content-div{
    font-size: 11pt;
}

.note-content-div table {
    border-collapse: collapse
}

.note-content-div td {
    border: 1px solid #000;
    padding: 2px 5px
}

/*.note-content-div ol {*/
/*    padding-left: 1.5em*/
/*}*/

/*.note-content-div li {*/
/*    list-style-type: none;*/
/*    padding-left: 1.5em;*/
/*    position: relative*/
/*}*/

/*.note-content-div li > .ql-ui:before {*/
/*    display: inline-block;*/
/*    margin-left: -1.5em;*/
/*    margin-right: .3em;*/
/*    text-align: right;*/
/*    white-space: nowrap;*/
/*    width: 1.2em*/
/*}*/

.note-content-div li[data-list=checked] > .ql-ui,.note-content-div li[data-list=unchecked] > .ql-ui {
    color: #777
}

/*.note-content-div li[data-list=bullet] > .ql-ui:before {*/
/*    content: '\2022'*/
/*}*/

/*.note-content-div li[data-list=checked] > .ql-ui:before {*/
/*    content: '\2611'*/
/*}*/

/*.note-content-div li[data-list=unchecked] > .ql-ui:before {*/
/*    content: '\2610'*/
/*}*/

@supports (counter-set:none) {
    .note-content-div li[data-list] {
        counter-set: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9
    }
}

@supports not (counter-set:none) {
    .note-content-div li[data-list] {
        counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9
    }
}

.note-content-div li[data-list=ordered] {
    counter-increment: list-0
}

.note-content-div li[data-list=ordered] > .ql-ui:before {
    content: counter(list-0, decimal) '. '
}

.note-content-div li[data-list=ordered].ql-indent-1 {
    counter-increment: list-1
}

.note-content-div li[data-list=ordered].ql-indent-1 > .ql-ui:before {
    content: counter(list-1, lower-alpha) '. '
}

@supports (counter-set:none) {
    .note-content-div li[data-list].ql-indent-1 {
        counter-set: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9
    }
}

@supports not (counter-set:none) {
    .note-content-div li[data-list].ql-indent-1 {
        counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9
    }
}

.note-content-div li[data-list=ordered].ql-indent-2 {
    counter-increment: list-2
}

.note-content-div li[data-list=ordered].ql-indent-2 > .ql-ui:before {
    content: counter(list-2, lower-roman) '. '
}

@supports (counter-set:none) {
    .note-content-div li[data-list].ql-indent-2 {
        counter-set: list-3 list-4 list-5 list-6 list-7 list-8 list-9
    }
}

@supports not (counter-set:none) {
    .note-content-div li[data-list].ql-indent-2 {
        counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9
    }
}

.note-content-div li[data-list=ordered].ql-indent-3 {
    counter-increment: list-3
}

.note-content-div li[data-list=ordered].ql-indent-3 > .ql-ui:before {
    content: counter(list-3, decimal) '. '
}

@supports (counter-set:none) {
    .note-content-div li[data-list].ql-indent-3 {
        counter-set: list-4 list-5 list-6 list-7 list-8 list-9
    }
}

@supports not (counter-set:none) {
    .note-content-div li[data-list].ql-indent-3 {
        counter-reset: list-4 list-5 list-6 list-7 list-8 list-9
    }
}

.note-content-div li[data-list=ordered].ql-indent-4 {
    counter-increment: list-4
}

.note-content-div li[data-list=ordered].ql-indent-4 > .ql-ui:before {
    content: counter(list-4, lower-alpha) '. '
}

@supports (counter-set:none) {
    .note-content-div li[data-list].ql-indent-4 {
        counter-set: list-5 list-6 list-7 list-8 list-9
    }
}

@supports not (counter-set:none) {
    .note-content-div li[data-list].ql-indent-4 {
        counter-reset: list-5 list-6 list-7 list-8 list-9
    }
}

.note-content-div li[data-list=ordered].ql-indent-5 {
    counter-increment: list-5
}

.note-content-div li[data-list=ordered].ql-indent-5 > .ql-ui:before {
    content: counter(list-5, lower-roman) '. '
}

@supports (counter-set:none) {
    .note-content-div li[data-list].ql-indent-5 {
        counter-set: list-6 list-7 list-8 list-9
    }
}

@supports not (counter-set:none) {
    .note-content-div li[data-list].ql-indent-5 {
        counter-reset: list-6 list-7 list-8 list-9
    }
}

.note-content-div li[data-list=ordered].ql-indent-6 {
    counter-increment: list-6
}

.note-content-div li[data-list=ordered].ql-indent-6 > .ql-ui:before {
    content: counter(list-6, decimal) '. '
}

@supports (counter-set:none) {
    .note-content-div li[data-list].ql-indent-6 {
        counter-set: list-7 list-8 list-9
    }
}

@supports not (counter-set:none) {
    .note-content-div li[data-list].ql-indent-6 {
        counter-reset: list-7 list-8 list-9
    }
}

.note-content-div li[data-list=ordered].ql-indent-7 {
    counter-increment: list-7
}

.note-content-div li[data-list=ordered].ql-indent-7 > .ql-ui:before {
    content: counter(list-7, lower-alpha) '. '
}

@supports (counter-set:none) {
    .note-content-div li[data-list].ql-indent-7 {
        counter-set: list-8 list-9
    }
}

@supports not (counter-set:none) {
    .note-content-div li[data-list].ql-indent-7 {
        counter-reset: list-8 list-9
    }
}

.note-content-div li[data-list=ordered].ql-indent-8 {
    counter-increment: list-8
}

.note-content-div li[data-list=ordered].ql-indent-8 > .ql-ui:before {
    content: counter(list-8, lower-roman) '. '
}

@supports (counter-set:none) {
    .note-content-div li[data-list].ql-indent-8 {
        counter-set: list-9
    }
}

@supports not (counter-set:none) {
    .note-content-div li[data-list].ql-indent-8 {
        counter-reset: list-9
    }
}

.note-content-div li[data-list=ordered].ql-indent-9 {
    counter-increment: list-9
}

.note-content-div li[data-list=ordered].ql-indent-9 > .ql-ui:before {
    content: counter(list-9, decimal) '. '
}

.note-content-div .ql-indent-1:not(.ql-direction-rtl) {
    padding-left: 3em
}

.note-content-div li.ql-indent-1:not(.ql-direction-rtl) {
    padding-left: 4.5em
}

.note-content-div .ql-indent-1.ql-direction-rtl.ql-align-right {
    padding-right: 3em
}

.note-content-div li.ql-indent-1.ql-direction-rtl.ql-align-right {
    padding-right: 4.5em
}

.note-content-div .ql-indent-2:not(.ql-direction-rtl) {
    padding-left: 6em
}

.note-content-div li.ql-indent-2:not(.ql-direction-rtl) {
    padding-left: 7.5em
}

.note-content-div .ql-indent-2.ql-direction-rtl.ql-align-right {
    padding-right: 6em
}

.note-content-div li.ql-indent-2.ql-direction-rtl.ql-align-right {
    padding-right: 7.5em
}

.note-content-div .ql-indent-3:not(.ql-direction-rtl) {
    padding-left: 9em
}

.note-content-div li.ql-indent-3:not(.ql-direction-rtl) {
    padding-left: 10.5em
}

.note-content-div .ql-indent-3.ql-direction-rtl.ql-align-right {
    padding-right: 9em
}

.note-content-div li.ql-indent-3.ql-direction-rtl.ql-align-right {
    padding-right: 10.5em
}

.note-content-div .ql-indent-4:not(.ql-direction-rtl) {
    padding-left: 12em
}

.note-content-div li.ql-indent-4:not(.ql-direction-rtl) {
    padding-left: 13.5em
}

.note-content-div .ql-indent-4.ql-direction-rtl.ql-align-right {
    padding-right: 12em
}

.note-content-div li.ql-indent-4.ql-direction-rtl.ql-align-right {
    padding-right: 13.5em
}

.note-content-div .ql-indent-5:not(.ql-direction-rtl) {
    padding-left: 15em
}

.note-content-div li.ql-indent-5:not(.ql-direction-rtl) {
    padding-left: 16.5em
}

.note-content-div .ql-indent-5.ql-direction-rtl.ql-align-right {
    padding-right: 15em
}

.note-content-div li.ql-indent-5.ql-direction-rtl.ql-align-right {
    padding-right: 16.5em
}

.note-content-div .ql-indent-6:not(.ql-direction-rtl) {
    padding-left: 18em
}

.note-content-div li.ql-indent-6:not(.ql-direction-rtl) {
    padding-left: 19.5em
}

.note-content-div .ql-indent-6.ql-direction-rtl.ql-align-right {
    padding-right: 18em
}

.note-content-div li.ql-indent-6.ql-direction-rtl.ql-align-right {
    padding-right: 19.5em
}

.note-content-div .ql-indent-7:not(.ql-direction-rtl) {
    padding-left: 21em
}

.note-content-div li.ql-indent-7:not(.ql-direction-rtl) {
    padding-left: 22.5em
}

.note-content-div .ql-indent-7.ql-direction-rtl.ql-align-right {
    padding-right: 21em
}

.note-content-div li.ql-indent-7.ql-direction-rtl.ql-align-right {
    padding-right: 22.5em
}

.note-content-div .ql-indent-8:not(.ql-direction-rtl) {
    padding-left: 24em
}

.note-content-div li.ql-indent-8:not(.ql-direction-rtl) {
    padding-left: 25.5em
}

.note-content-div .ql-indent-8.ql-direction-rtl.ql-align-right {
    padding-right: 24em
}

.note-content-div li.ql-indent-8.ql-direction-rtl.ql-align-right {
    padding-right: 25.5em
}

.note-content-div .ql-indent-9:not(.ql-direction-rtl) {
    padding-left: 27em
}

.note-content-div li.ql-indent-9:not(.ql-direction-rtl) {
    padding-left: 28.5em
}

.note-content-div .ql-indent-9.ql-direction-rtl.ql-align-right {
    padding-right: 27em
}

.note-content-div li.ql-indent-9.ql-direction-rtl.ql-align-right {
    padding-right: 28.5em
}

.note-content-div li.ql-direction-rtl {
    padding-right: 1.5em
}

.note-content-div li.ql-direction-rtl > .ql-ui:before {
    margin-left: .3em;
    margin-right: -1.5em;
    text-align: left
}

.note-content-div table {
    table-layout: fixed;
    width: 100%
}

.note-content-div table td {
    outline: none
}

.note-content-div .ql-code-block-container {
    font-family: monospace
}

.note-content-div .ql-video {
    display: block;
    max-width: 100%
}

.note-content-div .ql-video.ql-align-center {
    margin: 0 auto
}

.note-content-div .ql-video.ql-align-right {
    margin: 0 0 0 auto
}

.note-content-div .ql-bg-black {
    background-color: #000
}

.note-content-div .ql-bg-red {
    background-color: #e60000
}

.note-content-div .ql-bg-orange {
    background-color: #f90
}

.note-content-div .ql-bg-yellow {
    background-color: #ff0
}

.note-content-div .ql-bg-green {
    background-color: #008a00
}

.note-content-div .ql-bg-blue {
    background-color: #06c
}

.note-content-div .ql-bg-purple {
    background-color: #93f
}

.note-content-div .ql-color-white {
    color: #fff
}

.note-content-div .ql-color-red {
    color: #e60000
}

.note-content-div .ql-color-orange {
    color: #f90
}

.note-content-div .ql-color-yellow {
    color: #ff0
}

.note-content-div .ql-color-green {
    color: #008a00
}

.note-content-div .ql-color-blue {
    color: #06c
}

.note-content-div .ql-color-purple {
    color: #93f
}

.note-content-div .ql-font-serif {
    font-family: Georgia,Times New Roman,serif
}

.note-content-div .ql-font-monospace {
    font-family: Monaco,Courier New,monospace
}

.note-content-div .ql-size-small {
    font-size: .75em
}

.note-content-div .ql-size-large {
    font-size: 1.5em
}

.note-content-div .ql-size-huge {
    font-size: 2.5em
}

.note-content-div .ql-direction-rtl {
    direction: rtl;
    text-align: inherit
}

.note-content-div .ql-align-center {
    text-align: center
}

.note-content-div .ql-align-justify {
    text-align: justify
}

.note-content-div .ql-align-right {
    text-align: right
}

.note-content-div .ql-ui {
    position: absolute
}

.note-content-div.ql-blank::before {
    color: rgba(0,0,0,0.6);
    content: attr(data-placeholder);
    font-style: italic;
    left: 15px;
    pointer-events: none;
    position: absolute;
    right: 15px
}

.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after {
    clear: both;
    content: '';
    display: table
}

.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-block;
    float: left;
    height: 24px;
    padding: 3px 5px;
    width: 28px
}

.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg {
    float: left;
    height: 100%
}

.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover {
    outline: none
}

.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file] {
    display: none
}

.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected {
    color: #06c
}

.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill {
    fill: #06c
}

.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter {
    stroke: #06c
}

@media (pointer: coarse) {
    .ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active) {
        color:#444
    }

    .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill {
        fill: #444
    }

    .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter {
        stroke: #444
    }
}

.ql-snow {
    box-sizing: border-box
}

.ql-snow * {
    box-sizing: border-box
}

.ql-snow .ql-hidden {
    display: none
}

.ql-snow .ql-out-bottom,.ql-snow .ql-out-top {
    visibility: hidden
}

.ql-snow .ql-tooltip {
    position: absolute;
    transform: translateY(10px)
}

.ql-snow .ql-tooltip a {
    cursor: pointer;
    text-decoration: none
}

.ql-snow .ql-tooltip.ql-flip {
    transform: translateY(-10px)
}

.ql-snow .ql-formats {
    display: inline-block;
    vertical-align: middle
}

.ql-snow .ql-formats:after {
    clear: both;
    content: '';
    display: table
}

.ql-snow .ql-stroke {
    fill: none;
    stroke: #444;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2
}

.ql-snow .ql-stroke-miter {
    fill: none;
    stroke: #444;
    stroke-miterlimit: 10;
    stroke-width: 2
}

.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill {
    fill: #444
}

.ql-snow .ql-empty {
    fill: none
}

.ql-snow .ql-even {
    fill-rule: evenodd
}

.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin {
    stroke-width: 1
}

.ql-snow .ql-transparent {
    opacity: .4
}

.ql-snow .ql-direction svg:last-child {
    display: none
}

.ql-snow .ql-direction.ql-active svg:last-child {
    display: inline
}

.ql-snow .ql-direction.ql-active svg:first-child {
    display: none
}

.ql-snow .note-content-div h1 {
    font-size: 2em
}

.ql-snow .note-content-div h2 {
    font-size: 1.5em
}

.ql-snow .note-content-div h3 {
    font-size: 1.17em
}

.ql-snow .note-content-div h4 {
    font-size: 1em
}

.ql-snow .note-content-div h5 {
    font-size: .83em
}

.ql-snow .note-content-div h6 {
    font-size: .67em
}

.ql-snow .note-content-div a {
    text-decoration: underline
}

.ql-snow .note-content-div blockquote {
    border-left: 4px solid #ccc;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 16px
}

.ql-snow .note-content-div code,.ql-snow .note-content-div .ql-code-block-container {
    background-color: #f0f0f0;
    border-radius: 3px
}

.ql-snow .note-content-div .ql-code-block-container {
    margin-bottom: 5px;
    margin-top: 5px;
    padding: 5px 10px
}

.ql-snow .note-content-div code {
    font-size: 85%;
    padding: 2px 4px
}

.ql-snow .note-content-div .ql-code-block-container {
    background-color: #23241f;
    color: #f8f8f2;
    overflow: visible
}

.ql-snow .note-content-div img {
    max-width: 100%;
    height: auto;
}

/* ── Tables (feature/note-tables) ─────────────────────────────────────── */
.ql-editor table,
.note-content-div table {
    border-collapse: collapse;
    margin: 0.5em 0;
    table-layout: fixed;          /* honor column widths (resize comes next) */
}
.ql-editor td,
.ql-editor th,
.note-content-div td,
.note-content-div th {
    border: 1px solid #cbd5e1;
    padding: 4px 8px;
    min-width: 40px;
    vertical-align: top;
    word-break: break-word;
    text-align: center;   /* calc-table default; per-cell align (cellAlign) + number
                             formatting (right) override via inline style */
}
.ql-editor th,
.note-content-div th {
    background: #eef4f7;
    font-weight: 600;
}

/* Column-resize grip (a fixed vertical line shown at a column boundary on hover). */
.note-col-resizer {
    position: fixed;
    display: none;
    width: 6px;
    z-index: 2147483000;
    cursor: col-resize;
    background: rgba(59, 118, 144, 0.35);
}
.note-col-resizer:hover,
body.note-col-resizing .note-col-resizer { background: #3b7690; }
body.note-col-resizing { cursor: col-resize; user-select: none; }

/* ── Image float + resize (feature/notepics) ──────────────────────────── */
/* Float classes work in both edit (.ql-editor) and view (.note-content-div). */
.ql-editor img.note-img-left,
.note-content-div img.note-img-left {
    float: left;
    margin: 0.25em 1em 0.5em 0;
}
.ql-editor img.note-img-right,
.note-content-div img.note-img-right {
    float: right;
    margin: 0.25em 0 0.5em 1em;
}
/* Clearfix so wrapped text + floats don't collapse the note container. */
.ql-editor::after,
.note-content-div::after {
    content: "";
    display: block;
    clear: both;
}

/* Selection overlay shown while an image is selected in the active editor. */
.note-img-overlay {
    position: fixed;                    /* viewport-relative → works in fullscreen too */
    display: none;
    z-index: 2147483000;                /* above the fullscreen editor (position:fixed) */
    pointer-events: none;               /* clicks pass through to the image */
    outline: 2px solid #3b7690;
    box-sizing: border-box;
}
.note-img-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #3b7690;
    border: 2px solid #fff;
    border-radius: 2px;
    pointer-events: auto;
}
.note-img-handle-nw { top: -6px;    left: -6px;   cursor: nwse-resize; }
.note-img-handle-ne { top: -6px;    right: -6px;  cursor: nesw-resize; }
.note-img-handle-sw { bottom: -6px; left: -6px;   cursor: nesw-resize; }
.note-img-handle-se { bottom: -6px; right: -6px;  cursor: nwse-resize; }
.note-img-toolbar {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    background: #3b7690;                 /* app blue — matches the overlay outline + handles */
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
    white-space: nowrap;
}
.note-img-toolbar button {
    background: none;
    border: none;
    color: #fff;
    padding: 4px 9px;
    font-size: 13px;
    cursor: pointer;
    line-height: 1;
}
.note-img-toolbar button:hover { background: #2d5c70; }
.note-img-toolbar button.active { background: #24485a; }
.note-img-toolbar button:first-child { border-radius: 6px 0 0 6px; }
.note-img-toolbar button:last-child { border-radius: 0 6px 6px 0; }

/* ── Table toolbar: add/delete rows & columns (feature/note-tables) ────── */
.note-table-toolbar {
    position: fixed;                    /* viewport-relative → works in fullscreen too */
    display: none;
    z-index: 2147483000;                /* above the fullscreen editor */
    background: #3b7690;                 /* app blue — matches the image toolbar */
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    align-items: center;
    flex-wrap: wrap;                    /* wrap to more rows when the note is narrow */
    max-width: 96vw;
}
.note-table-toolbar button {
    background: none;
    border: none;
    color: #fff;
    padding: 4px 8px;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.note-table-toolbar button span { font-size: 10px; opacity: 0.85; }
.note-table-toolbar button:hover { background: #2d5c70; }
.note-table-toolbar button.note-table-del:hover { background: #b23b3b; }  /* destructive → red */
.note-table-toolbar button:first-child { border-radius: 6px 0 0 6px; }
.note-table-toolbar button:last-child { border-radius: 0 6px 6px 0; }
.note-table-sep {
    width: 1px;
    background: rgba(255, 255, 255, 0.35);
    margin: 4px 2px;
}

/* ── Calc-table formulas (feature/note-formulas) ──────────────────────── */
/* Formula cells get a faint tint + a tiny corner marker so it's clear the
   value is computed; error results show red. */
.ql-editor td.note-cell-formula,
.note-content-div td.note-cell-formula { background: #f3f8fb; }
.ql-editor td.note-cell-formula { position: relative; }
.ql-editor td.note-cell-formula::after {
    content: "";
    position: absolute;
    top: 0; right: 0;
    border-width: 0 5px 5px 0;
    border-style: solid;
    border-color: transparent #3b7690 transparent transparent;  /* app-blue fx corner */
    opacity: 0.7;
}
.ql-editor td.note-cell-error,
.note-content-div td.note-cell-error { color: #b23b3b; }

/* Trig cells: a small DEG/RAD pill at the top-right. Default DEGREES; click the pill
   to toggle to radians (handled by region-click in initNoteAnglePill). The pill
   replaces the formula fx-corner on these cells. */
.ql-editor td.note-cell-trig { position: relative; }
.ql-editor td.note-cell-trig::after { display: none; }
.ql-editor td.note-cell-trig::before {
    content: "DEG";
    position: absolute; top: 1px; right: 1px; z-index: 1;
    font: 700 8px/1 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: 0.04em;
    padding: 2px 4px; border-radius: 8px;
    background: #e3eef4; color: #2c5a6e;
    pointer-events: none; user-select: none;
}
.ql-editor td.note-cell-trig[data-angle="rad"]::before {
    content: "RAD"; background: #efe6f7; color: #6a4a9c;
}

/* Drag fill-handle: small square at the active cell's bottom-right corner. */
/* The handle is a 16px transparent grab-zone (easy to grab, and it makes the
   column-resizer yield here since the pointer is over the handle, not a cell).
   The visible 8px square is drawn centred via ::after, so it looks unchanged. */
.note-fill-handle {
    position: fixed;
    display: none;
    width: 16px;
    height: 16px;
    background: transparent;
    border: none;
    z-index: 2147483002;                 /* above the column-resize grip (…000) so it
                                            wins the overlap when you slide down onto it */
    cursor: crosshair;
}
.note-fill-handle::after {
    content: "";
    position: absolute;
    left: 4px; top: 4px;
    width: 8px; height: 8px;
    background: #3b7690;
    border: 1px solid #fff;
    box-shadow: 0 0 0 1px #3b7690;
}
.ql-editor td.note-fill-target { background: rgba(59, 118, 144, 0.18); }
body.note-fill-dragging { cursor: crosshair; user-select: none; }

/* Faint A/B/C column + 1/2/3 row labels shown while typing a formula. */
.note-ref-headers {
    position: fixed;
    top: 0; left: 0;
    display: none;
    pointer-events: none;
    z-index: 2147482000;                /* below the toolbar/handle, above the page */
}
.note-ref-lbl {
    position: absolute;
    font-size: 10px;
    line-height: 15px;
    color: #3b7690;
    background: rgba(238, 244, 247, 0.92);
    border: 1px solid rgba(59, 118, 144, 0.35);
    text-align: center;
    font-weight: 600;
}
.note-ref-col { height: 15px; }
.note-ref-row { width: 16px; display: flex; align-items: center; justify-content: center; }
/* Cells being drag-selected as a range while building a formula */
.ql-editor td.note-ref-sel {
    outline: 2px dashed #3b7690;
    outline-offset: -2px;
    background: rgba(59, 118, 144, 0.10);
}
/* Cells drag-selected as a block for formatting */
.ql-editor td.note-cell-sel {
    background: rgba(59, 118, 144, 0.16);
    outline: 1px solid rgba(59, 118, 144, 0.5);
    outline-offset: -1px;
}
/* Active cell — Excel-style bold box */
.ql-editor td.note-active-cell {
    outline: 2px solid #3b7690;
    outline-offset: -2px;
}
/* A merely-SELECTED cell shows no text caret (Excel-style: click selects the whole
   cell). Typing / a 2nd click / F2 enters edit mode and the caret returns. */
body.note-cell-selected .quill.active-note .ql-editor { caret-color: transparent; }
/* During a block cell-drag, suppress the browser's own text selection so only
   our rectangular highlight shows (and copy uses our block, not a linear range). */
body.note-cell-dragging .ql-editor,
body.note-cell-dragging .ql-editor * {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* Table cells show the normal pointer (not the text I-beam) until you're editing
   one — the cell being edited (2nd click / F2 / typing) shows the text cursor. */
.ql-editor td { cursor: default; }
.ql-editor td.note-cell-editing,
.ql-editor td.note-cell-editing * { cursor: text; }

/* While building a formula, other cells show the "+" (cell) cursor for click-to-reference */
body.note-formula-building .quill.active-note td:not(.note-cell-editing),
body.note-formula-building .quill.active-note td:not(.note-cell-editing) * { cursor: cell; }

/* Header row (top row marked as header): bold + shaded */
.ql-editor td[data-header],
.note-content-div td[data-header] {
    font-weight: 700;
    background: #eef4f7;
}

/* Sort controls overlaid on the header cells (up/down) */
.note-header-sort {
    position: fixed;
    display: none;
    z-index: 2147483000;
    pointer-events: none;                /* container ignores; buttons re-enable */
}
.note-header-sort button {
    position: absolute;
    pointer-events: auto;
    width: 16px; height: 16px;
    padding: 0; border: none; border-radius: 3px;
    background: rgba(59, 118, 144, 0.12);
    color: #3b7690;
    font-size: 11px; line-height: 16px;
    cursor: pointer;
}
.note-header-sort button:hover { background: rgba(59, 118, 144, 0.28); }
.note-header-sort button.active { background: #3b7690; color: #fff; }

/* Currency dropdown menu */
.note-currency-menu {
    position: fixed;
    display: none;
    z-index: 2147483600;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    padding: 4px 0;
    min-width: 150px;
}
.note-currency-menu button {
    display: block; width: 100%;
    background: none; border: none; text-align: left;
    padding: 6px 14px; font-size: 13px; color: #24485a; cursor: pointer;
}
.note-currency-menu button:hover { background: #eef4f7; }

/* Self-dismissing toast (system colors) */
.note-toast {
    position: fixed;
    bottom: 26px; left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #3b7690; color: #fff;
    padding: 10px 18px; border-radius: 6px;
    font-size: 13px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    z-index: 2147483600;
    opacity: 0;
    transition: opacity .25s, transform .25s;
    pointer-events: none;
}
.note-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Number-format toolbar buttons ($ % ,) — bold glyphs, fixed width so they line up */
.note-table-toolbar button.note-fmt-btn {
    font-weight: 700;
    font-size: 14px;
    min-width: 22px;
    justify-content: center;
}
/* Decimal-place buttons (+.0 / -.0): same size, but not bold */
.note-table-toolbar button.note-dec-btn {
    font-weight: 400;
    font-size: 13px;
    min-width: 26px;
    justify-content: center;
}
.note-table-toolbar button.note-help-btn { font-weight: 700; min-width: 22px; justify-content: center; }
/* DEG/RAD angle toggle (trig cells only): a labelled pill in the table toolbar. */
.note-table-toolbar button.note-angle-btn {
    font-weight: 800; font-size: 10px; letter-spacing: 0.04em;
    min-width: 30px; justify-content: center;
}
.note-table-sep-wide { margin-left: 6px; margin-right: 6px; }   /* space before the ? icon */

/* Calc-table help modal — system colors */
.note-help-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2147483600;                /* above the table toolbar */
    display: flex; align-items: center; justify-content: center;
}
.note-help-panel {
    background: #fff;
    width: 780px; max-width: 94vw; max-height: 88vh;
    border-radius: 8px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
    display: flex; flex-direction: column; overflow: hidden;
}
.note-help-head {
    background: #3b7690; color: #fff;
    padding: 10px 14px;
    display: flex; align-items: center; gap: 10px;
}
.note-help-head h2 { margin: 0; font-size: 17px; flex: 1; color: #fff; }
.note-help-head button { border: none; border-radius: 5px; cursor: pointer; }
.note-help-open { background: #eef4f7; color: #24485a; padding: 6px 11px; font-size: 13px; }
.note-help-open:hover { background: #dbe8ee; }
.note-help-close { background: transparent; color: #fff; font-size: 22px; line-height: 1; padding: 0 6px; }
.note-help-body { padding: 16px 22px; overflow: auto; }

/* In-app confirm dialog (replaces window.confirm) — system colors */
.note-confirm-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2147483600;
    display: flex; align-items: center; justify-content: center;
}
.note-confirm-panel {
    background: #fff;
    width: 420px; max-width: 92vw;
    border-radius: 8px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}
.note-confirm-head { background: #3b7690; color: #fff; padding: 10px 16px; font-size: 16px; font-weight: 600; }
.note-confirm-body { padding: 16px 18px; color: #24485a; font-size: 14px; line-height: 1.5; }
.note-confirm-foot { padding: 10px 16px 14px; display: flex; justify-content: flex-end; gap: 8px; }
.note-confirm-foot button { border: none; border-radius: 5px; padding: 7px 14px; font-size: 13px; cursor: pointer; }
.note-confirm-cancel { background: #eef4f7; color: #24485a; }
.note-confirm-cancel:hover { background: #dbe8ee; }
.note-confirm-ok { background: #3b7690; color: #fff; }
.note-confirm-ok:hover { background: #2d5c70; }
.note-confirm-danger { background: #b23b3b; }
.note-confirm-danger:hover { background: #8f2f2f; }

.ql-snow .ql-picker {
    color: #444;
    display: inline-block;
    float: left;
    font-size: 14px;
    font-weight: 500;
    height: 24px;
    position: relative;
    vertical-align: middle
}

.ql-snow .ql-picker-label {
    cursor: pointer;
    display: inline-block;
    height: 100%;
    padding-left: 8px;
    padding-right: 2px;
    position: relative;
    width: 100%
}

.ql-snow .ql-picker-label::before {
    display: inline-block;
    line-height: 22px
}

.ql-snow .ql-picker-options {
    background-color: #fff;
    display: none;
    min-width: 100%;
    padding: 4px 8px;
    position: absolute;
    white-space: nowrap
}

.ql-snow .ql-picker-options .ql-picker-item {
    cursor: pointer;
    display: block;
    padding-bottom: 5px;
    padding-top: 5px
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label {
    color: #ccc;
    z-index: 2
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill {
    fill: #ccc
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {
    stroke: #ccc
}

.ql-snow .ql-picker.ql-expanded .ql-picker-options {
    display: block;
    margin-top: -1px;
    top: 100%;
    z-index: 1
}

.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker {
    width: 28px
}

.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label {
    padding: 2px 4px
}

.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg {
    right: 4px
}

.ql-snow .ql-icon-picker .ql-picker-options {
    padding: 4px 0
}

.ql-snow .ql-icon-picker .ql-picker-item {
    height: 24px;
    width: 24px;
    padding: 2px 4px
}

.ql-snow .ql-color-picker .ql-picker-options {
    padding: 3px 5px;
    width: 152px
}

.ql-snow .ql-color-picker .ql-picker-item {
    border: 1px solid transparent;
    float: left;
    height: 16px;
    margin: 2px;
    padding: 0;
    width: 16px
}

.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {
    position: absolute;
    margin-top: -9px;
    right: 0;
    top: 50%;
    width: 18px
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before {
    content: attr(data-label)
}

.ql-snow .ql-picker.ql-header {
    width: 98px
}

.ql-snow .ql-picker.ql-header .ql-picker-label::before,.ql-snow .ql-picker.ql-header .ql-picker-item::before {
    content: 'Normal'
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
    content: 'Heading 1'
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
    content: 'Heading 2'
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
    content: 'Heading 3'
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
    content: 'Heading 4'
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before {
    content: 'Heading 5'
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before {
    content: 'Heading 6'
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
    font-size: 2em
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
    font-size: 1.5em
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
    font-size: 1.17em
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
    font-size: 1em
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before {
    font-size: .83em
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before {
    font-size: .67em
}

.ql-snow .ql-picker.ql-font {
    width: 108px
}

.ql-snow .ql-picker.ql-font .ql-picker-label::before,.ql-snow .ql-picker.ql-font .ql-picker-item::before {
    content: 'Sans Serif'
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {
    content: 'Serif'
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {
    content: 'Monospace'
}

.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {
    font-family: Georgia,Times New Roman,serif
}

.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {
    font-family: Monaco,Courier New,monospace
}

.ql-snow .ql-picker.ql-size {
    width: 98px
}

.ql-snow .ql-picker.ql-size .ql-picker-label::before,.ql-snow .ql-picker.ql-size .ql-picker-item::before {
    content: 'Normal'
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {
    content: 'Small'
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {
    content: 'Large'
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {
    content: 'Huge'
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {
    font-size: 10px
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {
    font-size: 18px
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {
    font-size: 32px
}

.ql-snow .ql-color-picker.ql-background .ql-picker-item {
    background-color: #fff
}

.ql-snow .ql-color-picker.ql-color .ql-picker-item {
    background-color: #000
}

.ql-code-block-container {
    position: relative
}

.ql-code-block-container .ql-ui {
    right: 5px;
    top: 5px
}

.ql-toolbar.ql-snow {
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-family: 'Helvetica Neue','Helvetica','Arial',sans-serif;
    padding: 8px
}

.ql-toolbar.ql-snow .ql-formats {
    margin-right: 15px
}

.ql-toolbar.ql-snow .ql-picker-label {
    border: 1px solid transparent
}

.ql-toolbar.ql-snow .ql-picker-options {
    border: 1px solid transparent;
    box-shadow: rgba(0,0,0,0.2) 0 2px 8px
}

.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label {
    border-color: #ccc
}

.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options {
    border-color: #ccc
}

.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover {
    border-color: #000
}

.ql-toolbar.ql-snow + .ql-container.ql-snow {
    border-top: 0
}

.ql-snow .ql-tooltip {
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 5px #ddd;
    color: #444;
    padding: 5px 12px;
    white-space: nowrap
}

.ql-snow .ql-tooltip::before {
    content: "Visit URL:";
    line-height: 26px;
    margin-right: 8px
}

.ql-snow .ql-tooltip input[type=text] {
    display: none;
    border: 1px solid #ccc;
    font-size: 13px;
    height: 26px;
    margin: 0;
    padding: 3px 5px;
    width: 170px
}

.ql-snow .ql-tooltip a.ql-preview {
    display: inline-block;
    max-width: 200px;
    overflow-x: hidden;
    text-overflow: ellipsis;
    vertical-align: top
}

.ql-snow .ql-tooltip a.ql-action::after {
    border-right: 1px solid #ccc;
    content: 'Edit';
    margin-left: 16px;
    padding-right: 8px
}

.ql-snow .ql-tooltip a.ql-remove::before {
    content: 'Remove';
    margin-left: 8px
}

.ql-snow .ql-tooltip a {
    line-height: 26px
}

.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove {
    display: none
}

.ql-snow .ql-tooltip.ql-editing input[type=text] {
    display: inline-block
}

.ql-snow .ql-tooltip.ql-editing a.ql-action::after {
    border-right: 0;
    content: 'Save';
    padding-right: 0
}

.ql-snow .ql-tooltip[data-mode=link]::before {
    content: "Enter link:"
}

.ql-snow .ql-tooltip[data-mode=formula]::before {
    content: "Enter formula:"
}

.ql-snow .ql-tooltip[data-mode=video]::before {
    content: "Enter video:"
}

.ql-snow a {
    color: #06c
}

.ql-container.ql-snow {
    border: 1px solid #ccc
}

/*# sourceMappingURL=quill.snow.css.map*/
