.quote-summary .summary-actions { flex-wrap: wrap; gap: 14px 22px; }
.quote-download { border-bottom: 1px solid #9db6a1; }
.quote-download span { font-size: 17px; }
.quote-download-note { margin-top: 19px; color: #607465; font-size: 11px; line-height: 1.8; }
.quote-download-status { color: #365e48; font-size: 11px; line-height: 1.9; }
.quote-download-status:not(:empty) { margin-top: 10px; }
.quote-copy-status { color: #365e48; font-size: 11px; line-height: 1.9; overflow-wrap: anywhere; }
.quote-copy-status:not(:empty) { margin-top: 12px; }
.quote-copy-fallback { margin-top: 16px; padding: 18px; border: 1px solid #b5c9b5; background: #eef2e8; }
.quote-copy-fallback label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.quote-copy-fallback p { font-size: 11px; line-height: 1.8; color: #526c5b; margin: 0 0 12px; }
.quote-copy-fallback textarea { display: block; width: 100%; min-height: 220px; resize: vertical; padding: 12px; background: #fff; border: 1px solid #a4bda6; border-radius: 0; color: #12383d; font-family: inherit; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.quote-copy-controls { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 10px; }
.quote-copy-controls button { min-height: 44px; }
.quote-copy-fallback textarea:focus,.quote-copy-controls button:focus,#copy-quote:focus { outline: 3px solid #448e80; outline-offset: 4px; }
#copy-quote:disabled { cursor: progress; opacity: .65; }
.quote-clear-confirmation { margin-top: 22px; padding: 20px; border: 1px solid #b5c9b5; background: #eef2e8; }
.quote-clear-confirmation h3 { margin: 0 0 9px; color: #12383d; font-size: 17px; font-weight: 500; line-height: 1.5; }
.quote-clear-confirmation p { color: #526c5b; font-size: 12px; line-height: 1.8; max-width: 58ch; }
.quote-clear-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 16px; }
.quote-clear-actions button { min-height: 44px; }
.quote-clear-actions button:focus { outline: 3px solid #448e80; outline-offset: 4px; }
.volume-calc-toggle { align-self: flex-start; min-height: 44px; font-size: 11px; }
.volume-calculator { padding: 20px; border: 1px solid #b5c9b5; background: #eef2e8; min-width: 0; }
.volume-calculator h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.5; font-weight: 500; }
.volume-calculator>p { font-size: 12px; line-height: 1.8; color: #526c5b; margin: 0 0 15px; }
.volume-calc-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 22px; }
.volume-calc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
.volume-calc-actions button { min-height: 44px; }
.volume-calc-result { overflow-wrap: anywhere; font-size: 17px; line-height: 1.7; color: #12383d; }
.volume-calc-result:not(:empty) { margin-top: 16px; }
.volume-calculator .volume-calc-status { margin-top: 10px; margin-bottom: 0; color: #8a352c; }
.volume-calc-toggle:focus,.volume-calc-actions button:focus { outline: 3px solid #448e80; outline-offset: 4px; }
.volume-calc-rows { display: grid; gap: 18px; }
.volume-calc-group { min-width: 0; margin: 0; padding: 16px; border: 1px solid #b5c9b5; }
.volume-calc-group legend { padding: 0 7px; font-size: 13px; font-weight: 550; }
.volume-calc-remove { min-height: 44px; margin-top: 12px; font-size: 11px; text-decoration: underline; }
.volume-calc-add { min-height: 44px; font-size: 12px; margin-top: 12px; }
.volume-calc-add:disabled { opacity: .6; cursor: default; }
.volume-calc-add:focus,.volume-calc-remove:focus { outline: 3px solid #448e80; outline-offset: 4px; }
.volume-calc-group-status { font-size: 11px; line-height: 1.8; color: #526c5b; }
.volume-calc-undo { display: flex; flex-wrap: wrap; gap: 5px 18px; align-items: center; margin: 8px 0 14px; }
.volume-calc-undo button { min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.volume-calc-undo button:focus { outline: 3px solid #448e80; outline-offset: 4px; }
.volume-calc-undo button:disabled { opacity: .6; cursor: default; }
.volume-calc-undo p { margin: 0; font-size: 11px; line-height: 1.8; color: #526c5b; }
.volume-calc-breakdown { margin: 16px 0 0; }
.volume-calc-breakdown>div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 15px; padding: 7px 0; border-bottom: 1px solid #c8d5c1; font-size: 12px; line-height: 1.8; }
.volume-calc-breakdown dd { margin: 0; overflow-wrap: anywhere; }
@media(max-width:540px) { .volume-calc-grid { grid-template-columns: minmax(0,1fr); } .volume-calculator { padding: 16px; } }
.quote-summary .summary-route { margin-bottom: 6px; }
.summary-route-actions { display: flex; gap: 12px 25px; flex-wrap: wrap; margin-bottom: 20px; }
.summary-route-actions .text-link { min-height: 44px; font-size: 11px; }
.quote-summary .summary-row { grid-template-columns: minmax(0,1fr) minmax(0,1.3fr) auto; align-items: start; }
.summary-field-edit { align-self: start; justify-self: end; min-height: 44px; border: 0; background: transparent; color: #315b47; font-size: 11px; line-height: 1.6; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.summary-field-edit:focus,.summary-route-actions button:focus { outline: 3px solid #448e80; outline-offset: 4px; }
@media(max-width:540px) { .quote-download-note,.quote-download-status { font-size: 10px; } }
@media(max-width:540px) { .quote-summary .summary-row { grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); row-gap: 0; } .summary-field-edit { grid-column: 2; justify-self: start; } }

/* The summary explains the manual next step beside the existing copy control. */
.quote-summary #quote-copy-note { font-size: 12px; line-height: 1.85; overflow-wrap: anywhere; }
.quote-summary-email { display: block; width: fit-content; max-width: 100%; min-height: 44px; padding-block: 10px; line-height: 24px; color: #12383d; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; unicode-bidi: isolate; }
