/* Instant estimate page */
.est { max-width: 720px; display: grid; gap: 22px; }
.est-card { background: var(--white); border: 1px solid #e3d8c4; border-radius: var(--radius); padding: 26px; box-shadow: 0 8px 24px -16px rgba(60,45,25,.35); }
.est-card h2 { font-size: 1.25rem; margin: 18px 0 10px; }
.est-card h2:first-child { margin-top: 0; }
.est .opt { font-weight: 400; color: var(--muted); font-size: .95rem; }
.drop { display: block; border: 2px dashed #bba98a; border-radius: var(--radius); background: var(--green-light); padding: 26px 16px; text-align: center; cursor: pointer; margin-bottom: 12px; }
.drop:hover, .drop:focus-within { border-color: var(--green); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-txt { color: var(--green-dark); }
#estNotes { width: 100%; min-height: 90px; padding: 12px; border: 1px solid #d6cab4; border-radius: 8px; font: inherit; }
.check { display: flex; gap: 10px; align-items: center; margin: 14px 0 18px; font-weight: 600; }
.check input { width: 20px; height: 20px; }
.btn.big { width: 100%; font-size: 1.1rem; padding: 16px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.est-err { color: #b3261e; margin: 10px 0 0; min-height: 1em; }
.est-wait { text-align: center; }
.spinner { width: 44px; height: 44px; margin: 0 auto 12px; border: 4px solid var(--green-light); border-top-color: var(--green); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
.price-label { color: var(--muted); font-weight: 600; margin: 0; }
.price { font-size: clamp(2.4rem, 8vw, 3.4rem); font-weight: 800; color: var(--green-dark); line-height: 1.1; margin: 4px 0 6px; }
.price-sub { color: var(--muted); margin: 0 0 18px; }
.breakdown { width: 100%; border-collapse: collapse; margin: 10px 0 18px; }
.breakdown td { padding: 8px 0; border-bottom: 1px solid #ece3d2; }
.breakdown td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.breakdown tr.total td { font-weight: 800; border-bottom: 0; }
.tree-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.tree-facts li { background: var(--green-light); border-radius: 999px; padding: 6px 12px; font-size: .95rem; }
.note { background: #fbf4e6; border-left: 4px solid var(--accent); padding: 12px 14px; border-radius: 6px; font-size: .95rem; }
.est-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.linkbtn { background: none; border: 0; color: var(--green); text-decoration: underline; font: inherit; cursor: pointer; padding: 0; }
.est-card .btn.outline { color: var(--green-dark) !important; border-color: var(--green-dark); background: transparent; }
.est-card .btn.outline:hover { background: var(--green-dark); color: var(--white) !important; }

/* Approve & schedule */
#bookForm .two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#bookForm select { width: 100%; padding: 12px; border: 1px solid #d6cab4; border-radius: 8px; font: inherit; background: #fff; }
#bookForm .bk-note { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 500px) { #bookForm .two-up { grid-template-columns: 1fr; } }

#est [hidden] { display: none !important; }

/* Contact info before the estimate */
.est-sub { margin: -4px 0 12px; color: var(--muted); font-size: .95rem; }
.est-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-bottom: 6px; }
.est-contact label { font-weight: 600; display: block; margin-bottom: 4px; }
.est-contact input { width: 100%; padding: 12px; border: 1px solid #d6cab4; border-radius: 8px; font: inherit; }
@media (max-width: 560px) { .est-contact { grid-template-columns: 1fr; } }
.bk-who { margin: 0; padding: 10px 12px; background: var(--green-light); border-radius: 8px; font-weight: 600; }

/* Removal / trimming choice */
.est-svc { border: 0; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.est-svc legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; padding: 0; }
.est-svc label { position: relative; display: block; cursor: pointer; }
.est-svc input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.est-svc span { display: block; text-align: center; font-weight: 700; padding: 13px 10px; border: 2px solid #bba98a; border-radius: 10px; background: var(--white); color: var(--green-dark); }
.est-svc input:checked + span { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.est-svc input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.check[hidden] { display: none; }
