body.tp-aceite-bloqueado-28y {
  overflow: hidden !important;
}

.tp-aceite-overlay-28y {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background:
    radial-gradient(circle at top, rgba(255, 107, 0, .24), transparent 34%),
    rgba(2, 6, 23, .92);
  backdrop-filter: blur(9px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.tp-aceite-overlay-28y.is-active {
  display: flex;
}

.tp-aceite-shell-28y {
  width: min(980px, 100%);
  max-height: calc(100vh - 28px);
  overflow: auto;
  border-radius: 34px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 34px 100px rgba(0,0,0,.45);
  padding: 22px;
  animation: tpAceiteIn28Y .18s ease-out both;
}

@keyframes tpAceiteIn28Y {
  from { opacity: .5; transform: scale(.97) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.tp-aceite-top-28y {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}

.tp-aceite-clock-28y {
  --tp28y-angle: 0deg;
  width: 200px;
  height: 200px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background:
    conic-gradient(#ff3b30 0deg, #ff6b00 var(--tp28y-angle), #e5e7eb var(--tp28y-angle), #e5e7eb 360deg);
  box-shadow: 0 22px 54px rgba(255, 59, 48, .22);
}

.tp-aceite-clock-28y.is-danger {
  animation: tpClockPulse28Y 1s ease-in-out infinite;
}

.tp-aceite-clock-28y.is-critical {
  animation: tpClockCritical28Y .52s ease-in-out infinite;
}

@keyframes tpClockPulse28Y {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

@keyframes tpClockCritical28Y {
  0%, 100% { transform: scale(1); filter: saturate(1); }
  50% { transform: scale(1.045); filter: saturate(1.5); }
}

.tp-aceite-clock-inner-28y {
  width: 152px;
  height: 152px;
  border-radius: 999px;
  background: #020617;
  color: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  border: 8px solid #fff;
}

.tp-aceite-clock-inner-28y strong {
  display: block;
  font-size: 38px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -.08em;
}

.tp-aceite-clock-inner-28y span {
  display: block;
  margin-top: 6px;
  color: #fbbf24;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.tp-aceite-head-28y span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.tp-aceite-head-28y h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(36px, 6vw, 78px);
  line-height: .88;
  font-weight: 1000;
  letter-spacing: -.08em;
}

.tp-aceite-head-28y p {
  margin: 10px 0 0;
  color: #475569;
  font-size: 16px;
  font-weight: 850;
}

.tp-aceite-alert-28y {
  margin-bottom: 16px;
  padding: 15px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7f1d1d, #dc2626);
  color: #fff;
  font-size: 18px;
  font-weight: 1000;
  text-align: center;
  box-shadow: 0 16px 32px rgba(127, 29, 29, .25);
}

.tp-aceite-alert-28y.pulse {
  animation: tpAlertPulse28Y .8s ease-in-out both;
}

@keyframes tpAlertPulse28Y {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.025); }
  60% { transform: scale(.995); }
}

.tp-aceite-body-28y {
  padding: 16px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  margin-bottom: 16px;
}

.tp-aceite-body-28y h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 24px;
  font-weight: 1000;
  letter-spacing: -.05em;
}

.tp-aceite-body-28y pre {
  margin: 0;
  white-space: pre-wrap;
  color: #334155;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.tp-aceite-actions-28y {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 12px;
}

.tp-aceite-actions-28y button {
  min-height: 62px;
  border: 0;
  border-radius: 20px;
  padding: 14px 16px;
  font: inherit;
  font-size: 18px;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
}

#tpAceitePrintAceitar28Y {
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

#tpAceiteCancelar28Y {
  color: #fff;
  background: linear-gradient(135deg, #991b1b, #ef4444);
}

.tp-aceite-status-28y {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

@media (max-width: 780px) {
  .tp-aceite-shell-28y {
    border-radius: 24px;
    padding: 16px;
  }

  .tp-aceite-top-28y {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .tp-aceite-clock-28y {
    width: 170px;
    height: 170px;
  }

  .tp-aceite-clock-inner-28y {
    width: 130px;
    height: 130px;
  }

  .tp-aceite-clock-inner-28y strong {
    font-size: 32px;
  }

  .tp-aceite-actions-28y {
    grid-template-columns: 1fr;
  }

  .tp-aceite-actions-28y button {
    min-height: 56px;
    font-size: 16px;
  }
}