.container--eto {
  max-width: 980px;
}

.eto-panel,
#eto-form,
.eto-results {
  display: grid;
  gap: 1.25rem;
}

.eto-heading,
.eto-result-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.eto-heading h2,
.eto-result-heading h2,
.eto-result-card h3 {
  margin: 0;
}

.eto-step {
  margin: 0 0 0.25rem;
  color: var(--color-primary, #146b63);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eto-field {
  display: grid;
  gap: 0.45rem;
  max-width: 28rem;
  font-weight: 700;
}

.eto-field input {
  width: 100%;
  min-width: 0;
}

.eto-range-note,
.eto-cycle {
  margin: 0;
  color: var(--color-text-muted, #52645f);
}

.eto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

#eto-error:empty,
#eto-copy-status:empty {
  display: none;
}

.eto-results {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border, #cbd8d5);
}

.eto-result-heading {
  grid-column: 1 / -1;
}

.eto-result-card {
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid var(--color-border, #cbd8d5);
  border-radius: 0.75rem;
  background: #fff;
  overflow-wrap: anywhere;
}

.eto-result-name {
  margin: 0.55rem 0 0.9rem;
  color: #684b08;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  font-weight: 800;
}

.eto-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
}

.eto-details div {
  padding: 0.7rem;
  border-radius: 0.55rem;
  background: #f3f8f7;
}

.eto-details dt {
  color: var(--color-text-muted, #52645f);
  font-size: 0.8rem;
  font-weight: 700;
}

.eto-details dd {
  margin: 0.2rem 0 0;
  font-weight: 800;
}

.eto-cycle {
  margin-top: 0.85rem;
  overflow-wrap: anywhere;
}

.eto-notice {
  margin: 0;
  padding: 1rem;
  border-left: 4px solid #b78a24;
  border-radius: 0.4rem;
  background: #fffaf0;
}

.eto-cycle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem 1.25rem;
  padding-left: 2.25rem;
}

.eto-cycle-list li {
  padding: 0.25rem 0;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .eto-results,
  .eto-details,
  .eto-cycle-list {
    grid-template-columns: 1fr;
  }

  .eto-result-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .eto-result-heading .button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .eto-actions .button {
    flex: 1 1 100%;
  }
}
