:root { --green:#173d2b; --green2:#24563d; --cream:#f7f5ef; --ink:#17231c; --muted:#617068; --line:#d9ded9; --gold:#f1c767; --white:#fff; }
* { box-sizing:border-box; }
body { margin:0; background:linear-gradient(180deg,#e8efe9 0,#f7f5ef 280px); color:var(--ink); font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
.app-shell { width:min(100%,800px); margin:0 auto; padding:24px 16px calc(28px + env(safe-area-inset-bottom)); }
.hero { display:flex; align-items:center; gap:14px; margin:10px 4px 24px; }.brand-mark { display:grid; place-items:center; width:52px; height:52px; flex:0 0 auto; border-radius:16px; background:var(--green); color:var(--gold); font-weight:800; letter-spacing:-.06em; font-size:19px; box-shadow:0 8px 20px #173d2b25; }.hero h1,.card h2,p { margin:0; }.hero h1 { font-size:27px; letter-spacing:-.04em; }.eyebrow { color:var(--green2); font-size:11px; letter-spacing:.12em; font-weight:800; }.header-actions { display:flex; align-items:center; gap:10px; margin-left:auto; }.primary-button,.text-button { border:0; font:inherit; font-weight:800; cursor:pointer; }.primary-button { min-height:42px; border-radius:10px; background:var(--green); color:#fff; padding:0 14px; }.text-button { color:var(--green2); background:transparent; padding:7px 3px; font-size:14px; }
.card { background:var(--white); border:1px solid var(--line); border-radius:20px; padding:20px; box-shadow:0 8px 24px #173d2b0d; margin-bottom:16px; }.section-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:3px; }.card h2 { font-size:18px; letter-spacing:-.02em; }.quote-number { color:var(--muted); font-size:13px; font-weight:700; }.two-column { display:grid; grid-template-columns:1fr 1fr; gap:0 14px; }label { display:block; margin:17px 0 7px; font-size:14px; font-weight:750; }input,textarea { width:100%; border:1px solid #bfcac2; border-radius:11px; background:#fff; color:var(--ink); padding:12px; font:inherit; font-size:16px; }input { min-height:48px; }textarea { resize:vertical; line-height:1.35; }input:focus,textarea:focus { outline:3px solid #f1c76788; border-color:var(--green2); }.optional,.field-note { color:var(--muted); font-weight:500; }.field-note { font-size:12px; line-height:1.4; margin-top:8px; }
.photo-picker { display:grid; place-items:center; min-height:108px; border:2px dashed #9eb4a4; border-radius:13px; color:var(--green2); background:#f4f8f4; cursor:pointer; }.photo-picker input { position:absolute; width:1px; height:1px; opacity:0; }.photo-picker span { font-weight:800; }.photo-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:12px; }.photo-card { position:relative; border-radius:12px; overflow:hidden; border:1px solid var(--line); aspect-ratio:4/3; background:#eef2ee; }.photo-card img { width:100%; height:100%; object-fit:cover; display:block; }.remove-photo { position:absolute; top:7px; right:7px; width:30px; height:30px; border:0; border-radius:50%; color:#fff; background:#17231ccc; font-size:18px; line-height:1; }
.price-lines { border-top:1px solid var(--line); margin-top:16px; }.price-line { display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line); }.print-line-description,.print-line-amount { display:block; }.print-line-amount { font-weight:800; text-align:right; white-space:nowrap; }.price-total { display:flex; justify-content:space-between; align-items:baseline; padding-top:16px; color:var(--green); font-weight:800; }.price-total strong { font-size:34px; letter-spacing:-.05em; }.terms-card textarea { margin-top:12px; }footer { color:var(--muted); text-align:center; font-size:12px; padding:8px; }
.work-details { margin:12px 0 0; padding-left:20px; color:var(--ink); }.work-details li { margin:7px 0; line-height:1.35; }
@media (max-width:560px) { .hero { flex-wrap:wrap; }.header-actions { width:100%; margin-left:0; justify-content:space-between; }.two-column { grid-template-columns:1fr; } }
@media print { @page { margin:.45in; } body { background:#fff; font-size:11pt; }.app-shell { width:100%; max-width:none; padding:0; }.hero { margin:0 0 18px; }.card { box-shadow:none; border:1px solid #aeb7b0; border-radius:10px; break-inside:avoid; margin-bottom:10px; padding:14px; }.no-print,.remove-photo { display:none !important; }.photo-grid { grid-template-columns:repeat(3,1fr); }.photo-card { border-radius:6px; }.price-line { grid-template-columns:1fr auto; gap:18px; padding:9px 0; }.price-total strong { font-size:26px; }.field-note { display:none; } }
.work-details { padding:0; margin-top:16px; }
.work-table { width:100%; border-collapse:collapse; text-align:left; font-size:14px; }
.work-table th { padding:12px 10px; background:#edf3ee; color:var(--green); font-size:12px; font-weight:800; }
.work-table td { padding:16px 10px; border-bottom:1px solid var(--line); line-height:1.45; vertical-align:top; }
.work-quantity { font-weight:800; }
.work-notes { margin-top:16px; padding-top:4px; }
.work-notes p { display:flex; gap:16px; margin:8px 0; font-size:14px; line-height:1.4; }
.work-notes strong { min-width:85px; color:var(--green); }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
@media (max-width:560px) { .work-table { font-size:12px; } .work-table th,.work-table td { padding:10px 6px; } .work-table th { font-size:11px; } }
@media print { .work-table th { background:#edf3ee !important; print-color-adjust:exact; } .work-table tr { break-inside:avoid; } .work-table td { padding:10px 8px; } }
.work-price-card .price-lines { border:0; margin-top:18px; }
.job-access { color:var(--muted); font-size:13px; margin-top:8px; }
.priced-group { border:1px solid var(--line); border-radius:12px; margin-bottom:14px; padding:16px; break-inside:avoid; }
.priced-group h3,.additional-services h3 { margin:0 0 12px; font-size:13px; color:var(--green); }
.priced-group h3 span { display:block; margin-top:4px; color:var(--ink); font-size:18px; font-weight:750; }
.service-line { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:10px 0; }
.service-line strong { font-size:14px; }.service-line p { color:var(--muted); font-size:12px; margin-top:4px; line-height:1.4; }
.service-amount { white-space:nowrap; text-align:right; }
.group-scope { display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:8px; padding-top:12px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; }
.additional-services { padding:4px 2px 14px; }.additional-services h3 { margin:4px 0; }.additional-services .service-line { border-bottom:1px solid var(--line); }
.quote-summary { margin-top:6px; padding:14px 16px; background:#f0f5f1; border-radius:10px; }
.summary-row { display:flex; justify-content:space-between; gap:14px; font-size:14px; padding:6px 0; }.summary-row strong { white-space:nowrap; }
.discount-row { color:var(--green2); }
.work-price-card .price-total { margin-top:16px; border-top:2px solid var(--green); padding-top:18px; }
@media print { .priced-group { padding:12px; margin-bottom:10px; }.priced-group h3 span { font-size:15px; }.group-scope { font-size:10px; }.quote-summary { print-color-adjust:exact; }.service-line { padding:7px 0; } }
.stump-price-table { width:100%; border-collapse:collapse; font-size:13px; text-align:left; }
.stump-price-table thead { background:#edf3ee; color:var(--green); }
.stump-price-table th,.stump-price-table td { padding:12px 8px; border-bottom:1px solid var(--line); line-height:1.4; }
.stump-price-table thead th { font-size:12px; font-weight:800; }
.stump-price-table tbody th { font-weight:700; }
.stump-price-table .amount-column { text-align:right; font-weight:800; white-space:nowrap; }
.stump-price-table + .additional-services { margin-top:22px; }
@media (max-width:560px) { .work-price-card { padding:16px 12px; }.stump-price-table { font-size:11px; }.stump-price-table th,.stump-price-table td { padding:10px 4px; }.stump-price-table thead th { font-size:10px; }.stump-price-table thead .amount-column { white-space:normal; } }
@media print { .work-price-card { break-inside:auto; }.stump-price-table { font-size:10pt; }.stump-price-table thead { display:table-header-group; print-color-adjust:exact; }.stump-price-table tr { break-inside:avoid; }.stump-price-table th,.stump-price-table td { padding:7px 6px; }.quote-summary,.price-total,.additional-services { break-inside:avoid; } }

.combined-details .terms-section + .terms-section { margin-top:20px; padding-top:18px; border-top:1px solid var(--line); }
.combined-details textarea { display:block; border:0; border-radius:0; padding:0; margin-top:8px; resize:none; background:transparent; }
@media print { .combined-details { break-inside:auto; }.combined-details .terms-section { break-inside:avoid; } }
[hidden] { display:none !important; }
select { width:100%; border:1px solid #bfcac2; border-radius:11px; background:#fff; color:var(--ink); padding:12px; font:inherit; min-height:48px; }
a.primary-button { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; }
a.text-button { text-decoration:none; }
.header-actions { flex-wrap:wrap; }
.save-quote-controls { display:flex; gap:14px; align-items:end; }.save-quote-controls > div { flex:1; }.save-quote-controls label { margin-top:0; }.save-quote-controls button { min-height:48px; }
.history-new { margin-left:auto; }.history-message { margin:8px 4px 18px; color:var(--muted); }
.saved-quote-heading { display:flex; gap:12px; justify-content:space-between; align-items:start; }.saved-quote-heading h2 { margin-top:6px; }.status-badge { background:#edf3ee; color:var(--green); border-radius:20px; padding:6px 10px; font-size:12px; font-weight:700; white-space:nowrap; }.saved-address { margin-top:12px; }.saved-quote-bottom { margin-top:18px; border-top:1px solid var(--line); padding-top:16px; display:flex; gap:12px; justify-content:space-between; align-items:center; }.saved-quote-bottom > div > strong { font-size:25px; color:var(--green); }
@media (max-width:560px) { .header-actions { gap:12px; justify-content:flex-start; }.saved-quote-heading { flex-wrap:wrap; } }
