/* Копейка: столешница + кремовая кассовая лента. Чек — сама домашняя касса. */
:root {
  color-scheme: dark;
  --paper: #141210; --surface: #1c1916; --raised: #241f1a; --subtle: #1e1a16;
  --ink: #ece5d8; --muted: #9a9084; --line: #2c2620; --line-strong: #3d352b;
  --accent: #e8c547; --accent-hover: #f5d95e; --accent-soft: #2e2613; --on-accent: #1a1408;
  --success: #7dd3a8; --success-soft: #1c2b22; --warning: #e8c547; --warning-soft: #2c2613; --danger: #e07856; --danger-soft: #2e1c14;
  --glow: none; --shadow: 0 24px 60px -24px #000c;
  /* Кассовая лента — кремовая бумага чека. */
  --tape: #f2ead9; --tape-ink: #20190f; --tape-muted: #7a6d55; --tape-line: #cdbfa3;
  --font-body: 'Golos Text', Arial, sans-serif;
  --font-display: 'Fira Sans Extra Condensed', 'Golos Text', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 8px; --radius-lg: 12px; --radius-pill: 999px;
}
body { font-variant-numeric: tabular-nums; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(90deg, #e8c54705 1px, transparent 1px);
  background-size: 90px 90px; }
.ks-shell { position: relative; z-index: 1; }
.ks-masthead { border-bottom-color: var(--line-strong); }
.ks-brand > span { color: var(--accent); }
::selection { background: #4a3f1c; color: #fff; }

/* Лента чуть наклонена, как брошенная на стол. */
.ks-tape { transform: rotate(-.4deg); }
/* Строки «позиций» печатными знаками. */
.ks-line .amt { color: var(--tape-ink); }
.ks-line.is-in .amt { color: #1f6b3f; }
.ks-line.is-out .amt { color: #a33f22; }
.ks-tape-head strong, .ks-tape-foot { font-variant-numeric: normal; }
