:root {
  --aqp-bg: #f8f9ff;
  --aqp-surface: #ffffff;
  --aqp-surface-soft: #eff4ff;
  --aqp-surface-mid: #e5eeff;
  --aqp-primary: #006a61;
  --aqp-primary-soft: #32bcad;
  --aqp-secondary: #4c5e86;
  --aqp-text: #0b1c30;
  --aqp-muted: #3c4947;
  --aqp-outline: #bbc9c6;
  --aqp-error: #ba1a1a;
  --aqp-error-soft: #ffdad6;
  --aqp-success-soft: #d7f8ee;
  --aqp-shadow: 0 2px 8px rgba(10, 31, 68, 0.06);
  --aqp-shadow-strong: 0 10px 24px rgba(10, 31, 68, 0.14);
}

html {
  background: var(--aqp-bg);
  -webkit-text-size-adjust: 100%;
}

body.pdv-mobile {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--aqp-bg);
  color: var(--aqp-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

.material-symbols-outlined,
.material-icons-outlined {
  font-family: "Material Symbols Outlined", "Material Icons Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.aqp-app {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--aqp-bg);
}

.aqp-main {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 20px 16px 104px;
  flex: 1;
}

.aqp-main--center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.aqp-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(248, 249, 255, 0.96);
  border-bottom: 1px solid rgba(187, 201, 198, 0.5);
  box-shadow: var(--aqp-shadow);
  backdrop-filter: blur(10px);
}

.aqp-brand {
  color: var(--aqp-primary);
  font-size: 20px;
  line-height: 28px;
  font-weight: 800;
  text-decoration: none;
}

.aqp-icon-btn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--aqp-primary);
  background: transparent;
  cursor: pointer;
}

.aqp-icon-btn:active,
.aqp-action:active,
.aqp-bottom-link:active,
.aqp-key:active {
  transform: scale(0.96);
}

.aqp-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  height: 80px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: rgba(248, 249, 255, 0.98);
  border-top: 1px solid rgba(187, 201, 198, 0.6);
  box-shadow: 0 -4px 16px rgba(10, 31, 68, 0.08);
}

.aqp-bottom-link {
  min-width: 104px;
  height: 48px;
  border-radius: 999px;
  color: var(--aqp-muted);
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease;
}

.aqp-bottom-link.is-active {
  color: #004640;
  background: var(--aqp-primary-soft);
}

.aqp-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(11, 28, 48, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.aqp-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.aqp-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 61;
  width: 288px;
  max-width: 84vw;
  padding: 24px 16px;
  background: var(--aqp-surface-soft);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: var(--aqp-shadow-strong);
  transform: translateX(-105%);
  transition: transform 0.2s ease;
}

.aqp-drawer.is-open {
  transform: translateX(0);
}

.aqp-drawer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px 20px;
  border-bottom: 1px solid var(--aqp-outline);
}

.aqp-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #bccefd;
  color: var(--aqp-primary);
  font-weight: 800;
}

.aqp-drawer-title {
  margin: 0;
  color: var(--aqp-primary);
  font-size: 16px;
  font-weight: 800;
}

.aqp-drawer-subtitle {
  margin: 2px 0 0;
  color: var(--aqp-muted);
  font-size: 12px;
}

.aqp-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
}

.aqp-drawer-nav a,
.aqp-drawer-nav button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--aqp-muted);
  background: transparent;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.aqp-drawer-nav .is-danger {
  color: var(--aqp-error);
}

.aqp-card {
  background: var(--aqp-surface);
  border: 1px solid rgba(187, 201, 198, 0.55);
  border-radius: 8px;
  box-shadow: var(--aqp-shadow);
}

.aqp-card-pad {
  padding: 20px;
}

