.lc-estimate [hidden] { display: none !important; }
.lc-estimate > p { max-width: 64ch; }
.lc-estimate .estimate-tool {
  padding: clamp(1.2rem, 3.5vw, 2.75rem);
  background: var(--cream, #f6f0e8);
  border: 1px solid var(--line, #ded4c9);
  border-radius: 18px;
}
.lc-estimate .estimate-tool h2 { margin-top: 0; }
.estimate-field { padding: 0; margin: 1.1rem 0 1.5rem; min-width: 0; border: 0; }
.estimate-field legend { margin: 0 0 .5rem; padding: 0; font-weight: 650; }
.estimate-switch { display: flex; gap: .5rem; flex-wrap: wrap; }
.estimate-switch label,
.estimate-choice {
  display: flex; align-items: center; gap: .65rem; min-height: 48px;
  padding: .55rem .85rem; border: 1px solid var(--line, #ded4c9);
  border-radius: 9px; background: var(--paper, #fffcf7); cursor: pointer;
}
.estimate-switch label:focus-within,
.estimate-choice:focus-within { outline: 2px solid var(--plum, #593b4e); outline-offset: 2px; }
.estimate-choice:has(input:checked),
.estimate-switch label:has(input:checked) { border-color: var(--plum, #593b4e); background: #f4e9ef; }
.estimate-field input { accent-color: var(--plum, #593b4e); width: 1rem; height: 1rem; margin: 0; flex: 0 0 auto; }
.estimate-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.estimate-price { white-space: nowrap; margin-left: auto; font-variant-numeric: tabular-nums; }
.estimate-result { border-top: 1px solid var(--line, #ded4c9); padding-top: 1rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.lc-estimate .estimate-output { margin: .15rem 0 0; font-variant-numeric: tabular-nums; }
.estimate-example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.lc-estimate .estimate-examples { list-style: none; margin: 0; padding: 0; }
.estimate-examples li { display: grid; gap: .25rem; padding: .9rem 0 1rem; border-top: 1px solid var(--line, #ded4c9); }
.estimate-examples a { justify-self: start; }
@media (max-width: 650px) {
  .estimate-choices, .estimate-example-grid { grid-template-columns: 1fr; }
  .estimate-example-grid { gap: .45rem; }
}
