.ken-sticky-note { position:relative; isolation:isolate; width:calc(100% - 40px); max-width:calc(100% - 40px); min-width:0; margin:28px auto; color:#313124; background:transparent; border:0; box-shadow:none; filter:drop-shadow(0 2px 2px #30281320) drop-shadow(0 12px 10px #30281324); transform:rotate(var(--ken-note-rotation,0deg)); transform-origin:center center; --ken-note-fold-size:26px; }
.ken-sticky-note,.ken-sticky-note * { box-sizing:border-box; }
/* Clip only the sheet: the missing corner is transparent and the shadow follows its silhouette. */
.ken-sticky-note__inner { position:relative; padding:0; background:var(--ken-note-paper,#fff5b8); clip-path:polygon(0 0,100% 0,100% calc(100% - var(--ken-note-fold-size)),calc(100% - var(--ken-note-fold-size)) 100%,0 100%); }
.ken-sticky-note__inner::after { content:""; position:absolute; width:var(--ken-note-fold-size); height:var(--ken-note-fold-size); right:0; bottom:0; background:linear-gradient(135deg,var(--ken-note-fold,#d6ce9b),var(--ken-note-header,#f0e6ad)); clip-path:polygon(0 0,100% 0,0 100%); box-shadow:-2px -2px 4px #0002; pointer-events:none; }
.ken-sticky-note__header { margin:0; padding:20px 24px; background:var(--ken-note-header,#f0e6ad); border-bottom:var(--ken-note-divider-width,1px) var(--ken-note-divider-style,dashed) var(--ken-note-divider-color,#b5a34a); }
.ken-sticky-note h2.ken-sticky-note__title { font-weight:700!important; font-size:24px; line-height:1.35; margin:0; padding:0; color:inherit; overflow-wrap:anywhere; }
.ken-sticky-note__body { font-size:16px; line-height:1.7; padding:24px 24px 42px; overflow-x:auto; overflow-wrap:anywhere; }
.ken-sticky-note--lined .ken-sticky-note__body { background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 27px,rgba(70,82,100,.14) 27px,rgba(70,82,100,.14) 28px); background-position:0 0; }
.ken-sticky-note--grid .ken-sticky-note__body { background-image:linear-gradient(rgba(70,82,100,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(70,82,100,.12) 1px,transparent 1px); background-size:22px 22px; }
.ken-sticky-note--dots .ken-sticky-note__body { background-image:radial-gradient(circle,rgba(70,82,100,.24) 1px,transparent 1.2px); background-size:18px 18px; }
.ken-sticky-note__body>:first-child { margin-top:0; }.ken-sticky-note__body>:last-child { margin-bottom:0; }
.ken-sticky-note__body ul,.ken-sticky-note__body ol { margin:0 0 16px; padding-inline-start:24px; list-style-position:outside; }
.ken-sticky-note__body ul { list-style-type:disc; }.ken-sticky-note__body ol { list-style-type:decimal; }
.ken-sticky-note__body table { width:100%; border-collapse:collapse; margin:16px 0; }
.ken-sticky-note__body td,.ken-sticky-note__body th { border:1px solid #c5b86b; padding:10px; vertical-align:top; }
.ken-sticky-note__body th { font-weight:700; background:#e9d87240; }
.ken-sticky-note__body img { max-width:100%; height:auto; }
.ken-sticky-note--sticky { position:sticky; top:var(--ken-note-top,24px); z-index:5; align-self:flex-start; }
body.admin-bar .ken-sticky-note--sticky { top:calc(var(--ken-note-top,24px) + 32px); }
@media(max-width:767px) { .ken-sticky-note { width:100%; max-width:100%; margin:20px 0; transform:none; }.ken-sticky-note__header { padding:16px 18px; }.ken-sticky-note h2.ken-sticky-note__title { font-size:21px; }.ken-sticky-note__body { font-size:15px; padding:18px 18px 38px; }.ken-sticky-note--sticky { position:static; } }
