.emdr-cost-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.25rem 0}
.emdr-cost-fields label{display:flex;flex-direction:column;gap:.5rem;font-size:1rem;line-height:1.5;font-weight:600}
.emdr-cost-fields input{box-sizing:border-box;width:100%;min-width:0;min-height:48px;border:1px solid #69858c;border-radius:5px;padding:.65rem .75rem;background:#fff;color:#173b45;font:inherit}
.emdr-cost-fields input[aria-invalid=true]{border:2px solid #a32d2d}
.emdr-cost-fields input:focus-visible,.emdr-cost-table-wrap:focus-visible,#emdr-quote-reset:focus-visible{outline:3px solid #075b56;outline-offset:4px}
.emdr-cost-error{padding:.75rem;border-left:4px solid #a32d2d;background:#fff0ee;color:#722020;font-size:1rem}
.emdr-cost-error[hidden]{display:none}
#cost-calculator .emdr-tool-result{min-height:2rem;overflow-wrap:anywhere}
#emdr-quote-reset{padding:.7rem 1rem;font:inherit;border:1px solid #165d58;border-radius:5px;background:#fff;color:#165d58;cursor:pointer;min-height:44px}
.emdr-cost-formula{overflow-wrap:anywhere;font-size:1rem}
.emdr-cost-table-wrap{overflow-x:auto;max-width:100%;margin:1rem 0 1.5rem;border:1px solid #a8bdc1;border-radius:6px}
.emdr-cost-table{border-collapse:collapse;min-width:1080px;width:100%;font-size:1rem;line-height:1.55}
.emdr-cost-table caption{text-align:left;padding:1rem;font-weight:600;background:#e6f1f0;color:#173b45}
.emdr-cost-table th,.emdr-cost-table td{padding:1rem;vertical-align:top;text-align:left;border-bottom:1px solid #c4d2d5}
.emdr-cost-table thead th{background:#e6f1f0;color:#173b45}
.emdr-cost-table tbody th{min-width:160px;font-weight:600}
.emdr-cost-table td{min-width:180px}
@media(max-width:600px){.emdr-cost-fields{grid-template-columns:minmax(0,1fr)}.emdr-cost-table-wrap{border-radius:3px}}
@media print{
 .emdr-cost-fields{grid-template-columns:repeat(2,minmax(0,1fr));break-inside:avoid}
 .emdr-cost-fields input{border:1px solid #777;background:#fff;color:#000}
 #emdr-quote-reset,.emdr-print{display:none!important}
 .emdr-cost-table-wrap{overflow:visible!important;border:0;max-width:none}
 .emdr-cost-table{min-width:0!important;table-layout:fixed;width:100%;font-size:9pt;line-height:1.3}
 .emdr-cost-table th,.emdr-cost-table td{min-width:0!important;padding:5pt;overflow-wrap:anywhere}
 .emdr-cost-table tr{break-inside:avoid}
}