.aqp-label {
  display: block;
  margin: 0 0 6px;
  color: var(--aqp-muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.aqp-input,
.aqp-select {
  width: 100%;
  height: 52px;
  border: 1px solid var(--aqp-outline);
  border-radius: 6px;
  background: var(--aqp-surface-soft);
  color: var(--aqp-text);
  padding: 0 14px;
  font-size: 16px;
  outline: none;
}

.aqp-input:focus,
.aqp-select:focus {
  border-color: var(--aqp-primary);
  box-shadow: 0 0 0 2px rgba(0, 106, 97, 0.14);
}

.aqp-action {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.aqp-action--primary {
  background: var(--aqp-primary);
  color: white;
}

.aqp-action--pix {
  background: var(--aqp-primary-soft);
  color: #004640;
}

.aqp-action--outline {
  border: 1px solid var(--aqp-outline);
  background: transparent;
  color: var(--aqp-muted);
}

.aqp-action--danger {
  border: 1px solid var(--aqp-error);
  background: var(--aqp-surface);
  color: var(--aqp-error);
}

.aqp-action--full {
  width: 100%;
}

.aqp-error-text {
  margin: 6px 0 0;
  color: var(--aqp-error);
  font-size: 13px;
}

.aqp-login-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--aqp-primary);
  color: white;
  box-shadow: var(--aqp-shadow-strong);
}

.aqp-login-head {
  min-height: 55px;
  max-height: 55px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.aqp-login-head .aqp-login-logo {
  width: 44px;
  height: 44px;
  margin: 0;
  flex: 0 0 44px;
  box-shadow: none;
}

.aqp-login-head .aqp-login-logo .material-symbols-outlined {
  font-size: 26px;
  font-variation-settings: 'FILL' 1;
}

.aqp-login-title {
  min-width: 0;
  flex: 1 1 auto;
}

.aqp-login-title .aqp-brand {
  margin: 0;
  font-size: 15px;
  line-height: 17px;
}

.aqp-login-title h1 {
  margin: 1px 0 0;
  color: var(--aqp-text);
  font-size: 17px;
  line-height: 20px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aqp-login-title p:last-child {
  margin: 0;
  color: var(--aqp-muted);
  font-size: 11px;
  line-height: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aqp-currency {
  color: var(--aqp-text);
  font-size: 40px;
  line-height: 48px;
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.aqp-currency span {
  color: var(--aqp-secondary);
  opacity: 0.55;
}

.aqp-sale-display {
  min-height: 190px;
  padding: 28px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.aqp-sale-main {
  padding-top: 12px;
}

.aqp-step-next-wrap,
.aqp-step-next,
.aqp-step-summary {
  display: none;
}

.aqp-step-payer-summary,
.aqp-step-section--payer-next {
  display: none;
}

.aqp-form-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: white;
}

.aqp-step-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aqp-step-section--pagador {
  gap: 14px;
}

.aqp-charge-form .aqp-step-section--payer-next {
  display: none;
}

.aqp-step-message:empty {
  display: none;
}

.aqp-step-submit {
  margin-top: 2px;
}

.aqp-desktop-amount {
  display: none;
  padding: 16px 16px 0;
}

.aqp-keypad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--aqp-surface-mid);
  border-radius: 8px;
  overflow: hidden;
}

.aqp-key {
  height: 43px;
  border: 0;
  background: white;
  color: var(--aqp-text);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.aqp-form-sheet {
  margin-top: 18px;
  display: none;
}

.aqp-form-sheet.is-open {
  display: block;
}

.aqp-status-chip {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7dc;
  color: #7a5400;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.aqp-status-chip.is-paid {
  background: var(--aqp-success-soft);
  color: #006a61;
}

.aqp-status-chip.is-danger {
  background: var(--aqp-error-soft);
  color: var(--aqp-error);
}

.aqp-qr-box {
  position: relative;
  padding: 24px;
  display: flex;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.aqp-qr-box img {
  width: 260px;
  height: 260px;
  width: min(68vw, 260px);
  height: min(68vw, 260px);
  max-width: 260px;
  max-height: 260px;
  object-fit: contain;
  image-rendering: crisp-edges;
}

.aqp-generated-main .aqp-qr-box {
  padding: 12px;
}

.aqp-generated-main .aqp-qr-box img {
  width: 190px;
  height: 190px;
  width: min(50vw, 190px);
  height: min(50vw, 190px);
  max-width: 190px;
  max-height: 190px;
}

.aqp-qr-placeholder {
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--aqp-muted);
  gap: 8px;
}

.aqp-info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(187, 201, 198, 0.45);
}

.aqp-info-row:last-child {
  border-bottom: 0;
}

.aqp-info-row small {
  color: var(--aqp-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.aqp-info-row strong {
  color: var(--aqp-text);
  font-size: 13px;
  text-align: right;
  overflow-wrap: anywhere;
}

.aqp-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(11, 28, 48, 0.42);
}

.aqp-modal.flex,
.aqp-modal.is-open {
  display: flex !important;
}

.aqp-modal-panel {
  position: relative;
  z-index: 10000;
  width: 100%;
  max-width: 420px;
  border-radius: 8px;
  background: white;
  padding: 20px;
  box-shadow: var(--aqp-shadow-strong);
}

.aqp-print-receipt {
  display: none;
}

.aqp-filter-card {
  padding: 0;
  overflow: hidden;
}

.aqp-filter-summary {
  min-height: 54px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--aqp-text);
  cursor: pointer;
  list-style: none;
}

.aqp-filter-summary::-webkit-details-marker {
  display: none;
}

.aqp-filter-summary > .material-symbols-outlined:first-child {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--aqp-primary-soft);
  color: var(--aqp-primary);
  font-size: 21px;
}

.aqp-filter-summary strong {
  display: block;
  font-size: 14px;
  line-height: 18px;
  font-weight: 800;
}

.aqp-filter-summary small {
  display: block;
  color: var(--aqp-muted);
  font-size: 11px;
  line-height: 14px;
}

.aqp-filter-chevron {
  margin-left: auto;
  color: var(--aqp-muted);
  transition: transform 0.15s ease;
}

.aqp-filter-card[open] .aqp-filter-chevron {
  transform: rotate(180deg);
}

.aqp-filter-body {
  padding: 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aqp-activity-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: var(--aqp-surface);
  border: 1px solid rgba(187, 201, 198, 0.55);
  box-shadow: var(--aqp-shadow);
  text-decoration: none;
  color: inherit;
}

.aqp-activity-mainline {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
}

.aqp-activity-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--aqp-success-soft);
  color: var(--aqp-primary);
  flex: 0 0 auto;
}

