.interest-shell {
  padding-block: 40px 80px;
  max-width: 1100px;
}
.interest-shell header {
  padding-block: 32px;
  max-width: 780px;
}
.interest-shell h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.08;
  margin: 18px 0;
}
.interest-shell h2 {
  font-size: 1.75rem;
}
.interest-shell p {
  line-height: 1.6;
}
.interest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.interest-card {
  background: white;
  border: 1px solid #dedbd6;
  border-radius: 12px;
  padding: 28px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.interest-card form {
  display: grid;
  gap: 12px;
}
.interest-card input,
.interest-card select {
  font: inherit;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #aaa6a0;
  border-radius: 7px;
  padding: 10px;
  background: #fff;
  color: #202020;
}
.interest-card select {
  width: 100%;
}
.interest-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  flex-wrap: nowrap;
}
.interest-check span {
  min-width: 0;
  flex: 1;
}
.interest-check input {
  min-height: 20px;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: #160bff;
}
.interest-note {
  font-size: 0.9rem;
  color: #686772;
}
.interest-shell [hidden] {
  display: none;
}
.interest-list {
  margin-top: 48px;
}
#interest-records {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.interest-record-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.interest-shell :focus-visible {
  outline: 2px solid #160bff;
  outline-offset: 4px;
}
@media (max-width: 700px) {
  .interest-grid {
    grid-template-columns: 1fr;
  }
  .interest-card {
    padding: 20px;
  }
  .interest-shell {
    padding-block: 24px 48px;
  }
  .interest-card .ds-button {
    white-space: normal;
  }
}
