/* Cashier Ask For Cash -- Ask For Cash, My Requests, request page and Add Bill for the Cashier (plan 2.3 to 2.6). Only new classes (vca-); nothing existing is restyled. */
.vca-phone-only { display: block; } .vca-pc-only { display: none; }
@media (min-width: 1024px) { .vca-phone-only { display: none !important; } .vca-pc-only { display: block; } .v3-tablewrap.vca-pc-only { display: block; } }
/* the PC window shows Cashier Home underneath: no page head of its own */
.v3-main:has(.vca-under) > .v3-pagehead { display: none; }
@media (min-width: 1024px) {
  .v3-main:has(.vca-mine) > .v3-pagehead { display: none; }
  .v3-main:has(.vca-req) > .v3-pagehead { flex-direction: row-reverse; justify-content: space-between; }
}
/* Ask For Cash: the two type tiles */
.vca-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vca-tile { min-height: 84px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; font-weight: 600; text-align: center; padding: 14px 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.vca-tile[aria-pressed="true"] { border-color: var(--amber); box-shadow: 0 0 0 2px var(--amber); }
.vca-tile:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.vca-ask .v3-select, .vca-bill .v3-amount { background: var(--panel); }
.vca-what { min-height: 84px; }
.vca-ask .v3h-hint { align-items: flex-start; } .vca-ask .v3h-hint svg { color: var(--accent); flex: none; margin-top: 1px; }
/* the PC window (Ask For Cash, Add Bill) */
body.v3-on #sheet.vca-win .sheet-panel { max-width: 520px; border-radius: 18px; }
body.v3-on #sheet.vca-win .sheet-head { padding: 18px 12px 14px 20px; border-bottom: 1px solid var(--line); }
body.v3-on #sheet.vca-win .sheet-head::before { display: none; }
body.v3-on #sheet.vca-win .sheet-head .icon-btn { display: inline-flex; }
body.v3-on #sheet.vca-win .sheet-head h2 { font-size: 18px; }
body.v3-on #sheet.vca-win .sheet-body { padding: 16px 20px; gap: 14px; }
body.v3-on #sheet.vca-win .sheet-foot { border-top: 1px solid var(--line); padding: 12px 20px 16px; }
.vca-win .vca-foot, #sheet.vca-win .v3h-foot { position: static; }
/* My Requests */
.vca-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .vca-head .v3-h1 { margin: 0; } .vca-head .v3-sub { margin: 2px 0 0; }
@media (max-width: 1023px) { .vca-head { display: none; } }
.vca-pills { display: flex; gap: 8px; }
.vca-pill { border: 1px solid var(--line); background: var(--panel); border-radius: 20px; padding: 7px 14px; font-weight: 600; color: var(--muted); text-decoration: none; font-size: 14px; white-space: nowrap; }
.vca-pill.on { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.vca-list { padding: 0; overflow: hidden; gap: 0; }
.vca-row { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); }
.vca-row:first-child { border-top: 0; }
.vca-row .m { flex: 1; min-width: 0; } .vca-row .m b { display: block; overflow-wrap: anywhere; } .vca-row .m span { color: var(--muted); font-size: 13px; }
.vca-row .r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; } .vca-row .amt { font-weight: 700; }
.vca-no { font-family: var(--mono); font-weight: 700; color: var(--text); text-decoration: none; white-space: nowrap; }
.vca-what-l { color: var(--text); text-decoration: none; }
.vca-mine .v3-table td { vertical-align: middle; }
@media (min-width: 1024px) { .v3h-narrow.vca-mine { max-width: none; } .vca-mine .v3-table th, .vca-mine .v3-table td { white-space: normal; } .vca-mine .v3-table th { white-space: nowrap; } }
/* request page */
.vca-what-h { font-size: 15px; } .vca-facts { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; } .vca-facts .v3h-kv { width: 100%; }
.vca-sub { display: none; margin: 0; }
.vca-ask-b { background: var(--amber-soft); color: var(--amber); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.vca-ask-b b { font-size: 15px; }
@media (min-width: 1024px) {
  .v3h-narrow.vca-req { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .vca-req > .vca-sub { display: block; grid-column: 1 / -1; }
  .vca-req > .vca-facts { grid-column: 1; } .vca-req > .vca-trail { grid-column: 2; grid-row: 2 / span 6; min-height: 100%; }
  .vca-req > :not(.vca-sub):not(.vca-facts):not(.vca-trail):not(.vca-act):not(.v3h-banner) { grid-column: 1; }
  .vca-req > .vca-act { grid-column: 1; position: static; padding: 0; border: 0; background: none; display: flex; flex-direction: column; gap: 8px; }
}
/* Add Bill */
.vca-snap { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; min-height: 148px; padding: 14px; color: var(--text); font: inherit; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; width: 100%; }
.vca-snap small { color: var(--muted); } .vca-snap:not(.on) { border-style: dashed; border-color: var(--accent); color: var(--accent); }
.vca-snap.on { border: 2px solid var(--accent); }
@media (min-width: 1024px) { .vca-snap { min-height: 48px; } }
.vca-bill .v3c-banner { font-size: 13px; }
/* My Requests PC columns: Request and Type stay on one line, the What column takes the spare width */
@media (min-width: 1024px) { .vca-mine .v3-table td:nth-child(1), .vca-mine .v3-table td:nth-child(2), .vca-mine .v3-table td:nth-child(4), .vca-mine .v3-table td:nth-child(5) { white-space: nowrap; } }
.vca-go { color: var(--muted); text-decoration: none; font-size: 20px; padding: 4px 8px; display: inline-block; }
