/* Facebook links and the LINE estimate request form. */
#estimate { scroll-margin-top: 90px; }
.estimate-wrap > *, .form-row > * { min-width: 0; }
.estimate-card h3 { margin: 0 0 6px; font-size: 1.3rem; }
.form-intro, .field-help, .form-privacy, .desktop-help,
.handoff-note, .estimate-status { font-size: .875rem; line-height: 1.75; }
.form-intro { margin: 0 0 24px; color: var(--muted); }
.estimate-group { padding: 0; margin: 0 0 18px; border: 0; min-width: 0; }
.estimate-group + .estimate-group { border-top: 1px solid var(--line); padding-top: 18px; }
.estimate-group legend { font-size: 1rem; font-weight: 850; margin-bottom: 16px; padding: 0; }
.estimate-group legend span { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 6px; border-radius: 9px; background: var(--soft); color: #08666b; }
.estimate-card input, .estimate-card select, .estimate-card textarea { font-size: 1rem; }
.estimate-card .btn { font: inherit; font-weight: 750; white-space: normal; min-height: 48px; }
.btn-line { color: #fff; background: #08783a; }
.btn-line:hover { background: #06642f; }
.btn-facebook { color: #fff; background: #0866d9; }
.btn-facebook:hover { background: #064caa; }
.estimate-card button:disabled { cursor: wait; opacity: .6; }
.field-help { color: #526477; font-weight: 500; }
.info-panel .checklist small { display: block; font-size: .875rem; color: #526477; font-weight: 500; margin-top: 4px; }
.estimate-note { margin-top: 28px; border-top: 1px solid #c6dfdf; padding-top: 20px; }
.estimate-note p { margin: 8px 0 0; color: #526477; }
.form-privacy { margin: 0 0 14px; color: #526477; }
.handoff-note { margin: 18px 0 8px; padding: 13px 15px; background: #eef9f1; color: #234a33; border-radius: 14px; }
.desktop-help { margin: 10px 0; color: #526477; }
.desktop-help a, .handoff-note a { color: #08666b; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.estimate-status { color: #075b2d; font-weight: 650; overflow-wrap: anywhere; }
.estimate-status:empty { display: none; }
.message-preview { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.message-preview summary { cursor: pointer; font-size: .875rem; font-weight: 750; padding: 8px 0; }
.message-preview textarea { margin-top: 10px; min-height: 220px; }
.facebook-works { text-align: center; padding: 4px 0 24px; }
.facebook-works p { color: #526477; font-size: .875rem; margin: 12px 0 0; }
.footer-links { display: grid; gap: 10px; text-align: right; }
.footer-links a { color: #fff; text-decoration: underline; text-underline-offset: 4px; font-size: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.btn:focus-visible, .footer-links a:focus-visible, .message-preview summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
@media (max-width: 900px) {
  .estimate-wrap { grid-template-columns: 1fr; }
  .footer-links { text-align: left; margin-top: 20px; }
}
@media (max-width: 620px) {
  .estimate-card, .info-panel { padding: 22px 18px; border-radius: 22px; }
  .facebook-works .btn { white-space: normal; }
  .estimate-card .form-row { grid-template-columns: 1fr; }
}
