.ps-helper-overview-actions {
  display: grid;
  gap: 12px;
}

.ps-helper-overview-card {
  appearance: none;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
  color: var(--ps-text);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.ps-helper-overview-card:hover,
.ps-helper-overview-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.22);
  box-shadow: 0 16px 30px rgba(8, 12, 22, 0.24);
}

.ps-helper-overview-card-title {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
}

.ps-helper-overview-card-copy {
  display: block;
  color: var(--ps-text-soft);
  font-size: 13px;
  line-height: 1.6;
}

.ps-helper-form,
.ps-helper-request-form {
  display: grid;
  gap: 12px;
  margin: 0;
}

.ps-helper-label {
  display: block;
  margin: 0;
  color: var(--ps-text-soft);
  font-size: 13px;
  font-weight: 600;
}

.ps-helper-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.ps-helper-input,
.ps-helper-textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(10, 15, 28, 0.94));
  color: rgba(244, 247, 255, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.015) inset,
    0 12px 24px rgba(3, 8, 18, 0.2);
}

.ps-helper-input {
  height: 52px;
  padding: 0 16px;
}

.ps-helper-textarea {
  min-height: 116px;
  padding: 14px 16px;
  resize: vertical;
  font: inherit;
  line-height: 1.6;
}

.ps-helper-input::placeholder,
.ps-helper-textarea::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

.ps-helper-input:focus-visible,
.ps-helper-textarea:focus-visible {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.16),
    0 0 0 4px rgba(56, 189, 248, 0.08),
    0 16px 34px rgba(6, 12, 24, 0.28);
}

.ps-helper-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.ps-helper-submit,
.ps-helper-action-link,
.ps-helper-result-link {
  appearance: none;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
}

.ps-helper-submit {
  min-height: 52px;
  padding: 0 18px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  box-shadow: 0 14px 32px rgba(56, 189, 248, 0.18);
  color: #f8fbff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ps-helper-submit:hover,
.ps-helper-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(56, 189, 248, 0.22);
}

.ps-helper-submit--secondary {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  box-shadow: none;
}

.ps-helper-note-card {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.018));
}

.ps-helper-note-card--tips {
  margin-top: 18px;
}

.ps-helper-note-title {
  margin: 0 0 8px;
  color: var(--ps-text);
  font-size: 15px;
  font-weight: 600;
}

.ps-helper-note-copy {
  margin: 0;
  color: var(--ps-text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.ps-helper-tips {
  margin: 0;
  padding-left: 18px;
  color: var(--ps-text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.ps-helper-tips li + li {
  margin-top: 4px;
}

.ps-helper-note-card.is-loading .ps-helper-note-copy::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(56, 189, 248, 0.8);
  border-radius: 999px;
  vertical-align: -2px;
  animation: ps-helper-spin 0.8s linear infinite;
}

.ps-helper-note-card.is-error {
  border-color: rgba(248, 113, 113, 0.24);
  background: rgba(127, 29, 29, 0.16);
}

.ps-helper-note-card.is-empty {
  border-color: rgba(251, 191, 36, 0.2);
  background: rgba(113, 63, 18, 0.14);
}

.ps-helper-note-card.is-success {
  border-color: rgba(56, 189, 248, 0.2);
}

.ps-helper-results {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.ps-helper-result-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.ps-helper-result-card img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  object-fit: cover;
}

.ps-helper-result-image-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 35% 30%, rgba(56, 189, 248, 0.08), transparent 48%);
}

.ps-helper-result-body {
  min-width: 0;
}

.ps-helper-result-title {
  margin: 0 0 6px;
  color: var(--ps-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.ps-helper-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 10px;
  color: var(--ps-text-soft);
  font-size: 13px;
}

.ps-helper-result-price {
  color: var(--ps-text);
  font-weight: 600;
}

.ps-helper-result-link,
.ps-helper-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  background: rgba(56, 189, 248, 0.14);
  color: #f8fbff;
  font-size: 13px;
  font-weight: 700;
}

.ps-helper-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.ps-helper-success {
  display: grid;
  gap: 14px;
  padding: 6px 0 0;
}

.ps-helper-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.24), rgba(99, 102, 241, 0.22));
  box-shadow: 0 16px 28px rgba(56, 189, 248, 0.14);
  color: #dff7ff;
}

.ps-helper-success-icon svg {
  width: 26px;
  height: 26px;
}

.ps-helper-success-title {
  margin: 2px 0 0;
  color: var(--ps-text);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.ps-helper-success-copy {
  margin: 0;
  color: var(--ps-text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.ps-helper-success-actions {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

@media (max-width: 767px) {
  .ps-helper-input-row {
    grid-template-columns: 1fr;
  }

  .ps-helper-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ps-helper-overview-card,
  .ps-helper-submit {
    animation: none !important;
    transition: none !important;
  }
}