.aqp-activity-copy {
  min-width: 0;
}

.aqp-activity-title {
  color: var(--aqp-text);
  font-size: 14px;
  line-height: 18px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aqp-activity-date {
  margin-top: 2px;
  color: var(--aqp-muted);
  font-size: 11px;
  line-height: 14px;
}

.aqp-activity-id {
  max-width: 168px;
  margin-top: 3px;
  color: #7c8a9d;
  font-size: 10px;
  line-height: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aqp-activity-side {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 5px;
  text-align: right;
}

.aqp-activity-value {
  color: var(--aqp-primary);
  font-size: 18px;
  line-height: 22px;
  font-weight: 800;
}

.aqp-activity-status .aqp-status-chip {
  min-height: 22px;
  padding: 0 8px;
  font-size: 9px;
}

.aqp-activity-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.aqp-activity-action {
  width: 34px;
  height: 34px;
  background: var(--aqp-surface-soft);
}

.aqp-activity-action .material-symbols-outlined {
  font-size: 18px;
}

.aqp-hide {
  display: none !important;
}

.hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .aqp-main {
    max-width: 720px;
  }

  .aqp-sale-main {
    max-width: 520px;
    padding-top: 28px;
  }

  .aqp-sale-display {
    display: none;
  }

  .aqp-desktop-amount {
    display: block;
  }

  .aqp-keypad {
    display: none;
  }

  .aqp-bottom-nav {
    max-width: 440px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 1px solid rgba(187, 201, 198, 0.6);
    border-right: 1px solid rgba(187, 201, 198, 0.6);
  }
}

@media (max-width: 767px) {
  .aqp-topbar {
    height: 58px;
  }

  .aqp-main {
    padding: 12px 10px 94px;
  }

  .aqp-sale-main {
    padding-top: 6px;
  }

  .aqp-sale-display {
    min-height: 132px;
    padding: 18px 0 14px;
  }

  .aqp-sale-display .aqp-label {
    margin-bottom: 4px !important;
  }

  .aqp-currency {
    font-size: 34px;
    line-height: 40px;
  }

  .aqp-key {
    height: clamp(34px, 8vh, 42px);
    font-size: 18px;
  }

  .aqp-step-next-wrap {
    display: block;
    padding: 12px 14px 14px;
    background: white;
  }

  .aqp-charge-form.is-step-1 .aqp-form-details {
    display: none;
  }

  .aqp-charge-form.is-step-1 .aqp-step-next {
    display: inline-flex;
  }

  body.aqp-charge-step-2 .aqp-sale-display,
  body.aqp-charge-step-2 .aqp-keypad,
  body.aqp-charge-step-2 .aqp-step-next-wrap,
  body.aqp-charge-step-3 .aqp-sale-display,
  body.aqp-charge-step-3 .aqp-keypad,
  body.aqp-charge-step-3 .aqp-step-next-wrap {
    display: none;
  }

  body.aqp-charge-step-2 .aqp-sale-main,
  body.aqp-charge-step-3 .aqp-sale-main {
    padding-top: 10px;
  }

  .aqp-form-details {
    padding: 14px 14px 16px;
    gap: 14px;
  }

  .aqp-step-summary {
    min-height: 50px;
    border: 1px solid rgba(187, 201, 198, 0.55);
    border-radius: 8px;
    padding: 8px 10px;
    display: none;
    align-items: center;
    gap: 10px;
    background: var(--aqp-surface-soft);
  }

  .aqp-charge-form.is-step-2 .aqp-step-summary {
    display: flex;
  }

  .aqp-charge-form.is-step-3 .aqp-step-payer-summary {
    min-height: 50px;
    border: 1px solid rgba(187, 201, 198, 0.55);
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--aqp-surface-soft);
  }

  .aqp-step-summary strong {
    display: block;
    margin-top: 2px;
    color: var(--aqp-primary);
    font-size: 20px;
    line-height: 24px;
    font-weight: 800;
  }

  .aqp-step-payer-summary strong {
    display: block;
    margin-top: 2px;
    color: var(--aqp-primary);
    font-size: 16px;
    line-height: 20px;
    font-weight: 800;
  }

  .aqp-step-back {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    background: white;
  }

  .aqp-charge-form.is-step-2 .aqp-form-details {
    gap: 16px;
  }

  .aqp-charge-form.is-step-2 .aqp-step-section {
    gap: 7px;
  }

  .aqp-charge-form.is-step-2 .aqp-step-section--pedido,
  .aqp-charge-form.is-step-2 .aqp-step-section--pagador-toggle,
  .aqp-charge-form.is-step-2 .aqp-step-section--pagador {
    padding-top: 12px;
    border-top: 1px solid rgba(187, 201, 198, 0.45);
  }

  .aqp-charge-form.is-step-2 .aqp-step-section--pagador {
    gap: 11px;
  }

  .aqp-charge-form.is-step-2 .aqp-step-section--pagador,
  .aqp-charge-form.is-step-2 .aqp-step-payer-summary {
    display: none !important;
  }

  .aqp-charge-form.requires-payer.is-step-2 .aqp-step-section--payer-next {
    display: flex;
  }

  .aqp-charge-form.requires-payer.is-step-2 .aqp-step-submit {
    display: none;
  }

  .aqp-charge-form.is-step-3 .aqp-step-summary,
  .aqp-charge-form.is-step-3 .aqp-step-section--pedido,
  .aqp-charge-form.is-step-3 .aqp-step-section--payer-next,
  .aqp-charge-form.is-step-3 .aqp-step-section--pagador-toggle {
    display: none !important;
  }

  .aqp-charge-form.is-step-2 .aqp-step-submit {
    margin-top: 2px;
  }

  .aqp-charge-form.is-step-3 .aqp-step-submit {
    margin-top: 2px;
  }

  .aqp-doc-toggle button {
    min-height: 40px !important;
    font-size: 13px;
  }

  .aqp-input,
  .aqp-select {
    height: 48px;
  }

  .aqp-action {
    min-height: 48px;
  }

  .aqp-label {
    font-size: 11px;
    line-height: 14px;
  }

  .aqp-bottom-nav {
    height: 63px;
    padding-top: 6px;
    padding-bottom: calc(6px + env(safe-area-inset-bottom));
  }

  .aqp-bottom-link {
    height: 48px;
  }

  .aqp-activity-main {
    padding-top: 8px;
  }

  .aqp-filter-card {
    margin-bottom: 10px !important;
  }

  .aqp-filter-summary {
    min-height: 44px;
    padding: 0 12px;
  }

  .aqp-filter-summary > .material-symbols-outlined:first-child {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .aqp-filter-summary strong {
    font-size: 13px;
    line-height: 16px;
  }

  .aqp-filter-summary small {
    font-size: 10px;
    line-height: 12px;
  }

  .aqp-filter-body {
    padding: 0 12px 12px;
    gap: 8px;
  }

  .aqp-filter-body .aqp-input,
  .aqp-filter-body .aqp-select {
    height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }

  .aqp-filter-body .aqp-label {
    margin-bottom: 3px;
    font-size: 10px;
    line-height: 12px;
  }

  .aqp-filter-body .aqp-action {
    min-height: 38px;
    padding: 0 10px !important;
    font-size: 13px;
  }

  .aqp-generated-main {
    padding: 8px 10px 88px !important;
  }

  .aqp-generated-head {
    margin-bottom: 3px !important;
  }

  .aqp-generated-head .aqp-label {
    margin-bottom: 2px;
  }

  .aqp-generated-main .aqp-currency {
    font-size: 30px;
    line-height: 34px;
  }

  .aqp-generated-main #cobranca-status-bar {
    margin-top: 8px !important;
  }

  .aqp-generated-main .aqp-qr-box {
    padding: 0;
  }

  .aqp-generated-main .aqp-qr-box img {
    width: 190px;
    height: 190px;
    width: min(50vw, 190px);
    height: min(50vw, 190px);
    max-width: 190px;
    max-height: 190px;
  }

  .aqp-generated-body {
    padding: 10px 12px !important;
    gap: 9px !important;
  }

  .aqp-generated-main #cobranca-expira-wrapper {
    gap: 2px !important;
  }

  .aqp-generated-status-line {
    max-width: 100%;
    justify-content: center;
    gap: 6px !important;
  }

  .aqp-generated-main #cobranca-expira-wrapper .aqp-countdown-pill {
    padding: 5px 10px !important;
  }

  .aqp-generated-main #cobranca-status-pill {
    min-height: 27px;
    padding: 0 8px;
    font-size: 9px;
    white-space: nowrap;
  }

  .aqp-generated-main #cobranca-countdown {
    font-size: 15px !important;
  }

  .aqp-generated-main #cobranca-expira-text {
    font-size: 9px !important;
  }

  .aqp-generated-meta {
    padding: 0 8px !important;
    margin-top: 8px;
  }

  .aqp-generated-meta .aqp-info-row {
    padding: 5px 0;
    gap: 8px;
  }

  .aqp-generated-meta .aqp-info-row small {
    font-size: 7px;
    line-height: 9px;
  }

  .aqp-generated-meta .aqp-info-row strong {
    font-size: 8px;
    line-height: 10px;
  }

  .aqp-generated-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px !important;
    margin-top: 10px !important;
  }

  .aqp-generated-actions .aqp-action {
    min-height: 42px;
    padding: 0 6px;
    justify-content: center;
    gap: 4px;
    font-size: 10px;
    line-height: 12px;
    text-align: center;
    white-space: normal;
  }

  .aqp-generated-actions .aqp-action .material-symbols-outlined {
    font-size: 17px;
  }
}

