.unimed-guide {
  --unimed-green: #164b3b;
  --unimed-soft: #edf5ef;
  --unimed-border: #cfddd2;
  --unimed-text: #20352a;
  color: var(--unimed-text);
}

.unimed-guide h1,
.unimed-guide h2 {
  overflow-wrap: break-word;
}

.unimed-hero {
  margin: 1rem 0 2rem;
  padding: clamp(1.3rem, 5vw, 3.4rem);
  border-radius: 1.3rem;
  background: var(--unimed-soft);
}

.unimed-hero h1 {
  max-width: 20ch;
  margin: .1em 0 .35em;
  font-size: clamp(2.25rem, 5.8vw, 4.3rem);
  line-height: 1;
}

.unimed-hero p {
  max-width: 67ch;
}

.unimed-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.unimed-content {
  width: min(100% - 2rem, 52rem);
  margin: 0 auto 3rem;
}

.unimed-content > section,
.unimed-content > details {
  margin: 1.5rem 0;
  scroll-margin-top: 7rem;
}

.unimed-content h2 {
  margin: 0 0 .55rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
}

.unimed-content p {
  line-height: 1.7;
}

.unimed-box,
.unimed-cards article {
  padding: clamp(1rem, 3vw, 1.55rem);
  border: 1px solid var(--unimed-border);
  border-radius: 1rem;
  background: #fff;
}

.unimed-box summary {
  cursor: pointer;
  font-weight: 700;
}

.unimed-fields,
.unimed-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: .75rem;
}

.unimed-fields label {
  display: grid;
  align-content: start;
  gap: .3rem;
  font-weight: 600;
}

.unimed-fields input,
.unimed-fields select {
  width: 100%;
  min-height: 2.8rem;
  padding: .5rem;
  border: 1px solid #6c8978;
  border-radius: .5rem;
  background: white;
  color: inherit;
  font: inherit;
}

.unimed-guide a {
  text-underline-offset: .18em;
}

.unimed-content a:not(.unimed-button) {
  text-decoration: underline;
}

.unimed-button {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: .65rem 1.1rem;
  border: 0;
  border-radius: .65rem;
  background: var(--unimed-green);
  color: white;
  font: inherit;
  font-weight: 700;
  white-space: normal;
  cursor: pointer;
}

.unimed-guide .unimed-button:hover {
  background: #11382d;
  color: #fff;
}

.unimed-guide :focus-visible {
  outline: 3px solid #115c8c;
  outline-offset: 3px;
}

.unimed-box form > button {
  margin-top: .85rem;
}

.unimed-result:not(:empty) {
  margin-top: 1rem;
  padding: .9rem;
  border-radius: .6rem;
  background: var(--unimed-soft);
}

.unimed-source {
  font-size: .94rem;
}

.unimed-fields input[type="checkbox"] {
  width: 1.2rem;
  min-height: 1.2rem;
  accent-color: var(--unimed-green);
}
