/* Kru web till (kruspend.com/pos/): tokens, base, buttons, wordmark, icons.
   Design system: design-system/kru/MASTER.md (kruspend.com's palette, Plus Jakarta Sans, touch targets ≥ 56px on the till).
   Icons: assets/icons/kru-icons.svg, the web portal's Tabler outline sprite (see VERSION). */
:root {
  --violet: #6D3BF5; --violet-press: #5E2EEA; --violet-deep: #2B1160; --night: #0B0420;
  --lilac: #EFE9FF; --lilac-line: #DCD1FA; --well: #F7F4FF; --paper: #FFFFFF;
  --ink: #1B1033; --muted: #6E6390; --control-line: #8F84B8;
  --mint-ink: #0B7A55; --red-ink: #B3261E; --app-red: #E53E3E; --amber: #FFC53D;
  --red-tint: color-mix(in srgb, var(--app-red) 14%, #FFFFFF);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-control: 10px; --r-panel: 14px; --r-sheet: 20px; --r-round: 999px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --tap: 56px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--night); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; }
a { color: var(--violet); text-underline-offset: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--amber); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.mono { font-family: var(--mono); }

/* the wordmark: KRU and the amber dot */
.mark { display: inline-block; font-weight: 800; font-size: 28px; letter-spacing: -0.03em; line-height: 1; color: var(--paper); text-decoration: none; }
.mark i { display: inline-block; width: 0.32em; height: 0.32em; margin-left: 0.06em; border-radius: 3px; background: var(--amber); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--r-control); font-weight: 600; font-size: 16px; text-decoration: none;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--violet); color: var(--paper); }
.btn-solid:hover { background: var(--violet-press); }
.btn[disabled] { opacity: 0.55; cursor: progress; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
