*{box-sizing:border-box;margin:0;padding:0}
*::-webkit-scrollbar{display:none} *{scrollbar-width:none}
html,body{height:100%}
body{font-family:var(--font);background:var(--bg-0);color:var(--text);overflow:hidden;font-size:calc(15px * var(--fs-scale,1));
  line-height:1.5;-webkit-font-smoothing:antialiased;transition:background var(--sink),color var(--sink)}
body.resizing{cursor:col-resize;user-select:none}
button{font-family:inherit;color:inherit;cursor:pointer;border:none;background:none}
svg{fill:none;stroke:currentColor}


/* Receipt view and editor share the same surface and line geometry. */
.digital-receipt .receipt-line{white-space:pre-wrap;overflow-wrap:anywhere;min-height:1.4em}
.digital-receipt .receipt-line-gap{height:.65em}
.digital-receipt [data-receipt-line]{outline:none;border-radius:3px}
.digital-receipt [contenteditable]{cursor:text;caret-color:currentColor}
.digital-receipt [contenteditable]:focus{box-shadow:0 1px 0 currentColor;background:rgba(127,127,127,.08)}
.digital-receipt.receipt-editing .rowact{display:flex;opacity:1;flex-wrap:wrap;gap:6px}
.digital-receipt .rowact .receipt-save,.digital-receipt .rowact .receipt-cancel{width:auto;min-width:44px;min-height:36px;padding:5px 8px;font:inherit}
