.ql-container{box-sizing:border-box;height:100%;margin:0;font-family:Helvetica,Arial,sans-serif;font-size:13px;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked]>.ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked]>.ql-ui{cursor:pointer}.ql-clipboard{height:1px;position:absolute;top:50%;left:-100000px;overflow-y:hidden}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word;outline:none;height:100%;padding:12px 15px;line-height:1.42;overflow-y:auto}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{padding-left:1.5em;list-style-type:none;position:relative}.ql-editor li>.ql-ui:before{text-align:right;white-space:nowrap;width:1.2em;margin-left:-1.5em;margin-right:.3em;display:inline-block}.ql-editor li[data-list=checked]>.ql-ui,.ql-editor li[data-list=unchecked]>.ql-ui{color:#777}.ql-editor li[data-list=bullet]>.ql-ui:before{content:"•"}.ql-editor li[data-list=checked]>.ql-ui:before{content:"☑"}.ql-editor li[data-list=unchecked]>.ql-ui:before{content:"☐"}@supports (counter-set:none){.ql-editor 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){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered]>.ql-ui:before{content:counter(list-0, decimal) ". "}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1>.ql-ui:before{content:counter(list-1, lower-alpha) ". "}@supports (counter-set:none){.ql-editor 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){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2>.ql-ui:before{content:counter(list-2, lower-roman) ". "}@supports (counter-set:none){.ql-editor 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){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3>.ql-ui:before{content:counter(list-3, decimal) ". "}@supports (counter-set:none){.ql-editor 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){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4>.ql-ui:before{content:counter(list-4, lower-alpha) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5>.ql-ui:before{content:counter(list-5, lower-roman) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6>.ql-ui:before{content:counter(list-6, decimal) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7>.ql-ui:before{content:counter(list-7, lower-alpha) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8>.ql-ui:before{content:counter(list-8, lower-roman) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9>.ql-ui:before{content:counter(list-9, decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl>.ql-ui:before{text-align:left;margin-left:.3em;margin-right:-1.5em}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{max-width:100%;display:block}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{text-align:inherit;direction:rtl}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);pointer-events:none;font-style:italic;position:absolute;left:15px;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{cursor:pointer;float:left;background:0 0;border:none;width:28px;height:24px;padding:3px 5px;display:inline-block}.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,.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{vertical-align:middle;display:inline-block}.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:2px}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2px}.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:1px}.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 .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-top:5px;margin-bottom:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor .ql-code-block-container{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor .ql-code-block-container{margin-top:5px;margin-bottom:5px;padding:5px 10px}.ql-snow .ql-editor code{padding:2px 4px;font-size:85%}.ql-snow .ql-editor .ql-code-block-container{color:#f8f8f2;background-color:#23241f;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;float:left;vertical-align:middle;height:24px;font-size:14px;font-weight:500;display:inline-block;position:relative}.ql-snow .ql-picker-label{cursor:pointer;width:100%;height:100%;padding-left:8px;padding-right:2px;display:inline-block;position:relative}.ql-snow .ql-picker-label:before{line-height:22px;display:inline-block}.ql-snow .ql-picker-options{white-space:nowrap;background-color:#fff;min-width:100%;padding:4px 8px;display:none;position:absolute}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;padding-top:5px;padding-bottom:5px;display:block}.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{z-index:1;margin-top:-1px;display:block;top:100%}.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{width:24px;height:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{width:152px;padding:3px 5px}.ql-snow .ql-color-picker .ql-picker-item{float:left;border:1px solid #0000;width:16px;height:16px;margin:2px;padding:0}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{width:18px;margin-top:-9px;position:absolute;top:50%;right:0}.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{top:5px;right:5px}.ql-toolbar.ql-snow{box-sizing:border-box;border:1px solid #ccc;padding:8px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid #0000}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid #0000;box-shadow:0 2px 8px #0003}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.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{color:#444;white-space:nowrap;background-color:#fff;border:1px solid #ccc;padding:5px 12px;box-shadow:0 0 5px #ddd}.ql-snow .ql-tooltip:before{content:"Visit URL:";margin-right:8px;line-height:26px}.ql-snow .ql-tooltip input[type=text]{border:1px solid #ccc;width:170px;height:26px;margin:0;padding:3px 5px;font-size:13px;display:none}.ql-snow .ql-tooltip a.ql-preview{text-overflow:ellipsis;vertical-align:top;max-width:200px;display:inline-block;overflow-x:hidden}.ql-snow .ql-tooltip a.ql-action:after{content:"Edit";border-right:1px solid #ccc;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{content:"Save";border-right:0;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}
:root{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;--bg-app:#f8fafc;--bg-surface:#fff;--bg-surface-elevated:#fff;--bg-surface-subtle:#f1f5f9;--bg-hover:#f1f5f9;--bg-active:#e2e8f0;--border-subtle:#e2e8f0;--border-default:#cbd5e1;--border-focus:#6366f1;--text-primary:#0f172a;--text-secondary:#475569;--text-muted:#94a3b8;--text-inverse:#fff;--accent-primary:#4f46e5;--accent-primary-hover:#4338ca;--accent-hover:#4338ca;--accent-primary-subtle:#eef2ff;--accent-primary-text:#4338ca;--danger:#ef4444;--danger-hover:#dc2626;--danger-subtle:#fef2f2;--danger-text:#b91c1c;--success:#10b981;--success-subtle:#ecfdf5;--shadow-xs:0 1px 2px #0000000a;--shadow-sm:0 1px 3px #0000000f, 0 1px 2px #0000000a;--shadow-md:0 4px 6px -1px #00000012, 0 2px 4px -2px #0000000d;--shadow-lg:0 10px 15px -3px #00000014, 0 4px 6px -4px #0000000a;--shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000000a;--shadow-focus:0 0 0 3px #6366f133;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:10px;--radius-full:9999px;--ease-spring:cubic-bezier(.16, 1, .3, 1);--duration-fast:.15s;--duration-normal:.2s}*,:before,:after{box-sizing:border-box}html{background-color:var(--bg-app);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;min-height:100%}body{min-width:320px;min-height:100%;font-family:var(--font-sans);color:var(--text-primary);background:var(--bg-app);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0}button,input,textarea{font-family:inherit;font-size:inherit}button{cursor:pointer;background:0 0;border:none;padding:0}button:disabled{cursor:not-allowed;opacity:.55}button,a,input,textarea{-webkit-tap-highlight-color:transparent}h1,h2,h3,p,ol,ul{margin:0;padding:0}.app-shell{width:100%;max-width:920px;height:100dvh;padding:16px 20px 20px;padding-top:max(16px, env(safe-area-inset-top));padding-bottom:max(20px, env(safe-area-inset-bottom));padding-left:max(20px, env(safe-area-inset-left));padding-right:max(20px, env(safe-area-inset-right));flex-direction:column;margin:0 auto;display:flex}.app-header{flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:8px 4px 16px;display:flex}.app-brand{align-items:center;gap:12px;display:flex}.brand-icon-box{border-radius:var(--radius-md);color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#6366f1 100%);flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex;box-shadow:0 4px 10px #4f46e540}.brand-icon-box svg{width:20px;height:20px}.brand-title{letter-spacing:-.03em;color:var(--text-primary);font-size:1.25rem;font-weight:700}.brand-badge{border-radius:var(--radius-full);background:var(--bg-surface-subtle);color:var(--text-secondary);border:1px solid var(--border-subtle);align-items:center;padding:2px 8px;font-size:.72rem;font-weight:600;display:inline-flex}.header-actions{align-items:center;gap:8px;display:flex}.file-transport-control{cursor:pointer;flex-shrink:0}.file-transport-control svg{flex-shrink:0;width:15px;height:15px}.file-transport-control:has(input:checked){color:var(--accent-primary)}.file-transport-control:has(input:focus-visible){outline:2px solid var(--accent-primary);outline-offset:2px}.file-transport-control:has(input:disabled){opacity:.5;cursor:default;pointer-events:none}@media (max-width:600px){.app-header,.shared-header{flex-wrap:wrap}}.btn{border-radius:var(--radius-md);border:1px solid var(--border-default);background:var(--bg-surface);min-height:36px;color:var(--text-secondary);transition:all var(--duration-fast) var(--ease-spring);justify-content:center;align-items:center;gap:6px;padding:0 14px;font-size:.84rem;font-weight:600;display:inline-flex}.btn:hover:not(:disabled){background:var(--bg-hover);color:var(--text-primary);border-color:var(--border-default)}.btn:active:not(:disabled){background:var(--bg-active);transform:scale(.98)}.btn-primary{background:var(--accent-primary);color:#fff;border-color:var(--accent-primary);box-shadow:none}.btn-primary:hover:not(:disabled){background:var(--accent-primary-hover);color:#fff;border-color:var(--accent-primary-hover)}.btn-ghost{color:var(--text-secondary);background:0 0;border-color:#0000}.btn-ghost:hover:not(:disabled){background:var(--bg-surface-subtle);color:var(--text-primary);border-color:#0000}.btn-danger-ghost{color:var(--text-muted);background:0 0;border-color:#0000}.btn-danger-ghost:hover:not(:disabled){background:var(--danger-subtle);color:var(--danger)}.btn-icon{border-radius:var(--radius-sm);width:32px;height:32px;min-height:32px;padding:0}.btn-sm{border-radius:var(--radius-sm);height:28px;min-height:28px;padding:0 12px;font-size:.8rem;font-weight:500}.notes-surface{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:var(--radius-xl);min-height:0;box-shadow:var(--shadow-sm);flex-direction:column;flex:1;display:flex;position:relative;overflow:hidden}.drop-overlay{z-index:60;-webkit-backdrop-filter:blur(8px);border:2px dashed var(--accent-primary);border-radius:var(--radius-xl);pointer-events:none;animation:dropOverlayFadeIn .2s var(--ease-spring);background:#f8fafceb;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex;position:absolute;inset:0}@keyframes dropOverlayFadeIn{0%{opacity:0;transform:scale(.99)}to{opacity:1;transform:scale(1)}}.drop-overlay-icon{border-radius:var(--radius-xl);background:var(--accent-primary-subtle);width:56px;height:56px;color:var(--accent-primary);place-items:center;display:grid}.drop-overlay-icon svg{width:28px;height:28px}.drop-overlay-title{color:var(--text-primary);font-size:1.05rem;font-weight:700}.drop-overlay-subtitle{color:var(--text-muted);font-size:.82rem}.items-list{scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;flex-direction:column;flex:1 1 0;gap:8px;min-height:0;padding:12px 12px 36px;display:flex;position:relative;overflow:hidden auto}.ptr-container{will-change:height, opacity;pointer-events:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;display:flex;overflow:hidden}.ptr-container:not(.ptr-pulling){transition:height .25s var(--ease-spring), opacity .2s ease}.ptr-content{color:var(--text-secondary);align-items:center;gap:8px;font-size:.78rem;font-weight:600;display:flex}.ptr-icon-wrap{width:22px;height:22px;color:var(--accent-primary);justify-content:center;align-items:center;display:inline-flex}.ptr-arrow{width:15px;height:15px;transition:transform .15s;display:inline-block}.ptr-arrow svg{width:100%;height:100%}.ptr-spinner{border:2px solid var(--border-default);border-top-color:var(--accent-primary);border-radius:50%;width:16px;height:16px;animation:.7s linear infinite ptrSpin;display:inline-block}@keyframes ptrSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.empty-items{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:280px;margin:auto;padding:40px 20px;display:flex}.empty-icon-wrap{border-radius:var(--radius-xl);background:var(--bg-surface-subtle);width:48px;height:48px;color:var(--text-muted);place-items:center;margin-bottom:16px;display:grid}.empty-icon-wrap svg{width:24px;height:24px}.empty-items h2{color:var(--text-primary);margin-bottom:6px;font-size:1.05rem;font-weight:600}.empty-items p{color:var(--text-muted);max-width:320px;font-size:.84rem;line-height:1.5}.empty-state-loading{color:var(--text-muted);justify-content:center;align-items:center;gap:10px;padding:40px;font-size:.86rem;display:flex}.item-card{box-sizing:border-box;border:1px solid var(--border-subtle);border-radius:var(--radius-lg);width:100%;box-shadow:var(--shadow-xs);transition:border-color var(--duration-fast), box-shadow var(--duration-fast);background:#fff;flex-direction:column;flex-shrink:0;display:flex;position:relative;overflow:hidden!important}.items-list>.item-card:first-of-type{margin-top:1px}.item-card.expanded{flex-shrink:0;overflow:hidden!important}.item-card:hover{border-color:var(--border-default);box-shadow:var(--shadow-sm)}.item-card-sortable-ghost{opacity:.35;border-style:dashed;border-color:var(--accent-primary)}.item-card-sortable-chosen{border-color:var(--accent-primary);box-shadow:var(--shadow-lg)}.item-card-sortable-drag{box-shadow:var(--shadow-xl);background:#fff}.item-card-header{-webkit-user-select:none;user-select:none;transition:background-color var(--duration-fast);background:#fafafa;border-bottom:1px solid #e2e8f099;justify-content:space-between;align-items:center;padding:5px 10px 4px;display:flex;border-top-left-radius:calc(var(--radius-lg) - 1px)!important;border-top-right-radius:calc(var(--radius-lg) - 1px)!important}.item-card-body{border-bottom-left-radius:calc(var(--radius-lg) - 1px)!important;border-bottom-right-radius:calc(var(--radius-lg) - 1px)!important}.item-card-header.can-expand{cursor:pointer}.item-card-header.can-expand:hover{background:#f4f6f8}.item-header-left{align-items:center;gap:6px;min-width:0;display:flex}.item-drag-handle{width:20px;height:20px;color:var(--text-muted);cursor:grab;border-radius:var(--radius-sm);transition:all var(--duration-fast);touch-action:none;flex-shrink:0;justify-content:center;align-items:center;display:flex}.item-drag-handle:hover{color:var(--text-primary);background:var(--bg-hover)}.item-drag-handle:active{cursor:grabbing}.item-drag-handle.disabled{cursor:default;opacity:.3;pointer-events:none}.item-drag-handle svg{width:14px;height:14px}.item-timestamp{color:var(--text-muted);font-size:.7rem;font-weight:500}.item-header-actions,.item-header-right{flex-shrink:0;align-items:center;gap:2px;display:flex}.item-sync-spinner-icon{flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:flex;color:var(--accent-primary)!important;background:0 0!important;border:none!important}.item-sync-spinner-icon svg{width:13px;height:13px;stroke:var(--accent-primary)!important}.item-action-btn{border-radius:var(--radius-sm);width:24px;height:24px;color:var(--text-muted);transition:all var(--duration-fast);justify-content:center;align-items:center;display:flex}.item-action-btn svg{width:13px;height:13px}.item-action-btn:hover:not(:disabled){color:var(--text-primary);background:var(--bg-hover)}.item-action-btn.btn-expand{color:var(--text-secondary)}.item-action-btn.btn-expand.active,.item-action-btn.btn-share:hover:not(:disabled){color:var(--accent-primary);background:var(--accent-primary-subtle)}.item-action-btn.btn-share.is-shared-readonly{color:#2563eb!important;background:#eff6ff!important;border:none!important}.item-action-btn.btn-share.is-shared-readonly:hover:not(:disabled){color:#1d4ed8!important;background:#dbeafe!important}.item-action-btn.btn-share.is-shared-edit{color:#059669!important;background:#ecfdf5!important;border:none!important}.item-action-btn.btn-share.is-shared-edit:hover:not(:disabled){color:#047857!important;background:#d1fae5!important}.item-action-btn.btn-delete:hover:not(:disabled){color:var(--danger);background:var(--danger-subtle)}.item-action-btn.btn-delete.is-deleting{cursor:wait;color:var(--danger)!important;opacity:1!important;background:0 0!important;border:none!important}.item-action-btn.btn-delete.is-deleting svg{stroke:var(--danger)!important}.item-card-body{flex-shrink:0;min-width:0;padding:2px 4px 4px}.item-card-content{min-width:0;padding:5px 8px;transition:max-height .2s}.item-card-content.is-preview{cursor:pointer;max-height:52px;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 calc(100% - 20px),#0000 100%);mask-image:linear-gradient(#000 calc(100% - 20px),#0000 100%)}.item-card-content.is-preview .ql-editor img.ql-s3-image{border-radius:var(--radius-sm);margin:2px 0;width:auto!important;max-height:38px!important;display:inline-block!important}.item-card-content>.attachments-wrapper:first-child{margin-top:1px!important}.item-card-content.is-preview:has(.attachments-wrapper:first-child){max-height:60px;-webkit-mask-image:linear-gradient(#000 calc(100% - 12px),#0000 100%);mask-image:linear-gradient(#000 calc(100% - 12px),#0000 100%)}.item-card-content.is-expanded{padding:6px 10px 8px;max-height:none!important;overflow:visible!important;-webkit-mask-image:none!important;mask-image:none!important}.item-card.expanded .item-card-body,.item-card.expanded .item-card-content{height:auto!important;max-height:none!important;overflow:visible!important}.item-card.expanded .rich-text,.item-card.expanded .rich-text-viewer,.item-card.expanded .rich-text-host,.item-card.expanded .ql-container,.item-card.expanded .ql-container.ql-snow,.item-card.expanded .ql-editor,.item-card-content.is-expanded .rich-text,.item-card-content.is-expanded .rich-text-viewer,.item-card-content.is-expanded .rich-text-host,.item-card-content.is-expanded .ql-container,.item-card-content.is-expanded .ql-container.ql-snow,.item-card-content.is-expanded .ql-editor{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}.item-card.expanded .rich-text-viewer .ql-editor img.ql-s3-image,.item-card.expanded img.ql-s3-image,.item-card-content.is-expanded img.ql-s3-image{max-width:100%!important;height:auto!important;max-height:none!important}.item-card.expanded .attachment-image-card img{height:auto!important;max-height:none!important}.rich-text{width:100%;min-width:0}.rich-text-viewer,.rich-text-viewer .rich-text-host,.rich-text-viewer .ql-container,.rich-text-viewer .ql-container.ql-snow,.rich-text-viewer .ql-editor{height:auto!important;min-height:0!important}.rich-text-viewer .ql-container.ql-snow{font-family:inherit;font-size:inherit;border:none!important}.rich-text-viewer .ql-editor{color:var(--text-primary);word-break:break-word;overflow-wrap:anywhere;font-size:.92rem;line-height:1.5;overflow:visible;margin:0!important;padding:2px 4px 2px 0!important}.rich-text-viewer .ql-editor p,.rich-text-editor .ql-editor p,.rich-text .ql-editor p{line-height:1.5;margin:0!important;padding:0!important}.ql-editor:has(img):before{content:""!important;display:none!important}.ql-editor:has(.ql-s3-image):before{content:""!important;display:none!important}.ql-editor:has(.attachment-image-card):before{content:""!important;display:none!important}.rich-text-viewer .ql-editor p:last-child,.rich-text-editor .ql-editor p:last-child{margin-bottom:0!important}.rich-text .ql-editor ol,.rich-text .ql-editor ul,.rich-text-viewer .ql-editor ol,.rich-text-viewer .ql-editor ul,.rich-text-editor .ql-editor ol,.rich-text-editor .ql-editor ul{margin-left:0!important;padding-left:0!important}.rich-text .ql-editor li,.rich-text-viewer .ql-editor li,.rich-text-editor .ql-editor li{padding-left:1.25em!important}.rich-text .ql-editor li>.ql-ui:before,.rich-text-viewer .ql-editor li>.ql-ui:before,.rich-text-editor .ql-editor li>.ql-ui:before{text-align:left!important;width:1em!important;margin-left:-1.25em!important;margin-right:.25em!important}:is(.rich-text-viewer .ql-editor p:empty,.rich-text-viewer .ql-editor p:has(>br:only-child):only-child){height:0!important;min-height:0!important;margin:0!important;padding:0!important;line-height:0!important;display:none!important}.rich-text-viewer .ql-editor img.ql-s3-image{max-height:220px;margin:6px 0}.rich-text-editor{border:1px solid var(--border-default);transition:border-color var(--duration-fast), box-shadow var(--duration-fast);background:#fff;flex-direction:column;display:flex;overflow:hidden;border-radius:var(--radius-lg)!important}.rich-text-editor:focus-within{border-color:var(--accent-primary);box-shadow:var(--shadow-focus);border-radius:var(--radius-lg)!important}.rich-text-editor .ql-toolbar.ql-snow{background:var(--bg-surface-subtle);flex-wrap:wrap;align-items:center;gap:2px;padding:6px 8px;display:flex;border:none!important;border-bottom:1px solid var(--border-subtle)!important;border-radius:calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0!important}.rich-text-editor .ql-toolbar.ql-snow .ql-formats{align-items:center;gap:2px;margin:0;padding:0 4px;display:inline-flex}.rich-text-editor .ql-toolbar.ql-snow .ql-formats+.ql-formats{border-inline-start:1px solid var(--border-subtle)}.rich-text-editor .ql-toolbar.ql-snow button,.rich-text-editor .ql-toolbar.ql-snow .ql-picker-label{border-radius:var(--radius-sm);width:28px;height:28px;color:var(--text-secondary);transition:all var(--duration-fast);justify-content:center;align-items:center;padding:4px;display:inline-flex}.rich-text-editor .ql-toolbar.ql-snow button:hover,.rich-text-editor .ql-toolbar.ql-snow button:focus-visible,.rich-text-editor .ql-toolbar.ql-snow button.ql-active,.rich-text-editor .ql-toolbar.ql-snow .ql-picker-label:hover,.rich-text-editor .ql-toolbar.ql-snow .ql-picker-label.ql-active{color:var(--accent-primary);background:var(--accent-primary-subtle)}.rich-text-editor .ql-toolbar.ql-snow button:hover .ql-stroke,.rich-text-editor .ql-toolbar.ql-snow button:focus-visible .ql-stroke,.rich-text-editor .ql-toolbar.ql-snow button.ql-active .ql-stroke,.rich-text-editor .ql-toolbar.ql-snow .ql-picker-label:hover .ql-stroke,.rich-text-editor .ql-toolbar.ql-snow .ql-picker-label.ql-active .ql-stroke{stroke:var(--accent-primary)}.rich-text-editor .ql-toolbar.ql-snow button:hover .ql-fill,.rich-text-editor .ql-toolbar.ql-snow button:focus-visible .ql-fill,.rich-text-editor .ql-toolbar.ql-snow button.ql-active .ql-fill,.rich-text-editor .ql-toolbar.ql-snow .ql-picker-label:hover .ql-fill,.rich-text-editor .ql-toolbar.ql-snow .ql-picker-label.ql-active .ql-fill{fill:var(--accent-primary)}.rich-text-editor .ql-toolbar.ql-snow .ql-stroke{stroke:var(--text-secondary)}.rich-text-editor .ql-toolbar.ql-snow .ql-fill{fill:var(--text-secondary)}.rich-text-editor .ql-toolbar.ql-snow .ql-picker{height:28px;color:var(--text-secondary)}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-header{width:104px}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-header .ql-picker-label{justify-content:flex-start;width:100%;padding:0 8px;font-size:.8rem;font-weight:500}.rich-text-editor .ql-toolbar.ql-snow .ql-picker-options{z-index:999999;border:1px solid var(--border-subtle);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);background:#fff;padding:4px;top:calc(100% + 4px);box-sizing:border-box!important}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-header .ql-picker-options{width:auto!important;min-width:120px!important;max-width:200px!important}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-align{width:32px;height:28px}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-align .ql-picker-label{justify-content:center;align-items:center;width:32px;height:28px;padding:0;display:flex}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-align .ql-picker-label svg{width:16px;height:16px}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-align.ql-expanded .ql-picker-options{flex-direction:column!important;align-items:center!important;gap:2px!important;width:38px!important;min-width:38px!important;max-width:38px!important;padding:4px 3px!important;display:flex!important}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-align .ql-picker-item{border-radius:var(--radius-sm);justify-content:center!important;align-items:center!important;width:30px!important;height:28px!important;padding:0!important;display:flex!important}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-align .ql-picker-item svg{width:16px!important;height:16px!important}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-color-picker{width:32px;height:28px}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-color-picker .ql-picker-label{justify-content:center;align-items:center;width:32px;height:28px;padding:0;display:flex}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-color-picker .ql-picker-label svg{width:16px;height:16px}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-color-picker.ql-expanded .ql-picker-options{width:152px!important;min-width:152px!important;max-width:152px!important;padding:4px!important}.rich-text-editor .ql-toolbar.ql-snow .ql-picker-item{border-radius:var(--radius-sm);padding:6px 10px;font-size:.82rem}.rich-text-editor .ql-toolbar.ql-snow .ql-picker-item:hover{background:var(--bg-hover);color:var(--accent-primary)}.rich-text-editor .ql-container.ql-snow{flex-direction:column;min-height:120px;max-height:380px;font-family:inherit;display:flex;overflow:hidden;border-bottom-left-radius:calc(var(--radius-lg) - 1px)!important;border-bottom-right-radius:calc(var(--radius-lg) - 1px)!important;border:none!important}.rich-text-editor .ql-editor{color:var(--text-primary);flex:auto;padding:12px 14px;font-size:.92rem;line-height:1.6;overflow-y:auto;border-bottom-left-radius:calc(var(--radius-lg) - 1px)!important;border-bottom-right-radius:calc(var(--radius-lg) - 1px)!important;outline:none!important}.ql-editor,.ql-editor:focus{outline:none!important}.rich-text-editor .ql-editor.ql-blank:before{color:var(--text-muted);font-style:normal;left:14px;right:14px}.rich-text-editor.rich-text-collapsible.rich-text-collapsed{border-radius:var(--radius-md)}.rich-text-editor.rich-text-collapsible.rich-text-collapsed .rich-text-host{visibility:hidden;height:0;min-height:0;overflow:hidden}.rich-text-editor.rich-text-collapsible.rich-text-collapsed .ql-toolbar.ql-snow{border-radius:var(--radius-md);border-bottom:none!important}.rich-text .ql-editor h1{letter-spacing:-.02em;margin:.6em 0 .3em;font-size:1.35rem;font-weight:700}.rich-text .ql-editor h2{letter-spacing:-.015em;margin:.5em 0 .25em;font-size:1.18rem;font-weight:600}.rich-text .ql-editor h3{margin:.4em 0 .2em;font-size:1.05rem;font-weight:600}.rich-text .ql-editor p{margin:0!important;padding:0!important}.rich-text .ql-editor blockquote{border-left:3px solid var(--accent-primary);color:var(--text-secondary);margin:8px 0;padding-left:12px;font-style:italic}.rich-text .ql-editor pre.ql-syntax{color:#e2e8f0;border-radius:var(--radius-md);font-family:var(--font-mono);background:#1e293b;padding:10px 14px;font-size:.82rem;overflow-x:auto}.rich-text .ql-editor a{color:var(--accent-primary);text-underline-offset:2px;text-decoration:underline}.rich-text .ql-editor img.ql-s3-image{border-radius:var(--radius-md);object-fit:contain;max-width:100%;max-height:480px;box-shadow:var(--shadow-sm);border:1px solid var(--border-subtle);margin:10px 0;display:block}.rich-text .ql-editor img.ql-s3-image[src=about\:blank]{border:1px dashed var(--border-default);background:var(--bg-surface-subtle);min-width:140px;min-height:80px}.attachments-wrapper{flex-direction:column;gap:8px;margin-top:12px;display:flex}.attachments-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;display:grid}.attachment-file-card{border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--bg-surface-subtle);color:var(--text-primary);transition:all var(--duration-fast);text-align:left;align-items:center;gap:10px;min-width:0;padding:8px 12px;text-decoration:none;display:flex}.attachment-file-card:hover:not(:disabled){border-color:var(--border-default);box-shadow:var(--shadow-xs);background:#fff}.attachment-file-card.is-downloading{cursor:wait}.attachment-file-card.is-downloading .attachment-download-icon{color:var(--accent-primary)}.attachment-icon-pill{border-radius:var(--radius-sm);border:1px solid var(--border-subtle);width:32px;height:32px;color:var(--accent-primary);background:#fff;flex-shrink:0;justify-content:center;align-items:center;display:flex}.attachment-icon-pill svg{width:18px;height:18px}.attachment-details{flex-direction:column;flex:1;min-width:0;display:flex}.attachment-details strong{white-space:nowrap;text-overflow:ellipsis;font-size:.8rem;font-weight:600;overflow:hidden}.attachment-details small{color:var(--text-muted);font-size:.7rem}.attachment-download-icon{color:var(--text-muted);flex-shrink:0}.attachment-download-icon svg{width:15px;height:15px}.attachment-images-grid{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}.attachment-image-card{border-radius:var(--radius-md);border:1px solid var(--border-subtle);background:var(--bg-surface-subtle);transition:all var(--duration-fast);max-width:100%;display:block;overflow:hidden}.attachment-image-card:hover{border-color:var(--border-default);box-shadow:var(--shadow-sm);transform:translateY(-1px)}.attachment-image-card img{object-fit:contain;max-width:100%;max-height:360px;display:block}.attachment-chips-list{flex-wrap:wrap;gap:6px;padding:4px 0;display:flex}.attachment-chip{border-radius:var(--radius-full);background:var(--accent-primary-subtle);color:var(--accent-primary-text);border:1px solid #6366f133;align-items:center;gap:6px;max-width:100%;padding:4px 8px;font-size:.74rem;font-weight:500;display:inline-flex}.attachment-chip .chip-name{white-space:nowrap;text-overflow:ellipsis;max-width:180px;overflow:hidden}.attachment-chip-remove{width:16px;height:16px;color:var(--accent-primary-text);background:#6366f126;border-radius:50%;justify-content:center;align-items:center;font-size:.8rem;line-height:1;display:flex}.attachment-chip-remove:hover{background:var(--danger);color:#fff}.composer-dock{border-top:1px solid var(--border-subtle);background:#fff;flex-shrink:0;padding:12px 16px}.composer-collapsed-trigger{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--bg-surface-subtle);width:100%;height:44px;color:var(--text-muted);transition:all var(--duration-fast);justify-content:space-between;align-items:center;padding:0 16px;font-size:.88rem;display:flex}.composer-collapsed-left{align-items:center;gap:10px;min-width:0;display:flex}.composer-collapsed-left span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.composer-collapsed-trigger:hover{border-color:var(--border-default);color:var(--text-secondary);box-shadow:var(--shadow-xs);background:#fff}.composer-trigger-actions{color:var(--accent-primary);flex-shrink:0;align-items:center;gap:8px;display:flex}.composer-expanded-box{flex-direction:column;gap:10px;display:flex}.composer-upload-progress{background:var(--accent-primary-subtle);border-radius:var(--radius-md);border:1px solid #6366f140;flex-direction:column;gap:5px;padding:8px 12px;display:flex}.composer-upload-progress-info{color:var(--accent-primary-text);justify-content:space-between;align-items:center;gap:8px;font-size:.8rem;font-weight:500;display:flex}.composer-upload-progress-name{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.composer-upload-spinner{color:var(--accent-primary);flex-shrink:0;animation:1s linear infinite spin}.composer-upload-progress-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.composer-upload-progress-pct{font-family:var(--font-mono);flex-shrink:0;font-size:.78rem;font-weight:600}.btn-cancel-upload{width:20px;height:20px;color:var(--danger-text);background:var(--danger-subtle);border-radius:var(--radius-sm);cursor:pointer;transition:all var(--duration-fast);border:1px solid #ef444459;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.btn-cancel-upload:hover{border-color:var(--danger);color:var(--danger-hover);background:#fee2e2}.btn-cancel-upload svg{width:12px;height:12px}.composer-upload-progress-track{border-radius:var(--radius-full);background:#6366f126;width:100%;height:5px;overflow:hidden}.composer-upload-progress-bar{background:var(--accent-primary);border-radius:var(--radius-full);height:100%;transition:width .15s ease-out}.item-sync-status{border-radius:var(--radius-md);margin-top:10px;padding:8px 12px;font-size:.8rem;animation:.2s fadeIn}.item-upload-progress{background:var(--accent-primary-subtle);color:var(--accent-primary-text);border:1px solid #6366f140;flex-direction:column;gap:6px;display:flex}.item-upload-progress-info{justify-content:space-between;align-items:center;gap:8px;font-weight:500;display:flex}.item-upload-progress-name{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.item-upload-progress-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.item-upload-progress-pct{font-family:var(--font-mono);font-size:.78rem;font-weight:600}.item-upload-progress-track{border-radius:var(--radius-full);background:#6366f126;width:100%;height:5px;overflow:hidden}.item-upload-progress-bar{background:var(--accent-primary);border-radius:var(--radius-full);height:100%;transition:width .15s ease-out}.item-sync-error{background:var(--danger-subtle);color:var(--danger-text);border:1px solid #ef44444d;justify-content:space-between;align-items:center;gap:10px;display:flex}.item-sync-error-info{text-overflow:ellipsis;align-items:center;gap:6px;font-weight:500;display:flex;overflow:hidden}.item-sync-error-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.item-sync-error-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.btn-retry-sync{color:#fff;background:var(--accent-primary);border-radius:var(--radius-sm);cursor:pointer;transition:background var(--duration-fast);border:none;align-items:center;padding:3px 8px;font-size:.74rem;font-weight:600;display:inline-flex}.btn-retry-sync:hover{background:var(--accent-primary-hover)}.btn-discard-sync{color:var(--danger-text);border-radius:var(--radius-sm);cursor:pointer;transition:background var(--duration-fast);background:#ef44441f;border:1px solid #ef444440;align-items:center;padding:3px 8px;font-size:.74rem;font-weight:600;display:inline-flex}.btn-discard-sync:hover{background:#ef444438}.item-sync-badge{color:var(--accent-primary);background:var(--accent-primary-subtle);border-radius:var(--radius-full);align-items:center;gap:4px;padding:1px 7px;font-size:.7rem;font-weight:600;display:inline-flex}.item-sync-badge-error{color:var(--danger-text);background:var(--danger-subtle)}.composer-bottom-bar{justify-content:space-between;align-items:center;gap:10px;width:100%;min-width:0;display:flex}.composer-bottom-left{flex:auto;align-items:center;gap:8px;min-width:0;display:flex;overflow:hidden}.composer-chips-scroll{white-space:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:thin;flex:auto;align-items:center;gap:6px;min-width:0;padding:2px 0;display:flex;overflow:auto hidden}.composer-chips-scroll::-webkit-scrollbar{height:4px}.composer-chips-scroll::-webkit-scrollbar-thumb{background:var(--border-default);border-radius:var(--radius-full)}.composer-chips-scroll .attachment-chip{flex-shrink:0;margin:0}.composer-message{color:var(--danger);white-space:nowrap;flex-shrink:0;font-size:.78rem}.composer-button-group{flex-shrink:0;align-items:center;gap:8px;margin-left:auto;display:flex}.btn-composer-icon{border-radius:var(--radius-sm);cursor:pointer;width:32px;height:32px;transition:all var(--duration-fast);border:1px solid #0000;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.btn-composer-icon.btn-cancel{background:var(--bg-surface-subtle);color:var(--text-muted);border-color:var(--border-subtle)}.btn-composer-icon.btn-cancel:hover:not(:disabled){color:var(--danger);background:var(--danger-subtle);border-color:#ef444433}.btn-composer-icon.btn-submit{background:var(--accent-primary);color:#fff;border-color:var(--accent-primary)}.btn-composer-icon.btn-submit:hover:not(:disabled){background:var(--accent-primary-hover);border-color:var(--accent-primary-hover)}.btn-composer-icon:disabled{opacity:.4;cursor:not-allowed}.composer-dock-editing{border-top:2px solid var(--accent-primary);background:#fdfdfd}.item-card.editing{border-color:var(--accent-primary);box-shadow:0 0 0 2px #6366f12e}.item-action-btn.active{color:var(--accent-primary);background:var(--accent-primary-subtle)}.unlock-page{background:radial-gradient(at 50% 30%,#e0e7ff 0%,#f8fafc 70%);justify-content:center;align-items:center;width:100%;height:100dvh;padding:24px;display:flex}.unlock-card{border-radius:var(--radius-xl);-webkit-backdrop-filter:blur(16px);width:100%;max-width:400px;box-shadow:var(--shadow-xl);text-align:center;background:#ffffffeb;border:1px solid #fffc;padding:36px 32px;position:relative}.vault-icon-badge{border-radius:var(--radius-xl);color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#6366f1 100%);justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:20px;display:inline-flex;box-shadow:0 8px 16px #4f46e547}.vault-icon-badge svg{width:26px;height:26px}.unlock-title{letter-spacing:-.03em;color:var(--text-primary);margin-bottom:6px;font-size:1.45rem;font-weight:700}.unlock-subtitle{color:var(--text-secondary);margin-bottom:24px;font-size:.86rem}.unlock-form{text-align:left;flex-direction:column;gap:14px;display:flex}.unlock-label{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em;font-size:.78rem;font-weight:600}.unlock-input-wrap{align-items:center;display:flex;position:relative}.unlock-input{border:1px solid var(--border-default);border-radius:var(--radius-md);width:100%;height:44px;color:var(--text-primary);transition:all var(--duration-fast);background:#fff;padding:0 14px 0 38px;font-size:.9rem}.unlock-input:focus{border-color:var(--accent-primary);box-shadow:var(--shadow-focus);outline:none}.unlock-key-icon{color:var(--text-muted);pointer-events:none;align-items:center;display:flex;position:absolute;left:12px}.unlock-key-icon svg{width:16px;height:16px}.unlock-button{width:100%;height:44px;font-size:.9rem}.unlock-notice{border-radius:var(--radius-md);background:var(--danger-subtle);color:var(--danger-text);border:1px solid #ef444433;align-items:center;gap:6px;margin-top:14px;padding:8px 12px;font-size:.8rem;display:flex}.spinner-icon{border:2px solid #4f46e533;border-top-color:var(--accent-primary);box-sizing:border-box;border-radius:50%;width:15px;height:15px;animation:.7s linear infinite spin;display:inline-block}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width:640px){.app-shell{width:100%;max-width:100%;height:100dvh;margin:0;padding:0}.app-header{padding:max(12px, env(safe-area-inset-top)) 16px 12px;border-bottom:1px solid var(--border-subtle);z-index:10;background:#fff;min-height:56px}.brand-icon-box{border-radius:var(--radius-sm);width:32px;height:32px}.brand-icon-box svg{width:17px;height:17px}.brand-title{font-size:1.15rem}.notes-surface{box-shadow:none;background:#f8fafc;border:none;border-radius:0}.items-list{gap:6px;padding:8px 8px 12px}.item-card{border-radius:var(--radius-lg);border:1px solid var(--border-subtle);box-sizing:border-box;flex-shrink:0;width:100%;box-shadow:0 1px 2px #00000008;overflow:hidden!important}.item-card.expanded{flex-shrink:0;overflow:hidden!important}.item-card-header{padding:4px 8px 3px;border-top-left-radius:calc(var(--radius-lg) - 1px)!important;border-top-right-radius:calc(var(--radius-lg) - 1px)!important}.item-drag-handle{width:22px;height:22px}.item-drag-handle svg{width:14px;height:14px}.item-timestamp{font-size:.68rem}.item-header-actions{gap:4px}.item-sync-spinner-icon{width:28px;height:28px}.item-action-btn{border-radius:var(--radius-sm);width:28px;height:28px;position:relative}.item-action-btn:after{content:"";position:absolute;inset:-4px -3px}.item-action-btn svg{width:14px;height:14px}.item-card-body{padding:2px 4px 3px;border-bottom-left-radius:calc(var(--radius-lg) - 1px)!important;border-bottom-right-radius:calc(var(--radius-lg) - 1px)!important}.item-card-content{max-height:none;padding:4px 6px}.item-card-content.is-preview{max-height:48px;overflow:hidden}.item-card-content.is-preview:has(.attachments-wrapper:first-child){max-height:56px}.item-card-content.is-expanded{padding:5px 8px 8px;max-height:none!important;overflow:visible!important;-webkit-mask-image:none!important;mask-image:none!important}.item-card.expanded .item-card-body,.item-card.expanded .item-card-content,.item-card.expanded .rich-text,.item-card.expanded .rich-text-viewer,.item-card.expanded .rich-text-host,.item-card.expanded .ql-container,.item-card.expanded .ql-container.ql-snow,.item-card.expanded .ql-editor,.item-card-content.is-expanded .rich-text,.item-card-content.is-expanded .rich-text-viewer,.item-card-content.is-expanded .rich-text-host,.item-card-content.is-expanded .ql-container,.item-card-content.is-expanded .ql-container.ql-snow,.item-card-content.is-expanded .ql-editor{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}.item-card.expanded .rich-text-viewer .ql-editor img.ql-s3-image,.item-card-content.is-expanded img.ql-s3-image,.item-card.expanded .attachment-image-card img{max-width:100%!important;height:auto!important;max-height:none!important}.rich-text-viewer .ql-editor{font-size:.86rem;line-height:1.45;padding:1px 2px!important}.rich-text-viewer .ql-editor img.ql-s3-image{max-height:120px;margin:4px 0}.rich-text-editor .ql-toolbar.ql-snow{scrollbar-width:none;border-radius:var(--radius-lg) var(--radius-lg) 0 0;background:#f1f5f9;flex-wrap:nowrap;gap:3px;padding:6px;display:flex;overflow:auto hidden}.rich-text-editor .ql-toolbar.ql-snow::-webkit-scrollbar{display:none}.rich-text-editor .ql-toolbar.ql-snow .ql-formats{flex-shrink:0;gap:2px;padding:0 2px;display:inline-flex}.rich-text-editor .ql-toolbar.ql-snow .ql-formats+.ql-formats{border-inline-start:1px solid var(--border-default)}.rich-text-editor .ql-toolbar.ql-snow button,.rich-text-editor .ql-toolbar.ql-snow .ql-picker-label{border-radius:var(--radius-sm);flex-shrink:0;width:32px;height:32px}.rich-text-editor .ql-toolbar.ql-snow button svg,.rich-text-editor .ql-toolbar.ql-snow .ql-picker-label svg{width:16px;height:16px}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-color-picker,.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-icon-picker,.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-align{flex-shrink:0;width:32px;height:32px}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-header{flex-shrink:0;width:88px}.rich-text-editor .ql-toolbar.ql-snow .ql-picker.ql-header .ql-picker-label{width:88px;padding:0 6px;font-size:.78rem}.rich-text-editor .ql-editor{min-height:100px;max-height:220px;padding:10px 12px;font-size:16px!important}.attachments-grid{grid-template-columns:1fr;gap:6px}.attachment-file-card{padding:8px 10px}.attachment-image-card img{object-fit:cover;width:100%;max-height:130px}.composer-dock{padding:8px 12px max(10px, env(safe-area-inset-bottom));border-top:1px solid var(--border-subtle);z-index:20;background:#fff;box-shadow:0 -3px 12px #0000000d}.composer-collapsed-trigger{border-radius:var(--radius-full);height:46px;padding:0 16px;font-size:.88rem}.composer-bottom-bar{margin-top:2px}.composer-bottom-bar .btn{min-height:38px;padding:0 16px;font-size:.88rem}.unlock-page{padding:max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom))}.unlock-card{border-radius:var(--radius-xl);padding:32px 20px}.unlock-title{font-size:1.35rem}.unlock-input{height:48px;font-size:16px!important}.unlock-button{height:48px;font-size:.95rem}}.share-modal-backdrop{-webkit-backdrop-filter:blur(4px);z-index:9999999;background:#0f172a73;justify-content:center;align-items:center;padding:16px;animation:.15s ease-out fadeIn;display:flex;position:fixed;inset:0}.share-modal-dialog{border-radius:var(--radius-xl);border:1px solid var(--border-subtle);box-shadow:var(--shadow-xl);background:#fff;width:100%;max-width:460px;animation:.2s cubic-bezier(.16,1,.3,1) modalScaleUp;overflow:hidden}@keyframes modalScaleUp{0%{opacity:0;transform:scale(.96)translateY(6px)}to{opacity:1;transform:scale(1)translateY(0)}}.share-modal-header{border-bottom:1px solid var(--border-subtle);background:#fafafa;justify-content:space-between;align-items:center;padding:14px 18px 12px;display:flex}.share-modal-title{color:var(--text-primary);align-items:center;gap:8px;display:flex}.share-modal-title svg{width:18px;height:18px;color:var(--accent-primary)}.share-modal-title h3{margin:0;font-size:.96rem;font-weight:600}.share-modal-close-btn{border-radius:var(--radius-sm);width:28px;height:28px;color:var(--text-muted);cursor:pointer;transition:all var(--duration-fast);background:0 0;border:none;justify-content:center;align-items:center;display:flex}.share-modal-close-btn:hover{color:var(--text-primary);background:var(--bg-hover)}.share-modal-close-btn svg{width:16px;height:16px}.share-modal-body{flex-direction:column;gap:14px;padding:16px 18px 20px;display:flex}.share-option-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.share-option-info{flex-direction:column;gap:2px;display:flex}.share-option-label{color:var(--text-primary);font-size:.86rem;font-weight:600}.share-option-desc{color:var(--text-secondary);font-size:.76rem}.share-toggle-container{flex-shrink:0;align-items:center;gap:8px;display:inline-flex}.share-saving-spinner{color:var(--accent-primary);flex-shrink:0}.toggle-switch{flex-shrink:0;width:38px;height:22px;display:inline-block;position:relative}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{cursor:pointer;background-color:#cbd5e1;border-radius:22px;transition:background-color .2s cubic-bezier(.4,0,.2,1);position:absolute;inset:0}.toggle-slider:before{display:none!important}.toggle-thumb{background-color:#fff;border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;transition:transform .2s cubic-bezier(.4,0,.2,1);display:flex;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.toggle-switch input:checked+.toggle-slider{background-color:var(--accent-primary)}.toggle-switch input:checked+.toggle-slider .toggle-thumb{transform:translate(16px)}.toggle-switch.is-loading{cursor:wait!important}.toggle-switch.is-loading .toggle-slider{opacity:.9;cursor:wait!important}.toggle-switch.is-loading input{cursor:wait!important}.toggle-switch.is-loading .toggle-thumb{box-shadow:0 1px 3px #0003}.toggle-spinner-icon{border:1.8px solid #4f46e533;border-top-color:var(--accent-primary);border-radius:50%;flex-shrink:0;width:10px;height:10px;animation:.65s linear infinite spin;display:block}.share-link-section{flex-direction:column;gap:6px;margin-top:4px;display:flex}.share-link-box{border:1px solid var(--border-default);border-radius:var(--radius-md);transition:border-color var(--duration-fast);background:#f8fafc;align-items:center;gap:8px;padding:3px 4px 3px 10px;display:flex}.share-link-box:focus-within{border-color:var(--accent-primary)}.share-link-input{min-width:0;color:var(--text-secondary);font-size:.8rem;font-family:var(--font-mono,monospace);background:0 0;border:none;outline:none;flex:1}.share-copy-btn{border-radius:var(--radius-sm);background:var(--accent-primary);color:#fff;cursor:pointer;transition:all var(--duration-fast);border:none;flex-shrink:0;align-items:center;gap:4px;padding:6px 12px;font-size:.78rem;font-weight:500;display:inline-flex}.share-copy-btn:hover:not(:disabled){background:var(--accent-primary-hover);color:#fff}.share-copy-btn.copied{background:var(--success);color:#fff}.share-copy-btn.copied:hover:not(:disabled){color:#fff;background:#059669}.share-copy-btn svg{width:13px;height:13px}.share-copy-notice{color:var(--success);font-size:.74rem;font-weight:500;display:block}.share-regenerate-section{justify-content:flex-end;padding-top:4px;display:flex}.share-regenerate-btn{color:var(--text-muted);cursor:pointer;border-radius:var(--radius-sm);transition:all var(--duration-fast);background:0 0;border:none;align-items:center;gap:5px;padding:4px 8px;font-size:.74rem;display:inline-flex}.share-regenerate-btn:hover{color:var(--danger);background:var(--danger-subtle)}.share-regenerate-btn.is-loading{color:var(--accent-primary)!important;cursor:wait!important;background:0 0!important}.share-regenerate-btn svg{width:13px;height:13px}.shared-page-container{background:var(--bg-canvas);box-sizing:border-box;flex-direction:column;align-items:center;height:100dvh;padding:16px;display:flex;overflow:hidden}.shared-note-wrapper{border:1px solid var(--border-subtle);border-radius:var(--radius-xl);width:100%;max-width:880px;min-height:0;box-shadow:var(--shadow-sm);background:#fff;flex-direction:column;flex:1;display:flex;overflow:hidden}.shared-header{border-bottom:1px solid var(--border-subtle);background:#fafafa;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 18px;display:flex;border-top-left-radius:calc(var(--radius-xl) - 1px)!important;border-top-right-radius:calc(var(--radius-xl) - 1px)!important}.shared-header-left{align-items:center;gap:10px;display:flex}.shared-timestamp{color:var(--text-muted);font-size:.74rem}.shared-header-actions{align-items:center;gap:6px;display:flex}.shared-action-btn{border-radius:var(--radius-sm);width:28px;height:28px;color:var(--text-secondary);cursor:pointer;transition:all var(--duration-fast);background:0 0;justify-content:center;align-items:center;padding:0;display:inline-flex;border:none!important}.shared-action-btn:hover:not(:disabled){background:var(--bg-hover);color:var(--text-primary)}.shared-action-btn.btn-edit:hover:not(:disabled){color:var(--accent-primary);background:var(--accent-primary-subtle)}.shared-action-btn.btn-save{color:#059669!important;background:0 0!important}.shared-action-btn.btn-save:hover:not(:disabled){color:#047857!important;background:#ecfdf5!important}.shared-action-btn.btn-cancel{color:var(--text-muted)!important;background:0 0!important}.shared-action-btn.btn-cancel:hover:not(:disabled){background:var(--danger-subtle)!important;color:var(--danger)!important}.shared-action-btn svg{width:15px;height:15px}.shared-content-card{-webkit-overflow-scrolling:touch;flex-direction:column;flex:1;min-height:0;padding:20px 24px 32px;display:flex;overflow-y:auto;border-bottom-left-radius:calc(var(--radius-xl) - 1px)!important;border-bottom-right-radius:calc(var(--radius-xl) - 1px)!important}.shared-content-card:has(.shared-edit-container){padding:0!important;overflow:hidden!important}.shared-display-container{flex-direction:column;gap:0;display:flex}.shared-content-card .rich-text-viewer .ql-editor img.ql-s3-image,.shared-content-card img.ql-s3-image{max-width:100%!important;height:auto!important;max-height:none!important}.shared-content-card .attachment-image-card img{height:auto!important;max-height:none!important}.shared-attachments-section{margin-top:0;padding-top:4px}.shared-edit-container{width:100%;flex-direction:column!important;flex:100%!important;gap:0!important;height:100%!important;min-height:0!important;display:flex!important}.shared-edit-container .rich-text,.shared-edit-container .rich-text-editor{background:0 0!important;border:none!important;border-radius:0!important;flex-direction:column!important;flex:100%!important;height:100%!important;min-height:0!important;display:flex!important}.shared-edit-container .rich-text-host{flex-direction:column!important;flex:100%!important;height:100%!important;min-height:0!important;display:flex!important}.shared-edit-container .ql-toolbar.ql-snow{background:var(--bg-surface-subtle);border-top:none!important;border-left:none!important;border-right:none!important;border-bottom:1px solid var(--border-subtle)!important;border-radius:0!important;flex-shrink:0!important}.shared-edit-container .ql-container.ql-snow{border:none!important;flex-direction:column!important;flex:100%!important;height:100%!important;min-height:0!important;max-height:none!important;display:flex!important}.shared-edit-container .ql-editor{-webkit-overflow-scrolling:touch;font-size:1rem;line-height:1.6;flex:100%!important;height:100%!important;min-height:0!important;max-height:none!important;padding:20px 24px 32px!important;overflow-y:auto!important}.shared-edit-container .ql-editor.ql-blank:before{font-size:1rem!important;font-style:normal!important;line-height:1.6!important;top:20px!important;left:24px!important;right:24px!important}.shared-edit-container .rich-text-editor:focus-within,.shared-edit-container:focus-within,.shared-content-card:focus-within,.shared-edit-container .rich-text:focus-within{box-shadow:none!important;border:#0000!important;border-top-color:currentColor!important;outline:none!important}.shared-content-card:has(.shared-edit-container):focus-within{box-shadow:none!important;border:#0000!important;border-top-color:currentColor!important;outline:none!important}.shared-edit-container .ql-toolbar.ql-snow:focus-within,.shared-edit-container .ql-container.ql-snow:focus-within,.shared-edit-container .ql-editor:focus{box-shadow:none!important;border-top:none!important;outline:none!important}.shared-btn-cancel{border-radius:var(--radius-sm);border:1px solid var(--border-default);color:var(--text-secondary);cursor:pointer;background:#fff;padding:6px 14px;font-size:.82rem;font-weight:500}.shared-btn-save{border-radius:var(--radius-sm);background:var(--accent-primary);color:#fff;cursor:pointer;transition:background-color var(--duration-fast);border:none;padding:6px 16px;font-size:.82rem;font-weight:600}.shared-btn-save:hover:not(:disabled){background:var(--accent-primary-hover)}.shared-loading{color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;margin-top:100px;display:flex}.shared-error-card{text-align:center;border:1px solid var(--border-subtle);border-radius:var(--radius-xl);max-width:420px;box-shadow:var(--shadow-sm);background:#fff;flex-direction:column;align-items:center;gap:10px;margin-top:80px;padding:36px 24px;display:flex}.shared-error-icon{background:var(--danger-subtle);width:48px;height:48px;color:var(--danger);border-radius:50%;justify-content:center;align-items:center;display:flex}.shared-error-icon svg{width:26px;height:26px}.shared-error-card h2{color:var(--text-primary);margin:0;font-size:1.15rem;font-weight:600}.shared-error-card p{color:var(--text-secondary);margin:0;font-size:.86rem}@media (max-width:768px){.shared-page-container{padding:0}.shared-note-wrapper{border:none;border-radius:0;max-width:100%}.shared-content-card{padding:14px 16px 24px}.shared-edit-container .ql-editor{padding:14px 16px 24px!important}.shared-edit-container .ql-editor.ql-blank:before{top:14px!important;left:16px!important;right:16px!important}}
