.zp-cheque {
  position: fixed; z-index: 2147483000; left: 14px; right: 14px; bottom: calc(92px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px;
  border: 1px solid #b4ffd360; border-radius: 18px; background: #15291df2; color: #f2fff7;
  box-shadow: 0 12px 40px #00000080; font: 600 14px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.zp-cheque[hidden] { display: none; }
.zp-cheque button, .zp-cashbox button {
  min-height: 44px; padding: 8px 16px; border: 1px solid #b4ffd360; border-radius: 14px; color: #fff; font: 650 14px/1.2 inherit;
  background: linear-gradient(135deg, #73c896, #51a172); white-space: nowrap;
}
body[data-cashbox] #root { display: none !important; }
.zp-cashbox {
  position: fixed; inset: 0; z-index: 2147483000; overflow: auto; box-sizing: border-box; display: grid; align-content: start; gap: 12px;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  color: #f2fff7; background: #090f0c; font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.zp-cashbox h1 { margin: 0; font-size: 27px; letter-spacing: -.6px; }
.zp-cashbox h2 { margin: 12px 0 0; font-size: 17px; }
.zp-cashbox p { margin: 0; }
.zp-cashbox .zp-lead { color: #b1cbbc; }
.zp-cashbox .zp-note { padding: 10px 12px; border-radius: 12px; background: #2a7a4b33; }
.zp-cashbox .zp-fault { padding: 10px 12px; border-radius: 12px; background: #a12d3f33; color: #ffc9d1; }
.zp-cashbox label { display: grid; gap: 6px; font-size: 13px; color: #b1cbbc; }
.zp-cashbox input {
  box-sizing: border-box; width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid #ffffff24; border-radius: 14px;
  background: #ffffff0f; color: #f2fff7; font: inherit;
}
.zp-cashbox button:disabled { opacity: .55; }
.zp-cashbox .zp-quiet { background: #ffffff0f; border-color: #ffffff24; }
.zp-cashbox canvas { justify-self: center; width: 240px; height: 240px; border-radius: 12px; }
.zp-cashbox ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.zp-cashbox li { display: grid; gap: 8px; padding: 12px; border: 1px solid #ffffff1a; border-radius: 14px; }
.zp-cashbox li small { color: #b1cbbc; }
.zp-pockets { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.zp-pocket {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px;
  background: #ffffff12; border: 1px solid #ffffff1f; color: #cfe8d9; font: 500 12.5px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.zp-pocket img { width: 18px; height: 18px; border-radius: 50%; }
.zp-pocket b { color: #fff; font-weight: 650; font-variant-numeric: tabular-nums; }
.zp-pocket-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 2px 16px; color: #b1cbbc; font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.zp-pocket-note button { flex: none; min-height: 34px; padding: 6px 14px; border-radius: 12px; border: 1px solid #b4ffd360; background: #73c89633; color: #f2fff7; font: 650 13px/1 inherit; }
.zp-pocket-note button[hidden] { display: none; }
.zp-pocket-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 12px; }
.zp-pocket-pick .zp-pick-label { width: 100%; color: #b1cbbc; font: 13px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.zp-pocket-pick button { padding: 0; border: 0; background: none; border-radius: 999px; }
.zp-pocket-pick button.selected .zp-pocket { border-color: #b4ffd3; background: #73c89640; }
.zp-cheque-actions { display: flex; gap: 8px; flex: none; }
.zp-cheque .zp-copy { width: 44px; padding: 0; display: grid; place-items: center; background: #ffffff14; border-color: #ffffff2e; }
.zp-cheque .zp-copy.done { color: #7ee2a8; border-color: #7ee2a880; }
.zp-cheque.zp-under { display: none; }
