.rnd-shell {
  max-width: 1180px;
}

.rnd-grid .rnd-hero,
.rnd-grid .rnd-summary-panel,
.rnd-grid .rnd-history-panel {
  grid-column: 1 / -1;
}

.rnd-action-panel,
.rnd-result-panel {
  grid-column: span 6;
}

.rnd-hero::after {
  background:
    linear-gradient(145deg, rgba(73, 184, 215, 0.88), rgba(152, 44, 146, 0.8)),
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.38), transparent 28%),
    url("/assets/img/logo-icon.svg") center/48% no-repeat;
}

.rnd-main-button {
  min-height: 58px;
  font-size: 18px;
  font-weight: 500;
}

.rnd-action-panel textarea {
  width: 100%;
  resize: vertical;
  min-height: 92px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(25, 27, 32, 0.14);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.rnd-action-panel textarea:focus {
  outline: none;
  border-color: rgba(73, 184, 215, 0.9);
  transform: translateY(-1px);
}

.rnd-result-card {
  display: grid;
  gap: 12px;
  min-height: 236px;
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(25, 27, 32, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.46);
}

.rnd-result-card strong {
  font-family: "Unageo", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.rnd-result-label {
  color: var(--brand-slate);
  font-size: 15px;
}

.rnd-result-card.rnd-group-with {
  background:
    radial-gradient(circle at 15% 15%, rgba(73, 184, 215, 0.34), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(224, 248, 255, 0.92));
}

.rnd-result-card.rnd-group-without {
  background:
    radial-gradient(circle at 15% 15%, rgba(152, 44, 146, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(252, 236, 250, 0.92));
}

.rnd-overview {
  margin-bottom: 0;
}

.rnd-overview .overview-card span {
  color: var(--brand-slate);
}

.rnd-group-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
}

.rnd-group-pill.rnd-group-with {
  color: #0e6a84;
  background: rgba(73, 184, 215, 0.16);
}

.rnd-group-pill.rnd-group-without {
  color: #7c2375;
  background: rgba(152, 44, 146, 0.14);
}

.rnd-table {
  min-width: 840px;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .rnd-action-panel,
  .rnd-result-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .rnd-result-card {
    min-height: 180px;
    padding: 22px;
  }

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