.estimate-brief .field + .field{margin-top:1rem}.estimate-brief h3{margin:0 0 1rem}.estimate-navigation{padding-top:.8rem;border-top:1px solid var(--line,#d8d2c8)}.estimate-navigation-actions{display:flex;gap:.75rem;justify-content:space-between}.estimate-navigation p{font-size:.9rem;margin:0 0 .7rem}.estimate-contact{display:contents}.estimate-contact.is-estimate-contact{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.estimate-contact .full{grid-column:1/-1}.estimate-brief[hidden],.estimate-navigation[hidden],.estimate-contact[hidden]{display:none!important}.estimate-preview{background:#f6f2ea;border-block:1px solid #ddd4c5}.estimate-preview .section-head p{max-width:44rem}.estimate-table-scroll{overflow-x:auto;border:1px solid #d8d2c8}.estimate-table{width:100%;border-collapse:collapse;font-size:.95rem}.estimate-table th,.estimate-table td{text-align:left;vertical-align:top;padding:1rem;border-bottom:1px solid #d8d2c8}.estimate-table th{font-weight:600;background:#ece5d8}.estimate-total{padding:1.3rem 0;display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid #d8d2c8}.estimate-cost-notes,.estimate-format-grid,.estimate-agreement-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.6rem}.estimate-format{padding:1.6rem;border:1px solid #d8d2c8;background:#fffdf8}.estimate-format h3{margin:.5rem 0}.estimate-format strong{font-size:1.4rem}.estimate-format dl{margin:1rem 0}.estimate-format dt{font-weight:600;margin-top:.8rem}.estimate-format dd{margin:.2rem 0 0}.estimate-caption{font-size:.9rem;color:#655b50}.estimate-caption a{text-decoration:underline}.estimate-agreement-grid article{border-top:1px solid #d8d2c8;padding-top:1rem}.estimate-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.5rem}.estimate-result{max-width:46rem}.estimate-brief input,.estimate-brief select,.estimate-brief textarea{font:inherit;width:100%;max-width:100%;box-sizing:border-box}.estimate-navigation button{min-height:44px}.estimate-table td:first-child{min-width:10rem}.estimate-table th:last-child,.estimate-table td:last-child{min-width:7rem}@media(max-width:680px){.estimate-format-grid,.estimate-cost-notes,.estimate-agreement-grid,.estimate-contact.is-estimate-contact{grid-template-columns:1fr}.estimate-total{display:block}.estimate-total strong{display:block;margin-top:.6rem}.estimate-table{font-size:.9rem}.estimate-table th,.estimate-table td{padding:.8rem}.estimate-brief input,.estimate-brief select,.estimate-brief textarea{font-size:16px}.estimate-navigation-actions .button{flex:1;padding:.8rem}.estimate-format{padding:1.2rem}}
.estimate-format-grid .portfolio-card{border:1px solid #d8d2c8;background:#fffdf8;overflow:hidden}.estimate-format-grid .portfolio-card img{display:block;width:100%;height:auto;aspect-ratio:1440/1000;object-fit:cover}.estimate-format-grid .portfolio-card-body{padding:1.2rem}.estimate-format-grid .portfolio-card h3{margin:.4rem 0}.estimate-format-grid .portfolio-type{font-size:.85rem;color:#655b50}.estimate-format-grid .portfolio-link{font-weight:600;text-decoration:underline}
/* Keep request headings readable on the existing light dialog surface. */
.lead-dialog .lead-dialog-head h2{color:#1c3851}.lead-dialog .lead-dialog-head h2+p{color:#655b50}.lead-dialog .lead-dialog-brand{color:#805d3e}.lead-dialog .modal-close{color:#1c3851;border-color:#bba891}
.lead-dialog .lead-dialog-head p:not(.section-kicker):not(.lead-dialog-brand){color:#655b50}.lead-dialog .calculator-dialog-head.lead-dialog-head .lead-dialog-brand{color:#805d3e}.estimate-format-grid .portfolio-card h3{font-size:clamp(20px,2vw,28px);overflow-wrap:anywhere}

#website-formats,#estimate-example,#website-agreement,#website-faq,#website-estimate{scroll-margin-top:100px}

/* Readable text on the existing navy modal header. */
.lead-dialog .lead-dialog-head h2{color:#fffdf8}.lead-dialog .lead-dialog-head p:not(.section-kicker):not(.lead-dialog-brand){color:#f5f0e8}.lead-dialog .calculator-dialog-head.lead-dialog-head .lead-dialog-brand{color:#dcc4a8}.lead-dialog .modal-close{color:#fffdf8;border-color:#dcc4a8}.lead-dialog .privacy-note{color:#655b50;font-size:13px;line-height:1.6}

.lead-dialog .calculator-dialog-head.lead-dialog-head{background:#1c3851;border-bottom-color:#dcc4a8}

.lead-dialog .lead-dialog-head .section-kicker{color:#dcc4a8}

/* Form navigation and notes stay in normal flow at every viewport width. */
.lead-dialog .lead-form-card > .field-grid { margin-bottom: 20px; }
.lead-dialog .lead-form-card > .privacy-note { margin: 16px 0; }
.lead-dialog .lead-form-card > .privacy-note[data-preview-notice] { margin: 0 0 16px; }
.lead-dialog .estimate-navigation { gap: 12px; min-width: 0; }
.lead-dialog .estimate-navigation p { margin: 0; }
.lead-dialog .estimate-navigation-actions { flex-wrap: wrap; gap: 12px; }
.lead-dialog .estimate-navigation-actions button[hidden] { display: none; }
.lead-dialog .lead-dialog-brand { display: flex; align-items: center; gap: 10px; }
.lead-dialog-brand .lead-brand-symbol { display: block; width: 36px; height: 36px; flex: 0 0 36px; object-fit: contain; padding: 0; box-sizing: border-box; border-radius: 0; background: transparent; }

.lead-dialog-brand .lead-brand-symbol { content: url("assets/arkascale-dialog-symbol-complete.svg"); }
