/*! papertooth v0.5.3 | (c) 2026 Plain Matter Pte Ltd | MIT License | github.com/tbudin/papertooth */
/* src/css/tokens.css */
:root {
  --pt-grid: 24px;
  --pt-sheet-width: 720px;
  --pt-sheet-pad: calc(var(--pt-grid) * 2);
  --pt-desk: #cdcbc5;
  --pt-desk-ink: #3a3c42;
  --pt-paper: #fefefe;
  --pt-dot: rgba(88, 86, 80, .26);
  --pt-dot-size: .8px;
  --pt-line: rgba(70, 110, 170, .24);
  --pt-line-strong: rgba(70, 110, 170, .42);
  --pt-margin-line: rgba(214, 72, 72, .45);
  --pt-grain: .1;
  --pt-guide: rgba(179, 53, 43, .28);
  --pt-ribbon-black: #24262c;
  --pt-ribbon-blue: #2b3550;
  --pt-ribbon-faded: #55565c;
  --pt-ribbon-red: #9e2b25;
  --pt-ink-sumi: #232429;
  --pt-ink-blueblack: #263252;
  --pt-ink-kon: #22305e;
  --pt-ink-ai: #213c6b;
  --pt-ink-konpeki: #1f5a9e;
  --pt-ink-tsuyukusa: #2f6db5;
  --pt-ink-asagi: #12737e;
  --pt-ink-hisoku: #3f7f77;
  --pt-ink-wakatake: #3c7a4c;
  --pt-ink-matcha: #5d7334;
  --pt-ink-uguisu: #6b6b2a;
  --pt-ink-yamabuki: #b9800f;
  --pt-ink-kaki: #c25a26;
  --pt-ink-shu: #c13d25;
  --pt-ink-beni: #a52a45;
  --pt-ink-sakura: #c2637f;
  --pt-ink-fuji: #6b5aa6;
  --pt-ink-edomurasaki: #5b3f86;
  --pt-ink-tobi: #714a36;
  --pt-ink-kakishibu: #8a5030;
  --pt-ink-nezumi: #5f6066;
  --pt-bp-blue: #2b40b0;
  --pt-bp-black: #1d1e22;
  --pt-bp-red: #c2302d;
  --pt-bp-green: #2c7a4b;
  --pt-pencil-2h: #9a9ca3;
  --pt-pencil-hb: #6a6c72;
  --pt-pencil-2b: #4d4f55;
  --pt-pencil-6b: #2f3136;
  --pt-pencil-red: #c8432f;
  --pt-pencil-vermilion: #d65a2e;
  --pt-pencil-yellow: #d9a521;
  --pt-pencil-green: #4f8a4a;
  --pt-pencil-sky: #4a90c9;
  --pt-pencil-blue: #2f62b8;
  --pt-pencil-violet: #7a5aa8;
  --pt-pencil-pink: #d0607e;
  --pt-pencil-brown: #8a5a3c;
  --pt-pencil-black: #34363b;
  --pt-hl-yellow: #fff04a;
  --pt-hl-pink: #ff8fc4;
  --pt-hl-green: #a8f28e;
  --pt-hl-orange: #ffc06a;
  --pt-hl-blue: #9fd8ff;
  --pt-stamp-red: #c0312b;
  --pt-stamp-vermilion: #d23c22;
  --pt-stamp-blue: #2a4fa8;
  --pt-stamp-green: #2f7d4a;
  --pt-stamp-pink: #e0558a;
  --pt-stamp-brown: #8a5a3c;
  --pt-ribbon: var(--pt-ribbon-black);
  --pt-pen: var(--pt-ink-ai);
  --pt-pencil: var(--pt-pencil-red);
  --pt-hl: var(--pt-hl-yellow);
  --pt-ink: var(--pt-ribbon);
  --pt-font-type:
    "Courier Prime",
    "Courier New",
    Courier,
    monospace;
  --pt-font-type-head:
    "Special Elite",
    "Courier Prime",
    "Courier New",
    monospace;
  --pt-font-hand:
    "Caveat",
    "Segoe Print",
    "Bradley Hand",
    cursive;
  --pt-font-jp:
    "Shippori Mincho B1",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  --pt-font-jp-round:
    "Zen Maru Gothic",
    "Hiragino Maru Gothic ProN",
    sans-serif;
  --pt-f-body: var(--pt-font-type);
  --pt-f-head: var(--pt-font-type-head);
  --pt-s-body: 20px;
  --pt-s-small: 16px;
  --pt-s-h1: 36px;
  --pt-s-h2: 26px;
  --pt-wobble: 1;
  --pt-tilt: 1;
  --pt-stamp-opacity: .86;
  --pt-double-strike: none;
  --pt-draw: .75s;
  --pt-ease: cubic-bezier(.5, .1, .3, 1);
  --pt-u-wobble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M1 7 C 30 4, 62 9, 100 6 S 168 3, 199 7' fill='none' stroke='%23213c6b' stroke-width='1.7' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --pt-u-slant: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M1 9 C 40 8, 120 6, 199 3' fill='none' stroke='%23213c6b' stroke-width='1.8' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --pt-u-double: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M1 4 C 50 2, 120 5, 199 3' fill='none' stroke='%23213c6b' stroke-width='1.5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M6 9 C 60 10, 130 7, 194 10' fill='none' stroke='%23213c6b' stroke-width='1.3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --pt-u-swash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M1 6 C 50 9, 120 8, 178 7 C 192 6, 198 3, 199 1' fill='none' stroke='%23213c6b' stroke-width='1.8' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --pt-u-marker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8 C 50 6, 140 7, 197 5' fill='none' stroke='%23213c6b' stroke-opacity='.85' stroke-width='3.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --pt-u-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='9' viewBox='0 0 18 9'%3E%3Cpath d='M0 5 C 3 2, 6 2, 9 5 S 15 8, 18 5' fill='none' stroke='%23213c6b' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --pt-u-second: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M5 10 C 60 11, 112 7, 196 9' fill='none' stroke='%23213c6b' stroke-width='1.3' stroke-linecap='round' stroke-opacity='.8' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --pt-r-wobble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M1 6 C 40 3, 80 8, 120 5 S 180 4, 199 7' fill='none' stroke='%2324262c' stroke-width='1.3' stroke-opacity='.8' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --pt-r-double: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M1 4 C 60 2, 140 5, 199 3' fill='none' stroke='%2324262c' stroke-width='1.2' stroke-opacity='.8' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M3 9 C 70 10, 130 7, 197 9' fill='none' stroke='%2324262c' stroke-width='1.2' stroke-opacity='.7' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --pt-r-dashes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='12' viewBox='0 0 72 12'%3E%3Cg fill='none' stroke='%2324262c' stroke-opacity='.8' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M3 6.5 C 7 5.5, 12 6, 17 5.5'/%3E%3Cpath d='M26 6 C 30 6.8, 35 6, 38 6.3'/%3E%3Cpath d='M47 5.6 C 53 5, 60 6.4, 66 6'/%3E%3C/g%3E%3C/svg%3E");
  --pt-mask-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 42' preserveAspectRatio='none'%3E%3Cpath d='M6 15 C 18 12, 30 10, 52 9 C 100 6, 150 6, 196 3 C 199 11, 200 22, 196 32 C 150 33, 110 34, 70 36 C 45 37, 25 38, 9 39 C 7 36, 5 33, 7 30 C 4 26, 6 21, 4 19 C 5 17, 4 16, 6 15 Z'/%3E%3C/svg%3E");
  --pt-mask-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 42' preserveAspectRatio='none'%3E%3Cpath d='M30 15 C 80 12, 140 11, 195 9 C 198 15, 198 22, 195 27 C 140 29, 85 31, 33 33 C 31 27, 29 21, 30 15 Z'/%3E%3C/svg%3E");
  --pt-mark-y: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M5 13 C 50 9, 120 7, 196 4 C 199 13, 199 25, 195 32 C 130 34, 60 37, 8 38 C 4 31, 3 21, 5 13 Z' fill='%23fff04a' fill-opacity='.85'/%3E%3C/svg%3E");
  --pt-box: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 50' preserveAspectRatio='none'%3E%3Cpath d='M3 5 C 60 2, 140 5, 197 3 C 198 16, 199 30, 196 45 C 130 47, 60 44, 4 46 C 2 32, 3 18, 2 7' fill='none' stroke='%2324262c' stroke-width='1.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --pt-tape-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M3 0 L197 0 L199 3 L196 7 L199 10 L196 14 L198 18 L196 22 L199 26 L196 30 L198 34 L196 37 L199 40 L3 40 L1 37 L4 33 L1 29 L3 25 L1 21 L4 17 L1 13 L3 9 L1 5 L4 2 Z'/%3E%3C/svg%3E");
  --pt-fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .25' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .45 0 0 0 0 .35 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --pt-fibre-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75 .5' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .37 0 0 0 0 .3 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --pt-torn-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 L0.0 3.3 L1.8 5.1 L3.2 4.4 L5.8 1.8 L9.0 1.7 L11.8 1.9 L13.4 3.8 L17.7 2.2 L19.7 5.0 L24.6 4.7 L27.3 6.9 L28.6 6.2 L30.9 2.3 L32.6 3.2 L36.9 2.5 L40.3 5.0 L42.9 4.5 L44.3 1.8 L46.3 5.2 L49.2 3.2 L52.6 4.0 L54.9 5.9 L58.8 2.8 L62.2 4.4 L66.7 5.5 L69.0 6.9 L70.6 3.8 L74.7 2.3 L77.8 1.7 L81.5 5.7 L84.9 6.3 L87.3 5.3 L90.7 4.7 L93.7 6.1 L98.5 4.1 L102.2 1.8 L106.0 5.1 L111.0 6.0 L113.3 3.6 L117.0 1.6 L120.0 2.4 L121.6 1.8 L125.8 2.2 L127.9 3.7 L132.4 1.9 L135.3 4.5 L139.9 6.0 L144.4 3.0 L147.1 3.5 L151.7 6.8 L153.5 2.5 L155.5 2.8 L158.6 4.7 L160.8 1.5 L163.6 3.5 L166.9 6.7 L170.8 4.3 L174.3 5.2 L175.7 6.4 L179.9 6.3 L184.1 3.7 L186.8 2.1 L190.4 1.8 L191.9 2.6 L193.7 3.4 L195.1 1.5 L196.9 2.1 L199.5 1.6 L200.0 3.0 L200 100 Z'/%3E%3C/svg%3E");
  --pt-strike: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M1 6 C 50 4, 120 6, 199 3' fill='none' stroke='%2324262c' stroke-opacity='.75' stroke-width='1.5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --pt-clip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='72' viewBox='0 0 26 72'%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Crect width='26' height='22'/%3E%3C/clipPath%3E%3CclipPath id='b'%3E%3Crect y='22' width='26' height='50'/%3E%3C/clipPath%3E%3Cfilter id='s1' x='-50%25' y='-20%25' width='200%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='.6'/%3E%3C/filter%3E%3Cfilter id='s2' x='-50%25' y='-20%25' width='200%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='1.3'/%3E%3C/filter%3E%3ClinearGradient id='m' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='26' y2='72'%3E%3Cstop offset='0' stop-color='%239aa1a8'/%3E%3Cstop offset='.5' stop-color='%236c737a'/%3E%3Cstop offset='1' stop-color='%23949ba2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg clip-path='url(%23a)' filter='url(%23s2)' opacity='.3' transform='translate(2 3)' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M19 26 V61 A6 6 0 0 1 7 61 V12 A4 4 0 0 1 15 12 M15 12 V47 A2 2 0 0 1 11 47 V30'/%3E%3C/g%3E%3Cg clip-path='url(%23b)' filter='url(%23s1)' opacity='.34' transform='translate(.9 1.4)' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M19 26 V61 A6 6 0 0 1 7 61 V12 A4 4 0 0 1 15 12'/%3E%3C/g%3E%3Cg clip-path='url(%23a)' fill='none' stroke-linecap='round'%3E%3Cpath d='M15 12 V47 A2 2 0 0 1 11 47 V30' stroke='%23737a81' stroke-width='2.1'/%3E%3Cpath d='M15 12 V47 A2 2 0 0 1 11 47 V30' stroke='%23f2f4f6' stroke-width='.5' transform='translate(-.45 -.2)' opacity='.85'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M19 26 V61 A6 6 0 0 1 7 61 V12 A4 4 0 0 1 15 12' stroke='url(%23m)' stroke-width='2.1'/%3E%3Cpath d='M19 26 V61 A6 6 0 0 1 7 61 V12 A4 4 0 0 1 15 12' stroke='%23f7f9fa' stroke-width='.5' transform='translate(-.45 -.3)' opacity='.95'/%3E%3C/g%3E%3C/svg%3E");
  --pt-grain-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .3 0 0 0 0 .3 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --pt-grain-warm-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .32 0 0 0 0 .28 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --pt-washi-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .4 4 0 0 0 -2.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --pt-fleck-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .2 0 0 0 0 .2 9 0 0 0 -6.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not(.pt-day) {
    --pt-desk: #2b2a27;
    --pt-desk-ink: #cfccc3;
  }
}
.pt-night {
  --pt-desk: #2b2a27;
  --pt-desk-ink: #cfccc3;
}
.pt-day {
  --pt-desk: #cdcbc5;
  --pt-desk-ink: #3a3c42;
}
:root {
  --pt-night-pen: #a9bde6;
  --pt-night-pencil: #ec8a74;
  --pt-night-graphite: #a3a5ac;
  --pt-night-ballpoint: #93a6ee;
  --pt-night-hl-ink: #24262c;
}
.pt-mode-hand {
  --pt-ink: var(--pt-pen);
  --pt-f-body: var(--pt-font-hand);
  --pt-f-head: var(--pt-font-hand);
  --pt-s-body: 26px;
  --pt-s-small: 22px;
  --pt-s-h1: 50px;
  --pt-s-h2: 36px;
}
@media (max-width: 600px) {
  :root {
    --pt-s-body: 16px;
    --pt-s-small: 14px;
    --pt-s-h1: 28px;
    --pt-s-h2: 22px;
    --pt-sheet-pad: var(--pt-grid);
  }
  .pt-mode-hand {
    --pt-s-body: 23px;
    --pt-s-small: 20px;
    --pt-s-h1: 40px;
    --pt-s-h2: 30px;
  }
}
:is(.pt-filters, [data-pt-filters]) {
  --pt-text-filter: url(#pt-ink-text);
  --pt-head-filter: url(#pt-ink-head);
  --pt-graphite: url(#pt-graphite);
  --pt-brush-filter: url(#pt-brush);
  --pt-stamp-filter: url(#pt-stamp);
  --pt-smudge: url(#pt-smudge-ribbon);
  --pt-smear: url(#pt-smear-ribbon);
}
:is(.pt-filters, [data-pt-filters]):is(.pt-mode-hand),
:is(.pt-filters, [data-pt-filters]) :is(.pt-mode-hand, .pt-pen-text) {
  --pt-smudge: url(#pt-smudge-pen);
  --pt-smear: url(#pt-smear-pen);
}
:is(.pt-texture-light, .pt-texture-light *) {
  --pt-head-filter: url(#pt-ink-text) !important;
}
:is(.pt-texture-off, .pt-texture-off *) {
  --pt-text-filter: initial !important;
  --pt-head-filter: initial !important;
}
:is(.pt-dry, .pt-dry *) {
  --pt-smudge: initial !important;
  --pt-smear: initial !important;
}

/* src/css/paper.css */
.pt-desk {
  background: var(--pt-desk);
  color: var(--pt-desk-ink);
}
:is(.pt-card, .pt-torn, .pt-ticket) {
  color: var(--pt-ink);
}
:root {
  --pt-day-pen: var(--pt-pen);
  --pt-day-ink: var(--pt-ink);
  --pt-day-ribbon: var(--pt-ribbon);
  --pt-day-pencil: var(--pt-pencil);
  --pt-day-graphite: var(--pt-graphite-c);
  --pt-day-ballpoint: var(--pt-ballpoint);
  --pt-day-brush: var(--pt-brush);
  --pt-day-marker: var(--pt-marker);
}
@media (prefers-color-scheme: dark) {
  :root:not(.pt-day):is(.pt-desk),
  :root:not(.pt-day) .pt-desk {
    --pt-pen: var(--pt-night-pen);
    --pt-ink: var(--pt-desk-ink);
    --pt-ribbon: var(--pt-desk-ink);
    --pt-pencil: var(--pt-night-pencil);
    --pt-graphite-c: var(--pt-night-graphite);
    --pt-ballpoint: var(--pt-night-ballpoint);
    --pt-brush: var(--pt-desk-ink);
    --pt-marker: var(--pt-desk-ink);
    --pt-blend: screen;
    --pt-hl-ink: var(--pt-night-hl-ink);
  }
  :root:not(.pt-day) :is(.pt-sheet, .pt-card, .pt-torn, .pt-ticket, .pt-sticky__paper, .pt-photo, .pt-postage, .pt-label, .pt-flag, .pt-tab) {
    --pt-pen: var(--pt-day-pen);
    --pt-ink: var(--pt-day-ink);
    --pt-ribbon: var(--pt-day-ribbon);
    --pt-pencil: var(--pt-day-pencil);
    --pt-graphite-c: var(--pt-day-graphite);
    --pt-ballpoint: var(--pt-day-ballpoint);
    --pt-brush: var(--pt-day-brush);
    --pt-marker: var(--pt-day-marker);
    --pt-blend: multiply;
    --pt-hl-ink: currentColor;
  }
}
.pt-night:is(.pt-desk),
.pt-night .pt-desk {
  --pt-pen: var(--pt-night-pen);
  --pt-ink: var(--pt-desk-ink);
  --pt-ribbon: var(--pt-desk-ink);
  --pt-pencil: var(--pt-night-pencil);
  --pt-graphite-c: var(--pt-night-graphite);
  --pt-ballpoint: var(--pt-night-ballpoint);
  --pt-brush: var(--pt-desk-ink);
  --pt-marker: var(--pt-desk-ink);
  --pt-blend: screen;
  --pt-hl-ink: var(--pt-night-hl-ink);
}
.pt-night :is(.pt-sheet, .pt-card, .pt-torn, .pt-ticket, .pt-sticky__paper, .pt-photo, .pt-postage, .pt-label, .pt-flag, .pt-tab) {
  --pt-pen: var(--pt-day-pen);
  --pt-ink: var(--pt-day-ink);
  --pt-ribbon: var(--pt-day-ribbon);
  --pt-pencil: var(--pt-day-pencil);
  --pt-graphite-c: var(--pt-day-graphite);
  --pt-ballpoint: var(--pt-day-ballpoint);
  --pt-brush: var(--pt-day-brush);
  --pt-marker: var(--pt-day-marker);
  --pt-blend: multiply;
  --pt-hl-ink: currentColor;
}
:root :is(.pt-mode-hand :is(.pt-sheet, .pt-card, .pt-torn, .pt-ticket, .pt-sticky__paper, .pt-photo, .pt-postage, .pt-label, .pt-flag, .pt-tab), :is(.pt-sheet, .pt-card, .pt-torn, .pt-ticket, .pt-sticky__paper, .pt-photo, .pt-postage, .pt-label, .pt-flag, .pt-tab).pt-mode-hand) {
  --pt-ink: var(--pt-pen);
}
.pt-sheet {
  --pt-pattern:
    radial-gradient(
      circle at calc(var(--pt-grid) / 2) calc(var(--pt-grid) / 2),
      color-mix(in srgb, var(--pt-paper) 55%, transparent) var(--pt-dot-size),
      transparent calc(var(--pt-dot-size) + .5px)),
    radial-gradient(
      circle at calc(var(--pt-grid) / 2) calc(var(--pt-grid) / 2),
      color-mix(in srgb, var(--pt-dot) 45%, transparent) calc(var(--pt-dot-size) + .25px),
      transparent calc(var(--pt-dot-size) + .9px)),
    radial-gradient(
      circle at calc(var(--pt-grid) / 2) calc(var(--pt-grid) / 2),
      var(--pt-dot) var(--pt-dot-size),
      transparent calc(var(--pt-dot-size) + .7px));
  --pt-pattern-size:
    calc(var(--pt-grid) * 5) calc(var(--pt-grid) * 3),
    calc(var(--pt-grid) * 3) calc(var(--pt-grid) * 2),
    var(--pt-grid) var(--pt-grid);
  --pt-pattern-pos: calc(var(--pt-grid) / -2) calc(var(--pt-grid) / -2);
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  color-scheme: light;
  width: min(var(--pt-sheet-width), 100%);
  margin-inline: auto;
  padding: var(--pt-sheet-pad);
  color: var(--pt-ink);
  font-family: var(--pt-f-body);
  background-color: var(--pt-paper);
  background-image: var(--pt-pattern);
  background-size: var(--pt-pattern-size);
  background-position: var(--pt-pattern-pos);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, .06),
    0 2px 2px rgba(0, 0, 0, .05),
    0 14px 30px -12px rgba(30, 30, 40, .35),
    4px 4px 0 -1px color-mix(in srgb, var(--pt-paper), #000 3%),
    4px 4px 0 0 rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  gap: var(--pt-grid);
}
@supports (width: round(down, 100%, 1px)) {
  .pt-sheet {
    width: round(down, min(var(--pt-sheet-width), 100%), var(--pt-grid));
  }
}
.pt-sheet--flat {
  box-shadow: none;
}
.pt-sheet--page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  box-shadow: none;
  --pt-side: max(var(--pt-sheet-pad), calc((100% - var(--pt-page-width, 720px)) / 2));
  padding-inline: var(--pt-side);
}
@supports (width: round(down, 100%, 1px)) {
  .pt-sheet--page {
    width: 100%;
    padding-inline: max(var(--pt-grid), round(down, var(--pt-side), var(--pt-grid)));
  }
}
body:has(> .pt-sheet--page) {
  margin: 0;
  background: var(--pt-paper);
}
.pt-sheet--page {
  display: block;
}
.pt-sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: var(--pt-grain-image);
  opacity: var(--pt-grain);
  mix-blend-mode: multiply;
}
.pt-sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  background-image:
    linear-gradient(
      to bottom,
      var(--pt-guide) 1px,
      transparent 1px);
  background-size: 100% var(--pt-grid);
  background-position: 0 -.5px;
  transition: opacity .2s;
}
:is(.pt-guides .pt-sheet, .pt-guides.pt-sheet)::before {
  opacity: 1;
}
.pt-sheet[data-ruling=grid] {
  --pt-pattern:
    linear-gradient(
      to right,
      var(--pt-line) 1px,
      transparent 1px),
    linear-gradient(
      to bottom,
      var(--pt-line) 1px,
      transparent 1px);
  --pt-pattern-size: var(--pt-grid) var(--pt-grid);
  --pt-pattern-pos: -.5px -.5px;
}
.pt-sheet[data-ruling=graph] {
  --pt-pattern:
    linear-gradient(
      to right,
      var(--pt-line-strong) 1px,
      transparent 1px),
    linear-gradient(
      to bottom,
      var(--pt-line-strong) 1px,
      transparent 1px),
    linear-gradient(
      to right,
      var(--pt-line) .5px,
      transparent .5px),
    linear-gradient(
      to bottom,
      var(--pt-line) .5px,
      transparent .5px);
  --pt-pattern-size:
    var(--pt-grid) var(--pt-grid),
    var(--pt-grid) var(--pt-grid),
    calc(var(--pt-grid) / 4) calc(var(--pt-grid) / 4),
    calc(var(--pt-grid) / 4) calc(var(--pt-grid) / 4);
  --pt-pattern-pos: -.5px -.5px;
}
.pt-sheet[data-ruling=lined] {
  --pt-pattern:
    linear-gradient(
      to right,
      transparent calc(var(--pt-sheet-pad) - 9px),
      var(--pt-margin-line) calc(var(--pt-sheet-pad) - 9px) calc(var(--pt-sheet-pad) - 8px),
      transparent calc(var(--pt-sheet-pad) - 8px)),
    linear-gradient(
      to bottom,
      var(--pt-line-strong) 1px,
      transparent 1px);
  --pt-pattern-size: 100% 100%, 100% var(--pt-grid);
  --pt-pattern-pos: 0 0, 0 -.5px;
}
.pt-sheet[data-ruling=blank] {
  --pt-pattern: none;
}
.pt-sheet[data-paper=cream] {
  --pt-paper: #f8f1df;
  --pt-grain: .2;
  --pt-grain-image: var(--pt-grain-warm-image);
  --pt-dot: rgba(110, 92, 66, .24);
  --pt-line: rgba(150, 120, 80, .22);
  --pt-line-strong: rgba(150, 120, 80, .38);
}
.pt-sheet[data-paper=washi] {
  --pt-paper: #f6f2e6;
  --pt-grain: .5;
  --pt-grain-image: var(--pt-washi-image);
  --pt-dot: rgba(96, 86, 70, .22);
  --pt-line: rgba(110, 100, 80, .2);
  --pt-line-strong: rgba(110, 100, 80, .34);
}
.pt-sheet[data-paper=kraft] {
  --pt-paper: #c9a67a;
  --pt-grain: .55;
  --pt-grain-image: var(--pt-grain-warm-image);
  --pt-dot: rgba(70, 44, 18, .3);
  --pt-line: rgba(70, 44, 18, .22);
  --pt-line-strong: rgba(70, 44, 18, .38);
  --pt-margin-line: rgba(140, 40, 30, .4);
}
.pt-sheet[data-paper=recycled] {
  --pt-paper: #e9e8e2;
  --pt-grain: .45;
  --pt-grain-image: var(--pt-fleck-image);
  --pt-dot: rgba(60, 60, 66, .24);
  --pt-line: rgba(70, 90, 120, .2);
  --pt-line-strong: rgba(70, 90, 120, .34);
}
.pt-sheet[data-paper=tracing] {
  --pt-paper: color-mix(in srgb, #f4f6f6 72%, transparent);
  --pt-grain: .15;
  --pt-dot: rgba(70, 80, 90, .22);
  --pt-line: rgba(70, 90, 120, .18);
  --pt-line-strong: rgba(70, 90, 120, .3);
  backdrop-filter: blur(1.5px);
}
@media print {
  .pt-desk {
    background: none;
  }
  .pt-sheet {
    width: auto;
    box-shadow: none;
    margin: 0;
  }
  .pt-tabs,
  .pt-btn__smear {
    display: none !important;
  }
  .pt-sheet,
  .pt-sheet * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
:is(.pt-sheet, .pt-sheet section) > :is(.pt-stamp, .pt-tape, .pt-btn, .pt-label, .pt-flag, .pt-photo, .pt-sticky, .pt-card, .pt-torn, .pt-ticket, .pt-lift, .pt-postage, .pt-approval, .pt-swatch) {
  align-self: flex-start;
}

/* src/css/type.css */
.pt-sheet :where(h1, h2, h3, h4, p, ul, ol, li, figure, blockquote) {
  margin: 0;
}
.pt-sheet :where(p, li) {
  font-size: var(--pt-s-body);
  line-height: var(--pt-grid);
  max-width: 52ch;
}
.pt-mode-hand .pt-sheet :where(p, li),
.pt-sheet.pt-mode-hand :where(p, li) {
  max-width: 34em;
}
.pt-sheet :where(h1, h2) {
  font-family: var(--pt-f-head);
  font-weight: 400;
  line-height: calc(var(--pt-grid) * 2);
  text-wrap: balance;
}
.pt-sheet :where(h1) {
  font-size: var(--pt-s-h1);
  max-width: 18em;
}
.pt-sheet :where(h2) {
  font-size: var(--pt-s-h2);
}
.pt-sheet :where(h3) {
  font-family: var(--pt-font-type);
  font-weight: 400;
  font-size: var(--pt-s-small);
  line-height: var(--pt-grid);
  opacity: .7;
}
.pt-mode-hand .pt-sheet :where(h1, h2),
.pt-sheet.pt-mode-hand :where(h1, h2) {
  font-weight: 700;
}
.pt-sheet :where(section > :is(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, figure, blockquote, pre, table, hr, details):not(:first-child)),
.pt-sheet--page > :where(:is(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, figure, blockquote, pre, table, hr, details):not(:first-child)) {
  margin-top: var(--pt-grid);
}
.pt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--pt-grid);
  align-items: center;
}
.pt-sheet :where(p, li) {
  filter: var(--pt-text-filter, );
}
.pt-sheet :where(h1, h2) {
  filter: var(--pt-head-filter, );
}
.pt-c {
  display: inline-block;
  opacity: calc(1 - (1 - var(--o, 1)) * var(--pt-wobble));
  transform: translateY(calc(var(--y, 0) * var(--pt-wobble) * 1px)) rotate(calc(var(--r, 0) * var(--pt-wobble) * 1deg));
}
.pt-mode-hand .pt-c {
  display: inline;
  transform: none;
}
.pt-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  user-select: none;
}
.pt-type {
  font-family: var(--pt-font-type);
  color: var(--pt-ribbon);
}
.pt-pen-text {
  font-family: var(--pt-font-hand);
  color: var(--pt-pen);
}
.pt-pencil-text {
  font-family: var(--pt-font-hand);
  color: var(--pt-pencil-hb);
}
.pt-note {
  font-family: var(--pt-font-hand);
  color: var(--pt-pencil);
}
.pt-sheet :is(.pt-pencil-text, .pt-note),
:is(.pt-pencil-text, .pt-note) {
  filter: var(--pt-graphite, );
}
.pt-sheet p.pt-note,
.pt-sheet p.pt-pencil-text {
  font-size: calc(var(--pt-s-body) * 1.05 + 4px);
}
.pt-sheet p.pt-pen-text {
  font-size: calc(var(--pt-s-body) * 1.05 + 6px);
}
.pt-jp {
  font-family: var(--pt-font-jp);
  font-weight: 800;
}
.pt-jp-round {
  font-family: var(--pt-font-jp-round);
  font-weight: 700;
}
.pt-typewriter {
  filter: url(#pt-typewriter);
  text-shadow: var(--pt-double-strike);
}
.pt-texture-off .pt-typewriter {
  filter: none;
}
.pt-lazy {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
.pt-sheet ::selection,
.pt-sheet::selection {
  background: color-mix(in srgb, var(--pt-hl-yellow, #fff04a) 70%, transparent);
  color: inherit;
  text-shadow: none;
}
[data-pt-selecting],
[data-pt-selecting] .pt-c {
  filter: none !important;
}

/* src/css/highlight.css */
.pt-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  height: calc(var(--pt-grid) * 2);
  padding: 0 14px;
  border: 0;
  background: none;
  color: var(--pt-ink);
  font-family: var(--pt-f-body);
  font-size: var(--pt-s-body);
  line-height: var(--pt-grid);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.pt-mode-hand .pt-btn,
.pt-btn.pt-mode-hand {
  font-weight: 600;
}
.pt-btn {
  isolation: isolate;
}
@property --pt-wipe { syntax: "<number>"; inherits: true; initial-value: 0; }
.pt-btn {
  --pt-wipe: 0;
  transition: --pt-wipe .45s cubic-bezier(.4, .6, .2, 1), transform .1s;
}
@media (hover: hover) {
  .pt-btn:hover:not(:disabled, [aria-disabled=true]) {
    --pt-wipe: 1;
  }
}
.pt-btn:active:not(:disabled, [aria-disabled=true]) {
  --pt-wipe: 1;
  transform: translateY(1px);
}
.pt-btn:is(:focus-visible, [aria-pressed=true], [aria-selected=true], [aria-expanded=true], [aria-current]:not([aria-current=false])),
details[open] > summary.pt-btn {
  --pt-wipe: 1;
}
.pt-btn:is(:disabled, [aria-disabled=true]) {
  cursor: not-allowed;
  opacity: .5;
}
.pt-btn:is(:disabled, [aria-disabled=true])::before {
  filter: grayscale(1);
}
summary.pt-btn {
  list-style: none;
}
summary.pt-btn::-webkit-details-marker {
  display: none;
}
.pt-btn__label {
  position: relative;
  filter: var(--pt-text-filter, ) var(--pt-smudge, );
  transform: translateZ(0);
}
.pt-btn--outline .pt-btn__label {
  filter: var(--pt-text-filter, );
}
.pt-btn:focus-visible {
  outline: 2px dashed var(--pt-pen);
  outline-offset: 4px;
}
.pt-btn::before,
.pt-btn::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: var(--pt-hl-inset, 6px -5px 4px -6px);
  mix-blend-mode: var(--pt-blend, multiply);
  transform-origin: left center;
  background:
    radial-gradient(
      10px 60% at var(--pt-pool-x, calc(100% - 8px)) var(--pt-pool-y, 50%),
      color-mix(in srgb, var(--pt-hl), #6b5a00 11%),
      transparent 100%),
    var(--pt-hl);
}
.pt-btn::before {
  -webkit-mask: var(--pt-mask-a) 0 0 / 100% 100% no-repeat;
  mask: var(--pt-mask-a) 0 0 / 100% 100% no-repeat;
  transform: rotate(calc(var(--pt-t1, 0deg) * var(--pt-tilt)));
  transition: transform .35s cubic-bezier(.3, .7, .2, 1);
}
.pt-btn::after {
  -webkit-mask: var(--pt-mask-b) 0 0 / 100% 100% no-repeat;
  mask: var(--pt-mask-b) 0 0 / 100% 100% no-repeat;
  opacity: .45;
  transform: scaleX(var(--pt-wipe)) rotate(calc(var(--pt-t2, 0deg) * var(--pt-tilt)));
}
:is(.pt-btn, .pt-mark, .pt-link)[data-color=yellow] {
  --pt-hl: var(--pt-hl-yellow);
}
:is(.pt-btn, .pt-mark, .pt-link)[data-color=pink] {
  --pt-hl: var(--pt-hl-pink);
}
:is(.pt-btn, .pt-mark, .pt-link)[data-color=green] {
  --pt-hl: var(--pt-hl-green);
}
:is(.pt-btn, .pt-mark, .pt-link)[data-color=orange] {
  --pt-hl: var(--pt-hl-orange);
}
:is(.pt-btn, .pt-mark, .pt-link)[data-color=blue] {
  --pt-hl: var(--pt-hl-blue);
}
.pt-btn:not(.pt-btn--outline) {
  color: var(--pt-hl-ink, var(--pt-ink));
}
.pt-btn--outline {
  padding: 0 22px;
  background-image: var(--pt-ol, var(--pt-box));
  background-size: var(--pt-ol-size, 100% 36px);
  background-position: var(--pt-ol-pos, 0 6px);
  background-repeat: no-repeat;
}
.pt-btn--outline::before {
  transform: scaleX(var(--pt-wipe)) rotate(calc(var(--pt-t1, 0deg) * var(--pt-tilt)));
  transition: none;
}
.pt-btn--outline::after {
  display: none;
}
.pt-btn__smear {
  position: absolute;
  white-space: nowrap;
  pointer-events: none;
  box-sizing: border-box;
  filter: var(--pt-smear, );
  visibility: hidden;
  clip-path: inset(var(--pt-smear-top, -80%) calc((1 - var(--pt-wipe)) * 100%) -80% -20%);
}
:is(.pt-filters, [data-pt-filters]) .pt-btn__smear {
  visibility: visible;
}
:is(.pt-dry, .pt-dry *) .pt-btn__smear {
  display: none;
}
.pt-mark {
  color: var(--pt-hl-ink, currentColor);
  padding: 0 .2em;
  margin: 0 -.2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background: var(--pt-mark, var(--pt-mark-y)) 0 var(--pt-mark-y-pos, 60%) / 100% var(--pt-mark-h, 88%) no-repeat;
  mix-blend-mode: var(--pt-blend, multiply);
}
.pt-mark > .pt-mark__ink {
  filter: var(--pt-smudge, );
}
.pt-btn[data-hl=low] .pt-btn__label {
  filter: var(--pt-text-filter, );
}
.pt-btn[data-hl=low] {
  --pt-smear-top: 55%;
}
.pt-mark[data-hl=low] > .pt-mark__ink {
  filter: none;
}
.pt-btn[data-size=fine] {
  --pt-hl-inset: 15px -4px 9px -5px;
}
.pt-btn[data-size=broad] {
  --pt-hl-inset: 1px -7px -1px -8px;
}
.pt-mark[data-size=fine] {
  --pt-mark-h: 46%;
  --pt-mark-y-pos: 92%;
}
.pt-mark[data-size=broad] {
  --pt-mark-h: 112%;
  --pt-mark-y-pos: 50%;
}
.pt-btn:not(.pt-btn--outline) .pt-btn__smear {
  display: none;
}
.pt-btn:not([data-hover=pass])::after {
  display: none;
}
.pt-btn--outline[data-hover]:not([data-hover=pass])::before {
  display: none;
}
.pt-btn--outline[data-hover]:not([data-hover=pass]) .pt-btn__smear {
  display: none;
}
.pt-link[data-hover] {
  position: relative;
}
.pt-link[data-hover]:not([data-hover=second]) {
  background-size: var(--pt-u-size), 0% 9px;
}
.pt-link[data-ul=hl][data-hover]:not([data-hover=second]) {
  background-size: 100% 82%, 0% 9px;
}
.pt-hover-ink {
  position: absolute;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
.pt-hover-ink path {
  fill: none;
  stroke: var(--pt-t-color, var(--pt-pen));
  stroke-width: calc(var(--pt-t-w, 1.8) * 1px);
  stroke-opacity: var(--pt-t-op, 1);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: calc(1 - var(--pt-wipe, 0));
  opacity: clamp(0, var(--pt-wipe, 0) * 40, 1);
}
.pt-btn:is([data-tool=graphite], [data-tool=pencil]) > .pt-hover-ink,
.pt-link:is([data-tool=graphite], [data-tool=pencil]) > .pt-hover-ink {
  filter: var(--pt-graphite, );
}
@media (prefers-reduced-motion: reduce) {
  .pt-btn {
    transition: none;
  }
}
@media (forced-colors: active) {
  .pt-btn {
    border: 1px solid ButtonBorder;
  }
  .pt-btn:is([aria-pressed=true], [aria-selected=true], [aria-expanded=true], [aria-current]:not([aria-current=false])),
  details[open] > summary.pt-btn {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
  .pt-btn:is(:disabled, [aria-disabled=true]) {
    color: GrayText;
    border-color: GrayText;
  }
}

/* src/css/lines.css */
@property --pt-wipe { syntax: "<number>"; inherits: true; initial-value: 0; }
.pt-link {
  --pt-wipe: 0;
  --pt-u: var(--pt-u-wobble);
  --pt-u-size: 100% 9px;
  --pt-u-repeat: no-repeat;
  display: inline;
  color: var(--pt-pen);
  text-decoration: none;
  padding-bottom: 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: var(--pt-u), var(--pt-u-second);
  background-repeat: var(--pt-u-repeat), no-repeat;
  background-position: 0 100%, 0 100%;
  background-size: var(--pt-u-size), calc(var(--pt-wipe) * 100%) 9px;
  transition: --pt-wipe .45s cubic-bezier(.4, .6, .2, 1);
}
@media (hover: hover) {
  .pt-link:hover:not(:disabled, [aria-disabled=true]) {
    --pt-wipe: 1;
  }
}
.pt-link:active:not(:disabled, [aria-disabled=true]) {
  --pt-wipe: 1;
}
.pt-link:is(:focus-visible, [aria-pressed=true], [aria-selected=true], [aria-expanded=true], [aria-current]:not([aria-current=false])),
details[open] > summary.pt-link {
  --pt-wipe: 1;
}
.pt-link:focus-visible {
  outline: 2px dashed var(--pt-pen);
  outline-offset: 4px;
}
.pt-link:visited {
  color: var(--pt-visited, color-mix(in srgb, var(--pt-pen) 70%, var(--pt-ink)));
}
.pt-link:is(:disabled, [aria-disabled=true]) {
  cursor: not-allowed;
  opacity: .5;
}
button.pt-link {
  margin: 0;
  padding: 0 0 3px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  cursor: pointer;
}
summary.pt-link {
  cursor: pointer;
}
summary.pt-link::-webkit-details-marker {
  display: none;
}
.pt-link[data-ul=slant] {
  --pt-u: var(--pt-u-slant);
}
.pt-link[data-ul=double] {
  --pt-u: var(--pt-u-double);
  --pt-u-size: 100% 10px;
}
.pt-link[data-ul=swash] {
  --pt-u: var(--pt-u-swash);
}
.pt-link[data-ul=marker] {
  --pt-u: var(--pt-u-marker);
}
.pt-link[data-ul=wave] {
  --pt-u: var(--pt-u-wave);
  --pt-u-size: 18px 9px;
  --pt-u-repeat: repeat-x;
}
.pt-link[data-ul=double] {
  background-size: 100% 10px, 0% 9px;
}
.pt-link[data-ul=hl] {
  background-image: var(--pt-mark-y), var(--pt-u-wobble);
  background-size: 100% 82%, calc(var(--pt-wipe) * 100%) 9px;
  background-position: 0 70%, 0 100%;
}
@media (prefers-reduced-motion: reduce) {
  .pt-link {
    transition: none;
  }
}
@media (forced-colors: active) {
  .pt-link {
    text-decoration: underline;
  }
  .pt-link:is(:hover, :focus-visible, [aria-pressed=true], [aria-selected=true], [aria-expanded=true], [aria-current]:not([aria-current=false])) {
    text-decoration-thickness: 3px;
  }
}
.pt-rule {
  --pt-r: var(--pt-r-wobble);
  height: var(--pt-grid);
  border: 0;
  margin: 0;
  background: var(--pt-r) center / 100% 12px no-repeat;
}
.pt-rule[data-rule=double] {
  --pt-r: var(--pt-r-double);
}
.pt-rule[data-rule=dashes] {
  background: var(--pt-r-dashes) left center / 72px 12px repeat-x;
}
.pt-rule[data-rule=short] {
  width: calc(var(--pt-grid) * 6);
  margin-inline: auto;
}
.pt-rule:is([data-rule=brush], [data-rule=coil], [data-rule=scrawl]) {
  background: var(--pt-r-wobble) center / 100% 12px no-repeat;
}
.pt-rule[data-pt-painted]:not([data-rule=stars]) {
  background: var(--pt-gen) center / 100% 100% no-repeat;
}
.pt-rule[data-rule=stars] {
  background: none;
  display: flex;
  justify-content: center;
}
.pt-rule[data-rule=stars]::before {
  content: "*\a0\a0\a0*\a0\a0\a0*";
  font-family: var(--pt-font-type);
  font-size: 20px;
  line-height: var(--pt-grid);
  color: var(--pt-ribbon);
  filter: var(--pt-text-filter, );
}

/* src/css/marks.css */
.pt-anno {
  --pt-ox: 4px;
  --pt-oy: 2px;
  --pt-anno: var(--pt-pencil);
  position: relative;
  white-space: nowrap;
}
.pt-anno[data-wrap] {
  white-space: normal;
}
.pt-anno[data-wrap]:not([data-anno=strike], [data-anno=under], [data-anno=cross]) {
  display: inline-block;
  max-width: 100%;
}
.pt-anno[data-anno=circle] {
  --pt-ox: 11px;
  --pt-oy: 7px;
}
.pt-anno[data-anno=box] {
  --pt-ox: 5px;
  --pt-oy: 1px;
}
.pt-anno[data-anno=strike] {
  --pt-ox: 3px;
  --pt-oy: -2px;
}
.pt-anno[data-anno=cross] {
  --pt-ox: 4px;
  --pt-oy: -1px;
}
.pt-anno[data-anno=under] {
  --pt-ox: 2px;
  --pt-oy: 0px;
}
.pt-anno[data-anno=hatch] {
  --pt-ox: 3px;
  --pt-oy: -1px;
  --pt-anno: var(--pt-pencil-hb);
}
.pt-anno[data-anno=hanamaru] {
  --pt-ox: 22px;
  --pt-oy: 16px;
}
.pt-anno[data-anno=x] {
  --pt-ox: 3px;
  --pt-oy: 2px;
}
.pt-anno[data-tool=pen] {
  --pt-anno: var(--pt-pen);
}
.pt-anno[data-tool=graphite] {
  --pt-anno: var(--pt-pencil-hb);
}
.pt-anno__ink {
  position: absolute;
  pointer-events: none;
  overflow: visible;
  left: calc(var(--pt-ox) * -1);
  top: calc(var(--pt-oy) * -1);
  width: calc(100% + var(--pt-ox) * 2);
  height: calc(100% + var(--pt-oy) * 2);
}
.pt-anno[data-anno=under] > .pt-anno__ink {
  top: auto;
  bottom: -7px;
  height: 11px;
}
.pt-anno[data-anno=hatch] > .pt-anno__ink {
  z-index: -1;
}
.pt-anno:is([data-tool=graphite], [data-anno=hatch]) > .pt-anno__ink {
  filter: var(--pt-graphite, );
}
.pt-anno__ink path,
.pt-draw-path {
  fill: none;
  stroke: var(--pt-anno);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
}
.pt-anno[data-anno=hatch] .pt-anno__ink path {
  stroke-width: 1.1;
  stroke-opacity: .7;
}
.pt-stamp {
  --pt-rot: 0deg;
  color: var(--pt-stamp, var(--pt-stamp-red));
  display: inline-block;
  transform: rotate(calc(var(--pt-rot) * var(--pt-tilt)));
  opacity: var(--pt-stamp-opacity);
  filter: var(--pt-stamp-filter, );
  mix-blend-mode: var(--pt-blend, multiply);
}
.pt-stamp svg {
  display: block;
}
.pt-stamp[data-pic] {
  width: var(--pt-pic-size, 60px);
  aspect-ratio: var(--pt-pic-ratio, 1);
  vertical-align: middle;
}
.pt-stamp[data-pic]::before {
  content: "";
  display: block;
  height: 100%;
  background: currentColor;
  -webkit-mask: var(--pt-pic) center / contain no-repeat;
  mask: var(--pt-pic) center / contain no-repeat;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.pt-stamp--box {
  font-family: var(--pt-font-type);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1;
  letter-spacing: .14em;
  padding: 10px 14px 8px;
  border: 3px solid currentColor;
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px var(--pt-paper), inset 0 0 0 4px currentColor;
}
.pt-stamp--round {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 3px solid currentColor;
  border-radius: 50%;
  font-family: var(--pt-font-jp);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
}
:is(.pt-stamp, .pt-datestamp)[data-ink=red] {
  --pt-stamp: var(--pt-stamp-red);
}
:is(.pt-stamp, .pt-datestamp)[data-ink=vermilion] {
  --pt-stamp: var(--pt-stamp-vermilion);
}
:is(.pt-stamp, .pt-datestamp)[data-ink=blue] {
  --pt-stamp: var(--pt-stamp-blue);
}
:is(.pt-stamp, .pt-datestamp)[data-ink=green] {
  --pt-stamp: var(--pt-stamp-green);
}
:is(.pt-stamp, .pt-datestamp)[data-ink=pink] {
  --pt-stamp: var(--pt-stamp-pink);
}
:is(.pt-stamp, .pt-datestamp)[data-ink=brown] {
  --pt-stamp: var(--pt-stamp-brown);
}
.pt-stamps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pt-grid);
  align-items: center;
}
.pt-approval {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 72px;
  border: 1.5px solid var(--pt-ribbon);
  color: var(--pt-ribbon);
  font-family: var(--pt-font-jp);
  font-weight: 800;
}
.pt-approval > * {
  display: grid;
  grid-template-rows: 24px 72px;
  border-left: 1.5px solid var(--pt-ribbon);
}
.pt-approval > :first-child {
  border-left: 0;
}
.pt-approval__head {
  display: grid;
  place-items: center;
  border-bottom: 1.5px solid var(--pt-ribbon);
  font-size: 14px;
  line-height: 1;
}
.pt-approval__cell {
  display: grid;
  place-items: center;
}

/* src/css/pictures.css */
.pt-stamp[data-pic=tick] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='56'%3E%3Crect width='56' height='56'/%3E%3Ccircle cx='28' cy='28' r='25' fill='none' stroke='%23fff' stroke-width='3'/%3E%3Cpath d='M16 29 L25 38 L41 19' fill='none' stroke='%23fff' stroke-width='5.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Crect width='56' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 56;
}
.pt-stamp[data-pic=star] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='56'%3E%3Crect width='56' height='56'/%3E%3Ccircle cx='28' cy='28' r='25' fill='none' stroke='%23fff' stroke-width='3'/%3E%3Cpath d='M28 12 L32.6 22.6 L44 23.6 L35.3 31.1 L38 42.4 L28 36.4 L18 42.4 L20.7 31.1 L12 23.6 L23.4 22.6 Z' fill='%23fff'/%3E%3C/mask%3E%3Crect width='56' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 56;
}
.pt-stamp[data-pic=heart] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='56'%3E%3Crect width='56' height='56'/%3E%3Ccircle cx='28' cy='28' r='25' fill='none' stroke='%23fff' stroke-width='3'/%3E%3Cpath d='M28 41 C 14 32, 13 24, 16 19.5 C 19.5 14.5, 26 15.5, 28 21 C 30 15.5, 36.5 14.5, 40 19.5 C 43 24, 42 32, 28 41 Z' fill='%23fff'/%3E%3C/mask%3E%3Crect width='56' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 56;
}
.pt-stamp[data-pic=arrow] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='56'%3E%3Crect width='56' height='56'/%3E%3Ccircle cx='28' cy='28' r='25' fill='none' stroke='%23fff' stroke-width='3'/%3E%3Cpath d='M14 28 H40 M31 19 L41 28 L31 37' fill='none' stroke='%23fff' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Crect width='56' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 56;
}
.pt-stamp[data-pic=cat] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='56'%3E%3Crect width='56' height='56'/%3E%3Cpath d='M11 26 L13 10 L22.5 17 Q28 15.5 33.5 17 L43 10 L45 26 Q46.5 42 28 43 Q9.5 42 11 26 Z' fill='none' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3Ccircle cx='22' cy='28' r='2' fill='%23fff'/%3E%3Ccircle cx='34' cy='28' r='2' fill='%23fff'/%3E%3Cpath d='M26.6 32 H29.4 L28 33.8 Z' fill='%23fff'/%3E%3Cpath d='M6 31 L17 32.4 M6 36.5 L17 34.4 M50 31 L39 32.4 M50 36.5 L39 34.4' stroke='%23fff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/mask%3E%3Crect width='56' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 56;
}
.pt-stamp[data-pic=onigiri] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='56'%3E%3Crect width='56' height='56'/%3E%3Cpath d='M28 8 C 31 8, 33 10, 35 13 L 46 33 C 49 39, 46 46, 39 46 L 17 46 C 10 46, 7 39, 10 33 L 21 13 C 23 10, 25 8, 28 8 Z' fill='none' stroke='%23fff' stroke-width='3'/%3E%3Crect x='21' y='35' width='14' height='11' fill='%23fff'/%3E%3Ccircle cx='23' cy='27' r='1.9' fill='%23fff'/%3E%3Ccircle cx='33' cy='27' r='1.9' fill='%23fff'/%3E%3Cpath d='M25.5 30.5 Q28 33 30.5 30.5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/mask%3E%3Crect width='56' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 56;
}
.pt-stamp[data-pic=sakura] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='56'%3E%3Crect width='56' height='56'/%3E%3Cg fill='%23fff'%3E%3Cpath d='M28 27 C 21 20, 21 11, 25.5 8.5 L28 11.5 L30.5 8.5 C 35 11, 35 20, 28 27 Z' transform='rotate(0 28 28)'/%3E%3Cpath d='M28 27 C 21 20, 21 11, 25.5 8.5 L28 11.5 L30.5 8.5 C 35 11, 35 20, 28 27 Z' transform='rotate(72 28 28)'/%3E%3Cpath d='M28 27 C 21 20, 21 11, 25.5 8.5 L28 11.5 L30.5 8.5 C 35 11, 35 20, 28 27 Z' transform='rotate(144 28 28)'/%3E%3Cpath d='M28 27 C 21 20, 21 11, 25.5 8.5 L28 11.5 L30.5 8.5 C 35 11, 35 20, 28 27 Z' transform='rotate(216 28 28)'/%3E%3Cpath d='M28 27 C 21 20, 21 11, 25.5 8.5 L28 11.5 L30.5 8.5 C 35 11, 35 20, 28 27 Z' transform='rotate(288 28 28)'/%3E%3C/g%3E%3Ccircle cx='28' cy='28' r='3' fill='%23000'/%3E%3C/mask%3E%3Crect width='56' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 56;
}
.pt-stamp[data-pic=cloud] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='66' height='56'%3E%3Crect width='66' height='56'/%3E%3Cpath d='M15 44 C 7.5 44, 5 35.5, 11 32 C 9 24, 17 18.5, 24 22 C 26 13, 39 11, 43 19.5 C 49 16, 57 21, 55 28.5 C 61.5 30.5, 61 44, 52 44 Z' fill='none' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3Ccircle cx='26' cy='32' r='2' fill='%23fff'/%3E%3Ccircle cx='40' cy='32' r='2' fill='%23fff'/%3E%3Cpath d='M29.5 36.5 Q33 39.5 36.5 36.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3Cellipse cx='21' cy='37' rx='2.6' ry='1.4' fill='%23fff' opacity='.45'/%3E%3Cellipse cx='45' cy='37' rx='2.6' ry='1.4' fill='%23fff' opacity='.45'/%3E%3C/mask%3E%3Crect width='66' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 66 / 56;
}
.pt-stamp[data-pic=paw] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='56'%3E%3Crect width='56' height='56'/%3E%3Cg fill='%23fff'%3E%3Cpath d='M28 30 C 36 30, 42 36, 41 42 C 40 47, 34 47.5, 28 46 C 22 47.5, 16 47, 15 42 C 14 36, 20 30, 28 30 Z'/%3E%3Cellipse cx='14.5' cy='27' rx='4.2' ry='5.4' transform='rotate(-18 14.5 27)'/%3E%3Cellipse cx='23' cy='18.5' rx='4.4' ry='5.8' transform='rotate(-6 23 18.5)'/%3E%3Cellipse cx='33' cy='18.5' rx='4.4' ry='5.8' transform='rotate(6 33 18.5)'/%3E%3Cellipse cx='41.5' cy='27' rx='4.2' ry='5.4' transform='rotate(18 41.5 27)'/%3E%3C/g%3E%3C/mask%3E%3Crect width='56' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 56;
}
.pt-stamp[data-pic=daruma] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 60'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='60'%3E%3Crect width='56' height='60'/%3E%3Cdefs%3E%3Cmask id='dm'%3E%3Crect width='56' height='60' fill='%23fff'/%3E%3Cellipse cx='28' cy='27' rx='13' ry='11' fill='%23000'/%3E%3C/mask%3E%3C/defs%3E%3Cpath d='M28 5 C 43 5, 50 17, 50 31 C 50 46, 41 55, 28 55 C 15 55, 6 46, 6 31 C 6 17, 13 5, 28 5 Z' fill='%23fff' mask='url(%23dm)'/%3E%3Ccircle cx='22' cy='26' r='3.6' fill='%23fff'/%3E%3Ccircle cx='34' cy='26' r='3.6' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3Cpath d='M17 20.5 Q22 18 26 21 M30 21 Q34 18 39 20.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M21 33 Q25 30.5 28 33 Q31 30.5 35 33' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M20 46 Q28 41 36 46' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' opacity='.9'/%3E%3C/mask%3E%3Crect width='56' height='60' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 60;
}
.pt-stamp[data-pic=fuji] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='64' height='56'%3E%3Crect width='64' height='56'/%3E%3Cdefs%3E%3Cmask id='fm'%3E%3Crect width='64' height='56' fill='%23fff'/%3E%3Cpath d='M24.5 21 C 28 17, 36 17, 39.5 21 L 44 27.5 L 39.5 25.5 L 36 29 L 32 25.5 L 28 29 L 24.5 25.5 L 20 27.5 Z' fill='%23000'/%3E%3C/mask%3E%3C/defs%3E%3Ccircle cx='48' cy='13' r='6' fill='%23fff'/%3E%3Cpath d='M4 48 L 24.5 21 C 28 17, 36 17, 39.5 21 L 60 48 Z' fill='%23fff' mask='url(%23fm)'/%3E%3Cpath d='M4 52 H60' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/mask%3E%3Crect width='64' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 64 / 56;
}
.pt-stamp[data-pic=sun] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='56'%3E%3Crect width='56' height='56'/%3E%3Ccircle cx='28' cy='28' r='12.5' fill='none' stroke='%23fff' stroke-width='3'/%3E%3Cg stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M28 7.5 V11.5' transform='rotate(0 28 28)'/%3E%3Cpath d='M28 7.5 V11.5' transform='rotate(45 28 28)'/%3E%3Cpath d='M28 7.5 V11.5' transform='rotate(90 28 28)'/%3E%3Cpath d='M28 7.5 V11.5' transform='rotate(135 28 28)'/%3E%3Cpath d='M28 7.5 V11.5' transform='rotate(180 28 28)'/%3E%3Cpath d='M28 7.5 V11.5' transform='rotate(225 28 28)'/%3E%3Cpath d='M28 7.5 V11.5' transform='rotate(270 28 28)'/%3E%3Cpath d='M28 7.5 V11.5' transform='rotate(315 28 28)'/%3E%3C/g%3E%3Ccircle cx='23.5' cy='26' r='1.8' fill='%23fff'/%3E%3Ccircle cx='32.5' cy='26' r='1.8' fill='%23fff'/%3E%3Cpath d='M23 31 Q28 35.5 33 31' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/mask%3E%3Crect width='56' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 56;
}
.pt-stamp[data-pic=frog] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='56'%3E%3Crect width='56' height='56'/%3E%3Ccircle cx='18.5' cy='17' r='8' fill='%23fff'/%3E%3Ccircle cx='37.5' cy='17' r='8' fill='%23fff'/%3E%3Cellipse cx='28' cy='34' rx='22' ry='15' fill='%23fff'/%3E%3Ccircle cx='18.5' cy='16.5' r='5' fill='%23000'/%3E%3Ccircle cx='37.5' cy='16.5' r='5' fill='%23000'/%3E%3Ccircle cx='19.2' cy='17.4' r='2.4' fill='%23fff'/%3E%3Ccircle cx='36.8' cy='17.4' r='2.4' fill='%23fff'/%3E%3Ccircle cx='25.4' cy='29' r='1.1' fill='%23000'/%3E%3Ccircle cx='30.6' cy='29' r='1.1' fill='%23000'/%3E%3Cpath d='M16.5 35.5 Q28 45 39.5 35.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3Cellipse cx='12.5' cy='37' rx='2.8' ry='1.8' fill='%23000' opacity='.55'/%3E%3Cellipse cx='43.5' cy='37' rx='2.8' ry='1.8' fill='%23000' opacity='.55'/%3E%3C/mask%3E%3Crect width='56' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 56;
}
.pt-stamp[data-pic=bear] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='56'%3E%3Crect width='56' height='56'/%3E%3Ccircle cx='14' cy='17' r='7' fill='none' stroke='%23fff' stroke-width='2.6'/%3E%3Ccircle cx='42' cy='17' r='7' fill='none' stroke='%23fff' stroke-width='2.6'/%3E%3Ccircle cx='14' cy='17' r='3' fill='%23fff'/%3E%3Ccircle cx='42' cy='17' r='3' fill='%23fff'/%3E%3Ccircle cx='28' cy='31.5' r='18' fill='%23000' stroke='%23fff' stroke-width='2.8'/%3E%3Cellipse cx='28' cy='37.5' rx='8.5' ry='6.4' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cellipse cx='28' cy='34.6' rx='3.2' ry='2.3' fill='%23fff'/%3E%3Cpath d='M28 36.8 V39.4 M24.6 40.6 Q28 43 31.4 40.6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='20.5' cy='27.5' r='2.2' fill='%23fff'/%3E%3Ccircle cx='35.5' cy='27.5' r='2.2' fill='%23fff'/%3E%3C/mask%3E%3Crect width='56' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 56;
}
.pt-stamp[data-pic=tiger] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='56'%3E%3Crect width='56' height='56'/%3E%3Cpath d='M12 24 L12.5 9.5 L24.5 15.5 Z' fill='%23fff' stroke='%23fff' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M44 24 L43.5 9.5 L31.5 15.5 Z' fill='%23fff' stroke='%23fff' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cellipse cx='28' cy='31.5' rx='19.5' ry='17' fill='%23000' stroke='%23fff' stroke-width='2.8'/%3E%3Cpath d='M22.5 19.5 H33.5 M23.4 23.3 H32.6 M22.5 27.1 H33.5 M28 19.5 V27.1' fill='none' stroke='%23fff' stroke-width='2.1' stroke-linecap='round'/%3E%3Cpath d='M9.8 29.5 H16 M10.4 35 H15.4 M46.2 29.5 H40 M45.6 35 H40.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3Cellipse cx='20.8' cy='31' rx='2.2' ry='2.5' fill='%23fff'/%3E%3Cellipse cx='35.2' cy='31' rx='2.2' ry='2.5' fill='%23fff'/%3E%3Cpath d='M25.4 36.2 H30.6 L28 39 Z' fill='%23fff' stroke='%23fff' stroke-width='1.2' stroke-linejoin='round'/%3E%3Cpath d='M28 39 Q26.2 42.6 23.4 41.4 M28 39 Q29.8 42.6 32.6 41.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/mask%3E%3Crect width='56' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 56;
}
.pt-stamp[data-pic=rabbit] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='56'%3E%3Crect width='56' height='56'/%3E%3Cpath d='M20.5 27 C 14.5 19, 14 4.5, 19 4 C 24 3.5, 25.5 17, 24.5 26' fill='%23000' stroke='%23fff' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M35.5 27 C 41.5 19, 42 4.5, 37 4 C 32 3.5, 30.5 17, 31.5 26' fill='%23000' stroke='%23fff' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M19.6 10 C 18.6 14.5, 19.4 19, 21.2 22.5 M36.4 10 C 37.4 14.5, 36.6 19, 34.8 22.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3Cellipse cx='28' cy='37.5' rx='17.5' ry='13.5' fill='%23000' stroke='%23fff' stroke-width='2.8'/%3E%3Ccircle cx='21.5' cy='35.5' r='2.2' fill='%23fff'/%3E%3Ccircle cx='34.5' cy='35.5' r='2.2' fill='%23fff'/%3E%3Cpath d='M26.4 39.6 H29.6 L28 41.4 Z' fill='%23fff' stroke='%23fff' stroke-width='1' stroke-linejoin='round'/%3E%3Cpath d='M28 41.4 Q26.6 43.8 24.4 43 M28 41.4 Q29.4 43.8 31.6 43' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3Cellipse cx='17' cy='41' rx='2.8' ry='1.7' fill='%23fff' opacity='.45'/%3E%3Cellipse cx='39' cy='41' rx='2.8' ry='1.7' fill='%23fff' opacity='.45'/%3E%3C/mask%3E%3Crect width='56' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 56;
}
.pt-stamp[data-pic=tanuki] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='56'%3E%3Crect width='56' height='56'/%3E%3Cpath d='M28 5 C 34.5 6, 35.5 11.5, 28 14.5 C 20.5 11.5, 21.5 6, 28 5 Z' fill='%23fff'/%3E%3Cpath d='M28 6.5 V13' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='15' cy='20' r='5.2' fill='%23fff'/%3E%3Ccircle cx='41' cy='20' r='5.2' fill='%23fff'/%3E%3Ccircle cx='15' cy='20' r='2.1' fill='%23000'/%3E%3Ccircle cx='41' cy='20' r='2.1' fill='%23000'/%3E%3Cellipse cx='28' cy='33' rx='19' ry='16' fill='%23000' stroke='%23fff' stroke-width='2.8'/%3E%3Cpath d='M26.6 31.5 C 23.5 26.5, 15.5 26, 11.6 30.5 C 10 33.5, 11.6 38.5, 15.5 38.2 C 19 37.8, 21.5 34.2, 26.6 31.5 Z' fill='%23fff'/%3E%3Cpath d='M29.4 31.5 C 32.5 26.5, 40.5 26, 44.4 30.5 C 46 33.5, 44.4 38.5, 40.5 38.2 C 37 37.8, 34.5 34.2, 29.4 31.5 Z' fill='%23fff'/%3E%3Ccircle cx='19.6' cy='31.2' r='1.9' fill='%23000'/%3E%3Ccircle cx='36.4' cy='31.2' r='1.9' fill='%23000'/%3E%3Cellipse cx='28' cy='36.4' rx='3' ry='2.1' fill='%23fff'/%3E%3Cpath d='M28 38.4 V40.4 M24.6 41.8 Q28 44.2 31.4 41.8' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round'/%3E%3C/mask%3E%3Crect width='56' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 56;
}
.pt-stamp[data-pic=owl] {
  --pt-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cmask id='pt' maskUnits='userSpaceOnUse' x='0' y='0' width='56' height='56'%3E%3Crect width='56' height='56'/%3E%3Cpath d='M14.5 18 L12.5 7.5 L21.5 12.5 Q28 10.8 34.5 12.5 L43.5 7.5 L41.5 18 C 46 28, 45 44, 28 51 C 11 44, 10 28, 14.5 18 Z' fill='%23000' stroke='%23fff' stroke-width='2.8' stroke-linejoin='round'/%3E%3Ccircle cx='21.5' cy='24' r='6' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3Ccircle cx='34.5' cy='24' r='6' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3Ccircle cx='21.5' cy='24.5' r='2.6' fill='%23fff'/%3E%3Ccircle cx='34.5' cy='24.5' r='2.6' fill='%23fff'/%3E%3Cpath d='M25.8 29.5 H30.2 L28 33.5 Z' fill='%23fff' stroke='%23fff' stroke-width='1' stroke-linejoin='round'/%3E%3Cpath d='M20.5 38.5 q2 2.6 4 0 q2 2.6 4 0 q2 2.6 4 0 q2 2.6 4 0 M22.5 43.5 q2 2.6 4 0 q2 2.6 4 0 q2 2.6 4 0' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M24 51 V54 M32 51 V54' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/mask%3E%3Crect width='56' height='56' mask='url(%23pt)'/%3E%3C/svg%3E");
  --pt-pic-ratio: 56 / 56;
}

