@font-face {
  font-family: "Tajawal";
  src: url("/store/assets/Tajawal-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Local Jawwal Pay experiment */
.jawwalpay-local-page {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(244, 249, 255, 0.96) 0%, rgba(250, 253, 247, 0.98) 52%, rgba(255, 255, 255, 1) 100%);
  color: #102033;
  font-family: 'Tajawal', 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.jawwalpay-local,
.jawwalpay-local * {
  box-sizing: border-box;
}

.jawwalpay-local {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 34px;
}

.jawwalpay-topbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 18px;
}

.jawwalpay-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.jawwalpay-brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.jawwalpay-brand h1,
.jawwalpay-section-head h2,
.jawwalpay-panel-head h2 {
  margin: 0;
  color: #0f2747;
  letter-spacing: 0;
}

.jawwalpay-brand h1 {
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  font-weight: 900;
  line-height: 1.2;
}

.jawwalpay-brand p,
.jawwalpay-section-head p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 800;
}

.jawwalpay-back-link,
.jawwalpay-primary-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 0 16px;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 900;
}

.jawwalpay-back-link {
  color: #0b4b8b;
  background: #ffffff;
  border: 1px solid #dbe8f7;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.jawwalpay-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  align-items: start;
  gap: 18px;
}

.jawwalpay-products-panel,
.jawwalpay-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dfe9f5;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.jawwalpay-products-panel {
  padding: 18px;
}

.jawwalpay-section-head,
.jawwalpay-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.jawwalpay-section-head h2,
.jawwalpay-panel-head h2 {
  font-size: 1.08rem;
  font-weight: 900;
}

.jawwalpay-icon-btn,
.jawwalpay-qty-btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 900;
}

.jawwalpay-icon-btn {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  color: #0b4b8b;
  background: #edf7ff;
}

.jawwalpay-icon-btn span {
  display: inline-flex;
  line-height: 1;
}

.jawwalpay-icon-btn.is-refreshing:disabled {
  opacity: 1;
}

.jawwalpay-icon-btn.is-refreshing span {
  animation: jawwalpay-spin 780ms linear infinite;
}

@keyframes jawwalpay-spin {
  to {
    transform: rotate(-360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jawwalpay-icon-btn.is-refreshing span {
    animation: none;
  }
}

.jawwalpay-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.jawwalpay-product {
  min-height: 214px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e3edf8;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.jawwalpay-product.is-selected {
  border-color: #83c91b;
  box-shadow: 0 16px 32px rgba(132, 205, 26, 0.16);
}

.jawwalpay-product:hover {
  transform: translateY(-2px);
  border-color: #b7d3f2;
}

.jawwalpay-product-main h3 {
  margin: 0 0 10px;
  min-height: 44px;
  color: #102033;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 900;
}

.jawwalpay-product-main strong {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border-radius: 12px;
  padding: 0 12px;
  color: #0b4b8b;
  background: #edf7ff;
  font-size: 0.95rem;
  font-weight: 900;
}

.jawwalpay-product-details {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.jawwalpay-product-details span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #465c76;
  background: #f1f6fb;
  font-size: 0.78rem;
  font-weight: 800;
}

.jawwalpay-qty-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
}

.jawwalpay-qty-btn {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #ffffff;
  background: #0b72bd;
  font-size: 1.15rem;
}

.jawwalpay-qty-row input {
  width: 100%;
  height: 42px;
  border: 1px solid #d8e5f2;
  border-radius: 13px;
  text-align: center;
  color: #102033;
  background: #ffffff;
  font-size: 1rem;
  font-weight: 900;
}

.jawwalpay-side {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 14px;
}

.jawwalpay-panel {
  padding: 17px;
}

.jawwalpay-panel[hidden] {
  display: none !important;
}

.jawwalpay-panel-head strong {
  color: #0b7f2a;
  font-size: 1.08rem;
  font-weight: 900;
}

.jawwalpay-summary-list,
.jawwalpay-result-meta,
.jawwalpay-order-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.jawwalpay-summary-item,
.jawwalpay-result-meta div,
.jawwalpay-order-meta div {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f7fbff;
  border: 1px solid #e3edf8;
  color: #435871;
  font-size: 0.9rem;
  font-weight: 800;
}

.jawwalpay-summary-item strong,
.jawwalpay-result-meta strong,
.jawwalpay-order-meta strong {
  color: #102033;
  font-weight: 900;
  direction: ltr;
}

.jawwalpay-minimum-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.86rem;
  font-weight: 900;
}

.jawwalpay-empty,
.jawwalpay-loading {
  margin: 0;
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  color: #64748b;
  background: #f7fbff;
  border: 1px dashed #cbdcf0;
  font-weight: 800;
}

.jawwalpay-loading {
  grid-column: 1 / -1;
}

.jawwalpay-loading.is-error {
  display: grid;
  gap: 12px;
  justify-items: center;
  color: #b42318;
  background: #fff5f4;
  border-color: #fecaca;
}

.jawwalpay-inline-retry {
  min-height: 42px;
  border: 1px solid #fecaca;
  border-radius: 13px;
  padding: 0 18px;
  color: #0b4b8b;
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(180, 35, 24, 0.08);
}

.jawwalpay-inline-retry:focus-visible {
  outline: 2px solid #13b9a9;
  outline-offset: 2px;
}

.jawwalpay-field {
  display: grid;
  gap: 7px;
  margin: 12px 0;
  color: #455c76;
  font-size: 0.86rem;
  font-weight: 900;
}

.jawwalpay-field input {
  width: 100%;
  height: 50px;
  border: 1px solid #d8e5f2;
  border-radius: 15px;
  padding: 0 13px;
  color: #102033;
  background: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
  direction: ltr;
}

.jawwalpay-field-hint {
  min-height: 18px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}

.jawwalpay-field-hint:empty {
  display: none;
}

.jawwalpay-field-hint.is-error {
  color: #b42318;
}

.jawwalpay-primary-btn,
.jawwalpay-secondary-btn,
.jawwalpay-primary-link {
  min-height: 50px;
  border: 0;
  border-radius: 15px;
  padding: 0 16px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 900;
}

.jawwalpay-primary-btn,
.jawwalpay-primary-link {
  color: #ffffff;
  background: linear-gradient(135deg, #84cd1a 0%, #0f9b47 100%);
  box-shadow: 0 16px 28px rgba(132, 205, 26, 0.24);
}

.jawwalpay-secondary-btn {
  color: #0b4b8b;
  background: #edf7ff;
  border: 1px solid #cfe2f5;
}

.jawwalpay-primary-btn:disabled,
.jawwalpay-secondary-btn:disabled,
.jawwalpay-icon-btn:disabled {
  cursor: not-allowed;
  box-shadow: none;
}

.jawwalpay-primary-btn:disabled {
  color: #5f7b66;
  background: #cfe8d1;
  opacity: 1;
}

.jawwalpay-secondary-btn:disabled,
.jawwalpay-icon-btn:disabled {
  opacity: 0.58;
}

.jawwalpay-message {
  min-height: 22px;
  margin: 12px 0 0;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.6;
}

.jawwalpay-message:empty {
  display: none;
}

.jawwalpay-message:not(:empty) {
  padding: 10px 12px;
  border: 1px solid #e3edf8;
  border-radius: 14px;
  background: #f7fbff;
}

.jawwalpay-message.is-error {
  color: #b42318;
  border-color: #fecaca;
  background: #fff5f4;
}

.jawwalpay-message.is-success {
  color: #0b7f2a;
  border-color: #cfe6d2;
  background: #f7fff1;
}

.jawwalpay-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.jawwalpay-cards {
  display: grid;
  gap: 10px;
}

.jawwalpay-result-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 12px;
}

.jawwalpay-result-panel.has-no-cards .jawwalpay-result-actions {
  grid-template-columns: 1fr;
}

.jawwalpay-result-panel.has-no-cards :is(#jawwalpayCopyAllCards, #jawwalpayDownloadPdf) {
  display: none;
}

.jawwalpay-card-result {
  padding: 14px;
  border: 1px solid #cfe6d2;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fff1 100%);
}

.jawwalpay-card-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.jawwalpay-card-title span {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #ffffff;
  background: #0f9b47;
  font-weight: 900;
}

.jawwalpay-card-title strong {
  color: #102033;
  font-weight: 900;
}

.jawwalpay-card-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.jawwalpay-card-fields div {
  min-width: 0;
  padding: 10px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid #dcebd8;
}

.jawwalpay-card-fields span {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 900;
}

.jawwalpay-card-fields strong {
  display: block;
  overflow-wrap: anywhere;
  color: #102033;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.jawwalpay-is-busy .jawwalpay-primary-btn,
.jawwalpay-is-busy .jawwalpay-secondary-btn,
.jawwalpay-is-busy .jawwalpay-icon-btn {
  pointer-events: none;
}

.jawwalpay-wizard-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 14px;
  padding: 4px;
  border: 1px solid #dfe9f5;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.jawwalpay-wizard-mini span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 900;
}

.jawwalpay-wizard-mini span.active,
.jawwalpay-wizard-mini span.done {
  color: #ffffff;
  background: linear-gradient(135deg, #84cd1a 0%, #0f9b47 100%);
}

.jawwalpay-wizard-mini span.done {
  opacity: 0.74;
}

.jawwalpay-products-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.jawwalpay-product {
  position: relative;
  min-height: 112px;
  justify-content: start;
  gap: 8px;
  padding: 12px;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  cursor: pointer;
}

.jawwalpay-product::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  background: linear-gradient(to bottom, #84cd1a, #0b72bd);
  opacity: 0;
  transition: opacity 150ms ease;
}

.jawwalpay-product.is-selected {
  border-color: rgba(132, 205, 26, 0.72);
  background:
    radial-gradient(circle at top left, rgba(132, 205, 26, 0.1), transparent 34%),
    #ffffff;
  box-shadow: 0 0 0 2px rgba(132, 205, 26, 0.12), 0 8px 24px rgba(15, 23, 42, 0.07);
}

.jawwalpay-product.is-selected::before {
  opacity: 1;
}

.jawwalpay-product:focus-within {
  border-color: #13b9a9;
  box-shadow: 0 0 0 3px rgba(19, 236, 218, 0.22), 0 8px 24px rgba(15, 23, 42, 0.07);
}

.jawwalpay-product.is-unavailable {
  opacity: 0.64;
}

.jawwalpay-product-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.jawwalpay-product-name {
  margin: 0;
  color: #102033;
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1.2;
}

.jawwalpay-selected-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  margin-inline-start: 5px;
  padding: 1px 6px;
  border-radius: 999px;
  color: #0f7b35;
  background: #ecffdf;
  font-size: 0.66rem;
  font-weight: 900;
  vertical-align: middle;
}

.jawwalpay-product-price {
  align-self: start;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  color: #075e5c;
  background: #e6fffb;
  font-size: 1.08rem;
  font-weight: 950;
  white-space: nowrap;
}

.jawwalpay-product-details {
  gap: 4px;
  margin-top: 5px;
}

.jawwalpay-product-details span {
  min-height: 20px;
  padding: 2px 6px;
  border: 1px solid rgba(15, 36, 51, 0.08);
  border-radius: 999px;
  background: #f6fbff;
  color: #475569;
  font-size: 0.72rem;
  line-height: 1.2;
}

.jawwalpay-product-description {
  display: -webkit-box;
  margin: 5px 0 0;
  overflow: hidden;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.jawwalpay-product-actions {
  display: flex;
  justify-content: flex-start;
}

.jawwalpay-stepper {
  width: 112px;
  display: grid;
  grid-template-columns: 36px 40px 36px;
  overflow: hidden;
  border: 1px solid rgba(15, 155, 71, 0.22);
  border-radius: 10px;
  background: #ffffff;
  direction: ltr;
}

.jawwalpay-stepper button {
  min-height: 32px;
  border: 0;
  cursor: pointer;
  color: #075e5c;
  background: #ecfffd;
  font-size: 1.05rem;
  font-weight: 950;
}

.jawwalpay-stepper button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.jawwalpay-stepper button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #13b9a9;
  outline-offset: -2px;
  background: #dffcf8;
}

.jawwalpay-stepper output {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #102033;
  font-size: 0.95rem;
  font-weight: 950;
}

.jawwalpay-phone-panel small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}

.jawwalpay-phone-summary {
  display: grid;
  gap: 8px;
  margin: 12px 0 14px;
  padding: 10px 12px;
  border: 1px solid #e3edf8;
  border-radius: 14px;
  background: #f7fbff;
}

.jawwalpay-phone-summary[hidden] {
  display: none !important;
}

.jawwalpay-phone-summary-total,
.jawwalpay-phone-summary-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.jawwalpay-phone-summary-total span,
.jawwalpay-phone-summary-items span {
  min-width: 0;
  color: #435871;
  font-size: 0.84rem;
  font-weight: 900;
}

.jawwalpay-phone-summary-total strong {
  color: #0b7f2a;
  font-size: 1rem;
  font-weight: 950;
  direction: ltr;
  white-space: nowrap;
}

.jawwalpay-phone-summary-items {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.jawwalpay-phone-summary-items span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 9px;
  background: #ffffff;
  border: 1px solid #dfe9f5;
}

.jawwalpay-summary-panel .jawwalpay-primary-btn {
  width: 100%;
}

.jawwalpay-mobile-cart {
  display: none;
}

.jawwalpay-mobile-cart[hidden] {
  display: none !important;
}

body.jawwalpay-focused-step .jawwalpay-workspace {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

body.jawwalpay-focused-step .jawwalpay-side {
  position: static;
}

@media (max-width: 980px) {
  .jawwalpay-workspace {
    grid-template-columns: 1fr;
  }

  .jawwalpay-side {
    position: static;
  }

  .jawwalpay-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .jawwalpay-local {
    width: min(100% - 18px, 1180px);
    padding-top: 10px;
  }

  body.jawwalpay-has-mobile-cart .jawwalpay-local {
    padding-bottom: 116px;
  }

  body.jawwalpay-has-mobile-cart .jawwalpay-summary-panel .jawwalpay-primary-btn {
    display: none;
  }

  .jawwalpay-wizard-mini {
    margin-bottom: 10px;
  }

  .jawwalpay-wizard-mini span {
    min-height: 31px;
    font-size: 0.76rem;
  }

  .jawwalpay-topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0 10px;
  }

  .jawwalpay-brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .jawwalpay-brand h1 {
    font-size: 1.16rem;
  }

  .jawwalpay-brand p {
    font-size: 0.82rem;
  }

  .jawwalpay-back-link {
    width: 100%;
  }

  .jawwalpay-products-panel,
  .jawwalpay-panel {
    border-radius: 18px;
    padding: 14px;
  }

  .jawwalpay-section-head {
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .jawwalpay-section-head h2 {
    max-width: 250px;
    font-size: 1.04rem;
    line-height: 1.3;
  }

  .jawwalpay-products-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .jawwalpay-product {
    min-height: 0;
    gap: 7px;
    padding: 10px 12px;
  }

  .jawwalpay-action-row,
  .jawwalpay-result-actions,
  .jawwalpay-card-fields {
    grid-template-columns: 1fr;
  }

  .jawwalpay-card-result {
    padding: 12px;
    border-radius: 16px;
  }

  .jawwalpay-card-title {
    margin-bottom: 10px;
  }

  .jawwalpay-card-fields,
  .jawwalpay-card-result .jawwalpay-action-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jawwalpay-card-fields {
    margin-bottom: 10px;
  }

  .jawwalpay-card-result .jawwalpay-action-row > :only-child {
    grid-column: 1 / -1;
  }

  .jawwalpay-product-name {
    font-size: 0.94rem;
  }

  .jawwalpay-product-price {
    font-size: 1rem;
  }

  .jawwalpay-product-description {
    font-size: 0.74rem;
  }

  .jawwalpay-mobile-cart {
    position: fixed;
    inset-inline: 9px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(128px, 0.42fr);
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(15, 155, 71, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(12px);
  }

  .jawwalpay-mobile-cart div {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .jawwalpay-mobile-cart span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
  }

  .jawwalpay-mobile-cart strong {
    color: #0b7f2a;
    font-size: 1.12rem;
    font-weight: 950;
  }

  .jawwalpay-mobile-cart button {
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #84cd1a 0%, #0f9b47 100%);
    box-shadow: 0 12px 24px rgba(132, 205, 26, 0.22);
    font-size: 0.92rem;
    font-weight: 950;
  }

  .jawwalpay-mobile-cart button:disabled {
    cursor: not-allowed;
    color: #5f7b66;
    background: #cfe8d1;
    box-shadow: none;
  }
}

:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f6f8f8;
  --panel: #ffffff;
  --teal: #13ecda;
  --teal-dark: #0f766e;
  --blue: #3b82f6;
  --amber: #d97706;
  --rose: #dc2626;
  --ok: #10b981;
  --surface-alt: #f8fafc;
  --input-bg: rgba(248, 250, 252, 0.86);
  --brand-gradient: linear-gradient(to left, #13ecda, #3b82f6);
  --hotspot-dark: linear-gradient(135deg, #0f172a 0%, #083344 50%, #155e75 100%);
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Tajawal", "Tahoma", "Arial", sans-serif;
  background: var(--soft);
  color: var(--ink);
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 800;
}

.brand h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.brand p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.support-links {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

.support-links:empty {
  display: none;
}

.admin-identity {
  display: grid;
  gap: 2px;
  min-width: 130px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.admin-identity strong {
  font-size: 13px;
}

.admin-identity span {
  color: var(--muted);
  font-size: 12px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto;
  min-width: 0;
}

.customer-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 40px;
  display: grid;
  gap: 18px;
}

.customer-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.customer-intro h2 {
  margin: 6px 0 8px;
  font-size: 26px;
  line-height: 1.35;
}

.customer-intro p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--blue);
  background: #eaf1ff;
  font-size: 12px;
  font-weight: 800;
}

.merchant-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.merchant-strip div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.merchant-strip span {
  color: var(--muted);
  font-size: 12px;
}

.merchant-strip strong {
  font-size: 16px;
}

.customer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.phone-gate {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 118px);
  padding: 18px 0 36px;
}

.phone-gate[hidden] {
  display: none !important;
}

.chrome-browser-button {
  min-height: 48px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 50%, #4285f4 0 18%, transparent 19%),
    linear-gradient(120deg, #ea4335 0 34%, #fbbc05 34% 66%, #34a853 66% 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(66, 133, 244, 0.24);
}

.chrome-browser-button:hover {
  filter: brightness(1.03);
}

.chrome-browser-button.loading {
  opacity: 0.82;
  cursor: wait;
}

.phone-gate-card {
  width: min(420px, 100%);
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #c9f6f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.phone-step-pill {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  color: #036875;
  background: #dffafa;
  font-size: 12px;
  font-weight: 900;
}

.phone-gate-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.phone-gate-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.phone-gate-card label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.phone-gate-card input {
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
}

.phone-gate-card small {
  color: var(--muted);
  text-align: center;
}

.catalog-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

#backToPhoneGate {
  border-color: #bfeee8;
  color: #075e5c;
  background: #f3fffd;
}

.buyer-phone-strip {
  position: relative;
}

.merchant-strip .buyer-phone-strip .mini {
  position: absolute;
  inset-inline-start: 8px;
  inset-block-start: 8px;
  min-height: 28px;
  padding: 3px 8px;
  font-size: 12px;
}

.notice-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
}

.checkout-steps span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.checkout-steps span.active {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.checkout-steps span.done {
  color: var(--ok);
  border-color: #bfe1cf;
  background: #effaf4;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.panel-header h2,
.panel-header h3 {
  margin: 0;
  font-size: 18px;
}

.panel-header span {
  color: var(--muted);
  font-size: 13px;
}

.panel-body {
  padding: 18px 20px 20px;
}

.catalog-controls {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(150px, 190px);
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.catalog-filter-tabs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-filter-tabs button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  background: #fff;
  font-weight: 800;
}

.catalog-filter-tabs button.active {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.products {
  display: grid;
  gap: 12px;
}

.product-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  display: grid;
  gap: 13px;
  min-height: 170px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.product-card.selected {
  border-color: #9ed6c8;
  background: #f0faf6;
}

.product-card.best-value {
  border-color: #bfe1cf;
}

.product-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  color: var(--teal-dark);
  font-size: 20px;
  white-space: nowrap;
}

.product-description {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.product-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.product-name {
  margin: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.stepper {
  display: grid;
  grid-template-columns: 38px 48px 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.stepper button {
  height: 38px;
  background: #eef5f2;
  color: var(--teal-dark);
  font-weight: 800;
}

.stepper output {
  text-align: center;
  font-weight: 800;
}

.summary {
  position: sticky;
  top: 86px;
  align-self: start;
}

.customer-summary {
  top: 92px;
}

.cart-items {
  display: grid;
  gap: 8px;
}

#orderDeadline {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.order-id-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
}

.order-id-line #orderId {
  font-weight: 800;
}

.lookup-form {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.lookup-form label {
  gap: 6px;
}

.lookup-form input {
  min-height: 38px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.cart-item div {
  display: grid;
  gap: 2px;
}

.cart-item span {
  color: var(--muted);
  font-size: 12px;
}

.cart-advisor {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid #d7e6e1;
  border-radius: 8px;
  background: #f7fbfa;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.compact-totals {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.totals {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
}

.total-row strong {
  color: var(--ink);
  font-size: 24px;
}

.price-compare {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.old-pay-price {
  color: #dc2626;
  font-size: 0.72em;
  font-weight: 950;
  text-decoration: line-through;
  text-decoration-color: #dc2626;
  text-decoration-thickness: 2px;
}

.new-pay-price {
  color: #075e5c;
  font-size: 1.08em;
  font-weight: 950;
}

.payment-target {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #cfe4df;
  border-radius: 8px;
  background: #eef8f5;
  margin-bottom: 16px;
}

.order-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.rich-payment-target {
  margin: 0;
  align-self: start;
}

.payment-checklist {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #cfe4df;
}

.payment-checklist span {
  position: relative;
  padding-right: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.payment-checklist span::before {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.amount-line strong {
  font-size: 26px;
  color: var(--teal-dark);
}

.payment-rule {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #d6e7e1;
  border-radius: 8px;
  background: #f7fbfa;
}

.payment-rule strong {
  color: var(--teal-dark);
  font-size: 14px;
}

.payment-rule span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 12px;
}

.proof-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.proof-signals {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d7e6e1;
  border-radius: 8px;
  background: #f7fbfa;
}

.proof-signals strong {
  font-size: 13px;
}

.proof-signals div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.proof-meter {
  display: block !important;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3ece7;
}

.proof-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transition: width 180ms ease;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--muted);
  background: #eef3f0;
  font-size: 12px;
  font-weight: 800;
}

.proof-chip.ok {
  color: var(--ok);
  background: #e7f8ee;
}

.proof-chip small {
  color: inherit;
  font-weight: 700;
}

.proof-guidance {
  padding: 10px 12px;
  border: 1px solid #e0ece7;
  border-radius: 8px;
  background: #fff;
}

.proof-guidance ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-guidance li {
  position: relative;
  padding-right: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.proof-guidance li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.receipt-preview {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid #cfe4df;
  border-radius: 8px;
  background: #f0faf6;
  font-size: 12px;
}

.receipt-preview.warn {
  border-color: #ecd3a9;
  background: #fff8ea;
}

.timeline {
  display: grid;
  gap: 10px;
}

.order-live-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.8fr);
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #cfe4df;
  border-radius: 8px;
  background: #f6fbf9;
}

.order-live-panel > div {
  display: grid;
  gap: 4px;
}

.order-live-panel strong {
  color: var(--teal-dark);
}

.order-live-panel span,
.order-live-panel small {
  color: var(--muted);
  line-height: 1.6;
}

.timeline-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.timeline-item span {
  color: var(--muted);
  font-size: 12px;
}

.timeline-item strong {
  font-size: 13px;
  line-height: 1.7;
}

.target-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.target-line span {
  color: var(--muted);
  font-size: 13px;
}

.target-line strong {
  text-align: left;
  direction: ltr;
}

.form-grid {
  display: grid;
  gap: 13px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

small {
  color: var(--muted);
  line-height: 1.6;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.note-input {
  min-width: 220px;
  min-height: 74px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 700;
}

.btn:hover {
  background: var(--teal-dark);
}

.btn.secondary {
  color: var(--teal-dark);
  background: #e7f1ee;
}

.btn.warn {
  background: var(--amber);
}

.btn.danger {
  background: var(--rose);
}

.btn.small {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 12px;
}

.btn.tiny {
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 11px;
}

.btn.link-button {
  min-height: 0;
  margin-top: 5px;
  padding: 0;
  border-radius: 0;
  color: var(--teal-dark);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn.link-button:hover {
  color: var(--teal);
  background: transparent;
}

.linked-order-actions {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.inline-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.radius-api-cell {
  min-width: 230px;
}

.radius-api-cell input {
  margin: 3px 0;
}

.radius-api-cell .inline-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mini-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}

.mini-check input {
  width: auto;
  margin: 0;
}

.danger-text {
  display: block;
  color: var(--rose);
}

.manual-delivery-form {
  align-items: end;
}

.manual-delivery-result {
  margin-top: 16px;
}

.manual-payment-box {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.manual-payment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.manual-payment-head small {
  color: var(--muted);
}

.manual-payment-options {
  display: grid;
  grid-template-columns: auto auto minmax(160px, 1fr);
  gap: 10px;
  align-items: end;
}

.manual-payment-choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.manual-payment-choice input {
  width: auto;
  margin: 0;
}

.manual-paid-amount {
  display: grid;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
}

.manual-payment-box.is-linked .manual-payment-choice {
  opacity: 0.65;
}

.manual-financial-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 10px;
  align-items: end;
}

.manual-source-warning {
  margin: 0;
}

.manual-refund-panel {
  margin-top: 18px;
  border-color: #fde2b8;
  background: #fffaf2;
}

.manual-refund-page {
  margin-top: 0;
}

.manual-refund-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.manual-refund-head h3 {
  margin: 0 0 4px;
}

.manual-refund-head small {
  color: var(--muted);
}

.orders-limit-notice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.transactions-note {
  padding: 10px 12px;
  border: 1px solid #d7e6e1;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
}

.manual-delivery-items {
  display: grid;
  gap: 10px;
}

.manual-delivery-items-head,
.manual-delivery-item-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.manual-delivery-items-head {
  grid-template-columns: 1fr auto;
}

.manual-delivery-items-head small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.manual-delivery-item-row {
  grid-template-columns: auto minmax(180px, 1fr) 90px auto;
}

.manual-delivery-row-index {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.manual-delivery-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.manual-delivery-meta span,
.manual-card-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
}

.manual-card-list {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.manual-card-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.icon-btn {
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 7px;
  color: var(--teal-dark);
  background: #dcefeb;
  font-size: 12px;
  font-weight: 700;
}

.icon-btn.small {
  min-height: 26px;
  padding: 4px 8px;
}

.stack {
  display: grid;
  gap: 16px;
}

.status {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.status.show {
  display: block;
}

.status.ok {
  color: var(--ok);
  border-color: #bfe1cf;
  background: #f0faf5;
}

.status.warn {
  color: #7c4d11;
  border-color: #ecd3a9;
  background: #fff8ea;
}

.confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(12, 24, 20, 0.42);
}

.confirm-backdrop[hidden] {
  display: none;
}

.confirm-card {
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(10, 24, 20, 0.28);
}

.confirm-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.confirm-body {
  display: grid;
  gap: 12px;
}

.confirm-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.confirm-summary div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.confirm-summary span {
  color: var(--muted);
  font-size: 12px;
}

.confirm-summary strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.confirm-warning {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #ecd3a9;
  border-radius: 8px;
  background: #fff8ea;
  color: #7c4d11;
  line-height: 1.7;
}

.confirm-actions {
  justify-content: flex-end;
}

.cards-result {
  display: grid;
  gap: 10px;
}

.sold-card {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.issued-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sold-card strong {
  font-size: 15px;
}

.sold-card code {
  direction: ltr;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 6px;
  background: #eef3f0;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.row-actions.compact-actions {
  margin-top: 0;
}

.admin-layout {
  width: min(1220px, calc(100% - 32px));
  margin: 28px auto;
  display: grid;
  gap: 18px;
}

.admin-floating-layout {
  width: calc(100% - 32px);
  max-width: none;
}

.admin-layout > *,
#dashboard {
  min-width: 0;
}

.admin-dashboard:not([hidden]) {
  display: block;
}

.admin-sidebar {
  position: fixed;
  top: 98px;
  right: 16px;
  z-index: 40;
  display: grid;
  gap: 14px;
  width: 264px;
  max-height: calc(100vh - 116px);
  min-width: 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  direction: rtl;
  text-align: right;
}

.admin-sidebar-head {
  display: grid;
  gap: 4px;
  padding: 0 2px 10px;
  border-bottom: 1px solid #e5eef0;
}

.admin-sidebar-head strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.admin-sidebar-head span,
.admin-section-eyebrow,
.admin-nav-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.nav-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: #0f766e;
  background: rgba(20, 184, 166, 0.1);
}

.nav-icon svg {
  width: 17px;
  height: 17px;
}

.nav-icon.group-icon {
  color: #475569;
  background: #f1f5f9;
}

.admin-sidebar .tabs {
  display: grid;
  gap: 9px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.admin-nav-group {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 7px;
  border: 1px solid #edf3f4;
  border-radius: 14px;
  background: #fbfefd;
}

.admin-nav-group:not(:has(.tab:not([hidden]))) {
  display: none;
}

.admin-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
  border-radius: 10px;
  color: #334155;
  background: transparent;
  direction: rtl;
  text-align: right;
  font-weight: 950;
}

.admin-nav-toggle:hover,
.admin-nav-group.active .admin-nav-toggle {
  background: #eefaf9;
}

.admin-nav-toggle .hamburger-mark {
  margin-inline-start: auto;
}

.hamburger-mark {
  display: grid;
  gap: 3px;
  width: 17px;
  flex: 0 0 auto;
}

.hamburger-mark i {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.admin-nav-items {
  display: grid;
  gap: 6px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: max-height 180ms ease, opacity 160ms ease;
}

.admin-nav-group.open .admin-nav-items {
  max-height: 340px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.admin-sidebar .tab {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #334155;
  background: transparent;
  direction: rtl;
  text-align: right;
  font-weight: 900;
}

.admin-sidebar .tab:hover {
  border-color: #d7e6e1;
  background: #f8fafc;
}

.admin-sidebar .tab.active {
  color: #082f49;
  border-color: transparent;
  background: var(--brand-gradient);
  box-shadow: 0 12px 22px rgba(19, 236, 218, 0.18);
}

.admin-sidebar .tab.active .nav-icon {
  color: #061622;
  background: rgba(255, 255, 255, 0.5);
}

.admin-nav-group.active .admin-nav-title {
  color: var(--teal-dark);
}

.admin-nav-group.active .admin-nav-toggle .group-icon {
  color: #0f766e;
  background: rgba(20, 184, 166, 0.16);
}

.admin-main {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin-right: 292px;
}

.admin-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.admin-main-head h2 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}

@media (max-width: 980px) {
  .admin-dashboard:not([hidden]) {
    display: grid;
  }

  .admin-sidebar {
    position: static;
    width: auto;
    max-height: none;
  }

  .admin-sidebar .tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .admin-main {
    margin-right: 0;
  }

  .admin-main-head {
    display: grid;
  }
}

@media (max-width: 620px) {
  .admin-page .admin-scope-mini,
  .admin-page .topbar-refresh-actions .live-refresh-status {
    display: none;
  }

  .admin-page .topbar-refresh-actions {
    gap: 5px;
  }

  .admin-page .topbar-refresh-actions .btn {
    min-height: 30px;
    padding: 5px 9px;
    font-size: 11px;
  }

  .admin-sidebar .tabs {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    padding: 12px;
    border-radius: 14px;
  }

  .admin-main-head {
    padding: 12px;
    border-radius: 14px;
  }

  .manual-delivery-items-head,
  .manual-delivery-item-row,
  .manual-payment-options,
  .manual-financial-fields {
    grid-template-columns: 1fr;
  }

  .manual-delivery-row-index {
    font-size: 12px;
  }
}

.merchant-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.command-main h3 {
  margin: 8px 0 12px;
  font-size: 20px;
}

.command-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.command-sync {
  display: grid;
  gap: 5px;
  align-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.command-sync span,
.command-sync small {
  color: var(--muted);
}

.command-sync strong {
  font-size: 16px;
}

.operations-funnel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.funnel-card {
  display: grid;
  gap: 5px;
  min-height: 104px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-align: right;
}

.funnel-card:hover {
  border-color: #9ed6c8;
  background: #f7fbfa;
}

.funnel-card strong {
  color: var(--teal-dark);
  font-size: 27px;
  line-height: 1;
}

.funnel-card span {
  font-weight: 900;
}

.funnel-card small {
  color: var(--muted);
  line-height: 1.5;
}

.funnel-card.ok strong {
  color: var(--ok);
}

.funnel-card.warn strong {
  color: var(--amber);
}

.funnel-card.danger strong {
  color: var(--rose);
}

.funnel-card.info strong {
  color: var(--blue);
}

.operations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.action-list,
.compact-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.action-list li,
.compact-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.action-list div,
.compact-list li {
  min-width: 0;
}

.action-list span,
.compact-list span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.order-details {
  max-width: 680px;
}

.customer-next-actions {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.next-action-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d6e7e1;
  border-radius: 8px;
  background: #f7fbfa;
}

.next-action-head div {
  display: grid;
  gap: 4px;
}

.next-action-head strong {
  font-size: 15px;
}

.next-action-head span:not(.badge) {
  color: var(--muted);
  line-height: 1.7;
}

.next-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.next-action-item {
  display: grid;
  gap: 5px;
  min-height: 94px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.next-action-item.done {
  border-color: #cde8d8;
  background: #f0faf5;
}

.next-action-item strong {
  font-size: 13px;
}

.next-action-item span {
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 520px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.detail-grid h4 {
  margin: 0 0 8px;
  font-size: 13px;
}

.issued-admin-cards {
  display: grid;
  gap: 7px;
}

.issued-admin-cards code {
  display: block;
  padding: 8px;
  border-radius: 8px;
  background: #eef3f0;
  direction: ltr;
  text-align: left;
  white-space: normal;
}

.ocr-preview {
  max-width: 100%;
  max-height: 150px;
  margin-top: 10px;
  background: #f4f8f6;
  color: var(--ink);
  direction: rtl;
  text-align: right;
}

.candidate-list strong {
  color: var(--teal-dark);
  font-size: 12px;
}

.review-advice {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #d6e7e1;
  border-radius: 8px;
  background: #f7fbfa;
}

.review-advice h4 {
  margin: 0;
}

.review-advice strong {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-advice span {
  color: var(--muted);
  line-height: 1.7;
}

.proof-quality {
  display: grid;
  gap: 4px;
  min-width: 110px;
}

.proof-quality strong {
  font-size: 13px;
}

.proof-quality small {
  color: var(--muted);
  line-height: 1.5;
}

.proof-entered-data {
  display: grid;
  gap: 4px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #d7e6e1;
}

.proof-entered-data.empty-proof {
  color: var(--muted);
  font-size: 12px;
}

.proof-data-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 6px;
  align-items: start;
}

.proof-data-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.proof-data-row strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.proof-data-row a {
  color: var(--teal-dark);
  font-weight: 900;
}

.proof-review {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d9e7e2;
  border-radius: 8px;
  background: #fff;
}

.proof-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.proof-review-grid div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.proof-review-grid span {
  color: var(--muted);
  font-size: 12px;
}

.proof-review-grid strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.proof-issues {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-issues li {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--muted);
  background: #eef3f0;
  font-size: 12px;
  font-weight: 800;
}

.payment-evidence-panel {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}

.payment-evidence-head,
.payment-candidate-head,
.candidate-risk-line,
.payment-evidence-badges {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-evidence-head,
.payment-candidate-head {
  justify-content: space-between;
}

.payment-evidence-head h4,
.payment-evidence-head p {
  margin: 0;
}

.payment-evidence-head p,
.safe-behavior-reason,
.payment-empty-review span {
  color: var(--muted);
  line-height: 1.6;
}

.review-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.review-summary-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-fact,
.evidence-breakdown-item,
.risk-explanation div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.review-fact span,
.evidence-breakdown-item span,
.risk-explanation span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-fact strong,
.evidence-breakdown-item small,
.risk-explanation strong {
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.45;
}

.payment-candidate-list {
  display: grid;
  gap: 10px;
}

.payment-candidate-review {
  display: grid;
  gap: 10px;
  padding: 11px;
  border: 1px solid #d9e7e2;
  border-radius: 8px;
  background: #fff;
}

.payment-candidate-review.dangerous,
.candidate-risk-panel.dangerous {
  border-color: #fecaca;
  background: #fff7f7;
}

.payment-candidate-review.noise,
.candidate-risk-panel.noise {
  border-color: #e2e8f0;
  background: #f8fafc;
}

.payment-candidate-review.safe,
.candidate-risk-panel.safe {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.payment-candidate-review.review,
.payment-candidate-review.medium,
.candidate-risk-panel.review,
.candidate-risk-panel.medium {
  border-color: #fde68a;
  background: #fffbeb;
}

.payment-candidate-head strong {
  color: #0f172a;
}

.payment-candidate-head span {
  color: var(--muted);
}

.payment-candidate-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.payment-candidate-quick div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.payment-candidate-quick span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.payment-candidate-quick strong {
  overflow: hidden;
  color: #0f172a;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-operator-line {
  display: grid;
  gap: 4px;
  padding: 8px 9px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
}

.candidate-operator-line strong {
  color: #0f172a;
  font-size: 12px;
  line-height: 1.45;
}

.candidate-operator-line span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.order-quick-grid,
.order-core-details {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.order-quick-grid {
  grid-template-columns: 1fr;
}

.order-quick-grid > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
}

.order-quick-grid > .wide {
  grid-column: auto;
}

.order-quick-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.order-quick-grid strong {
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: 12.5px;
  line-height: 1.45;
}

.order-core-details {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  padding: 10px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
}

.order-core-details h4 {
  margin: 0 0 8px;
}

.order-card-list li,
.order-timeline-list li {
  padding: 7px 8px;
}

.payment-candidate-diagnostics,
.order-secondary-details {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
}

.payment-candidate-diagnostics > summary,
.order-secondary-details > summary {
  padding: 8px 10px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.payment-candidate-diagnostics > summary::-webkit-details-marker,
.order-secondary-details > summary::-webkit-details-marker {
  display: none;
}

.payment-candidate-diagnostics[open] > summary,
.order-secondary-details[open] > summary {
  border-bottom: 1px solid #e5edf6;
  background: #f8fafc;
}

.payment-candidate-diagnostics:not([open]) > :not(summary),
.order-secondary-details:not([open]) > :not(summary) {
  display: none !important;
}

.payment-candidate-diagnostics[open] > :not(summary) {
  margin: 0 8px 8px;
}

.order-secondary-details[open] > .payment-evidence-panel,
.order-secondary-details[open] > .proof-review {
  margin: 0 10px 10px;
}

.order-secondary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
}

.evidence-breakdown-grid,
.risk-explanation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.identity-assessment-panel {
  display: grid;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #f8fafc;
}

.identity-assessment-panel.strong {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.identity-assessment-panel.medium,
.identity-assessment-panel.review {
  border-color: #fde68a;
  background: #fffbeb;
}

.identity-assessment-panel.dangerous {
  border-color: #fecaca;
  background: #fff7f7;
}

.identity-assessment-panel.noise {
  border-color: #e2e8f0;
  background: #f8fafc;
}

.identity-assessment-panel.compact {
  padding: 8px;
}

.identity-assessment-head,
.identity-segment-row,
.identity-flags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.identity-assessment-head strong {
  color: #0f172a;
  font-size: 12px;
}

.identity-assessment-panel small,
.identity-flags span {
  color: #475569;
  line-height: 1.45;
}

.identity-flags span {
  padding: 3px 7px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 800;
}

.identity-segment-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 3px 7px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  color: #334155;
  background: #fff;
  font-size: 11px;
  font-weight: 900;
}

.identity-segment-chip.strong {
  border-color: #86efac;
  color: #166534;
  background: #f0fdf4;
}

.identity-segment-chip.medium {
  border-color: #bae6fd;
  color: #075985;
  background: #f0f9ff;
}

.identity-segment-chip.weak {
  border-color: #fde68a;
  color: #92400e;
  background: #fffbeb;
}

.identity-segment-chip.dangerous {
  border-color: #fecaca;
  color: #991b1b;
  background: #fef2f2;
}

.identity-segment-chip.missing {
  color: #64748b;
  background: #f8fafc;
}

.identity-segment-chip small {
  color: inherit;
  font-size: 10px;
  opacity: 0.8;
}

.auto-match-warning {
  padding: 8px 10px;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  color: #991b1b;
  background: #fef2f2;
  font-weight: 900;
  direction: ltr;
  text-align: left;
}

.payment-empty-review,
.manual-verify-risk-note,
.confirm-evidence-review,
.candidate-risk-panel {
  display: grid;
  gap: 6px;
  padding: 9px 10px;
  border: 1px solid #d9e7e2;
  border-radius: 8px;
  background: #fff;
}

.manual-verify-risk-note {
  margin-bottom: 8px;
  font-size: 12px;
}

.manual-verify-risk-note strong,
.candidate-risk-panel strong,
.confirm-evidence-review strong {
  color: #991b1b;
}

.candidate-risk-panel small {
  color: var(--muted);
  line-height: 1.45;
}

.candidate-orders {
  display: grid;
  gap: 10px;
  min-width: min(420px, 70vw);
}

.transaction-candidate-mini {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(74px, 0.75fr) minmax(90px, 1fr) minmax(62px, 0.6fr) minmax(82px, 0.8fr);
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid #dbe6f1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.candidate-mini-cell {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.candidate-mini-cell small {
  overflow: hidden;
  color: #7087a5;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-mini-cell strong {
  min-width: 0;
  overflow: hidden;
  color: #0f2744;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-mini-name strong {
  color: #031b4e;
}

.candidate-order {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid #d9e7e2;
  border-radius: 8px;
  background: #f7fbfa;
}

.candidate-order.nearest {
  border-color: rgba(20, 184, 166, 0.55);
  background: #eefdfb;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.08);
}

.candidate-order.weak-candidate {
  border-color: #d9e2ea;
  background: #fbfcfd;
  box-shadow: none;
}

.candidate-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.candidate-order strong {
  color: var(--teal-dark);
  font-size: 12px;
}

.candidate-order span,
.candidate-order small {
  overflow-wrap: anywhere;
}

.candidate-rank {
  padding: 4px 8px;
  border-radius: 999px;
  color: #075985;
  background: #e0f2fe;
  font-size: 11px;
  font-weight: 900;
}

.candidate-meta-row,
.candidate-money,
.candidate-person,
.candidate-evidence {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.candidate-money strong {
  color: #0f172a;
  font-size: 14px;
}

.candidate-person span {
  color: #10243f;
  font-weight: 800;
}

.candidate-phone-line {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 760px) {
  .transaction-candidate-mini {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .candidate-mini-name {
    grid-column: 1 / -1;
  }
}

.candidate-phone-line small {
  color: #0f172a;
  font-weight: 800;
}

.candidate-footnote {
  color: #64748b;
  line-height: 1.5;
}

.evidence-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #334155;
  background: #eef3f0;
  font-size: 11px;
  font-weight: 900;
}

.evidence-chip.strong {
  color: #065f46;
  background: #d1fae5;
}

.evidence-chip.medium {
  color: #075985;
  background: #dbeafe;
}

.evidence-chip.weak {
  color: #854d0e;
  background: #fef3c7;
}

.evidence-chip.conflict,
.evidence-chip.dangerous {
  color: #991b1b;
  background: #fee2e2;
}

.evidence-chip.missing {
  color: #475569;
  background: #e2e8f0;
}

.evidence-chip.safe {
  color: #1d4ed8;
  background: #dbeafe;
}

.evidence-chip.review {
  color: #7c2d12;
  background: #ffedd5;
}

.evidence-chip.noise {
  color: #475569;
  background: #f1f5f9;
}

.evidence-chip.soft {
  color: #92400e;
  background: #fef3c7;
}

.evidence-chip.time {
  color: #075985;
  background: #e0f2fe;
}

.evidence-chip.money {
  color: #155e75;
  background: #cffafe;
}

.evidence-chip.muted {
  color: #64748b;
  background: #f1f5f9;
}

.evidence-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.ai-suggestions-table td {
  vertical-align: top;
}

.vertical-actions {
  align-items: stretch;
  flex-direction: column;
}

.vertical-actions .btn {
  width: 100%;
  justify-content: center;
}

.row-flash {
  animation: rowFlash 2.2s ease;
}

@keyframes rowFlash {
  0%,
  55% {
    background: #fff8dc;
    box-shadow: inset 0 0 0 2px #e8c66b;
  }
  100% {
    background: transparent;
    box-shadow: none;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stats-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 116px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.stat-card strong {
  display: block;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.stat-card span {
  display: block;
  margin-top: 4px;
  font-weight: 800;
}

.stat-card small {
  display: block;
  margin-top: 4px;
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}

.stat-card.info .stat-icon {
  background: var(--blue);
}

.stat-card.warn .stat-icon {
  background: var(--amber);
}

.stat-card.danger .stat-icon {
  background: var(--rose);
}

.stat-card.ok .stat-icon {
  background: var(--ok);
}

.dashboard-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.mini-panel {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.mini-panel h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.mini-table {
  font-size: 12px;
}

.alert-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.alert-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.sync-details {
  margin-top: 14px;
}

.sync-lines {
  display: grid;
  gap: 10px;
}

.sync-lines div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.wallet-ledger-head,
.wallet-ledger-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.wallet-ledger-head h3,
.wallet-ledger-panel-head h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.wallet-ledger-stats {
  margin-bottom: 14px;
}

.wallet-ledger-panel {
  margin-bottom: 14px;
}

.wallet-ledger-form {
  grid-template-columns: minmax(150px, 0.45fr) minmax(220px, 1fr) auto;
  margin-bottom: 14px;
}

.wallet-ledger-table {
  margin-top: 10px;
}

@media (max-width: 760px) {
  .wallet-ledger-head,
  .wallet-ledger-panel-head {
    display: grid;
  }

  .wallet-ledger-form {
    grid-template-columns: 1fr;
  }
}

.palpay-balance-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.92), rgba(239, 246, 255, 0.82));
}

.palpay-balance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.palpay-balance-grid .palpay-balance-panel {
  min-height: 126px;
  margin-bottom: 0;
}

.palpay-balance-grid .palpay-balance-panel strong {
  font-size: 34px;
}

.palpay-balance-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.palpay-balance-panel strong {
  display: block;
  margin-top: 4px;
  color: #064e3b;
  font-size: 42px;
  line-height: 1.05;
  direction: ltr;
  overflow-wrap: anywhere;
}

.palpay-balance-panel small {
  color: var(--muted);
  font-weight: 800;
  text-align: left;
}

.palpay-balance-panel small b {
  color: var(--text);
  font-weight: 900;
}

.palpay-balance-panel.muted strong {
  color: var(--muted);
  font-size: 30px;
}

@media (max-width: 720px) {
  .palpay-balance-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .palpay-balance-panel strong {
    font-size: 34px;
  }

  .palpay-balance-panel small {
    text-align: right;
  }
}

.sync-step-list {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin: 10px 0 0;
  padding: 0 18px 0 0;
}

.sync-step-list li {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.sync-step-list small,
.sync-preview {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.sync-text-hint {
  max-width: 520px;
  max-height: 90px;
  overflow: auto;
  margin-top: 6px;
  padding: 8px;
  border-radius: 8px;
  background: #f4f8f6;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.7;
}

.warn-text {
  color: var(--rose);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  min-width: 0;
  max-width: 100%;
}

.tab {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 7px;
  color: var(--teal-dark);
  background: transparent;
  font-weight: 700;
}

.tab.active {
  color: #fff;
  background: var(--teal);
}

.tab-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.live-refresh-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.live-refresh-status.active {
  color: var(--ok);
  border-color: #cde8d8;
  background: #f0faf5;
}

.filters,
.table-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.smart-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.smart-filter-tabs button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  background: #fff;
  font-weight: 800;
}

.smart-filter-tabs button.active {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.filters input,
.filters select,
.table-toolbar input,
.table-toolbar select {
  max-width: 230px;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.table-empty-state {
  margin-top: 10px;
  padding: 14px;
  border: 1px dashed #cbd9d3;
  border-radius: 8px;
  color: var(--muted);
  background: #f7faf8;
  text-align: center;
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.table-pagination-top {
  margin: 10px 0;
  border-style: dashed;
  background: #f8fbfb;
}

.table-pagination-size,
.table-pagination-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.table-pagination select {
  min-height: 34px;
  min-width: 86px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  color: var(--text);
  font-weight: 800;
}

.table-pagination-status {
  color: var(--text);
}

.table-pagination .btn {
  min-height: 34px;
}

.tab-panel {
  display: none;
  min-width: 0;
}

.tab-panel.active {
  display: block;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.settings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-row {
  grid-column: 1 / -1;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 700;
  background: #f7faf8;
  position: sticky;
  top: 0;
  z-index: 1;
}

.ltr {
  direction: ltr;
  text-align: left;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: #e5f1ee;
  font-size: 12px;
  font-weight: 700;
}

.badge.warn {
  color: #7c4d11;
  background: #fff1d5;
}

.badge.ok {
  color: var(--ok);
  background: #e7f7ee;
}

.badge.info {
  color: var(--blue);
  background: #eaf1ff;
}

.badge.danger {
  color: var(--rose);
  background: #fdecef;
}

.renewal-layout {
  width: min(1100px, calc(100% - 32px));
  margin: 24px auto 44px;
  display: grid;
  gap: 18px;
}

.renewal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.renewal-hero h2 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.35;
}

.renewal-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.renewal-merchant-strip,
.renewal-summary-lines > div,
.renewal-payment-card > div {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.renewal-merchant-strip span,
.renewal-summary-lines span,
.renewal-payment-card span {
  color: var(--muted);
  font-size: 12px;
}

.renewal-merchant-strip strong,
.renewal-summary-lines strong,
.renewal-payment-card strong {
  font-size: 16px;
  overflow-wrap: anywhere;
}

.renewal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 20px;
  align-items: start;
}

.renewal-grid:has(.renewal-intent-panel[hidden]) {
  grid-template-columns: minmax(0, 660px);
  justify-content: center;
}

.renewal-form-body,
.renewal-result-body {
  display: grid;
  gap: 16px;
}

.renewal-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.renewal-stepper li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.renewal-stepper li span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
}

.renewal-stepper li.active {
  color: var(--teal-dark);
  border-bottom-color: var(--teal-dark);
}

.renewal-stepper li.complete {
  color: #24795f;
  border-bottom-color: #79bfa9;
}

.renewal-step {
  display: grid;
  gap: 16px;
}

.renewal-contract-preview,
.renewal-selection-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.renewal-contract-preview > div,
.renewal-selection-preview > div {
  display: grid;
  gap: 5px;
  padding: 10px;
  border-left: 3px solid #cde7e1;
  background: #f7fbfa;
}

.renewal-contract-preview span,
.renewal-selection-preview span {
  color: var(--muted);
  font-size: 12px;
}

.renewal-contract-preview strong,
.renewal-selection-preview strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.renewal-option-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.renewal-option-card.disabled {
  opacity: 0.56;
  cursor: not-allowed;
  background: #f7f8fa;
}

.renewal-step-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.renewal-option-preview {
  margin-top: 12px;
}

.renewal-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.renewal-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
}

.renewal-choice-group,
.renewal-payment-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.renewal-payment-methods {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.renewal-option-card,
.renewal-payment-choice {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.renewal-option-card input,
.renewal-payment-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.renewal-option-card:has(input:checked),
.renewal-payment-choice:has(input:checked) {
  border-color: var(--teal-dark);
  background: #eefaf7;
  color: var(--teal-dark);
}

.renewal-summary-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.renewal-payment-card,
.renewal-manual-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #cde7e1;
  border-radius: 8px;
  background: #f0faf7;
}

.renewal-manual-card {
  border-color: #ecd3a9;
  background: #fff8ea;
}

.renewal-payment-actions,
.renewal-followup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.renewal-events {
  margin-top: 0;
}

.renewal-progress {
  margin-top: 14px;
  padding: 12px 14px;
  border-inline-start: 3px solid var(--primary);
  background: var(--surface-muted);
  color: var(--text);
  font-weight: 700;
}

.renewal-progress.ok { border-inline-start-color: var(--success); }
.renewal-progress.warn { border-inline-start-color: var(--warning); }
.renewal-progress.danger { border-inline-start-color: var(--danger); }

@media (max-width: 900px) {
  .renewal-hero,
  .renewal-grid {
    grid-template-columns: 1fr;
  }

  .renewal-choice-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .renewal-layout {
    width: min(100% - 22px, 1100px);
    margin-top: 14px;
  }

  .renewal-hero {
    padding: 16px;
  }

  .renewal-hero h2 {
    font-size: 21px;
  }

  .renewal-choice-group,
  .renewal-payment-methods,
  .renewal-summary-lines,
  .renewal-contract-preview,
  .renewal-selection-preview {
    grid-template-columns: 1fr;
  }

  .renewal-stepper {
    gap: 4px;
  }

  .renewal-stepper li {
    gap: 4px;
    font-size: 11px;
  }
}

.inline-check {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
}

.inline-check input {
  width: auto;
  min-height: auto;
}

details {
  margin-top: 7px;
}

summary {
  cursor: pointer;
  color: var(--teal-dark);
  font-weight: 700;
}

pre {
  max-width: 520px;
  max-height: 220px;
  overflow: auto;
  padding: 10px;
  border-radius: 8px;
  background: #101815;
  color: #d6f4e5;
  direction: ltr;
  text-align: left;
  font-size: 12px;
}

.empty {
  color: var(--muted);
  padding: 18px 0;
}

[hidden] {
  display: none !important;
}

/* SmartNet hotspot visual identity */
.topbar {
  background: var(--hotspot-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
  backdrop-filter: none;
}

.brand-logo {
  width: 82px;
  height: 50px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.22));
}

.brand-mark {
  background: var(--brand-gradient);
  color: #0f172a;
}

.topbar .brand h1,
.topbar .brand p,
.topbar .admin-identity strong,
.topbar .admin-identity span {
  color: #fff;
}

.topbar .brand p {
  color: rgba(255, 255, 255, 0.76);
}

.topbar .admin-identity {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.28);
}

.topbar .btn.secondary,
.topbar .support-links .btn.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
}

.topbar .btn.secondary:hover {
  border-color: rgba(19, 236, 218, 0.45);
  background: rgba(19, 236, 218, 0.14);
}

.topbar .badge {
  color: #0f172a;
  background: var(--brand-gradient);
}

.customer-layout,
.admin-layout {
  margin-top: 26px;
}

.customer-intro {
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: var(--hotspot-dark);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.customer-intro h2 {
  color: #fff;
  font-size: clamp(23px, 4vw, 34px);
}

.customer-intro p {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow {
  color: #0f172a;
  background: var(--brand-gradient);
  box-shadow: 0 10px 22px rgba(19, 236, 218, 0.18);
}

.merchant-strip div {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.28);
}

.merchant-strip span {
  color: rgba(255, 255, 255, 0.64);
}

.merchant-strip strong {
  color: #fff;
}

.checkout-steps span {
  min-height: 46px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.checkout-steps span.active {
  color: #0f172a;
  border-color: transparent;
  background: var(--brand-gradient);
}

.checkout-steps span.done {
  color: #065f46;
  border-color: rgba(16, 185, 129, 0.24);
  background: #ecfdf5;
}

.panel,
.mini-panel,
.stat-card,
.funnel-card,
.product-card,
.product-row,
.proof-card,
.timeline-item,
.next-action-item,
.detail-grid,
.review-advice,
.proof-review,
.candidate-order,
.merchant-command,
.command-sync,
.cart-item,
.cart-advisor,
.confirm-card,
.sold-card {
  border-color: var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.panel {
  overflow: hidden;
}

.panel-header {
  background: linear-gradient(to left, rgba(19, 236, 218, 0.11), rgba(59, 130, 246, 0.08), transparent);
}

.panel-header h2,
.panel-header h3 {
  color: var(--ink);
}

#loginPanel {
  width: min(430px, 100%);
  margin: 32px auto;
}

#loginPanel .panel-header {
  min-height: 116px;
  align-items: flex-end;
  color: #fff;
  background: var(--hotspot-dark);
}

#loginPanel .panel-header h2 {
  color: #fff;
}

.catalog-controls input,
.catalog-controls select,
input,
select,
textarea {
  border-radius: 12px;
  background: var(--input-bg);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(19, 236, 218, 0.2);
}

.btn {
  border-radius: 12px;
  color: #0f172a;
  background: var(--brand-gradient);
  box-shadow: 0 10px 18px rgba(19, 236, 218, 0.16);
  transition: transform 120ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.btn:hover {
  background: var(--brand-gradient);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.18);
  transform: translateY(-1px);
}

.btn.secondary,
.icon-btn,
.stepper button {
  color: #0f766e;
  border: 1px solid rgba(19, 236, 218, 0.24);
  background: rgba(19, 236, 218, 0.1);
  box-shadow: none;
}

.btn.secondary:hover,
.icon-btn:hover,
.stepper button:hover {
  color: #075985;
  background: rgba(59, 130, 246, 0.12);
}

.btn.warn {
  color: #fff;
  background: #d97706;
}

.btn.warn:hover {
  background: #b45309;
}

.btn.danger {
  color: #fff;
  background: #dc2626;
}

.btn.danger:hover {
  background: #b91c1c;
}

.catalog-filter-tabs button,
.smart-filter-tabs button,
.tab {
  border-radius: 12px;
}

.catalog-filter-tabs button.active,
.smart-filter-tabs button.active,
.tab.active {
  color: #0f172a;
  border-color: transparent;
  background: var(--brand-gradient);
  box-shadow: 0 10px 20px rgba(19, 236, 218, 0.16);
}

.tabs {
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.product-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(19, 236, 218, 0.2);
  background: linear-gradient(135deg, #fff 40%, rgba(19, 236, 218, 0.08) 80%, rgba(59, 130, 246, 0.1) 100%);
}

.product-card.selected {
  border-color: rgba(19, 236, 218, 0.75);
  box-shadow: 0 0 0 3px rgba(19, 236, 218, 0.16), var(--shadow-soft);
}

.product-card.best-value {
  border-color: rgba(19, 236, 218, 0.38);
  background: var(--hotspot-dark);
}

.product-card.best-value .product-name,
.product-card.best-value .product-price,
.product-card.best-value .product-description {
  color: #fff;
}

.product-card.best-value .product-meta,
.product-card.best-value .product-meta span {
  color: rgba(255, 255, 255, 0.74);
}

.product-card.best-value .badge {
  color: #0f172a;
  background: var(--brand-gradient);
}

.product-price,
.amount-line strong,
.funnel-card strong,
.stat-card strong,
.candidate-list strong,
.candidate-order strong,
.payment-rule strong,
.order-live-panel strong {
  color: #0f766e;
}

.payment-target,
.payment-rule,
.proof-signals,
.receipt-preview,
.order-live-panel,
.next-action-head,
.review-advice {
  border-color: rgba(19, 236, 218, 0.2);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(19, 236, 218, 0.08), rgba(59, 130, 246, 0.06));
}

.proof-meter span,
.payment-checklist span::before,
.proof-guidance li::before {
  background: var(--brand-gradient);
}

.proof-chip.ok,
.badge.ok,
.live-refresh-status.active {
  color: #047857;
  background: #ecfdf5;
}

.badge.info {
  color: #1d4ed8;
  background: #eff6ff;
}

.badge.warn,
.status.warn {
  color: #92400e;
  background: #fffbeb;
}

.badge.danger,
.status.danger {
  color: #b91c1c;
  background: #fef2f2;
}

.stat-icon {
  color: #0f172a;
  border-radius: 12px;
  background: var(--brand-gradient);
}

.stat-card.info .stat-icon,
.stat-card.warn .stat-icon,
.stat-card.danger .stat-icon,
.stat-card.ok .stat-icon {
  color: #fff;
}

.mini-panel,
.table-empty-state,
.command-sync,
.sync-step-list li {
  background: var(--surface-alt);
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

th {
  color: #0f172a;
  background: #f8fafc;
}

tbody tr:hover {
  background: rgba(19, 236, 218, 0.05);
}

.badge {
  color: #0f766e;
  background: rgba(19, 236, 218, 0.13);
}

.status,
.live-refresh-status {
  border-radius: 12px;
}

.confirm-backdrop {
  background: rgba(15, 23, 42, 0.58);
}

.confirm-card {
  border-radius: 20px;
}

.sync-text-hint,
.ocr-preview {
  border: 1px solid var(--line);
  background: #f8fafc;
}

pre {
  border: 1px solid rgba(19, 236, 218, 0.16);
  background: #0f172a;
  color: #dffefa;
}

.mobile-cart-bar {
  display: none;
}

.customer-page.checkout-mode .customer-intro,
.customer-page.checkout-mode .customer-grid {
  display: none;
}

.customer-page.checkout-mode .order-workspace {
  width: min(720px, 100%);
  grid-template-columns: 1fr;
  margin-inline: auto;
}

.customer-page.checkout-mode .payment-layout {
  grid-template-columns: 1fr;
}

.customer-page.checkout-mode #orderTimeline {
  display: none;
}

.customer-page.checkout-mode .timeline-panel .panel-body {
  padding-top: 14px;
}

.customer-page .catalog-panel .panel-header,
.customer-page .customer-summary .panel-header {
  min-height: 74px;
}

.customer-page #catalogSort {
  display: none;
}

.customer-page .catalog-controls {
  grid-template-columns: 1fr;
}

.customer-page .product-card {
  min-height: 142px;
}

.simple-pay-card {
  gap: 12px;
}

.simple-pay-card .amount-line {
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(19, 236, 218, 0.3);
  border-radius: 16px;
  background: #fff;
}

.simple-pay-card .amount-line strong {
  font-size: 34px;
}

.quiet-payment-line {
  display: none;
}

.ussd-box {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(19, 236, 218, 0.22);
  border-radius: 16px;
  background: #fff;
}

.ussd-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ussd-box code {
  direction: ltr;
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: #0f172a;
  color: #dffefa;
  font-size: 18px;
  text-align: center;
}

.ussd-btn {
  text-decoration: none;
}

.simple-payment-actions {
  margin-top: 0;
}

.simple-payment-actions #copyPaymentSummary,
.simple-payment-actions #copySupportSummary {
  display: none;
}

.simple-proof-head {
  display: grid;
  gap: 3px;
  padding-bottom: 2px;
}

.simple-proof-head strong {
  font-size: 18px;
}

.simple-proof-head span {
  color: var(--muted);
  font-size: 13px;
}

.proof-method-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.alternate-proof-methods {
  border: 0;
  margin: 0;
}

.alternate-proof-methods summary {
  width: max-content;
  cursor: pointer;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  list-style: none;
}

.alternate-proof-methods summary::-webkit-details-marker {
  display: none;
}

.alternate-proof-methods summary::after {
  content: "›";
  margin-inline-start: 4px;
}

.alternate-proof-methods[open] summary::after {
  content: "⌄";
}

.alternate-proof-methods[open] .proof-method-tabs {
  margin-top: 8px;
}

.proof-method-tabs button {
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #0f766e;
  background: #fff;
  font-weight: 900;
}

.proof-method-tabs button.active {
  color: #0f172a;
  border-color: transparent;
  background: var(--brand-gradient);
}

.proof-field {
  display: none;
}

.proof-field.method-visible {
  display: grid;
}

.primary-proof-field.method-visible input {
  border-color: rgba(19, 236, 218, 0.75);
  box-shadow: 0 0 0 3px rgba(19, 236, 218, 0.12);
}

.proof-signals {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.proof-signals .proof-chip {
  margin-inline-start: auto;
}

.verification-wheel {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 16px;
  background: #f8fafc;
  text-align: center;
}

.verification-wheel[hidden] {
  display: none !important;
}

.verification-wheel span {
  color: var(--muted);
  font-size: 12px;
}

.proof-support-link {
  justify-self: center;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.proof-support-link:hover {
  text-decoration: underline;
}

.phone-proof-reset {
  justify-self: start;
  min-height: 0;
  padding: 0;
  border: 0;
  color: #0369a1;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.phone-proof-reset[hidden] {
  display: none !important;
}

.wheel-spinner {
  width: 54px;
  height: 54px;
  border: 5px solid rgba(19, 236, 218, 0.18);
  border-top-color: #13ecda;
  border-left-color: #3b82f6;
  border-radius: 50%;
  animation: spinWheel 720ms linear infinite;
}

.verification-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(8px);
}

.verification-overlay[hidden] {
  display: none !important;
}

.verification-overlay-card {
  width: min(340px, 100%);
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 24px 20px;
  border: 1px solid rgba(19, 236, 218, 0.28);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  text-align: center;
}

.verification-overlay-card strong {
  font-size: 20px;
  line-height: 1.4;
}

.verification-overlay-card span {
  color: var(--muted);
  line-height: 1.7;
}

.verification-countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecfeff;
  color: #0f766e;
  font-weight: 900;
}

.verification-countdown b {
  min-width: 24px;
  font-size: 22px;
  line-height: 1;
}

.verification-countdown small {
  color: inherit;
  font-size: 12px;
}

body.verification-overlay-open {
  overflow: hidden;
}

@keyframes spinWheel {
  to {
    transform: rotate(360deg);
  }
}

.simple-result-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.simple-result-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #0f172a;
  background: var(--brand-gradient);
  font-size: 22px;
  font-weight: 900;
}

.simple-result-card strong,
.simple-result-card span {
  display: block;
}

.simple-result-card span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.7;
}

.simple-result-card.ok .simple-result-icon {
  color: #fff;
  background: #10b981;
}

.simple-result-card.warn .simple-result-icon {
  color: #fff;
  background: #d97706;
}

.simple-result-card.danger .simple-result-icon {
  color: #fff;
  background: #dc2626;
}

@media (max-width: 900px) {
  .layout,
  .customer-intro,
  .customer-grid,
  .order-workspace,
  .payment-layout,
  .merchant-command,
  .operations-funnel,
  .operations-grid,
  .admin-grid,
  .settings-grid,
  .dashboard-sections {
    grid-template-columns: 1fr;
  }

  .product-cards {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .review-summary-grid,
  .review-summary-grid.compact,
  .evidence-breakdown-grid,
  .risk-explanation {
    grid-template-columns: 1fr;
  }

  .order-live-panel {
    grid-template-columns: 1fr;
  }

  .next-action-grid {
    grid-template-columns: 1fr;
  }

  .proof-review-grid {
    grid-template-columns: 1fr;
  }

  .payment-candidate-quick,
  .order-quick-grid,
  .order-core-details,
  .order-secondary-grid {
    grid-template-columns: 1fr;
  }

  .order-quick-grid > .wide {
    grid-column: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary {
    position: static;
  }
}

@media (max-width: 580px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .layout,
  .customer-layout,
  .admin-layout {
    width: calc(100% - 20px);
    margin: 16px auto;
  }

  .checkout-steps {
    width: calc(100% - 20px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-row {
    grid-template-columns: 1fr;
  }

  .catalog-controls {
    grid-template-columns: 1fr;
  }

  .product-card-top,
  .product-card-actions,
  .target-line,
  .next-action-head,
  .cart-item,
  .action-list li,
  .compact-list li {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-intro {
    padding: 16px;
  }

  .customer-intro h2 {
    font-size: 21px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .orders-table-wrap {
    overflow: visible;
  }

  .orders-table {
    width: 100%;
  }

  .orders-table thead {
    display: none;
  }

  .orders-table,
  .orders-table tbody,
  .orders-table tr,
  .orders-table td {
    display: block;
  }

  .orders-table tr {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .orders-table td {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 8px 0;
    border-bottom: 1px solid #edf3ef;
    overflow-wrap: anywhere;
  }

  .orders-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
  }

  .orders-table td:first-child {
    grid-template-columns: 1fr;
  }

  .orders-table td:first-child::before {
    display: none;
  }

  .orders-table td:last-child {
    border-bottom: 0;
  }

  .filters input,
  .filters select,
  .table-toolbar input,
  .table-toolbar select {
    max-width: none;
  }

  .stepper {
    width: 124px;
  }
}

@media (max-width: 580px) {
  body {
    background: #f3f7f7;
  }

  body.has-mobile-cart {
    padding-bottom: 86px;
  }

  .topbar {
    position: static;
    gap: 12px;
    padding: 12px 14px 16px;
  }

  .brand {
    width: 100%;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  .brand-logo {
    width: 66px;
    height: 40px;
  }

  .brand h1 {
    font-size: 16px;
  }

  .brand p {
    font-size: 11px;
  }

  .top-actions {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .top-actions .btn {
    min-height: 40px;
    padding: 8px 12px;
  }

  .admin-identity {
    min-width: 136px;
  }

  .customer-layout,
  .admin-layout {
    width: 100%;
    padding: 0 10px;
    margin: 14px auto 28px;
  }

  .customer-intro {
    gap: 14px;
    padding: 20px 16px;
    border-radius: 22px;
  }

  .customer-intro h2 {
    margin-top: 10px;
    font-size: 22px;
    line-height: 1.45;
  }

  .customer-intro p {
    font-size: 13px;
    line-height: 1.7;
  }

  .merchant-strip div {
    padding: 12px;
    border-radius: 14px;
  }

  .checkout-steps {
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 0 10px;
    margin-top: 14px;
  }

  .checkout-steps span {
    min-height: 38px;
    padding: 6px 3px;
    border-radius: 12px;
    font-size: 11px;
  }

  .panel {
    border-radius: 16px;
  }

  .panel-header {
    align-items: flex-start;
    padding: 15px 14px;
  }

  .panel-header h2,
  .panel-header h3 {
    font-size: 17px;
  }

  .panel-header span {
    font-size: 12px;
  }

  .panel-body {
    padding: 14px;
  }

  .catalog-controls {
    gap: 9px;
  }

  .catalog-filter-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .catalog-filter-tabs button,
  .smart-filter-tabs button,
  .tab {
    min-height: 38px;
    padding: 7px 8px;
    font-size: 12px;
  }

  .product-card {
    min-height: 0;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
  }

  .product-card-top {
    flex-direction: row;
    align-items: flex-start;
  }

  .product-card-actions {
    flex-direction: row;
    align-items: flex-end;
  }

  .product-name {
    font-size: 15px;
    line-height: 1.45;
  }

  .product-price {
    font-size: 18px;
  }

  .product-description {
    font-size: 12px;
    line-height: 1.55;
  }

  .product-meta {
    gap: 5px 10px;
    font-size: 12px;
  }

  .stepper {
    grid-template-columns: 36px 44px 36px;
    width: 116px;
    border-radius: 10px;
  }

  .stepper button {
    height: 36px;
  }

  .btn,
  input,
  select,
  textarea {
    min-height: 40px;
  }

  .customer-summary {
    margin-top: 14px;
  }

  .customer-page:not(.checkout-mode) .customer-summary {
    display: none;
  }

  .tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 8px;
  }

  .tab {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .tab-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .tab-actions .live-refresh-status {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .tab-actions .btn {
    width: 100%;
  }

  .merchant-command,
  .operations-grid,
  .dashboard-sections {
    gap: 10px;
  }

  .merchant-command {
    padding: 12px;
  }

  .command-main h3 {
    font-size: 18px;
    line-height: 1.5;
  }

  .command-pills {
    gap: 6px;
  }

  .funnel-card,
  .stat-card,
  .mini-panel {
    min-height: auto;
    padding: 13px;
    border-radius: 15px;
  }

  .stat-card {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .stat-card strong,
  .funnel-card strong {
    font-size: 23px;
  }

  .action-list li,
  .compact-list li,
  .next-action-head,
  .cart-item {
    gap: 8px;
  }

  .table-wrap {
    border-radius: 14px;
  }

  table {
    font-size: 12px;
  }

  th,
  td {
    padding: 8px 6px;
  }

  .mobile-cart-bar {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 18;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 8px;
    border: 1px solid rgba(19, 236, 218, 0.28);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(14px);
  }

  .mobile-cart-bar[hidden] {
    display: none !important;
  }

  .mobile-cart-info {
    display: grid;
    gap: 2px;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8fafc;
    color: var(--ink);
    text-align: right;
  }

  .mobile-cart-info span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
  }

  .mobile-cart-info strong {
    color: #0f766e;
    font-size: 17px;
    line-height: 1.2;
  }

  .mobile-cart-bar .btn {
    min-width: 118px;
    min-height: 48px;
    padding: 8px 12px;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    width: 58px;
    height: 36px;
  }

  .brand h1 {
    font-size: 15px;
  }

  .checkout-steps span {
    font-size: 11px;
  }

  .product-card-top,
  .product-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .stepper {
    width: 100%;
  }
}

/* Customer compact purchase flow */
.customer-page {
  background: #f5f7f8;
}

.customer-page .topbar {
  position: static;
  padding: 8px clamp(10px, 3vw, 24px);
  box-shadow: none;
}

.customer-page .brand {
  gap: 9px;
}

.customer-page .brand-logo {
  width: 50px;
  height: 32px;
  filter: none;
}

.customer-page .brand h1 {
  font-size: 15px;
}

.customer-page .brand p {
  display: none;
}

.customer-page #serviceState.badge.ok,
.customer-page .top-actions .store-admin-link {
  display: none;
}

.customer-page .top-actions {
  gap: 5px;
}

.customer-page .free-internet-btn {
  min-height: 30px;
  padding: 5px 10px;
  border: 0;
  background: linear-gradient(to left, #10b981, #14b8a6);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(20, 184, 166, 0.22);
}

.customer-page .free-internet-btn:hover {
  transform: translateY(-1px);
}

.customer-page .free-internet-btn.loading {
  opacity: 0.82;
}

.customer-page .free-internet-btn.connected {
  background: linear-gradient(to left, #16a34a, #22c55e);
  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.22);
}

.customer-page .free-internet-btn.disabled,
.customer-page .free-internet-btn[aria-disabled="true"] {
  background: #e5e7eb;
  color: #64748b;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.hotspot-trial-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.customer-page .support-links .badge,
.customer-page .top-actions .badge {
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
}

.customer-layout {
  width: min(980px, calc(100% - 20px));
  margin: 12px auto 24px;
  gap: 10px;
}

.customer-page .customer-intro,
.customer-page .checkout-steps,
.customer-page .catalog-controls,
.customer-page .cart-advisor,
.customer-page .payment-checklist,
.customer-page .quiet-payment-line,
.customer-page .proof-signals,
.customer-page .proof-guidance:empty,
.customer-page .order-live-panel,
.customer-page #orderTimeline,
.customer-page #lastRefreshLabel {
  display: none !important;
}

.customer-grid {
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 10px;
}

.customer-page .panel {
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.customer-page .panel-header {
  min-height: 0 !important;
  padding: 10px 12px;
  background: #fff;
}

.customer-page .panel-header h2,
.customer-page .panel-header h3 {
  font-size: 16px;
}

.customer-page .panel-header span {
  font-size: 11px;
}

.customer-page .panel-body {
  padding: 10px 12px 12px;
}

.customer-page .products {
  gap: 8px;
}

.customer-page .product-cards {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.customer-page .product-card {
  min-height: 0;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.customer-page .product-card.selected {
  border-color: rgba(16, 185, 129, 0.8);
  background: #f0fdf4;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.12);
}

.customer-page .product-card-top {
  align-items: flex-start;
  gap: 8px;
}

.customer-page .product-name {
  font-size: 14px;
  line-height: 1.35;
}

.customer-page .product-name .badge {
  margin-inline-start: 4px;
  min-height: 22px;
  padding: 2px 6px;
  border-radius: 7px;
  font-size: 10px;
}

.customer-page .product-price {
  font-size: 18px;
  line-height: 1.2;
}

.customer-page .product-meta {
  gap: 4px 6px;
  margin-top: 5px;
  font-size: 11px;
}

.customer-page .product-meta span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 2px 6px;
  border-radius: 7px;
  background: #f1f5f9;
}

.customer-page .product-card-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.customer-page .stepper {
  grid-template-columns: 32px 38px 32px;
  width: 102px;
  border-radius: 8px;
}

.customer-page .stepper button {
  height: 32px;
}

.customer-page .stepper output {
  font-size: 14px;
}

.customer-summary {
  top: 12px;
}

.customer-page .cart-items {
  gap: 6px;
}

.customer-page .cart-item {
  padding: 7px 8px;
  border-radius: 8px;
}

.customer-page .cart-item strong {
  font-size: 13px;
}

.customer-page .cart-item span {
  font-size: 11px;
}

.customer-page .totals {
  gap: 8px;
  margin-bottom: 10px;
}

.customer-page .compact-totals {
  padding-top: 8px;
}

.customer-page .total-row strong {
  font-size: 20px;
}

.customer-page .btn,
.customer-page input,
.customer-page select,
.customer-page textarea {
  min-height: 36px;
  border-radius: 8px;
}

.customer-page .btn {
  padding: 8px 12px;
  font-size: 13px;
}

.customer-page .btn.small,
.customer-page .icon-btn.small {
  min-height: 28px;
  padding: 4px 8px;
}

.customer-page .status {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
}

.lookup-disclosure {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.lookup-disclosure summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.lookup-disclosure .lookup-form {
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
}

.customer-page.checkout-mode .order-workspace {
  width: min(620px, 100%);
  gap: 10px;
}

.customer-page.checkout-mode .payment-layout {
  gap: 10px;
}

.customer-page.checkout-mode .payment-panel .panel-header span,
.customer-page.checkout-mode .timeline-panel .panel-header,
.customer-page #cardsPanel .panel-header span {
  display: none;
}

.customer-page .payment-target {
  gap: 8px;
  padding: 10px;
  margin: 0;
  border-radius: 8px;
  background: #f8fafc;
}

.customer-page .simple-pay-card .target-line:first-child:not(.amount-focus-line) {
  display: none;
}

.customer-page .target-line {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.customer-page .target-line span {
  font-size: 12px;
}

.customer-page .target-line strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.customer-page .simple-pay-card .amount-line {
  padding: 9px 10px;
  border-radius: 8px;
}

.customer-page .simple-pay-card .amount-line strong {
  font-size: 26px;
}

.customer-page .payment-rule {
  padding: 7px 9px;
  border-radius: 8px;
  background: #fff;
}

.customer-page .payment-rule span {
  font-size: 11px;
  line-height: 1.5;
}

.customer-page .ussd-box {
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
}

.customer-page .ussd-box span {
  font-size: 11px;
}

.customer-page .ussd-box code {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 15px;
}

.customer-page .row-actions {
  gap: 6px;
  margin-top: 8px;
}

.customer-page .simple-payment-actions #refreshOrder {
  display: none;
}

.customer-page.verification-waiting .simple-payment-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.customer-page.verification-waiting .simple-payment-actions #refreshOrder {
  display: inline-flex;
  justify-content: center;
}

.customer-page #cancelOrderCheckout {
  min-height: 34px;
  justify-self: end;
  padding: 6px 10px;
  font-size: 12px;
}

.customer-page .proof-card {
  gap: 9px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
}

.customer-page .simple-proof-head {
  gap: 0;
}

.customer-page .simple-proof-head strong {
  font-size: 16px;
}

.customer-page .simple-proof-head span {
  font-size: 11px;
}

.customer-page .proof-method-tabs {
  gap: 6px;
}

.customer-page .proof-method-tabs button {
  min-height: 36px;
  padding: 6px;
  border-radius: 8px;
  font-size: 12px;
}

.customer-page label {
  gap: 5px;
  font-size: 12px;
}

.customer-page input[type="file"] {
  padding: 7px;
}

.customer-page .proof-signals,
.customer-page .proof-guidance {
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 11px;
}

.customer-page .verification-wheel {
  gap: 6px;
  padding: 12px;
  border-radius: 8px;
}

.customer-page .wheel-spinner {
  width: 38px;
  height: 38px;
  border-width: 4px;
}

.customer-page .verification-overlay-card .wheel-spinner {
  width: 54px;
  height: 54px;
  border-width: 5px;
}

.customer-page .timeline-panel .panel-body {
  padding: 0;
}

.customer-page .simple-result-card {
  gap: 9px;
  padding: 10px;
  border-radius: 8px;
}

.customer-page .simple-result-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 17px;
}

.customer-page .simple-result-card span {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.5;
}

.customer-page .cards-result {
  gap: 8px;
}

.customer-page .sold-card {
  gap: 5px;
  padding: 9px 10px;
  border-radius: 8px;
}

@media (max-width: 760px) {
  .customer-page .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  .customer-page .brand {
    width: auto;
    justify-content: flex-start;
    text-align: right;
  }

  .customer-page .brand-logo {
    width: 44px;
    height: 28px;
  }

  .customer-page .top-actions {
    width: auto;
  }

  .customer-layout {
    width: 100%;
    padding: 0 8px;
    margin: 8px auto 18px;
  }

  .customer-grid {
    grid-template-columns: 1fr;
  }

  .customer-page .product-cards {
    grid-template-columns: 1fr;
  }

  .customer-page .product-card {
    padding: 9px;
  }

  .customer-page .product-card-top,
  .customer-page .product-card-actions,
  .customer-page .target-line {
    flex-direction: row;
    align-items: center;
  }

  .customer-page .product-card-actions {
    justify-content: flex-start;
  }

  .customer-page:not(.checkout-mode) .customer-summary {
    display: none;
  }

  .customer-page.checkout-mode .order-workspace {
    width: 100%;
  }

  .customer-page .target-line {
    grid-template-columns: 70px minmax(0, 1fr) auto;
  }

  .customer-page .simple-pay-card .amount-line strong {
    font-size: 23px;
  }

  .customer-page .proof-method-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .customer-page .mobile-cart-bar {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 7px;
    border-radius: 8px;
  }

  .customer-page .mobile-cart-info,
  .customer-page .mobile-cart-bar .btn {
    min-height: 42px;
    border-radius: 8px;
  }
}

/* Wizard payment step: keep the next-step button inside the flow, not over content */
@media (max-width: 760px) {
  body.customer-page.checkout-mode:not(.proof-step-active) {
    --floating-proof-space: 0px;
    padding-bottom: env(safe-area-inset-bottom);
  }

  body.customer-page.checkout-mode:not(.proof-step-active) .order-workspace {
    padding-bottom: 14px;
  }

  body.customer-page.checkout-mode:not(.proof-step-active) #showProof:not([hidden]) {
    position: static;
    right: auto;
    left: auto;
    bottom: auto;
    z-index: auto;
    width: 100%;
    max-width: none;
    margin: 8px 0 0;
  }

body.customer-page.checkout-mode:not(.proof-step-active) .customer-toast {
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
}

.customer-page .payment-waiting-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(20, 184, 166, 0.32);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #ecfeff);
  box-shadow: 0 14px 34px rgba(8, 145, 178, 0.12);
}

.customer-page .waiting-status-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.customer-page .waiting-status-line strong,
.customer-page .waiting-status-line span {
  display: block;
}

.customer-page .waiting-status-line strong {
  color: #0f172a;
  font-size: 18px;
  font-weight: 950;
}

.customer-page .waiting-status-line span {
  margin-top: 4px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.customer-page .waiting-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.customer-page.payment-waiting-active .timeline-panel {
  display: block;
}

.customer-page.payment-waiting-active .proof-card,
.customer-page.payment-waiting-active .proof-method-sheet {
  display: none;
}

@media (max-width: 390px) {
  .customer-page .waiting-actions {
    grid-template-columns: 1fr;
  }
}

/* Final mobile header cleanup: keep payment actions out of the banner. */
.customer-page .payment-free-access {
  display: flex;
  margin: 4px 0 2px;
}

.customer-page .payment-free-access .free-internet-btn {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(20, 184, 166, 0.34);
  border-radius: 12px;
  background: linear-gradient(135deg, #ecfeff, #ccfbf1);
  color: #0f766e;
  font-size: 14px;
  font-weight: 950;
  box-shadow: none;
}

.customer-page .payment-free-access .free-internet-btn::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-inline-end: 7px;
  border-radius: 999px;
  background: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.customer-page .payment-free-access .free-internet-btn.loading,
.customer-page .payment-free-access .free-internet-btn.connected {
  color: #fff;
}

@media (max-width: 760px) {
  .customer-page .customer-topbar,
  .customer-page .customer-topbar:is(:where(*)),
  .customer-page .topbar.customer-topbar {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 54px;
    padding: 8px 10px !important;
  }

  .customer-page .customer-topbar .brand {
    width: auto !important;
    min-width: 0;
    gap: 8px;
  }

  .customer-page .customer-topbar .brand-logo {
    width: 38px !important;
    height: 26px !important;
  }

  .customer-page .customer-topbar .brand h1 {
    max-width: none !important;
    font-size: 17px !important;
    line-height: 1.1;
    white-space: nowrap;
  }

  .customer-page .customer-topbar .top-actions {
    display: flex !important;
    width: auto !important;
    min-width: 0;
    grid-template-columns: none !important;
    justify-self: end !important;
    justify-content: flex-end;
    gap: 6px !important;
  }

  .customer-page .customer-topbar .support-links,
  .customer-page .customer-topbar #serviceState,
  .customer-page .customer-topbar .customer-offers-button,
  .customer-page .customer-topbar .top-actions > .store-admin-link {
    display: none !important;
  }

  .customer-page .customer-topbar .customer-history-button {
    width: auto !important;
    min-width: 0;
    min-height: 32px;
    padding: 6px 10px !important;
    border-radius: 999px;
    font-size: 12px !important;
    justify-content: center;
    white-space: nowrap;
  }

  .customer-page .customer-topbar .free-internet-btn {
    display: none !important;
  }

  .customer-page .payment-free-access .free-internet-btn:not([hidden]) {
    display: inline-flex !important;
  }
}

@media (max-width: 360px) {
  .customer-page .customer-topbar .brand-logo {
    width: 34px !important;
  }

  .customer-page .customer-topbar .brand h1 {
    font-size: 16px !important;
  }
}

.customer-page .proof-reveal::after {
  content: none !important;
  display: none !important;
}

/* Final UX simplification: one primary action per step, secondary actions stay tucked away. */
.customer-page .payment-secondary-actions,
.customer-page .proof-secondary-actions {
  margin-top: 2px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 6px;
}

.customer-page .payment-secondary-actions summary,
.customer-page .proof-secondary-actions summary {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  list-style: none;
}

.customer-page .payment-secondary-actions summary::-webkit-details-marker,
.customer-page .proof-secondary-actions summary::-webkit-details-marker {
  display: none;
}

.customer-page .payment-secondary-actions summary::after,
.customer-page .proof-secondary-actions summary::after {
  content: "⌄";
  font-size: 13px;
  line-height: 1;
}

.customer-page .payment-secondary-actions[open] summary::after,
.customer-page .proof-secondary-actions[open] summary::after {
  transform: rotate(180deg);
}

.customer-page .payment-secondary-actions:not([open]) > :not(summary),
.customer-page .proof-secondary-actions:not([open]) > :not(summary) {
  display: none !important;
}

.customer-page .payment-secondary-actions .simple-payment-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 4px;
}

.customer-page .payment-secondary-actions #copyPaymentSummary,
.customer-page .payment-secondary-actions #copySupportSummary,
.customer-page .payment-secondary-actions #refreshOrder {
  display: inline-flex !important;
  justify-content: center;
}

.customer-page .payment-secondary-actions #cancelOrderCheckout:not([hidden]) {
  display: inline-flex;
  justify-content: center;
}

.customer-page .proof-secondary-actions .verification-actions {
  margin-top: 4px;
}

.customer-page .proof-secondary-actions .proof-support-link {
  display: block;
  margin-top: 8px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.customer-page .alternate-proof-trigger {
  justify-self: center;
  min-height: 34px;
  padding: 4px 10px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.customer-page .proof-card > .btn[type="submit"] {
  min-height: 52px;
  font-size: 16px;
}

.customer-page .payment-methods-title {
  margin-top: 2px;
}

.customer-page .payment-methods-title strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
  font-weight: 950;
}

.customer-page .payment-method-panel {
  display: grid;
  gap: 8px;
}

.customer-page .payment-method-choice {
  width: 100%;
  min-height: 62px;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  text-align: right;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045);
}

.customer-page .payment-method-choice strong {
  font-size: 15px;
  font-weight: 950;
}

.customer-page .payment-method-choice span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.customer-page .payment-method-choice:active {
  transform: translateY(1px);
}

.customer-page .payment-method-card {
  display: none;
}

body.customer-page.payment-method-palpay-active .payment-method-palpay .payment-method-card,
body.customer-page.payment-method-ussd-active .payment-method-ussd .payment-method-card {
  display: grid;
  gap: 8px;
}

body.customer-page.payment-method-palpay-active .payment-method-palpay > .payment-method-choice,
body.customer-page.payment-method-ussd-active .payment-method-ussd > .payment-method-choice {
  display: none;
}

body.customer-page.payment-method-selected .payment-method-choice {
  min-height: 44px;
  padding: 8px 10px;
  border-style: dashed;
  background: #f8fafc;
  box-shadow: none;
}

body.customer-page.payment-method-selected .payment-method-choice strong {
  font-size: 13px;
}

body.customer-page.payment-method-selected .payment-method-choice span {
  display: none;
}

body.customer-page:not(.payment-method-selected) #showProof {
  display: none !important;
}

body.customer-page:not(.payment-method-selected) .payment-secondary-actions {
  display: none !important;
}

/* Keep last: prominent free PalPay access button overrides compact mobile rules. */
.customer-page .customer-topbar .free-internet-btn {
  min-width: 178px;
  max-width: none;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(34, 211, 238, 0.72);
  border-radius: 16px;
  background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 48%, #0f766e 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.15;
  box-shadow: 0 16px 34px rgba(20, 184, 166, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.customer-page .customer-topbar .free-internet-btn::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-inline-end: 8px;
  border-radius: 999px;
  background: #dcfce7;
  box-shadow: 0 0 0 5px rgba(220, 252, 231, 0.18);
}

.customer-page .customer-topbar .free-internet-btn.loading {
  background: linear-gradient(135deg, #0284c7 0%, #0891b2 52%, #0f766e 100%);
}

.customer-page .customer-topbar .free-internet-btn.connected {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 55%, #0f766e 100%);
}

.customer-page .customer-topbar .free-internet-btn.connected::before,
.customer-page .customer-topbar .free-internet-btn.loading::before {
  background: #ffffff;
}

@media (max-width: 760px) {
  .customer-page .customer-topbar,
  .customer-page .customer-topbar:is(:where(*)) {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .customer-page .customer-topbar .brand {
    width: 100%;
  }

  .customer-page .customer-topbar .top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    justify-self: stretch;
  }

  .customer-page .customer-topbar .free-internet-btn {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 0 16px;
    border-radius: 18px;
    font-size: 16px;
  }

  .customer-page .customer-topbar .customer-offers-button,
  .customer-page .customer-topbar .customer-history-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .customer-page .customer-topbar .free-internet-btn {
    min-height: 54px;
    font-size: 15px;
  }
}

/* Final mobile priority for the free PalPay access button. Keep this at file end. */
.customer-page .customer-topbar .free-internet-btn {
  position: relative;
  min-width: 178px;
  max-width: none;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(34, 211, 238, 0.72);
  border-radius: 16px;
  background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 48%, #0f766e 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.15;
  box-shadow: 0 16px 34px rgba(20, 184, 166, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  isolation: isolate;
}

.customer-page .customer-topbar .free-internet-btn::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-inline-end: 8px;
  border-radius: 999px;
  background: #dcfce7;
  box-shadow: 0 0 0 5px rgba(220, 252, 231, 0.18);
}

.customer-page .customer-topbar .free-internet-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(20, 184, 166, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.customer-page .customer-topbar .free-internet-btn.loading {
  background: linear-gradient(135deg, #0284c7 0%, #0891b2 52%, #0f766e 100%);
}

.customer-page .customer-topbar .free-internet-btn.connected {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 55%, #0f766e 100%);
}

.customer-page .customer-topbar .free-internet-btn.connected::before,
.customer-page .customer-topbar .free-internet-btn.loading::before {
  background: #ffffff;
}

@media (max-width: 760px) {
  .customer-page .customer-topbar,
  .customer-page .customer-topbar:is(:where(*)) {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .customer-page .customer-topbar .brand {
    width: 100%;
  }

  .customer-page .customer-topbar .top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    justify-self: stretch;
  }

  .customer-page .customer-topbar .free-internet-btn {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 0 16px;
    border-radius: 18px;
    font-size: 16px;
  }

  .customer-page .customer-topbar .customer-offers-button,
  .customer-page .customer-topbar .customer-history-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .customer-page .customer-topbar .free-internet-btn {
    min-height: 54px;
    font-size: 15px;
  }
}

/* Prominent free PalPay access button */
.customer-page .free-internet-btn {
  position: relative;
  min-width: 178px;
  max-width: none;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(34, 211, 238, 0.72);
  border-radius: 16px;
  background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 48%, #0f766e 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.15;
  box-shadow: 0 16px 34px rgba(20, 184, 166, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  isolation: isolate;
}

.customer-page .free-internet-btn::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-inline-end: 8px;
  border-radius: 999px;
  background: #dcfce7;
  box-shadow: 0 0 0 5px rgba(220, 252, 231, 0.18);
}

.customer-page .free-internet-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(20, 184, 166, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.customer-page .free-internet-btn.loading {
  background: linear-gradient(135deg, #0284c7 0%, #0891b2 52%, #0f766e 100%);
}

.customer-page .free-internet-btn.connected {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 55%, #0f766e 100%);
}

.customer-page .free-internet-btn.connected::before,
.customer-page .free-internet-btn.loading::before {
  background: #ffffff;
}

@media (max-width: 760px) {
  .customer-page .customer-topbar,
  .customer-page .customer-topbar:is(:where(*)) {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .customer-page .customer-topbar .brand {
    width: 100%;
  }

  .customer-page .top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    justify-self: stretch;
  }

  .customer-page .free-internet-btn {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 0 16px;
    border-radius: 18px;
    font-size: 16px;
  }

  .customer-page .customer-offers-button,
  .customer-page .customer-history-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .customer-page .free-internet-btn {
    min-height: 54px;
    font-size: 15px;
  }
}

/* Interaction language: selectable cards feel pressable; information cards stay calm. */
.customer-page .product-card:not(.unavailable),
.customer-page .offer-card:not(.unavailable) {
  position: relative;
  cursor: pointer;
  border: 2px solid rgba(20, 184, 166, 0.34);
  background:
    linear-gradient(180deg, rgba(236, 253, 245, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.12);
  transform: translateZ(0);
}

.customer-page .product-card:not(.unavailable)::after,
.customer-page .offer-card:not(.unavailable)::after {
  content: "+";
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #063d3b;
  background: #c8fff7;
  border: 1px solid rgba(20, 184, 166, 0.38);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.customer-page .product-card:not(.unavailable):active,
.customer-page .offer-card:not(.unavailable):active {
  transform: scale(0.992);
}

.customer-page .product-card.selected,
.customer-page .offer-card.selected {
  border-color: #14b8a6;
  background:
    linear-gradient(180deg, rgba(204, 251, 241, 0.96), rgba(240, 253, 250, 0.98));
  box-shadow: 0 16px 28px rgba(20, 184, 166, 0.2);
}

.customer-page .product-card.selected::after,
.customer-page .offer-card.selected::after {
  content: "✓";
  color: #fff;
  background: #0f766e;
  border-color: #0f766e;
  font-size: 16px;
}

.customer-page .product-card.unavailable,
.customer-page .offer-card.unavailable {
  cursor: not-allowed;
  border-style: dashed;
  background: #f8fafc;
  box-shadow: none;
}

.customer-page .payment-amount-card,
.customer-page .palpay-wallet-card,
.customer-page .ussd-box,
.customer-page .simple-result-card,
.customer-page .success-ticket,
.customer-page .target-line:not(.amount-focus-line) {
  cursor: default;
  border-color: #e5edf0;
  background: #fff;
  box-shadow: none;
}

.customer-page .payment-amount-card {
  border-color: rgba(20, 184, 166, 0.24);
  background: #f8fffe;
}

/* Customer simplification pass: keep the next action visible, remove repeated guidance. */
.customer-page .brand p,
.customer-page #serviceState,
.customer-page #offersTabButton,
.customer-page .top-actions > .store-admin-link,
.customer-page .customer-intro > div:first-child,
.customer-page .customer-intro p,
.customer-page .customer-intro .merchant-strip > div:not(.buyer-phone-strip),
.customer-page .checkout-steps,
.customer-page #catalogHint,
.customer-page #clearCart,
.customer-page .catalog-controls,
.customer-page .catalog-guide,
.customer-page .payment-wizard-mini,
.customer-page #paymentPanelSubtitle,
.customer-page .payment-amount-card small,
.customer-page .payment-methods-title span,
.customer-page .payment-method-divider,
.customer-page .quiet-payment-line,
.customer-page .simple-payment-actions #copyPaymentSummary,
.customer-page .simple-payment-actions #copySupportSummary,
.customer-page .simple-payment-actions #refreshOrder,
.customer-page #proofSignals,
.customer-page #proofGuidance,
.customer-page .mini-order-timeline,
.customer-page #orderLivePanel,
.customer-page #orderTimeline,
.customer-page #lastRefreshLabel,
.customer-page .timeline-panel .panel-header,
.customer-page #cardsPanel .panel-header span {
  display: none !important;
}

.customer-page .customer-intro {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.customer-page .customer-intro h2 {
  font-size: 22px;
}

.customer-page .merchant-strip {
  justify-content: flex-start;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.customer-page .buyer-phone-strip {
  padding: 7px 10px !important;
  border-radius: 999px !important;
}

.customer-page .buyer-phone-strip span {
  font-size: 11px;
}

.customer-page .buyer-phone-strip strong {
  font-size: 13px;
}

.customer-page .post-phone-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: min(100%, 430px);
  margin: 8px 0 2px;
  padding: 8px 10px;
  border: 1px solid rgba(14, 116, 144, 0.16);
  border-radius: 14px;
  color: #31505d;
  background: rgba(248, 252, 253, 0.9);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.customer-page .post-phone-support[hidden] {
  display: none !important;
}

.customer-page .post-phone-support b {
  font-size: 12px;
  font-weight: 850;
  color: inherit;
}

.customer-page .post-phone-support-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(20, 184, 166, 0.45);
  border-radius: 999px;
  color: #064e5f;
  background: #e8fffb;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.customer-page .post-phone-support-button:hover {
  background: #d7fbf4;
}

.customer-page .catalog-panel .panel-body {
  padding-top: 10px;
}

.customer-page .payment-methods-title {
  margin-top: 8px;
}

.customer-page .timeline-panel {
  margin-top: 8px;
}

.customer-page.payment-step-active .timeline-panel {
  display: none;
}

.customer-page .timeline-panel .panel-body {
  padding: 10px;
}

.customer-page .proof-card {
  gap: 10px;
}

.customer-page .customer-offers-button.active,
.customer-page .catalog-mode-tabs button.active {
  background: linear-gradient(135deg, #13cbd0, #2dd4bf);
  color: #062232;
  border-color: rgba(19, 203, 208, 0.55);
  box-shadow: 0 8px 22px rgba(19, 203, 208, 0.18);
}

.customer-page .catalog-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
  padding: 5px;
  border-radius: 14px;
  background: #eef7f8;
  border: 1px solid rgba(14, 116, 144, 0.12);
}

.customer-page .catalog-mode-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #31505d;
  font-weight: 900;
  cursor: pointer;
}

.customer-page .offer-card .product-card-top {
  align-items: flex-start;
}

.customer-page .offer-card .badge.ok {
  background: #dcfce7;
  color: #166534;
}

.customer-page .offer-note {
  margin-top: -2px;
  color: #55707c;
  font-size: 13px;
  font-weight: 700;
}

.customer-page .offer-card.unavailable .offer-note {
  color: #b91c1c;
}

.customer-page .cart-item span {
  display: block;
  margin-top: 3px;
  color: #607580;
  font-size: 12px;
  line-height: 1.5;
}

.admin-dashboard .offer-admin-create {
  margin-bottom: 14px;
}

.admin-dashboard .compact-form {
  align-items: end;
}

.admin-dashboard .inline-fields {
  display: grid;
  grid-template-columns: minmax(64px, 1fr) auto minmax(64px, 1fr);
  align-items: center;
  gap: 6px;
}

.admin-dashboard .checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

/* First-run buying guide: reduce unmatched orders/transfers by forcing the right sequence. */
body.customer-page.guide-mode:not(.phone-first-mode) .customer-layout > :not(.purchase-guide) {
  display: none !important;
}

body.customer-page.phone-first-mode .customer-layout > :not(.phone-gate) {
  display: none !important;
}

body.customer-page.payment-choice-mode .customer-layout > :not(.payment-choice-gate) {
  display: none !important;
}

.payment-choice-gate {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 106px);
  padding: 18px 0 36px;
}

.payment-choice-gate[hidden] {
  display: none !important;
}

.payment-choice-card {
  width: min(540px, 100%);
  display: grid;
  gap: 16px;
  padding: 22px;
  text-align: right;
}

.payment-choice-card h2 {
  margin: 0;
}

.payment-choice-actions {
  display: grid;
  gap: 12px;
}

.payment-choice-option {
  min-height: 82px;
  display: grid;
  gap: 6px;
  align-content: center;
  border: 0;
  border-radius: 18px;
  padding: 16px 18px;
  color: #fff;
  cursor: pointer;
  text-align: right;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.payment-choice-option strong {
  font-size: 20px;
  font-weight: 950;
}

.payment-choice-option span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.payment-choice-option.jawwalpay {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
}

.payment-choice-option.palpay {
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
}

.payment-choice-option:hover,
.payment-choice-option:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.08) brightness(1.02);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.22);
}

.payment-choice-option:active {
  transform: scale(0.985);
}

/* Reason: Make the PalPay-only safety stop unmistakable while the Jawwal Pay option remains actionable. */
.payment-choice-option:disabled {
  cursor: not-allowed;
  filter: grayscale(0.55) brightness(0.78);
  opacity: 0.7;
  box-shadow: none;
}

.payment-choice-option:disabled:hover,
.payment-choice-option:disabled:focus-visible,
.payment-choice-option:disabled:active {
  transform: none;
  filter: grayscale(0.55) brightness(0.78);
}

.purchase-guide {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 106px);
  padding: 18px 0 36px;
}

.purchase-guide[hidden] {
  display: none !important;
}

.purchase-guide-card {
  width: min(560px, 100%);
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #c9f6f0;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(19, 236, 218, 0.11), rgba(59, 130, 246, 0.06)),
    #fff;
  box-shadow: var(--shadow);
}

.guide-hero {
  display: grid;
  gap: 7px;
}

.guide-hero > span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  color: #075985;
  background: #e0f7ff;
  font-size: 12px;
  font-weight: 800;
}

.guide-hero h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
}

.guide-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.guide-steps {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 11px;
  border: 1px solid #e3eeee;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.guide-steps b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #042f2e;
  background: var(--teal);
  font-size: 18px;
}

.guide-steps div {
  display: grid;
  gap: 2px;
}

.guide-steps strong {
  font-size: 16px;
}

.guide-steps span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.guide-warning {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 11px;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  color: #7c2d12;
  background: #fff7ed;
}

.guide-warning strong {
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: #ea580c;
  font-size: 12px;
}

.guide-warning span {
  font-size: 13px;
  line-height: 1.55;
}

.guide-start {
  min-height: 52px;
  border-radius: 16px;
  font-size: 18px;
  box-shadow: 0 14px 30px rgba(19, 236, 218, 0.24);
}

@media (max-width: 760px) {
  .purchase-guide {
    min-height: calc(100vh - 92px);
    padding: 10px 0 20px;
  }

  .purchase-guide-card {
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
  }

  .guide-hero h2 {
    font-size: 23px;
  }

  .guide-hero p {
    font-size: 13px;
    line-height: 1.55;
  }

  .guide-steps {
    gap: 7px;
  }

  .guide-steps li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 9px;
    border-radius: 14px;
  }

  .guide-steps b {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 16px;
  }

  .guide-steps strong {
    font-size: 15px;
  }

  .guide-steps span,
  .guide-warning span {
    font-size: 12px;
  }

  .guide-start {
    min-height: 48px;
    font-size: 17px;
  }
}

/* Final customer checkout polish */
.customer-page .payment-methods-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 0;
}

.customer-page .payment-amount-card {
  border-radius: 14px;
}

.customer-page .payment-action-hint[hidden],
.customer-page .proof-method-sheet[hidden] {
  display: none !important;
}

@media (max-width: 430px) {
  .customer-page #cardsPanel .row-actions,
  .issued-card-actions {
    grid-template-columns: 1fr;
  }

  .customer-page .payment-methods-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
}

@media (max-width: 390px) {
  .customer-page .topbar {
    grid-template-columns: 1fr;
  }

  .customer-page .top-actions {
    justify-content: flex-start;
  }

  .customer-page .product-card-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .customer-page .proof-method-tabs button {
    font-size: 11px;
  }
}

/* Polished mobile checkout layer */
.customer-page {
  --customer-primary: #13cfd1;
  --customer-primary-strong: #0891b2;
  --customer-dark: #0b2435;
  --customer-text: #102033;
  --customer-muted: #5d6b7d;
  --customer-border: #d9e6ec;
  --customer-bg: #f3f7f9;
  background: var(--customer-bg);
  color: var(--customer-text);
  font-size: 15px;
}

.customer-page .topbar {
  min-height: 54px;
  background: linear-gradient(135deg, #09182a, #0b5264);
}

.customer-page .brand h1 {
  font-size: 17px;
  font-weight: 900;
}

.customer-history-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.customer-page .panel-header h2,
.customer-page .panel-header h3 {
  font-size: 20px;
  font-weight: 900;
}

.customer-page .panel-header span,
.customer-page .target-line span,
.customer-page .simple-result-card span,
.customer-page label,
.lookup-disclosure summary {
  color: var(--customer-muted);
}

.customer-page .product-cards {
  gap: 12px;
}

.customer-page .product-card {
  gap: 12px;
  padding: 16px;
  border-color: var(--customer-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.customer-page .product-card:not(.unavailable):active {
  transform: scale(0.995);
}

.customer-page .product-card.selected {
  border-color: rgba(19, 207, 209, 0.9);
  background: #effdfc;
  box-shadow: 0 0 0 3px rgba(19, 207, 209, 0.14), 0 10px 26px rgba(15, 23, 42, 0.08);
}

.customer-page .product-card.unavailable {
  cursor: not-allowed;
  opacity: 0.6;
}

.customer-page .product-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.customer-page .product-name {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 17px;
  font-weight: 900;
}

.customer-page .selected-badge {
  color: #047857;
  background: #dcfce7;
}

.customer-page .product-price {
  color: #007f7d;
  font-size: 24px;
  font-weight: 950;
}

.customer-page .product-meta {
  gap: 7px;
  margin-top: 10px;
  color: var(--customer-muted);
  font-size: 13px;
}

.customer-page .product-meta span {
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid #e4edf2;
  border-radius: 999px;
  background: #f7fafc;
  font-weight: 800;
}

.customer-page .product-card-actions {
  justify-content: flex-start;
}

.customer-page .stepper {
  direction: ltr;
  width: 152px;
  grid-template-columns: 48px 56px 48px;
  border-color: rgba(19, 207, 209, 0.42);
  border-radius: 12px;
}

.customer-page .stepper button {
  height: 44px;
  color: #075985;
  background: #e7fbfd;
  font-size: 20px;
}

.customer-page .stepper output {
  color: #0f172a;
  font-size: 18px;
  font-weight: 950;
}

.customer-page .mobile-cart-bar {
  grid-template-columns: minmax(0, 1fr) minmax(118px, auto);
  gap: 10px;
  padding: 10px;
  border-color: rgba(19, 207, 209, 0.32);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.2);
}

.customer-page .mobile-cart-info {
  min-height: 54px;
  padding: 8px 12px;
  border-radius: 12px;
}

.customer-page .mobile-cart-info span {
  font-size: 13px;
}

.customer-page .mobile-cart-info strong {
  color: #007f7d;
  font-size: 20px;
}

.customer-page .mobile-cart-bar .btn {
  min-height: 54px;
  border-radius: 12px;
  font-size: 16px;
}

.customer-page .btn,
.customer-page .icon-btn {
  min-height: 44px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 900;
}

.customer-page input,
.customer-page select,
.customer-page textarea {
  min-height: 48px;
  border-radius: 10px;
  font-size: 15px;
}

.customer-page.checkout-mode .order-workspace {
  width: min(680px, 100%);
}

.customer-page .payment-target,
.customer-page .proof-card,
.customer-page .simple-result-card,
.customer-page #cardsPanel {
  border-radius: 14px;
}

.customer-page .simple-pay-card .target-line:first-of-type:not(.amount-focus-line) {
  display: none;
}

.payment-note-main {
  margin: 0 0 4px;
  color: var(--customer-muted);
  font-size: 14px;
  line-height: 1.7;
}

.customer-page .target-line {
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 13px;
  border: 1px solid #dcecf1;
  border-radius: 12px;
  background: #fff;
}

.customer-page .target-line span {
  grid-column: 1 / -1;
  font-size: 13px;
  font-weight: 800;
}

.customer-page .target-line strong {
  font-size: 18px;
  font-weight: 950;
}

.customer-page .simple-pay-card .amount-line strong {
  font-size: 28px;
}

.customer-page .payment-rule {
  border: 0;
  background: #eefaf9;
}

.customer-page .payment-rule span {
  color: #0f766e;
  font-size: 13px;
}

.customer-page .ussd-box {
  padding: 14px;
  border-radius: 12px;
}

.customer-page .ussd-box span {
  color: var(--customer-muted);
  font-size: 13px;
}

.customer-page .ussd-box code {
  padding: 12px;
  border-radius: 12px;
  background: #0b1324;
  font-size: 18px;
}

.customer-page .ussd-box .row-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(94px, 0.75fr);
}

.proof-reveal {
  width: 100%;
  margin-top: 2px;
}

.customer-page .proof-card {
  padding: 16px;
  border-color: var(--customer-border);
}

.customer-page .simple-proof-head strong {
  font-size: 20px;
}

.customer-page .simple-proof-head span {
  color: var(--customer-muted);
  font-size: 14px;
  line-height: 1.6;
}

.customer-page .proof-method-tabs {
  gap: 8px;
}

.customer-page .proof-method-tabs button {
  min-height: 46px;
  border-radius: 10px;
  font-size: 14px;
}

.customer-page .field-title {
  color: var(--customer-text);
  font-size: 15px;
  font-weight: 900;
}

.proof-block-reason {
  min-height: 20px;
  color: #b45309;
  font-size: 13px;
}

.customer-page .proof-guidance:not(:empty) {
  border-color: #fde68a;
  background: #fffbeb;
}

.customer-page input[type="file"] {
  padding: 10px;
  background: #fff;
}

.customer-page .receipt-preview {
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.customer-page .receipt-preview img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: #e2e8f0;
}

.mini-order-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.mini-order-timeline span {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: var(--customer-muted);
  font-size: 11px;
  text-align: center;
}

.mini-order-timeline i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-style: normal;
  font-weight: 950;
}

.mini-order-timeline .done i {
  color: #fff;
  background: #10b981;
}

.mini-order-timeline .active i {
  color: #0f172a;
  background: linear-gradient(to left, #13ecda, #60a5fa);
}

.mini-order-timeline .muted {
  opacity: 0.55;
}

.success-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  background: #f0fdf4;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: #10b981;
  font-size: 26px;
  font-weight: 950;
}

.success-card strong,
.success-card span {
  display: block;
}

.success-card strong {
  font-size: 20px;
}

.success-card span {
  margin-top: 4px;
  color: #166534;
}

.success-ticket {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-color: rgba(20, 184, 166, 0.35);
  background: linear-gradient(135deg, #ecfdf5, #ffffff);
}

.success-ticket-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.success-ticket-main strong {
  color: #0f172a;
}

.success-ticket-main span {
  color: #0f766e;
}

.success-ticket-meta {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid #d7e6e1;
  border-radius: 12px;
  background: #fff;
  font-size: 12px;
}

.success-ticket-meta span {
  margin: 0;
  color: #64748b;
  font-weight: 800;
}

.success-ticket-meta strong {
  color: #0f172a;
  font-size: 13px;
}

.credit-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(245, 158, 11, 0.38);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.credit-panel-head {
  display: grid;
  gap: 4px;
}

.credit-panel-head strong {
  color: #9a3412;
  font-size: 18px;
}

.credit-panel-head span,
.credit-note {
  margin: 0;
  color: #7c2d12;
  font-size: 13px;
  line-height: 1.6;
}

.credit-options {
  display: grid;
  gap: 8px;
}

.credit-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  text-align: right;
}

.credit-option span {
  font-weight: 950;
}

.credit-option strong {
  color: #0f766e;
  font-size: 17px;
}

.credit-option small {
  grid-column: 1 / -1;
  color: #9a3412;
  font-weight: 800;
}

.customer-page .issued-card {
  padding: 16px;
  border-radius: 14px;
}

.customer-page .ticket-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(20, 184, 166, 0.22);
  background: #fff;
}

.customer-page .ticket-card::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 5px;
  background: linear-gradient(to bottom, #13ecda, #0f766e);
}

.customer-page .issued-card-head span {
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
}

.issued-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.issued-card-grid div {
  display: grid;
  gap: 5px;
  padding: 10px;
  border-radius: 10px;
  background: #f8fafc;
}

.issued-card-grid span {
  color: var(--customer-muted);
  font-size: 12px;
  font-weight: 800;
}

.customer-page .sold-card code {
  padding: 0;
  background: transparent;
  color: #0f172a;
  font-size: 22px;
  font-weight: 950;
}

.issued-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 8px;
  align-items: center;
}

.issued-card-actions .btn,
.issued-card-actions .icon-btn {
  width: 100%;
  min-height: 42px;
  justify-content: center;
}

.use-card-btn {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  border-color: transparent;
}

.customer-toast {
  position: fixed;
  top: 64px;
  right: 50%;
  z-index: 50;
  max-width: min(92vw, 420px);
  padding: 11px 14px;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, -10px);
  transition: opacity 160ms ease, transform 160ms ease;
  font-weight: 800;
}

.customer-toast.show {
  opacity: 1;
  transform: translate(50%, 0);
}

.customer-toast.ok {
  background: #047857;
}

.customer-toast.warn {
  background: #b45309;
}

.history-sheet {
  position: fixed;
  inset: 0;
  z-index: 45;
}

.history-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
}

.history-panel {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: min(100%, 520px);
  max-height: min(80vh, 560px);
  overflow: auto;
  padding: 16px;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -20px 50px rgba(15, 23, 42, 0.22);
  transform: translateX(50%);
}

.history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.history-head h2 {
  margin: 0;
  font-size: 20px;
}

.history-list {
  display: grid;
  gap: 8px;
}

.history-item {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--customer-border);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--customer-text);
  text-align: right;
}

.history-item span {
  color: var(--customer-muted);
  font-size: 13px;
}

@media (max-width: 580px) {
  body.has-mobile-cart {
    padding-bottom: 96px;
  }

  .customer-page .panel-header {
    padding: 12px 14px;
  }

  .customer-page .panel-body {
    padding: 12px;
  }

  .customer-page .product-card {
    padding: 16px;
  }

  .customer-page .product-price {
    font-size: 23px;
  }

  .customer-page .target-line {
    grid-template-columns: 1fr auto;
  }

  .customer-page .simple-pay-card .amount-line strong {
    font-size: 27px;
  }

  .customer-page .row-actions {
    gap: 8px;
  }
}

@media (max-width: 370px) {
  .customer-page .product-card {
    padding: 14px;
  }

  .customer-page .product-name {
    font-size: 16px;
  }

  .customer-page .product-price {
    font-size: 21px;
  }

  .customer-page .stepper {
    width: 138px;
    grid-template-columns: 44px 50px 44px;
  }

  .mini-order-timeline {
    gap: 4px;
  }

  .mini-order-timeline span {
    font-size: 10px;
  }
}

/* Ultra-compact mobile catalog: fit five products in the first viewport */
@media (max-width: 760px) {
  body.customer-page.has-mobile-cart:not(.checkout-mode) {
    padding-bottom: 0;
  }

  .customer-page .topbar,
  .customer-page .topbar:is(:where(*)) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 48px;
    padding: 7px 10px;
  }

  .customer-page .brand {
    min-width: 0;
    justify-content: flex-start;
    text-align: right;
  }

  .customer-page .brand-logo {
    width: 38px;
    height: 24px;
  }

  .customer-page .brand h1 {
    font-size: 16px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .customer-page .top-actions {
    width: auto;
    justify-self: end;
    justify-content: flex-end;
  }

  .customer-page .customer-history-button {
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 9px;
    font-size: 12px;
  }

  .customer-layout {
    padding: 0 7px;
    margin-top: 7px;
  }

  .customer-page .catalog-panel .panel-header {
    align-items: center;
    min-height: 44px !important;
    padding: 8px 12px;
  }

  .customer-page .catalog-panel .panel-header h2 {
    font-size: 18px;
    line-height: 1.15;
  }

  .customer-page .catalog-panel .panel-header span {
    display: none;
  }

  .customer-page .catalog-panel .panel-body {
    padding: 8px 10px 10px;
  }

  .customer-page .product-cards {
    gap: 8px;
  }

  .customer-page .product-card {
    gap: 6px;
    min-height: 0;
    padding: 9px 10px;
    border-radius: 12px;
  }

  .customer-page .product-card-top {
    gap: 7px;
  }

  .customer-page .product-name {
    gap: 4px;
    font-size: 15px;
    line-height: 1.2;
  }

  .customer-page .product-name .badge {
    min-height: 20px;
    padding: 2px 6px;
    font-size: 10px;
  }

  .customer-page .selected-badge {
    font-size: 10px;
  }

  .customer-page .product-price {
    font-size: 20px;
    line-height: 1.1;
  }

  .customer-page .product-meta {
    gap: 4px;
    margin-top: 6px;
    font-size: 11px;
  }

  .customer-page .product-meta span {
    min-height: 22px;
    padding: 2px 7px;
  }

  .customer-page .product-card-actions {
    margin-top: -2px;
  }

  .customer-page .stepper {
    width: 120px;
    grid-template-columns: 38px 44px 38px;
    border-radius: 10px;
  }

  .customer-page .stepper button {
    height: 34px;
    font-size: 18px;
  }

  .customer-page .stepper output {
    font-size: 16px;
  }
}

@media (max-width: 370px) {
  .customer-page .product-card {
    padding: 8px 9px;
  }

  .customer-page .product-name {
    font-size: 14px;
  }

  .customer-page .product-price {
    font-size: 19px;
  }

  .customer-page .product-meta {
    gap: 3px;
  }

  .customer-page .product-meta span {
    min-height: 21px;
    padding-inline: 6px;
  }

  .customer-page .stepper {
    width: 112px;
    grid-template-columns: 36px 40px 36px;
  }
}

/* Final customer polish */
.customer-page .topbar {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.customer-page .brand {
  min-width: 0;
}

.customer-page .brand h1 {
  white-space: nowrap;
}

.customer-page .top-actions {
  min-width: 0;
}

.customer-page .free-internet-btn {
  min-width: 178px;
  max-width: none;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(34, 211, 238, 0.72);
  border-radius: 16px;
  background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 48%, #0f766e 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(20, 184, 166, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.hotspot-notice {
  width: min(1180px, calc(100% - 32px));
  margin: 10px auto -6px;
  padding: 8px 12px;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  background: #eff6ff;
  color: #075985;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.hotspot-notice.ok {
  border-color: #99f6e4;
  background: #ecfdf5;
  color: #047857;
}

.hotspot-notice.warn {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.customer-page:not(.payment-step-active) .free-internet-btn,
.customer-page:not(.payment-step-active) .hotspot-notice {
  display: none !important;
}

.customer-page .product-card {
  gap: 8px;
  padding: 12px 14px;
}

.customer-page .product-card-top {
  align-items: center;
  gap: 8px;
}

.customer-page .product-name {
  margin: 0;
  gap: 5px;
  line-height: 1.25;
}

.customer-page .product-name .badge:not(.selected-badge) {
  min-height: 20px;
  padding: 2px 7px;
  color: #0f766e;
  background: #ecfeff;
  font-size: 11px;
  font-weight: 800;
}

.customer-page .selected-badge {
  min-height: 21px;
  padding: 2px 8px;
  font-size: 11px;
}

.customer-page .product-price {
  align-self: start;
  margin-top: 1px;
  color: #047c7a;
  font-size: 23px;
  line-height: 1.05;
  white-space: nowrap;
}

.customer-page .product-meta {
  margin-top: 7px;
}

.customer-page .product-meta span {
  min-height: 24px;
  padding: 3px 8px;
  color: #526173;
  font-size: 12px;
  font-weight: 700;
}

.customer-page .product-card:not(.selected) {
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

.customer-page .product-card:not(.selected) .selected-badge {
  display: none;
}

.catalog-guide {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #d9e6ec;
  border-radius: 10px;
  background: #f8fafc;
  color: #526173;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.cancel-link-button {
  min-height: 34px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: #b91c1c;
  text-align: right;
  font-size: 13px;
  font-weight: 900;
}

.cancel-link-button:hover {
  color: #7f1d1d;
  text-decoration: underline;
}

.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.confirm-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.45);
}

.confirm-dialog {
  position: absolute;
  z-index: 1;
  right: 50%;
  top: 50%;
  width: min(calc(100% - 32px), 380px);
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.28);
  transform: translate(50%, -50%);
}

.confirm-dialog h2 {
  margin: 0 0 8px;
  font-size: 21px;
}

.confirm-dialog p {
  margin: 0;
  color: var(--customer-muted);
  line-height: 1.7;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.customer-toast {
  top: auto;
  right: 12px;
  bottom: 18px;
  max-width: min(calc(100vw - 24px), 360px);
  padding: 9px 12px;
  border-radius: 10px;
  transform: translateY(14px);
  font-size: 13px;
  line-height: 1.45;
  animation: none;
}

.customer-toast.show {
  transform: translateY(0);
  animation: customerToastIn 180ms ease-out;
}

@keyframes customerToastIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.history-item {
  gap: 8px;
  background: #fff;
}

.history-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.history-item-top strong {
  color: var(--customer-text);
  font-size: 15px;
}

.history-status {
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.history-status.ok {
  color: #047857;
  background: #dcfce7;
}

.history-status.warn {
  color: #92400e;
  background: #fef3c7;
}

.history-status.info {
  color: #075985;
  background: #e0f2fe;
}

.history-status.danger {
  color: #b91c1c;
  background: #fee2e2;
}

.history-item-meta {
  color: var(--customer-muted);
  font-size: 13px;
}

.history-item small {
  color: #94a3b8;
  font-size: 11px;
}

.customer-page #cardsPanel .row-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.customer-page #cardsPanel .row-actions .btn {
  width: 100%;
  justify-content: center;
  text-decoration: none;
  white-space: normal;
}

.customer-page #downloadPdf {
  text-decoration: none;
}

.checkout-question {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #d7e6e1;
  border-radius: 12px;
  background: #fff;
}

.checkout-question > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e0f7f5;
  color: #0f766e;
  font-weight: 950;
}

.checkout-question strong {
  display: block;
  color: var(--customer-text);
  font-size: 16px;
}

.checkout-question small {
  display: block;
  margin-top: 2px;
  color: var(--customer-muted);
  font-size: 12px;
  line-height: 1.5;
}

.payment-question {
  border-color: rgba(19, 236, 218, 0.36);
  background: #effdfa;
}

.proof-question {
  border-style: dashed;
  background: #fbfdfc;
}

.proof-active-question {
  border-color: rgba(19, 236, 218, 0.5);
  background: linear-gradient(135deg, #effdfa, #ffffff);
}

.customer-page .ussd-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 50px;
  border: 1px solid #5eead4;
  background: linear-gradient(135deg, #13ecda 0%, #22d3ee 52%, #a7f3d0 100%);
  color: #061622;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(20, 184, 166, 0.28), 0 0 0 4px rgba(19, 236, 218, 0.12);
  text-decoration: none;
}

.customer-page .ussd-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.55), transparent 58%);
  opacity: 0.7;
}

.customer-page .ussd-btn::after {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  right: -45%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: rotate(18deg);
  animation: ussdCtaSweep 2.6s ease-in-out infinite;
}

.customer-page .ussd-btn:hover,
.customer-page .ussd-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(20, 184, 166, 0.34), 0 0 0 5px rgba(19, 236, 218, 0.16);
}

.customer-page .payment-method-ussd .ghost-action {
  color: #334155;
}

@keyframes ussdCtaSweep {
  0%,
  45% {
    right: -50%;
  }
  80%,
  100% {
    right: 120%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-page .ussd-btn::after {
    animation: none;
  }
}

.customer-page .ghost-action,
.customer-page .quiet-action {
  min-height: 40px;
  border: 1px solid #d7e6e1;
  border-radius: 10px;
  background: #fff;
  color: #0f766e;
  font-weight: 900;
}

.customer-page .quiet-action {
  min-height: 34px;
  padding: 6px 8px;
  border-color: transparent;
  background: transparent;
  color: #64748b;
  font-size: 12px;
}

.customer-page .proof-reveal {
  min-height: 50px;
  font-size: 16px;
  box-shadow: 0 14px 28px rgba(20, 184, 166, 0.22);
}

.customer-page .proof-reveal span,
.customer-page .proof-reveal small {
  display: block;
  line-height: 1.35;
}

.customer-page .proof-reveal small {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.86;
}

.customer-page .proof-reveal:not(:disabled) {
  background: linear-gradient(135deg, #111827 0%, #0f766e 100%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.28);
}

.customer-page .proof-reveal:disabled {
  opacity: 0.6;
  box-shadow: none;
}

.payment-wizard-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.payment-wizard-mini span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid #d7e6e1;
  border-radius: 999px;
  color: #64748b;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.payment-wizard-mini span.done {
  color: #0f766e;
  border-color: rgba(20, 184, 166, 0.3);
  background: #ecfdf5;
}

.payment-wizard-mini span.active {
  color: #07111f;
  border-color: rgba(19, 236, 218, 0.45);
  background: #dffefa;
}

.customer-page .payment-amount-card {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
}

.customer-page .payment-amount-card span,
.customer-page .payment-amount-card small {
  grid-column: 1 / -1;
}

.customer-page .payment-amount-card strong {
  line-height: 1;
}

.payment-methods-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.payment-methods-title strong {
  color: #0f172a;
  font-size: 16px;
}

.payment-methods-title span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.payment-action-hint {
  padding: 8px 10px;
  border: 1px dashed #cfe4df;
  border-radius: 12px;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.customer-page.proof-step-active .payment-target {
  display: none;
}

.customer-page.proof-step-active .payment-layout {
  display: block;
}

.customer-page.proof-step-active .proof-card {
  border-color: rgba(19, 236, 218, 0.55);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.customer-page.proof-step-active .proof-active-question {
  opacity: 1;
}

.customer-page .proof-method-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-page .transfer-options-hint {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.customer-page .transfer-options-hint span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 8px;
  border: 1px solid #d7e6e1;
  border-radius: 12px;
  background: #fff;
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
}

.customer-page .transfer-options-hint b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e0f7f5;
  color: #0f766e;
  font-size: 12px;
}

.customer-page .palpay-wallet-card {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: linear-gradient(135deg, #5631a5 0%, #8d168d 48%, #c11173 74%, #f08a24 140%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(91, 33, 182, 0.24);
}

.customer-page .palpay-wallet-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.18), transparent 34%),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, 0.07) 14px 15px);
  pointer-events: none;
}

.customer-page .palpay-wallet-card > * {
  position: relative;
  z-index: 1;
}

.customer-page .palpay-wallet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.customer-page .palpay-wallet-head > strong {
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.customer-page .wallet-change-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 8px;
  padding: 11px 12px;
  border: 2px solid #f59e0b;
  border-inline-start-width: 5px;
  border-radius: 8px;
  background: #fef3c7;
  color: #78350f;
  box-shadow: 0 10px 24px rgba(120, 53, 15, 0.18);
  line-height: 1.45;
}

.customer-page .wallet-change-notice strong {
  flex: 0 0 auto;
  color: #78350f;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.customer-page .wallet-change-notice span {
  min-width: 0;
  color: #78350f;
  font-size: 13px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.customer-page .merchant-mode-alert {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #6d1b7b;
  box-shadow: 0 10px 20px rgba(36, 12, 58, 0.16);
}

.customer-page .merchant-mode-alert strong {
  color: #42105f;
  font-size: 15px;
  font-weight: 950;
}

.customer-page .merchant-mode-alert span {
  color: #6f2a78;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.customer-page .palpay-mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.customer-page .palpay-mark b {
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1;
}

.customer-page .palpay-logo-glyph {
  position: relative;
  display: inline-grid;
  width: 24px;
  height: 22px;
}

.customer-page .palpay-logo-glyph::before,
.customer-page .palpay-logo-glyph::after {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  transform-origin: center;
}

.customer-page .palpay-logo-glyph::before {
  top: 10px;
  right: 4px;
  width: 18px;
  transform: rotate(28deg);
}

.customer-page .palpay-logo-glyph::after {
  top: 10px;
  right: 3px;
  width: 18px;
  transform: rotate(-28deg);
}

.customer-page .palpay-logo-glyph i {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f08a24;
}

.customer-page .palpay-logo-glyph i:nth-child(1) {
  top: 0;
  right: 8px;
  background: #fff;
}

.customer-page .palpay-logo-glyph i:nth-child(2) {
  top: 7px;
  right: 0;
  background: #d11f88;
}

.customer-page .palpay-logo-glyph i:nth-child(3) {
  top: 7px;
  right: 16px;
  background: #f08a24;
}

.customer-page .palpay-logo-glyph i:nth-child(4) {
  top: 14px;
  right: 8px;
  background: #fff;
}

.customer-page .palpay-wallet-card .target-line {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 7px 10px;
  padding: 10px 12px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.customer-page .palpay-wallet-card .target-line span {
  grid-column: auto;
  color: rgba(255, 255, 255, 0.78);
}

.customer-page .palpay-wallet-card .target-line strong {
  color: #fff;
  font-weight: 950;
  text-align: right;
  direction: rtl;
}

.customer-page .palpay-wallet-card .wallet-merchant-line {
  grid-template-columns: auto minmax(0, 1fr);
}

.customer-page .palpay-wallet-card .wallet-number-line strong {
  font-size: 21px;
  direction: ltr;
  text-align: left;
}

.customer-page .palpay-wallet-card .wallet-copy {
  min-height: 36px;
  border-color: transparent;
  background: #fff;
  color: #771998;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.customer-page .simple-pay-card .amount-line {
  border-color: rgba(20, 184, 166, 0.42);
  background: linear-gradient(135deg, #ffffff, #effdfa);
  box-shadow: 0 10px 24px rgba(20, 184, 166, 0.1);
}

.customer-page .proof-question {
  border-style: solid;
  border-color: rgba(20, 184, 166, 0.38);
  background: #f0fdfa;
}

.customer-page .proof-question span {
  background: #14b8a6;
  color: #fff;
}

.customer-page .proof-reveal {
  position: relative;
  border: 0;
  background: linear-gradient(135deg, #14b8a6, #0891b2);
  color: #fff;
  box-shadow: 0 16px 32px rgba(8, 145, 178, 0.24);
  animation: next-step-focus 2.4s ease-in-out infinite;
}

.customer-page .simple-payment-actions .quiet-action,
.customer-page .simple-payment-actions .cancel-link-button {
  opacity: 0.78;
}

.customer-page.proof-step-active .timeline-panel {
  margin-top: 10px;
}

@keyframes next-step-focus {
  0%, 100% {
    box-shadow: 0 16px 32px rgba(8, 145, 178, 0.24);
  }

  50% {
    box-shadow: 0 19px 38px rgba(8, 145, 178, 0.3);
  }
}

@media (max-width: 760px) {
  .customer-page .topbar,
  .customer-page .topbar:is(:where(*)) {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .customer-page .brand h1 {
    max-width: 170px;
    overflow: visible;
    font-size: 17px;
  }

  .customer-page .brand p {
    display: none;
  }

  .customer-page .top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    justify-self: stretch;
  }

  .customer-page .top-actions .support-links,
  .customer-page .top-actions #serviceState,
  .customer-page .top-actions > .store-admin-link {
    display: none;
  }

  .customer-page .free-internet-btn {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 56px;
    padding: 0 16px;
    border-radius: 18px;
    font-size: 16px;
  }

  .hotspot-notice {
    width: calc(100% - 16px);
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 12px;
  }

  .customer-page .product-card {
    padding: 9px 10px;
  }

  .customer-page .product-name {
    font-size: 15px;
  }

  .customer-page .product-price {
    font-size: 20px;
  }

  .customer-page .product-meta span {
    min-height: 22px;
    padding: 2px 7px;
    font-size: 11px;
  }

  .catalog-guide {
    margin-top: 8px;
    padding: 9px 10px;
    font-size: 12px;
  }

  .customer-toast {
    bottom: 12px;
  }

  body.customer-page.has-mobile-cart .customer-toast {
    bottom: 86px;
  }

  .customer-page #cardsPanel .row-actions {
    grid-template-columns: 1fr;
  }

  .customer-page .proof-method-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

body.customer-page.checkout-mode:not(.proof-step-active) #showProof:not([hidden]) {
    position: fixed;
    right: 14px;
    left: 14px;
    bottom: 14px;
    z-index: 44;
    width: auto;
    max-width: 460px;
    margin-inline: auto;
  }

  body.customer-page.checkout-mode:not(.proof-step-active) .payment-target {
    padding-bottom: 78px;
  }

  body.customer-page.checkout-mode:not(.proof-step-active) .proof-question {
    display: none;
  }

  body.customer-page.checkout-mode:not(.proof-step-active) .customer-toast {
    bottom: 82px;
  }

  .customer-page .palpay-wallet-head {
    align-items: flex-start;
  }

  .customer-page .palpay-wallet-card .target-line {
    padding: 10px;
  }
}

body.customer-page.proof-step-active {
  --floating-proof-space: 0px;
  padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 390px) {
  .customer-page .topbar,
  .customer-page .topbar:is(:where(*)) {
    grid-template-columns: 1fr;
  }

  .customer-page .brand h1 {
    max-width: 164px;
  }

  .customer-page .product-card {
    padding: 8px 9px;
  }

  .customer-page .product-card-top {
    gap: 6px;
  }

  .customer-page .product-name {
    font-size: 14px;
  }

  .customer-page .product-price {
    font-size: 19px;
  }

  .customer-page .product-name .badge:not(.selected-badge),
  .customer-page .selected-badge {
    font-size: 10px;
  }

  .customer-page .palpay-wallet-card {
    padding: 10px;
  }

  .customer-page .palpay-wallet-head > strong {
    font-size: 13px;
  }

  .customer-page .palpay-wallet-card .wallet-number-line strong {
    font-size: 20px;
  }

}

@media (max-width: 360px) {
  .customer-page .brand-logo {
    width: 34px;
  }

  .customer-page .brand h1 {
    max-width: 150px;
    font-size: 16px;
  }

  .customer-page .customer-history-button {
    padding-inline: 8px;
  }

  .confirm-actions {
    grid-template-columns: 1fr;
  }
}

/* Customer checkout final polish: focused payment methods and safe fixed actions */
body.customer-page {
  --floating-proof-space: 0px;
}

.customer-page .payment-method-tabs {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.customer-page .payment-method-tabs button {
  min-height: 42px;
  border: 1px solid #d7e6e1;
  border-radius: 12px;
  background: #fff;
  color: #0f766e;
  font-weight: 950;
}

.customer-page .payment-method-tabs button.active {
  border-color: rgba(20, 184, 166, 0.55);
  background: #e0f7f5;
  color: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.2);
}

.customer-page .payment-method-panel {
  display: grid;
  gap: 9px;
}

.customer-page.payment-method-palpay-active .payment-method-palpay,
.customer-page:not(.payment-method-ussd-active) .payment-method-palpay,
.customer-page.payment-method-ussd-active .payment-method-ussd,
.customer-page .payment-method-palpay,
.customer-page .payment-method-ussd {
  display: grid;
}

.customer-page.payment-method-ussd-active .payment-method-palpay {
  display: grid;
}

.customer-page .amount-focus-line {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 16px;
  border-color: rgba(20, 184, 166, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #ecfeff 100%);
}

.customer-page .amount-focus-line span {
  grid-column: 1 / -1;
  color: #0f766e;
  font-size: 15px;
}

.customer-page .amount-focus-line strong {
  color: #062f3c;
  font-size: 36px;
  line-height: 1.05;
}

.customer-page .amount-focus-line small {
  grid-column: 1 / -1;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.customer-page .amount-focus-line .icon-btn {
  min-height: 38px;
  padding: 7px 11px;
  white-space: nowrap;
}

.payment-methods-title {
  display: grid;
  gap: 3px;
  padding: 2px 2px 0;
}

.payment-methods-title strong {
  color: #0f172a;
  font-size: 18px;
  font-weight: 950;
}

.payment-methods-title span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.customer-page .palpay-wallet-card {
  gap: 8px;
  padding: 11px;
  box-shadow: 0 10px 24px rgba(91, 33, 182, 0.2);
}

.customer-page .palpay-wallet-card .target-line {
  padding: 8px 10px;
}

.customer-page .palpay-wallet-card .wallet-merchant-line strong {
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.35;
}

.customer-page .palpay-wallet-card .wallet-number-line strong {
  font-size: 24px;
  letter-spacing: 0;
}

.customer-page .palpay-wallet-card .wallet-copy {
  min-height: 34px;
  padding: 6px 10px;
}

.palpay-app-open-row {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.customer-page .palpay-open-app {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #771998;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
}

.customer-page .palpay-open-app:hover {
  background: #ffffff;
}

.customer-page .palpay-open-app.loading {
  opacity: 0.78;
  cursor: wait;
}

.palpay-app-open-row small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.customer-page .payment-method-link {
  justify-self: start;
  min-height: 32px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: #0f766e;
  font-weight: 900;
}

.customer-page .payment-method-link:hover {
  text-decoration: underline;
}

.payment-method-divider {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 22px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.payment-method-divider::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  height: 1px;
  background: #d7e6e1;
}

.payment-method-divider span {
  position: relative;
  z-index: 1;
  padding: 2px 10px;
  border: 1px solid #d7e6e1;
  border-radius: 999px;
  background: #f8fafc;
}

.customer-page .ussd-box {
  border-color: #cbd5e1;
  background: #fff;
}

.customer-page.payment-method-ussd-active .ussd-box {
  border-color: #0f172a;
  background: #f8fafc;
}

.customer-page .payment-method-ussd {
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #fff;
}

.customer-page .payment-method-ussd .ussd-box {
  padding: 0;
  border: 0;
  background: transparent;
}

.customer-page .payment-method-ussd .ussd-box small {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.customer-page .ussd-wallet-line {
  grid-template-columns: minmax(0, 1fr) auto;
  background: #f8fafc;
}

.customer-page .ussd-wallet-line strong {
  direction: ltr;
  color: #0f766e;
  font-size: 18px;
}

.customer-page .payment-rule {
  margin-top: 0;
}

.customer-page .simple-proof-head span {
  max-width: 100%;
}

.field-help,
.alternate-proof-note {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.alternate-proof-note {
  margin: 8px 2px 10px;
}

.customer-page .alternate-proof-methods {
  border: 1px dashed #d7e6e1;
  border-radius: 12px;
  padding: 0 10px 10px;
  background: #fbfdfc;
}

.customer-page .alternate-proof-methods summary {
  padding: 10px 0;
}

.alternate-proof-trigger {
  justify-self: start;
  min-height: 34px;
  padding: 6px 2px;
  border: 0;
  background: transparent;
  color: #0f766e;
  font-size: 12px;
  font-weight: 950;
}

.proof-method-sheet {
  position: fixed;
  inset: 0;
  z-index: 1100;
}

.proof-method-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.36);
}

.proof-method-sheet-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.18);
}

.proof-method-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.proof-method-sheet-head h3 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
}

.proof-method-sheet-panel p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.proof-sheet-open {
  overflow: hidden;
}

.customer-page .proof-block-reason {
  display: block;
}

.verification-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
}

.verification-actions .quiet-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 8px;
  border: 1px solid #d7e6e1;
  border-radius: 10px;
  background: #fff;
  color: #0f766e;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.verification-actions .danger-action {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fff7f7;
}

.customer-page .mini-order-timeline span {
  min-width: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.customer-page .btn[aria-busy="true"],
.customer-page .icon-btn[aria-busy="true"],
.customer-page button[aria-busy="true"] {
  opacity: 0.72;
  cursor: wait;
}

.customer-toast {
  bottom: calc(18px + var(--floating-proof-space));
}

@media (max-width: 760px) {
  body.customer-page.has-mobile-cart:not(.checkout-mode) {
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }

  body.customer-page.checkout-mode:not(.proof-step-active) {
    --floating-proof-space: 96px;
    padding-bottom: calc(var(--floating-proof-space) + env(safe-area-inset-bottom));
  }

  body.customer-page.checkout-mode:not(.proof-step-active) .order-workspace {
    padding-bottom: calc(var(--floating-proof-space) + 14px);
  }

  body.customer-page.checkout-mode:not(.proof-step-active) .payment-target {
    padding-bottom: 12px;
  }

  body.customer-page.checkout-mode:not(.proof-step-active) #showProof:not([hidden]) {
    right: 14px;
    left: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    max-width: 460px;
  }

  body.customer-page.checkout-mode:not(.proof-step-active) .customer-toast {
    bottom: calc(16px + var(--floating-proof-space) + env(safe-area-inset-bottom));
  }

  body.customer-page.has-mobile-cart:not(.checkout-mode) .customer-toast {
    bottom: calc(98px + env(safe-area-inset-bottom));
  }

  .customer-page .payment-method-tabs button {
    min-height: 40px;
    font-size: 13px;
  }

  .customer-page .amount-focus-line {
    padding: 13px;
  }

  .customer-page .amount-focus-line strong {
    font-size: 33px;
  }

  .customer-page .palpay-wallet-card {
    padding: 10px;
  }

  .customer-page .palpay-wallet-card .wallet-number-line strong {
    font-size: 23px;
  }
}

@media (max-width: 390px) {
  .success-ticket {
    grid-template-columns: 1fr;
  }

  .success-ticket-meta {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .customer-page .amount-focus-line strong {
    font-size: 31px;
  }

  .customer-page .amount-focus-line .icon-btn,
  .customer-page .palpay-wallet-card .wallet-copy {
    padding-inline: 9px;
  }
}

@media (max-width: 360px) {
  .customer-page .amount-focus-line strong {
    font-size: 29px;
  }

  .customer-page .payment-method-tabs button {
    font-size: 12px;
  }

  .customer-page .mini-order-timeline span {
    font-size: 9.5px;
  }

  .mini-order-timeline i {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 760px) {
  body.customer-page.checkout-mode:not(.proof-step-active) {
    --floating-proof-space: 0px;
    padding-bottom: env(safe-area-inset-bottom);
  }

  body.customer-page.checkout-mode:not(.proof-step-active) .order-workspace {
    padding-bottom: 14px;
  }

  body.customer-page.checkout-mode:not(.proof-step-active) #showProof:not([hidden]) {
    position: static;
    right: auto;
    left: auto;
    bottom: auto;
    z-index: auto;
    width: 100%;
    max-width: none;
    margin: 8px 0 0;
  }

  body.customer-page.checkout-mode:not(.proof-step-active) .customer-toast {
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
}

/* SmartBox-inspired admin app polish */
.phone-info-hint {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: -2px 0 2px;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.55;
}

.phone-info-hint span {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #bfd6df;
  border-radius: 50%;
  color: #036875;
  background: #f0fbfd;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.customer-page .phone-gate-card .chrome-browser-button {
  justify-self: stretch;
  min-height: 42px;
  margin-top: 2px;
  border: 1px solid #d8e6ed;
  border-radius: 12px;
  background: #f8fbfd !important;
  color: #31505d;
  font-size: 13px;
  font-weight: 900;
  box-shadow: none;
}

.customer-page .phone-gate-card .chrome-browser-button:hover {
  filter: none;
  background: #eef7fb !important;
}

.customer-page .new-label {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 17px;
  margin-inline-start: 5px;
  padding: 1px 6px;
  border-radius: 999px;
  color: #0f172a;
  background: #fef08a;
  font-size: 10px;
  font-family: Arial, sans-serif;
  font-weight: 950;
  vertical-align: middle;
}

.customer-page .minimum-order-note {
  display: block;
  margin-top: 4px;
  color: #dc2626 !important;
  font-size: 12px !important;
  font-weight: 900;
  line-height: 1.35;
}

.customer-page .product-price,
.customer-page #totalAmount,
.customer-page #payAmount,
.customer-page .cart-item > strong,
.customer-page .mobile-cart-info strong {
  direction: ltr;
  unicode-bidi: plaintext;
  font-family: Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.customer-page .product-card-actions {
  position: relative;
  z-index: 1;
  align-items: center;
}

.customer-page .stepper {
  direction: ltr;
  overflow: hidden;
}

.customer-page .stepper button {
  display: inline-grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  text-align: center;
}

.customer-page .stepper output {
  display: inline-grid;
  place-items: center;
  min-height: 100%;
  direction: ltr;
  font-family: Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}

.customer-page .payment-cancel-button {
  width: 100%;
  min-height: 44px !important;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fff1f2;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 950;
  box-shadow: none;
}

.customer-page .payment-cancel-button:hover {
  background: #ffe4e6;
}

@media (max-width: 430px) {
  .customer-page .phone-gate-card h2 {
    font-size: 21px;
  }

  .customer-page .phone-info-hint {
    font-size: 11.5px;
  }
}

.admin-page {
  background:
    radial-gradient(circle at 14% 12%, rgba(59, 130, 246, 0.1), transparent 26%),
    radial-gradient(circle at 86% 14%, rgba(19, 236, 218, 0.1), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eef7f8 100%);
}

.admin-page .topbar {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.admin-page .panel,
.admin-page .admin-main-head,
.admin-page .table-wrap,
.admin-page .mini-panel,
.admin-page .stat-card,
.admin-page .merchant-command {
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.07);
}

.admin-page .tab-panel.active {
  animation: adminPanelIn 180ms ease both;
}

@keyframes adminPanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-toast-stack {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 130;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.admin-toast {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  max-width: min(430px, calc(100vw - 36px));
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  animation: adminToastIn 180ms ease both;
  backdrop-filter: blur(10px);
}

.admin-toast.ok {
  color: var(--teal-dark);
  border-color: #c7f5ef;
  background: #f0fffd;
}

.admin-toast.warn {
  color: #991b1b;
  border-color: #fecaca;
  background: #fff7f7;
}

.admin-toast.leaving {
  animation: adminToastOut 170ms ease both;
}

.admin-toast-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #fff;
  background: currentColor;
  font-size: 13px;
  font-weight: 950;
}

@keyframes adminToastIn {
  from { opacity: 0; transform: translateX(-16px) scale(0.98); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes adminToastOut {
  to { opacity: 0; transform: translateX(-14px) scale(0.98); }
}

.mobile-admin-nav {
  display: none;
}

@media (max-width: 980px) {
  .admin-page .shell {
    padding-bottom: 104px;
  }

  .admin-layout {
    width: calc(100% - 20px);
    margin: 14px auto 24px;
  }

  .admin-sidebar {
    display: none;
  }

  .admin-main {
    margin-right: 0;
  }

  .mobile-admin-nav {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 120;
    display: block;
    border: 1px solid rgba(217, 226, 236, 0.95);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(16px);
    padding: 8px;
  }

  .mobile-admin-nav-track {
    display: flex;
    gap: 6px;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    padding: 1px;
  }

  .mobile-admin-nav-track::-webkit-scrollbar {
    display: none;
  }

  .mobile-admin-nav button {
    min-width: 74px;
    min-height: 58px;
    display: grid;
    place-items: center;
    gap: 4px;
    flex: 0 0 auto;
    scroll-snap-align: center;
    padding: 7px 6px;
    border: 1px solid transparent;
    border-radius: 16px;
    color: #64748b;
    background: transparent;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.15;
    white-space: normal;
  }

  .mobile-admin-nav .nav-icon {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    color: #475569;
    background: #f1f5f9;
  }

  .mobile-admin-nav button.active {
    color: #075985;
    border-color: rgba(59, 130, 246, 0.24);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(19, 236, 218, 0.12));
    box-shadow: inset 0 0 0 1px rgba(19, 236, 218, 0.12);
  }

  .mobile-admin-nav button.active .nav-icon {
    color: #0f766e;
    background: rgba(19, 236, 218, 0.18);
  }
}

@media (max-width: 760px) {
  .admin-page .topbar {
    position: static;
    padding: 10px 12px 12px;
  }

  .admin-page .brand {
    justify-content: flex-start;
    text-align: right;
  }

  .admin-page .brand-logo {
    width: 58px;
    height: 36px;
  }

  .admin-page .top-actions {
    justify-content: stretch;
  }

  .admin-page .top-actions .btn,
  .admin-page .admin-identity {
    flex: 1 1 auto;
  }

  .admin-main-head {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }

  .admin-main-head h2 {
    font-size: 19px;
  }

  .tab-actions {
    grid-template-columns: 1fr;
  }

  .tab-actions .btn {
    min-height: 42px;
  }

  .filters,
  .table-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
  }

  .filters input,
  .filters select,
  .table-toolbar input,
  .table-toolbar select {
    width: 100%;
    max-width: none;
  }

  .smart-filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .smart-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .smart-filter-tabs button {
    flex: 0 0 auto;
    min-height: 36px;
    border-radius: 999px;
  }

  .admin-page .table-wrap {
    overflow: visible;
    border-radius: 18px;
    background: transparent;
  }

  .admin-page .table-pagination {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
  }

  .admin-page .table-pagination-size,
  .admin-page .table-pagination-actions {
    width: 100%;
    justify-content: space-between;
  }

  .admin-page .table-pagination-status {
    text-align: center;
  }

  .admin-page .admin-card-table,
  .admin-page .admin-card-table tbody,
  .admin-page .admin-card-table tr,
  .admin-page .admin-card-table td {
    display: block;
    width: 100%;
  }

  .admin-page .admin-card-table thead {
    display: none;
  }

  .admin-page .admin-card-table tbody {
    display: grid;
    gap: 10px;
  }

  .admin-page .admin-card-table tr {
    position: relative;
    min-width: 0;
    padding: 12px 12px 10px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    animation: adminCardIn 170ms ease both;
  }

  .admin-page .admin-card-table tr[hidden] {
    display: none;
  }

  .admin-page .admin-card-table td {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 7px 0;
    border-bottom: 1px solid #eef4f4;
    overflow-wrap: anywhere;
  }

  .admin-page .admin-card-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
  }

  .admin-page .admin-card-table td:first-child {
    padding-top: 0;
  }

  .admin-page .admin-card-table td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .admin-page .orders-table tr {
    margin-bottom: 0;
  }

  .admin-page .orders-table td:first-child {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .admin-page .orders-table td:first-child::before {
    display: block;
  }

  .admin-page .order-details {
    grid-column: 1 / -1;
    margin-top: 6px;
  }

  .admin-page .row-actions {
    gap: 7px;
  }

  .admin-page textarea {
    width: 100%;
  }

  .admin-toast-stack {
    right: 12px;
    bottom: 88px;
    left: 12px;
  }

  .admin-toast {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 390px) {
  .mobile-admin-nav button {
    min-width: 60px;
    font-size: 9.5px;
    padding-inline: 4px;
  }

  .mobile-admin-nav .nav-icon {
    width: 24px;
    height: 24px;
  }

  .admin-page .admin-card-table td {
    grid-template-columns: 78px minmax(0, 1fr);
  }
}

@keyframes adminCardIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-toast-icon {
  background: #0f766e;
}

.admin-toast.warn .admin-toast-icon {
  background: #dc2626;
}

.mobile-admin-nav[hidden] {
  display: none !important;
}

/* Vinex-inspired admin clarity pass */
.admin-page {
  --admin-bg: #f4f6f8;
  --admin-panel: #ffffff;
  --admin-panel-soft: #f8fafc;
  --admin-text: #16202a;
  --admin-muted: #647284;
  --admin-line: #e2e8f0;
  --admin-line-strong: #cbd5e1;
  --admin-accent: #0f766e;
  --admin-accent-strong: #115e59;
  --admin-blue: #2563eb;
  --admin-amber: #d97706;
  --admin-danger: #dc2626;
  --admin-ok: #16a34a;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.04);
  background: var(--admin-bg) !important;
  color: var(--admin-text);
}

.admin-page .shell {
  min-height: 100vh;
}

.admin-page .topbar {
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(260px, 460px) auto;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 72px;
  padding: 10px 24px;
  border-bottom: 1px solid var(--admin-line);
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px);
}

.admin-page .brand {
  gap: 10px;
}

.admin-page .brand-logo {
  width: 62px;
  height: 40px;
  border-radius: 6px;
  filter: none !important;
}

.admin-page .topbar .brand h1,
.admin-page .topbar .brand p,
.admin-page .topbar .admin-identity strong,
.admin-page .topbar .admin-identity span {
  color: var(--admin-text);
}

.admin-page .topbar .brand h1 {
  font-size: 17px;
  font-weight: 900;
}

.admin-page .topbar .brand p {
  color: var(--admin-muted);
  font-size: 12px;
}

.admin-command-search {
  position: relative;
  width: 100%;
}

.admin-command-search input {
  width: 100%;
  min-height: 42px;
  padding: 9px 38px 9px 12px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  color: var(--admin-text);
  background: var(--admin-panel-soft);
  font-size: 13px;
  font-weight: 800;
  outline: none;
}

.admin-command-search::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 13px;
  width: 16px;
  height: 16px;
  border: 2px solid #94a3b8;
  border-radius: 50%;
  transform: translateY(-55%);
  pointer-events: none;
}

.admin-command-search::after {
  content: "";
  position: absolute;
  top: calc(50% + 5px);
  right: 26px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: #94a3b8;
  transform: rotate(-45deg);
  pointer-events: none;
}

.admin-command-search input:focus {
  border-color: #9ccac2;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.admin-page .topbar .admin-identity {
  min-width: 138px;
  border-color: var(--admin-line);
  border-radius: 8px;
  background: var(--admin-panel-soft);
}

.admin-page .topbar .btn.secondary,
.admin-page .topbar .support-links .btn.secondary {
  color: var(--admin-text);
  border-color: var(--admin-line-strong);
  background: #fff;
}

.admin-page .topbar .btn.secondary:hover,
.admin-page .topbar .support-links .btn.secondary:hover {
  color: var(--admin-accent-strong);
  border-color: #9ccac2;
  background: #f2fbf9;
}

.admin-page .topbar .btn.danger {
  color: #fff;
  background: var(--admin-danger);
}

.admin-layout,
.admin-floating-layout {
  width: calc(100% - 32px);
  margin: 16px auto 28px;
}

.admin-dashboard:not([hidden]) {
  display: block;
}

.admin-sidebar {
  top: 88px;
  right: 16px;
  width: 276px;
  max-height: calc(100vh - 104px);
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.admin-sidebar-head {
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: var(--admin-panel-soft);
}

.admin-sidebar-head strong {
  color: var(--admin-text);
  font-size: 16px;
}

.admin-sidebar-head span,
.admin-section-eyebrow,
.admin-nav-title {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-sidebar .tabs {
  gap: 6px;
}

.admin-nav-group {
  gap: 6px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
}

.admin-nav-group.open,
.admin-nav-group.active {
  border-color: transparent;
  background: transparent;
}

.admin-nav-toggle {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #263442;
  font-size: 13px;
  font-weight: 900;
}

.admin-page .hamburger-mark {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-inline-start: auto;
  color: currentColor;
}

.admin-page .hamburger-mark i {
  display: none;
}

.admin-page .hamburger-mark::before {
  content: "";
  width: 7px;
  height: 7px;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 140ms ease;
}

.admin-page .admin-nav-group.open .hamburger-mark::before {
  transform: rotate(225deg);
}

.admin-nav-toggle:hover,
.admin-nav-group.open .admin-nav-toggle {
  border-color: var(--admin-line);
  background: var(--admin-panel-soft);
}

.admin-nav-group.active .admin-nav-toggle {
  color: #fff;
  border-color: var(--admin-accent);
  background: var(--admin-accent);
}

.admin-nav-group.active .admin-nav-title {
  color: #fff;
}

.admin-nav-group.active .admin-nav-toggle .nav-icon {
  color: var(--admin-accent-strong);
  background: #fff;
}

.admin-nav-items {
  gap: 4px;
  padding: 2px 4px 4px;
}

.nav-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: var(--admin-accent-strong);
  background: #eef8f6;
}

.nav-icon.group-icon {
  color: #475569;
  background: #eef2f7;
}

.admin-sidebar .tab {
  min-height: 35px;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.admin-sidebar .tab:hover {
  border-color: var(--admin-line);
  background: var(--admin-panel-soft);
}

.admin-sidebar .tab.active {
  color: var(--admin-accent-strong);
  border-color: #b9ddd6;
  background: #eef8f6;
  box-shadow: none;
}

.admin-sidebar .tab.active .nav-icon {
  color: var(--admin-accent-strong);
  background: #d8f1ec;
}

.admin-main {
  margin-right: 292px;
  gap: 12px;
}

.admin-main-head {
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none !important;
}

.admin-main-head h2 {
  margin-top: 1px;
  font-size: 20px;
  font-weight: 900;
}

.admin-section-hub {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
}

.admin-section-hub[hidden] {
  display: none !important;
}

.admin-section-hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-section-hub-head strong {
  display: block;
  margin-top: 2px;
  color: var(--admin-text);
  font-size: 17px;
  font-weight: 900;
}

.admin-section-count {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  color: var(--admin-muted);
  background: var(--admin-panel-soft);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-section-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
}

.admin-section-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 8px;
  min-height: 94px;
  padding: 13px 10px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  color: var(--admin-text);
  background: var(--admin-panel-soft);
  text-align: center;
  cursor: pointer;
}

.admin-section-tool:hover {
  border-color: #9ccac2;
  background: #f2fbf9;
}

.admin-section-tool.active {
  border-color: var(--admin-accent);
  background: #eef8f6;
}

.admin-section-tool strong,
.admin-section-tool small {
  display: block;
  min-width: 0;
}

.admin-section-tool strong {
  color: inherit;
  font-size: 15px;
  font-weight: 900;
}

.admin-section-tool small {
  margin-top: 2px;
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.45;
}

.admin-section-tool .nav-icon {
  width: 34px;
  height: 34px;
}

.admin-section-tool.active strong {
  color: var(--admin-accent-strong);
}

.tab-actions {
  gap: 7px;
}

.live-refresh-status {
  min-height: 32px;
  padding-inline: 10px;
  border-radius: 7px;
  background: #fff;
  font-size: 12px;
}

.admin-page .panel,
.admin-page .table-wrap,
.admin-page .mini-panel,
.admin-page .stat-card,
.admin-page .merchant-command,
.admin-page .funnel-card,
.admin-page .command-sync,
.admin-page .next-action-item,
.admin-page .detail-grid {
  border-color: var(--admin-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none !important;
}

.admin-page .panel {
  overflow: hidden;
}

.admin-page .panel-header {
  min-height: auto;
  padding: 12px 14px;
  border-bottom: 1px solid var(--admin-line);
  background: #fff !important;
}

.admin-page .panel-header h2,
.admin-page .panel-header h3 {
  color: var(--admin-text);
  font-size: 18px;
  font-weight: 900;
}

.admin-page .panel-header span {
  color: var(--admin-muted);
}

.admin-page .panel-body {
  padding: 14px;
}

.merchant-command {
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
}

.merchant-command .eyebrow {
  display: none;
}

.command-main h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
}

.command-pills {
  gap: 7px;
}

.command-sync {
  padding: 11px;
}

.operations-funnel {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.funnel-card {
  min-height: 88px;
  padding: 11px;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.funnel-card:hover {
  border-color: #9ccac2;
  background: #f8fbfb;
  transform: translateY(-1px);
}

.funnel-card strong {
  color: var(--admin-accent-strong);
  font-size: 27px;
  font-weight: 900;
}

.funnel-card.info strong {
  color: var(--admin-blue);
}

.funnel-card.ok strong {
  color: var(--admin-ok);
}

.funnel-card.warn strong {
  color: var(--admin-amber);
}

.funnel-card.danger strong {
  color: var(--admin-danger);
}

.operations-grid,
.dashboard-sections {
  gap: 12px;
  margin-bottom: 12px;
}

.mini-panel {
  padding: 13px;
}

.mini-panel h3 {
  font-size: 15px;
  font-weight: 900;
}

.home-summary-section,
.home-work-section {
  margin-bottom: 12px;
}

.home-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.home-panel-title h3 {
  margin: 0;
  font-size: 18px;
}

.home-panel-title span {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 800;
}

.home-daily-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-work-wrap {
  margin: 0;
}

.home-work-table td,
.home-work-table th {
  white-space: nowrap;
}

.home-work-table td:nth-child(3) {
  white-space: normal;
}

.admin-drilldown {
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.admin-drilldown summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--admin-text);
  cursor: pointer;
  list-style: none;
  font-weight: 900;
}

.admin-drilldown summary::-webkit-details-marker {
  display: none;
}

.admin-drilldown summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 140ms ease;
}

.admin-drilldown[open] summary::after {
  transform: rotate(225deg);
}

.admin-drilldown summary span,
.admin-drilldown summary small {
  display: block;
}

.admin-drilldown summary small {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 750;
}

.admin-drilldown-body {
  padding: 0 14px 14px;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 10px;
}

.stats-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
}

.stat-card {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  min-height: 92px;
  padding: 12px;
}

.stat-icon,
.stat-card.info .stat-icon,
.stat-card.warn .stat-icon,
.stat-card.danger .stat-icon,
.stat-card.ok .stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  color: var(--admin-accent-strong);
  background: #eef8f6;
}

.stat-card.info .stat-icon {
  color: var(--admin-blue);
  background: #eef4ff;
}

.stat-card.warn .stat-icon {
  color: var(--admin-amber);
  background: #fff7ed;
}

.stat-card.danger .stat-icon {
  color: var(--admin-danger);
  background: #fff1f2;
}

.stat-card.ok .stat-icon {
  color: var(--admin-ok);
  background: #edfdf4;
}

.stat-card strong {
  color: var(--admin-text);
  font-size: 21px;
}

.stat-card span {
  color: #263442;
  font-size: 13px;
}

.stat-card small,
.funnel-card small,
.command-sync span,
.command-sync small,
.action-list span,
.compact-list span,
.alert-list span {
  color: var(--admin-muted);
}

.badge {
  border-radius: 999px;
  color: var(--admin-accent-strong);
  background: #e9f8f5;
}

.badge.ok,
.proof-chip.ok,
.live-refresh-status.active {
  color: #166534;
  background: #ecfdf5;
}

.badge.info {
  color: #1d4ed8;
  background: #eff6ff;
}

.badge.warn,
.status.warn {
  color: #92400e;
  background: #fffbeb;
}

.badge.danger,
.status.danger {
  color: #b91c1c;
  background: #fef2f2;
}

.row-actions {
  gap: 7px;
}

.btn {
  min-height: 36px;
  border-radius: 7px;
  color: #fff;
  background: var(--admin-accent);
  box-shadow: none;
  font-weight: 850;
}

.btn:hover {
  background: var(--admin-accent-strong);
  box-shadow: none;
  transform: translateY(-1px);
}

.btn.secondary,
.icon-btn,
.stepper button {
  color: #334155;
  border: 1px solid var(--admin-line-strong);
  background: #fff;
  box-shadow: none;
}

.btn.secondary:hover,
.icon-btn:hover,
.stepper button:hover {
  color: var(--admin-accent-strong);
  border-color: #9ccac2;
  background: #f2fbf9;
}

.btn.warn {
  color: #fff;
  background: var(--admin-amber);
}

.btn.danger {
  color: #fff;
  background: var(--admin-danger);
}

.filters,
.table-toolbar {
  gap: 8px;
  margin-bottom: 12px;
}

.filters input,
.filters select,
.table-toolbar input,
.table-toolbar select,
.admin-page input,
.admin-page select,
.admin-page textarea {
  min-height: 38px;
  border: 1px solid var(--admin-line-strong);
  border-radius: 7px;
  background: #fff;
}

.admin-page input:focus,
.admin-page select:focus,
.admin-page textarea:focus {
  border-color: #8ccbc2;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.13);
}

.smart-filter-tabs {
  gap: 6px;
}

.smart-filter-tabs button,
.catalog-filter-tabs button,
.tab {
  border-radius: 7px;
}

.smart-filter-tabs button.active,
.catalog-filter-tabs button.active,
.tab.active {
  color: #fff;
  border-color: var(--admin-accent);
  background: var(--admin-accent);
  box-shadow: none;
}

.table-wrap {
  border: 1px solid var(--admin-line);
  overflow-x: auto;
}

.admin-page table {
  border-collapse: separate;
  border-spacing: 0;
}

.admin-page th {
  color: #475569;
  background: var(--admin-panel-soft);
  font-size: 12px;
}

.admin-page td,
.admin-page th {
  border-bottom-color: var(--admin-line);
}

.admin-page tbody tr:hover {
  background: #f8fbfb;
}

.table-pagination {
  border-radius: 8px;
  background: #fff;
}

.admin-toast {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.mobile-admin-nav {
  border-radius: 12px;
}

@media (max-width: 1180px) {
  .operations-funnel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-daily-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .merchant-command {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .admin-page .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .admin-command-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .admin-layout,
  .admin-floating-layout {
    width: calc(100% - 20px);
    margin-top: 14px;
  }

  .admin-sidebar {
    display: none;
  }

  .admin-main {
    margin-right: 0;
  }

  .admin-main-head {
    border-radius: 8px;
  }

  .admin-section-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-admin-nav {
    right: 10px;
    bottom: 10px;
    left: 10px;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
  }

  .mobile-admin-nav-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    overflow-x: hidden;
  }

  .mobile-admin-nav button {
    min-width: 0;
    width: 100%;
    min-height: 54px;
    padding: 6px 3px;
    border-radius: 8px;
    font-size: 10.5px;
  }

  .mobile-admin-nav button.active {
    color: #fff;
    border-color: var(--admin-accent);
    background: var(--admin-accent);
    box-shadow: none;
  }

  .mobile-admin-nav button.active .nav-icon {
    color: var(--admin-accent-strong);
    background: #fff;
  }
}

@media (max-width: 760px) {
  .admin-page .topbar {
    position: static;
    min-height: auto;
    padding: 10px 12px;
  }

  .admin-page .brand {
    min-width: 0;
  }

  .admin-page .topbar .brand h1 {
    font-size: 15px;
  }

  .admin-page .topbar .brand p {
    font-size: 11px;
  }

  .admin-page .top-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, auto));
    justify-content: stretch;
    grid-column: 1 / -1;
    order: 2;
  }

  .admin-page .top-actions .btn,
  .admin-page .topbar .admin-identity {
    min-height: 42px;
    min-width: 0;
    width: 100%;
  }

  .admin-command-search {
    order: 3;
  }

  .admin-command-search input {
    min-height: 40px;
  }

  .admin-page .brand-logo {
    width: 54px;
    height: 34px;
  }

  .admin-main-head,
  .admin-page .panel-header,
  .admin-page .panel-body {
    padding: 10px 12px;
  }

  .admin-main-head {
    min-height: auto;
    gap: 8px;
  }

  .tab-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .tab-actions .live-refresh-status {
    display: none;
  }

  .tab-actions .btn {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 12px;
  }

  .admin-section-hub {
    gap: 10px;
    padding: 12px;
  }

  .admin-section-hub-head {
    align-items: flex-start;
  }

  .admin-section-tools {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .admin-section-tool {
    grid-template-columns: 34px minmax(0, 1fr);
    justify-items: stretch;
    min-height: 62px;
    padding: 9px 10px;
    text-align: right;
  }

  .admin-section-tool .nav-icon {
    width: 30px;
    height: 30px;
  }

  .admin-section-tool small {
    margin-top: 0;
    font-size: 10.5px;
  }

  .operations-funnel,
  .operations-grid,
  .dashboard-sections,
  .stats-grid,
  .stats-grid.compact {
    grid-template-columns: 1fr;
  }

  .home-daily-grid {
    grid-template-columns: 1fr;
  }

  .home-panel-title {
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .home-panel-title h3 {
    font-size: 16px;
  }

  .home-work-table td,
  .home-work-table th {
    white-space: normal;
  }

  .admin-drilldown summary {
    align-items: flex-start;
    min-height: 44px;
    padding: 10px 12px;
  }

  .admin-drilldown-body {
    padding: 0 12px 12px;
  }

  .filters,
  .table-toolbar {
    border-radius: 8px;
    background: #fff;
  }

  .admin-page .table-wrap {
    border-radius: 8px;
  }

  .admin-page .admin-card-table tr {
    border-radius: 8px;
    box-shadow: none;
  }
}

.customer-page .product-card::after,
.customer-page .offer-card::after {
  content: none !important;
  display: none !important;
}

.customer-page .payment-method-palpay > .payment-method-choice {
  display: none !important;
}

.customer-page .payment-method-palpay .payment-method-card-palpay {
  display: grid !important;
  gap: 8px;
}

.customer-page .payment-method-ussd {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.customer-page .payment-method-ussd > .payment-method-choice {
  min-height: 28px !important;
  width: auto;
  justify-self: start;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 2px 4px !important;
  border: 0 !important;
  background: transparent !important;
  color: #0f766e !important;
  box-shadow: none !important;
  font-size: 12px;
  text-align: right;
}

.customer-page .payment-method-ussd > .payment-method-choice strong {
  font-size: 12px !important;
  font-weight: 900;
}

.customer-page .payment-method-ussd > .payment-method-choice span {
  display: inline !important;
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 700;
}

.customer-page .payment-method-ussd > .payment-method-choice::before {
  content: "↙";
  color: #0f766e;
  font-weight: 900;
}

.customer-page.payment-method-ussd-active .payment-method-ussd > .payment-method-choice {
  color: #0f172a !important;
}

.customer-page .payment-method-ussd .payment-method-card-ussd {
  margin-top: 4px;
}

.customer-page:not(.payment-method-ussd-active) .payment-method-ussd .payment-method-card-ussd {
  display: none !important;
}

/* PalPay is the only allowed checkout payment method. Keep this last to neutralize legacy panels. */
.customer-page [data-payment-method]:not([data-payment-method="palpay"]),
.customer-page [data-payment-method-switch]:not([data-payment-method-switch="palpay"]),
.customer-page .payment-method-panel:not(.payment-method-palpay),
.customer-page .payment-method-ussd,
.customer-page .ussd-box,
.customer-page .ussd-btn {
  display: none !important;
}

/* Checkout visual hierarchy polish: payment amount first, lighter framing, clearer CTAs. */
body.customer-page.checkout-mode {
  --checkout-radius: 14px;
  --checkout-ink: #0f2433;
  --checkout-muted: #617080;
  --checkout-line: rgba(15, 36, 51, 0.1);
  --checkout-soft: #f7fbfc;
  --checkout-teal: #0f9f9a;
  --checkout-teal-deep: #0b6765;
  --checkout-purple: #6d28d9;
  --checkout-purple-deep: #4c1d95;
}

body.customer-page.checkout-mode .payment-panel {
  border-color: rgba(15, 36, 51, 0.08);
  border-radius: var(--checkout-radius);
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 36, 51, 0.08);
}

body.customer-page.checkout-mode .payment-panel .panel-header {
  padding: 18px 22px 10px;
  border-bottom: 0;
}

body.customer-page.checkout-mode #paymentPanelTitle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--checkout-ink);
  font-size: 29px;
  line-height: 1.15;
}

body.customer-page.checkout-mode #paymentPanelTitle::before {
  content: "◈";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #12c7c2, #2563eb);
  font-size: 14px;
}

/* Reason: Surface the replacement reference in checkout after the summary column is hidden. */
body.customer-page.checkout-mode .payment-order-reference {
  display: inline-flex;
  margin-top: 7px;
  padding: 4px 9px;
  border: 1px solid rgba(15, 36, 51, 0.1);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  direction: ltr;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.customer-page.checkout-mode .payment-layout {
  padding: 8px 24px 26px;
}

body.customer-page.checkout-mode .payment-target.rich-payment-target.simple-pay-card {
  gap: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.customer-page.checkout-mode .payment-wizard-mini {
  margin: 0 0 -4px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.customer-page.checkout-mode .payment-wizard-mini span {
  border-radius: 999px;
}

body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "label copy"
    "amount copy";
  gap: 7px 12px;
  min-height: 132px;
  padding: 20px 22px;
  border: 0;
  border-radius: var(--checkout-radius);
  background:
    radial-gradient(circle at top left, rgba(18, 199, 194, 0.16), transparent 38%),
    linear-gradient(135deg, #f4fffd, #ffffff);
  box-shadow: 0 16px 34px rgba(15, 159, 154, 0.13);
}

body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card span {
  grid-area: label;
  color: #08766f;
  font-size: 16px;
  font-weight: 900;
}

body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card span::before {
  content: "₪";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-inline-end: 8px;
  border-radius: 50%;
  color: #fff;
  background: var(--checkout-teal);
  font-family: Arial, sans-serif;
  font-size: 15px;
}

body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card #payAmount {
  grid-area: amount;
  color: #082f38;
  font-size: clamp(48px, 13vw, 72px);
  font-weight: 950;
  line-height: 0.95;
}

body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card .icon-btn {
  grid-area: copy;
  align-self: center;
  min-height: 38px;
  padding: 7px 11px;
  border: 0;
  border-radius: 999px;
  color: #075e5c;
  background: rgba(15, 159, 154, 0.1);
  font-size: 12px;
  font-weight: 900;
  box-shadow: none;
}

body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card .icon-btn::before,
body.customer-page.checkout-mode .palpay-wallet-card .wallet-copy::before {
  content: "⧉";
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  margin-inline-end: 5px;
  border: 0;
  border-radius: 0;
  color: currentColor;
  font-size: 16px;
  line-height: 1;
}

body.customer-page.checkout-mode .payment-free-access {
  margin: -6px 0 0;
}

body.customer-page.checkout-mode .wallet-change-notice[hidden],
body.customer-page.checkout-mode .free-internet-btn[hidden] {
  display: none !important;
}

body.customer-page.checkout-mode .free-internet-btn {
  justify-content: flex-start;
  width: 100%;
  min-height: 38px;
  padding: 9px 13px;
  border: 0;
  border-radius: var(--checkout-radius);
  color: #0f766e;
  background: #ecfdf5 !important;
  box-shadow: none;
  font-size: 13px;
  font-weight: 900;
  text-align: right;
  text-decoration: none !important;
}

body.customer-page.checkout-mode .free-internet-btn:hover,
body.customer-page.checkout-mode .free-internet-btn:focus {
  color: #0f766e;
  background: #ecfdf5 !important;
  text-decoration: none !important;
  transform: none;
}

body.customer-page.checkout-mode .free-internet-btn::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: #10b981;
  font-size: 13px;
  font-weight: 950;
}

body.customer-page.checkout-mode .payment-methods-title {
  margin: -2px 0 -8px;
  color: var(--checkout-ink);
}

body.customer-page.checkout-mode .payment-methods-title strong {
  font-size: 19px;
  line-height: 1.25;
}

body.customer-page.checkout-mode .payment-method-palpay .payment-method-card-palpay {
  gap: 14px !important;
}

body.customer-page.checkout-mode .palpay-wallet-card {
  gap: 14px;
  padding: 18px;
  border: 0;
  border-radius: var(--checkout-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(135deg, #4c1d95 0%, #7e22ce 48%, #a21caf 100%);
  box-shadow: 0 18px 38px rgba(76, 29, 149, 0.24);
}

body.customer-page.checkout-mode .palpay-wallet-card::before {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.14), transparent 30%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.055) 18px 19px);
}

body.customer-page.checkout-mode .palpay-wallet-head {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

body.customer-page.checkout-mode .palpay-wallet-head > strong {
  font-size: 18px;
}

body.customer-page.checkout-mode .palpay-mark {
  min-height: 30px;
  padding: 4px 7px;
  border-radius: 10px;
}

body.customer-page.checkout-mode .merchant-mode-alert {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 5px 9px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--checkout-radius);
  color: #5b21b6;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 18px rgba(36, 12, 58, 0.12);
}

body.customer-page.checkout-mode .merchant-mode-alert::before {
  content: "!";
  grid-row: 1 / span 2;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: #7c3aed;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 950;
}

body.customer-page.checkout-mode .merchant-mode-alert strong {
  font-size: 14px;
}

body.customer-page.checkout-mode .merchant-mode-alert span {
  font-size: 12px;
  line-height: 1.35;
}

body.customer-page.checkout-mode .palpay-wallet-card .target-line {
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.customer-page.checkout-mode .palpay-wallet-card .target-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

body.customer-page.checkout-mode .palpay-wallet-card .wallet-merchant-line span::before {
  content: "●";
  color: #bfdbfe;
  font-size: 9px;
}

body.customer-page.checkout-mode .palpay-wallet-card .wallet-number-line span::before {
  content: "●";
  color: #fef08a;
  font-size: 9px;
}

body.customer-page.checkout-mode .palpay-wallet-card .wallet-merchant-line strong {
  font-size: 17px;
}

body.customer-page.checkout-mode .palpay-wallet-card .wallet-number-line {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

body.customer-page.checkout-mode .palpay-wallet-card .wallet-number-line strong {
  color: #fff;
  font-size: clamp(31px, 8.5vw, 42px);
  line-height: 1;
}

body.customer-page.checkout-mode .palpay-wallet-card .wallet-copy {
  min-height: 34px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  color: #4c1d95;
  background: #fff;
  font-size: 12px;
}

body.customer-page.checkout-mode .palpay-app-open-row {
  gap: 8px;
  margin-top: 0;
}

body.customer-page.checkout-mode .palpay-open-app {
  min-height: 50px;
  border: 0;
  border-radius: var(--checkout-radius);
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #4c1d95) !important;
  font-size: 17px;
  font-weight: 950;
  box-shadow: 0 14px 26px rgba(49, 24, 121, 0.28);
}

body.customer-page.checkout-mode .palpay-open-app::before {
  content: "◈";
  font-size: 14px;
}

body.customer-page.checkout-mode .palpay-app-open-row small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

body.customer-page.checkout-mode .payment-method-card-palpay > .quiet-payment-line {
  display: none;
}

body.customer-page.checkout-mode .payment-cancel-button {
  min-height: 46px;
  border: 1px solid rgba(220, 38, 38, 0.38);
  border-radius: var(--checkout-radius);
  color: #b91c1c;
  background: #fff;
  font-weight: 900;
  box-shadow: none;
}

body.customer-page.checkout-mode .payment-cancel-button:hover {
  border-color: rgba(220, 38, 38, 0.62);
  background: #fff7f7;
}

body.customer-page.checkout-mode #showProof.proof-reveal {
  min-height: 58px;
  border-radius: var(--checkout-radius);
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #064e3b) !important;
  font-size: 20px;
  font-weight: 950;
  box-shadow: 0 18px 32px rgba(6, 78, 59, 0.22);
}

body.customer-page.checkout-mode #showProof.proof-reveal::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #065f46;
  background: #d1fae5;
  font-size: 16px;
  font-weight: 950;
}

body.customer-page.checkout-mode .payment-secondary-actions {
  margin-top: 2px;
}

body.customer-page.checkout-mode .payment-secondary-actions summary {
  color: #64748b;
}

@media (max-width: 760px) {
  body.customer-page.checkout-mode .payment-panel .panel-header {
    padding: 16px 18px 8px;
  }

  body.customer-page.checkout-mode .payment-layout {
    padding: 6px 18px 24px;
  }

  body.customer-page.checkout-mode .payment-target.rich-payment-target.simple-pay-card {
    gap: 20px;
  }

  body.customer-page.checkout-mode #paymentPanelTitle {
    font-size: 25px;
  }

  body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card {
    min-height: 122px;
    padding: 18px;
  }

  body.customer-page.checkout-mode .palpay-wallet-card {
    padding: 16px;
  }
}

/* Unified customer storefront design system. Visual only; keeps existing DOM, APIs, and flow intact. */
body.customer-page {
  --store-radius: 14px;
  --store-radius-lg: 18px;
  --store-bg: #f2f7fa;
  --store-surface: #ffffff;
  --store-soft: #f7fbfd;
  --store-line: rgba(15, 36, 51, 0.1);
  --store-line-strong: rgba(15, 159, 154, 0.28);
  --store-ink: #0f2433;
  --store-muted: #637487;
  --store-teal: #0f9f9a;
  --store-teal-bright: #18d2cf;
  --store-blue: #2563eb;
  --store-green: #059669;
  --store-red: #dc2626;
  --store-red-soft: #fff7f7;
  --store-purple: #6d28d9;
  --store-shadow: 0 18px 42px rgba(15, 36, 51, 0.08);
  --store-shadow-soft: 0 10px 24px rgba(15, 36, 51, 0.06);
  --store-gradient: linear-gradient(135deg, #18d2cf, #2563eb);
  background:
    radial-gradient(circle at 18% 0%, rgba(24, 210, 207, 0.08), transparent 28%),
    var(--store-bg);
  color: var(--store-ink);
}

body.customer-page .customer-layout {
  width: min(1110px, calc(100% - 28px));
}

body.customer-page .panel,
body.customer-page .phone-gate-card,
body.customer-page .customer-summary,
body.customer-page .payment-choice-card,
body.customer-page .purchase-guide-card,
body.customer-page .payment-waiting-card,
body.customer-page .proof-card,
body.customer-page .simple-result-card,
body.customer-page #cardsPanel {
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius-lg);
  background: var(--store-surface);
  box-shadow: var(--store-shadow);
}

body.customer-page .panel-header {
  border-bottom-color: rgba(15, 36, 51, 0.08);
}

body.customer-page .panel-header h2,
body.customer-page .panel-header h3,
body.customer-page .phone-gate-card h2,
body.customer-page .payment-choice-card h2,
body.customer-page .simple-proof-head strong {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--store-ink);
  line-height: 1.2;
}

body.customer-page .panel-header h2::before,
body.customer-page .panel-header h3::before,
body.customer-page .phone-gate-card h2::before,
body.customer-page .payment-choice-card h2::before,
body.customer-page .simple-proof-head strong::before {
  content: "";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--store-gradient);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 950;
}

body.customer-page .phone-gate-card h2::before {
  content: "☎";
}

body.customer-page .payment-choice-card h2::before {
  content: "₪";
  background: linear-gradient(135deg, #6d28d9, #16a34a);
}

body.customer-page #catalogPanel .panel-header h2::before {
  content: "▦";
}

body.customer-page .customer-summary .panel-header h3::before {
  content: "₪";
}

body.customer-page .simple-proof-head strong::before {
  content: "✓";
  background: linear-gradient(135deg, #10b981, #0f766e);
}

body.customer-page .timeline-panel .panel-header h2::before,
body.customer-page #cardsPanel .panel-header h2::before {
  content: "◆";
}

body.customer-page input,
body.customer-page select,
body.customer-page textarea {
  min-height: 50px;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  background: #fff;
  color: var(--store-ink);
  box-shadow: inset 0 1px 0 rgba(15, 36, 51, 0.02);
}

body.customer-page input:focus,
body.customer-page select:focus,
body.customer-page textarea:focus {
  border-color: rgba(24, 210, 207, 0.75);
  box-shadow: 0 0 0 4px rgba(24, 210, 207, 0.14);
}

body.customer-page .btn {
  min-height: 48px;
  border: 0;
  border-radius: var(--store-radius);
  color: #fff;
  background: var(--store-gradient) !important;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.18);
  font-weight: 950;
}

body.customer-page .btn.secondary,
body.customer-page .quiet-action,
body.customer-page .icon-btn {
  border: 1px solid var(--store-line);
  color: #0f766e;
  background: #fff !important;
  box-shadow: none;
}

body.customer-page .btn.secondary:hover,
body.customer-page .quiet-action:hover,
body.customer-page .icon-btn:hover {
  border-color: var(--store-line-strong);
  background: #f3fffe !important;
}

body.customer-page .status,
body.customer-page .hotspot-notice,
body.customer-page .proof-guidance:not(:empty),
body.customer-page .proof-signals {
  border-radius: var(--store-radius);
  box-shadow: none;
}

body.customer-page .status.ok,
body.customer-page .hotspot-notice.ok,
body.customer-page .customer-toast.ok {
  color: #047857;
  border-color: rgba(16, 185, 129, 0.28);
  background: #ecfdf5;
}

body.customer-page .status.warn,
body.customer-page .hotspot-notice.warn,
body.customer-page .customer-toast.warn {
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.28);
  background: var(--store-red-soft);
}

body.customer-page .phone-gate {
  min-height: calc(100vh - 96px);
  padding: 24px 0 42px;
}

body.customer-page .phone-gate-card {
  width: min(460px, 100%);
  gap: 15px;
  padding: 24px;
}

body.customer-page .phone-step-pill {
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #0f766e;
  background: #e6fffb;
}

body.customer-page .phone-info-hint {
  margin: 0;
  color: var(--store-muted);
  font-size: 13px;
}

body.customer-page .phone-info-hint span {
  border: 0;
  color: #fff;
  background: var(--store-teal);
}

body.customer-page .phone-gate-card input {
  height: 58px;
  border-color: rgba(15, 159, 154, 0.28);
  border-radius: var(--store-radius);
  background: linear-gradient(135deg, #f4fffd, #fff);
  color: var(--store-ink);
  font-size: 24px;
}

body.customer-page .phone-gate-card small {
  color: var(--store-muted);
  font-weight: 800;
}

body.customer-page .chrome-browser-button {
  color: #0f766e !important;
  background: #fff !important;
  border: 1px solid var(--store-line) !important;
  box-shadow: none !important;
}

body.customer-page .payment-choice-option {
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  align-content: center;
  gap: 14px;
}

body.customer-page .payment-choice-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

body.customer-page .payment-choice-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body.customer-page .payment-choice-copy strong,
body.customer-page .payment-choice-copy span {
  display: block;
}

@media (max-width: 560px) {
  body.customer-page .payment-choice-option {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    min-height: 82px;
    padding: 14px;
  }

  body.customer-page .payment-choice-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
}

body.customer-page .customer-intro {
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--store-shadow-soft);
}

body.customer-page .merchant-strip > div {
  border-color: var(--store-line);
  border-radius: var(--store-radius);
  background: var(--store-soft);
}

body.customer-page .catalog-panel .panel-header,
body.customer-page .customer-summary .panel-header {
  padding: 18px 20px;
}

body.customer-page .catalog-mode-tabs {
  padding: 5px;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  background: var(--store-soft);
}

body.customer-page .catalog-mode-tabs button {
  border: 0;
  border-radius: calc(var(--store-radius) - 4px);
  color: var(--store-muted);
  background: transparent;
  font-weight: 900;
}

body.customer-page .catalog-mode-tabs button.active {
  color: #fff;
  background: var(--store-gradient);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.16);
}

body.customer-page .catalog-controls {
  gap: 12px;
  margin-bottom: 16px;
}

body.customer-page .catalog-filter-tabs button {
  min-height: 36px;
  border-color: var(--store-line);
  border-radius: 999px;
  color: #0f766e;
  background: #fff;
}

body.customer-page .catalog-filter-tabs button.active {
  color: #fff;
  border-color: transparent;
  background: var(--store-teal);
}

body.customer-page .products.product-cards {
  gap: 14px;
}

body.customer-page .product-card {
  position: relative;
  gap: 14px;
  min-height: 0;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  background: #fff;
  box-shadow: var(--store-shadow-soft);
}

body.customer-page .product-card::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--store-teal-bright), var(--store-blue));
  opacity: 0;
  transition: opacity 150ms ease;
}

body.customer-page .product-card.selected {
  border-color: rgba(24, 210, 207, 0.72);
  background:
    radial-gradient(circle at top left, rgba(24, 210, 207, 0.1), transparent 36%),
    #fff;
  box-shadow: 0 0 0 3px rgba(24, 210, 207, 0.12), var(--store-shadow-soft);
}

body.customer-page .product-card.selected::before {
  opacity: 1;
}

body.customer-page .product-card.special-product::before,
body.customer-page .offer-card::before {
  background: linear-gradient(to bottom, var(--store-purple), #a21caf);
}

body.customer-page .product-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

body.customer-page .product-name {
  color: var(--store-ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.25;
}

body.customer-page .product-price {
  align-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  color: #075e5c;
  background: #e6fffb;
  font-size: 22px;
  font-weight: 950;
}

body.customer-page .product-meta span {
  border-color: rgba(15, 36, 51, 0.08);
  border-radius: 999px;
  background: var(--store-soft);
}

body.customer-page .product-description,
body.customer-page .offer-note {
  color: var(--store-muted);
  font-size: 13px;
  line-height: 1.55;
}

body.customer-page .stepper {
  border-color: rgba(15, 159, 154, 0.24);
  border-radius: var(--store-radius);
  background: #fff;
}

body.customer-page .stepper button {
  color: #075e5c;
  background: #ecfffd;
}

body.customer-page .stepper output {
  color: var(--store-ink);
}

body.customer-page .customer-summary {
  overflow: hidden;
}

body.customer-page .cart-item,
body.customer-page .totals,
body.customer-page .cart-advisor,
body.customer-page .lookup-disclosure {
  border-radius: var(--store-radius);
}

body.customer-page .total-row strong,
body.customer-page #totalAmount,
body.customer-page #mobileCartTotal {
  color: #075e5c;
}

body.customer-page #totalAmount .old-pay-price,
body.customer-page #mobileCartTotal .old-pay-price {
  color: #dc2626;
}

body.customer-page #mobileCartTotal .price-compare {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
  line-height: 1.05;
}

body.customer-page #mobileCartTotal .old-pay-price {
  font-size: 14px;
}

body.customer-page #mobileCartTotal .new-pay-price {
  font-size: 24px;
}

body.customer-page #createOrder,
body.customer-page #mobileCartCheckout,
body.customer-page #submitProofButton {
  min-height: 52px;
}

body.customer-page .mobile-cart-bar {
  border-color: rgba(15, 159, 154, 0.24);
  border-radius: var(--store-radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 48px rgba(15, 36, 51, 0.2);
}

body.customer-page .proof-card {
  gap: 14px;
  padding: 18px;
}

body.customer-page .simple-proof-head {
  padding-bottom: 4px;
}

body.customer-page .proof-field.method-visible {
  gap: 8px;
}

body.customer-page .proof-field.method-visible input {
  min-height: 56px;
  border-color: rgba(15, 159, 154, 0.28);
  border-radius: var(--store-radius);
  background: linear-gradient(135deg, #f4fffd, #fff);
  font-size: 20px;
  font-weight: 900;
}

body.customer-page .alternate-proof-trigger,
body.customer-page .phone-proof-reset {
  min-height: 42px;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  color: #0f766e;
  background: #fff;
  font-weight: 900;
}

body.customer-page .proof-method-sheet-panel {
  border-radius: var(--store-radius-lg) var(--store-radius-lg) 0 0;
}

body.customer-page .proof-method-tabs button {
  border-color: var(--store-line);
  border-radius: var(--store-radius);
  background: #fff;
}

body.customer-page .proof-method-tabs button.active {
  color: #fff;
  background: var(--store-gradient);
}

body.customer-page .verification-wheel,
body.customer-page .payment-waiting-card {
  border-color: rgba(24, 210, 207, 0.28);
  background:
    radial-gradient(circle at top left, rgba(24, 210, 207, 0.11), transparent 36%),
    #f8fffe;
}

body.customer-page .payment-waiting-card .quiet-action,
body.customer-page .verification-actions .quiet-action {
  border-radius: var(--store-radius);
}

body.customer-page .danger-action,
body.customer-page #cancelOrder,
body.customer-page #cancelOrderCheckout,
body.customer-page #cancelOrderWaiting,
body.customer-page #cancelOrderProof {
  border: 1px solid rgba(220, 38, 38, 0.3) !important;
  color: #b91c1c !important;
  background: #fff !important;
}

body.customer-page .catalog-header-actions {
  justify-content: flex-start;
}

body.customer-page #backToPhoneGate {
  min-height: 36px;
  padding: 7px 10px;
  border-radius: var(--store-radius);
  font-size: 12px;
  font-weight: 950;
}

@media (max-width: 760px) {
  body.customer-page .customer-layout {
    width: min(100% - 14px, 1110px);
  }

  body.customer-page .phone-gate-card {
    padding: 20px;
  }

  body.customer-page .phone-gate-card h2 {
    font-size: 22px;
  }

  body.customer-page .catalog-panel .panel-header,
  body.customer-page .customer-summary .panel-header {
    padding: 14px 16px;
  }

  body.customer-page .catalog-panel .panel-header h2 {
    font-size: 19px;
  }

  body.customer-page .catalog-controls {
    gap: 9px;
  }

  body.customer-page .product-card {
    padding: 13px;
  }

  body.customer-page .product-price {
    font-size: 20px;
  }

  body.customer-page .proof-card {
    padding: 16px;
  }
}

/* Customer compact containment pass. Visual only; keeps DOM, APIs, and flow unchanged. */
body.customer-page {
  --store-radius: 12px;
  --store-radius-lg: 14px;
  --store-shadow: 0 10px 26px rgba(15, 36, 51, 0.07);
  --store-shadow-soft: 0 6px 16px rgba(15, 36, 51, 0.055);
  font-size: 14px;
}

body.customer-page .topbar,
body.customer-page .topbar:is(:where(*)) {
  min-height: 46px;
  padding: 8px 12px;
  gap: 8px;
}

body.customer-page .brand {
  gap: 8px;
}

body.customer-page .brand-logo {
  width: 40px;
  height: auto;
}

body.customer-page .brand h1 {
  font-size: 16px;
}

body.customer-page .top-actions {
  gap: 6px;
}

body.customer-page .top-actions .badge,
body.customer-page .customer-history-button {
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 9px;
  font-size: 12px;
}

body.customer-page .customer-layout {
  width: min(1080px, calc(100% - 20px));
  gap: 12px;
  margin: 12px auto 26px;
}

body.customer-page .panel,
body.customer-page .phone-gate-card,
body.customer-page .customer-summary,
body.customer-page .purchase-guide-card,
body.customer-page .payment-waiting-card,
body.customer-page .proof-card,
body.customer-page .simple-result-card,
body.customer-page #cardsPanel {
  border-radius: var(--store-radius-lg);
  box-shadow: var(--store-shadow);
}

body.customer-page .panel-header,
body.customer-page .catalog-panel .panel-header,
body.customer-page .customer-summary .panel-header {
  min-height: 0;
  padding: 11px 14px;
  gap: 10px;
}

body.customer-page .panel-body,
body.customer-page .catalog-panel .panel-body,
body.customer-page .timeline-panel .panel-body {
  padding: 10px 12px 12px;
}

body.customer-page .panel-header h2,
body.customer-page .panel-header h3,
body.customer-page .phone-gate-card h2,
body.customer-page .simple-proof-head strong {
  gap: 7px;
}

body.customer-page .panel-header h2,
body.customer-page .panel-header h3 {
  font-size: 17px;
}

body.customer-page .panel-header h2::before,
body.customer-page .panel-header h3::before,
body.customer-page .phone-gate-card h2::before,
body.customer-page .simple-proof-head strong::before,
body.customer-page.checkout-mode #paymentPanelTitle::before {
  width: 24px;
  height: 24px;
  font-size: 12px;
}

body.customer-page input,
body.customer-page select,
body.customer-page textarea {
  min-height: 44px;
  padding-block: 7px;
  border-radius: var(--store-radius);
  font-size: 14px;
}

body.customer-page .btn,
body.customer-page .icon-btn,
body.customer-page .quiet-action {
  min-height: 40px;
  border-radius: var(--store-radius);
  font-size: 14px;
}

body.customer-page .btn.small,
body.customer-page .icon-btn.small,
body.customer-page .quiet-action.mini {
  min-height: 32px;
  padding: 5px 9px;
  font-size: 12px;
}

body.customer-page.phone-first-mode .customer-layout {
  width: min(430px, calc(100% - 18px));
  margin-top: 8px;
}

body.customer-page .phone-gate {
  place-items: start center;
  min-height: calc(100vh - 74px);
  padding: 10px 0 18px;
}

body.customer-page .phone-gate-card {
  width: min(420px, 100%);
  gap: 10px;
  padding: 16px;
}

body.customer-page .phone-step-pill {
  min-height: 24px;
  padding: 3px 9px;
  font-size: 11px;
}

body.customer-page .phone-gate-card h2 {
  font-size: 20px;
  line-height: 1.22;
}

body.customer-page .phone-info-hint {
  gap: 6px;
  font-size: 12px;
  line-height: 1.42;
}

body.customer-page .phone-info-hint span {
  width: 16px;
  height: 16px;
  font-size: 10px;
}

body.customer-page .phone-gate-card label {
  gap: 6px;
}

body.customer-page .phone-gate-card input {
  height: 48px;
  min-height: 48px;
  font-size: 20px;
}

body.customer-page .phone-gate-card #confirmBuyerPhone {
  min-height: 44px;
}

body.customer-page .phone-gate-card small {
  font-size: 12px;
}

body.customer-page .phone-gate-card .chrome-browser-button {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 12px;
}

body.customer-page .customer-intro {
  margin: 0;
}

body.customer-page .buyer-phone-strip {
  min-height: 32px;
  padding: 5px 9px !important;
}

body.customer-page .buyer-phone-strip span {
  font-size: 10px;
}

body.customer-page .buyer-phone-strip strong {
  font-size: 12px;
}

body.customer-page .merchant-strip .buyer-phone-strip .mini {
  inset-inline-start: 6px;
  inset-block-start: 5px;
  min-height: 24px;
  padding: 2px 7px;
  font-size: 11px;
}

body.customer-page .catalog-panel .panel-header h2 {
  font-size: 17px;
}

body.customer-page .minimum-order-note,
body.customer-page .post-phone-support,
body.customer-page .panel-header span,
body.customer-page .order-id-line,
body.customer-page #orderDeadline {
  font-size: 11px;
  line-height: 1.35;
}

body.customer-page .post-phone-support {
  justify-content: flex-start;
  width: auto;
  max-width: none;
  min-height: 28px;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.customer-page .post-phone-support b {
  display: none;
}

body.customer-page .post-phone-support-button {
  min-height: 28px;
  padding-inline: 10px;
  font-size: 11px;
}

body.customer-page .catalog-mode-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 8px;
  padding: 4px;
  border-radius: var(--store-radius);
}

body.customer-page .catalog-mode-tabs button {
  min-height: 36px;
  padding: 6px 7px;
  border-radius: 9px;
  font-size: 13px;
  white-space: nowrap;
}

body.customer-page .products.product-cards,
body.customer-page .product-cards {
  gap: 8px;
}

body.customer-page .product-card {
  gap: 7px;
  padding: 10px 12px;
  border-radius: var(--store-radius);
}

body.customer-page .product-card::before {
  width: 4px;
}

body.customer-page .product-card.selected {
  box-shadow: 0 0 0 2px rgba(24, 210, 207, 0.12), var(--store-shadow-soft);
}

body.customer-page .product-card-top {
  align-items: center;
  gap: 8px;
}

body.customer-page .product-name {
  gap: 4px;
  font-size: 15px;
  line-height: 1.18;
}

body.customer-page .product-name .badge:not(.selected-badge),
body.customer-page .selected-badge,
body.customer-page .new-label {
  min-height: 18px;
  padding: 1px 6px;
  font-size: 10px;
}

body.customer-page .product-price {
  padding: 4px 8px;
  font-size: 18px;
  line-height: 1.05;
}

body.customer-page .product-meta {
  gap: 4px;
  margin-top: 4px;
}

body.customer-page .product-meta span {
  min-height: 20px;
  padding: 2px 6px;
  font-size: 11px;
  line-height: 1.2;
}

body.customer-page .product-description,
body.customer-page .offer-note {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--store-muted);
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.customer-page .product-card-actions {
  margin-top: -1px;
}

body.customer-page .stepper {
  width: 112px;
  grid-template-columns: 36px 40px 36px;
  border-radius: 10px;
}

body.customer-page .stepper button {
  height: 32px;
  min-height: 32px;
  font-size: 17px;
}

body.customer-page .stepper output {
  font-size: 15px;
}

body.customer-page #createOrder,
body.customer-page #mobileCartCheckout,
body.customer-page #submitProofButton {
  min-height: 44px;
}

body.customer-page .mobile-cart-bar {
  gap: 7px;
  padding: 7px;
  border-radius: var(--store-radius-lg);
}

body.customer-page .mobile-cart-info {
  min-height: 42px;
  padding: 6px 10px;
  border-radius: var(--store-radius);
}

body.customer-page .mobile-cart-info span {
  font-size: 11px;
}

body.customer-page .mobile-cart-info strong,
body.customer-page #mobileCartTotal {
  font-size: 17px;
}

body.customer-page .mobile-cart-bar .btn {
  min-height: 42px;
  min-width: 104px;
  padding: 7px 10px;
}

body.customer-page.checkout-mode .order-workspace {
  width: min(620px, 100%);
}

body.customer-page.checkout-mode .payment-panel .panel-header {
  padding: 12px 15px 6px;
}

body.customer-page.checkout-mode #paymentPanelTitle {
  gap: 8px;
  font-size: 22px;
}

body.customer-page.checkout-mode .payment-layout {
  padding: 4px 14px 16px;
}

body.customer-page.checkout-mode .payment-target.rich-payment-target.simple-pay-card {
  gap: 12px;
}

body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card {
  min-height: 96px;
  padding: 13px 14px;
  gap: 4px 10px;
}

body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card span {
  font-size: 13px;
}

body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card span::before {
  width: 22px;
  height: 22px;
  margin-inline-end: 6px;
  font-size: 12px;
}

body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card #payAmount {
  font-size: clamp(38px, 10.5vw, 50px);
}

body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card .icon-btn {
  min-height: 32px;
  padding: 5px 9px;
  font-size: 11px;
}

body.customer-page.checkout-mode .payment-free-access {
  margin-top: -3px;
}

body.customer-page.checkout-mode .free-internet-btn,
body.customer-page .payment-free-access .free-internet-btn {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: var(--store-radius);
  font-size: 12px;
}

body.customer-page.checkout-mode .free-internet-btn::before {
  width: 19px;
  height: 19px;
  font-size: 11px;
}

body.customer-page.checkout-mode .payment-methods-title {
  margin: -1px 0 -5px;
}

body.customer-page.checkout-mode .payment-methods-title strong,
body.customer-page .payment-methods-title strong {
  font-size: 15px;
}

body.customer-page.checkout-mode .payment-method-palpay .payment-method-card-palpay {
  gap: 9px !important;
}

body.customer-page.checkout-mode .palpay-wallet-card {
  gap: 9px;
  padding: 12px;
  border-radius: var(--store-radius);
  box-shadow: 0 12px 26px rgba(76, 29, 149, 0.2);
}

body.customer-page.checkout-mode .palpay-wallet-head {
  padding-bottom: 6px;
}

body.customer-page.checkout-mode .palpay-wallet-head > strong {
  font-size: 15px;
}

body.customer-page.checkout-mode .palpay-mark {
  min-height: 26px;
  padding: 3px 6px;
}

body.customer-page.checkout-mode .palpay-logo-glyph {
  width: 20px;
  height: 18px;
}

body.customer-page.checkout-mode .palpay-logo-glyph i {
  width: 7px;
  height: 7px;
}

body.customer-page.checkout-mode .merchant-mode-alert {
  gap: 4px 7px;
  padding: 7px 9px;
  border-radius: var(--store-radius);
}

body.customer-page.checkout-mode .merchant-mode-alert::before {
  width: 22px;
  height: 22px;
  font-size: 13px;
}

body.customer-page.checkout-mode .merchant-mode-alert strong {
  font-size: 12px;
}

body.customer-page.checkout-mode .merchant-mode-alert span {
  font-size: 11px;
}

body.customer-page.checkout-mode .palpay-wallet-card .target-line {
  padding: 0 0 9px;
}

body.customer-page.checkout-mode .palpay-wallet-card .target-line span {
  font-size: 11px;
}

body.customer-page.checkout-mode .palpay-wallet-card .wallet-merchant-line strong {
  font-size: 14px;
  line-height: 1.25;
}

body.customer-page.checkout-mode .palpay-wallet-card .wallet-number-line strong {
  font-size: clamp(25px, 7vw, 32px);
}

body.customer-page.checkout-mode .palpay-wallet-card .wallet-copy {
  min-height: 30px;
  padding: 4px 8px;
  font-size: 11px;
}

body.customer-page.checkout-mode .palpay-open-app {
  min-height: 42px;
  border-radius: var(--store-radius);
  font-size: 15px;
}

body.customer-page.checkout-mode .palpay-app-open-row {
  gap: 5px;
}

body.customer-page.checkout-mode .palpay-app-open-row small {
  font-size: 11px;
  line-height: 1.32;
}

body.customer-page.checkout-mode .payment-cancel-button {
  min-height: 38px;
  border-radius: var(--store-radius);
  font-size: 13px;
}

body.customer-page.checkout-mode #showProof.proof-reveal {
  min-height: 48px;
  border-radius: var(--store-radius);
  font-size: 17px;
}

body.customer-page.checkout-mode #showProof.proof-reveal::before {
  width: 22px;
  height: 22px;
  font-size: 13px;
}

body.customer-page.checkout-mode .payment-secondary-actions summary,
body.customer-page .proof-secondary-actions summary {
  min-height: 30px;
  font-size: 12px;
}

body.customer-page .payment-waiting-card {
  gap: 10px;
  padding: 12px;
}

body.customer-page .waiting-status-line {
  gap: 9px;
}

body.customer-page .waiting-status-line strong {
  font-size: 16px;
}

body.customer-page .waiting-status-line span {
  margin-top: 2px;
  font-size: 12px;
}

body.customer-page .waiting-actions {
  gap: 6px;
}

body.customer-page .proof-card {
  gap: 9px;
  padding: 12px;
}

body.customer-page .simple-proof-head {
  padding-bottom: 0;
}

body.customer-page .simple-proof-head strong {
  font-size: 18px;
}

body.customer-page .proof-field.method-visible {
  gap: 6px;
}

body.customer-page .field-title {
  font-size: 13px;
}

body.customer-page .proof-field.method-visible input {
  min-height: 46px;
  font-size: 17px;
}

body.customer-page .alternate-proof-trigger,
body.customer-page .phone-proof-reset {
  min-height: 34px;
  padding: 5px 9px;
  font-size: 12px;
}

body.customer-page .verification-wheel {
  gap: 6px;
  padding: 10px;
  border-radius: var(--store-radius);
}

body.customer-page .verification-wheel strong {
  font-size: 14px;
}

body.customer-page .verification-wheel span {
  font-size: 11px;
}

body.customer-page .proof-card > .btn[type="submit"],
body.customer-page #submitProofButton {
  min-height: 44px;
  font-size: 15px;
}

@media (max-width: 760px) {
  body.customer-page .customer-layout {
    width: min(100% - 12px, 1080px);
    gap: 10px;
    margin-top: 8px;
  }

  body.customer-page .topbar,
  body.customer-page .topbar:is(:where(*)) {
    min-height: 44px;
    padding: 7px 10px;
  }

  body.customer-page .brand-logo {
    width: 36px;
  }

  body.customer-page .brand h1 {
    font-size: 15px;
  }

  body.customer-page .phone-gate-card {
    padding: 14px;
  }

  body.customer-page .phone-gate-card h2 {
    font-size: 19px;
  }

  body.customer-page .catalog-panel .panel-header,
  body.customer-page .customer-summary .panel-header {
    padding: 9px 11px;
  }

  body.customer-page .catalog-panel .panel-body {
    padding: 8px 9px 9px;
  }

  body.customer-page .catalog-mode-tabs {
    margin-bottom: 7px;
  }

  body.customer-page .catalog-mode-tabs button {
    min-height: 34px;
    padding-inline: 5px;
    font-size: 11.5px;
  }

  body.customer-page .products.product-cards,
  body.customer-page .product-cards {
    gap: 7px;
  }

  body.customer-page .product-card {
    gap: 6px;
    padding: 8px 9px;
  }

  body.customer-page .product-name {
    font-size: 14px;
  }

  body.customer-page .product-price {
    font-size: 17px;
  }

  body.customer-page .product-description,
  body.customer-page .offer-note {
    -webkit-line-clamp: 1;
    font-size: 11px;
  }

  body.customer-page .product-meta {
    gap: 3px;
    margin-top: 3px;
  }

  body.customer-page .product-meta span {
    min-height: 19px;
    padding: 1px 6px;
    font-size: 10.5px;
  }

  body.customer-page .stepper {
    width: 106px;
    grid-template-columns: 34px 38px 34px;
  }

  body.customer-page .stepper button {
    height: 30px;
    min-height: 30px;
    font-size: 16px;
  }

  body.customer-page .stepper output {
    font-size: 14px;
  }

  body.customer-page .mobile-cart-bar {
    right: 8px;
    bottom: 8px;
    left: 8px;
    grid-template-columns: minmax(0, 1fr) minmax(96px, auto);
  }

  body.customer-page.checkout-mode .payment-panel .panel-header {
    padding: 10px 12px 4px;
  }

  body.customer-page.checkout-mode .payment-layout {
    padding: 3px 11px 13px;
  }

  body.customer-page.checkout-mode .payment-target.rich-payment-target.simple-pay-card {
    gap: 10px;
  }

  body.customer-page.checkout-mode #paymentPanelTitle {
    font-size: 21px;
  }

  body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card {
    min-height: 88px;
    padding: 11px 12px;
  }

  body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card #payAmount {
    font-size: clamp(34px, 10vw, 44px);
  }

  body.customer-page.checkout-mode .palpay-wallet-card {
    gap: 8px;
    padding: 10px;
  }

  body.customer-page.checkout-mode .palpay-open-app,
  body.customer-page.checkout-mode #showProof.proof-reveal {
    min-height: 44px;
  }

  body.customer-page .proof-card {
    padding: 10px;
  }
}

@media (max-width: 390px) {
  body.customer-page .customer-layout {
    width: min(100% - 10px, 1080px);
  }

  body.customer-page .product-card {
    padding: 7px 8px;
  }

  body.customer-page .product-card-top {
    gap: 6px;
  }

  body.customer-page .product-name {
    font-size: 13.5px;
  }

  body.customer-page .product-price {
    font-size: 16px;
  }

  body.customer-page.checkout-mode .palpay-wallet-card .wallet-number-line strong {
    font-size: 24px;
  }

  body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "label"
      "amount"
      "copy";
  }

  body.customer-page.checkout-mode .simple-pay-card .amount-line.payment-amount-card .icon-btn {
    justify-self: start;
  }
}

.redeem-notice,
.discount-row,
.subtotal-row {
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(24, 210, 207, 0.1), rgba(37, 99, 235, 0.06));
}

.redeem-notice {
  padding: 10px 12px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.discount-row strong {
  color: #0f766e;
}

/* Vinex admin density pass: keep every tool, make section switching feel like a compact work console. */
.admin-page .topbar {
  min-height: 58px;
  padding: 7px 18px;
  gap: 12px;
}

.admin-page .brand-logo {
  width: 52px;
  height: 34px;
}

.admin-page .topbar .brand h1 {
  font-size: 16px;
}

.admin-page .topbar .brand p {
  font-size: 11px;
}

.admin-command-search input {
  min-height: 36px;
  padding-block: 7px;
}

.admin-page .topbar .btn,
.admin-page .topbar .admin-identity {
  min-height: 36px;
}

.admin-layout,
.admin-floating-layout {
  width: calc(100% - 24px);
  margin: 10px auto 24px;
}

.admin-sidebar {
  top: 70px;
  right: 12px;
  width: 260px;
  max-height: calc(100vh - 82px);
}

.admin-main {
  margin-right: 276px;
  gap: 10px;
}

.admin-main-head {
  min-height: 48px;
  padding: 8px 12px;
}

.admin-main-head h2 {
  font-size: 18px;
}

.admin-section-hub {
  grid-template-columns: minmax(210px, 0.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
}

.admin-section-hub-head {
  min-width: 0;
}

.admin-section-hub-head strong {
  display: -webkit-box;
  margin-top: 1px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.admin-section-count {
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 7px;
  font-size: 11px;
}

.admin-section-tools {
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding-block: 1px;
}

.admin-section-tool {
  grid-template-columns: 26px minmax(0, 1fr);
  justify-items: stretch;
  flex: 0 0 150px;
  min-height: 44px;
  padding: 7px 8px;
  text-align: right;
}

.admin-section-tool .nav-icon {
  width: 26px;
  height: 26px;
}

.admin-section-tool strong {
  font-size: 13px;
  line-height: 1.25;
}

.admin-section-tool small {
  display: none;
}

.admin-page .panel-header {
  padding: 10px 12px;
}

.admin-page .panel-body {
  padding: 12px;
}

.merchant-command,
.mini-panel,
.stat-card,
.funnel-card {
  padding: 10px;
}

.operations-funnel,
.home-daily-grid {
  gap: 8px;
}

.stat-card {
  min-height: 78px;
}

@media (max-width: 980px) {
  .admin-page .topbar {
    min-height: auto;
    gap: 8px;
    padding: 8px 10px;
  }

  .admin-layout,
  .admin-floating-layout {
    width: calc(100% - 16px);
    margin-top: 8px;
  }

  .admin-main {
    margin-right: 0;
    gap: 8px;
  }

  .admin-section-hub {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .admin-section-tools {
    padding-bottom: 3px;
  }

  .admin-section-tool {
    flex-basis: 142px;
  }
}

@media (max-width: 760px) {
  .admin-page .topbar {
    grid-template-columns: 1fr;
  }

  .admin-page .brand {
    justify-content: center;
  }

  .admin-page .brand-logo {
    width: 42px;
    height: 28px;
  }

  .admin-page .topbar .brand h1 {
    font-size: 14px;
  }

  .admin-page .topbar .brand p {
    display: none;
  }

  .admin-page .top-actions {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    order: 2;
  }

  .admin-page .top-actions .btn,
  .admin-page .topbar .admin-identity {
    min-height: 34px;
    padding: 5px 7px;
    font-size: 12px;
  }

  .admin-command-search {
    order: 3;
  }

  .admin-command-search input {
    min-height: 36px;
  }

  .admin-main-head {
    padding: 8px 10px;
  }

  .admin-main-head h2 {
    font-size: 17px;
  }

  .admin-section-hub {
    padding: 8px;
  }

  .admin-section-hub-head {
    align-items: center;
  }

  .admin-section-hub-head strong {
    font-size: 13px;
    -webkit-line-clamp: 1;
  }

  .admin-section-count {
    min-height: 22px;
    font-size: 10.5px;
  }

  .admin-section-tools {
    display: flex;
    gap: 6px;
    overflow-x: auto;
  }

  .admin-section-tool {
    flex: 0 0 132px;
    grid-template-columns: 24px minmax(0, 1fr);
    min-height: 42px;
    padding: 7px;
  }

  .admin-section-tool .nav-icon {
    width: 24px;
    height: 24px;
  }

  .admin-section-tool strong {
    font-size: 12px;
  }

  .admin-page .panel-header,
  .admin-page .panel-body {
    padding: 9px 10px;
  }

  .mobile-admin-nav {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 6px;
  }

  .mobile-admin-nav button {
    min-height: 48px;
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .admin-section-tool {
    flex-basis: 124px;
  }
}

/* Vinex admin shell pass: desktop structure, sidebar ownership, and clearer workspace surfaces. */
.admin-sidebar-logo {
  display: none;
}

.admin-sidebar-identity {
  display: none;
}

.admin-page .topbar-icon-action {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.admin-page .top-action-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: currentColor;
  flex: 0 0 auto;
}

.admin-page .top-action-icon svg {
  width: 18px;
  height: 18px;
}

.admin-page .admin-scope-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid #bcd6ff;
  border-radius: 999px;
  color: #0a63ff;
  background: #edf5ff;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-page .topbar-refresh-actions {
  margin: 0;
  gap: 5px;
}

.admin-page .topbar-refresh-actions .btn,
.admin-page .topbar-refresh-actions .live-refresh-status {
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.2;
}

.admin-scope-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d8e1ef;
  border-radius: 8px;
  background: #fff;
}

.admin-scope-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0aa8ef 0%, #03a999 100%);
  box-shadow: 0 8px 18px rgba(3, 169, 244, 0.2);
}

.admin-scope-icon::before,
.admin-scope-icon::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 3px;
  transform: skewY(-18deg);
}

.admin-scope-icon::before {
  translate: 0 -5px;
}

.admin-scope-icon::after {
  translate: 0 5px;
  opacity: 0.72;
}

.admin-scope-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
  text-align: right;
}

.admin-scope-copy small {
  color: #7087a5;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.admin-scope-copy strong {
  color: #031b4e;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
}

.admin-scope-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-inline-start: auto;
  padding: 4px 10px;
  border: 1px solid #bcd6ff;
  border-radius: 999px;
  color: #0a63ff;
  background: #edf5ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

@media (min-width: 981px) {
  .admin-page.admin-dashboard-active {
    --vinex-sidebar-width: 240px;
    --vinex-bg: #ecf0fa;
    --vinex-line: #d8e1ef;
    --vinex-text: #031b4e;
    font-family: "Roboto", "Tajawal", "Tahoma", "Arial", sans-serif;
    background: var(--vinex-bg);
  }

  .admin-page.admin-dashboard-active .shell {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    background: var(--vinex-bg);
  }

  .admin-page.admin-dashboard-active .topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: minmax(36px, auto) minmax(260px, 520px) minmax(0, max-content);
    width: calc(100% - var(--vinex-sidebar-width));
    min-height: 64px;
    margin-right: var(--vinex-sidebar-width);
    margin-left: 0;
    padding: 9px 22px;
    border: 0;
    border-bottom: 1px solid var(--vinex-line);
    border-radius: 0;
    background: #fff !important;
    box-shadow: 0 1px 0 rgba(3, 27, 78, 0.03);
    backdrop-filter: none;
  }

  .admin-page.admin-dashboard-active .topbar .brand {
    width: 38px;
    justify-content: flex-end;
    gap: 0;
  }

  .admin-page.admin-dashboard-active .topbar .brand::before {
    content: "";
    display: block;
    width: 18px;
    height: 14px;
    border-block: 2px solid #8da0b8;
    background: linear-gradient(#8da0b8, #8da0b8) center / 18px 2px no-repeat;
    opacity: 0.95;
  }

  .admin-page.admin-dashboard-active .topbar .brand-logo {
    display: none;
  }

  .admin-page.admin-dashboard-active .topbar .brand h1 {
    color: var(--vinex-text);
    font-size: 15px;
    font-weight: 900;
  }

  .admin-page.admin-dashboard-active .topbar .brand p {
    display: none;
  }

  .admin-page.admin-dashboard-active .admin-command-search input {
    min-height: 36px;
    border-color: #dbe4f1;
    border-radius: 6px;
    background: #f8fbff;
    box-shadow: none;
  }

  .admin-page.admin-dashboard-active .topbar .brand h1 {
    display: none;
  }

  .admin-page.admin-dashboard-active .top-actions {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    width: auto;
  }

  .admin-page.admin-dashboard-active .topbar-refresh-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
  }

  .admin-page.admin-dashboard-active .admin-scope-mini {
    min-height: 30px;
    padding: 4px 8px;
    font-size: 9.5px;
  }

  .admin-page.admin-dashboard-active .topbar-refresh-actions .live-refresh-status {
    max-width: 78px;
    min-height: 30px;
    padding: 5px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-page.admin-dashboard-active .topbar-refresh-actions .btn {
    min-height: 30px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .admin-page.admin-dashboard-active .topbar .btn,
  .admin-page.admin-dashboard-active .topbar .admin-identity {
    min-height: 34px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: none;
  }

  .admin-page.admin-dashboard-active .topbar-icon-action {
    position: relative;
    display: inline-grid;
    grid-auto-flow: column;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    height: 34px;
    padding: 0;
    gap: 0;
  }

  .admin-page.admin-dashboard-active .top-action-icon {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    color: currentColor;
  }

  .admin-page.admin-dashboard-active .top-action-icon svg {
    width: 18px;
    height: 18px;
  }

  .admin-page.admin-dashboard-active .top-action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
  }

  .admin-page.admin-dashboard-active .topbar .admin-identity {
    display: none !important;
  }

  .admin-page.admin-dashboard-active .topbar .btn.secondary {
    border-color: #d8e1ef;
    background: #f8fbff;
  }

  .admin-page.admin-dashboard-active .topbar .btn.danger {
    min-width: 38px;
  }

  .admin-page.admin-dashboard-active .admin-layout,
  .admin-page.admin-dashboard-active .admin-floating-layout {
    width: auto;
    max-width: none;
    margin: 0 var(--vinex-sidebar-width) 0 0;
    padding: 18px 22px 30px;
  }

  .admin-page.admin-dashboard-active .admin-dashboard:not([hidden]) {
    display: block;
    min-height: calc(100vh - 100px);
  }

	  .admin-page.admin-dashboard-active .admin-sidebar {
	    position: fixed;
	    top: 0;
	    right: 0;
	    z-index: 50;
	    align-content: start;
	    width: var(--vinex-sidebar-width);
	    height: 100vh;
    max-height: none;
    padding: 14px 13px;
    border: 0;
    border-inline-start: 1px solid var(--vinex-line);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 10px 24px rgba(3, 27, 78, 0.06);
    overflow-y: auto;
    scrollbar-width: thin;
  }

	  .admin-page.admin-dashboard-active .admin-sidebar-head {
	    display: grid;
	    align-content: start;
	    justify-items: center;
	    gap: 8px;
	    min-height: 184px;
	    padding: 12px 8px 16px;
    border: 0;
    border-bottom: 1px solid var(--vinex-line);
    border-radius: 0;
    background: #fff;
    text-align: center;
  }

	  .admin-page.admin-dashboard-active .admin-sidebar-logo {
	    display: block;
	    width: 86px;
	    height: 38px;
    object-fit: contain;
  }

  .admin-page.admin-dashboard-active .admin-sidebar-identity {
    display: grid;
    justify-items: center;
    gap: 5px;
    margin-top: 6px;
  }

	  .admin-page.admin-dashboard-active .admin-sidebar-avatar {
	    display: grid;
	    place-items: center;
	    width: 58px;
	    height: 58px;
	    border: 4px solid #e7eef8;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #13b7a7 0%, #1d8dff 100%);
    box-shadow: 0 8px 18px rgba(3, 27, 78, 0.14);
    font-size: 22px;
    font-weight: 900;
  }

  .admin-page.admin-dashboard-active .admin-sidebar-identity strong {
    max-width: 190px;
    color: var(--vinex-text);
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
  }

  .admin-page.admin-dashboard-active .admin-sidebar-identity small {
    color: #69809e;
    font-size: 11px;
    font-weight: 800;
  }

  .admin-page.admin-dashboard-active .admin-sidebar-head > strong {
    display: none;
    color: var(--vinex-text);
    font-size: 17px;
    line-height: 1.2;
  }

  .admin-page.admin-dashboard-active .admin-sidebar-head > span {
    display: none;
    color: #69809e;
    font-size: 12px;
  }

  .admin-page.admin-dashboard-active .admin-sidebar .tabs {
    gap: 7px;
    padding-top: 12px;
  }

  .admin-page.admin-dashboard-active .admin-nav-group {
    position: relative;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
  }

  .admin-page.admin-dashboard-active .admin-nav-toggle {
    min-height: 44px;
    padding: 7px 8px 7px 7px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #455a78;
    background: transparent;
    box-shadow: none;
    transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
  }

  .admin-page.admin-dashboard-active .admin-nav-toggle:hover {
    color: #03285f;
    border-color: #e1e9f4;
    background: #f7fbff;
  }

  .admin-page.admin-dashboard-active .admin-nav-group.active .admin-nav-toggle {
    color: #fff;
    border-color: #05a89b;
    background: #05a89b;
    box-shadow: 0 8px 16px rgba(5, 168, 155, 0.18);
  }

  .admin-page.admin-dashboard-active .admin-nav-title {
    min-width: 0;
    color: inherit;
    font-size: 12.5px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-page.admin-dashboard-active .admin-nav-toggle .group-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    color: #506680;
    background: #eef3f8;
  }

  .admin-page.admin-dashboard-active .admin-nav-group.active .admin-nav-toggle .group-icon {
    color: #05a89b;
    background: #fff;
  }

  .admin-page.admin-dashboard-active .hamburger-mark {
    width: 18px;
    height: 18px;
    color: #8ca0b8;
    opacity: 0.95;
  }

  .admin-page.admin-dashboard-active .admin-nav-group.active .hamburger-mark {
    color: #fff;
  }

  .admin-page.admin-dashboard-active .admin-nav-items {
    position: relative;
    gap: 3px;
    padding: 5px 32px 5px 0;
  }

  .admin-page.admin-dashboard-active .admin-nav-group.open .admin-nav-items::before {
    content: "";
    position: absolute;
    inset-block: 7px;
    inset-inline-end: 19px;
    width: 2px;
    border-radius: 999px;
    background: #e2ebf5;
  }

  .admin-page.admin-dashboard-active .admin-sidebar .tab {
    position: relative;
    min-height: 33px;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #4a5f7b;
    background: transparent;
    font-size: 12px;
    line-height: 1.25;
    box-shadow: none;
  }

  .admin-page.admin-dashboard-active .admin-sidebar .tab::before {
    content: "";
    position: absolute;
    inset-inline-end: -14px;
    width: 7px;
    height: 7px;
    border: 2px solid #d7e2ee;
    border-radius: 50%;
    background: #fff;
  }

  .admin-page.admin-dashboard-active .admin-sidebar .tab:hover {
    color: #03285f;
    border-color: #e0e8f4;
    background: #f8fbff;
  }

  .admin-page.admin-dashboard-active .admin-sidebar .tab.active {
    color: #fff;
    border-color: #05a89b;
    background: #05a89b;
    box-shadow: 0 8px 14px rgba(5, 168, 155, 0.16);
  }

  .admin-page.admin-dashboard-active .admin-sidebar .tab.active::before {
    border-color: #05a89b;
    background: #05a89b;
    box-shadow: 0 0 0 3px #e3faf7;
  }

  .admin-page.admin-dashboard-active .admin-sidebar .tab .nav-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    color: #667d98;
    background: #eef3f8;
  }

  .admin-page.admin-dashboard-active .admin-sidebar .tab .nav-icon svg {
    width: 15px;
    height: 15px;
  }

  .admin-page.admin-dashboard-active .admin-sidebar .tab.active .nav-icon {
    color: #05a89b;
    background: #fff;
  }

  .admin-page.admin-dashboard-active .admin-main {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    gap: 12px;
  }

  .admin-page.admin-dashboard-active .admin-main-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title";
    align-items: center;
    column-gap: 22px;
    direction: ltr;
    min-height: 48px;
    padding: 2px 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
  }

  .admin-page.admin-dashboard-active .admin-title-block {
    grid-area: title;
    justify-self: end;
    direction: rtl;
    text-align: right;
  }

  .admin-page.admin-dashboard-active .admin-scope-card {
    grid-area: scope;
    justify-self: start;
    width: 100%;
    min-height: 66px;
    direction: rtl;
    box-shadow: 0 8px 18px rgba(3, 27, 78, 0.04);
  }

  .admin-page.admin-dashboard-active .admin-section-eyebrow {
    color: #7087a5;
    font-size: 12px;
  }

  .admin-page.admin-dashboard-active .admin-main-head h2 {
    color: var(--vinex-text);
    font-size: 22px;
    line-height: 1.25;
  }

  .admin-page.admin-dashboard-active .admin-main-head .tab-actions {
    grid-area: actions;
    justify-content: flex-start;
    direction: rtl;
    gap: 7px;
  }

  .admin-page.admin-dashboard-active .admin-main-head .tab-actions .btn,
  .admin-page.admin-dashboard-active .admin-main-head .live-refresh-status {
    min-height: 36px;
    border-radius: 6px;
  }

  .admin-page.admin-dashboard-active .admin-section-hub {
    grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px;
    border-color: var(--vinex-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(3, 27, 78, 0.04);
  }

  .admin-page.admin-dashboard-active .admin-section-tool {
    flex-basis: 142px;
    min-height: 42px;
    border-color: #e0e8f4;
    border-radius: 7px;
    background: #f8fbff;
  }

  .admin-page.admin-dashboard-active .admin-section-tool:hover,
  .admin-page.admin-dashboard-active .admin-section-tool.active {
    color: #fff;
    border-color: #05a89b;
    background: #05a89b;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="home"] .admin-section-hub {
    display: none !important;
  }

  .admin-page.admin-dashboard-active .panel,
  .admin-page.admin-dashboard-active .mini-panel,
  .admin-page.admin-dashboard-active .admin-drilldown {
    border-color: var(--vinex-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(3, 27, 78, 0.045);
  }

  .admin-page.admin-dashboard-active .panel-header {
    min-height: 46px;
    padding: 11px 13px;
    border-color: var(--vinex-line);
  }

  .admin-page.admin-dashboard-active .panel-header h2,
  .admin-page.admin-dashboard-active .home-panel-title h3 {
    color: var(--vinex-text);
  }

  .admin-page.admin-dashboard-active .home-summary-section {
    padding: 12px;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="home"] .tab-panel[data-tab-panel="home"].active {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="home"] .tab-panel[data-tab-panel="home"].active > .panel-header {
    display: none;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="home"] .tab-panel[data-tab-panel="home"].active > .panel-body {
    padding: 0;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="home"] #homeDashboard {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.95fr);
    gap: 14px;
    align-items: start;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="home"] .home-summary-section {
    grid-column: 1 / -1;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="home"] .home-summary-section .home-panel-title {
    display: none;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="home"] .home-work-section {
    grid-column: 1;
    margin-bottom: 0;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="home"] .admin-drilldown {
    grid-column: 2;
    margin: 0;
  }

  .admin-page.admin-dashboard-active .home-daily-grid {
    grid-template-columns: repeat(5, minmax(132px, 1fr));
    gap: 10px;
  }

  .admin-page.admin-dashboard-active .home-daily-grid .stat-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 110px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #1e8bff 0%, #54b6ff 100%);
    box-shadow: 0 12px 22px rgba(3, 27, 78, 0.12);
  }

  .admin-page.admin-dashboard-active .home-daily-grid .stat-card::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -1px;
    z-index: -1;
    height: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 42' preserveAspectRatio='none'%3E%3Cpath d='M0 30 L16 24 L32 29 L48 12 L64 10 L80 20 L104 17 L128 13 L152 24 L176 16 L194 34 L216 27 L232 25 L248 14 L264 20 L280 18' fill='none' stroke='white' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' opacity='.5'/%3E%3Cpath d='M0 42 H280 V20 C248 34 220 18 190 30 C160 40 124 25 94 32 C62 40 34 30 0 38 Z' fill='white' opacity='.12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
  }

  .admin-page.admin-dashboard-active .home-daily-grid .stat-card > * {
    position: relative;
    z-index: 1;
  }

  .admin-page.admin-dashboard-active .home-daily-grid .stat-card:nth-child(2) {
    background: linear-gradient(135deg, #f04a7a 0%, #ff8a9b 100%);
  }

  .admin-page.admin-dashboard-active .home-daily-grid .stat-card:nth-child(3) {
    background: linear-gradient(135deg, #12a85c 0%, #52d38a 100%);
  }

  .admin-page.admin-dashboard-active .home-daily-grid .stat-card:nth-child(4) {
    background: linear-gradient(135deg, #f59e0b 0%, #facc15 100%);
  }

  .admin-page.admin-dashboard-active .home-daily-grid .stat-card:nth-child(5) {
    background: linear-gradient(135deg, #465a78 0%, #8798b0 100%);
  }

  .admin-page.admin-dashboard-active .home-daily-grid .stat-card strong,
  .admin-page.admin-dashboard-active .home-daily-grid .stat-card span,
  .admin-page.admin-dashboard-active .home-daily-grid .stat-card small {
    color: #fff;
  }

  .admin-page.admin-dashboard-active .home-daily-grid .stat-card .stat-icon {
    color: var(--vinex-text);
    background: rgba(255, 255, 255, 0.9);
  }

	  .admin-page.admin-dashboard-active .table-wrap {
	    border-color: var(--vinex-line);
	    border-radius: 8px;
	    background: #fff;
	  }
	
	  .admin-page.admin-dashboard-active table th {
	    color: var(--vinex-text);
	    background: #f5f8fd;
	  }

	  .admin-page.admin-dashboard-active .table-toolbar,
	  .admin-page.admin-dashboard-active .filters {
	    display: grid;
	    grid-template-columns: minmax(260px, 1fr) repeat(auto-fit, minmax(150px, 220px));
	    align-items: center;
	    gap: 8px;
	    margin: 0 0 10px;
	    padding: 11px 12px;
	    border: 1px solid var(--vinex-line);
	    border-radius: 8px;
	    background: #fff;
	    box-shadow: 0 8px 18px rgba(3, 27, 78, 0.035);
	  }

	  .admin-page.admin-dashboard-active .orders-toolbar {
	    grid-template-columns: minmax(270px, 1fr) minmax(150px, 190px) minmax(150px, 190px);
	  }

	  .admin-page.admin-dashboard-active .transactions-toolbar {
	    grid-template-columns: minmax(270px, 1fr) repeat(3, minmax(142px, 180px));
	  }

	  .admin-page.admin-dashboard-active .table-toolbar input,
	  .admin-page.admin-dashboard-active .table-toolbar select,
	  .admin-page.admin-dashboard-active .filters input,
	  .admin-page.admin-dashboard-active .filters select {
	    width: 100%;
	    max-width: none;
	    min-height: 38px;
	    border-color: #dbe4f1;
	    border-radius: 6px;
	    background-color: #f8fbff;
	    box-shadow: none;
	  }

	  .admin-page.admin-dashboard-active .table-toolbar input[type="search"] {
	    padding-inline-start: 34px;
	    background-image:
	      radial-gradient(circle at 50% 50%, transparent 42%, #8da0b8 44%, #8da0b8 58%, transparent 60%),
	      linear-gradient(45deg, transparent 0 56%, #8da0b8 57% 72%, transparent 73%);
	    background-position: left 12px center, left 22px center;
	    background-size: 14px 14px, 11px 11px;
	    background-repeat: no-repeat;
	  }

	  .admin-page.admin-dashboard-active .smart-filter-tabs {
	    grid-column: 1 / -1;
	    display: flex;
	    flex-wrap: nowrap;
	    gap: 5px;
	    width: 100%;
	    padding: 5px;
	    overflow-x: auto;
	    scrollbar-width: thin;
	    border: 1px solid #e1e9f4;
	    border-radius: 8px;
	    background: #f5f8fd;
	  }

	  .admin-page.admin-dashboard-active .smart-filter-tabs button {
	    flex: 0 0 auto;
	    min-height: 32px;
	    padding: 6px 10px;
	    border-color: transparent;
	    border-radius: 6px;
	    color: #506680;
	    background: transparent;
	    font-size: 12px;
	    box-shadow: none;
	  }

	  .admin-page.admin-dashboard-active .smart-filter-tabs button:hover {
	    color: #03285f;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .smart-filter-tabs button.active {
	    color: #fff;
	    border-color: #05a89b;
	    background: #05a89b;
	  }

	  .admin-page.admin-dashboard-active .orders-limit-notice,
	  .admin-page.admin-dashboard-active .transactions-note,
	  .admin-page.admin-dashboard-active .table-pagination {
	    margin: 0 0 10px;
	    padding: 10px 12px;
	    border-color: var(--vinex-line);
	    border-radius: 8px;
	    background: #fff;
	    box-shadow: none;
	  }

	  .admin-page.admin-dashboard-active .table-pagination-top {
	    border-style: solid;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .table-pagination-status {
	    color: #7087a5;
	    font-size: 12px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .table-pagination select {
	    min-height: 34px;
	    border-color: #dbe4f1;
	    border-radius: 6px;
	    background-color: #f8fbff;
	  }

	  .admin-page.admin-dashboard-active .admin-card-table {
	    min-width: 100%;
	  }

	  .admin-page.admin-dashboard-active .admin-card-table th,
	  .admin-page.admin-dashboard-active .admin-card-table td {
	    padding: 10px 11px;
	    border-bottom-color: #e0e8f4;
	  }

	  .admin-page.admin-dashboard-active .admin-card-table th {
	    position: sticky;
	    top: 0;
	    z-index: 1;
	    color: var(--vinex-text);
	    background: #f3f7fd;
	    font-size: 11.5px;
	    font-weight: 900;
	    white-space: nowrap;
	  }

	  .admin-page.admin-dashboard-active .admin-card-table td {
	    color: #273b55;
	    font-size: 12.5px;
	    line-height: 1.45;
	    vertical-align: top;
	  }

	  .admin-page.admin-dashboard-active .admin-card-table tbody tr:hover {
	    background: #f8fbff;
	  }

	  .admin-page.admin-dashboard-active .admin-card-table small {
	    color: #7186a3;
	  }

	  .admin-page.admin-dashboard-active .table-empty-state {
	    border-color: #d8e1ef;
	    border-radius: 8px;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .panel-body {
	    padding: 12px;
	  }

	  .admin-page.admin-dashboard-active .panel-body > .form-grid,
	  .admin-page.admin-dashboard-active .manual-delivery-form,
	  .admin-page.admin-dashboard-active .admin-grid,
	  .admin-page.admin-dashboard-active .offer-admin-create .compact-form,
	  .admin-page.admin-dashboard-active .manual-refund-panel .compact-form,
	  .admin-page.admin-dashboard-active .wallet-ledger-form {
	    grid-template-columns: repeat(4, minmax(0, 1fr));
	    gap: 10px 12px;
	    align-items: end;
	  }

	  .admin-page.admin-dashboard-active .settings-grid {
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	  }

	  .admin-page.admin-dashboard-active .admin-grid {
	    grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
	  }

	  .admin-page.admin-dashboard-active .form-grid label:not(.inline-check):not(.manual-payment-choice):not(.mini-check):not(.checkbox-line),
	  .admin-page.admin-dashboard-active .filters label:not(.inline-check):not(.manual-payment-choice):not(.mini-check):not(.checkbox-line) {
	    align-content: start;
	    min-width: 0;
	    gap: 5px;
	    color: #7186a3;
	    font-size: 11.5px;
	    font-weight: 900;
	    line-height: 1.35;
	  }

	  .admin-page.admin-dashboard-active .form-grid input,
	  .admin-page.admin-dashboard-active .form-grid select,
	  .admin-page.admin-dashboard-active .form-grid textarea,
	  .admin-page.admin-dashboard-active .mini-panel input,
	  .admin-page.admin-dashboard-active .mini-panel select,
	  .admin-page.admin-dashboard-active .mini-panel textarea,
	  .admin-page.admin-dashboard-active table input,
	  .admin-page.admin-dashboard-active table select,
	  .admin-page.admin-dashboard-active table textarea {
	    min-height: 36px;
	    padding: 7px 9px;
	    border-color: #dbe4f1;
	    border-radius: 6px;
	    background-color: #f8fbff;
	    color: #273b55;
	    font-size: 12px;
	    box-shadow: none;
	  }

	  .admin-page.admin-dashboard-active .form-grid textarea,
	  .admin-page.admin-dashboard-active .mini-panel textarea,
	  .admin-page.admin-dashboard-active table textarea {
	    min-height: 82px;
	    line-height: 1.55;
	  }

	  .admin-page.admin-dashboard-active .form-grid .full-row,
	  .admin-page.admin-dashboard-active .compact-form .full-row {
	    grid-column: 1 / -1;
	  }

	  .admin-page.admin-dashboard-active .inline-check,
	  .admin-page.admin-dashboard-active .checkbox-line,
	  .admin-page.admin-dashboard-active .manual-payment-choice,
	  .admin-page.admin-dashboard-active .mini-check {
	    min-height: 36px;
	    padding: 7px 9px;
	    border: 1px solid #e0e8f4;
	    border-radius: 7px;
	    color: #455a78;
	    background: #f8fbff;
	    font-size: 12px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .inline-check input,
	  .admin-page.admin-dashboard-active .checkbox-line input,
	  .admin-page.admin-dashboard-active .manual-payment-choice input,
	  .admin-page.admin-dashboard-active .mini-check input {
	    width: 15px;
	    height: 15px;
	    min-height: 0;
	    padding: 0;
	    accent-color: #05a89b;
	  }

	  .admin-page.admin-dashboard-active .panel-body > .form-grid > .btn,
	  .admin-page.admin-dashboard-active .manual-delivery-form > .btn,
	  .admin-page.admin-dashboard-active .compact-form > .btn {
	    justify-self: start;
	    min-width: 150px;
	    min-height: 38px;
	    border-radius: 6px;
	  }

	  .admin-page.admin-dashboard-active .manual-payment-box,
	  .admin-page.admin-dashboard-active .manual-delivery-items,
	  .admin-page.admin-dashboard-active .payment-evidence-panel {
	    padding: 12px;
	    border-color: #dbe4f1;
	    border-radius: 8px;
	    background: #fbfdff;
	  }

	  .admin-page.admin-dashboard-active .manual-payment-head strong,
	  .admin-page.admin-dashboard-active .manual-delivery-items-head strong,
	  .admin-page.admin-dashboard-active .manual-refund-head h3,
	  .admin-page.admin-dashboard-active .offer-admin-create h3 {
	    color: var(--vinex-text);
	    font-size: 15px;
	    font-weight: 900;
	  }

		  .admin-page.admin-dashboard-active .manual-payment-options {
		    grid-template-columns: repeat(2, minmax(110px, 140px)) minmax(180px, 1fr);
		    gap: 8px;
		  }

		  .admin-page.admin-dashboard-active .manual-payment-box.is-free .manual-paid-amount,
		  .admin-page.admin-dashboard-active .manual-payment-box.is-linked .manual-paid-amount,
		  .admin-page.admin-dashboard-active .manual-payment-box.is-linked .manual-financial-fields {
		    display: none;
		  }

		  .admin-page.admin-dashboard-active .manual-payment-box.is-free .manual-financial-fields > :not(.manual-financial-reason) {
		    display: none;
		  }

		  .admin-page.admin-dashboard-active .manual-financial-fields {
		    grid-template-columns: repeat(2, minmax(0, 1fr));
		    gap: 10px 12px;
		    align-items: end;
	  }

	  .admin-page.admin-dashboard-active .manual-delivery-item-row {
	    grid-template-columns: auto minmax(220px, 1fr) 96px auto;
	    gap: 8px;
	  }

	  .admin-page.admin-dashboard-active .manual-delivery-row-index {
	    color: #7186a3;
	    font-size: 12px;
	    font-weight: 900;
	  }

		  .admin-page.admin-dashboard-active .manual-refund-panel {
		    border-color: #f3d7a8;
		    background: #fffaf2;
		  }

		  .admin-page.admin-dashboard-active .manual-refund-panel > summary {
		    display: grid;
		    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.65fr) auto;
		    gap: 8px;
		    align-items: center;
		    min-height: 38px;
		    cursor: pointer;
		    list-style: none;
		  }

		  .admin-page.admin-dashboard-active .manual-refund-panel > summary::-webkit-details-marker {
		    display: none;
		  }

		  .admin-page.admin-dashboard-active .manual-refund-panel > summary span {
		    color: var(--vinex-text);
		    font-size: 13px;
		    font-weight: 900;
		  }

		  .admin-page.admin-dashboard-active .manual-refund-panel > summary small {
		    min-width: 0;
		    color: #8a6b35;
		    font-size: 11px;
		    font-weight: 800;
		    white-space: nowrap;
		    overflow: hidden;
		    text-overflow: ellipsis;
		  }

		  .admin-page.admin-dashboard-active .manual-refund-panel > summary::after {
		    content: "فتح";
		    justify-self: end;
		    padding: 4px 9px;
		    border: 1px solid #f3d7a8;
		    border-radius: 999px;
		    color: #b7791f;
		    background: #fff;
		    font-size: 11px;
		    font-weight: 900;
		  }

		  .admin-page.admin-dashboard-active .manual-refund-panel[open] > summary {
		    margin-bottom: 10px;
		    padding-bottom: 8px;
		    border-bottom: 1px solid #f3d7a8;
		  }

		  .admin-page.admin-dashboard-active .manual-refund-panel[open] > summary::after {
		    content: "إغلاق";
		    color: #506680;
		  }

	  .admin-page.admin-dashboard-active [data-table="products"] th,
	  .admin-page.admin-dashboard-active [data-table="products"] td,
	  .admin-page.admin-dashboard-active [data-table="offers"] th,
	  .admin-page.admin-dashboard-active [data-table="offers"] td {
	    padding: 8px 9px;
	  }

	  .admin-page.admin-dashboard-active [data-table="products"] input,
	  .admin-page.admin-dashboard-active [data-table="products"] select,
	  .admin-page.admin-dashboard-active [data-table="offers"] input,
	  .admin-page.admin-dashboard-active [data-table="offers"] select {
	    min-height: 34px;
	  }

	  .admin-page.admin-dashboard-active .offers-admin-board {
	    display: grid;
	    gap: 10px;
	    margin-bottom: 10px;
	  }

	  .admin-page.admin-dashboard-active .offers-admin-overview {
	    grid-template-columns: repeat(3, minmax(120px, 1fr));
	    gap: 8px;
	  }

	  .admin-page.admin-dashboard-active .offer-create-details {
	    margin-bottom: 10px;
	  }

	  .admin-page.admin-dashboard-active .offer-create-details > summary {
	    display: grid;
	    grid-template-columns: minmax(0, 1fr) auto;
	    align-items: center;
	    gap: 10px;
	    min-height: 40px;
	    cursor: pointer;
	    list-style: none;
	  }

	  .admin-page.admin-dashboard-active .offer-create-details > summary::-webkit-details-marker {
	    display: none;
	  }

	  .admin-page.admin-dashboard-active .offer-create-details > summary span {
	    color: var(--vinex-text);
	    font-size: 15px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .offer-create-details > summary small {
	    min-width: 0;
	    overflow: hidden;
	    color: #7186a3;
	    font-size: 11px;
	    font-weight: 800;
	    text-overflow: ellipsis;
	    white-space: nowrap;
	  }

	  .admin-page.admin-dashboard-active .offer-create-details > summary::after {
	    content: "فتح";
	    justify-self: end;
	    padding: 4px 10px;
	    border: 1px solid #cfe0f2;
	    border-radius: 999px;
	    color: #056a62;
	    background: #f3fbfa;
	    font-size: 11px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .offer-create-details[open] > summary {
	    margin-bottom: 10px;
	    padding-bottom: 8px;
	    border-bottom: 1px solid #e0e8f4;
	  }

	  .admin-page.admin-dashboard-active .offer-create-details[open] > summary::after {
	    content: "إغلاق";
	    color: #506680;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .offers-admin-table th,
	  .admin-page.admin-dashboard-active .offers-admin-table td {
	    vertical-align: top;
	  }

	  .admin-page.admin-dashboard-active .offer-admin-title,
	  .admin-page.admin-dashboard-active .offer-admin-deal,
	  .admin-page.admin-dashboard-active .offer-admin-edit > summary {
	    display: grid;
	    gap: 4px;
	    min-width: 0;
	  }

	  .admin-page.admin-dashboard-active .offer-admin-title strong,
	  .admin-page.admin-dashboard-active .offer-admin-product,
	  .admin-page.admin-dashboard-active .offer-admin-deal strong {
	    color: var(--vinex-text);
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .offer-admin-title small,
	  .admin-page.admin-dashboard-active .offer-admin-deal small,
	  .admin-page.admin-dashboard-active .offer-admin-edit small {
	    color: #7186a3;
	    font-size: 11px;
	  }

	  .admin-page.admin-dashboard-active .offer-admin-stock {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(70px, 1fr));
	    gap: 6px;
	    min-width: 160px;
	  }

	  .admin-page.admin-dashboard-active .offer-admin-stock .product-admin-stat {
	    min-height: 42px;
	    padding: 7px 8px;
	  }

	  .admin-page.admin-dashboard-active .offer-admin-stock .product-admin-stat strong {
	    font-size: 14px;
	  }

	  .admin-page.admin-dashboard-active .offer-admin-edit {
	    min-width: 220px;
	    border: 1px solid #dbe4f1;
	    border-radius: 8px;
	    background: #f8fbff;
	  }

	  .admin-page.admin-dashboard-active .offer-admin-edit > summary {
	    grid-template-columns: minmax(0, 1fr) auto;
	    align-items: center;
	    min-height: 34px;
	    padding: 7px 9px;
	    cursor: pointer;
	    list-style: none;
	  }

	  .admin-page.admin-dashboard-active .offer-admin-edit > summary::-webkit-details-marker {
	    display: none;
	  }

	  .admin-page.admin-dashboard-active .offer-admin-edit > summary span {
	    color: #03285f;
	    font-size: 12px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .offer-admin-edit > summary::after {
	    content: "فتح";
	    color: #05a89b;
	    font-size: 11px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .offer-admin-edit[open] > summary::after {
	    content: "إغلاق";
	    color: #506680;
	  }

	  .admin-page.admin-dashboard-active .offer-admin-edit-grid {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    gap: 8px;
	    padding: 0 9px 9px;
	  }

	  .admin-page.admin-dashboard-active .offer-admin-field {
	    display: grid;
	    gap: 5px;
	    min-width: 0;
	    color: #7186a3;
	    font-size: 11px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .offer-admin-field.wide {
	    grid-column: 1 / -1;
	  }

	  .admin-page.admin-dashboard-active .radius-api-cell {
	    min-width: 200px;
	  }

	  .admin-page.admin-dashboard-active .radius-api-cell input {
	    margin: 2px 0;
	  }

	  .admin-page.admin-dashboard-active .radius-api-cell .inline-actions,
	  .admin-page.admin-dashboard-active .inline-fields {
	    gap: 5px;
	  }

	  .admin-page.admin-dashboard-active table .btn {
	    min-height: 34px;
	    padding: 7px 10px;
	    border-radius: 6px;
	    font-size: 12px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-board {
	    display: grid;
	    gap: 10px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-overview {
	    display: grid;
	    grid-template-columns: repeat(6, minmax(108px, 1fr));
	    gap: 8px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-overview .product-admin-stat {
	    min-height: 54px;
	    padding: 8px 10px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-overview .product-admin-stat strong {
	    font-size: 16px;
	  }

		  .admin-page.admin-dashboard-active .orders-admin-table {
		    min-width: 980px;
		  }

	  .admin-page.admin-dashboard-active .orders-admin-table th,
	  .admin-page.admin-dashboard-active .orders-admin-table td {
	    padding: 8px 9px;
	    font-size: 12px;
	    line-height: 1.35;
	    vertical-align: top;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table th {
	    white-space: nowrap;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table small,
	  .admin-page.admin-dashboard-active .orders-admin-table .empty {
	    font-size: 10.5px;
	    line-height: 1.32;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-details {
	    margin-top: 5px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-details:not([open]) > :not(summary),
	  .admin-page.admin-dashboard-active .orders-admin-table .order-ops-details:not([open]) > :not(summary) {
	    display: none !important;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-details summary {
	    min-height: 24px;
	    color: #506680;
	    font-size: 11px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .payment-evidence-panel {
	    gap: 8px;
	    padding: 9px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .payment-candidate-list,
	  .admin-page.admin-dashboard-active .orders-admin-table .payment-candidate-review {
	    gap: 7px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .payment-candidate-review {
	    padding: 8px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .payment-candidate-quick {
	    grid-template-columns: repeat(4, minmax(0, 1fr));
	    gap: 6px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .payment-candidate-quick div,
	  .admin-page.admin-dashboard-active .orders-admin-table .candidate-operator-line {
	    padding: 6px 7px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-secondary-grid {
	    grid-template-columns: minmax(0, 1fr);
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-quick-grid {
	    grid-template-columns: 1fr;
	    gap: 6px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-quick-grid > div {
	    padding: 7px 8px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-quick-grid > .wide {
	    grid-column: auto;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-core-details {
	    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	    gap: 8px;
	    padding: 8px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-card-list li,
	  .admin-page.admin-dashboard-active .orders-admin-table .order-timeline-list li {
	    padding: 6px 7px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-row-reason {
	    display: block;
	    margin-top: 4px;
	    color: #9a3412;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-ops-details {
	    min-width: 174px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-ops-details > summary {
	    display: grid;
	    grid-template-columns: minmax(0, 1fr);
	    gap: 1px;
	    min-height: 30px;
	    padding: 5px 8px;
	    border: 1px solid #dbe4f1;
	    border-radius: 6px;
	    color: #03285f;
	    background: #f8fbff;
	    font-size: 11px;
	    font-weight: 900;
	    cursor: pointer;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-ops-details > summary small {
	    color: #7087a5;
	    font-size: 10px;
	    font-weight: 800;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-ops-grid {
	    display: grid;
	    gap: 8px;
	    min-width: 310px;
	    margin-top: 8px;
	    padding: 8px;
	    border: 1px solid #e1e9f4;
	    border-radius: 8px;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-ops-section {
	    display: grid;
	    gap: 6px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-ops-section h4 {
	    margin: 0;
	    color: #506680;
	    font-size: 10.5px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .order-ops-section .empty {
	    margin: 0;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table select,
	  .admin-page.admin-dashboard-active .orders-admin-table .note-input {
	    width: 100%;
	    font-size: 11.5px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table select {
	    min-height: 34px;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .note-input {
	    min-height: 56px;
	    line-height: 1.35;
	  }

	  .admin-page.admin-dashboard-active .orders-admin-table .btn {
	    min-height: 30px;
	    padding: 6px 8px;
	    border-radius: 6px;
	    font-size: 11px;
	  }

		  .admin-page.admin-dashboard-active .orders-admin-table .row-actions {
		    gap: 5px;
		    margin-top: 0;
		  }

		  .admin-page.admin-dashboard-active .renewals-admin-board {
		    display: grid;
		    gap: 10px;
		  }

		  .admin-page.admin-dashboard-active .renewals-admin-overview {
		    display: grid;
		    grid-template-columns: repeat(5, minmax(110px, 1fr));
		    gap: 8px;
		  }

		  .admin-page.admin-dashboard-active .renewals-admin-overview .product-admin-stat {
		    min-height: 52px;
		    padding: 8px 9px;
		  }

		  .admin-page.admin-dashboard-active .renewals-admin-overview .product-admin-stat strong {
		    font-size: 14.5px;
		  }

		  .admin-page.admin-dashboard-active .renewals-toolbar {
		    display: grid;
		    grid-template-columns: minmax(260px, 1fr) minmax(170px, 220px) auto;
		    gap: 8px;
		    align-items: center;
		    margin: 0;
		    padding: 10px;
		    border: 1px solid #dbe4f1;
		    border-radius: 8px;
		    background: #fff;
		  }

		  .admin-page.admin-dashboard-active .renewals-toolbar input,
		  .admin-page.admin-dashboard-active .renewals-toolbar select {
		    min-height: 36px;
		    border-color: #dbe4f1;
		    border-radius: 7px;
		    background: #f8fbff;
		    font-size: 12px;
		  }

		  .admin-page.admin-dashboard-active .renewals-table {
		    min-width: 1120px;
		  }

		  .admin-page.admin-dashboard-active .renewals-table th,
		  .admin-page.admin-dashboard-active .renewals-table td {
		    padding: 8px 9px;
		    font-size: 12px;
		    line-height: 1.35;
		  }

		  .admin-page.admin-dashboard-active .renewals-table small,
		  .admin-page.admin-dashboard-active .renewals-table .empty {
		    font-size: 10.5px;
		    line-height: 1.32;
		  }

		  .admin-page.admin-dashboard-active .renewals-table .vertical-actions {
		    display: grid;
		    gap: 6px;
		  }

		  .admin-page.admin-dashboard-active .attempts-admin-board {
		    display: grid;
		    gap: 10px;
		  }

		  .admin-page.admin-dashboard-active .attempts-admin-overview {
		    display: grid;
		    grid-template-columns: repeat(6, minmax(108px, 1fr));
		    gap: 8px;
		  }

		  .admin-page.admin-dashboard-active .attempts-admin-overview .product-admin-stat {
		    min-height: 52px;
		    padding: 8px 9px;
		  }

		  .admin-page.admin-dashboard-active .attempts-admin-overview .product-admin-stat strong {
		    font-size: 14.5px;
		  }

		  .admin-page.admin-dashboard-active .attempts-admin-table {
		    min-width: 1040px;
		  }

		  .admin-page.admin-dashboard-active .attempts-admin-table th,
		  .admin-page.admin-dashboard-active .attempts-admin-table td {
		    padding: 8px 9px;
		    font-size: 12px;
		    line-height: 1.35;
		  }

		  .admin-page.admin-dashboard-active .attempts-admin-table small,
		  .admin-page.admin-dashboard-active .attempts-admin-table .empty {
		    font-size: 10.5px;
		    line-height: 1.32;
		  }

		  .admin-page.admin-dashboard-active .attempts-admin-table .link-button {
		    display: inline-flex;
		    min-height: 26px;
		    margin-top: 4px;
		    padding: 4px 0;
		    font-size: 10.5px;
		  }

		  .admin-page.admin-dashboard-active .attempt-candidates-list {
		    display: grid;
		    gap: 6px;
		  }

		  .admin-page.admin-dashboard-active .attempt-candidate-line {
		    display: grid;
		    gap: 2px;
		    min-width: 0;
		    padding: 6px 7px;
		    border: 1px solid #e0e8f4;
		    border-radius: 6px;
		    background: #f8fbff;
		  }

		  .admin-page.admin-dashboard-active .attempt-candidate-line strong {
		    color: var(--vinex-text);
		    font-size: 11.5px;
		    font-weight: 900;
		  }

		  .admin-page.admin-dashboard-active .attempt-candidates-details summary {
		    min-height: 24px;
		    color: #506680;
		    font-size: 10.5px;
		    font-weight: 900;
		    cursor: pointer;
		  }

		  .admin-page.admin-dashboard-active .phonebook-admin-board {
		    display: grid;
		    gap: 10px;
		  }

		  .admin-page.admin-dashboard-active .phonebook-admin-overview {
		    display: grid;
		    grid-template-columns: repeat(6, minmax(108px, 1fr));
		    gap: 8px;
		  }

		  .admin-page.admin-dashboard-active .phonebook-admin-overview .product-admin-stat {
		    min-height: 52px;
		    padding: 8px 9px;
		  }

		  .admin-page.admin-dashboard-active .phonebook-admin-overview .product-admin-stat strong {
		    font-size: 14.5px;
		  }

		  .admin-page.admin-dashboard-active .phonebook-admin-table th,
		  .admin-page.admin-dashboard-active .phonebook-admin-table td {
		    padding: 8px 9px;
		    font-size: 12px;
		    line-height: 1.35;
		  }

		  .admin-page.admin-dashboard-active .phonebook-admin-table strong {
		    color: var(--vinex-text);
		    font-size: 12.5px;
		  }

		  .admin-page.admin-dashboard-active .phonebook-admin-table small {
		    font-size: 10.5px;
		    line-height: 1.32;
		  }

		  .admin-page.admin-dashboard-active .audit-admin-board {
		    display: grid;
		    gap: 10px;
		  }

		  .admin-page.admin-dashboard-active .audit-admin-overview {
		    display: grid;
		    grid-template-columns: repeat(6, minmax(108px, 1fr));
		    gap: 8px;
		  }

		  .admin-page.admin-dashboard-active .audit-admin-overview .product-admin-stat {
		    min-height: 52px;
		    padding: 8px 9px;
		  }

		  .admin-page.admin-dashboard-active .audit-admin-overview .product-admin-stat strong {
		    font-size: 14.5px;
		  }

		  .admin-page.admin-dashboard-active .audit-admin-table th,
		  .admin-page.admin-dashboard-active .audit-admin-table td {
		    padding: 8px 9px;
		    font-size: 12px;
		    line-height: 1.35;
		  }

		  .admin-page.admin-dashboard-active .audit-admin-table small {
		    font-size: 10.5px;
		    line-height: 1.32;
		  }

		  .admin-page.admin-dashboard-active .audit-details {
		    margin-top: 5px;
		  }

		  .admin-page.admin-dashboard-active .audit-details summary {
		    min-height: 24px;
		    color: #506680;
		    font-size: 10.5px;
		    font-weight: 900;
		    cursor: pointer;
		  }

		  .admin-page.admin-dashboard-active .audit-details pre {
		    max-height: 220px;
		    margin: 6px 0 0;
		    padding: 8px;
		    overflow: auto;
		    border: 1px solid #e0e8f4;
		    border-radius: 6px;
		    background: #f8fbff;
		    color: #273b55;
		    font-size: 10.5px;
		    line-height: 1.45;
		    direction: ltr;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-board {
		    display: grid;
		    gap: 10px;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-overview {
		    display: grid;
		    grid-template-columns: repeat(6, minmax(108px, 1fr));
		    gap: 8px;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-overview .product-admin-stat {
		    min-height: 52px;
		    padding: 8px 9px;
		  }

			  .admin-page.admin-dashboard-active .transactions-admin-overview .product-admin-stat strong {
			    font-size: 14.5px;
			  }

			  .admin-page.admin-dashboard-active .transactions-admin-table .transaction-sender {
			    display: grid;
			    gap: 5px;
			    min-width: 0;
			  }

			  .admin-page.admin-dashboard-active .transactions-admin-table .transaction-sender strong {
			    overflow: hidden;
			    color: #031b4e;
			    text-overflow: ellipsis;
			    white-space: nowrap;
			  }

			  .admin-page.admin-dashboard-active .transaction-detail-toggle,
			  .admin-page.admin-dashboard-active .transaction-candidates-details {
			    justify-self: start;
			    max-width: 100%;
			    border: 1px solid #dbe4f1;
			    border-radius: 7px;
			    background: #f8fbff;
			  }

			  .admin-page.admin-dashboard-active .transaction-detail-toggle > summary,
			  .admin-page.admin-dashboard-active .transaction-candidates-details > summary {
			    display: grid;
			    grid-template-columns: minmax(0, 1fr) auto;
			    align-items: center;
			    gap: 8px;
			    min-height: 20px;
			    padding: 2px 6px;
			    color: #03285f;
			    font-size: 10px;
			    font-weight: 900;
			    cursor: pointer;
			  }

			  .admin-page.admin-dashboard-active .transaction-detail-toggle > summary::-webkit-details-marker,
			  .admin-page.admin-dashboard-active .transaction-candidates-details > summary::-webkit-details-marker {
			    display: none;
			  }

			  .admin-page.admin-dashboard-active .transaction-detail-toggle > summary::after,
			  .admin-page.admin-dashboard-active .transaction-candidates-details > summary::after {
			    content: "⌄";
			    color: #7087a5;
			    font-size: 13px;
			  }

			  .admin-page.admin-dashboard-active .transaction-detail-toggle[open] > summary::after,
			  .admin-page.admin-dashboard-active .transaction-candidates-details[open] > summary::after {
			    transform: rotate(180deg);
			  }

			  .admin-page.admin-dashboard-active .transaction-detail-toggle > div {
			    display: grid;
			    gap: 4px;
			    padding: 0 8px 7px;
			  }

			  .admin-page.admin-dashboard-active .transaction-detail-toggle small,
			  .admin-page.admin-dashboard-active .transaction-candidates-details > summary small {
			    min-width: 0;
			    overflow: hidden;
			    color: #7087a5;
			    text-overflow: ellipsis;
			    white-space: nowrap;
			  }

			  .admin-page.admin-dashboard-active .transaction-candidates-details .candidate-orders {
			    padding: 7px;
			  }

			  .admin-page.admin-dashboard-active .transaction-status-actions {
			    display: flex;
			    flex-wrap: wrap;
			    align-items: center;
			    gap: 5px;
			  }

			  .admin-page.admin-dashboard-active .transaction-status-actions br {
			    display: none;
			  }

			  .admin-page.admin-dashboard-active .transaction-status-actions small {
			    flex: 1 0 100%;
			    color: #7087a5;
			    font-size: 11px;
			  }

			  .admin-page.admin-dashboard-active .inventory-admin-table .inventory-product-name {
			    color: #031b4e;
			    font-weight: 900;
			  }

			  .admin-page.admin-dashboard-active .inventory-admin-table .inventory-specs {
			    display: grid;
			    gap: 2px;
			  }

			  .admin-page.admin-dashboard-active .inventory-admin-table .inventory-specs span {
			    color: #506680;
			    font-size: 11.5px;
			    line-height: 1.25;
			  }

			  .admin-page.admin-dashboard-active .ai-suggestions-board {
			    display: grid;
			    gap: 10px;
			  }

	  .admin-page.admin-dashboard-active .ai-suggestions-overview {
	    display: grid;
	    grid-template-columns: repeat(5, minmax(120px, 1fr));
	    gap: 8px;
	  }

	  .admin-page.admin-dashboard-active .ai-suggestions-toolbar {
	    display: grid;
	    grid-template-columns: minmax(260px, 1fr) minmax(170px, 220px) auto;
	    gap: 8px;
	    align-items: center;
	    margin: 0;
	    padding: 10px;
	    border: 1px solid #dbe4f1;
	    border-radius: 8px;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .ai-suggestions-toolbar input,
	  .admin-page.admin-dashboard-active .ai-suggestions-toolbar select {
	    min-height: 36px;
	    border-color: #dbe4f1;
	    border-radius: 7px;
	    background: #f8fbff;
	    font-size: 12px;
	  }

	  .admin-page.admin-dashboard-active .ai-suggestions-table th,
	  .admin-page.admin-dashboard-active .ai-suggestions-table td {
	    padding: 8px 9px;
	    font-size: 12px;
	    line-height: 1.42;
	  }

	  .admin-page.admin-dashboard-active .ai-suggestions-table td:first-child,
	  .admin-page.admin-dashboard-active .ai-suggestions-table td:nth-child(2) {
	    width: 18%;
	  }

	  .admin-page.admin-dashboard-active .ai-suggestions-table td:nth-child(3) {
	    width: 18%;
	  }

	  .admin-page.admin-dashboard-active .ai-suggestions-table td:nth-child(4) {
	    width: 28%;
	  }

	  .admin-page.admin-dashboard-active .ai-suggestions-table strong {
	    color: var(--vinex-text);
	    font-size: 12.5px;
	  }

	  .admin-page.admin-dashboard-active .ai-suggestions-table small {
	    color: #7186a3;
	    font-size: 10.5px;
	    line-height: 1.3;
	  }

	  .admin-page.admin-dashboard-active .ai-suggestions-table .sync-text-hint {
	    max-height: 42px;
	    padding: 7px 8px;
	    border-color: #e0e8f4;
	    border-radius: 7px;
	    background: #f8fbff;
	    color: #455a78;
	    font-size: 11px;
	    line-height: 1.35;
	    overflow: hidden;
	  }

	  .admin-page.admin-dashboard-active .ai-suggestions-table .evidence-chips {
	    gap: 4px;
	    margin-top: 5px;
	  }

	  .admin-page.admin-dashboard-active .ai-suggestions-table .evidence-chip {
	    padding: 3px 6px;
	    border-radius: 6px;
	    font-size: 10.5px;
	    line-height: 1.2;
	  }

	  .admin-page.admin-dashboard-active .ai-suggestions-table .vertical-actions {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(72px, 1fr));
	    gap: 5px;
	    min-width: 150px;
	  }

	  .admin-page.admin-dashboard-active .ai-suggestions-table .vertical-actions .btn {
	    width: 100%;
	    min-height: 30px;
	    padding: 6px 7px;
	    border-radius: 6px;
	    font-size: 11px;
	  }

	  .admin-page.admin-dashboard-active .ai-suggestions-table .vertical-actions .btn[data-ai-match] {
	    grid-column: 1 / -1;
	  }

	  .admin-page.admin-dashboard-active .users-admin-table th,
	  .admin-page.admin-dashboard-active .users-admin-table td {
	    padding: 8px 9px;
	    font-size: 12px;
	    line-height: 1.35;
	  }

	  .admin-page.admin-dashboard-active .users-admin-table input,
	  .admin-page.admin-dashboard-active .users-admin-table select {
	    width: 100%;
	    min-height: 34px;
	    border-color: #dbe4f1;
	    border-radius: 7px;
	    background: #fff;
	    font-size: 12px;
	  }

	  .admin-page.admin-dashboard-active .users-admin-table .btn {
	    width: 100%;
	    min-height: 32px;
	    border-radius: 7px;
	    font-size: 11px;
	  }

	  .admin-page.admin-dashboard-active .users-admin-table .inline-check {
	    min-height: 32px;
	    margin: 0;
	    padding: 6px 8px;
	    border: 1px solid #e0e8f4;
	    border-radius: 7px;
	    background: #f8fbff;
	  }

	  .admin-page.admin-dashboard-active[data-admin-tab="reports"] #reportFilters {
	    display: grid;
	    grid-template-columns: minmax(150px, 190px) minmax(150px, 190px) repeat(3, auto);
	    gap: 8px;
	    align-items: center;
	    margin: 0 0 12px;
	    padding: 10px;
	    border: 1px solid #dbe4f1;
	    border-radius: 8px;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active[data-admin-tab="reports"] #reportFilters input,
	  .admin-page.admin-dashboard-active[data-admin-tab="reports"] #reportFilters .btn {
	    min-height: 36px;
	    border-radius: 7px;
	    font-size: 12px;
	  }

	  .admin-page.admin-dashboard-active .reports-admin-board {
	    display: grid;
	    gap: 10px;
	  }

	  .admin-page.admin-dashboard-active .reports-admin-overview {
	    display: grid;
	    grid-template-columns: repeat(5, minmax(120px, 1fr));
	    gap: 8px;
	  }

	  .admin-page.admin-dashboard-active .reports-admin-groups {
	    display: grid;
	    gap: 10px;
	  }

	  .admin-page.admin-dashboard-active .report-section {
	    overflow: hidden;
	    border: 1px solid #dbe4f1;
	    border-radius: 8px;
	    background: #fff;
	    box-shadow: 0 8px 18px rgba(3, 27, 78, 0.04);
	  }

	  .admin-page.admin-dashboard-active .report-section summary {
	    display: grid;
	    grid-template-columns: minmax(0, 1fr) auto;
	    gap: 10px;
	    align-items: center;
	    min-height: 48px;
	    padding: 10px 12px;
	    cursor: pointer;
	    list-style: none;
	    border-bottom: 1px solid transparent;
	  }

	  .admin-page.admin-dashboard-active .report-section summary::-webkit-details-marker {
	    display: none;
	  }

	  .admin-page.admin-dashboard-active .report-section[open] summary {
	    border-bottom-color: #e0e8f4;
	    background: #f8fbff;
	  }

	  .admin-page.admin-dashboard-active .report-section summary strong {
	    display: block;
	    color: var(--vinex-text);
	    font-size: 14px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .report-section summary small,
	  .admin-page.admin-dashboard-active .reports-admin-footnote {
	    color: #7186a3;
	    font-size: 11px;
	  }

	  .admin-page.admin-dashboard-active .report-section-grid {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    gap: 10px;
	    padding: 10px;
	  }

	  .admin-page.admin-dashboard-active .report-table-card.wide {
	    grid-column: 1 / -1;
	  }

	  .admin-page.admin-dashboard-active .report-table-head {
	    display: flex;
	    align-items: center;
	    justify-content: space-between;
	    gap: 8px;
	    margin-bottom: 7px;
	  }

	  .admin-page.admin-dashboard-active .report-table-head h3 {
	    margin: 0;
	    color: var(--vinex-text);
	    font-size: 13px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .report-table-wrap {
	    max-height: 380px;
	    overflow: auto;
	    border: 1px solid #dbe4f1;
	    border-radius: 8px;
	    background: #fff;
	    box-shadow: none;
	  }

	  .admin-page.admin-dashboard-active .report-mini-table {
	    min-width: 100%;
	    font-size: 11.5px;
	  }

	  .admin-page.admin-dashboard-active .report-mini-table th,
	  .admin-page.admin-dashboard-active .report-mini-table td {
	    padding: 8px 9px;
	    line-height: 1.35;
	  }

	  .admin-page.admin-dashboard-active .report-mini-table thead th {
	    position: sticky;
	    top: 0;
	    z-index: 1;
	    color: #455a78;
	    background: #f3f7fc;
	  }

	  .admin-page.admin-dashboard-active .report-stat-strip {
	    display: grid;
	    grid-template-columns: repeat(4, minmax(0, 1fr));
	    gap: 8px;
	    padding: 10px 10px 0;
	  }

	  .admin-page.admin-dashboard-active .report-stat-strip .stat-card {
	    grid-template-columns: 32px minmax(0, 1fr);
	    min-height: 70px;
	    padding: 9px 10px;
	  }

	  .admin-page.admin-dashboard-active .report-stat-strip .stat-card strong {
	    font-size: 16px;
	  }

	  .admin-page.admin-dashboard-active .reports-admin-footnote {
	    margin: 0;
	    padding: 0 2px;
	    text-align: left;
	  }

	  .admin-page.admin-dashboard-active .product-admin-board {
	    display: grid;
	    gap: 12px;
	  }

	  .admin-page.admin-dashboard-active .product-admin-overview {
	    display: grid;
	    grid-template-columns: repeat(5, minmax(120px, 1fr));
	    gap: 8px;
	  }

	  .admin-page.admin-dashboard-active .product-admin-stat {
	    display: grid;
	    gap: 3px;
	    min-width: 0;
	    min-height: 58px;
	    padding: 10px 12px;
	    border: 1px solid #dbe4f1;
	    border-radius: 8px;
	    background: #f8fbff;
	  }

	  .admin-page.admin-dashboard-active .product-admin-stat small {
	    color: #7186a3;
	    font-size: 11px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .product-admin-stat strong {
	    color: var(--vinex-text);
	    font-size: 18px;
	    line-height: 1.1;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .product-admin-stat.ok {
	    border-color: #b8efd8;
	    background: #f0fff8;
	  }

	  .admin-page.admin-dashboard-active .product-admin-stat.warn {
	    border-color: #fee1a8;
	    background: #fffaf0;
	  }

	  .admin-page.admin-dashboard-active .product-admin-stat.danger {
	    border-color: #fecdd3;
	    background: #fff5f6;
	  }

		  .admin-page.admin-dashboard-active .product-admin-list {
		    display: grid;
		    grid-template-columns: repeat(2, minmax(0, 1fr));
		    gap: 10px;
		  }

		  .admin-page.admin-dashboard-active .product-admin-card {
		    overflow: hidden;
		    border: 1px solid var(--vinex-line);
	    border-radius: 8px;
		    background: #fff;
		    box-shadow: 0 8px 18px rgba(3, 27, 78, 0.035);
		  }

		  .admin-page.admin-dashboard-active .product-admin-card:has(.product-admin-details[open]) {
		    grid-column: 1 / -1;
		  }

	  .admin-page.admin-dashboard-active .product-admin-card-head {
	    display: grid;
	    grid-template-columns: minmax(0, 1fr) auto;
	    gap: 12px;
	    align-items: center;
	    padding: 11px 12px;
	    border-bottom: 1px solid #e0e8f4;
	    background: #f8fbff;
	  }

	  .admin-page.admin-dashboard-active .product-admin-title {
	    display: grid;
	    grid-template-columns: 34px minmax(0, 1fr);
	    gap: 9px;
	    align-items: center;
	    min-width: 0;
	  }

	  .admin-page.admin-dashboard-active .product-admin-icon {
	    display: grid;
	    place-items: center;
	    width: 34px;
	    height: 34px;
	    border-radius: 8px;
	    color: #05a89b;
	    background: #e9fbf8;
	  }

	  .admin-page.admin-dashboard-active .product-admin-icon svg {
	    width: 18px;
	    height: 18px;
	  }

	  .admin-page.admin-dashboard-active .product-admin-title strong {
	    display: block;
	    color: var(--vinex-text);
	    font-size: 15px;
	    line-height: 1.25;
	    font-weight: 900;
	    white-space: nowrap;
	    overflow: hidden;
	    text-overflow: ellipsis;
	  }

	  .admin-page.admin-dashboard-active .product-admin-title small {
	    color: #7186a3;
	    font-size: 11.5px;
	    font-weight: 800;
	  }

	  .admin-page.admin-dashboard-active .product-admin-actions {
	    display: flex;
	    flex-wrap: wrap;
	    gap: 6px;
	    justify-content: flex-start;
	  }

	  .admin-page.admin-dashboard-active .product-admin-actions .btn {
	    min-width: 70px;
	    min-height: 34px;
	    border-radius: 6px;
	  }

	  .admin-page.admin-dashboard-active .product-admin-summary {
	    display: grid;
	    grid-template-columns: repeat(5, minmax(0, 1fr));
	    gap: 8px;
	    padding: 10px 12px;
	    border-bottom: 1px solid #e0e8f4;
	  }

	  .admin-page.admin-dashboard-active .product-admin-details {
	    border-bottom: 0;
	  }

	  .admin-page.admin-dashboard-active .product-admin-details:not([open]) > :not(summary),
	  .admin-page.admin-dashboard-active .product-admin-details:not([open]) > :not(summary) * {
	    display: none !important;
	  }

	  .admin-page.admin-dashboard-active .product-admin-details summary {
	    display: grid;
	    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr) auto;
	    gap: 10px;
	    align-items: center;
	    min-height: 42px;
	    padding: 10px 12px;
	    cursor: pointer;
	    list-style: none;
	    border-bottom: 1px solid transparent;
	    color: #455a78;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .product-admin-details summary::-webkit-details-marker {
	    display: none;
	  }

	  .admin-page.admin-dashboard-active .product-admin-details summary::after {
	    content: "فتح";
	    justify-self: end;
	    padding: 4px 9px;
	    border: 1px solid #dbe4f1;
	    border-radius: 999px;
	    color: #05a89b;
	    background: #f0fffb;
	    font-size: 11px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .product-admin-details[open] summary {
	    border-bottom-color: #e0e8f4;
	    background: #f8fbff;
	  }

	  .admin-page.admin-dashboard-active .product-admin-details[open] summary::after {
	    content: "إغلاق";
	    color: #506680;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .product-admin-details summary span {
	    color: var(--vinex-text);
	    font-size: 12.5px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .product-admin-details summary small {
	    min-width: 0;
	    color: #7186a3;
	    font-size: 11px;
	    font-weight: 800;
	    white-space: nowrap;
	    overflow: hidden;
	    text-overflow: ellipsis;
	  }

	  .admin-page.admin-dashboard-active .product-admin-layout {
	    display: grid;
	    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
	    gap: 0 16px;
	    padding: 0 12px 12px;
	  }

	  .admin-page.admin-dashboard-active .product-admin-section {
	    min-width: 0;
	    padding-top: 12px;
	  }

	  .admin-page.admin-dashboard-active .product-admin-radius-section {
	    grid-column: 1 / -1;
	    margin-top: 12px;
	    border-top: 1px solid #e0e8f4;
	  }

	  .admin-page.admin-dashboard-active .product-admin-section h3 {
	    margin: 0 0 8px;
	    color: var(--vinex-text);
	    font-size: 13px;
	    line-height: 1.25;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .product-admin-fields {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    gap: 8px;
	    align-items: end;
	  }

	  .admin-page.admin-dashboard-active .product-admin-section-main .product-admin-fields,
	  .admin-page.admin-dashboard-active .product-admin-radius-section .product-admin-fields {
	    grid-template-columns: repeat(4, minmax(0, 1fr));
	  }

	  .admin-page.admin-dashboard-active .product-admin-field,
	  .admin-page.admin-dashboard-active .product-admin-check {
	    min-width: 0;
	    gap: 5px;
	    color: #7186a3;
	    font-size: 11px;
	    font-weight: 900;
	    line-height: 1.35;
	  }

	  .admin-page.admin-dashboard-active .product-admin-field.wide,
	  .admin-page.admin-dashboard-active .product-admin-check.wide {
	    grid-column: span 2;
	  }

	  .admin-page.admin-dashboard-active .product-admin-check {
	    display: flex;
	    align-items: center;
	    min-height: 36px;
	    padding: 7px 9px;
	    border: 1px solid #e0e8f4;
	    border-radius: 7px;
	    color: #455a78;
	    background: #f8fbff;
	  }

	  .admin-page.admin-dashboard-active .product-admin-check input {
	    width: 15px;
	    height: 15px;
	    min-height: 0;
	    padding: 0;
	    accent-color: #05a89b;
	  }

	  .admin-page.admin-dashboard-active .product-admin-card input,
	  .admin-page.admin-dashboard-active .product-admin-card select {
	    min-height: 36px;
	    padding: 7px 9px;
	    border-color: #dbe4f1;
	    border-radius: 6px;
	    background: #f8fbff;
	    color: #273b55;
	    font-size: 12px;
	    box-shadow: none;
	  }

	  .admin-page.admin-dashboard-active .product-admin-policy {
	    display: flex;
	    flex-wrap: wrap;
	    gap: 7px;
	    align-items: center;
	    margin-top: 9px;
	    color: #7186a3;
	    font-size: 11.5px;
	    font-weight: 800;
	  }

	  .admin-page.admin-dashboard-active .cards-admin-board {
	    display: grid;
	    gap: 10px;
	    margin-bottom: 10px;
	  }

	  .admin-page.admin-dashboard-active .cards-admin-overview {
	    display: grid;
	    grid-template-columns: repeat(6, minmax(112px, 1fr));
	    gap: 8px;
	  }

	  .admin-page.admin-dashboard-active [data-tab-panel="palpay-sync"] .panel-body {
	    display: grid;
	    gap: 10px;
	  }

	  .admin-page.admin-dashboard-active .palpay-sync-board {
	    display: grid;
	    gap: 10px;
	  }

	  .admin-page.admin-dashboard-active .palpay-sync-top {
	    display: grid;
	    grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
	    gap: 10px;
	    align-items: start;
	  }

	  .admin-page.admin-dashboard-active .palpay-balance-grid {
	    display: grid;
	    grid-template-columns: 1fr;
	    gap: 8px;
	    margin: 0;
	  }

	  .admin-page.admin-dashboard-active .palpay-balance-panel {
	    grid-template-columns: 1fr;
	    gap: 7px;
	    min-height: 0;
	    margin: 0;
	    padding: 12px;
	    border-color: #cfe9e5;
	    border-radius: 8px;
	    background: #f5fffd;
	  }

	  .admin-page.admin-dashboard-active .palpay-balance-grid .palpay-balance-panel {
	    min-height: 0;
	  }

	  .admin-page.admin-dashboard-active .palpay-balance-panel span {
	    color: #637a95;
	    font-size: 11.5px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .palpay-balance-panel strong,
	  .admin-page.admin-dashboard-active .palpay-balance-grid .palpay-balance-panel strong {
	    margin-top: 2px;
	    color: #035f57;
	    font-size: 24px;
	    line-height: 1.08;
	  }

	  .admin-page.admin-dashboard-active .palpay-balance-panel small {
	    max-width: 100%;
	    color: #7186a3;
	    font-size: 11px;
	    line-height: 1.35;
	    text-align: start;
	    overflow-wrap: anywhere;
	  }

	  .admin-page.admin-dashboard-active .palpay-ledger-board {
	    min-width: 0;
	    padding: 12px;
	    border: 1px solid var(--vinex-line);
	    border-radius: 8px;
	    background: #fff;
	    box-shadow: 0 8px 18px rgba(3, 27, 78, 0.03);
	  }

	  .admin-page.admin-dashboard-active .wallet-ledger-head {
	    margin-bottom: 9px;
	  }

	  .admin-page.admin-dashboard-active .wallet-ledger-head h3,
	  .admin-page.admin-dashboard-active .wallet-ledger-panel-head h3,
	  .admin-page.admin-dashboard-active .sync-details h3,
	  .admin-page.admin-dashboard-active .sync-details > summary,
	  .admin-page.admin-dashboard-active .wallet-ledger-history > summary,
	  .admin-page.admin-dashboard-active #palpaySyncLogTable h3 {
	    color: var(--vinex-text);
	    font-size: 14px;
	    font-weight: 900;
	  }

		  .admin-page.admin-dashboard-active .sync-details > summary,
		  .admin-page.admin-dashboard-active .wallet-ledger-tools > summary,
		  .admin-page.admin-dashboard-active .wallet-ledger-history > summary {
		    cursor: pointer;
		    list-style-position: inside;
		  }

		  .admin-page.admin-dashboard-active .wallet-ledger-tools > summary {
		    display: grid;
		    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.65fr) auto;
		    gap: 8px;
		    align-items: center;
		    min-height: 36px;
		    list-style: none;
		  }

		  .admin-page.admin-dashboard-active .wallet-ledger-tools > summary::-webkit-details-marker {
		    display: none;
		  }

		  .admin-page.admin-dashboard-active .wallet-ledger-tools > summary span {
		    color: var(--vinex-text);
		    font-size: 13px;
		    font-weight: 900;
		  }

		  .admin-page.admin-dashboard-active .wallet-ledger-tools > summary small {
		    min-width: 0;
		    color: #7186a3;
		    font-size: 11px;
		    font-weight: 800;
		    white-space: nowrap;
		    overflow: hidden;
		    text-overflow: ellipsis;
		  }

		  .admin-page.admin-dashboard-active .wallet-ledger-tools > summary::after {
		    content: "فتح";
		    justify-self: end;
		    padding: 4px 9px;
		    border: 1px solid #dbe4f1;
		    border-radius: 999px;
		    color: #05a89b;
		    background: #f0fffb;
		    font-size: 11px;
		    font-weight: 900;
		  }

		  .admin-page.admin-dashboard-active .wallet-ledger-tools[open] > summary {
		    margin-bottom: 10px;
		    padding-bottom: 8px;
		    border-bottom: 1px solid #e0e8f4;
		  }

		  .admin-page.admin-dashboard-active .wallet-ledger-tools[open] > summary::after {
		    content: "إغلاق";
		    color: #506680;
		    background: #fff;
		  }

		  .admin-page.admin-dashboard-active .sync-details > summary {
		    margin: -2px 0;
		  }

		  .admin-page.admin-dashboard-active .sync-details[open] > summary,
		  .admin-page.admin-dashboard-active .wallet-ledger-tools[open] > summary,
		  .admin-page.admin-dashboard-active .wallet-ledger-history[open] > summary {
		    margin-bottom: 10px;
		  }

	  .admin-page.admin-dashboard-active .wallet-ledger-history {
	    margin-top: 8px;
	    padding: 9px 10px;
	    border: 1px solid #e0e8f4;
	    border-radius: 7px;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .wallet-ledger-head small,
	  .admin-page.admin-dashboard-active .wallet-ledger-panel-head small {
	    color: #7186a3;
	    font-size: 11.5px;
	    font-weight: 800;
	  }

	  .admin-page.admin-dashboard-active .palpay-sync-stats,
	  .admin-page.admin-dashboard-active .wallet-ledger-stats {
	    grid-template-columns: repeat(5, minmax(110px, 1fr));
	    gap: 8px;
	    margin: 0;
	  }

	  .admin-page.admin-dashboard-active .wallet-ledger-stats {
	    grid-template-columns: repeat(4, minmax(115px, 1fr));
	    margin-bottom: 10px;
	  }

	  .admin-page.admin-dashboard-active .palpay-sync-stats .stat-card,
	  .admin-page.admin-dashboard-active .wallet-ledger-stats .stat-card {
	    grid-template-columns: 32px minmax(0, 1fr);
	    gap: 8px;
	    min-height: 68px;
	    padding: 9px 10px;
	    border-color: #dbe4f1;
	    background: #f8fbff;
	  }

	  .admin-page.admin-dashboard-active .palpay-sync-stats .stat-icon,
	  .admin-page.admin-dashboard-active .wallet-ledger-stats .stat-icon {
	    width: 32px;
	    height: 32px;
	    border-radius: 7px;
	    font-size: 13px;
	  }

	  .admin-page.admin-dashboard-active .palpay-sync-stats .stat-card strong,
	  .admin-page.admin-dashboard-active .wallet-ledger-stats .stat-card strong {
	    color: var(--vinex-text);
	    font-size: 17px;
	    line-height: 1.1;
	  }

	  .admin-page.admin-dashboard-active .palpay-sync-stats .stat-card span,
	  .admin-page.admin-dashboard-active .wallet-ledger-stats .stat-card span,
	  .admin-page.admin-dashboard-active .palpay-sync-stats .stat-card small,
	  .admin-page.admin-dashboard-active .wallet-ledger-stats .stat-card small {
	    margin-top: 2px;
	    font-size: 11px;
	    line-height: 1.25;
	  }

	  .admin-page.admin-dashboard-active .wallet-ledger-panel,
	  .admin-page.admin-dashboard-active .sync-details,
	  .admin-page.admin-dashboard-active #palpaySyncLogTable .mini-panel {
	    margin: 0;
	    padding: 12px;
	    border-color: #dbe4f1;
	    border-radius: 8px;
	    background: #fbfdff;
	  }

	  .admin-page.admin-dashboard-active .wallet-ledger-tools:not([open]) > :not(summary),
	  .admin-page.admin-dashboard-active .wallet-ledger-tools:not([open]) > :not(summary) *,
	  .admin-page.admin-dashboard-active .wallet-ledger-history:not([open]) > :not(summary),
	  .admin-page.admin-dashboard-active .wallet-ledger-history:not([open]) > :not(summary) *,
	  .admin-page.admin-dashboard-active .sync-details:not([open]) > :not(summary),
	  .admin-page.admin-dashboard-active .sync-details:not([open]) > :not(summary) * {
	    display: none !important;
	  }

	  .admin-page.admin-dashboard-active .wallet-ledger-form {
	    grid-template-columns: minmax(120px, 0.34fr) minmax(220px, 1fr) auto;
	    gap: 8px;
	    margin-bottom: 10px;
	  }

	  .admin-page.admin-dashboard-active .wallet-ledger-table,
	  .admin-page.admin-dashboard-active #palpaySyncLogTable .table-wrap {
	    margin-top: 8px;
	  }

	  .admin-page.admin-dashboard-active [data-table="wallet-bank-transfers"] th,
	  .admin-page.admin-dashboard-active [data-table="wallet-bank-transfers"] td,
	  .admin-page.admin-dashboard-active [data-table="palpay-sync-logs"] th,
	  .admin-page.admin-dashboard-active [data-table="palpay-sync-logs"] td {
	    padding: 8px 9px;
	  }

	  .admin-page.admin-dashboard-active .sync-lines {
	    grid-template-columns: repeat(3, minmax(0, 1fr));
	    gap: 8px;
	  }

	  .admin-page.admin-dashboard-active .sync-lines div {
	    display: grid;
	    gap: 3px;
	    min-width: 0;
	    padding: 8px 9px;
	    border: 1px solid #e0e8f4;
	    border-radius: 7px;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .sync-lines span {
	    color: #7186a3;
	    font-size: 11px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .sync-lines strong {
	    min-width: 0;
	    color: #273b55;
	    font-size: 12px;
	    line-height: 1.4;
	    overflow-wrap: anywhere;
	  }

	  .admin-page.admin-dashboard-active [data-tab-panel="palpay-sync"] .row-actions {
	    display: flex;
	    flex-wrap: wrap;
	    gap: 8px;
	    align-items: center;
	    margin: 0;
	    padding: 10px;
	    border: 1px solid #dbe4f1;
	    border-radius: 8px;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active [data-tab-panel="palpay-sync"] .row-actions .btn {
	    min-height: 36px;
	    border-radius: 6px;
	  }

	  .admin-page.admin-dashboard-active [data-table="cards-list"] th,
	  .admin-page.admin-dashboard-active [data-table="cards-list"] td {
	    padding: 9px 10px;
	  }

	  .admin-page.admin-dashboard-active [data-table="cards-list"] code {
	    color: #15345f;
	    font-size: 12px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .cards-admin-table .card-data-details {
	    display: grid;
	    gap: 6px;
	  }

	  .admin-page.admin-dashboard-active .cards-admin-table .card-data-details > summary {
	    display: grid;
	    grid-template-columns: minmax(0, 1fr) auto;
	    gap: 8px;
	    min-height: 30px;
	    padding: 5px 8px;
	    border: 1px solid #dbe4f1;
	    border-radius: 6px;
	    color: #03285f;
	    background: #f8fbff;
	    font-size: 11px;
	    font-weight: 900;
	    cursor: pointer;
	  }

	  .admin-page.admin-dashboard-active .cards-admin-table .card-data-details > summary small {
	    color: #7087a5;
	    font-size: 10.5px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .cards-admin-table .card-data-grid {
	    display: grid;
	    gap: 5px;
	    padding: 7px;
	    border: 1px solid #e1e9f4;
	    border-radius: 7px;
	    background: #fff;
	  }
	}

@media (max-width: 980px) {
  .admin-page.admin-dashboard-active .product-admin-board,
  .admin-page.admin-dashboard-active .product-admin-list {
    display: grid;
    gap: 10px;
  }

  .admin-page.admin-dashboard-active .product-admin-list {
    grid-template-columns: 1fr;
  }

  .admin-page.admin-dashboard-active .product-admin-overview,
  .admin-page.admin-dashboard-active .product-admin-summary,
  .admin-page.admin-dashboard-active .product-admin-layout,
  .admin-page.admin-dashboard-active .product-admin-fields {
    display: grid;
    gap: 8px;
  }

  .admin-page.admin-dashboard-active .product-admin-overview,
  .admin-page.admin-dashboard-active .product-admin-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-page.admin-dashboard-active .product-admin-overview,
  .admin-page.admin-dashboard-active .product-admin-summary {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
  }

  .admin-page.admin-dashboard-active .product-admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-page.admin-dashboard-active .product-admin-card {
    overflow: hidden;
    border: 1px solid #d8e1ef;
    border-radius: 8px;
    background: #fff;
  }

  .admin-page.admin-dashboard-active .product-admin-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid #e0e8f4;
    background: #f8fbff;
  }

  .admin-page.admin-dashboard-active .product-admin-title {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
  }

  .admin-page.admin-dashboard-active .product-admin-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: #05a89b;
    background: #e9fbf8;
  }

  .admin-page.admin-dashboard-active .product-admin-icon svg {
    width: 16px;
    height: 16px;
  }

  .admin-page.admin-dashboard-active .product-admin-title strong {
    color: #031b4e;
    font-size: 13.5px;
    line-height: 1.25;
    font-weight: 900;
  }

  .admin-page.admin-dashboard-active .product-admin-title small,
  .admin-page.admin-dashboard-active .product-admin-stat small,
  .admin-page.admin-dashboard-active .product-admin-policy {
    color: #7186a3;
    font-size: 10.5px;
  }

  .admin-page.admin-dashboard-active .product-admin-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .admin-page.admin-dashboard-active .product-admin-actions .btn {
    min-width: 42px;
    min-height: 30px;
    padding: 6px 5px;
    border-radius: 6px;
    font-size: 10.5px;
  }

  .admin-page.admin-dashboard-active .product-admin-summary,
  .admin-page.admin-dashboard-active .product-admin-layout {
    padding: 8px 10px;
  }

  .admin-page.admin-dashboard-active .product-admin-details summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 34px;
    padding: 7px 10px;
  }

  .admin-page.admin-dashboard-active .product-admin-details summary small {
    display: none;
  }

  .admin-page.admin-dashboard-active .product-admin-details:not([open]) > :not(summary),
  .admin-page.admin-dashboard-active .product-admin-details:not([open]) > :not(summary) * {
    display: none !important;
  }

  .admin-page.admin-dashboard-active .product-admin-stat {
    display: grid;
    gap: 2px;
    min-height: 42px;
    padding: 6px 4px;
    border: 1px solid #dbe4f1;
    border-radius: 8px;
    background: #f8fbff;
    text-align: center;
  }

  .admin-page.admin-dashboard-active .product-admin-stat strong {
    color: #031b4e;
    font-size: 14px;
    line-height: 1.15;
    font-weight: 900;
  }

  .admin-page.admin-dashboard-active .product-admin-section {
    padding-top: 9px;
    border-top: 1px solid #e0e8f4;
  }

  .admin-page.admin-dashboard-active .product-admin-section h3 {
    margin: 0 0 8px;
    color: #031b4e;
    font-size: 13px;
    font-weight: 900;
  }

  .admin-page.admin-dashboard-active .product-admin-field,
  .admin-page.admin-dashboard-active .product-admin-check {
    min-width: 0;
    gap: 5px;
    color: #7186a3;
    font-size: 11.5px;
    font-weight: 900;
  }

  .admin-page.admin-dashboard-active .product-admin-field.wide,
  .admin-page.admin-dashboard-active .product-admin-check.wide,
  .admin-page.admin-dashboard-active .product-admin-radius-section .product-admin-field {
    grid-column: 1 / -1;
  }

  .admin-page.admin-dashboard-active .product-admin-check {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 9px;
    border: 1px solid #e0e8f4;
    border-radius: 7px;
    color: #455a78;
    background: #f8fbff;
  }

  .admin-page.admin-dashboard-active .product-admin-card input,
  .admin-page.admin-dashboard-active .product-admin-card select {
    min-height: 38px;
    border-color: #dbe4f1;
    border-radius: 7px;
    background: #fff;
  }

  .admin-page.admin-dashboard-active .cards-admin-board {
    display: grid;
    gap: 10px;
    margin-bottom: 10px;
  }

  .admin-page.admin-dashboard-active .cards-admin-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-page.admin-dashboard-active .cards-admin-overview .product-admin-stat {
    min-height: 34px;
    padding: 4px 7px;
  }

  .admin-page.admin-dashboard-active .cards-admin-overview .product-admin-stat strong {
    font-size: 13px;
  }

  .admin-page.admin-dashboard-active .cards-admin-overview .product-admin-stat:nth-child(n+4) {
    display: none;
  }

  .admin-page.admin-dashboard-active .cards-admin-table td {
    padding-block: 6px;
  }

  .admin-page.admin-dashboard-active .cards-admin-table .card-data-details > summary {
    min-height: 28px;
    padding: 5px 7px;
    font-size: 10.5px;
  }

  .admin-page.admin-dashboard-active .cards-admin-table .card-data-grid {
    gap: 4px;
    padding: 6px;
  }

  .admin-page.admin-dashboard-active .cards-admin-table tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 5px 7px;
    padding: 8px;
    border-color: #dbe4f1;
    border-radius: 8px;
    background: #fff;
  }

  .admin-page.admin-dashboard-active .cards-admin-table td {
    display: block;
    width: auto;
    padding: 4px 5px;
    font-size: 11px;
    line-height: 1.3;
    border-bottom: 0;
  }

  .admin-page.admin-dashboard-active .cards-admin-table td::before {
    display: block;
    margin-bottom: 2px;
    color: #7087a5;
    font-size: 10.5px;
    line-height: 1.15;
  }

  .admin-page.admin-dashboard-active .cards-admin-table td[data-label="النوع"],
  .admin-page.admin-dashboard-active .cards-admin-table td[data-label="البيانات"] {
    grid-column: 1 / -1;
  }

  .admin-page.admin-dashboard-active .cards-admin-table td[data-label="النوع"] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    padding-bottom: 2px;
    color: #031b4e;
    font-weight: 900;
  }

  .admin-page.admin-dashboard-active .cards-admin-table td[data-label="النوع"]::before {
    margin: 0;
  }

  .admin-page.admin-dashboard-active .cards-admin-table td[data-label="البيانات"] {
    padding-top: 0;
  }

  .admin-page.admin-dashboard-active .cards-admin-table td[data-label="الطلب"] {
    overflow: hidden;
  }

  .admin-page.admin-dashboard-active .cards-admin-table td[data-label="الطلب"] .ltr,
  .admin-page.admin-dashboard-active .cards-admin-table td[data-label="الطلب"] span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-page.admin-dashboard-active .cards-admin-table td[data-label="الطلب"] small {
    display: none;
  }

  .admin-page.admin-dashboard-active .cards-admin-table td[data-label="أرشفة"] {
    align-self: end;
  }

  .admin-page.admin-dashboard-active .cards-admin-table .btn {
    width: 100%;
    min-height: 30px;
    padding: 5px 6px;
    font-size: 10px;
  }

  .admin-page.admin-dashboard-active .orders-admin-board {
    display: grid;
    gap: 9px;
  }

  .admin-page.admin-dashboard-active .orders-admin-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .admin-page.admin-dashboard-active .orders-admin-overview .product-admin-stat {
    min-height: 34px;
    padding: 5px 6px;
  }

  .admin-page.admin-dashboard-active .orders-admin-overview .product-admin-stat strong {
    font-size: 12.5px;
  }

  .admin-page.admin-dashboard-active .orders-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 9px;
  }

  .admin-page.admin-dashboard-active .orders-toolbar input[type="search"],
  .admin-page.admin-dashboard-active .orders-toolbar .smart-filter-tabs {
    grid-column: 1 / -1;
  }

  .admin-page.admin-dashboard-active .orders-toolbar .smart-filter-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .admin-page.admin-dashboard-active .orders-toolbar .smart-filter-tabs button {
    width: 100%;
    min-width: 0;
    min-height: 30px;
    padding: 5px 6px;
    white-space: normal;
  }

  .admin-page.admin-dashboard-active .orders-admin-table tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 5px 6px;
    padding: 8px;
    border-color: #dbe4f1;
    border-radius: 8px;
    background: #fff;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td {
    display: block;
    width: auto;
    min-width: 0;
    padding: 5px 6px;
    border: 1px solid #e1e9f4;
    border-radius: 7px;
    background: #f8fbff;
    font-size: 11px;
    line-height: 1.25;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td::before {
    display: block;
    margin-bottom: 3px;
    color: #7087a5;
    font-size: 10.5px;
    line-height: 1.15;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الطلب"] {
    grid-column: 1 / span 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 6px;
    align-items: center;
    background: #fff;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="تشغيل"] {
    grid-column: 1 / -1;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="المبلغ"] {
    background: #fff;
    text-align: center;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الإثبات"] {
    grid-column: 2 / span 2;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الزبون"] {
    grid-column: 1 / -1;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="المرجع"] {
    display: none;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الطلب"]::before,
  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="المبلغ"]::before,
  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="تشغيل"]::before {
    display: none;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الطلب"] > br:first-of-type,
  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الطلب"] > small:first-of-type,
  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="المبلغ"] small {
    display: none;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الطلب"] > br {
    display: none;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الطلب"] > strong {
    grid-column: 1 / -1;
    display: block;
    overflow: hidden;
    color: #031b4e;
    font-size: 11.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الطلب"] > .badge {
    min-height: 20px;
    padding: 3px 6px;
    font-size: 10px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table small,
  .admin-page.admin-dashboard-active .orders-admin-table .empty {
    font-size: 10px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الحالة"] small {
    display: none;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الحالة"] > br {
    display: none;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الحالة"] .badge {
    margin: 0 0 3px 3px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الحالة"] .badge:nth-of-type(n+2) {
    display: none;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الحالة"] .order-row-reason {
    display: block;
    max-height: 32px;
    overflow: hidden;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .proof-quality {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 3px 6px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .proof-quality small {
    display: none;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .proof-quality strong {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .proof-entered-data {
    display: none;
  }

  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الزبون"] > br,
  .admin-page.admin-dashboard-active .orders-admin-table td[data-label="الزبون"] > small {
    display: none;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .candidate-phone-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(112px, auto);
    align-items: center;
    gap: 5px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .candidate-phone-line .btn {
    min-height: 28px;
    padding: 5px 7px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .order-details {
    margin-top: 5px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .order-details summary {
    min-height: 22px;
    font-size: 10px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .payment-evidence-panel {
    gap: 7px;
    padding: 7px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .payment-evidence-head,
  .admin-page.admin-dashboard-active .orders-admin-table .payment-candidate-head {
    gap: 5px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .payment-evidence-head h4 {
    font-size: 12px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .payment-evidence-head p,
  .admin-page.admin-dashboard-active .orders-admin-table .candidate-operator-line strong {
    font-size: 10.5px;
    line-height: 1.35;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .payment-candidate-list,
  .admin-page.admin-dashboard-active .orders-admin-table .payment-candidate-review {
    gap: 6px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .payment-candidate-review {
    padding: 7px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .payment-candidate-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .payment-candidate-quick div,
  .admin-page.admin-dashboard-active .orders-admin-table .candidate-operator-line {
    padding: 5px 6px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .payment-candidate-quick span,
  .admin-page.admin-dashboard-active .orders-admin-table .candidate-operator-line span,
  .admin-page.admin-dashboard-active .orders-admin-table .payment-candidate-diagnostics > summary,
  .admin-page.admin-dashboard-active .orders-admin-table .order-secondary-details > summary {
    font-size: 10px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .payment-candidate-quick strong {
    font-size: 10.5px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .order-secondary-grid {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 7px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .order-quick-grid,
  .admin-page.admin-dashboard-active .orders-admin-table .order-core-details {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .order-quick-grid > .wide {
    grid-column: auto;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .order-quick-grid > div,
  .admin-page.admin-dashboard-active .orders-admin-table .order-core-details {
    padding: 7px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .order-core-details h4 {
    margin-bottom: 6px;
    font-size: 11.5px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .order-card-list li,
  .admin-page.admin-dashboard-active .orders-admin-table .order-timeline-list li {
    padding: 6px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .order-ops-details {
    min-width: 0;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .order-ops-details > summary {
    min-height: 28px;
    padding: 5px 7px;
    font-size: 10.5px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .order-ops-grid {
    min-width: 0;
    padding: 7px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table select,
  .admin-page.admin-dashboard-active .orders-admin-table .btn {
    min-height: 32px;
    font-size: 10.5px;
  }

  .admin-page.admin-dashboard-active .orders-admin-table .note-input {
    min-height: 34px;
    max-height: 34px;
    font-size: 10.5px;
  }

	  .admin-page.admin-dashboard-active .orders-admin-table .row-actions {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    gap: 5px;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-board {
	    display: grid;
	    gap: 9px;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-overview {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    gap: 7px;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-overview .product-admin-stat {
	    min-height: 38px;
	    padding: 6px 7px;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-overview .product-admin-stat strong {
	    font-size: 13px;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-table tr {
	    display: grid;
	    grid-template-columns: repeat(3, minmax(0, 1fr));
	    align-items: start;
	    gap: 5px 6px;
	    padding: 9px;
	    border-color: #dbe4f1;
	    border-radius: 8px;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-table td {
	    display: block;
	    width: auto;
	    min-width: 0;
	    padding: 5px 6px;
	    border: 1px solid #e1e9f4;
	    border-radius: 7px;
	    background: #f8fbff;
	    font-size: 11px;
	    line-height: 1.25;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-table td::before {
	    display: block;
	    margin-bottom: 3px;
	    color: #7087a5;
	    font-size: 10px;
	    line-height: 1.1;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-table td[data-label="الطلب"] {
	    grid-column: 1 / span 2;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-table td[data-label="النتيجة"] {
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-table td[data-label="المدخلات"] {
	    grid-column: 1 / span 2;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-table td[data-label="الحوالات المحتملة"] {
	    grid-column: 1 / -1;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-table td[data-label="الطلب"]::before,
	  .admin-page.admin-dashboard-active .attempts-admin-table td[data-label="الحوالات المحتملة"]::before {
	    display: none;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-table td[data-label="الطلب"] .ltr,
	  .admin-page.admin-dashboard-active .attempts-admin-table td[data-label="النتيجة"] .ltr {
	    display: block;
	    overflow: hidden;
	    color: #031b4e;
	    font-weight: 900;
	    text-overflow: ellipsis;
	    white-space: nowrap;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-table td[data-label="المبلغ"] small,
	  .admin-page.admin-dashboard-active .attempts-admin-table td[data-label="النتيجة"] small,
	  .admin-page.admin-dashboard-active .attempts-admin-table td[data-label="المدخلات"] small {
	    display: block;
	    overflow: hidden;
	    text-overflow: ellipsis;
	    white-space: nowrap;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-table small,
	  .admin-page.admin-dashboard-active .attempts-admin-table .empty {
	    font-size: 10px;
	  }

	  .admin-page.admin-dashboard-active .attempts-admin-table .link-button {
	    display: inline-flex;
	    width: auto;
	    min-height: 24px;
	    margin-top: 4px;
	    padding: 4px 0;
	    font-size: 10px;
	  }

	  .admin-page.admin-dashboard-active .attempt-candidate-line {
	    grid-template-columns: minmax(0, 1fr) auto;
	    align-items: center;
	    gap: 3px 6px;
	    padding: 5px 6px;
	  }

	  .admin-page.admin-dashboard-active .attempt-candidate-line small {
	    grid-column: 1 / -1;
	  }

	  .admin-page.admin-dashboard-active .phonebook-admin-board {
	    display: grid;
	    gap: 9px;
	  }

	  .admin-page.admin-dashboard-active .phonebook-admin-overview {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    gap: 7px;
	  }

	  .admin-page.admin-dashboard-active .phonebook-admin-overview .product-admin-stat {
	    min-height: 38px;
	    padding: 6px 7px;
	  }

	  .admin-page.admin-dashboard-active .phonebook-admin-overview .product-admin-stat strong {
	    font-size: 13px;
	  }

	  .admin-page.admin-dashboard-active .phonebook-admin-table tr {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    align-items: start;
	    gap: 5px 6px;
	    padding: 9px;
	    border-color: #dbe4f1;
	    border-radius: 8px;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .phonebook-admin-table td {
	    display: block;
	    width: auto;
	    min-width: 0;
	    padding: 5px 6px;
	    border: 1px solid #e1e9f4;
	    border-radius: 7px;
	    background: #f8fbff;
	    font-size: 11px;
	    line-height: 1.25;
	  }

	  .admin-page.admin-dashboard-active .phonebook-admin-table td::before {
	    display: block;
	    margin-bottom: 3px;
	    color: #7087a5;
	    font-size: 10px;
	    line-height: 1.1;
	  }

	  .admin-page.admin-dashboard-active .phonebook-admin-table td[data-label="رقم الجوال"],
	  .admin-page.admin-dashboard-active .phonebook-admin-table td[data-label="الاسم"] {
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .phonebook-admin-table td[data-label="fromAccount"],
	  .admin-page.admin-dashboard-active .phonebook-admin-table td[data-label="آخر تحديث"] {
	    grid-column: 1 / -1;
	  }

	  .admin-page.admin-dashboard-active .phonebook-admin-table td[data-label="fromAccount"] {
	    overflow: hidden;
	    text-overflow: ellipsis;
	    white-space: nowrap;
	  }

	  .admin-page.admin-dashboard-active .phonebook-admin-table td[data-label="الاستخدام"] small,
	  .admin-page.admin-dashboard-active .phonebook-admin-table td[data-label="آخر تحديث"] small,
	  .admin-page.admin-dashboard-active .phonebook-admin-table td[data-label="الاسم"] small {
	    display: none;
	  }

	  .admin-page.admin-dashboard-active .phonebook-admin-table strong,
	  .admin-page.admin-dashboard-active .phonebook-admin-table .ltr {
	    display: block;
	    min-width: 0;
	    overflow: hidden;
	    text-overflow: ellipsis;
	    white-space: nowrap;
	  }

	  .admin-page.admin-dashboard-active .phonebook-admin-table small {
	    font-size: 10.5px;
	  }

	  .admin-page.admin-dashboard-active .audit-admin-board {
	    display: grid;
	    gap: 9px;
	  }

	  .admin-page.admin-dashboard-active .audit-admin-overview {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    gap: 7px;
	  }

	  .admin-page.admin-dashboard-active .audit-admin-overview .product-admin-stat {
	    min-height: 38px;
	    padding: 6px 7px;
	  }

	  .admin-page.admin-dashboard-active .audit-admin-overview .product-admin-stat strong {
	    font-size: 13px;
	  }

	  .admin-page.admin-dashboard-active #auditFilters {
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    gap: 7px;
	    padding: 9px;
	  }

	  .admin-page.admin-dashboard-active #auditFilters input,
	  .admin-page.admin-dashboard-active #auditFilters .btn {
	    min-height: 36px;
	    font-size: 11.5px;
	  }

	  .admin-page.admin-dashboard-active #auditFilters input[name="q"],
	  .admin-page.admin-dashboard-active #auditFilters .btn {
	    grid-column: 1 / -1;
	  }

	  .admin-page.admin-dashboard-active .audit-admin-table tr {
	    display: grid;
	    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	    gap: 6px;
	    padding: 9px;
	    border-color: #dbe4f1;
	    border-radius: 8px;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .audit-admin-table td {
	    display: grid;
	    grid-template-columns: 1fr;
	    gap: 3px;
	    min-width: 0;
	    padding: 6px 7px;
	    border: 1px solid #edf3f7;
	    border-radius: 7px;
	    background: #fff;
	    font-size: 10.8px;
	    line-height: 1.24;
	  }

	  .admin-page.admin-dashboard-active .audit-admin-table td::before {
	    color: #7186a3;
	    font-size: 9.8px;
	    line-height: 1.1;
	  }

	  .admin-page.admin-dashboard-active .audit-admin-table td[data-label="التفاصيل"] {
	    grid-column: 1 / -1;
	  }

	  .admin-page.admin-dashboard-active .audit-admin-table td[data-label="المستخدم"] small,
	  .admin-page.admin-dashboard-active .audit-admin-table td[data-label="الكيان"] small {
	    display: block;
	    max-width: 100%;
	    overflow: hidden;
	    direction: ltr;
	    text-overflow: ellipsis;
	    white-space: nowrap;
	  }

	  .admin-page.admin-dashboard-active .audit-admin-table td[data-label="العملية"] .badge {
	    display: block;
	    overflow: hidden;
	    text-align: center;
	    text-overflow: ellipsis;
	    white-space: nowrap;
	  }

	  .admin-page.admin-dashboard-active .audit-admin-table td[data-label="التفاصيل"] > div {
	    display: -webkit-box;
	    max-height: 34px;
	    overflow: hidden;
	    -webkit-box-orient: vertical;
	    -webkit-line-clamp: 2;
	  }

	  .admin-page.admin-dashboard-active .audit-details summary {
	    min-height: 22px;
	    font-size: 10.5px;
	  }

	  .admin-page.admin-dashboard-active .audit-details:not([open]) > :not(summary),
	  .admin-page.admin-dashboard-active .audit-details:not([open]) > :not(summary) * {
	    display: none !important;
	  }

	  .admin-page.admin-dashboard-active .audit-details pre {
	    max-height: 180px;
	    font-size: 10px;
	  }

	  .admin-page.admin-dashboard-active .transactions-admin-board {
	    display: grid;
	    gap: 9px;
	  }

	  .admin-page.admin-dashboard-active .transactions-admin-overview {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    gap: 7px;
	  }

	  .admin-page.admin-dashboard-active .transactions-admin-overview .product-admin-stat {
	    min-height: 38px;
	    padding: 6px 7px;
	  }

		  .admin-page.admin-dashboard-active .transactions-admin-overview .product-admin-stat strong {
		    font-size: 13px;
		  }

		  .admin-page.admin-dashboard-active .transactions-toolbar {
		    grid-template-columns: repeat(2, minmax(0, 1fr));
		    gap: 7px;
		    padding: 9px;
		  }

		  .admin-page.admin-dashboard-active .transactions-toolbar input[type="search"],
		  .admin-page.admin-dashboard-active .transactions-toolbar select[data-transaction-source-filter] {
		    grid-column: 1 / -1;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-overview {
		    grid-template-columns: repeat(3, minmax(0, 1fr));
		    gap: 6px;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-overview .product-admin-stat {
		    min-height: 34px;
		    padding: 5px 6px;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table tr {
		    display: grid;
		    grid-template-columns: repeat(3, minmax(0, 1fr));
		    align-items: start;
		    gap: 5px 7px;
		    padding: 8px;
		    border-color: #dbe4f1;
		    border-radius: 8px;
		    background: #fff;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table td {
		    display: block;
		    width: auto;
		    min-width: 0;
		    padding: 4px 5px;
		    font-size: 11px;
		    line-height: 1.3;
		    border-bottom: 0;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table td::before {
		    display: block;
		    margin-bottom: 2px;
		    color: #7087a5;
		    font-size: 10.5px;
		    line-height: 1.15;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="الاسم"],
		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="طلبات مقترحة"]:has(.transaction-candidates-details) {
		    grid-column: 1 / -1;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="الاسم"]::before,
		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="الحالة"]::before,
		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="طلبات مقترحة"]::before {
		    display: none;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="النوع"] {
		    display: none;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="المصدر"] {
		    grid-column: 3;
		    grid-row: 1;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="الحالة"] {
		    grid-column: 1 / span 2;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="طلبات مقترحة"] {
		    grid-column: 3;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="المصدر"]::before,
		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="الحالة"]::before,
		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="طلبات مقترحة"]::before {
		    display: none;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="المرجع"],
		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="المبلغ"],
		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="المصدر"] {
		    overflow: hidden;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="المرجع"] .ltr,
		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="المرجع"] small {
		    display: block;
		    overflow: hidden;
		    text-overflow: ellipsis;
		    white-space: nowrap;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table .transaction-sender strong {
		    display: block;
		    overflow: hidden;
		    font-size: 12px;
		    line-height: 1.25;
		    text-overflow: ellipsis;
		    white-space: nowrap;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table .transaction-sender {
		    grid-template-columns: minmax(0, 1fr) auto;
		    align-items: center;
		    gap: 6px;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table .transaction-detail-toggle > summary,
		  .admin-page.admin-dashboard-active .transactions-admin-table .transaction-candidates-details > summary {
		    min-height: 24px;
		    padding: 4px 6px;
		    font-size: 10px;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table .transaction-detail-toggle > div,
		  .admin-page.admin-dashboard-active .transactions-admin-table .transaction-candidates-details .candidate-orders {
		    padding: 6px;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table .transaction-status-actions {
		    display: grid;
		    grid-template-columns: auto repeat(2, minmax(0, 1fr));
		    align-items: center;
		    gap: 5px;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table .transaction-status-actions small {
		    grid-column: 1 / -1;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table .transaction-status-actions .btn,
		  .admin-page.admin-dashboard-active .transactions-admin-table .linked-order-actions .btn {
		    width: 100%;
		    min-height: 27px;
		    padding: 5px 6px;
		    font-size: 10px;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table td[data-label="طلبات مقترحة"] .empty {
		    display: block;
		    min-height: 27px;
		    padding: 6px 5px;
		    border: 1px solid #e1e9f4;
		    border-radius: 7px;
		    background: #f8fbff;
		    font-size: 10px;
		    line-height: 1.2;
		    text-align: center;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table .linked-order-actions {
		    display: grid;
		    grid-template-columns: minmax(0, 1fr) minmax(86px, auto);
		    align-items: center;
		    gap: 5px;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table .candidate-order {
		    padding: 7px;
		  }

		  .admin-page.admin-dashboard-active .transactions-admin-table .candidate-meta-row,
		  .admin-page.admin-dashboard-active .transactions-admin-table .candidate-money,
		  .admin-page.admin-dashboard-active .transactions-admin-table .candidate-person,
		  .admin-page.admin-dashboard-active .transactions-admin-table .candidate-evidence {
		    gap: 4px;
		  }

		  .admin-page.admin-dashboard-active .inventory-admin-table tbody {
		    display: grid;
		    gap: 8px;
		  }

		  .admin-page.admin-dashboard-active .inventory-admin-table tr {
		    display: grid;
		    grid-template-columns: repeat(4, minmax(0, 1fr));
		    align-items: start;
		    gap: 5px 6px;
		    padding: 8px;
		    border-color: #dbe4f1;
		    border-radius: 8px;
		    background: #fff;
		    box-shadow: none;
		  }

		  .admin-page.admin-dashboard-active .inventory-admin-table td {
		    display: block;
		    width: auto;
		    min-width: 0;
		    padding: 5px 6px;
		    border: 1px solid #e1e9f4;
		    border-radius: 7px;
		    background: #f8fbff;
		    color: #273b55;
		    font-size: 11px;
		    line-height: 1.25;
		  }

		  .admin-page.admin-dashboard-active .inventory-admin-table td::before {
		    display: block;
		    margin-bottom: 2px;
		    color: #7087a5;
		    font-size: 10px;
		    line-height: 1.1;
		  }

		  .admin-page.admin-dashboard-active .inventory-admin-table td[data-label="النوع"] {
		    grid-column: 1 / span 3;
		    display: flex;
		    align-items: center;
		    min-height: 32px;
		    background: #fff;
		  }

		  .admin-page.admin-dashboard-active .inventory-admin-table td[data-label="النوع"]::before {
		    display: none;
		  }

		  .admin-page.admin-dashboard-active .inventory-admin-table td[data-label="السعر"] {
		    display: grid;
		    place-items: center;
		    min-height: 32px;
		    color: #031b4e;
		    background: #fff;
		  }

		  .admin-page.admin-dashboard-active .inventory-admin-table td[data-label="السعر"]::before {
		    display: none;
		  }

		  .admin-page.admin-dashboard-active .inventory-admin-table td[data-label="المواصفات"] {
		    grid-column: 1 / span 3;
		    background: #fff;
		  }

		  .admin-page.admin-dashboard-active .inventory-admin-table td[data-label="التسمية"] {
		    display: grid;
		    place-items: center;
		    min-height: 34px;
		    text-align: center;
		    background: #fff;
		  }

		  .admin-page.admin-dashboard-active .inventory-admin-table td[data-label="التسمية"]::before {
		    display: none;
		  }

		  .admin-page.admin-dashboard-active .inventory-admin-table .inventory-product-name {
		    display: block;
		    overflow: hidden;
		    font-size: 12px;
		    text-overflow: ellipsis;
		    white-space: nowrap;
		  }

		  .admin-page.admin-dashboard-active .inventory-admin-table .inventory-specs {
		    display: flex;
		    flex-wrap: wrap;
		    gap: 4px;
		  }

		  .admin-page.admin-dashboard-active .inventory-admin-table .inventory-specs span {
		    padding: 3px 6px;
		    border: 1px solid #e1e9f4;
		    border-radius: 999px;
		    background: #f8fbff;
		    font-size: 10px;
		    line-height: 1.1;
		  }

		  .admin-page.admin-dashboard-active .inventory-admin-table .badge {
		    max-width: 100%;
		    font-size: 10px;
		  }

		  .admin-page.admin-dashboard-active .offers-admin-overview {
		    grid-template-columns: repeat(3, minmax(0, 1fr));
		    gap: 6px;
		  }

		  .admin-page.admin-dashboard-active .offers-admin-overview .product-admin-stat {
		    min-height: 38px;
		    padding: 6px 7px;
		  }

		  .admin-page.admin-dashboard-active .offers-admin-overview .product-admin-stat strong {
		    font-size: 13px;
		  }

		  .admin-page.admin-dashboard-active .offer-create-details {
		    padding: 10px;
		  }

		  .admin-page.admin-dashboard-active .offer-create-details > summary {
		    grid-template-columns: minmax(0, 1fr) auto;
		    min-height: 34px;
		  }

		  .admin-page.admin-dashboard-active .offer-create-details > summary span {
		    font-size: 13px;
		  }

		  .admin-page.admin-dashboard-active .offer-create-details > summary small {
		    display: none;
		  }

		  .admin-page.admin-dashboard-active .offer-admin-create .compact-form {
		    grid-template-columns: 1fr;
		    gap: 8px;
		  }

		  .admin-page.admin-dashboard-active .offers-admin-table thead {
		    display: none;
		  }

		  .admin-page.admin-dashboard-active .offers-admin-table tbody {
		    display: grid;
		    gap: 8px;
		  }

		  .admin-page.admin-dashboard-active .offers-admin-table tr {
		    display: grid;
		    grid-template-columns: minmax(0, 1fr) 96px;
		    align-items: start;
		    gap: 6px;
		    padding: 8px;
		    border: 1px solid #dbe4f1;
		    border-radius: 8px;
		    background: #fff;
		  }

		  .admin-page.admin-dashboard-active .offers-admin-table td {
		    display: block;
		    width: auto;
		    min-width: 0;
		    padding: 6px;
		    border: 1px solid #e1e9f4;
		    border-radius: 7px;
		    background: #f8fbff;
		    font-size: 11px;
		    line-height: 1.3;
		  }

		  .admin-page.admin-dashboard-active .offers-admin-table td::before {
		    display: block;
		    margin-bottom: 3px;
		    color: #7087a5;
		    font-size: 10px;
		    line-height: 1.1;
		  }

		  .admin-page.admin-dashboard-active .offers-admin-table td[data-label="العرض"],
		  .admin-page.admin-dashboard-active .offers-admin-table td[data-label="المخزون"],
		  .admin-page.admin-dashboard-active .offers-admin-table td[data-label="تحرير"] {
		    grid-column: 1 / -1;
		  }

		  .admin-page.admin-dashboard-active .offers-admin-table td[data-label="العرض"]::before,
		  .admin-page.admin-dashboard-active .offers-admin-table td[data-label="المخزون"]::before,
		  .admin-page.admin-dashboard-active .offers-admin-table td[data-label="تحرير"]::before {
		    display: none;
		  }

		  .admin-page.admin-dashboard-active .offer-admin-title {
		    grid-template-columns: minmax(0, 1fr) auto;
		    align-items: center;
		    gap: 4px 6px;
		  }

		  .admin-page.admin-dashboard-active .offer-admin-title strong {
		    overflow: hidden;
		    font-size: 12.5px;
		    text-overflow: ellipsis;
		    white-space: nowrap;
		  }

		  .admin-page.admin-dashboard-active .offer-admin-title small {
		    grid-column: 1 / -1;
		    overflow: hidden;
		    text-overflow: ellipsis;
		    white-space: nowrap;
		  }

		  .admin-page.admin-dashboard-active .offer-admin-product,
		  .admin-page.admin-dashboard-active .offer-admin-deal strong {
		    display: block;
		    overflow: hidden;
		    font-size: 12px;
		    text-overflow: ellipsis;
		    white-space: nowrap;
		  }

		  .admin-page.admin-dashboard-active .offer-admin-stock {
		    grid-template-columns: repeat(2, minmax(0, 1fr));
		    gap: 6px;
		    min-width: 0;
		  }

		  .admin-page.admin-dashboard-active .offers-admin-table td[data-label="المخزون"] {
		    padding: 0;
		    border: 0;
		    background: transparent;
		  }

		  .admin-page.admin-dashboard-active .offers-admin-table .offer-admin-stock .product-admin-stat {
		    display: flex;
		    align-items: center;
		    justify-content: space-between;
		    min-height: 34px;
		    padding: 6px 8px;
		    gap: 6px;
		  }

		  .admin-page.admin-dashboard-active .offers-admin-table .offer-admin-stock .product-admin-stat small {
		    font-size: 10px;
		    line-height: 1;
		  }

		  .admin-page.admin-dashboard-active .offers-admin-table .offer-admin-stock .product-admin-stat strong {
		    font-size: 13px;
		  }

		  .admin-page.admin-dashboard-active .offer-admin-edit {
		    min-width: 0;
		    background: #fff;
		  }

		  .admin-page.admin-dashboard-active .offer-admin-edit > summary {
		    min-height: 32px;
		    padding: 6px 8px;
		  }

		  .admin-page.admin-dashboard-active .offer-admin-edit-grid {
		    grid-template-columns: repeat(2, minmax(0, 1fr));
		    gap: 7px;
		    padding: 0 8px 8px;
		  }

		  .admin-page.admin-dashboard-active .offer-admin-field.wide,
		  .admin-page.admin-dashboard-active .offer-admin-edit-grid .checkbox-line,
		  .admin-page.admin-dashboard-active .offer-admin-edit-grid .btn {
		    grid-column: 1 / -1;
		  }

		  .admin-page.admin-dashboard-active .offer-admin-field {
		    font-size: 10.5px;
		  }

		  .admin-page.admin-dashboard-active .offer-admin-edit-grid input,
		  .admin-page.admin-dashboard-active .offer-admin-edit-grid select {
		    width: 100%;
		    min-height: 32px;
		    font-size: 11px;
		  }

		  .admin-page.admin-dashboard-active .renewals-admin-board {
		    display: grid;
		    gap: 9px;
		  }

	  .admin-page.admin-dashboard-active .renewals-admin-overview {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    gap: 7px;
	  }

	  .admin-page.admin-dashboard-active .renewals-admin-overview .product-admin-stat {
	    min-height: 38px;
	    padding: 6px 7px;
	  }

	  .admin-page.admin-dashboard-active .renewals-admin-overview .product-admin-stat strong {
	    font-size: 13px;
	  }

	  .admin-page.admin-dashboard-active .renewals-toolbar {
	    display: grid;
	    grid-template-columns: 1fr;
	    gap: 7px;
	    padding: 9px;
	    border: 1px solid #dbe4f1;
	    border-radius: 8px;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .renewals-toolbar input,
	  .admin-page.admin-dashboard-active .renewals-toolbar select {
	    width: 100%;
	    min-height: 36px;
	    border-color: #dbe4f1;
	    border-radius: 7px;
	    background: #fff;
	    font-size: 12px;
	  }

	  .admin-page.admin-dashboard-active .renewals-table tr {
	    display: grid;
	    grid-template-columns: repeat(3, minmax(0, 1fr));
	    align-items: start;
	    gap: 5px 6px;
	    padding: 8px;
	    border-color: #dbe4f1;
	    border-radius: 8px;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .renewals-table td {
	    display: block;
	    width: auto;
	    min-width: 0;
	    padding: 5px 6px;
	    border: 1px solid #e1e9f4;
	    border-radius: 7px;
	    background: #f8fbff;
	    font-size: 11px;
	    line-height: 1.25;
	  }

	  .admin-page.admin-dashboard-active .renewals-table td::before {
	    display: block;
	    margin-bottom: 3px;
	    color: #7087a5;
	    font-size: 10px;
	    line-height: 1.1;
	  }

	  .admin-page.admin-dashboard-active .renewals-table td[data-label="التجديد"] {
	    grid-column: 1 / span 2;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .renewals-table td[data-label="التجديد"]:has(.order-details[open]) {
	    grid-column: 1 / -1;
	  }

	  .admin-page.admin-dashboard-active .renewals-table td[data-label="الخيار"] {
	    background: #fff;
	    text-align: center;
	  }

	  .admin-page.admin-dashboard-active .renewals-table td[data-label="الدفع"] {
	    grid-column: 2 / span 2;
	  }

	  .admin-page.admin-dashboard-active .renewals-table td[data-label="مطابقة/إجراء"] {
	    grid-column: 1 / -1;
	  }

	  .admin-page.admin-dashboard-active .renewals-table td[data-label="التجديد"]::before,
	  .admin-page.admin-dashboard-active .renewals-table td[data-label="مطابقة/إجراء"]::before {
	    display: none;
	  }

	  .admin-page.admin-dashboard-active .renewals-table td[data-label="التجديد"] > br:first-of-type,
	  .admin-page.admin-dashboard-active .renewals-table td[data-label="التجديد"] > small:first-of-type,
	  .admin-page.admin-dashboard-active .renewals-table td[data-label="الخيار"] small,
	  .admin-page.admin-dashboard-active .renewals-table td[data-label="الراديوس"] small:not(.warn-text),
	  .admin-page.admin-dashboard-active .renewals-table td[data-label="المحاسبة"] small:not(.warn-text) {
	    display: none;
	  }

	  .admin-page.admin-dashboard-active .renewals-table td[data-label="التجديد"] > strong,
	  .admin-page.admin-dashboard-active .renewals-table td[data-label="الخدمة"] > strong,
	  .admin-page.admin-dashboard-active .renewals-table td[data-label="الخيار"] > strong {
	    display: block;
	    overflow: hidden;
	    color: #031b4e;
	    font-size: 11.5px;
	    text-overflow: ellipsis;
	    white-space: nowrap;
	  }

	  .admin-page.admin-dashboard-active .renewals-table td[data-label="الخدمة"] small,
	  .admin-page.admin-dashboard-active .renewals-table td[data-label="الدفع"] small {
	    display: block;
	    overflow: hidden;
	    text-overflow: ellipsis;
	    white-space: nowrap;
	  }

	  .admin-page.admin-dashboard-active .renewals-table small,
	  .admin-page.admin-dashboard-active .renewals-table .empty {
	    font-size: 10px;
	  }

	  .admin-page.admin-dashboard-active .renewals-table .badge {
	    min-height: 20px;
	    padding: 3px 7px;
	    font-size: 10px;
	    line-height: 1;
	  }

	  .admin-page.admin-dashboard-active .renewals-table .order-details summary {
	    min-height: 22px;
	    color: #506680;
	    font-size: 10px;
	    font-weight: 900;
	  }

	  .admin-page.admin-dashboard-active .renewals-table .order-details[open] .detail-grid {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    gap: 6px;
	    min-width: 0;
	    margin-top: 5px;
	    padding: 7px;
	    border-color: #e1e9f4;
	    background: #f8fbff;
	  }

	  .admin-page.admin-dashboard-active .renewals-table .order-details[open] .detail-grid > div {
	    display: grid;
	    gap: 5px;
	    min-width: 0;
	    padding: 6px;
	    border: 1px solid #e1e9f4;
	    border-radius: 7px;
	    background: #fff;
	  }

	  .admin-page.admin-dashboard-active .renewals-table .order-details[open] .detail-grid > div:nth-child(3),
	  .admin-page.admin-dashboard-active .renewals-table .order-details[open] .detail-grid > div:nth-child(4) {
	    grid-column: 1 / -1;
	  }

	  .admin-page.admin-dashboard-active .renewals-table .order-details[open] .detail-grid h4 {
	    margin: 0;
	    color: #031b4e;
	    font-size: 10.5px;
	  }

	  .admin-page.admin-dashboard-active .renewals-table .order-details[open] .compact-list {
	    gap: 4px;
	  }

	  .admin-page.admin-dashboard-active .renewals-table .order-details[open] .compact-list li {
	    display: grid;
	    grid-template-columns: 1fr;
	    gap: 2px;
	    min-width: 0;
	    padding: 5px 6px;
	    border-radius: 6px;
	  }

	  .admin-page.admin-dashboard-active .renewals-table .order-details[open] .compact-list span {
	    font-size: 9.5px;
	    line-height: 1.1;
	  }

	  .admin-page.admin-dashboard-active .renewals-table .order-details[open] .compact-list strong,
	  .admin-page.admin-dashboard-active .renewals-table .order-details[open] .detail-grid p {
	    margin: 0;
	    font-size: 10.5px;
	    line-height: 1.35;
	    overflow-wrap: anywhere;
	  }

	  .admin-page.admin-dashboard-active .renewals-table .order-details[open] .detail-grid > div:nth-child(3) .compact-list {
	    max-height: 170px;
	    overflow: auto;
	  }

	  .admin-page.admin-dashboard-active .renewals-table .vertical-actions {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    gap: 5px;
	  }

	  .admin-page.admin-dashboard-active .renewals-table .vertical-actions select,
	  .admin-page.admin-dashboard-active .renewals-table .vertical-actions .btn {
	    width: 100%;
	    min-height: 30px;
	    padding: 5px 6px;
	    font-size: 10.5px;
	  }

	  .admin-page.admin-dashboard-active .ai-suggestions-board {
	    display: grid;
	    gap: 9px;
	  }

  .admin-page.admin-dashboard-active .ai-suggestions-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-overview .product-admin-stat {
    min-height: 34px;
    padding: 5px 7px;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-overview .product-admin-stat strong {
    font-size: 13px;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 9px;
    border: 1px solid #dbe4f1;
    border-radius: 8px;
    background: #fff;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-toolbar input,
  .admin-page.admin-dashboard-active .ai-suggestions-toolbar select {
    width: 100%;
    min-height: 36px;
    border-color: #dbe4f1;
    border-radius: 7px;
    background: #fff;
    font-size: 12px;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 5px 6px;
    padding: 8px;
    border-color: #dbe4f1;
    border-radius: 8px;
    background: #fff;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table td {
    display: block;
    width: auto;
    min-width: 0;
    padding: 5px 6px;
    border: 1px solid #e1e9f4;
    border-radius: 7px;
    background: #f8fbff;
    font-size: 11px;
    line-height: 1.25;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table td::before {
    display: block;
    margin-bottom: 3px;
    color: #7087a5;
    font-size: 10px;
    line-height: 1.1;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="الحوالة"] {
    grid-column: auto;
    background: #fff;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="الطلب"],
  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="القرار"] {
    background: #fff;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="تشابه الاسم"] {
    grid-column: auto;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="الدليل"],
  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="إجراءات"] {
    grid-column: 1 / -1;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="الحوالة"]::before,
  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="إجراءات"]::before {
    display: none;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table small {
    display: block;
    min-width: 0;
    overflow: hidden;
    font-size: 10.5px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="الحوالة"] > small:nth-of-type(n+2),
  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="الطلب"] > small:nth-of-type(n+2) {
    display: none;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="الحوالة"] > br:nth-of-type(n+3),
  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="الطلب"] > br:nth-of-type(n+3) {
    display: none;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="تشابه الاسم"] > strong {
    display: inline;
    margin-inline-end: 6px;
    font-size: 11.5px;
    white-space: normal;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="تشابه الاسم"] > br:first-of-type {
    display: none;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="تشابه الاسم"] > br:nth-of-type(n+2),
  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="تشابه الاسم"] > small {
    display: none;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="تشابه الاسم"] .badge {
    min-height: 20px;
    padding: 3px 7px;
    font-size: 10px;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="القرار"] small.warn-text,
  .admin-page.admin-dashboard-active .ai-suggestions-table td[data-label="إجراءات"] small.warn-text {
    display: none;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table .sync-text-hint {
    max-height: 34px;
    padding: 6px 7px;
    font-size: 10.5px;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table .evidence-chips {
    display: none;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table .evidence-chip,
  .admin-page.admin-dashboard-active .ai-suggestions-table .badge {
    min-height: 20px;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 10px;
    line-height: 1.1;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table .vertical-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .admin-page.admin-dashboard-active .ai-suggestions-table .vertical-actions .btn {
    min-height: 31px;
    padding: 6px;
    border-radius: 6px;
    font-size: 10.5px;
  }

  .admin-page.admin-dashboard-active .users-admin-table tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 5px 6px;
    padding: 8px;
    border-color: #dbe4f1;
    border-radius: 8px;
    background: #fff;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="users"] #userForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 9px;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="users"] #userForm label,
  .admin-page.admin-dashboard-active[data-admin-tab="users"] #userForm input,
  .admin-page.admin-dashboard-active[data-admin-tab="users"] #userForm select {
    min-width: 0;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="users"] #userForm input,
  .admin-page.admin-dashboard-active[data-admin-tab="users"] #userForm select {
    min-height: 36px;
    font-size: 11.5px;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="users"] #userForm .btn {
    grid-column: 1 / -1;
    min-height: 36px;
    font-size: 11.5px;
  }

  .admin-page.admin-dashboard-active .users-admin-table td {
    display: block;
    width: auto;
    min-width: 0;
    padding: 5px 6px;
    border: 1px solid #e1e9f4;
    border-radius: 7px;
    background: #f8fbff;
    font-size: 11px;
    line-height: 1.25;
  }

  .admin-page.admin-dashboard-active .users-admin-table td::before {
    display: block;
    margin-bottom: 3px;
    color: #7087a5;
    font-size: 10px;
    line-height: 1.1;
  }

  .admin-page.admin-dashboard-active .users-admin-table td[data-label="المستخدم"] {
    grid-column: 1 / span 2;
  }

  .admin-page.admin-dashboard-active .users-admin-table td[data-label="الدور"] {
    grid-column: 3;
  }

  .admin-page.admin-dashboard-active .users-admin-table td[data-label="الحالة"] {
    grid-column: 1;
  }

  .admin-page.admin-dashboard-active .users-admin-table td[data-label="آخر دخول"] {
    grid-column: 2;
  }

  .admin-page.admin-dashboard-active .users-admin-table td[data-label="إعادة كلمة المرور"] {
    grid-column: 1 / span 2;
  }

  .admin-page.admin-dashboard-active .users-admin-table td[data-label="حفظ"] {
    grid-column: 3;
    align-self: end;
  }

  .admin-page.admin-dashboard-active .users-admin-table td[data-label="المستخدم"]::before,
  .admin-page.admin-dashboard-active .users-admin-table td[data-label="الحالة"]::before,
  .admin-page.admin-dashboard-active .users-admin-table td[data-label="حفظ"]::before {
    display: none;
  }

  .admin-page.admin-dashboard-active .users-admin-table td[data-label="المستخدم"] {
    background: #fff;
  }

  .admin-page.admin-dashboard-active .users-admin-table td[data-label="آخر دخول"] {
    min-height: 56px;
  }

  .admin-page.admin-dashboard-active .users-admin-table td[data-label="حفظ"] {
    padding: 5px;
    background: transparent;
    border-color: transparent;
  }

  .admin-page.admin-dashboard-active .users-admin-table td[data-label="المستخدم"] small {
    display: block;
    min-width: 0;
    margin-top: 3px;
    overflow: hidden;
    color: #7087a5;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-page.admin-dashboard-active .users-admin-table input,
  .admin-page.admin-dashboard-active .users-admin-table select {
    min-height: 31px;
    padding: 5px 7px;
    font-size: 10.5px;
  }

  .admin-page.admin-dashboard-active .users-admin-table .inline-check {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 5px 7px;
    font-size: 10.5px;
  }

  .admin-page.admin-dashboard-active .users-admin-table .btn {
    min-height: 30px;
    padding: 5px 7px;
    font-size: 10.5px;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="reports"] #reportFilters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 0 0 9px;
    padding: 9px;
    border: 1px solid #dbe4f1;
    border-radius: 8px;
    background: #fff;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="reports"] #reportFilters input,
  .admin-page.admin-dashboard-active[data-admin-tab="reports"] #reportFilters .btn {
    width: 100%;
    min-height: 36px;
    border-radius: 7px;
    font-size: 11px;
  }

  .admin-page.admin-dashboard-active[data-admin-tab="reports"] #reportFilters a,
  .admin-page.admin-dashboard-active[data-admin-tab="reports"] #printReports {
    grid-column: span 1;
  }

  .admin-page.admin-dashboard-active .reports-admin-board {
    display: grid;
    gap: 9px;
  }

  .admin-page.admin-dashboard-active .reports-admin-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .admin-page.admin-dashboard-active .reports-admin-overview .product-admin-stat {
    min-height: 38px;
    padding: 6px 7px;
  }

  .admin-page.admin-dashboard-active .reports-admin-overview .product-admin-stat strong {
    font-size: 13px;
  }

  .admin-page.admin-dashboard-active .reports-admin-groups {
    display: grid;
    gap: 8px;
  }

  .admin-page.admin-dashboard-active .report-section {
    overflow: hidden;
    border: 1px solid #dbe4f1;
    border-radius: 8px;
    background: #fff;
  }

  .admin-page.admin-dashboard-active .report-section summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: 46px;
    padding: 9px 10px;
    list-style: none;
  }

  .admin-page.admin-dashboard-active .report-section summary::-webkit-details-marker {
    display: none;
  }

  .admin-page.admin-dashboard-active .report-section[open] summary {
    border-bottom: 1px solid #e0e8f4;
    background: #f8fbff;
  }

  .admin-page.admin-dashboard-active .report-section summary strong {
    display: block;
    color: #031b4e;
    font-size: 13px;
    font-weight: 900;
  }

  .admin-page.admin-dashboard-active .report-section summary small,
  .admin-page.admin-dashboard-active .reports-admin-footnote {
    color: #7186a3;
    font-size: 10.5px;
  }

  .admin-page.admin-dashboard-active .report-section-grid,
  .admin-page.admin-dashboard-active .report-stat-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
  }

  .admin-page.admin-dashboard-active .report-stat-strip {
    padding-bottom: 0;
  }

  .admin-page.admin-dashboard-active .report-stat-strip .stat-card {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 58px;
    padding: 8px;
  }

  .admin-page.admin-dashboard-active .report-stat-strip .stat-card strong {
    font-size: 14px;
  }

  .admin-page.admin-dashboard-active .report-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    margin-bottom: 6px;
  }

  .admin-page.admin-dashboard-active .report-table-head h3 {
    margin: 0;
    color: #031b4e;
    font-size: 12px;
    font-weight: 900;
  }

  .admin-page.admin-dashboard-active .report-table-wrap {
    max-height: 430px;
    overflow: auto;
    border: 1px solid #dbe4f1;
    border-radius: 8px;
    background: #fff;
  }

  .admin-page.admin-dashboard-active .report-mini-table,
  .admin-page.admin-dashboard-active .report-mini-table tbody,
  .admin-page.admin-dashboard-active .report-mini-table tr,
  .admin-page.admin-dashboard-active .report-mini-table td {
    display: block;
    width: 100%;
  }

  .admin-page.admin-dashboard-active .report-mini-table thead {
    display: none;
  }

  .admin-page.admin-dashboard-active .report-mini-table tbody {
    display: grid;
    gap: 7px;
    padding: 7px;
  }

  .admin-page.admin-dashboard-active .report-mini-table tr {
    padding: 8px;
    border: 1px solid #e0e8f4;
    border-radius: 8px;
    background: #fbfdff;
  }

  .admin-page.admin-dashboard-active .report-mini-table td {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 7px;
    padding: 5px 0;
    border-bottom: 1px solid #edf3fb;
    color: #031b4e;
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .admin-page.admin-dashboard-active .report-mini-table td::before {
    content: attr(data-label);
    color: #7186a3;
    font-weight: 900;
  }

  .admin-page.admin-dashboard-active .report-mini-table td:last-child {
    border-bottom: 0;
  }

  .admin-page.admin-dashboard-active .reports-admin-footnote {
    margin: 0;
    text-align: left;
  }

  .admin-page.admin-dashboard-active .palpay-sync-board,
  .admin-page.admin-dashboard-active .palpay-ledger-board {
    display: grid;
    gap: 9px;
  }

  .admin-page.admin-dashboard-active .palpay-sync-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .admin-page.admin-dashboard-active .palpay-balance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin: 0;
  }

  .admin-page.admin-dashboard-active .palpay-balance-panel {
    grid-template-columns: 1fr;
    gap: 5px;
    min-height: 0;
    margin: 0;
    padding: 9px 10px;
    border: 1px solid #cfe9e5;
    border-radius: 8px;
    background: #f5fffd;
  }

  .admin-page.admin-dashboard-active .palpay-balance-panel strong,
  .admin-page.admin-dashboard-active .palpay-balance-grid .palpay-balance-panel strong {
    font-size: 20px;
    line-height: 1.08;
  }

  .admin-page.admin-dashboard-active .palpay-balance-panel small {
    font-size: 10.5px;
    line-height: 1.35;
    text-align: start;
    overflow-wrap: anywhere;
  }

  .admin-page.admin-dashboard-active .palpay-ledger-board,
  .admin-page.admin-dashboard-active .wallet-ledger-panel,
  .admin-page.admin-dashboard-active .sync-details,
  .admin-page.admin-dashboard-active #palpaySyncLogTable .mini-panel {
    padding: 10px;
    border: 1px solid #dbe4f1;
    border-radius: 8px;
    background: #fbfdff;
  }

  .admin-page.admin-dashboard-active .wallet-ledger-head,
  .admin-page.admin-dashboard-active .wallet-ledger-panel-head {
    display: grid;
    gap: 4px;
    margin-bottom: 8px;
  }

  .admin-page.admin-dashboard-active .wallet-ledger-tools > summary {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 34px;
  }

  .admin-page.admin-dashboard-active .wallet-ledger-tools > summary small {
    display: none;
  }

  .admin-page.admin-dashboard-active .manual-refund-panel > summary {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 36px;
  }

  .admin-page.admin-dashboard-active .manual-refund-panel > summary small {
    display: none;
  }

  .admin-page.admin-dashboard-active .manual-payment-box.is-free .manual-paid-amount,
  .admin-page.admin-dashboard-active .manual-payment-box.is-linked .manual-paid-amount,
  .admin-page.admin-dashboard-active .manual-payment-box.is-linked .manual-financial-fields {
    display: none;
  }

  .admin-page.admin-dashboard-active .manual-payment-box.is-free .manual-financial-fields > :not(.manual-financial-reason) {
    display: none;
  }

  .admin-page.admin-dashboard-active .palpay-sync-stats,
  .admin-page.admin-dashboard-active .wallet-ledger-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 0;
  }

  .admin-page.admin-dashboard-active .palpay-sync-stats .stat-card,
  .admin-page.admin-dashboard-active .wallet-ledger-stats .stat-card {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 7px;
    min-height: 54px;
    padding: 7px 8px;
  }

  .admin-page.admin-dashboard-active .palpay-sync-stats .stat-icon,
  .admin-page.admin-dashboard-active .wallet-ledger-stats .stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 12px;
  }

  .admin-page.admin-dashboard-active .palpay-sync-stats .stat-card strong,
  .admin-page.admin-dashboard-active .wallet-ledger-stats .stat-card strong {
    font-size: 14px;
  }

  .admin-page.admin-dashboard-active .palpay-sync-stats .stat-card span,
  .admin-page.admin-dashboard-active .wallet-ledger-stats .stat-card span,
  .admin-page.admin-dashboard-active .palpay-sync-stats .stat-card small,
  .admin-page.admin-dashboard-active .wallet-ledger-stats .stat-card small {
    margin-top: 1px;
    font-size: 10.5px;
    line-height: 1.2;
  }

  .admin-page.admin-dashboard-active .wallet-ledger-form {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-bottom: 9px;
  }

  .admin-page.admin-dashboard-active .sync-lines {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .admin-page.admin-dashboard-active .sync-lines div {
    display: grid;
    gap: 3px;
    padding: 7px 8px;
    border: 1px solid #e0e8f4;
    border-radius: 7px;
    background: #fff;
  }

  .admin-page.admin-dashboard-active .wallet-ledger-tools:not([open]) > :not(summary),
  .admin-page.admin-dashboard-active .wallet-ledger-tools:not([open]) > :not(summary) *,
  .admin-page.admin-dashboard-active .wallet-ledger-history:not([open]) > :not(summary),
  .admin-page.admin-dashboard-active .wallet-ledger-history:not([open]) > :not(summary) *,
  .admin-page.admin-dashboard-active .sync-details:not([open]) > :not(summary),
  .admin-page.admin-dashboard-active .sync-details:not([open]) > :not(summary) * {
    display: none !important;
  }

  .admin-page.admin-dashboard-active [data-tab-panel="palpay-sync"] .row-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 9px;
    border: 1px solid #dbe4f1;
    border-radius: 8px;
    background: #fff;
  }

  .admin-page.admin-dashboard-active [data-tab-panel="palpay-sync"] .row-actions .btn {
    width: 100%;
    min-height: 36px;
    padding: 7px 9px;
    border-radius: 6px;
    font-size: 11.5px;
  }

  .admin-page.admin-dashboard-active [data-table="wallet-bank-transfers"] th,
  .admin-page.admin-dashboard-active [data-table="wallet-bank-transfers"] td,
  .admin-page.admin-dashboard-active [data-table="palpay-sync-logs"] th,
  .admin-page.admin-dashboard-active [data-table="palpay-sync-logs"] td {
    padding: 7px 8px;
  }

  .admin-page.admin-dashboard-active .palpay-sync-logs-table {
    min-width: 0;
  }

  .admin-page.admin-dashboard-active .palpay-sync-logs-table tbody {
    gap: 8px;
  }

  .admin-page.admin-dashboard-active .palpay-sync-logs-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 5px;
    padding: 7px;
    border-radius: 8px;
    box-shadow: none;
  }

  .admin-page.admin-dashboard-active .palpay-sync-logs-table td {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    min-width: 0;
    padding: 5px 6px;
    border: 1px solid #edf3f7;
    border-radius: 7px;
    background: #fff;
    font-size: 10.5px;
    line-height: 1.22;
  }

  .admin-page.admin-dashboard-active .palpay-sync-logs-table td::before {
    color: #7186a3;
    font-size: 9.5px;
    font-weight: 900;
    line-height: 1.1;
  }

  .admin-page.admin-dashboard-active .palpay-sync-logs-table td[data-label="النتيجة"] {
    grid-column: 1 / -1;
  }

  .admin-page.admin-dashboard-active .palpay-sync-logs-table td[data-label="الدورة"] .ltr {
    display: block;
    max-width: 100%;
    overflow: hidden;
    direction: ltr;
    color: #15345f;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-page.admin-dashboard-active .palpay-sync-logs-table td[data-label="الدورة"] br:first-of-type,
  .admin-page.admin-dashboard-active .palpay-sync-logs-table td[data-label="الدورة"] small:first-of-type {
    display: none;
  }

  .admin-page.admin-dashboard-active .palpay-sync-logs-table td small {
    font-size: 10px;
    line-height: 1.2;
  }

  .admin-page.admin-dashboard-active .palpay-sync-logs-table td[data-label="النتيجة"] strong {
    color: #031b4e;
    font-size: 12px;
  }

  .admin-page.admin-dashboard-active .palpay-sync-logs-table td[data-label="الخطوات"] details {
    margin: 0;
  }

  .admin-page.admin-dashboard-active .palpay-sync-logs-table .sync-log-shots-empty {
    display: none !important;
  }

  .admin-page.admin-dashboard-active .palpay-sync-logs-table td[data-label="الخطوات"] details:not([open]) > :not(summary),
  .admin-page.admin-dashboard-active .palpay-sync-logs-table td[data-label="الخطوات"] details:not([open]) > :not(summary) * {
    display: none !important;
  }

  .admin-page.admin-dashboard-active [data-table="cards-list"] code {
    color: #15345f;
    font-size: 12px;
    font-weight: 900;
  }
}

.admin-page.admin-dashboard-active .orders-card-wrap {
  width: 100%;
  overflow: visible;
}

.admin-page.admin-dashboard-active .orders-card-list {
  display: grid;
  gap: 12px;
}

.admin-page.admin-dashboard-active .orders-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(150px, 180px) minmax(150px, 190px);
  align-items: center;
  gap: 10px;
}

.admin-page.admin-dashboard-active .orders-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #dbe4f1;
  border-radius: 8px;
  background: #fff;
  color: #7087a5;
  font-weight: 900;
}

.admin-page.admin-dashboard-active .orders-search-box input {
  width: 100%;
  max-width: none;
  min-height: 38px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.admin-page.admin-dashboard-active .orders-toolbar select {
  width: 100%;
  max-width: none;
  min-height: 40px;
  border-radius: 8px;
}

.admin-page.admin-dashboard-active .orders-toolbar .smart-filter-tabs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.admin-page.admin-dashboard-active .orders-toolbar .smart-filter-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #dbe4f1;
  border-radius: 8px;
  color: #15345f;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-size: 12px;
  font-weight: 900;
}

.admin-page.admin-dashboard-active .orders-toolbar .smart-filter-tabs button strong {
  min-width: 24px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #506680;
  background: #eef4fb;
  font-size: 11px;
  line-height: 1.3;
}

.admin-page.admin-dashboard-active .orders-toolbar .smart-filter-tabs button.active {
  border-color: #2f6fed;
  color: #0b3f91;
  background: #eef5ff;
}

.admin-page.admin-dashboard-active .orders-toolbar .smart-filter-tabs button.active strong {
  color: #fff;
  background: #2f6fed;
}

.admin-page.admin-dashboard-active .order-card {
  border: 1px solid #dbe4f1;
  border-right: 4px solid #f59e0b;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.admin-page.admin-dashboard-active .order-card-paid {
  border-right-color: #16a34a;
}

.admin-page.admin-dashboard-active .order-card-failed {
  border-right-color: #dc2626;
}

.admin-page.admin-dashboard-active .order-card-review {
  border-right-color: #2563eb;
}

.admin-page.admin-dashboard-active .order-card-main {
  display: grid;
  grid-template-columns: minmax(220px, 0.88fr) minmax(330px, 1.6fr) minmax(178px, 0.62fr);
  gap: 0;
  align-items: stretch;
}

.admin-page.admin-dashboard-active .order-card-summary,
.admin-page.admin-dashboard-active .order-card-content,
.admin-page.admin-dashboard-active .order-card-actions {
  min-width: 0;
  padding: 14px;
}

.admin-page.admin-dashboard-active .order-card-summary {
  display: grid;
  align-content: start;
  gap: 8px;
  border-left: 1px solid #e7edf6;
  background: #f8fafc;
}

.admin-page.admin-dashboard-active .order-id-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.admin-page.admin-dashboard-active .order-id-row strong {
  min-width: 0;
  color: #031b4e;
  font-size: 13px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.admin-page.admin-dashboard-active .order-id-row .badge {
  flex: 0 0 auto;
}

.admin-page.admin-dashboard-active .order-card-awaiting .order-id-row .badge {
  border-color: #fed7aa;
  color: #9a3412;
  background: #fff7ed;
}

.admin-page.admin-dashboard-active .order-card-paid .order-id-row .badge {
  border-color: #bbf7d0;
  color: #15803d;
  background: #f0fdf4;
}

.admin-page.admin-dashboard-active .order-card-failed .order-id-row .badge {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fef2f2;
}

.admin-page.admin-dashboard-active .order-card-review .order-id-row .badge {
  border-color: #bfdbfe;
  color: #1d4ed8;
  background: #eff6ff;
}

.admin-page.admin-dashboard-active .order-card-summary small {
  color: #7087a5;
  font-size: 11px;
  line-height: 1.4;
}

.admin-page.admin-dashboard-active .order-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-page.admin-dashboard-active .order-card-content {
  display: grid;
  align-content: start;
  gap: 10px;
  border-left: 1px solid #e7edf6;
}

.admin-page.admin-dashboard-active .order-customer-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.admin-page.admin-dashboard-active .order-card-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 14px;
  line-height: 1;
}

.admin-page.admin-dashboard-active .order-customer-line strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 950;
}

.admin-page.admin-dashboard-active .order-customer-name {
  color: #15345f;
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.admin-page.admin-dashboard-active .order-customer-name.is-muted {
  color: #94a3b8;
}

.admin-page.admin-dashboard-active .order-card-items-block {
  display: grid;
  gap: 6px;
}

.admin-page.admin-dashboard-active .order-card-section-label {
  color: #7087a5;
  font-size: 10.5px;
  font-weight: 950;
}

.admin-page.admin-dashboard-active .order-card-items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-page.admin-dashboard-active .order-item-chip {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #15345f;
  font-size: 12px;
}

.admin-page.admin-dashboard-active .order-item-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-page.admin-dashboard-active .order-item-chip strong {
  color: #031b4e;
  white-space: nowrap;
}

.admin-page.admin-dashboard-active .order-item-chip.more {
  grid-template-columns: 1fr;
  color: #506680;
  font-weight: 900;
}

.admin-page.admin-dashboard-active .order-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-page.admin-dashboard-active .order-card-amount {
  display: inline-grid;
  gap: 1px;
  min-width: 92px;
  padding: 7px 10px;
  border: 1px solid #dbe4f1;
  border-radius: 8px;
  background: #fff;
}

.admin-page.admin-dashboard-active .order-card-amount span {
  color: #7087a5;
  font-size: 10.5px;
  font-weight: 900;
}

.admin-page.admin-dashboard-active .order-card-amount strong {
  color: #031b4e;
  font-size: 15px;
  font-weight: 950;
}

.admin-page.admin-dashboard-active .order-confidence-pill,
.admin-page.admin-dashboard-active .order-phonebook-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #506680;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-page.admin-dashboard-active .order-confidence-pill.ok,
.admin-page.admin-dashboard-active .order-phonebook-pill.ok {
  border-color: #bbf7d0;
  color: #15803d;
  background: #f0fdf4;
}

.admin-page.admin-dashboard-active .order-confidence-pill.info {
  border-color: #bfdbfe;
  color: #1d4ed8;
  background: #eff6ff;
}

.admin-page.admin-dashboard-active .order-confidence-pill.warn,
.admin-page.admin-dashboard-active .order-phonebook-pill.warn {
  border-color: #fed7aa;
  color: #9a3412;
  background: #fff7ed;
}

.admin-page.admin-dashboard-active .order-confidence-pill.danger {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fef2f2;
}

.admin-page.admin-dashboard-active .order-phonebook-pill.muted {
  color: #64748b;
  background: #f8fafc;
}

.admin-page.admin-dashboard-active .order-row-reason {
  display: block;
  color: #9a3412;
  font-size: 11px;
  line-height: 1.4;
}

.admin-page.admin-dashboard-active .order-card-actions {
  display: grid;
  align-content: start;
  gap: 8px;
}

.admin-page.admin-dashboard-active .order-card-actions .btn,
.admin-page.admin-dashboard-active .order-card-actions .order-ops-details > summary {
  width: 100%;
  min-height: 34px;
  border-radius: 8px;
  font-size: 12px;
}

.admin-page.admin-dashboard-active .order-card-actions .order-ops-details {
  min-width: 0;
  width: 100%;
}

.admin-page.admin-dashboard-active .order-card-actions .order-ops-details > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  padding: 7px 10px;
  border: 1px solid #2f6fed;
  color: #fff;
  background: #2f6fed;
  font-weight: 950;
  cursor: pointer;
}

.admin-page.admin-dashboard-active .order-card-actions .order-ops-details > summary small {
  color: #dbeafe;
  font-size: 10.5px;
  font-weight: 800;
}

.admin-page.admin-dashboard-active .order-card-actions .order-ops-grid {
  display: grid;
  gap: 9px;
  width: min(520px, calc(100vw - 40px));
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #dbe4f1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
}

.admin-page.admin-dashboard-active .order-card-actions .order-ops-section {
  display: grid;
  gap: 7px;
}

.admin-page.admin-dashboard-active .order-card-actions .order-ops-section h4 {
  margin: 0;
  color: #506680;
  font-size: 11px;
  font-weight: 950;
}

.admin-page.admin-dashboard-active .order-card-actions select,
.admin-page.admin-dashboard-active .order-card-actions .note-input {
  width: 100%;
}

.admin-page.admin-dashboard-active .order-card-actions .note-input {
  min-height: 54px;
}

.admin-page.admin-dashboard-active .order-card-actions .row-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.admin-page.admin-dashboard-active .order-action-note {
  display: grid;
  place-items: center;
  min-height: 32px;
  padding: 6px 8px;
  border: 1px dashed #dbe4f1;
  border-radius: 8px;
  color: #7087a5;
  background: #f8fafc;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.admin-page.admin-dashboard-active .order-card-details {
  max-width: none;
  margin: 0;
  padding: 0 14px;
}

.admin-page.admin-dashboard-active .order-card-details > summary {
  display: none;
}

.admin-page.admin-dashboard-active .order-card-details[open] {
  border-top: 1px solid #e7edf6;
  padding-bottom: 14px;
}

.admin-page.admin-dashboard-active .order-card .detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.admin-page.admin-dashboard-active .order-card .detail-grid > .full-row {
  grid-column: 1 / -1;
}

.admin-page.admin-dashboard-active .order-card .order-quick-grid,
.admin-page.admin-dashboard-active .order-card .order-core-details,
.admin-page.admin-dashboard-active .order-card .order-secondary-grid {
  display: grid;
  gap: 10px;
}

.admin-page.admin-dashboard-active .order-card .order-quick-grid {
  grid-template-columns: 1fr;
}

.admin-page.admin-dashboard-active .order-card .order-quick-grid > div,
.admin-page.admin-dashboard-active .order-card .order-core-details,
.admin-page.admin-dashboard-active .order-card .order-secondary-grid {
  padding: 10px;
  border: 1px solid #e7edf6;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-page.admin-dashboard-active .order-card .order-core-details,
.admin-page.admin-dashboard-active .order-card .order-secondary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-page.admin-dashboard-active .order-card .order-core-details h4,
.admin-page.admin-dashboard-active .order-card .order-secondary-grid h4 {
  margin: 0 0 8px;
  color: #15345f;
  font-size: 12px;
  font-weight: 950;
}

.admin-page.admin-dashboard-active .order-card .order-secondary-details {
  border: 1px solid #e7edf6;
  border-radius: 8px;
  background: #fff;
}

.admin-page.admin-dashboard-active .order-card .order-secondary-details > summary {
  padding: 9px 11px;
  color: #15345f;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.admin-page.admin-dashboard-active .order-card .order-secondary-details[open] {
  padding-bottom: 10px;
}

.admin-page.admin-dashboard-active .order-card .payment-evidence-panel,
.admin-page.admin-dashboard-active .order-card .payment-candidate-list,
.admin-page.admin-dashboard-active .order-card .payment-candidate-review {
  margin: 0 10px 10px;
}

.admin-page.admin-dashboard-active .order-card .compact-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-page.admin-dashboard-active .order-card .compact-list li {
  display: grid;
  grid-template-columns: minmax(74px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid #e7edf6;
  border-radius: 8px;
  background: #fff;
}

.admin-page.admin-dashboard-active .order-card .compact-list span {
  color: #7087a5;
  font-size: 11px;
  font-weight: 900;
}

.admin-page.admin-dashboard-active .order-card .compact-list strong {
  min-width: 0;
  color: #15345f;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.admin-page.admin-dashboard-active .order-card .order-timeline-list {
  position: relative;
  gap: 9px;
}

.admin-page.admin-dashboard-active .order-card .order-timeline-list li {
  position: relative;
  grid-template-columns: 58px minmax(0, 1fr);
  padding-right: 18px;
}

.admin-page.admin-dashboard-active .order-card .order-timeline-list li::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 7px;
  width: 8px;
  height: 8px;
  border: 2px solid #dbeafe;
  border-radius: 50%;
  background: #2f6fed;
}

.admin-page.admin-dashboard-active .order-card .issued-admin-cards {
  display: grid;
  gap: 6px;
}

@media (max-width: 900px) {
  .admin-page.admin-dashboard-active .orders-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .admin-page.admin-dashboard-active .orders-search-box {
    grid-column: 1 / -1;
  }

  .admin-page.admin-dashboard-active .order-card-main {
    grid-template-columns: minmax(190px, 0.9fr) minmax(260px, 1.4fr);
  }

  .admin-page.admin-dashboard-active .order-card-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #e7edf6;
  }

  .admin-page.admin-dashboard-active .order-card-actions .order-ops-grid {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .admin-page.admin-dashboard-active .orders-toolbar {
    grid-template-columns: 1fr;
    padding: 9px;
  }

  .admin-page.admin-dashboard-active .orders-toolbar .smart-filter-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-page.admin-dashboard-active .orders-toolbar .smart-filter-tabs button {
    width: 100%;
    min-width: 0;
  }

  .admin-page.admin-dashboard-active .order-card-main {
    grid-template-columns: 1fr;
  }

  .admin-page.admin-dashboard-active .order-card-summary,
  .admin-page.admin-dashboard-active .order-card-content {
    border-left: 0;
    border-bottom: 1px solid #e7edf6;
  }

  .admin-page.admin-dashboard-active .order-card-summary,
  .admin-page.admin-dashboard-active .order-card-content,
  .admin-page.admin-dashboard-active .order-card-actions {
    padding: 12px;
  }

  .admin-page.admin-dashboard-active .order-card-actions {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .admin-page.admin-dashboard-active .order-card .detail-grid,
  .admin-page.admin-dashboard-active .order-card .order-core-details,
  .admin-page.admin-dashboard-active .order-card .order-secondary-grid {
    grid-template-columns: 1fr;
  }

  .admin-page.admin-dashboard-active .order-card .compact-list li,
  .admin-page.admin-dashboard-active .order-card .order-timeline-list li {
    grid-template-columns: minmax(58px, auto) minmax(0, 1fr);
  }

  .admin-page.admin-dashboard-active .order-card-details {
    padding: 0 12px 12px;
  }
}

@media (max-width: 420px) {
  .admin-page.admin-dashboard-active .order-card-meta {
    align-items: stretch;
  }

  .admin-page.admin-dashboard-active .order-card-amount,
  .admin-page.admin-dashboard-active .order-confidence-pill,
  .admin-page.admin-dashboard-active .order-phonebook-pill {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .admin-page.admin-dashboard-active .topbar .admin-scope-mini,
  .admin-page.admin-dashboard-active .topbar-refresh-actions .live-refresh-status {
    display: none !important;
  }
}

@media print {
  .admin-page.admin-dashboard-active .report-section {
    break-inside: avoid;
  }

  .admin-page.admin-dashboard-active .report-table-wrap {
    max-height: none !important;
    overflow: visible !important;
  }
}

.wallet-network-digit,
.merchant-strip .wallet-network-digit,
.renewal-merchant-strip .wallet-network-digit,
.renewal-payment-card .wallet-network-digit,
.customer-page .palpay-wallet-card .target-line .wallet-network-digit {
  display: inline;
  color: #e30613;
  font-size: inherit;
  font-weight: 950;
  line-height: inherit;
}

.wallet-network-digit--ooredoo {
  color: #e30613;
}

.admin-page.admin-dashboard-active .operations-health-board {
  display: grid;
  gap: 14px;
}

.admin-page.admin-dashboard-active .operations-health-head,
.admin-page.admin-dashboard-active .operations-health-badges,
.admin-page.admin-dashboard-active .operations-health-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-page.admin-dashboard-active .operations-health-head {
  justify-content: space-between;
}

.admin-page.admin-dashboard-active .operations-health-head strong {
  display: block;
  color: #15345f;
  font-size: 15px;
}

.admin-page.admin-dashboard-active .operations-health-head small {
  color: #7087a5;
  font-size: 12px;
}

.admin-page.admin-dashboard-active .operations-health-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-page.admin-dashboard-active .operations-health-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-page.admin-dashboard-active .operations-health-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 8px;
  border: 1px solid #e7edf6;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-page.admin-dashboard-active .operations-health-list strong,
.admin-page.admin-dashboard-active .operations-health-list small {
  display: block;
  overflow-wrap: anywhere;
}

.admin-page.admin-dashboard-active .operations-health-list strong {
  color: #15345f;
  font-size: 12px;
}

.admin-page.admin-dashboard-active .operations-health-list small {
  margin-top: 2px;
  color: #7087a5;
  font-size: 11px;
}

@media (max-width: 640px) {
  .admin-page.admin-dashboard-active .operations-health-grid {
    grid-template-columns: 1fr;
  }

  .admin-page.admin-dashboard-active .operations-health-head {
    align-items: flex-start;
  }
}

body.customer-page.checkout-mode .palpay-wallet-card .target-line span.wallet-network-digit,
body.customer-page .palpay-wallet-card .wallet-number-line strong span.wallet-network-digit {
  color: #e30613;
  font-size: inherit;
  font-weight: 950;
  line-height: inherit;
}

/* Radius owns navigation when the Store admin is mounted inside its dashboard. */
html.radius-store-embed,
html.radius-store-embed body {
  min-height: 100%;
  background: #f5f7fb;
}

html.radius-store-embed .topbar,
html.radius-store-embed .admin-sidebar,
html.radius-store-embed .admin-main-head {
  display: none !important;
}

html.radius-store-embed .admin-section-hub:not([hidden]) {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid !important;
  margin: 0 0 10px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(3, 27, 78, 0.04);
}

html.radius-store-embed body.admin-page.admin-dashboard-active .shell,
html.radius-store-embed body.admin-page.admin-dashboard-active .admin-dashboard,
html.radius-store-embed body.admin-page.admin-dashboard-active .admin-main {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
}

html.radius-store-embed body.admin-page.admin-dashboard-active .admin-layout,
html.radius-store-embed body.admin-page.admin-dashboard-active .admin-floating-layout {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px 16px 24px;
}

html.radius-store-embed body.admin-page.admin-dashboard-active .admin-main {
  gap: 0;
  margin-right: 0;
}

html.radius-store-embed .tab-panel.active {
  min-height: 100%;
}

html.radius-store-embed .panel {
  border-radius: 0;
  border-inline: 0;
  box-shadow: none;
}

/* Keep the standalone login readable after the shared admin panel overrides. */
.admin-page #loginPanel > .panel-header {
  min-height: 72px;
  align-items: center;
  padding: 16px 18px;
  background: var(--hotspot-dark) !important;
}

.admin-page #loginPanel > .panel-header h2 {
  color: #fff;
}

html.radius-store-embed #loginPanel {
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
}

@media (max-width: 640px) {
  html.radius-store-embed body.admin-page.admin-dashboard-active .admin-layout,
  html.radius-store-embed body.admin-page.admin-dashboard-active .admin-floating-layout {
    padding: 10px 10px 76px;
  }
}

/* Keep checkout reachable when the catalog has collapsed but the narrow-mobile rules have not. */
@media (min-width: 581px) and (max-width: 760px) {
  body.customer-page.has-mobile-cart:not(.checkout-mode) {
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }

  body.customer-page .mobile-cart-bar {
    position: fixed;
    right: auto;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 50%;
    z-index: 40;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(112px, auto);
    align-items: center;
    width: min(720px, calc(100% - 20px));
    gap: 8px;
    padding: 8px;
    transform: translateX(-50%);
  }

  body.customer-page .mobile-cart-bar[hidden] {
    display: none !important;
  }

  body.customer-page .mobile-cart-info {
    display: grid;
    min-width: 0;
    min-height: 46px;
    gap: 2px;
    padding: 7px 12px;
    border: 1px solid var(--store-line);
    border-radius: var(--store-radius);
    background: #f8fafc;
    color: var(--store-ink);
    text-align: right;
  }

  body.customer-page .mobile-cart-bar .btn {
    min-width: 112px;
    min-height: 46px;
    white-space: nowrap;
  }
}
