/* InvoTech POS: the pack's shapes for every screen (Brand.chrome).

   Loaded after brand-invotech.css on every page and on the kiosk, so it may
   reshape the shared markup; like auth-invotech.css it names no colour and
   reads only tokens brand-invotech.css defines (tests/test_sign_in_layouts.py).

   InvoTech's identity, kept formal (owner, 2026-10-16), and still neither of
   the other two systems: a flat space-indigo top bar whose current page is
   underlined in violet, Electric Violet for actions on a cool lavender grey,
   squared 4 px controls and 6 px hairline panels. Manrope throughout. No
   brackets, no chamfers, no grids, no glow. */

/* ---- the top bar ---- */
:root { --topbar-h: 60px; --radius-lg: 6px; --radius: 4px; --radius-sm: 4px; }
.topbar { gap: 6px 20px; padding: 8px var(--gutter); background: var(--bar-bg); box-shadow: none; }
.brand { gap: 10px; }
.brand-mark { width: 30px; height: 30px; border-radius: 6px; background: none; box-shadow: none; }
.brand-name { font-weight: 600; letter-spacing: -0.01em; }
.nav { gap: 2px; }
.nav a { position: relative; min-height: 44px; padding: 0 14px; border-radius: 4px; font-weight: 500; color: var(--bar-muted); }
.nav a:hover { background: var(--bar-hover); color: var(--bar-text); }
.nav a[aria-current="page"] { background: var(--bar-hover); color: var(--bar-text); }
.nav a[aria-current="page"]::after { left: 14px; right: 14px; bottom: 2px; background: var(--submit-bg); }
.topbar .btn-quiet { border-radius: 4px; border-color: var(--bar-line); font-weight: 500; }
@media (max-width: 719px) {
  .nav { margin: 2px 0 4px; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
  .nav a { min-height: var(--tap-min); padding: 0 12px; }
}

/* ---- FTNs and codes in a monospace, for reading them back ---- */
.ftn, code, .mono, .result-ftn { font-family: var(--font-mono); }

/* ---- controls: squared, the call to action violet ---- */
.btn { border-radius: 4px; font-weight: 500; }
.btn-xl { font-weight: 600; }
.btn-primary { background: var(--cta); color: var(--on-cta); }
.btn-primary:hover:not(:disabled) { background: var(--cta-hover); }
.btn-secondary:hover:not(:disabled) { border-color: var(--primary); background: var(--primary-soft); }

/* ---- hairline panels ---- */
.card, .stat, .table, .report-list, .audit-list { box-shadow: 0 0 0 1px var(--border); }

/* ---- the counter ---- */
.till-cart { box-shadow: -1px 0 0 var(--border); }
.item, .qs-tile { box-shadow: 0 0 0 1px var(--border); }
.item:hover, .qs-tile:hover { box-shadow: 0 0 0 1px var(--border-strong); }
.item:has(.item-count), .qs-tile:has(.item-count) { box-shadow: inset 0 0 0 2px var(--primary); }

/* ---- the self-order kiosk: squared, violet to act ---- */
.k-btn, .k-bar-done, .k-quiet, .k-back, .k-link, .k-chip, .k-lang, .k-lang-btn, .k-stepper, .k-step { border-radius: 4px; }
.k-tile, .k-dine, .k-line, .ks-offer, .k-done-card, .k-pay-card, .k-notice, .k-center, .k-empty, .k-receipt { border-radius: 6px; }
.k-tile-plate, .k-line-plate, .kc-plate, .k-cat, .kc-option, .k-input, .k-discount, .kc-qty { border-radius: 4px; }
