.accepted-task-actions[hidden] {
  display: none;
}

.step-panel.is-aa-accepted > .step-header,
.step-panel.is-aa-accepted > .account-card,
.step-panel.is-aa-accepted > .peak-retry-note,
.step-panel.is-aa-accepted > .charge-action {
  display: none;
}

.feedback-banner.accepted-task-feedback {
  border-color: rgba(99, 102, 241, 0.2);
  background:
    radial-gradient(circle at 100% 0, rgba(139, 92, 246, 0.08), transparent 42%),
    linear-gradient(135deg, rgba(248, 250, 255, 0.98), rgba(245, 243, 255, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 26px rgba(99, 102, 241, 0.06);
}

.feedback-banner.accepted-task-feedback .feedback-label::before {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.feedback-banner.accepted-task-feedback .masked-code {
  color: #6555da;
  border-color: rgba(99, 102, 241, 0.12);
  background: rgba(99, 102, 241, 0.08);
}

.feedback-banner.accepted-task-feedback .feedback-text {
  color: #65708c;
}

.processing-card.accepted-task-card {
  overflow: visible;
  margin-bottom: 0;
  padding: 30px 24px 24px;
  border-color: rgba(99, 102, 241, 0.18);
  background:
    radial-gradient(circle at 50% -10%, rgba(139, 92, 246, 0.1), transparent 35%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.99), rgba(250, 250, 255, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 18px 44px rgba(47, 49, 120, 0.07);
}

.processing-card.accepted-task-card::after {
  display: none;
}

.accepted-task-icon {
  position: relative;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border: 1px solid rgba(99, 102, 241, 0.13);
  border-radius: 999px;
  color: #159b87;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 0 0 8px rgba(99, 102, 241, 0.08),
    0 10px 25px rgba(99, 102, 241, 0.12);
}

.accepted-task-icon::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 3px solid rgba(99, 102, 241, 0.16);
  border-top-color: #7768ee;
  border-right-color: #9b75f5;
  border-bottom-color: rgba(99, 102, 241, 0.38);
  border-radius: 999px;
  animation: accepted-task-orbit 2.8s linear infinite;
}

.accepted-task-card .status-title {
  margin-bottom: 7px;
  color: #111827;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.accepted-task-card .status-text {
  color: #69738d;
  line-height: 1.65;
}

.accepted-task-actions {
  display: grid;
  justify-items: stretch;
  gap: 13px;
  width: 100%;
  max-width: 720px;
  margin: 22px auto 0;
}

.accepted-task-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.16);
  border-radius: 14px;
  background: rgba(249, 250, 255, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 22px rgba(99, 102, 241, 0.045);
}

.accepted-task-badge {
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 14px;
  color: #4f5873;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.45;
  text-align: left;
}

.accepted-task-badge + .accepted-task-badge {
  border-left: 1px solid rgba(99, 102, 241, 0.12);
}

.accepted-task-badge-icon {
  display: inline-flex;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(99, 102, 241, 0.13);
  border-radius: 9px;
  color: #6558e8;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.07);
}

.accepted-task-badge-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accepted-task-receipt {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(99, 102, 241, 0.055), transparent 44%),
    rgba(250, 250, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 22px rgba(99, 102, 241, 0.04);
  text-align: left;
}

.accepted-task-detail {
  min-width: 0;
  padding: 14px 16px;
}

.accepted-task-detail + .accepted-task-detail {
  border-left: 1px solid rgba(99, 102, 241, 0.12);
}

.accepted-task-detail-label {
  display: block;
  margin-bottom: 5px;
  color: #7a839b;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.accepted-task-value-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.accepted-task-value-row strong,
.accepted-task-account {
  min-width: 0;
  color: #172036;
  font-size: 13.5px;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.accepted-task-tier {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 20px;
  align-items: center;
  padding: 1px 6px 0;
  border: 1px solid rgba(203, 148, 30, 0.24);
  border-radius: 6px;
  color: #a66a08;
  background: linear-gradient(135deg, #fff9dc, #ffedac);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 3px 8px rgba(188, 126, 12, 0.08);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.055em;
  white-space: nowrap;
}

.accepted-task-tier[hidden] {
  display: none;
}

.accepted-task-tier--pro {
  color: #f7d98a;
  border-color: rgba(224, 183, 87, 0.42);
  background: linear-gradient(145deg, #2a2d36, #11141b 68%, #25200f);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.18),
    0 4px 10px rgba(18, 16, 11, 0.18),
    0 0 0 1px rgba(255, 224, 144, 0.04);
  letter-spacing: 0.07em;
}

.accepted-task-query {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid rgba(99, 102, 241, 0.32);
  border-radius: 12px;
  color: #ffffff;
  background: var(--button-gradient);
  box-shadow:
    var(--shadow-button),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.accepted-task-query:hover {
  color: #ffffff;
  filter: saturate(1.04) brightness(1.02);
  transform: translateY(-1px);
  box-shadow:
    0 13px 28px rgba(99, 102, 241, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.accepted-task-query:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.2);
  outline-offset: 3px;
}

.accepted-task-query svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.accepted-task-hint {
  max-width: 620px;
  margin: -2px auto 0;
  color: #7a839b;
  font-size: 12px;
  line-height: 1.6;
}

.accepted-task-auto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #8b94aa;
  font-size: 11.5px;
  line-height: 1.5;
}

.accepted-task-auto svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: reduce) {
  .accepted-task-icon::after {
    animation: none;
  }

  .accepted-task-query {
    transition: none;
  }
}

@keyframes accepted-task-orbit {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .feedback-banner.accepted-task-feedback .feedback-head {
    flex-direction: row;
    align-items: center;
  }

  .feedback-banner.accepted-task-feedback .masked-code {
    width: auto;
  }

  .processing-card.accepted-task-card {
    padding: 26px 15px 20px;
    border-radius: 15px;
  }

  .accepted-task-card .status-title {
    font-size: 21px;
  }

  .accepted-task-actions {
    gap: 11px;
    margin-top: 19px;
  }

  .accepted-task-badges {
    grid-template-columns: minmax(0, 1fr);
  }

  .accepted-task-badge {
    min-height: 50px;
    justify-content: flex-start;
    padding: 9px 13px;
  }

  .accepted-task-badge + .accepted-task-badge {
    border-top: 1px solid rgba(99, 102, 241, 0.11);
    border-left: 0;
  }

  .accepted-task-receipt {
    grid-template-columns: minmax(0, 1fr);
  }

  .accepted-task-detail {
    padding: 13px 14px;
  }

  .accepted-task-detail + .accepted-task-detail {
    border-top: 1px solid rgba(99, 102, 241, 0.11);
    border-left: 0;
  }

  .accepted-task-value-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .accepted-task-query {
    min-height: 50px;
    padding-inline: 14px;
  }
}

@media (max-width: 390px) {
  .processing-card.accepted-task-card {
    padding-inline: 12px;
  }

  .accepted-task-icon {
    width: 54px;
    height: 54px;
  }

  .accepted-task-badge {
    font-size: 12px;
  }
}
