.invisible-note { --note-ink: #34280f; --note-muted-ink: rgb(52 40 15 / .66); --note-paper: linear-gradient(128deg,#ffe382 0%,#f7d15a 42%,#efc449 78%,#ffe99a 96%); --note-fold-base: #f4cf60; --note-fold-light: #fff0ac; --note-fold-deep: #c99e30; --note-next-paper: linear-gradient(130deg,#d6efae,#b5df81 65%,#c9ee9b); --note-pad: clamp(10px,6cqw,20px); --note-head: clamp(20px,9cqw,30px); --note-gap: clamp(5px,2cqw,8px); --note-line: clamp(20px,8cqw,28px); --note-grid: calc(var(--note-line) / 2); --note-text-top: calc(var(--note-pad) + var(--note-head) + var(--note-gap)); --note-rule: rgb(114 140 152 / .24); --note-check-ring: rgb(52 40 15 / .42); --note-pattern: none; --note-pattern-size: auto; --note-pattern-x: 0px; position: relative; isolation: isolate; display: block; container-type: inline-size; inline-size: 100%; aspect-ratio: 1 / 1.04; min-width: 0; color: var(--note-ink); text-shadow: none; transform: rotate(-.6deg); transition: transform var(--duration-base) var(--easing-standard); }
.invisible-note--size-sm { aspect-ratio: 1 / .92; }
.invisible-note--size-lg { aspect-ratio: 1 / 1.18; }
.invisible-note[data-note-tone="mint"] { --note-paper: linear-gradient(128deg,#dbefb9,#b9de86 60%,#cfeeaa); --note-fold-base: #c3e398; --note-fold-light: #ebfacb; --note-fold-deep: #7da849; }
.invisible-note[data-note-tone="rose"] { --note-paper: linear-gradient(128deg,#ffd6dd,#efaabc 64%,#ffdae1); --note-fold-base: #f0b5c4; --note-fold-light: #ffe9ed; --note-fold-deep: #c67c90; }
.invisible-note[data-note-tone="sky"] { --note-paper: linear-gradient(128deg,#d3edf9,#a3cfe7 65%,#d4edf9); --note-fold-base: #b3d7ec; --note-fold-light: #e8f7ff; --note-fold-deep: #6b9fbd; }
.invisible-note[data-next-note-tone="rose"] { --note-next-paper: linear-gradient(130deg,#ffd6dd,#efaabc 65%,#ffdae1); }
.invisible-note[data-next-note-tone="sky"] { --note-next-paper: linear-gradient(130deg,#d3edf9,#a3cfe7 65%,#d4edf9); }
.invisible-note[data-next-note-tone="sunflower"] { --note-next-paper: linear-gradient(130deg,#ffe382,#f7d15a 65%,#ffe99a); }
.invisible-note__beneath { position: absolute; inset: 2px 1px 1px 2px; border-radius: 4px 6px 17px 4px; background: var(--note-next-paper); box-shadow: 0 6px 9px -5px #0005; }
.invisible-note__paper { position: absolute; inset: 0; filter: drop-shadow(0 5px 4px #0003); }
.invisible-note__sheet { position: absolute; inset: 0; display: flex; flex-direction: column; min-height: 0; overflow: hidden; padding: var(--note-pad); gap: var(--note-gap); box-sizing: border-box; background: var(--note-paper); border-radius: 4px 6px 0 4px; box-shadow: inset 0 1px 1px #fff6; clip-path: polygon(0% 0%,100% 0%,100% 91.5%,99.94% 92.15%,99.48% 93.17%,98.66% 93.86%,97.6% 94.32%,96.41% 94.64%,95.18% 94.92%,94.04% 95.23%,93.08% 95.67%,92.43% 96.33%,92.17% 97.13%,91.92% 97.78%,91.57% 98.34%,91.11% 98.82%,90.58% 99.21%,89.97% 99.53%,89.31% 99.76%,88.61% 99.91%,87.87% 99.99%,87.5% 100%,0% 100%); }
.invisible-note__curl { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; filter: drop-shadow(3px 5px 3px #40361645); }
.invisible-note__head { display: flex; align-items: center; gap: var(--size-2,8px); flex: none; min-height: var(--note-head); }
.invisible-note__title { margin: 0; min-width: 0; flex: 1; font-family: var(--font-family-default); font-size: clamp(13px,7cqw,20px); font-weight: 700; line-height: 1.3; color: var(--note-ink); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.invisible-note__link { color: inherit; text-decoration: none; outline: none; }
.invisible-note__link::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.invisible-note__text { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom,#000 78%,transparent); mask-image: linear-gradient(to bottom,#000 78%,transparent); }
.invisible-note__body { margin: 0; white-space: pre-line; overflow-wrap: anywhere; font: clamp(13px,6cqw,17px)/1.5 Georgia,'Times New Roman',serif; }
.invisible-note__tasks { list-style: none; margin: 0; padding: 0; font: clamp(12px,5.6cqw,16px)/var(--note-line) Georgia,'Times New Roman',serif; }
.invisible-note__task, .invisible-note__line { display: flex; align-items: center; gap: clamp(6px,3cqw,10px); min-height: var(--note-line); overflow: hidden; white-space: nowrap; }
.invisible-note__line { padding-inline-start: calc(clamp(10px,4.4cqw,15px) + clamp(6px,3cqw,10px)); }
.invisible-note__task-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.invisible-note__check { flex: none; inline-size: clamp(10px,4.4cqw,15px); block-size: clamp(10px,4.4cqw,15px); border: 1.5px solid var(--note-check-ring); border-radius: 50%; box-sizing: border-box; }
.invisible-note__task[data-checked="true"] .invisible-note__check { background: var(--note-check-ring); box-shadow: inset 0 0 0 2px var(--note-fold-light); }
.invisible-note__task[data-checked="true"] .invisible-note__task-text { text-decoration: line-through; opacity: .6; }
.invisible-note__foot { display: flex; align-items: center; gap: var(--size-2,8px); flex: none; min-height: 16px; padding-inline-end: 12%; font: 11px/1.3 var(--font-family-default); color: var(--note-muted-ink); }
.invisible-note__meta { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.invisible-note__foot .invisible-badge { flex: none; }
.invisible-note--link:hover { transform: rotate(-.6deg) translateY(-2px); }
.invisible-note--link:focus-within { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: var(--focus-ring-offset); border-radius: 6px; }
.invisible-note:where(:not([data-note-design="classic"])) .invisible-note__sheet { border-radius: 7px 8px 0 7px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .48); }
.invisible-note:where(:not([data-note-design="classic"])) .invisible-note__sheet::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--note-pattern); background-size: var(--note-pattern-size); background-position: var(--note-pattern-x) calc(var(--note-text-top) + 1px); }
.invisible-note:where(:not([data-note-design="classic"])) .invisible-note__body { line-height: var(--note-line); }
.invisible-note[data-note-design="lined"] { --note-ink: #302923; --note-muted-ink: rgb(48 41 35 / .55); --note-paper: linear-gradient(125deg,#fff9e9,#f6efdd 58%,#fff9eb); --note-next-paper: var(--note-paper); --note-fold-base: #eee6d1; --note-fold-light: #fffdf3; --note-fold-deep: #c8bea4; --note-pattern: linear-gradient(to bottom,transparent calc(100% - 1px),var(--note-rule) 0); --note-pattern-size: 100% var(--note-line); }
.invisible-note[data-note-design="lined"] .invisible-note__sheet::after { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(var(--note-pad) - 7px); width: 2px; border-left: 1px solid rgb(221 121 110 / .35); border-right: 1px solid rgb(221 121 110 / .22); pointer-events: none; }
.invisible-note[data-note-design="squared"] { --note-ink: #302923; --note-muted-ink: rgb(48 41 35 / .55); --note-paper: linear-gradient(125deg,#fafaf6,#eeefeb 65%,#fcfcf8); --note-next-paper: var(--note-paper); --note-fold-base: #e3e5de; --note-fold-light: #fff; --note-fold-deep: #b8beb5; --note-rule: rgb(122 163 184 / .2); --note-pattern: linear-gradient(to bottom,transparent calc(100% - 1px),var(--note-rule) 0),linear-gradient(to right,transparent calc(100% - 1px),var(--note-rule) 0); --note-pattern-size: var(--note-grid) var(--note-grid); --note-pattern-x: var(--note-pad); }
.invisible-note[data-note-design="dotted"] { --note-ink: #302923; --note-muted-ink: rgb(48 41 35 / .55); --note-paper: linear-gradient(125deg,#fff,#f5f5f4 65%,#fff); --note-next-paper: var(--note-paper); --note-fold-base: #e8e8e6; --note-fold-light: #fff; --note-fold-deep: #bfc1bf; --note-pattern: radial-gradient(circle at 1px 1px,rgb(118 124 124 / .25) .8px,transparent 1px); --note-pattern-size: var(--note-grid) var(--note-grid); --note-pattern-x: var(--note-pad); }
.invisible-note[data-note-design="checklist"] { --note-ink: #302923; --note-muted-ink: rgb(48 41 35 / .55); --note-paper: linear-gradient(125deg,#fffbee,#fbf3d8 70%,#fffcf1); --note-fold-base: #f0d889; --note-fold-light: #fff2c1; --note-fold-deep: #cbb056; --note-rule: rgb(172 139 50 / .26); --note-check-ring: rgb(172 139 50 / .6); --note-strip: rgb(241 202 92 / .19); --note-pattern: linear-gradient(to bottom,transparent calc(100% - 1px),var(--note-rule) 0); --note-pattern-size: 100% var(--note-line); }
.invisible-note[data-note-design="checklist"][data-note-tone="rose"] { --note-paper: linear-gradient(125deg,#fff4f4,#faeaea 70%,#fff7f4); --note-fold-base: #efbbcb; --note-fold-light: #ffe4ec; --note-fold-deep: #d395aa; --note-rule: rgb(187 113 135 / .23); --note-check-ring: rgb(187 113 135 / .6); --note-strip: rgb(243 153 175 / .21); }
.invisible-note[data-note-design="checklist"][data-note-tone="mint"] { --note-paper: linear-gradient(125deg,#f7fbed,#edf4df 70%,#fafff4); --note-fold-base: #c3d9a1; --note-fold-light: #eff8d8; --note-fold-deep: #92ad6f; --note-rule: rgb(117 147 81 / .24); --note-check-ring: rgb(117 147 81 / .6); --note-strip: rgb(156 192 112 / .2); }
.invisible-note[data-note-design="checklist"][data-note-tone="sky"] { --note-paper: linear-gradient(125deg,#f2faff,#e5f0f7 70%,#f7fcff); --note-fold-base: #b5d5e7; --note-fold-light: #e6f6ff; --note-fold-deep: #8aaec3; --note-rule: rgb(102 150 176 / .24); --note-check-ring: rgb(102 150 176 / .6); --note-strip: rgb(123 182 213 / .2); }
.invisible-note[data-note-design="checklist"] .invisible-note__sheet::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to right,var(--note-strip) 0,var(--note-strip) calc(var(--note-pad) - 5px),transparent calc(var(--note-pad) - 5px)); }
.invisible-note[data-note-design="developer"] { --note-ink: #eef1f7; --note-muted-ink: #8d9eb9; --note-paper: radial-gradient(ellipse at 15% 0%,rgb(100 131 163 / .11),transparent 65%),linear-gradient(135deg,#252d37,#1b222b 70%,#242d37); --note-fold-base: #616d7d; --note-fold-light: #a7b0bd; --note-fold-deep: #313b49; --note-next-paper: linear-gradient(135deg,#28333e,#1b232c); --dev-font: 'Cascadia Code','SFMono-Regular',Consolas,'Liberation Mono',monospace; transform: none; }
.invisible-note--link[data-note-design="developer"]:hover { transform: translateY(-2px); }
.invisible-note[data-note-design="developer"] .invisible-note__sheet { border-radius: 8px 8px 0 8px; box-shadow: inset 0 0 0 1px rgb(180 201 223 / .13); }
.invisible-note[data-note-design="developer"] .invisible-note__title { font-family: var(--dev-font); font-weight: 500; letter-spacing: -.04em; color: #f7f8fc; }
.invisible-note__code { flex: none; color: #6ab8ff; font: 600 clamp(14px,7cqw,22px)/1 'Cascadia Code','SFMono-Regular',Consolas,monospace; letter-spacing: -.13em; }
.invisible-note[data-note-design="developer"] :is(.invisible-note__tasks,.invisible-note__body) { font-family: var(--dev-font); font-size: clamp(11px,4.8cqw,14px); letter-spacing: -.025em; }
.invisible-note[data-note-design="developer"] .invisible-note__check { border: 1.7px solid #9ba7bc; border-radius: 4px; background: rgb(13 20 29 / .12); }
.invisible-note[data-note-design="developer"] .invisible-note__task[data-checked="true"] .invisible-note__check { background: #61f5aa; border-color: #61f5aa; box-shadow: 0 0 10px rgb(75 237 155 / .12); }
.invisible-note[data-note-design="developer"] .invisible-note__task[data-checked="true"] .invisible-note__task-text { color: #68edac; text-decoration: none; opacity: 1; }
.invisible-note[data-note-design="developer"] .invisible-note__line { color: #8b9ebf; }
.invisible-note[data-note-design="developer"] .invisible-note__foot { font-family: var(--dev-font); border-top: 1px solid rgb(152 177 205 / .15); padding-top: 6px; }
@media (prefers-reduced-motion:reduce) {
  .invisible-note { transition: none; }
}
[data-motion="reduce"] .invisible-note { transition: none; }
@media (forced-colors:active) {
  .invisible-note__sheet,.invisible-note__beneath { background: Canvas; color: CanvasText; border: 1px solid CanvasText; }
  .invisible-note__curl { visibility: hidden; }
  .invisible-note__sheet::before,.invisible-note__sheet::after { display: none; }
}
.invisible-note--checkable .invisible-note__text { position: relative; z-index: 3; pointer-events: none; }
.invisible-note__toggle { display: flex; align-items: center; gap: clamp(6px,3cqw,10px); inline-size: 100%; min-width: 0; min-height: var(--note-line); margin: 0; padding: 0; border: 0; border-radius: 3px; background: none; color: inherit; font: inherit; line-height: inherit; text-align: start; cursor: pointer; pointer-events: auto; }
.invisible-note__toggle:hover .invisible-note__check { border-color: var(--note-ink); }
.invisible-note__toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.invisible-note__toggle[aria-busy="true"] { cursor: progress; opacity: .7; }
.invisible-note[data-note-design="drawing"] { --note-paper: #fff; --note-next-paper: #fff; --note-ink: #171717; --note-fold-base: #f5f5f5; --note-fold-light: #fff; --note-fold-deep: #d4d4d4; }
.invisible-note[data-note-design="drawing"] .invisible-note__text { display: flex; min-height: 0; overflow: hidden; }
.invisible-note__drawing { display: block; flex: 1; width: 100%; height: 100%; min-height: 0; }
.invisible-note__drawing path { fill: none; stroke: #171717; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
