.state-field {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.state-field > span {
  font-size: 12px;
  font-weight: 900;
}

.state-field select {
  width: 100%;
  height: 50px;
  padding: 0 12px;
  border: 1.5px solid var(--ink);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 850;
}

.state-tax-note {
  margin: 7px 0 15px;
  padding: 11px 12px;
  border: 1.5px dashed var(--ink);
  border-radius: 12px;
  background: var(--soft-yellow);
  color: #4d524b;
  font-size: 10px;
}

.planning-note {
  display: inline-block;
  margin: -10px 0 20px;
  padding: 7px 9px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: #fff;
  font-size: 10px;
  font-weight: 850;
}

.save-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -8px 0 20px;
}

.save-estimate {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  cursor: pointer;
}

.save-estimate:hover { background: var(--blue); }
.save-estimate:active { transform: translateY(1px); }

.save-row span {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.estimate-preview {
  margin: -4px 0 20px;
  padding: 9px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: #fff;
}

.estimate-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d3d5ce;
  border-radius: 9px;
}

.estimate-preview figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 3px 1px;
}

.estimate-preview a {
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
}

.estimate-preview figcaption span {
  color: var(--muted);
  font-size: 9px;
}

@media (max-width: 640px) {
  .save-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .save-row span { font-size: 10px; }

  .estimate-preview figcaption {
    align-items: flex-start;
    flex-direction: column;
  }
}
