.estimator-app {
  color: #173f3f;
  background: #f8f3e8;
  min-height: 70vh;
}
.estimator-app * { box-sizing: border-box; }
.estimator-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}
.estimator-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.estimator-progress li {
  border-top: 4px solid #c9d6cf;
  padding-top: 10px;
  color: #506663;
  font-size: 14px;
  font-weight: 700;
}
.estimator-progress li[aria-current="step"] { border-color: #07545c; color: #07545c; }
.estimator-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  overflow: hidden;
  border: 1px solid #d6ded8;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(23, 63, 63, .12);
}
.estimator-panel-content { padding: clamp(28px, 5vw, 64px); }
.estimator-panel-media { position: relative; min-height: 560px; background: #dce8e1; }
.estimator-panel-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.estimator-eyebrow { margin: 0 0 12px; color: #a84e31; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.estimator-app h1 { margin: 0 0 16px; color: #073f46; font-family: Mackinac, Georgia, serif; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; }
.estimator-intro { max-width: 680px; margin: 0 0 32px; color: #455d5a; font-size: 18px; line-height: 1.65; }
.estimator-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.estimator-field { display: grid; gap: 8px; }
.estimator-field.is-wide { grid-column: 1 / -1; }
.estimator-field label, .estimator-field legend { color: #173f3f; font-weight: 750; }
.estimator-field input, .estimator-field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #9fb4ad;
  border-radius: 10px;
  background: #fff;
  padding: 11px 13px;
  color: #173f3f;
  font: inherit;
}
.estimator-field input:focus, .estimator-field select:focus { outline: 3px solid rgba(7, 84, 92, .22); border-color: #07545c; }
.estimator-field-help { margin: 0; color: #607571; font-size: 14px; line-height: 1.45; }
.estimator-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.estimator-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid #07545c;
  border-radius: 999px;
  background: #07545c;
  padding: 11px 22px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.estimator-button:hover, .estimator-button:focus { background: #0c6b73; border-color: #0c6b73; color: #fff; }
.estimator-button.is-secondary { background: transparent; color: #07545c; }
.estimator-button.is-secondary:hover, .estimator-button.is-secondary:focus { background: #edf5f1; color: #07545c; }
#estimator-location-form .estimator-location-field { position: relative; min-width: 0; }
#estimator-location-form .estimator-location-field > input { width: 100%; }
#estimator-location-form .estimator-field-help,
#estimator-location-form .estimator-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
#estimator-location-form .estimator-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
}
.react-player iframe { width: 100%; height: 100%; border: 0; }
.estimator-video-poster {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 45%, #f4f7f3 0, #dce9e4 55%, #c6d9d2 100%);
  color: #173f3f;
  font-family: Mackinac, Georgia, serif;
  padding-bottom: 70px;
}
.estimator-video-poster span { margin-bottom: 4px; font-size: 16px; }
.estimator-video-poster strong { font-size: clamp(27px, 4vw, 38px); font-weight: 500; }
.bg-\[\#141413\] > button.inset-0 { justify-content: flex-end; padding-bottom: 54px; }
.estimator-status { min-height: 20px; margin: 8px 0 0; color: #506663; font-size: 14px; }
.estimator-status.is-error { color: #a12f24; font-weight: 700; }
.estimator-status.is-success { color: #25663c; font-weight: 700; }
.estimator-suggestions { position: relative; z-index: 5; display: grid; width: 100%; margin-top: 4px; overflow: hidden; border-radius: 10px; box-shadow: 0 12px 30px rgba(23,63,63,.16); }
.estimator-suggestion { border: 0; border-bottom: 1px solid #dbe5df; background: #fff; padding: 12px 14px; color: #173f3f; text-align: left; cursor: pointer; }
.estimator-suggestion:hover, .estimator-suggestion:focus { background: #edf5f1; outline: none; }
.estimator-summary-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.estimator-summary-list div { border-radius: 12px; background: #edf5f1; padding: 16px; }
.estimator-summary-list dt { color: #607571; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.estimator-summary-list dd { margin: 5px 0 0; color: #173f3f; font-size: 17px; font-weight: 750; }
.estimator-range { margin: 8px 0 4px; color: #07545c; font-family: Mackinac, Georgia, serif; font-size: clamp(38px, 5vw, 60px); line-height: 1; }
.estimator-property-summary { margin: 0 0 28px; color: #607571; }
.estimator-breakdown { width: 100%; margin-top: 24px; border-collapse: collapse; }
.estimator-breakdown caption { margin-bottom: 10px; color: #173f3f; font-size: 20px; font-weight: 800; text-align: left; }
.estimator-breakdown th, .estimator-breakdown td { border-bottom: 1px solid #dbe5df; padding: 12px 4px; text-align: left; }
.estimator-breakdown th { font-weight: 600; }
.estimator-breakdown td { font-variant-numeric: tabular-nums; font-weight: 750; text-align: right; }
.estimator-assumptions { margin-top: 30px; border-left: 4px solid #d79b67; background: #fff8ed; padding: 18px 20px; color: #4b5e5b; line-height: 1.55; }
.estimator-recovery { max-width: 760px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.estimator-recovery p { margin: 0 auto 26px; color: #506663; font-size: 18px; line-height: 1.6; }
@media (max-width: 860px) {
  .estimator-panel { grid-template-columns: 1fr; }
  .estimator-panel-media { min-height: 280px; order: -1; }
  .estimator-grid, .estimator-summary-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .estimator-shell { width: min(100% - 20px, 1180px); padding-top: 28px; }
  .estimator-progress li { font-size: 12px; }
  .estimator-panel-content { padding: 24px 18px 32px; }
  .estimator-panel-media { min-height: 220px; }
}