/* src/css/goods.css */
.pt-tape {
  --pt-rot: 0deg;
  --pt-sheen:
    linear-gradient(
      to bottom,
      rgba(255,255,255,.18),
      rgba(255,255,255,0) 40%,
      rgba(0,0,0,.04));
  --pt-crepe:
    repeating-linear-gradient(
      90deg,
      rgba(120,100,60,.05) 0 1px,
      transparent 1px 3px,
      rgba(255,255,255,.12) 3px 4px,
      transparent 4px 7px,
      rgba(120,100,60,.035) 7px 8px,
      transparent 8px 11px);
  display: block;
  width: 132px;
  height: 30px;
  transform: rotate(calc(var(--pt-rot) * var(--pt-tilt)));
  background:
    var(--pt-sheen),
    var(--pt-crepe),
    var(--pt-fibre-soft, var(--pt-fibre)),
    #efe4c6;
  mix-blend-mode: var(--pt-blend, multiply);
  -webkit-mask: var(--pt-tape-mask) 0 0 / 100% 100% no-repeat;
  mask: var(--pt-tape-mask) 0 0 / 100% 100% no-repeat;
}
.pt-tape[data-tape=kraft] {
  background:
    var(--pt-sheen),
    var(--pt-crepe),
    var(--pt-fibre),
    #c9a36d;
}
.pt-tape:not([data-tape]):not(.pt-tape--text),
.pt-tape:is([data-tape=masking], [data-tape=kraft]) {
  opacity: .94;
}
.pt-tape:is([data-tape=stripes], [data-tape=dots], [data-tape=gingham], [data-tape=seigaiha], [data-tape=clear]) {
  mix-blend-mode: normal;
}
.pt-tape[data-tape=stripes] {
  background:
    var(--pt-sheen),
    repeating-linear-gradient(
      -45deg,
      #f39bb9 0 7px,
      #fde6ee 7px 14px);
}
.pt-tape[data-tape=dots] {
  background:
    var(--pt-sheen),
    radial-gradient(
      circle,
      #2f62b3 2.2px,
      transparent 2.8px) 0 0 / 11px 11px,
    #d2e4f7;
}
.pt-tape[data-tape=gingham] {
  background:
    var(--pt-sheen),
    repeating-linear-gradient(
      to right,
      rgba(74, 140, 104, .45) 0 6px,
      transparent 6px 12px),
    repeating-linear-gradient(
      to bottom,
      rgba(74, 140, 104, .45) 0 6px,
      transparent 6px 12px),
    #fbfaf5;
}
.pt-tape[data-tape=seigaiha] {
  background:
    var(--pt-sheen),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10' viewBox='0 0 20 10'%3E%3Cg fill='%23fbf8f0' stroke='%23284a8c' stroke-width='.9'%3E%3Ccircle cx='10' cy='5' r='9.4'/%3E%3Ccircle cx='10' cy='5' r='6.4'/%3E%3Ccircle cx='10' cy='5' r='3.4'/%3E%3Ccircle cx='0' cy='10' r='9.4'/%3E%3Ccircle cx='0' cy='10' r='6.4'/%3E%3Ccircle cx='0' cy='10' r='3.4'/%3E%3Ccircle cx='20' cy='10' r='9.4'/%3E%3Ccircle cx='20' cy='10' r='6.4'/%3E%3Ccircle cx='20' cy='10' r='3.4'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 20px 10px,
    #fbf8f0;
}
.pt-tape[data-tape=clear] {
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, .8) 0 1px,
      rgba(255, 255, 255, .32) 1px 30%,
      rgba(255, 255, 255, .1) 55%,
      rgba(255, 255, 255, .34) calc(100% - 1px),
      rgba(150, 160, 170, .35) calc(100% - 1px)),
    linear-gradient(
      100deg,
      transparent 18%,
      rgba(255, 255, 255, .4) 28%,
      transparent 40%),
    rgba(186, 198, 210, .32);
  box-shadow: inset 0 0 0 1px rgba(150, 160, 172, .28);
}
.pt-sticky {
  --pt-rot: 0deg;
  --pt-note-paper: #fff4a3;
  --pt-note-w: 8;
  --pt-note-h: 8;
  --pt-note-shadow: color-mix(in srgb, var(--pt-note-paper) 25%, rgba(48, 40, 20, .55));
  position: relative;
  width: calc(var(--pt-grid) * var(--pt-note-w));
  height: fit-content;
  transform: rotate(calc(var(--pt-rot) * var(--pt-tilt)));
  z-index: 0;
}
.pt-sticky[data-ratio=wide] {
  --pt-note-w: 12;
  --pt-note-h: 7;
}
.pt-sticky[data-ratio=tall] {
  --pt-note-w: 7;
  --pt-note-h: 10;
}
.pt-sticky[data-ratio=small] {
  --pt-note-w: 5;
  --pt-note-h: 4;
}
.pt-sticky[data-ratio=strip] {
  --pt-note-w: 10;
  --pt-note-h: 3;
}
.pt-sticky::before,
.pt-sticky::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 10px;
  width: 42%;
  height: 22%;
  box-shadow: 0 11px 9px -1px var(--pt-note-shadow);
  border-radius: 50%;
}
.pt-sticky::before {
  left: 7px;
  transform: rotate(-3deg);
}
.pt-sticky::after {
  right: 7px;
  transform: rotate(3deg);
}
.pt-sticky__paper {
  position: relative;
  min-height: calc(var(--pt-grid) * var(--pt-note-h));
  padding: 26px 18px 20px;
  box-sizing: border-box;
  background:
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--pt-note-paper), #fff 26%) 0,
      var(--pt-note-paper) 20%,
      var(--pt-note-paper) 80%,
      color-mix(in srgb, var(--pt-note-paper), #fff 12%) 100%),
    var(--pt-note-paper);
  box-shadow: 0 .5px 1.5px rgba(48, 40, 20, .16);
}
.pt-sticky:is([data-ratio=small], [data-ratio=strip]) .pt-sticky__paper {
  padding: 14px 14px 10px;
}
.pt-sticky__paper p {
  font-family: var(--pt-font-hand);
  font-size: 25px;
  line-height: 24px;
  color: var(--pt-pen);
  max-width: none;
}
.pt-sticky[data-color=pink] {
  --pt-note-paper: #ffd0de;
}
.pt-sticky[data-color=mint] {
  --pt-note-paper: #cdf0dc;
}
.pt-sticky[data-color=blue] {
  --pt-note-paper: #d3e6fb;
}
.pt-sticky[data-color=orange] {
  --pt-note-paper: #ffd8ad;
}
.pt-sticky:is([data-sticky=lifted], [data-sticky=curl], [data-sticky=peel]) .pt-sticky__paper {
  background:
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--pt-note-paper), #fff 22%) 0,
      var(--pt-note-paper) 14%,
      var(--pt-note-paper) 38%,
      color-mix(in srgb, var(--pt-note-paper), #6b5a30 4%) 60%,
      color-mix(in srgb, var(--pt-note-paper), #fff 8%) 86%,
      color-mix(in srgb, var(--pt-note-paper), #fff 14%) 100%),
    var(--pt-note-paper);
  border-radius: 0 0 3px 3px / 0 0 2px 2px;
  box-shadow: 0 .5px 1px rgba(48, 40, 20, .14);
}
.pt-sticky:is([data-sticky=lifted], [data-sticky=curl], [data-sticky=peel])::before {
  left: 5%;
  right: 5%;
  width: auto;
  top: 40%;
  bottom: -10px;
  height: auto;
  transform: none;
  border-radius: 0 0 50% 50% / 0 0 14px 14px;
  box-shadow: none;
  background:
    linear-gradient(
      to bottom,
      transparent,
      color-mix(in srgb, var(--pt-note-shadow), transparent 55%) 70%,
      color-mix(in srgb, var(--pt-note-shadow), transparent 25%));
  filter: blur(7px);
}
.pt-sticky:is([data-sticky=lifted], [data-sticky=curl], [data-sticky=peel])::after {
  display: block;
  left: 1px;
  right: 1px;
  width: auto;
  top: 30%;
  bottom: 0;
  height: auto;
  transform: none;
  border-radius: 0;
  box-shadow: 0 3px 4px -1px rgba(48, 40, 20, .22);
}
.pt-sticky[data-sticky=pad]::before,
.pt-sticky[data-sticky=pad]::after {
  display: none;
}
.pt-sticky[data-sticky=pad] .pt-sticky__paper {
  background: var(--pt-note-paper);
  box-shadow:
    0 1px 0 0 color-mix(in srgb, var(--pt-note-paper), #000 5%),
    0 2px 0 0 var(--pt-note-paper),
    0 3px 0 0 color-mix(in srgb, var(--pt-note-paper), #000 7%),
    0 4px 0 0 var(--pt-note-paper),
    0 5px 0 0 color-mix(in srgb, var(--pt-note-paper), #000 10%),
    0 7px 6px -1px rgba(48, 40, 20, .2);
}
.pt-sticky[data-sticky=stack]::before,
.pt-sticky[data-sticky=stack]::after {
  inset: 0;
  bottom: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: color-mix(in srgb, var(--pt-note-paper), #000 3%);
  box-shadow: 0 .5px 1.5px rgba(48, 40, 20, .16), 0 6px 8px -4px var(--pt-note-shadow);
}
.pt-sticky[data-sticky=stack]::before {
  transform: rotate(-4deg) translate(-4px, 3px);
}
.pt-sticky[data-sticky=stack]::after {
  transform: rotate(3deg) translate(5px, 5px);
}
.pt-flag {
  --pt-f: #f58db4;
  position: relative;
  display: inline-block;
  height: 24px;
  padding: 0 14px 0 26px;
  box-sizing: border-box;
  font-family: var(--pt-font-hand);
  font-size: 20px;
  line-height: 24px;
  color: var(--pt-ribbon);
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, .75) 0 .5px,
      transparent .5px calc(100% - .5px),
      rgba(0, 0, 0, .07) calc(100% - .5px)),
    linear-gradient(
      104deg,
      transparent 0 35%,
      rgba(255, 255, 255, .28) 46%,
      transparent 58%),
    linear-gradient(
      to right,
      color-mix(in srgb, var(--pt-f) 82%, transparent) 0 14px,
      color-mix(in srgb, var(--pt-f) 16%, rgba(250, 250, 247, .55)) 14px);
  border-radius: 1px 2.5px 2.5px 1px;
  box-shadow: inset 0 0 0 .5px color-mix(in srgb, var(--pt-f) 30%, rgba(0, 0, 0, .12)), 0 .5px .5px rgba(0, 0, 0, .05);
}
.pt-flag::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: .5px;
  background: color-mix(in srgb, var(--pt-f) 60%, #000 10%);
  opacity: .5;
}
.pt-flag[data-color=pink] {
  --pt-f: #f58db4;
}
.pt-flag[data-color=yellow] {
  --pt-f: #ffd43b;
}
.pt-flag[data-color=mint] {
  --pt-f: #62c99b;
}
.pt-flag[data-color=blue] {
  --pt-f: #6fa6ec;
}
.pt-flag[data-color=orange] {
  --pt-f: #ff9f4f;
}
.pt-tabs {
  position: absolute;
  top: calc(var(--pt-grid) * 8);
  right: -34px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1;
}
.pt-tab {
  --pt-tab: #f6a1c0;
  display: block;
  width: 50px;
  padding: 12px 0 12px 16px;
  box-sizing: border-box;
  writing-mode: vertical-rl;
  font-family: var(--pt-font-hand);
  font-size: 19px;
  line-height: 1;
  color: var(--pt-ribbon);
  text-decoration: none;
  background:
    linear-gradient(
      to right,
      color-mix(in srgb, var(--pt-tab) 42%, transparent) 0 16px,
      var(--pt-tab) 16px);
  border-radius: 0 5px 5px 0;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, .07);
  transition: transform .2s;
}
.pt-tab:is(:hover, :focus-visible) {
  transform: translateX(4px);
}
.pt-tab[data-color=yellow] {
  --pt-tab: #ffe36a;
}
.pt-tab[data-color=mint] {
  --pt-tab: #9fdcc0;
}
.pt-tab[data-color=blue] {
  --pt-tab: #a9c9f2;
}
.pt-tab[data-color=orange] {
  --pt-tab: #ffbe7a;
}
.pt-sheet--page .pt-tabs {
  right: 0;
}
@media (max-width: 860px) {
  .pt-tabs {
    display: none;
  }
}
.pt-card {
  --pt-rot: 0deg;
  position: relative;
  box-sizing: border-box;
  width: min(312px, 100%);
  padding: 29px 24px 24px;
  background:
    linear-gradient(
      to bottom,
      transparent 23px,
      rgba(214, 92, 92, .42) 23px 24px,
      transparent 24px),
    repeating-linear-gradient(
      to bottom,
      transparent 0 47px,
      rgba(92, 136, 196, .2) 47px 48px) 0 0 / 100% 48px,
    var(--pt-fibre-soft, none),
    #fffdf8;
  border-radius: 1.5px;
  box-shadow:
    0 0 0 .5px rgba(60, 50, 30, .12),
    0 .5px 0 rgba(60, 50, 30, .1),
    0 1px 2px -1px rgba(60, 50, 30, .18);
  transform: rotate(calc(var(--pt-rot) * var(--pt-tilt)));
}
.pt-card p {
  font-family: var(--pt-font-hand);
  font-size: 25px;
  line-height: 24px;
  color: var(--pt-pen);
  max-width: none;
}
.pt-card .pt-tape {
  position: absolute;
  width: 104px;
  height: 28px;
}
.pt-clip {
  position: absolute;
  top: -22px;
  left: 36px;
  width: 26px;
  height: 72px;
  background: var(--pt-clip) 0 0 / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 2;
}
.pt-torn {
  --pt-rot: 0deg;
  position: relative;
  z-index: 0;
  box-sizing: border-box;
  width: min(288px, 100%);
  padding: 32px 20px 20px;
  transform: rotate(calc(var(--pt-rot) * var(--pt-tilt)));
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .14)) drop-shadow(0 8px 9px rgba(0, 0, 0, .13));
}
.pt-torn::before,
.pt-torn::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  height: 100%;
  -webkit-mask: var(--pt-torn-mask) 0 0 / 100% 100% no-repeat;
  mask: var(--pt-torn-mask) 0 0 / 100% 100% no-repeat;
}
.pt-torn::before {
  top: -3px;
  background: var(--pt-fibre-soft), #fff;
}
.pt-torn::after {
  top: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 23px,
      rgba(70, 120, 190, .28) 23px 24px) 0 8px / 100% 24px,
    var(--pt-fibre-soft),
    #fffdf6;
}
.pt-torn p {
  font-family: var(--pt-font-hand);
  font-size: 23px;
  line-height: 24px;
  color: var(--pt-pen);
  max-width: none;
}
.pt-memo-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--pt-font-type) !important;
  font-size: 13px !important;
  letter-spacing: .14em;
  color: var(--pt-pencil-blue) !important;
  text-transform: uppercase;
}
.pt-ticket {
  --pt-rot: 0deg;
  --pt-stub: 72px;
  position: relative;
  z-index: 0;
  display: flex;
  box-sizing: border-box;
  width: min(312px, 100%);
  min-height: 120px;
  transform: rotate(calc(var(--pt-rot) * var(--pt-tilt)));
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .14)) drop-shadow(0 8px 9px rgba(0, 0, 0, .13));
}
.pt-ticket::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--pt-fibre-soft), #f4ecd8;
  -webkit-mask:
    radial-gradient(
      circle at var(--pt-stub) 0,
      #0000 7px,
      #000 7.5px),
    radial-gradient(
      circle at var(--pt-stub) 100%,
      #0000 7px,
      #000 7.5px);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(
      circle at var(--pt-stub) 0,
      #0000 7px,
      #000 7.5px),
    radial-gradient(
      circle at var(--pt-stub) 100%,
      #0000 7px,
      #000 7.5px);
  mask-composite: intersect;
}
.pt-ticket__stub {
  position: relative;
  flex: none;
  width: var(--pt-stub);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--pt-font-type);
  color: var(--pt-pencil-red);
}
.pt-ticket__stub small {
  font-size: 11px;
  letter-spacing: .14em;
}
.pt-ticket__stub b {
  font-family: var(--pt-font-type-head);
  font-weight: 400;
  font-size: 20px;
  writing-mode: vertical-rl;
  letter-spacing: .1em;
}
.pt-ticket__stub::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: -3px;
  width: 6px;
  background:
    radial-gradient(
      circle,
      rgba(0, 0, 0, .28) 0 .7px,
      var(--pt-paper) 1.1px 2.3px,
      transparent 2.7px) 0 0 / 6px 9px repeat-y;
}
.pt-ticket__body {
  padding: 18px 18px 16px 20px;
  display: flex;
  flex-direction: column;
}
.pt-ticket__body p {
  font-family: var(--pt-font-hand);
  font-size: 23px;
  line-height: 24px;
  color: var(--pt-pen);
  max-width: none;
}

