body { background: #efebe3; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px 60px; }

/* lock screen */
.lock { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(1200px 600px at 50% -10%, #2a241d, #16130f); color: #f5f2ec; }
.lock-inner { width: min(680px, 100%); text-align: center; }
.lock h1 { margin: 10px 0 4px; font: 700 30px var(--display); }
.lock p { margin: 0; color: #bfb6a8; }
.lock .logo { margin: 0 auto; background: #f5f2ec; color: #16130f; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; margin-top: 26px; }
.person { display: grid; justify-items: center; gap: 8px; padding: 18px 8px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); border-radius: 16px; color: #f5f2ec; cursor: pointer; transition: background .12s, transform .12s; }
.person:hover { background: rgb(255 255 255 / .11); }
.person:active { transform: scale(.98); }
.person .avatar { width: 58px; height: 58px; margin: 0; font-size: 22px; }
.person.counter .avatar { background: #e8e2d6; color: #16130f; }
.person.owner .avatar { background: #ffcf8a; color: #16130f; }
.person small { color: #bfb6a8; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.pinpad { width: min(320px, 100%); margin: 22px auto 0; }
.dots { display: flex; justify-content: center; gap: 14px; margin: 18px 0 22px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #bfb6a8; }
.dots i.on { background: #f5f2ec; border-color: #f5f2ec; }
.dots.shake { animation: shake .35s; }
@keyframes shake { 25% { translate: -8px 0; } 75% { translate: 8px 0; } }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.key { height: 64px; border: 0; border-radius: 50%; width: 64px; justify-self: center; background: rgb(255 255 255 / .09); color: #f5f2ec; font: 600 24px var(--font); cursor: pointer; }
.key:hover { background: rgb(255 255 255 / .16); }
.key.ghost { background: none; font-size: 15px; }
.lock .hint { margin-top: 22px; color: #8f877b; font-size: 12px; }
.lock .back { margin-top: 14px; background: none; border: 0; color: #bfb6a8; cursor: pointer; text-decoration: underline; }

/* app shell */
.bar { position: sticky; top: 0; z-index: 10; background: rgb(239 235 227 / .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar-in { max-width: 1100px; margin: 0 auto; padding: 10px 16px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 14px; }
.bar-in .tabs { grid-column: 2; grid-row: 1; justify-content: center; }
.bar-right { grid-column: 3; display: flex; align-items: center; gap: 8px; }
.tab-link { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
@media (max-width: 900px) {
  .bar-in { grid-template-columns: 1fr auto; }
  .bar-in .tabs { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
  .bar-in .tabs::-webkit-scrollbar { display: none; }
  .bar-right { grid-column: 2; }
  .tab { flex: none; }
}
.who { display: flex; align-items: center; gap: 10px; }
.who .avatar { width: 40px; height: 40px; margin: 0; font-size: 16px; }
.who b { display: block; font: 700 18px var(--display); }
.who small { color: var(--muted); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 600; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lockbtn { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; cursor: pointer; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
@media (max-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat span { display: block; color: var(--muted); font-size: 13px; }
.stat strong { display: block; font: 700 28px/1.2 var(--display); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.stat.hl { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stat.hl span, .stat.hl small { color: #cfc7ba; }

.section-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 10px; }
.section-head h2 { margin: 0 auto 0 0; font: 700 22px var(--display); }

.appts { display: grid; gap: 10px; }
.appt { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.appt .time { font: 700 20px var(--display); font-variant-numeric: tabular-nums; }
.appt .time small { display: block; color: var(--muted); font: 400 12px var(--font); }
.appt .info b { display: block; font-size: 16px; }
.appt .info span { color: var(--muted); font-size: 14px; }
.appt .acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.appt.is-paid { background: #f8faf7; }
.appt.is-next { border-color: var(--ink); box-shadow: inset 4px 0 0 var(--accent); }
@media (max-width: 600px) { .appt { grid-template-columns: 58px 1fr; } .appt .acts { grid-column: 1 / -1; justify-content: flex-start; } }
.chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-left: 6px; vertical-align: 2px; }
.chip.in { background: #e6eefb; color: #2a4f8f; }
.chip.ready { background: #fdf1d9; color: #7a5200; }
.chip.paid { background: var(--ok-soft); color: var(--ok); }
.chip.ns { background: #eee; color: #555; }

/* counter sheet */
.sheet-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.sheet { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.sheet th, .sheet td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sheet th { position: sticky; top: 0; background: #faf8f4; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.sheet tr:last-child td { border-bottom: 0; }
.sheet td.num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet tr.row-ready { background: #fffaf0; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters select { min-height: 38px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); font: inherit; }

.queue { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.qcard { display: grid; gap: 4px; padding: 14px; text-align: left; background: #fffaf0; border: 1.5px solid #ecd6a6; border-radius: 14px; cursor: pointer; }
.qcard:hover { border-color: #c98a00; }
.qcard b { font-size: 16px; }
.qcard span { color: var(--muted); font-size: 14px; }
.qcard strong { font: 700 22px var(--display); }

/* checkout modal */
.modal-back { position: fixed; inset: 0; z-index: 40; background: rgb(22 19 15 / .45); display: grid; place-items: center; padding: 16px; }
.modal { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--card); border-radius: 18px; padding: 22px; box-shadow: 0 30px 80px rgb(0 0 0 / .3); }
.modal h3 { margin: 0; font: 700 24px var(--display); }
.modal .sub { color: var(--muted); margin: 2px 0 14px; }
.mrow { padding: 12px 0; border-top: 1px solid var(--line); }
.mrow h4 { margin: 0 0 8px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 600; cursor: pointer; }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qty { display: inline-flex; align-items: center; gap: 8px; }
.qty button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); font-weight: 700; cursor: pointer; }
.prod { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.line { display: flex; justify-content: space-between; padding: 4px 0; font-size: 15px; }
.line.total { font-weight: 700; font-size: 18px; padding-top: 10px; }
.line.total strong { font: 700 30px var(--display); }
.line.mine { color: var(--ok); font-weight: 600; }
.money-in { width: 100px; padding: 8px 10px; }
.pay-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.pay-btns .btn { min-height: 56px; font-size: 17px; }

/* payroll */
table.payroll { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.payroll th, .payroll td { padding: 12px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.payroll th:first-child, .payroll td:first-child { text-align: left; }
.payroll th { background: #faf8f4; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.payroll td.pay { font-weight: 800; }
.payroll tfoot td { font-weight: 700; background: #faf8f4; }
.settings { display: grid; gap: 10px; }
.set-row { display: grid; grid-template-columns: 1fr 120px 120px 150px auto; gap: 10px; align-items: end; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.set-row b { font: 700 18px var(--display); align-self: center; }
@media (max-width: 760px) { .set-row { grid-template-columns: 1fr 1fr; } .set-row b { grid-column: 1 / -1; } }
.note { color: var(--muted); font-size: 13px; }

/* language switch on the dark lock screen */
.lock { position: relative; }
.lock-top { position: absolute; top: 14px; right: 16px; }
.lock .lang { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .16); }
.lock .lang button { color: #bfb6a8; }
.lock .lang button[aria-pressed="true"] { background: #f5f2ec; color: #16130f; }

.daynav { display: flex; gap: 6px; }
.empty-state { display: grid; gap: 4px; padding: 26px 18px; text-align: center; background: #faf8f4; border: 1.5px dashed var(--line); border-radius: 14px; color: var(--muted); }
.empty-state b { color: var(--ink); font-size: 16px; }
.qcard.chair { background: #f4f7fd; border-color: #c9d6ef; }
.muted { color: var(--muted); }

/* owner: today at a glance */
.cards.glance .stat.yday { grid-column: 1 / -1; display: flex; align-items: center; padding: 10px 16px; background: #faf8f4; box-shadow: none; }
.cards.glance .stat.yday span { font-size: 14px; }
.trend { font-weight: 700; }
.stat.hl .trend.up { color: #8fe0ad; }
.stat.hl .trend.down { color: #ffb4a8; }

/* barber: my week */
.weekchart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 190px; margin: 16px 0; padding: 16px 14px 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.wbar { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 6px; min-width: 0; }
.wbar i { align-self: end; width: min(42px, 100%); border-radius: 8px 8px 3px 3px; background: #d9cfbf; }
.wbar.is-today i { background: var(--accent); }
.wval { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wday { font-size: 12px; color: var(--muted); text-transform: capitalize; }
.wbar.is-today .wday { color: var(--ink); font-weight: 700; }
table.payroll.week { min-width: 560px; }
.payroll tr.is-off td { color: var(--muted); }

/* checkout modal: scrolling body, fixed footer with total + pay buttons */
.modal { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.modal-body { padding: 22px 22px 8px; overflow-y: auto; }
.modal-foot { padding: 10px 22px 18px; border-top: 1px solid var(--line); background: var(--card); }
.modal-foot .line.total { padding-top: 0; }
.modal-foot .pay-btns { margin-top: 8px; }
.modal-foot .btn.ghost.wide { margin-top: 8px; min-height: 42px; }
@media (max-width: 600px) {
  .modal-back { place-items: end stretch; padding: 0; }
  .modal { width: 100%; max-height: 94vh; border-radius: 18px 18px 0 0; }
  .modal-body { padding: 18px 16px 6px; }
  .modal-foot { padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); }
  .pill { min-height: 44px; }
  .qty button { width: 40px; height: 40px; }
}

/* receipt */
.rc-tick { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); font-size: 28px; font-weight: 800; }
.receipt-modal h3, .receipt-modal .sub { text-align: center; }
.receipt { margin: 14px auto 6px; width: min(340px, 100%); padding: 18px 18px 14px; background: #fffef9; border: 1px solid var(--line); border-radius: 6px; font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; box-shadow: 0 6px 20px rgb(0 0 0 / .06); }
.rc-head { display: grid; text-align: center; margin-bottom: 10px; }
.rc-head b { font-size: 16px; letter-spacing: .12em; }
.rc-head span { color: var(--muted); font-size: 12px; }
.rc-line { display: flex; justify-content: space-between; gap: 12px; }
.rc-line span:last-child { white-space: nowrap; }
.receipt hr { border: 0; border-top: 1px dashed #bdb4a5; margin: 8px 0; }
.rc-total { font-weight: 800; font-size: 17px; }
.rc-earn { margin-top: 6px; color: var(--ok); font-weight: 700; }
.rc-foot { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 11px; }
@media print {
  body.printing > *:not(.modal-back) { display: none !important; }
  body.printing .modal-back { position: static; background: none; padding: 0; display: block; }
  body.printing .modal { box-shadow: none; max-height: none; width: auto; border-radius: 0; }
  body.printing .modal-body > :not(.receipt), body.printing .modal-foot { display: none !important; }
  body.printing .receipt { border: 0; box-shadow: none; margin: 0; width: 72mm; padding: 0; }
}

/* phones: schedule table becomes a list of cards */
@media (max-width: 640px) {
  .wrap { padding: 0 12px 60px; }
  .cards { gap: 8px; }
  .stat { padding: 12px; }
  .stat strong { font-size: 22px; }
  .section-head h2 { font-size: 20px; flex-basis: 100%; }
  .sheet-wrap:has(table.sheet) { overflow: visible; background: none; border: 0; box-shadow: none; }
  table.sheet { min-width: 0; }
  table.sheet thead { display: none; }
  table.sheet, table.sheet tbody, table.sheet tr, table.sheet td { display: block; }
  table.sheet tr { position: relative; margin-bottom: 10px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
  table.sheet tr.row-ready { background: #fffaf0; border-color: #ecd6a6; }
  table.sheet td { padding: 2px 0; border: 0; white-space: normal; text-align: left; }
  table.sheet td[data-k]:not(:first-child)::before { content: attr(data-k) ": "; color: var(--muted); font-size: 12px; }
  table.sheet td.num:empty, table.sheet td:empty { display: none; }
  table.sheet td.act { margin-top: 8px; }
  table.sheet td.act .btn { width: 100%; }
  .weekchart { gap: 4px; padding: 12px 8px 8px; height: 170px; }
  .wval { font-size: 10px; }
  .lock-top { top: 10px; right: 10px; }
  .people { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
  .set-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .who small { display: none; }
  .appt .acts .btn { flex: 1; }
}

/* ---- part 2: clients, loyalty, codes, stock, costs, team, log ---- */
.linkish { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: #c9bfae; text-underline-offset: 3px; }
.linkish:hover { text-decoration-color: currentColor; }
.client-note { display: block; margin-top: 4px; padding: 6px 10px; background: #fff7e3; border-radius: 8px; color: #6b4e00; font-size: 13px; }
.appt .info .client-note { width: fit-content; }
.text-in { width: 100%; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); font: inherit; color: inherit; }
textarea.text-in { resize: vertical; }
.mrow.two { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.code-row { display: flex; gap: 6px; }
.applied { margin: 0; padding: 8px 10px; background: var(--ok-soft); color: var(--ok); border-radius: 10px; font-weight: 600; font-size: 14px; }
.applied .linkish { margin-left: 6px; color: var(--ink); font-weight: 500; }
.prod small.warn { color: var(--accent); font-weight: 700; }
.qty button:disabled { opacity: .35; cursor: default; }
.stamps { display: flex; gap: 6px; flex-wrap: wrap; }
.stamps i { width: 30px; height: 30px; border-radius: 50%; border: 2px dashed #c9bfae; display: grid; place-items: center; font-style: normal; font-size: 14px; color: #c9bfae; }
.stamps i.on { border-style: solid; border-color: var(--ink); background: var(--ink); }
.stamps i.gift { border-color: var(--accent); color: var(--accent); }
.free-pill { margin-top: 8px; border-color: var(--accent); color: var(--accent); }
.free-pill[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 4px; }
.mini-stats div { padding: 10px; background: #faf8f4; border-radius: 10px; }
.mini-stats span { display: block; color: var(--muted); font-size: 12px; }
.mini-stats b { font-size: 17px; }
.hist { display: grid; gap: 2px; max-height: 260px; overflow-y: auto; }
.hrow { display: grid; grid-template-columns: 110px 1fr auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.hrow:last-child { border-bottom: 0; }
.qcard.wl { cursor: default; background: var(--card); border-color: var(--line); }
.qcard.wl.has-free { border-color: var(--ok); background: #f3faf5; }
.qcard .free-now { color: var(--ok); font-weight: 700; }
.qcard .acts { display: flex; gap: 6px; margin-top: 6px; }
.eod { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.eod > div:first-child { display: grid; gap: 2px; }
.eod span { color: var(--muted); font-size: 14px; }
.eod strong { color: var(--ink); }
.eod-in { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.eod-in label, .card-form label, .off-form label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.eod-in .text-in { width: 200px; }
.eod.is-closed { background: #f3faf5; border-color: #bfe0cb; }
.eod-acts { display: flex; gap: 6px; }
.search { margin-left: auto; min-width: min(280px, 100%); }
table.sheet.clients tr.clickrow { cursor: pointer; }
table.sheet.clients tr.clickrow:hover { background: #faf8f4; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .03em; }
.payroll td.left { text-align: left; }
.payroll tr.is-low td { background: #fff7f5; }
.payroll .restock { display: inline-flex; gap: 6px; }
.payroll .money-in { width: 80px; }
.two-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card-form > b { flex-basis: 100%; font: 700 17px var(--display); }
.card-form select, .eod select { min-height: 40px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); font: inherit; }
.card-form .text-in { width: 150px; }
.card-form .grow, .off-form .grow { flex: 1; min-width: 140px; }
.card-form .grow .text-in, .off-form .grow .text-in { width: 100%; }
.small-pill { min-height: 34px; padding: 0 12px; font-size: 14px; }
.mlabel { align-self: center; padding: 0 6px; font-weight: 700; text-transform: capitalize; }
.split { display: flex; height: 34px; border-radius: 10px; overflow: hidden; background: #eee; }
.split i { display: block; min-width: 3px; }
.split-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 14px; }
.split-legend span { display: inline-flex; align-items: center; gap: 6px; }
.split-legend i { width: 12px; height: 12px; border-radius: 3px; }
.sp-barber { background: #3a332b; } .sp-rent { background: #b8322a; } .sp-bills { background: #d9822b; } .sp-supplies { background: #c9a227; }
.sp-stock { background: #8a6d3b; } .sp-marketing { background: #7a5fa8; } .sp-other { background: #9c9286; } .sp-profit { background: #24724a; }
.daychart { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; height: 140px; padding: 12px 10px 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.dbar { display: grid; grid-template-rows: 1fr auto; justify-items: center; gap: 4px; min-width: 0; }
.dbar i { align-self: end; width: 100%; max-width: 22px; border-radius: 4px 4px 1px 1px; background: #d9cfbf; }
.dbar.is-today i { background: var(--accent); }
.dbar span { font-size: 10px; color: var(--muted); }
.team-card { padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; }
.team-card .set-row { padding: 0; border: 0; background: none; }
.team-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.team-row > .muted { width: 110px; font-size: 13px; }
.offs { display: flex; flex-wrap: wrap; gap: 6px; }
.offs .chip { margin: 0; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.offs .x { border: 0; background: none; cursor: pointer; font-size: 16px; line-height: 1; color: inherit; }
.off-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.off-form .text-in { width: 160px; }
tr.is-void td { color: var(--muted); text-decoration: line-through; text-decoration-color: #c9bfae; }
tr.is-void td:nth-last-child(-n+2) { text-decoration: none; }
.void-form { display: inline-flex; gap: 6px; }
.void-form .text-in { width: 180px; }
.audit { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); max-height: 420px; overflow-y: auto; }
.arow { display: grid; grid-template-columns: 130px 140px 80px 1fr; gap: 10px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.arow:last-child { border-bottom: 0; }
.arow.rev { grid-template-columns: 90px 110px 1fr auto; }
.arow.is-hidden { opacity: .55; }
.stars { color: #d39b00; letter-spacing: 1px; }
@media (max-width: 640px) {
  .two-forms { grid-template-columns: 1fr; }
  .mrow.two { grid-template-columns: 1fr; }
  .arow, .arow.rev { grid-template-columns: 1fr; gap: 2px; }
  .hrow { grid-template-columns: 1fr auto; } .hrow span:first-child { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
  .team-row > .muted { width: 100%; }
  .eod-in .text-in, .off-form .text-in, .card-form .text-in { width: 100%; }
  .eod-in, .eod-in label, .off-form label { flex: 1 1 100%; }
  .payroll.stock { min-width: 620px; }
  .search { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 640px) { table.sheet td.num { text-align: left; } }
.install { margin-top: 18px; min-height: 42px; padding: 0 18px; border: 1px solid rgb(255 255 255 / .25); border-radius: 999px; background: rgb(255 255 255 / .08); color: #f5f2ec; font-weight: 600; cursor: pointer; }
.install[hidden] { display: none; }
.qcard:disabled, #walkin-sale:disabled { opacity: .45; cursor: not-allowed; }