@media print {
  @page {
    margin: 0;
  }

  body.aqp-printing-receipt {
    width: 58mm;
    margin: 0;
    background: #ffffff !important;
    color: #000000 !important;
  }

  body.aqp-printing-receipt .aqp-app,
  body.aqp-printing-receipt .aqp-modal {
    display: none !important;
  }

  body.aqp-printing-receipt .aqp-print-receipt {
    display: block !important;
    width: 58mm;
    max-width: 58mm;
    min-height: auto;
    padding: 4mm 3mm 8mm;
    background: #ffffff !important;
    color: #000000 !important;
    font-family: "Courier New", Courier, monospace;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 400;
    overflow-wrap: anywhere;
    box-shadow: none !important;
  }

  .aqp-print-receipt__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
  }

  .aqp-print-receipt__center strong {
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
  }

  .aqp-print-receipt__logo {
    display: block;
    width: 32mm;
    max-width: 32mm;
    height: auto;
    margin: 0 auto 10px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .aqp-print-receipt__merchant {
    margin: 10px 0 2px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .aqp-print-receipt__line {
    margin: 8px 0;
    border-top: 1px dashed #000000;
  }

  .aqp-print-receipt__row {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin: 3px 0;
  }

  .aqp-print-receipt__row--stack {
    align-items: flex-start;
  }

  .aqp-print-receipt__row--stack strong {
    max-width: 35mm;
  }

  .aqp-print-receipt__row--total {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 800;
  }

  .aqp-print-receipt__row strong {
    text-align: right;
  }

  .aqp-print-receipt__field {
    margin: 5px 0;
  }

  .aqp-print-receipt__field span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
  }

  .aqp-print-receipt__field strong {
    display: block;
    font-size: 10px;
    line-height: 1.25;
    font-weight: 700;
  }
}