/* src/css/planner.css */
.pt-dayhead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 var(--pt-grid);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--pt-ribbon);
}
.pt-dayhead__num {
  font-family: var(--pt-font-type-head);
  font-size: 88px;
  line-height: 96px;
  color: var(--pt-ribbon);
}
.pt-dayhead__meta {
  display: flex;
  flex-direction: column;
  padding-bottom: 12px;
}
.pt-dayhead__month {
  font-family: var(--pt-font-type);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pt-ribbon);
}
.pt-dayhead__weekday {
  font-family: var(--pt-font-hand);
  font-size: 30px;
  line-height: 24px;
  color: var(--pt-pen);
}
.pt-dayhead__kanji {
  --pt-stamp: var(--pt-stamp-vermilion);
  margin-bottom: 12px;
  width: 52px;
  height: 52px;
  font-size: 27px;
}
.pt-dayhead__weekno {
  margin-left: auto;
  padding-bottom: 12px;
  font-family: var(--pt-font-type);
  font-size: 14px;
  line-height: 24px;
  opacity: .7;
}
.pt-week-wrap {
  container-type: inline-size;
}
.pt-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid color-mix(in srgb, var(--pt-ribbon) 45%, transparent);
}
.pt-week__day {
  min-height: calc(var(--pt-grid) * 7);
  padding: 0 6px;
  border-right: 1px solid color-mix(in srgb, var(--pt-ribbon) 22%, transparent);
  display: flex;
  flex-direction: column;
}
.pt-week__day:last-child {
  border-right: 0;
}
.pt-week__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  height: 24px;
  font-family: var(--pt-font-type);
  font-size: 12px;
  line-height: 24px;
  color: var(--pt-ribbon);
}
.pt-week__date {
  font-family: var(--pt-font-type-head);
  font-size: 17px;
}
.pt-week .pt-week__date.pt-anno {
  --pt-anno: var(--pt-ink-beni);
  --pt-ox: 6px;
  --pt-oy: 3px;
}
.pt-week__head .pt-jp {
  font-size: 12px;
}
.pt-week__day:is([data-day="6"], :not([data-day]):nth-child(6)) .pt-week__head {
  color: var(--pt-pencil-blue);
}
.pt-week__day:is([data-day="0"], :not([data-day]):nth-child(7)) .pt-week__head {
  color: var(--pt-pencil-red);
}
.pt-week__day:is([data-day="0"], [data-day="6"], :not([data-day]):nth-child(n+6)) {
  background: color-mix(in srgb, var(--pt-ribbon) 2.5%, transparent);
}
.pt-week__day p {
  font-family: var(--pt-font-hand);
  font-size: 20px;
  line-height: 24px;
  max-width: none;
  color: var(--pt-pen);
}
.pt-dot-sticker {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  vertical-align: -1px;
  margin-right: 4px;
  background: #ffb3c7;
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, .15), 0 1px 1px rgba(0, 0, 0, .12);
}
.pt-habits-wrap {
  container-type: inline-size;
}
.pt-habits {
  display: grid;
  grid-template-columns: minmax(96px, 168px) repeat(var(--pt-days, 14), 24px);
  grid-auto-rows: 24px;
  align-items: center;
}
.pt-habits__row {
  --pt-hb: var(--pt-pen);
  display: contents;
}
.pt-habits__row > * {
  grid-row: var(--pt-ra, auto);
  grid-column: var(--pt-ca, auto);
}
.pt-habits__name {
  font-family: var(--pt-font-hand);
  font-size: 21px;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--pt-hb);
}
.pt-habits__head > * {
  font-family: var(--pt-font-type);
  font-size: 11px;
  text-align: center;
  opacity: .6;
  color: var(--pt-ribbon);
}
.pt-habits__head .pt-habits__name {
  font-size: 12px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pt-habit {
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  height: 24px;
}
.pt-habits__own {
  display: grid;
  place-items: center;
  height: 24px;
  color: var(--pt-pen);
  font: 400 20px/1 var(--pt-font-hand);
}
.pt-habits__own .pt-stamp {
  --pt-pic-size: 18px;
}
.pt-habit svg {
  overflow: visible;
}
.pt-habit .pt-ring {
  fill: none;
  stroke: color-mix(in srgb, var(--pt-ribbon) 32%, transparent);
  stroke-width: 1;
}
.pt-habit .pt-fill {
  fill: none;
  stroke: var(--pt-hb);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset .4s var(--pt-ease);
}
.pt-habit input:checked ~ svg .pt-fill {
  stroke-dashoffset: 0;
}
.pt-habit input:not(:checked) ~ svg .pt-fill {
  visibility: hidden;
  transition: stroke-dashoffset .4s var(--pt-ease), visibility 0s .4s;
}
.pt-habit[data-pt-ready] input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.pt-habit input:focus-visible ~ svg {
  outline: 2px dashed var(--pt-pen);
  outline-offset: 1px;
}
@container (max-width: 560px) {
  .pt-week {
    grid-template-columns: minmax(0, 1fr);
  }
  .pt-week__day {
    min-height: calc(var(--pt-grid) * 2);
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 12px;
    border-right: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--pt-ribbon) 18%, transparent);
  }
  .pt-week__head {
    grid-row: 1 / span 3;
    gap: 8px;
    justify-content: flex-start;
  }
  .pt-week__day p {
    grid-column: 2;
  }
}
@container (max-width: 520px) {
  .pt-habits {
    grid-template-columns: 40px repeat(var(--pt-habit-count, 3), minmax(0, 1fr));
    grid-auto-rows: auto;
    row-gap: 0;
  }
  .pt-habits__row > * {
    grid-row: var(--pt-rb, auto);
    grid-column: var(--pt-cb, auto);
    justify-self: center;
  }
  .pt-habits .pt-habit {
    height: 24px;
  }
  .pt-habits__name {
    white-space: normal;
    text-align: center;
    font-size: 17px;
    line-height: 18px;
    padding-bottom: 6px;
    align-self: end;
  }
  .pt-habits__head > :not(.pt-habits__name) {
    justify-self: start;
  }
}
.pt-datestamp {
  --pt-rot: 0deg;
  --pt-ds-col: 28px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: calc(7 * var(--pt-ds-col) + 3px);
  color: var(--pt-stamp, var(--pt-stamp-red));
  font-family:
    var(--pt-font-jp-round),
    var(--pt-font-type),
    sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: rotate(calc(var(--pt-rot) * var(--pt-tilt)));
}
.pt-datestamp:is([data-unit=month], [data-unit=year]) {
  --pt-ds-col: 34px;
}
.pt-datestamp:is([data-variant=bar], [data-unit=day]) {
  width: max-content;
}
.pt-datestamp[data-unit=month][data-variant=wide] {
  display: inline-grid;
  grid-template-columns: minmax(max-content, 1fr);
  width: calc(46px + 31 * 22px);
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.pt-datestamp[data-variant=wide] > * {
  grid-area: 1 / 1;
}
.pt-datestamp[data-variant=wide] > .pt-datestamp__marks {
  position: relative;
  inset: auto;
}
.pt-datestamp[data-variant=wide] .pt-datestamp__cell:not([data-side]) {
  min-width: 17px;
}
.pt-datestamp:lang(ja) {
  letter-spacing: 0;
}
.pt-datestamp__print {
  border: 1.5px solid currentColor;
  border-radius: 3px;
  filter: var(--pt-stamp-filter, );
  opacity: var(--pt-stamp-opacity);
  mix-blend-mode: var(--pt-blend, multiply);
}
.pt-datestamp__marks {
  position: absolute;
  inset: 0;
  border: 1.5px solid transparent;
  color: transparent;
  pointer-events: none;
}
.pt-datestamp__section + .pt-datestamp__section,
.pt-datestamp__row + .pt-datestamp__row {
  border-top: 1px solid currentColor;
}
.pt-datestamp__row {
  display: flex;
}
.pt-datestamp__cell {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  place-items: center;
  height: 22px;
}
.pt-datestamp__cell + .pt-datestamp__cell {
  border-left: 1px solid currentColor;
}
[data-part=head] .pt-datestamp__cell {
  height: 18px;
  font-size: 10px;
}
[data-part=write] .pt-datestamp__cell {
  height: 26px;
}
[data-part=write] .pt-datestamp__cell + .pt-datestamp__cell {
  border-left-style: dashed;
}
[data-part=months] .pt-datestamp__cell {
  height: 17px;
  font-size: 9px;
}
:is([data-part=days], [data-part=year]) .pt-datestamp__cell {
  height: 28px;
  place-items: start;
  padding: 4px 4px 0;
  font-size: 10px;
}
[data-part=year] .pt-datestamp__cell {
  height: 34px;
}
[data-part=title] .pt-datestamp__cell {
  height: 24px;
  place-items: center start;
  padding: 0 6px;
  font-size: 12px;
  text-transform: none;
}
.pt-datestamp[data-unit=year] [data-part=title] .pt-datestamp__cell {
  place-items: center;
  font-size: 13px;
  letter-spacing: .3em;
}
.pt-datestamp[data-variant=wide] .pt-datestamp__cell[data-side] {
  flex: 0 0 46px;
  font-size: 10px;
  letter-spacing: .03em;
}
.pt-datestamp[data-unit=week]:has(.pt-datestamp__cell[data-side]) {
  width: calc(7 * var(--pt-ds-col) + 3px + var(--pt-ds-side, 52px));
}
.pt-datestamp[data-unit=week] .pt-datestamp__cell[data-side] {
  flex: 0 0 var(--pt-ds-side, 52px);
  font-size: 10px;
  letter-spacing: .03em;
}
.pt-datestamp__fill {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  color: var(--pt-pen);
  font: 400 1.5em/1 var(--pt-font-hand);
  letter-spacing: 0;
  text-transform: none;
}
.pt-datestamp__fill .pt-stamp {
  --pt-pic-size: min(80%, 18px);
}
.pt-datestamp[data-variant=wide] [data-part=days] .pt-datestamp__cell {
  height: 22px;
  place-items: center;
  padding: 0;
}
.pt-datestamp[data-variant=wide] [data-part=write] .pt-datestamp__cell {
  height: 24px;
}
[data-part=bar] .pt-datestamp__cell {
  flex: none;
  min-width: 28px;
  height: 26px;
  padding: 0 5px;
  font-size: 12px;
}
.pt-datestamp .pt-anno {
  white-space: normal;
}
.pt-datestamp .pt-datestamp__label.pt-anno {
  --pt-ox: 7px;
  --pt-oy: 4px;
}
.pt-datestamp__cell.pt-anno[data-anno=x] {
  --pt-ox: -3px;
  --pt-oy: -3px;
}
.pt-datestamp__cell.pt-anno[data-anno=strike] {
  --pt-ox: -2px;
  --pt-oy: 0px;
}
.pt-datestamp .pt-mark {
  padding: 1px .25em;
}

/* src/css/forms.css */
.pt-todo {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.pt-todo li {
  max-width: none;
  min-height: var(--pt-grid);
  line-height: var(--pt-grid);
}
.pt-check,
.pt-radio {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  min-height: var(--pt-grid);
}
:is(.pt-check, .pt-radio) > svg {
  margin-block: max(0px, calc((var(--pt-grid) - 22px) / 2));
}
.pt-check__text {
  min-width: 0;
}
.pt-todo :is(.pt-check, .pt-radio) {
  display: flex;
}
:is(.pt-check, .pt-radio)[data-pt-ready] input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
:is(.pt-check, .pt-radio) svg {
  flex: none;
  overflow: visible;
}
:is(.pt-check, .pt-radio) svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:is(.pt-check, .pt-radio) .pt-tick {
  stroke: var(--pt-t-color);
  stroke-width: calc(var(--pt-t-w) * 1px);
  stroke-opacity: var(--pt-t-op);
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset .35s var(--pt-ease);
}
.pt-radio .pt-tick {
  stroke-width: calc(var(--pt-t-w) * 1.2px);
}
:is(.pt-check, .pt-radio) input:checked ~ svg .pt-tick {
  stroke-dashoffset: 0;
}
:is(.pt-check, .pt-radio) input:not(:checked) ~ svg .pt-tick {
  visibility: hidden;
  transition: stroke-dashoffset .35s var(--pt-ease), visibility 0s .35s;
}
:is(.pt-check, .pt-radio) input:focus-visible ~ svg {
  outline: 2px dashed var(--pt-pen);
  outline-offset: 3px;
}
:is(.pt-check__ink, .pt-check__text:not(:has(> .pt-check__ink))) {
  background: var(--pt-strike) 0 var(--pt-strike-y, 55%) / 0% var(--pt-strike-h, 10px) no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .4s .15s var(--pt-ease);
}
.pt-check input:checked ~ .pt-check__text .pt-check__ink,
.pt-check input:checked ~ .pt-check__text:not(:has(> .pt-check__ink)) {
  background-size: 100% var(--pt-strike-h, 10px);
}
:is([data-strike=none] .pt-check__text, .pt-check__text[data-strike=none]),
:is([data-strike=none] .pt-check__text, .pt-check__text[data-strike=none]) .pt-check__ink {
  background: none;
}
.pt-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--pt-grid);
  font-size: var(--pt-s-body);
  line-height: var(--pt-grid);
}
.pt-field {
  display: flex;
  flex-direction: column;
  max-width: 26em;
}
.pt-field__label {
  font-family: var(--pt-font-type);
  font-size: var(--pt-s-small);
  line-height: var(--pt-grid);
  color: var(--pt-ribbon);
  opacity: .8;
}
.pt-input {
  --pt-input-line: var(--pt-pencil-hb);
  color-scheme: light;
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  height: var(--pt-grid);
  padding: 0 2px 3px;
  font-family: var(--pt-font-hand);
  font-size: 24px;
  line-height: calc(var(--pt-grid) - 3px);
  color: var(--pt-pen);
  caret-color: var(--pt-pen);
  border: 0;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  background:
    var(--pt-r-wobble) 0 calc(100% + 4px) / 0% 12px no-repeat,
    radial-gradient(
      circle,
      var(--pt-input-line) .7px,
      transparent 1.1px) 0 100% / 4px 3px repeat-x;
  transition: background-size .45s var(--pt-ease);
}
.pt-input::placeholder {
  color: var(--pt-pencil-hb);
  opacity: .9;
}
.pt-input:focus {
  background-size: 100% 12px, 4px 3px;
}
.pt-input:focus-visible {
  outline: none;
}
.pt-input:disabled {
  opacity: .5;
}
.pt-input:user-invalid {
  --pt-input-line: var(--pt-ink-beni, #c23b3b);
}
textarea.pt-input {
  height: auto;
  min-height: calc(var(--pt-grid) * 3);
  padding: 0 2px;
  resize: vertical;
  line-height: var(--pt-grid);
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 calc(var(--pt-grid) - 1px),
      color-mix(in srgb, var(--pt-input-line) 45%, transparent) calc(var(--pt-grid) - 1px) var(--pt-grid));
}
textarea.pt-input:focus {
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 calc(var(--pt-grid) - 1px),
      color-mix(in srgb, var(--pt-pen) 55%, transparent) calc(var(--pt-grid) - 1px) var(--pt-grid));
}
.pt-field:has(.pt-input:focus) .pt-field__label {
  opacity: 1;
}
.pt-swatch {
  display: grid;
  gap: 2px;
  text-align: left;
  background: none;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
  color: var(--pt-ribbon);
  font: inherit;
}
.pt-swatch__ink {
  display: block;
  height: 40px;
  background: none center / 100% 100% no-repeat;
}
.pt-swatch[data-tool=pencil] .pt-swatch__ink {
  filter: var(--pt-graphite, );
}
.pt-swatch__name {
  justify-self: start;
  font-family: var(--pt-font-type);
  font-size: 13px;
  line-height: 18px;
}
.pt-swatch[aria-pressed=true] .pt-swatch__name {
  background: var(--pt-mark-y) 0 70% / 100% 70% no-repeat;
}
.pt-swatch:focus-visible {
  outline: 2px dashed var(--pt-pen);
  outline-offset: 2px;
}

