/* «Бумажные» документы для демо разбора */
.paper { background: #fdfdfb; color: #1c1c1c; font: 11px/1.35 Arial, 'Helvetica Neue', sans-serif; padding: 22px 24px; border-radius: 6px; box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 20px 50px rgba(0, 0, 0, .35); position: relative; overflow: hidden; }
.paper::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgba(0, 0, 0, .025) 60%, transparent 75%); }
.paper table { width: 100%; border-collapse: collapse; margin: 6px 0; }
.paper td, .paper th { border: 1px solid #444; padding: 3px 5px; vertical-align: top; text-align: left; }
.paper th { background: #f1f1ec; font-weight: 700; font-size: 10px; }
.paper .r { text-align: right; white-space: nowrap; }
.paper small { color: #666; font-size: 9px; }
.p-bank td { font-size: 10.5px; }
.p-title { font-size: 15px; margin: 14px 0 8px; padding-bottom: 6px; border-bottom: 2px solid #222; }
.p-row { display: flex; gap: 8px; margin: 3px 0; }
.p-row span { color: #555; min-width: 84px; flex: none; }
.p-totals { display: grid; justify-content: end; gap: 2px; margin: 6px 0 8px; }
.p-totals div { display: flex; gap: 12px; justify-content: space-between; min-width: 250px; }
.p-words { margin: 6px 0 16px; }
.p-sign { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: 10.5px; flex-wrap: wrap; }
.p-stamp { position: absolute; right: 60px; bottom: 16px; width: 86px; height: 86px; border: 3px double rgba(45, 72, 170, .55); border-radius: 50%; color: rgba(45, 72, 170, .6); font-size: 9px; font-weight: 700; display: grid; place-items: center; text-align: center; transform: rotate(-14deg); line-height: 1.2; }
.upd .p-upd-head { display: grid; grid-template-columns: 110px 1fr; gap: 12px; margin-bottom: 8px; }
.p-upd-status { border: 1px solid #444; padding: 6px; font-size: 10px; }
.upd .p-row span { min-width: 130px; }
.p-sum td { font-weight: 700; }
.receipt { max-width: 280px; margin: 0 auto; font: 11.5px/1.4 'IBM Plex Mono', ui-monospace, Consolas, monospace; padding: 18px 16px 22px; border-radius: 2px; background: #fbfaf5; }
.receipt::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 10px; background: radial-gradient(circle at 6px 10px, transparent 6px, #fbfaf5 6.5px) repeat-x; background-size: 12px 10px; transform: rotate(180deg); }
.receipt .c { text-align: center; margin-bottom: 10px; }
.receipt .b { font-weight: 700; border-top: 1px dashed #999; border-bottom: 1px dashed #999; padding: 4px 0; }
.rc-item { margin: 6px 0; }
.rc-line { display: flex; justify-content: space-between; gap: 8px; }
.rc-line.small { font-size: 10px; color: #555; }
.rc-line.big { font-size: 15px; font-weight: 700; border-top: 1px dashed #999; margin-top: 8px; padding-top: 6px; }
.rc-qr { display: grid; place-items: center; margin-top: 12px; }
.rc-qr i { display: block; width: 84px; height: 84px; background:
  linear-gradient(90deg, #1c1c1c 12px, transparent 12px 20px, #1c1c1c 20px 26px, transparent 26px 40px, #1c1c1c 40px 48px, transparent 48px 60px, #1c1c1c 60px 72px, transparent 72px) 0 0 / 84px 12px,
  linear-gradient(#1c1c1c 12px, transparent 12px 24px, #1c1c1c 24px 30px, transparent 30px 44px, #1c1c1c 44px 56px, transparent 56px 66px, #1c1c1c 66px 72px, transparent 72px) 0 0 / 12px 84px,
  repeating-conic-gradient(#1c1c1c 0 25%, transparent 0 50%) 0 0 / 12px 12px; opacity: .85; }
.pf { border-radius: 2px; transition: background .2s, box-shadow .2s; }
.pf.hl { background: rgba(61, 220, 151, .32); box-shadow: 0 0 0 2px rgba(61, 220, 151, .9); }
.pf.scan { background: rgba(122, 162, 255, .22); }
