.task-note-field{min-width:0}
.task-note{border:1px solid var(--dim,#d2d8d2);border-radius:8px;background:var(--surface,#fff);overflow:hidden}
.task-note:focus-within{outline:2px solid var(--accent,#416656);outline-offset:1px}
.note-tools{display:flex;align-items:center;flex-wrap:wrap;gap:3px;padding:6px;border-bottom:1px solid var(--dim,#d2d8d2);background:var(--canvas,#f6f7f5)}
.note-tool{min-height:29px;border:1px solid transparent;border-radius:4px;padding:3px 7px;background:transparent;font-size:.83rem;letter-spacing:0;color:inherit}
.note-tool[aria-pressed=true]{border-color:var(--accent,#416656);background:var(--surface,#fff);color:var(--accent,#416656)}
.note-divider{height:16px;width:1px;background:var(--dim,#d2d8d2);margin:0 1px}
.note-content{overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.65;font-weight:400;color:#242a30;font-size:1rem}
.note-palette{display:inline-flex;align-items:center;gap:1px;padding-inline:3px;border-inline-start:1px solid var(--dim,#d2d8d2)}
.note-palette-label{padding-inline:3px;color:var(--muted,#53655a);font-size:.76rem;white-space:nowrap}
.note-tools .note-swatch{width:25px;height:30px;min-height:30px;padding:0;display:inline-grid;place-items:center;border:1px solid transparent;background:transparent}
.note-tools .note-swatch:focus-visible{outline:2px solid var(--accent,#416656);outline-offset:-2px}
.note-swatch>span{width:14px;height:14px;background:var(--swatch);border:1px solid rgb(0 0 0 / 10%);border-radius:50%}
.note-tools .note-swatch[aria-pressed=true]{border-color:transparent;background:transparent}
.note-swatch[aria-pressed=true]>span{outline:2px solid var(--swatch);outline-offset:2px}
.note-swatch[data-note-cmd="color-graphite"]{--swatch:#242a30}
.note-swatch[data-note-cmd="color-slate"],.note-content span[data-note-color="slate"]{--swatch:#43618b;color:var(--swatch)}
.note-swatch[data-note-cmd="color-blue"],.note-content span[data-note-color="blue"]{--swatch:#1c60aa;color:var(--swatch)}
.note-swatch[data-note-cmd="color-teal"],.note-content span[data-note-color="teal"]{--swatch:#1d8277;color:var(--swatch)}
.note-swatch[data-note-cmd="color-olive"],.note-content span[data-note-color="olive"]{--swatch:#687a20;color:var(--swatch)}
.note-swatch[data-note-cmd="color-ochre"],.note-content span[data-note-color="ochre"]{--swatch:#9f6814;color:var(--swatch)}
.note-swatch[data-note-cmd="color-rose"],.note-content span[data-note-color="rose"]{--swatch:#c23247;color:var(--swatch)}
.note-swatch[data-note-cmd="color-plum"],.note-content span[data-note-color="plum"]{--swatch:#96349c;color:var(--swatch)}
@media(pointer:coarse){.note-tools .note-swatch{width:30px;height:36px;min-height:36px}}
.note-editor{padding:12px 14px;min-height:145px;max-height:45vh;overflow:auto;outline:none!important;cursor:text;display:block}
.note-editor:empty::before{content:attr(data-placeholder);color:var(--muted,#53655a);pointer-events:none}
.note-content p,.note-content div{margin:0;min-height:1.35em}
.note-content h3{font-size:1.13em;line-height:1.5;margin:.45em 0 .2em;min-height:1.35em;font-weight:650}
.note-content h3:first-child{margin-top:0}
.note-content ol,.note-content ul{padding-inline-start:1.65em;margin:.3em 0}
.note-content li{margin:.1em 0;line-height:1.6}
.note-content ul[data-checklist="true"]{list-style:none;padding-inline-start:.1em}
.note-content ul[data-checklist="true"]>li{position:relative;min-height:1.65em;padding-inline-start:1.65em;list-style:none}
.note-content ul[data-checklist="true"]>li::before{position:absolute;top:.23em;left:0;display:grid;align-items:center;justify-items:center;content:'';border:1.5px solid var(--accent,#416656);border-radius:50%;width:1.12em;height:1.12em;font:inherit;font-size:.95em;line-height:1;box-sizing:border-box}
.note-editor ul[data-checklist="true"]>li::before{cursor:pointer}
.note-content ul[data-checklist="true"]>li[data-checked="true"]::before{content:'✓';background:var(--accent,#416656);color:white}
.note-content ul[data-checklist="true"]>li[data-checked="true"]{text-decoration:line-through;color:var(--muted,#53655a)}
.task-note-read{margin-top:1rem;padding:1rem 0 0;border-top:1px solid var(--dim,#d2d8d2)}
.task-note-read>h3{margin:0 0 .45em}
.note-sr{position:absolute;height:1px;width:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:620px){.note-tools{gap:1px}.note-tool{min-height:33px;padding-inline:6px}.note-editor{min-height:160px}}