/* src/css/extras.css */
.pt-lift {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .14)) drop-shadow(0 8px 9px rgba(0, 0, 0, .13));
}
.pt-photo {
  --pt-rot: 0deg;
  --pt-photo-w: 240px;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  margin: 0;
  width: min(var(--pt-photo-w), 100%);
  box-sizing: border-box;
  transform: rotate(calc(var(--pt-rot) * var(--pt-tilt)));
}
.pt-photo > :is(img, svg, .pt-photo__img) {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--pt-photo-ratio, 4 / 3);
  object-fit: cover;
}
.pt-photo figcaption {
  font-family: var(--pt-font-hand);
  font-size: 22px;
  line-height: 24px;
  color: var(--pt-pen);
}
.pt-photo[data-mount=polaroid] {
  padding: 12px 12px 10px;
  background: #fbfbf8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14), 0 10px 18px -10px rgba(0, 0, 0, .35);
}
.pt-photo[data-mount=polaroid] > :is(img, svg, .pt-photo__img) {
  aspect-ratio: var(--pt-photo-ratio, 1);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.pt-photo[data-mount=polaroid] figcaption {
  padding-top: 12px;
  min-height: 36px;
  text-align: center;
}
.pt-photo[data-mount=corners] {
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.pt-photo[data-mount=corners] figcaption {
  padding-top: 10px;
}
.pt-photo[data-mount=corners]::after {
  --c: 22px;
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  top: -5px;
  height: calc(100% - var(--pt-cap, 0px) + 10px);
  pointer-events: none;
  background:
    linear-gradient(
      135deg,
      #26272b 0 50%,
      transparent 50%) 0 0 / var(--c) var(--c),
    linear-gradient(
      225deg,
      #26272b 0 50%,
      transparent 50%) 100% 0 / var(--c) var(--c),
    linear-gradient(
      315deg,
      #26272b 0 50%,
      transparent 50%) 100% 100% / var(--c) var(--c),
    linear-gradient(
      45deg,
      #26272b 0 50%,
      transparent 50%) 0 100% / var(--c) var(--c);
  background-repeat: no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .3));
}
.pt-photo[data-mount=corners]:has(figcaption) {
  --pt-cap: 34px;
}
.pt-photo .pt-tape {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 96px;
  height: 26px;
  margin-left: -48px;
}
.pt-postage {
  --pt-rot: 0deg;
  --pt-perf: 12px;
  position: relative;
  display: inline-block;
  padding: 10px;
  background: #fbfaf5;
  box-sizing: border-box;
  transform: rotate(calc(var(--pt-rot) * var(--pt-tilt)));
  -webkit-mask:
    radial-gradient(
      circle at center,
      #0000 3.6px,
      #000 4px) calc(var(--pt-perf) / -2) calc(var(--pt-perf) / -2) / var(--pt-perf) var(--pt-perf) round,
    linear-gradient(#000 0 0) content-box;
  mask:
    radial-gradient(
      circle at center,
      #0000 3.6px,
      #000 4px) calc(var(--pt-perf) / -2) calc(var(--pt-perf) / -2) / var(--pt-perf) var(--pt-perf) round,
    linear-gradient(#000 0 0) content-box;
}
.pt-postage > * {
  display: block;
  max-width: 100%;
}
.pt-postage__value {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-family: var(--pt-font-type-head);
  font-size: 18px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .4);
}
.pt-label {
  --pt-rot: 0deg;
  --pt-label-bg: #fbfbf7;
  --pt-label-ink: #17181b;
  display: inline-block;
  padding: 1px 20px 0;
  border-radius: .5px;
  font-family:
    "Archivo Narrow",
    "Arial Narrow",
    "Roboto Condensed",
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-stretch: condensed;
  font-weight: 500;
  font-size: 14px;
  line-height: 19px;
  letter-spacing: .01em;
  color: var(--pt-label-ink);
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, .7) 0 .5px,
      rgba(255, 255, 255, .18) .5px 30%,
      rgba(255, 255, 255, 0) 50%,
      rgba(0, 0, 0, .025) calc(100% - .5px),
      rgba(0, 0, 0, .09) calc(100% - .5px)),
    var(--pt-label-bg);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .14), 0 .5px 0 rgba(0, 0, 0, .08);
  transform: rotate(calc(var(--pt-rot) * var(--pt-tilt)));
}
.pt-label[data-color=yellow] {
  --pt-label-bg: #f9dc4a;
}
.pt-label[data-color=clear] {
  --pt-label-bg: rgba(255,255,255,.28);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12);
}
.pt-label[data-color=black] {
  --pt-label-bg: #1c1d20;
  --pt-label-ink: #f4f2ea;
}
.pt-label[data-color=blue] {
  --pt-label-bg: #a9cdf0;
}
.pt-label[data-color=green] {
  --pt-label-bg: #b9e3c4;
}
.pt-label--emboss {
  --pt-label-bg: #c22d2a;
  --pt-wobble: 1;
  padding: 2px 9px 1px;
  border-radius: 1px;
  font-family:
    "Archivo",
    "Arial Narrow",
    Arial,
    sans-serif;
  font-stretch: normal;
  font-weight: 700;
  font-size: 13px;
  line-height: 19px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .84);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, .28),
    0 -.5px 0 rgba(255, 255, 255, .18),
    0 0 1px rgba(255, 255, 255, .35);
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, .38) 0 1px,
      rgba(255, 255, 255, .16) 1px 22%,
      rgba(255, 255, 255, 0) 40%,
      rgba(0, 0, 0, .08) 80%,
      rgba(0, 0, 0, .2) calc(100% - 1px),
      rgba(0, 0, 0, .3) calc(100% - 1px)),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, .02) 0 1px,
      transparent 1px 4px),
    var(--pt-label-bg);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .22), 0 0 0 .5px rgba(0, 0, 0, .2);
  clip-path: polygon(1.5px 0, calc(100% - 1.5px) 0, 100% 1.5px, 100% calc(100% - 1.5px), calc(100% - 1.5px) 100%, 1.5px 100%, 0 calc(100% - 1.5px), 0 1.5px);
}
.pt-label--emboss .pt-c {
  display: inline-block;
}
.pt-label--emboss[data-color=blue] {
  --pt-label-bg: #24489a;
}
.pt-label--emboss[data-color=black] {
  --pt-label-bg: #222327;
}
.pt-label--emboss[data-color=green] {
  --pt-label-bg: #2b6f45;
}
.pt-label--emboss:is([data-color=yellow], [data-color=clear], [data-color=mint], [data-color=orange]) {
  --pt-label-bg: #c22d2a;
}
.pt-tape--text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 96px;
  height: 28px;
  padding: 0 18px;
  box-sizing: border-box;
  font-family: var(--pt-font-hand);
  font-size: 20px;
  line-height: 1;
  color: var(--pt-ribbon);
}
.pt-bujo {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.pt-bujo li {
  position: relative;
  padding-left: calc(var(--pt-grid) * 1.25);
  max-width: none;
}
.pt-bujo li[data-sign]::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--pt-grid) / 2 - 9px);
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--pt-sign) center / contain no-repeat;
  mask: var(--pt-sign) center / contain no-repeat;
  color: currentColor;
}
.pt-bujo li[data-sign=task] {
  --pt-sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9.4 7.2 C 11 7.4, 11.3 9.9, 9.6 10.8 C 8 11.4, 6.9 9.9, 7.4 8.6 C 7.7 7.7, 8.4 7.3, 9.4 7.2 Z'/%3E%3C/svg%3E");
}
.pt-bujo li[data-sign=done] {
  --pt-sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M5 5.4 C 8 8.2, 10.5 10.8, 13.2 13.4 M12.8 4.8 C 10.4 7.6, 7.6 10.6, 5.2 13'/%3E%3C/svg%3E");
}
.pt-bujo li[data-sign=migrated] {
  --pt-sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4.6 C 8.4 6.4, 10.6 8, 12.6 9.1 C 10.4 10.4, 8.4 11.8, 6.2 13.6'/%3E%3C/svg%3E");
}
.pt-bujo li[data-sign=scheduled] {
  --pt-sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.2 4.6 C 9.8 6.3, 7.6 7.9, 5.6 9.1 C 7.8 10.5, 9.8 11.9, 12 13.6'/%3E%3C/svg%3E");
}
.pt-bujo li[data-sign=event] {
  --pt-sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M9 4.6 C 12.2 4.5, 13.6 7.4, 13.3 9.6 C 12.9 12.4, 10.2 13.6, 8.2 13.3 C 5.6 12.8, 4.4 10.4, 4.8 8.4 C 5.2 6.2, 7.2 4.7, 9.6 4.9'/%3E%3C/svg%3E");
}
.pt-bujo li[data-sign=note] {
  --pt-sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M4.6 9.4 C 7.4 9, 10.4 9.1, 13.4 8.8'/%3E%3C/svg%3E");
}
.pt-bujo li[data-sign=priority] {
  --pt-sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M9.1 4 L 8.9 14 M4.8 6.6 L 13.2 11.4 M13.4 6.4 L 4.6 11.6'/%3E%3C/svg%3E");
}
.pt-bujo li[data-sign=done] {
  color: color-mix(in srgb, currentColor 60%, transparent);
}
.pt-bujo li[data-sign=priority]::before {
  color: var(--pt-pencil);
}
.pt-progress {
  position: relative;
  height: var(--pt-grid);
  max-width: calc(var(--pt-grid) * 14);
  background: var(--pt-box) 0 2px / 100% 20px no-repeat;
}
.pt-progress::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  bottom: 4px;
  width: calc((100% - 6px) * var(--pt-value, .5));
  background: var(--pt-hl);
  -webkit-mask: var(--pt-mask-a) 0 0 / 100% 100% no-repeat;
  mask: var(--pt-mask-a) 0 0 / 100% 100% no-repeat;
  mix-blend-mode: var(--pt-blend, multiply);
}
.pt-progress[data-pt-painted] {
  background: var(--pt-progress-img) 0 0 / 100% 100% no-repeat;
}
.pt-progress[data-pt-painted]::before {
  display: none;
}
.pt-progress:is([data-shape=boxes], [data-shape=circles], [data-style=segments], [data-style=dots]) {
  height: calc(var(--pt-grid) * 1.25);
}
.pt-progress:is([data-shape=ring], [data-style=ring]) {
  width: calc(var(--pt-grid) * 3);
  height: calc(var(--pt-grid) * 3);
  display: grid;
  place-items: center;
}
.pt-progress:is([data-shape=tally], [data-shape=sei], [data-style=tally], [data-style=sei]) {
  width: calc(var(--pt-groups, 4) * 30px);
  height: calc(var(--pt-grid) * 1.25);
}
.pt-progress[data-label]::after {
  content: attr(data-label);
  font-family: var(--pt-font-hand);
  font-size: 20px;
  line-height: 1;
  color: currentColor;
}
.pt-progress:not([data-style=ring], [data-shape=ring])[data-label] {
  max-width: min(calc(var(--pt-grid) * 14), calc(100% - 56px));
}
.pt-progress:not([data-style=ring], [data-shape=ring])[data-label]::after {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
}

