html[dir] .sp-root{--sp-overlay:var(--sp-overlay-l,#0c0e149e);--sp-paper:var(--sp-paper-l,color-mix(in oklab, oklch(var(--card)) 88%, oklch(var(--primary)) 12%));--sp-lines:var(--sp-lines-l,oklch(var(--primary)));--sp-title:var(--sp-title-l,oklch(var(--foreground)));--sp-text:var(--sp-text-l,oklch(var(--muted-foreground)));--sp-accent:var(--sp-accent-l,oklch(var(--primary)));--sp-codeBg:var(--sp-codeBg-l,oklch(var(--card)));--sp-codeInk:var(--sp-codeInk-l,oklch(var(--destructive)));--sp-foil:var(--sp-foil-l,#c3c7cf);--sp-coin:var(--sp-coin-l,#dcaa3f);--sp-stamp:var(--sp-stamp-l,oklch(var(--destructive)));--sp-buttonBg:var(--sp-buttonBg-l,oklch(var(--primary)));--sp-buttonFg:var(--sp-buttonFg-l,oklch(var(--primary-foreground)));--sp-printer:var(--sp-printer-l,color-mix(in oklab, oklch(var(--foreground)) 82%, oklch(var(--background))));--sp-ink:var(--sp-ink-l,oklch(var(--foreground)));--sp-highlight:var(--sp-highlight-l,color-mix(in oklab, oklch(var(--primary)) 38%, transparent))}html[dir].dark .sp-root{--sp-overlay:var(--sp-overlay-d,#000000b3);--sp-paper:var(--sp-paper-d,color-mix(in oklab, oklch(var(--card)) 88%, oklch(var(--primary)) 12%));--sp-lines:var(--sp-lines-d,oklch(var(--primary)));--sp-title:var(--sp-title-d,oklch(var(--foreground)));--sp-text:var(--sp-text-d,oklch(var(--muted-foreground)));--sp-accent:var(--sp-accent-d,oklch(var(--primary)));--sp-codeBg:var(--sp-codeBg-d,oklch(var(--card)));--sp-codeInk:var(--sp-codeInk-d,oklch(var(--destructive)));--sp-foil:var(--sp-foil-d,#a9aeb8);--sp-coin:var(--sp-coin-d,#dcaa3f);--sp-stamp:var(--sp-stamp-d,oklch(var(--destructive)));--sp-buttonBg:var(--sp-buttonBg-d,oklch(var(--primary)));--sp-buttonFg:var(--sp-buttonFg-d,oklch(var(--primary-foreground)));--sp-printer:var(--sp-printer-d,color-mix(in oklab, oklch(var(--foreground)) 20%, oklch(var(--background))));--sp-ink:var(--sp-ink-d,oklch(var(--foreground)));--sp-highlight:var(--sp-highlight-d,color-mix(in oklab, oklch(var(--primary)) 45%, transparent))}html[dir] .sp-root[data-sp-look=receipt]{--sp-paper:var(--sp-paper-l,oklch(var(--card)))}html[dir].dark .sp-root[data-sp-look=receipt]{--sp-paper:var(--sp-paper-d,oklch(var(--card)))}html[dir] .sp-overlay{z-index:90;background:var(--sp-overlay);animation:.35s both sp-fade;position:fixed;inset:0}html[dir] .sp-content{z-index:91;pointer-events:none;outline:none;place-items:center;padding:1.5rem 1rem;display:grid;position:fixed;inset:0;overflow-y:auto}html[dir] .sp-content>*{pointer-events:auto}html[dir] .sp-root .sp-title{font-weight:900;line-height:1.2;font-size:var(--sp-fs-title-m,1.375rem);margin:0}html[dir] .sp-root .sp-sub{font-size:var(--sp-fs-subtitle-m,.8125rem);color:var(--sp-text);margin:.15rem 0 0}html[dir] .sp-root .sp-body{font-size:var(--sp-fs-body-m,.8125rem)}html[dir] .sp-root .sp-code{font:700 var(--sp-fs-code-m,1.75rem) / 1.3 ui-monospace, SFMono-Regular, Menlo, monospace;letter-spacing:.2em;text-align:center;margin:0}html[dir] .sp-root .sp-btn{background:var(--sp-buttonBg);color:var(--sp-buttonFg);font:inherit;font-weight:700;font-size:var(--sp-fs-button-m,.875rem);cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;gap:.4rem;padding:.65rem 1.4rem;text-decoration:none;transition:transform .15s;display:inline-flex}html[dir] .sp-root .sp-btn:active{transform:scale(.97)}html[dir] .sp-root :focus-visible{outline:2px solid var(--sp-accent);outline-offset:3px}html[dir] .sp-root .sp-close{z-index:9;background:var(--sp-buttonBg);width:2rem;height:2rem;color:var(--sp-buttonFg);cursor:pointer;border:0;border-radius:50%;place-items:center;display:grid;position:absolute;top:-.875rem;left:-.875rem;box-shadow:0 4px 10px #0000004d}html[dir] .sp-root .sp-close svg{width:1rem;height:1rem}html[dir] .sp-root .sp-image{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;display:block}html[dir] .sp-root .sp-center{text-align:center;margin:0}html[dir] .sp-root .sp-note:empty{display:none}@media (min-width:1024px){html[dir] .sp-root .sp-title{font-size:var(--sp-fs-title-d,1.5rem)}html[dir] .sp-root .sp-sub{font-size:var(--sp-fs-subtitle-d,.8125rem)}html[dir] .sp-root .sp-body{font-size:var(--sp-fs-body-d,.8125rem)}html[dir] .sp-root .sp-code{font-size:var(--sp-fs-code-d,1.875rem)}html[dir] .sp-root .sp-btn{font-size:var(--sp-fs-button-d,.875rem)}}html[dir] .sp-cheque{width:min(27.5rem,100vw - 2rem);animation:.8s cubic-bezier(.3,1.2,.5,1) both sp-cheque-in;position:relative}html[dir] .sp-cheque .sp-sheet{background:var(--sp-paper);color:var(--sp-title);box-shadow:0 30px 60px #00000073, inset 0 0 0 1px color-mix(in oklab, var(--sp-lines) 25%, transparent), inset 0 0 0 7px var(--sp-paper), inset 0 0 0 8px color-mix(in oklab, var(--sp-lines) 35%, transparent);border-radius:1.125rem;padding:1.5rem 1.625rem 1.375rem;position:relative;overflow:hidden}html[dir] .sp-cheque .sp-guilloche{fill:none;width:100%;height:100%;stroke:var(--sp-lines);stroke-opacity:.16;stroke-width:.8px;pointer-events:none;position:absolute;inset:0}html[dir] .sp-cheque .sp-head{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.875rem;display:flex;position:relative}html[dir] .sp-cheque .sp-mark{flex-direction:column;flex:none;align-items:flex-end;display:flex}html[dir] .sp-cheque .sp-serial{letter-spacing:.05em;color:var(--sp-accent);font-family:ui-monospace,monospace}html[dir] .sp-cheque .sp-badge{color:var(--sp-accent);opacity:.2;font-size:1.875rem;font-weight:900;line-height:1.1}html[dir] .sp-cheque .sp-scratch{-webkit-user-select:none;user-select:none;width:min(15.625rem,100%);height:5.75rem;box-shadow:0 0 0 2px var(--sp-lines), 0 0 0 5px var(--sp-paper), 0 0 0 6px color-mix(in oklab, var(--sp-lines) 40%, transparent);border-radius:.75rem;margin:0 auto;position:relative;overflow:hidden}html[dir] .sp-cheque[data-sp-kind=image] .sp-scratch{aspect-ratio:16/9;width:100%;height:auto}html[dir] .sp-cheque .sp-under{background:var(--sp-codeBg);color:var(--sp-text);flex-direction:column;justify-content:center;align-items:center;gap:.1rem;display:flex;position:absolute;inset:0}html[dir] .sp-cheque .sp-under .sp-code{color:var(--sp-codeInk)}html[dir] .sp-cheque .sp-stamp{border:3px double var(--sp-stamp);color:var(--sp-stamp);border-radius:.5rem;padding:.1rem .6rem;font-size:.9375rem;font-weight:900;animation:.5s cubic-bezier(.3,1.4,.5,1) both sp-stamp;position:absolute;top:.5rem;left:.625rem}html[dir] .sp-cheque .sp-foil{width:100%;height:100%;color:var(--sp-foil);cursor:none;touch-action:none;position:absolute;inset:0}html[dir] .sp-cheque [data-sp-revealed] .sp-foil{pointer-events:none;animation:.6s ease-in forwards sp-peel}html[dir] .sp-cheque .sp-coin{z-index:7;width:3rem;height:3rem;color:var(--sp-coin);pointer-events:none;filter:drop-shadow(0 6px 6px #0006);transition:transform .12s ease-out;position:absolute;top:25%;left:60%}html[dir] .sp-cheque .sp-coin[data-sp-idle]{animation:1.8s ease-in-out 1s 2 sp-coin-hint}html[dir] .sp-cheque [data-sp-revealed] .sp-coin{opacity:0;transition:opacity .4s,transform .4s;transform:translateY(-20px)rotate(40deg)}html[dir] .sp-cheque .sp-flake{z-index:6;background:var(--sp-foil);pointer-events:none;border-radius:1px;width:6px;height:4px;animation:.9s ease-in forwards sp-flake;position:absolute}html[dir] .sp-cheque .sp-foot{min-height:2.5rem;color:var(--sp-text);justify-content:space-between;align-items:center;gap:.625rem;margin-top:1rem;display:flex;position:relative}html[dir] .sp-cheque .sp-after{opacity:0;margin-inline-start:auto;transition:opacity .4s,transform .4s;transform:translateY(6px)}html[dir] .sp-cheque .sp-after[data-sp-show]{opacity:1;transform:none}html[dir] .sp-cheque .sp-after:not([data-sp-show])>*{visibility:hidden}html[dir] .sp-receipt{width:min(21.25rem,100vw - 2rem);animation:.45s both sp-fade;position:relative}html[dir] .sp-receipt .sp-printer{z-index:3;background:var(--sp-printer);border-radius:.875rem .875rem .5rem .5rem;height:2.875rem;position:relative;box-shadow:0 14px 26px #0006}html[dir] .sp-receipt .sp-slot{inset-inline:1.375rem;background:#0009;border-radius:3px;height:6px;position:absolute;bottom:.5625rem}html[dir] .sp-receipt .sp-led{background:oklch(var(--success));width:7px;height:7px;box-shadow:0 0 8px oklch(var(--success));border-radius:50%;position:absolute;top:.75rem;right:1rem}html[dir] .sp-receipt .sp-feed{margin:-.75rem 1.5625rem 0;padding-bottom:.75rem;overflow:hidden}html[dir] .sp-receipt .sp-paper{background:var(--sp-paper);color:var(--sp-ink);padding:1.625rem 1.125rem 1.375rem;animation:2.2s steps(14,end) .4s both sp-print;box-shadow:0 10px 20px #00000040;-webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - 10px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/16px 10px repeat-x;mask:linear-gradient(#000 0 0) top/100% calc(100% - 10px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/16px 10px repeat-x}html[dir] .sp-receipt .sp-title,html[dir] .sp-receipt .sp-sub{text-align:center;color:var(--sp-ink)}html[dir] .sp-receipt .sp-sub{opacity:.8}html[dir] .sp-receipt .sp-dash{opacity:.8;border:0;border-top:1.5px dashed;margin:.625rem 0}html[dir] .sp-receipt .sp-row{justify-content:space-between;gap:.5rem;display:flex}html[dir] .sp-receipt .sp-print-photo{filter:grayscale()contrast(1.25);mix-blend-mode:multiply;height:11rem;margin:.25rem 0 .625rem}html.dark[dir] .sp-receipt .sp-print-photo{mix-blend-mode:normal}html[dir] .sp-receipt .sp-code{background:linear-gradient(var(--sp-highlight), var(--sp-highlight)) no-repeat;background-size:0 100%;border-radius:3px;margin:.25rem 0 .5rem}html[dir] .sp-receipt .sp-code[data-sp-marked]{animation:.5s ease-out forwards sp-mark}html[dir] .sp-receipt .sp-barcode{background:repeating-linear-gradient(90deg,currentColor 0 2px,#0000 2px 4px,currentColor 4px 5px,#0000 5px 8px,currentColor 8px 11px,#0000 11px 12px);height:2.25rem;margin:.375rem .5rem .75rem}html[dir] .sp-receipt .sp-btn{border-radius:.375rem;width:100%;margin-top:.5rem}html[dir] .sp-receipt .sp-note{opacity:.8;margin-top:.25rem}@keyframes sp-fade{0%{opacity:0}}@keyframes sp-cheque-in{0%{opacity:0;transform:translateY(60px)rotate(-6deg)scale(.92)}70%{transform:translateY(-6px)rotate(1deg)}to{opacity:1;transform:none}}@keyframes sp-flake{to{transform:translate(var(--dx), 70px) rotate(var(--r));opacity:0}}@keyframes sp-peel{to{opacity:0;transform:translateY(-14px)rotate(-4deg)scale(1.04)}}@keyframes sp-stamp{0%{opacity:0;transform:scale(2.4)rotate(-22deg)}55%{opacity:1;transform:scale(.92)rotate(-14deg)}to{opacity:.9;transform:scale(1)rotate(-14deg)}}@keyframes sp-coin-hint{0%,to{transform:translate(0)rotate(-18deg)}50%{transform:translate(-46px,10px)rotate(8deg)}}@keyframes sp-print{0%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes sp-mark{to{background-size:100% 100%}}@media (prefers-reduced-motion:reduce){html[dir] .sp-root *,html[dir] .sp-root{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
