.page[data-astro-cid-qfmkcqtg] {
  max-width: 640px;
  margin: 0 auto;
  padding: 18vh var(--gutter) 10vh;
}

h1[data-astro-cid-qfmkcqtg] {
  font-weight: 700;
  font-size: var(--step-title);
  line-height: 1.03;
  letter-spacing: -.03em;
  margin: 0 0 14px;
  text-wrap: balance;
}

.intro[data-astro-cid-qfmkcqtg] {
  font-family: var(--font-body), Georgia, serif;
  font-size: 17px;
  line-height: 1.68;
  color: #c9c8c5;
  margin: 0 0 7vh;
  max-width: 56ch;
}

.fields[data-astro-cid-qfmkcqtg] {
  display: flex;
  flex-direction: column;
}

.field[data-astro-cid-qfmkcqtg] {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 26px;
}

.field[data-astro-cid-qfmkcqtg] label[data-astro-cid-qfmkcqtg], .field-legend[data-astro-cid-qfmkcqtg] {
  font-size: 12px;
  color: #6e6e6c;
  letter-spacing: .02em;
}

.input[data-astro-cid-qfmkcqtg] {
  border: 0;
  border-bottom: 1px solid var(--grey);
  border-radius: 0;
  background: none;
  padding: 8px 0 10px;
  font-family: var(--font-body), Georgia, serif;
  font-size: 16px;
  color: var(--type);
  width: 100%;
}

.input[data-astro-cid-qfmkcqtg]:focus {
  outline: none;
  border-bottom: 1px solid var(--accent);
}

.input[data-astro-cid-qfmkcqtg]:focus-visible {
  outline: 2px solid var(--type);
  outline-offset: 2px;
}

.select-wrap[data-astro-cid-qfmkcqtg] {
  position: relative;
}

.select-wrap[data-astro-cid-qfmkcqtg]:after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  translate: 0 -50%;
  width: 10px;
  height: 10px;
  pointer-events: none;
  background-color: #9a9a97;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23000' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23000' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

select[data-astro-cid-qfmkcqtg].input {
  appearance: none;
  padding-right: 20px;
  cursor: pointer;
}

select[data-astro-cid-qfmkcqtg].input:hover {
  border-bottom-color: var(--type);
}

.select-wrap[data-astro-cid-qfmkcqtg]:has(select:hover):after, .select-wrap[data-astro-cid-qfmkcqtg]:has(select:focus):after {
  background-color: var(--type);
}

.duration-inputs[data-astro-cid-qfmkcqtg] {
  display: flex;
  gap: 24px;
}

.duration-input[data-astro-cid-qfmkcqtg] {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: 1;
}

.duration-input[data-astro-cid-qfmkcqtg] input[data-astro-cid-qfmkcqtg] {
  width: 4ch;
  flex: none;
}

.duration-input[data-astro-cid-qfmkcqtg] span[data-astro-cid-qfmkcqtg] {
  font-size: 13px;
  color: #6e6e6c;
}

.submit[data-astro-cid-qfmkcqtg] {
  display: inline-block;
  align-self: flex-start;
  margin-top: 6px;
  background: none;
  border: none;
  padding: 0 0 3px;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  cursor: pointer;
}

.submit[data-astro-cid-qfmkcqtg]:hover {
  opacity: .82;
}

.result[data-astro-cid-qfmkcqtg] {
  margin-top: 6vh;
  padding-top: 5vh;
  border-top: 1px solid var(--grey);
  font-family: var(--font-body), Georgia, serif;
}

.result[data-astro-cid-qfmkcqtg] p.result-placeholder {
  color: #6e6e6c;
  font-size: 15px;
}

.result[data-astro-cid-qfmkcqtg] p.result-headline {
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: var(--step-section);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--type);
  margin: 0 0 10px;
}

.result[data-astro-cid-qfmkcqtg] p {
  font-size: 15px;
  line-height: 1.68;
  color: #c9c8c5;
  margin: 0 0 14px;
  max-width: 54ch;
}

.result[data-astro-cid-qfmkcqtg] p:last-child {
  margin-bottom: 0;
}

.result[data-astro-cid-qfmkcqtg] .stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  margin: 0 0 22px;
}

.result[data-astro-cid-qfmkcqtg] .stat-tile {
  flex: 140px;
}

.result[data-astro-cid-qfmkcqtg] p.stat-label {
  font-size: 12px;
  color: #6e6e6c;
  letter-spacing: .02em;
  margin: 0 0 6px;
}

.result[data-astro-cid-qfmkcqtg] p.stat-value {
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--type);
  line-height: 1.1;
}

.result[data-astro-cid-qfmkcqtg] .stat-unit {
  font-size: 14px;
  font-weight: 500;
  color: #9a9a97;
  margin-left: 2px;
}

.result[data-astro-cid-qfmkcqtg] p.result-note {
  font-size: 13px;
  color: #9a9a97;
  margin: 0 0 20px;
}

.result[data-astro-cid-qfmkcqtg] p.result-caveat {
  font-size: 14px;
  line-height: 1.65;
  color: #9a9a97;
  padding-top: 18px;
  border-top: 1px solid var(--surface-5);
  max-width: 54ch;
}

.sources[data-astro-cid-qfmkcqtg] {
  font-family: var(--font-body), Georgia, serif;
  font-size: 13px;
  line-height: 1.7;
  color: #6e6e6c;
  margin: 6vh 0 0;
  max-width: 56ch;
}

.sources[data-astro-cid-qfmkcqtg] a[data-astro-cid-qfmkcqtg] {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-color: #6e6e6c;
}

.sources[data-astro-cid-qfmkcqtg] a[data-astro-cid-qfmkcqtg]:hover {
  text-decoration-color: var(--type);
}