/* src/css/images.css */
.pt-litho {
  --pt-litho-ink: var(--pt-ink-sumi);
  --pt-litho-ink2: none;
  --pt-litho-blue: #3a82c4;
  --pt-litho-red: #d8466c;
  --pt-litho-yellow: #f2c640;
  --pt-litho-grain: .6;
  --pt-litho-size: .7;
  --pt-litho-contrast: 1.2;
  --pt-litho-darken: 0;
  --pt-litho-offset: 1.5;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.35);
}
.pt-litho[data-litho=tri] {
  filter: saturate(.8) contrast(1.2);
}
.pt-print {
  --pt-print-ink: #26262a;
  --pt-print-contrast: 1.15;
  --pt-print-brightness: 0;
  --pt-print-wear: .5;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.4);
}
.pt-print[data-pt-printed] {
  filter: none;
}
.pt-print[data-palette=screen] {
  mix-blend-mode: normal;
}

/* src/css/diagram.css */
.pt-diagram {
  --pt-diagram-stroke: 1.6px;
  margin: 0;
  overflow-x: auto;
  max-width: 100%;
  color: var(--pt-ink);
  font-family: var(--pt-font-hand);
  font-size: 21px;
  line-height: 24px;
  white-space: pre-wrap;
}
.pt-diagram[data-pt-painted] {
  white-space: normal;
}
.pt-diagram:not([data-pt-painted]) {
  font-family: var(--pt-font-type);
  font-size: 13px;
  line-height: 18px;
  opacity: .6;
}
.pt-diagram__svg {
  display: block;
  max-width: 100%;
  height: auto;
  overflow: visible;
}
.pt-diagram__ink path,
.pt-diagram__ink,
.pt-diagram__line,
.pt-diagram__grid {
  fill: none;
  stroke: currentColor;
  stroke-width: var(--pt-diagram-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pt-diagram__ink path.pt-diagram__dotted {
  stroke-dasharray: none;
  stroke-width: 2px;
  stroke-linecap: round;
}
.pt-diagram__ink path.pt-diagram__thick {
  stroke-width: 3px;
}
.pt-diagram__grid {
  stroke-opacity: .16;
  stroke-width: 1px;
}
.pt-diagram__line {
  stroke-width: 2.2px;
}
.pt-diagram__dot {
  fill: currentColor;
  stroke: none;
}
.pt-diagram__hatch {
  fill: none;
  stroke: currentColor;
  stroke-width: 1px;
  stroke-opacity: .28;
}
.pt-diagram__hatch-strong {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3px;
  stroke-opacity: .72;
  stroke-linecap: round;
}
.pt-diagram__stipple {
  stroke-width: 2.2px;
  stroke-opacity: .6;
}
.pt-diagram__wash {
  fill: var(--pt-hl);
  fill-opacity: .8;
  mix-blend-mode: var(--pt-blend, multiply);
}
.pt-diagram__wash--swipe {
  fill-opacity: .5;
}
.pt-diagram__wash--edge {
  fill: none;
  stroke: var(--pt-hl);
  stroke-opacity: .5;
  stroke-width: 11px;
  stroke-linejoin: round;
}
.pt-diagram__swipe {
  fill: currentColor;
  fill-opacity: .36;
  stroke: none;
  mix-blend-mode: var(--pt-blend, multiply);
}
.pt-diagram__swipe-edge {
  fill: none;
  stroke: currentColor;
  stroke-opacity: .24;
  stroke-width: 11px;
  stroke-linejoin: round;
  mix-blend-mode: var(--pt-blend, multiply);
}
.pt-diagram__shade {
  fill: none;
  stroke: currentColor;
  stroke-width: .9px;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: var(--pt-graphite, );
}
.pt-diagram__pencil {
  stroke-width: .8px;
  stroke-opacity: .2;
  stroke-linejoin: round;
  filter: var(--pt-graphite, );
}
.pt-diagram__hatch-strong.pt-diagram__pencil {
  stroke-width: .9px;
  stroke-opacity: .38;
}
.pt-diagram__label-bg {
  fill: var(--pt-paper);
  stroke: none;
}
.pt-diagram text {
  fill: currentColor;
  stroke: none;
  font-family: inherit;
  font-size: inherit;
}
.pt-diagram text.pt-diagram__small {
  font-size: .8em;
}
.pt-diagram text.pt-diagram__title {
  font-weight: 700;
}
.pt-diagram .pt-diagram__label {
  font-size: .85em;
}
.pt-diagram[data-tool=graphite] {
  color: var(--pt-pencil-2b);
}
.pt-diagram[data-tool=graphite] .pt-diagram__svg {
  filter: var(--pt-graphite, );
}
.pt-diagram[data-tool=type] {
  font-family: var(--pt-font-type);
  font-size: 15px;
  color: var(--pt-ribbon);
}

/* src/css/tools.css */
:root {
  --pt-ballpoint: var(--pt-bp-blue);
  --pt-brush: var(--pt-ink-sumi);
  --pt-marker: var(--pt-ink-sumi);
  --pt-graphite-c: var(--pt-pencil-hb);
}
.pt-link {
  --pt-t-kind: pen;
  --pt-t-color: var(--pt-pen);
  --pt-t-w: 1.7;
  --pt-t-op: 1;
}
.pt-btn--outline {
  --pt-t-kind: pen;
  --pt-t-color: var(--pt-ink);
  --pt-t-w: 1.4;
  --pt-t-op: .92;
}
.pt-rule {
  --pt-t-kind: pen;
  --pt-t-color: var(--pt-ribbon);
  --pt-t-w: 1.3;
  --pt-t-op: .8;
}
.pt-anno {
  --pt-t-kind: pencil;
  --pt-t-color: var(--pt-anno);
  --pt-t-w: 1.9;
  --pt-t-op: .95;
}
.pt-anno[data-anno=hatch] {
  --pt-t-kind: graphite;
  --pt-t-color: var(--pt-graphite-c);
  --pt-t-w: 1.1;
  --pt-t-op: .7;
}
.pt-progress {
  --pt-t-kind: pen;
  --pt-t-color: var(--pt-ink);
  --pt-t-w: 1.4;
  --pt-t-op: .92;
}
:is(.pt-check, .pt-radio) {
  --pt-t-kind: pen;
  --pt-t-color: var(--pt-pen);
  --pt-t-w: 2.2;
  --pt-t-op: 1;
}
.pt-diagram {
  --pt-t-kind: pen;
  --pt-t-color: currentColor;
  --pt-t-w: 1.6;
  --pt-t-op: 1;
}
[data-tool=pen] {
  --pt-t-kind: pen;
  --pt-t-color: var(--pt-pen);
  --pt-t-w: 1.8;
  --pt-t-op: 1;
}
[data-tool=ballpoint] {
  --pt-t-kind: ballpoint;
  --pt-t-color: var(--pt-ballpoint);
  --pt-t-w: 1.15;
  --pt-t-op: .92;
}
[data-tool=brush] {
  --pt-t-kind: brush;
  --pt-t-color: var(--pt-brush);
  --pt-t-w: 4.2;
  --pt-t-op: 1;
}
[data-tool=marker] {
  --pt-t-kind: marker;
  --pt-t-color: var(--pt-marker);
  --pt-t-w: 3.4;
  --pt-t-op: .9;
}
[data-tool=graphite] {
  --pt-t-kind: graphite;
  --pt-t-color: var(--pt-graphite-c);
  --pt-t-w: 1.6;
  --pt-t-op: .85;
}
[data-tool=pencil] {
  --pt-t-kind: pencil;
  --pt-t-color: var(--pt-pencil);
  --pt-t-w: 1.9;
  --pt-t-op: .95;
}
.pt-diagram[data-tool]:not([data-tool=type]) {
  color: var(--pt-t-color);
}
.pt-anno > .pt-anno__ink path {
  stroke: var(--pt-t-color);
  stroke-width: calc(var(--pt-t-w) * var(--pt-k, 1) * 1px);
  stroke-opacity: calc(var(--pt-t-op) * var(--pt-o, 1));
}
:is(.pt-anno, .pt-diagram, .pt-check, .pt-radio):is([data-tool=graphite], [data-tool=pencil]) :is(.pt-anno__ink, .pt-diagram__svg, svg),
.pt-anno:not([data-tool]) > .pt-anno__ink {
  filter: var(--pt-graphite, );
}
:is(.pt-anno, .pt-diagram, .pt-check, .pt-radio)[data-tool=brush] :is(.pt-anno__ink, .pt-diagram__svg, svg) {
  filter: var(--pt-brush-filter, );
}
.pt-anno[data-tool=marker] .pt-anno__ink {
  mix-blend-mode: var(--pt-blend, multiply);
}
.pt-diagram .pt-diagram__ink path:not(.pt-diagram__thick, .pt-diagram__dotted),
.pt-diagram .pt-diagram__line {
  stroke-width: calc(var(--pt-t-w) * 1px);
}
.pt-diagram[data-tool=ballpoint] .pt-diagram__ink path:not(.pt-diagram__dotted) {
  stroke-dasharray: 38 1.1 61 .7 23 1.4;
}
.pt-diagram[data-tool=marker] .pt-diagram__svg {
  mix-blend-mode: var(--pt-blend, multiply);
}

/* src/css/motion.css */
@keyframes pt-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes pt-wipe {
  from {
    clip-path: inset(-30% 100% -30% -5%);
  }
  to {
    clip-path: inset(-30% -5% -30% -5%);
  }
}
@keyframes pt-ul {
  from {
    background-size: 0% 9px, 0% 9px;
  }
}
@keyframes pt-ul-hl {
  from {
    background-size: 0% 82%, 0% 9px;
  }
}
@keyframes pt-mark {
  from {
    background-size: 0% var(--pt-mark-h, 88%);
  }
}
@keyframes pt-thunk {
  0% {
    opacity: 0;
    transform: rotate(calc(var(--pt-rot) * var(--pt-tilt))) scale(1.6);
  }
  55% {
    opacity: .95;
  }
  100% {
    opacity: var(--pt-stamp-opacity);
    transform: rotate(calc(var(--pt-rot) * var(--pt-tilt))) scale(1);
  }
}
@keyframes pt-fade {
  from {
    opacity: 0;
  }
}
@keyframes pt-stick {
  from {
    opacity: 0;
    transform: translateY(-10px) rotate(calc(var(--pt-rot, 0deg) * var(--pt-tilt) - 7deg));
  }
}
[data-pt-motion] [data-pt-draw]:not([data-pt-drawn], [data-pt-draw=off]) :is(.pt-anno__ink path, .pt-draw-path) {
  stroke-dashoffset: 1;
}
[data-pt-motion] :is([data-pt-draw]:not([data-pt-drawn], [data-pt-draw=off]) :is(.pt-stamp, .pt-tape, .pt-sticky, .pt-torn, .pt-ticket, .pt-photo, .pt-postage, .pt-label), :is(.pt-stamp, .pt-tape, .pt-sticky, .pt-torn, .pt-ticket, .pt-photo, .pt-postage, .pt-label)[data-pt-draw]:not([data-pt-drawn], [data-pt-draw=off])) {
  opacity: 0;
}
[data-pt-motion] [data-pt-drawn] :is(.pt-anno__ink path, .pt-draw-path) {
  animation: pt-draw var(--pt-draw) var(--pt-delay, 0s) var(--pt-ease) both;
}
[data-pt-motion] :is([data-pt-drawn] .pt-btn, .pt-btn[data-pt-drawn]):not(.pt-btn--outline)::before {
  animation: pt-wipe .55s var(--pt-delay, 0s) var(--pt-ease) backwards;
}
[data-pt-motion] :is(.pt-rule[data-pt-drawn], [data-pt-drawn] .pt-rule, [data-pt-drawn] .pt-flag, .pt-flag[data-pt-drawn], [data-pt-drawn] .pt-progress, .pt-progress[data-pt-drawn]) {
  animation: pt-wipe .8s var(--pt-delay, 0s) var(--pt-ease) backwards;
}
[data-pt-motion] :is([data-pt-drawn] .pt-progress, .pt-progress[data-pt-drawn])[data-label]::after {
  animation: pt-fade .3s calc(var(--pt-delay, 0s) + .8s) var(--pt-ease) both;
}
[data-pt-motion] :is([data-pt-drawn] .pt-link, .pt-link[data-pt-drawn]):not([data-ul=wave], [data-ul=hl]) {
  animation: pt-ul .6s var(--pt-delay, 0s) var(--pt-ease) both;
}
[data-pt-motion] :is([data-pt-drawn] .pt-link, .pt-link[data-pt-drawn])[data-ul=hl] {
  animation: pt-ul-hl .6s var(--pt-delay, 0s) var(--pt-ease) backwards;
}
[data-pt-motion] :is([data-pt-drawn] .pt-mark, .pt-mark[data-pt-drawn]) {
  animation: pt-mark .6s var(--pt-delay, 0s) var(--pt-ease) both;
}
[data-pt-motion] :is([data-pt-drawn] .pt-stamp, .pt-stamp[data-pt-drawn]) {
  animation: pt-thunk .42s var(--pt-delay, 0s) cubic-bezier(.2, .8, .3, 1.15) both;
}
[data-pt-motion] [data-pt-drawn] .pt-diagram__svg {
  animation: pt-wipe 1.1s var(--pt-delay, 0s) var(--pt-ease) backwards;
}
[data-pt-motion] :is([data-pt-drawn] :is(.pt-tape, .pt-sticky, .pt-torn, .pt-ticket, .pt-photo, .pt-postage, .pt-label), :is(.pt-tape, .pt-sticky, .pt-torn, .pt-ticket, .pt-photo, .pt-postage, .pt-label)[data-pt-drawn]) {
  animation: pt-stick .5s var(--pt-delay, 0s) ease-out both;
}
@media print, (prefers-reduced-motion: reduce) {
  [data-pt-motion] *,
  [data-pt-motion] *::before,
  [data-pt-motion] *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-pt-motion] [data-pt-draw] :is(.pt-anno__ink path, .pt-draw-path) {
    stroke-dashoffset: 0 !important;
  }
  [data-pt-motion] :is([data-pt-draw] :is(.pt-tape, .pt-sticky, .pt-torn, .pt-ticket, .pt-photo, .pt-postage, .pt-label), [data-pt-draw]:is(.pt-tape, .pt-sticky, .pt-torn, .pt-ticket, .pt-photo, .pt-postage, .pt-label)) {
    opacity: 1 !important;
  }
  [data-pt-motion] [data-pt-draw] .pt-stamp {
    opacity: var(--pt-stamp-opacity) !important;
  }
}

/* src/css/index.css */
