/* Desk10 — Hold pin, partial mega, last bills, WA retry, BM badge, day close */

.es-d10-hold-pin {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  margin: 6px 0 8px;
}
.es-d10-hold-pin .es-ultra-hold-chip,
.es-d10-hold-pin .es-ultra-hold-lbl {
  font-size: 12px;
  font-weight: 800;
}

.es-d10-partial {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin: 8px 0 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 2px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb, #ffedd5);
}
.es-d10-partial--credit {
  border-color: #ea580c;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
}
.es-d10-partial--chg {
  border-color: #34d399;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}
.es-d10-partial--chg .es-d10-partial__col span {
  color: #065f46;
}
.es-d10-partial--chg .es-d10-partial__col--due b {
  color: #047857;
}
.es-d10-partial--adv {
  border-color: #fb923c;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
}
.es-d10-partial__col {
  flex: 1 1 80px;
  text-align: center;
}
.es-d10-partial__col span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #92400e;
}
.es-d10-partial__col b {
  display: block;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
}
.es-d10-partial__col--due b {
  color: #c2410c;
  font-size: clamp(22px, 3vw, 32px);
}
.es-d10-partial__k {
  font-size: 12px;
  font-weight: 800;
  color: #9a3412;
}
.es-d10-partial__due {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: #c2410c;
}
.es-d10-partial__sub {
  font-size: 11px;
  font-weight: 700;
  color: #78350f;
}

.es-d10-last,
.es-d10-wa {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  margin: 4px 0 6px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.es-d10-last__lbl,
.es-d10-wa__lbl {
  font-size: 11px;
  font-weight: 900;
  color: #475569;
}
.es-d10-last__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #cbd5e1;
  font-size: 11px;
  font-weight: 700;
}
.es-d10-last__chip button,
.es-d10-wa__btn {
  border: none;
  background: #0f766e;
  color: #fff;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.es-d10-wa__btn--all {
  background: #b45309;
}

.es-d10-bm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  margin-left: 4px;
  padding: 0 4px;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}
.es-d10-bm-badge.is-warn {
  background: #dc2626;
  animation: esD10Pulse 1.4s ease infinite;
}
@keyframes esD10Pulse {
  50% { transform: scale(1.12); }
}
.es-d10-bm-tip {
  font-size: 12px;
  font-weight: 700;
  color: #0f766e;
  margin: 4px 0 8px;
}

.es-bm-top-add {
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 14px 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 24px -12px rgba(15, 118, 110, 0.6);
}
.es-bm-top-add b {
  color: #ecfdf5;
}

.es-d10-close h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.es-d10-close__hint {
  margin: 0 0 12px;
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}
.es-d10-close__list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.es-d10-close__list li {
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
}
.es-d10-close__list label {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  font-size: 13px;
  cursor: pointer;
}
.es-d10-close__list span {
  margin-left: auto;
  font-weight: 800;
  color: #0f766e;
}
.es-d10-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Hide always-on chrome — restores clean POS (last-night look) */
.es-d10-limit {
  display: none !important;
}
body.esevai-mode #esPosSection.es-pos-desk .es-d10-last:not([style*="display: flex"]),
body.esevai-mode #esPosSection.es-pos-desk .es-d10-wa:not([style*="display: flex"]) {
  display: none !important;
}
body.esevai-mode #esPosSection.es-pos-desk .es-mp-shift,
body.esevai-mode #esPosSection.es-pos-desk .es-mp-freq-cats {
  display: none !important;
}