/* Match the surfaces and input outlines used by the comparison. */
.calculator-page :is(.builder-risk, .builder-model, .builder-basket, .builder-notice, .builder-assets, .builder-explainer, .builder-next-steps) {
  background: #eaf4ef;
  border: 1px solid #c8ddd5;
  border-radius: 18px;
  box-shadow: 0 3px 9px #0b5b5b12;
}
.calculator-page .builder-risk.is-selected {
  background: #d4eee7;
  border-color: #527f7b;
}
.calculator-page :is(.builder-profile, .builder-risk, .builder-basket) :is(input:not([type="checkbox"]):not([type="radio"]), select) {
  background: #fff;
  border-color: #b4c8c1;
  border-radius: 10px;
}
.calculator-page :is(.builder-assets, .builder-expense-check, .builder-model) > summary {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid #527f7b;
  border-radius: 999px;
  background: #e1f3ef;
  color: #12494f;
  cursor: pointer;
}
.calculator-page :is(.builder-assets, .builder-expense-check, .builder-model) > summary:hover {
  background: #c5e8e2;
}

.builder-impact { margin-block: 18px; }
.builder-impact > article { background: #f3faf7; border: 1px solid #c8ddd5; border-radius: 14px; padding: 14px; margin-block: 10px; }
.builder-impact h4 { margin: 0 0 6px; }
.builder-impact strong { color: #104d54; font-size: 1.25rem; }
.builder-impact p { margin-block: 6px; }
.impact-bar { height: 8px; border-radius: 99px; overflow: hidden; background: #a7dad1; margin-block: 10px; }
.impact-bar span { display: block; height: 100%; background: #104d54; }

/* Profile fields use the comparison's full-width field size. */
.calculator-page #builder-profile > label:has(> :is(input:not([type="hidden"]), select)),
.calculator-page #builder-child-ages > label {
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
}
.calculator-page #builder-profile > label > :is(input:not([type="hidden"]), select):not([hidden]),
.calculator-page #builder-child-ages > label > select {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 10px 0 0;
  padding: 16px;
  border: 1px solid #b7ccc1;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  font-size: 16px;
  line-height: 1.2;
}
.calculator-page #builder-profile > label > select,
.calculator-page #builder-child-ages > label > select { padding-inline-end: 40px; }

.risk-priority { display: inline-block; margin-block: 4px; padding: 3px 8px; border-radius: 99px; font-size: .75rem; font-weight: 700; color: #234574; background: #e9eff9; }
.risk-priority--top { color: #075248; background: #d4eee7; }
.risk-priority--low { color: #414b53; background: #eceff1; }

.calculator-page main select {
  appearance: auto;
  font-family: inherit;
}
.calculator-page #builder-profile > label > select:not([hidden]),
.calculator-page #builder-child-ages > label > select {
  -webkit-appearance: none;
  appearance: none;
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 42px 0 16px;
  color: #23272c;
  -webkit-text-fill-color: currentColor;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23104d54' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
