.estimate-hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 29px; }
.estimate-hero-actions .estimate-hero-link { border: 1px solid #c4ddff; background: transparent; color: #fff; }
.estimate-hero-actions .estimate-hero-link:hover { background: #eaf3ff; color: #143b94; }
.estimate-hero-actions .estimate-hero-link:focus-visible { outline-color: #fff; }
.estimate-hs-link { display: block; width: fit-content; margin-top: 14px; color: #fff; font-size: 14px; font-weight: 800; }
.lab-estimate { background: #eef4fb; border-block: 1px solid #d5deea; }
.lab-estimate [hidden] { display: none !important; }
.lab-estimate:target .cookie-notice, .lab-estimate:focus-within .cookie-notice, .lab-estimate .estimate-cookie-inline { position: static; width: min(540px, calc(100% - 2 * var(--gutter))); margin: 24px auto 0; }
.estimate-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.estimate-heading h2 { font-size: clamp(30px, 3.6vw, 50px); }
.estimate-heading p { color: var(--muted); margin-top: 8px; }
.estimate-download, .estimate-remove { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; color: #365276; background: transparent; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.estimate-download { flex-shrink: 0; color: var(--blue); font-size: 14px; font-weight: 800; }
.estimate-download:hover, .estimate-remove:hover { color: var(--blue); }
.estimate-layout { display: grid; gap: 20px; }
.estimate-lines { display: grid; gap: 12px; }
.estimate-row { display: grid; grid-template-columns: minmax(155px, .72fr) minmax(0, 2.35fr) minmax(152px, auto); align-items: start; gap: 10px 16px; min-width: 0; margin: 0; padding: 11px 16px 9px; border: 1px solid #b9cae3; background: #fff; }
.estimate-row legend { padding: 0 7px; color: #24466e; font-size: 13px; font-weight: 800; }
.estimate-row label, .estimate-service { display: grid; min-width: 0; gap: 4px; }
.estimate-row label > span:first-child, .estimate-label { font-size: 13px; font-weight: 800; }
.estimate-row select, .estimate-row input, .estimate-choice, .estimate-search input { width: 100%; min-width: 0; min-height: 46px; padding: 8px 10px; color: var(--ink); background: #fff; border: 1px solid #aabbd0; border-radius: 2px; font: inherit; }
.estimate-row select:disabled { background: #f4f7fb; color: #536579; }
.estimate-row input[aria-invalid="true"] { border-color: #ae3a2c; }
.estimate-choice { position: relative; padding-right: 34px; line-height: 1.5; text-align: left; overflow-wrap: anywhere; }
.estimate-choice:disabled { background: #f4f7fb; color: #536579; cursor: default; }
.estimate-choice::after { content: ''; position: absolute; top: 17px; right: 15px; width: 7px; height: 7px; border: solid #365276; border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
.estimate-volume { display: flex; align-items: center; gap: 8px; }
.estimate-volume input { width: 74px; flex: 0 0 74px; }
.estimate-volume [data-estimate-unit] { color: #365276; font-size: 13px; }
.estimate-row-price { grid-column: 1 / -2; grid-row: 2; align-self: center; color: #365276; font-size: 13px; font-weight: 800; }
.estimate-remove { grid-column: -2; grid-row: 2; justify-self: end; padding-inline: 10px; }
.estimate-add { min-height: 44px; margin-top: 10px; padding: 7px 14px; border: 1px solid #b9cae3; background: #fff; color: var(--blue); font-size: 14px; font-weight: 800; }
.estimate-add:hover { border-color: var(--blue); background: #f8fbff; }
.estimate-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 22px; align-items: center; min-width: 0; padding: clamp(16px, 2.5vw, 26px); color: #fff; background: #142f57; }
.estimate-summary h3 { grid-column: 1; font-size: 17px; letter-spacing: 0; }
.estimate-total { grid-column: 1; display: block; font-size: clamp(25px, 3.3vw, 43px); font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.estimate-explanation, .estimate-error { grid-column: 1; font-size: 14px; color: #e1ecfd; }
.estimate-error { color: #ffc2b7; }
.estimate-actions { grid-column: 2; grid-row: 1 / span 4; display: flex; flex-wrap: wrap; justify-content: end; gap: 8px; }
.estimate-actions .button { min-width: 165px; background: #fff; color: var(--blue); }
.estimate-save { min-height: 50px; padding: 8px 13px; border: 1px solid #a4bce0; color: #fff; background: transparent; font-size: 13px; font-weight: 800; }
.estimate-actions .button:disabled { color: #4f6078; background: #dce7f5; cursor: default; }
.estimate-save:disabled { color: #b1c2db; cursor: default; }
.lab-estimate :focus-visible, .estimate-hero-link:focus-visible, .estimate-hs-link:focus-visible { outline: 2px solid #4a80d8; outline-offset: 3px; }
.estimate-picker { width: min(760px, calc(100% - 32px)); max-width: none; max-height: min(640px, 86dvh); margin: auto; padding: 0; overflow: hidden; border: 1px solid #b9cae3; background: #fff; color: var(--ink); }
.estimate-picker[open] { display: flex; flex-direction: column; }
.estimate-picker::backdrop { background: #102641aa; }
.estimate-picker-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px 0; }
.estimate-picker-heading h3 { font-size: 22px; letter-spacing: -.25px; }
.estimate-picker-close { min-width: 44px; min-height: 44px; background: #eef4fb; color: #234775; font-size: 24px; }
.estimate-search { display: grid; gap: 4px; padding: 6px 18px 0; }
.estimate-search span { font-size: 13px; font-weight: 800; }
.estimate-search-status { padding: 6px 18px 8px; color: #536579; font-size: 13px; }
.estimate-picker-results { min-height: 0; margin: 0; padding: 0 8px 12px; list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.estimate-picker-results button { display: block; width: 100%; min-height: 46px; padding: 11px 12px; border-top: 1px solid #dce7f4; color: var(--ink); background: #fff; text-align: left; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.estimate-picker-results button:hover, .estimate-picker-results button[aria-current="true"] { background: #eef4fb; }
.estimate-picker-results button:focus-visible { outline-offset: -2px; }
@media (max-width: 760px) {
  .estimate-heading { align-items: start; flex-direction: column; gap: 2px; margin-bottom: 14px; }
  .estimate-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 10px 12px 8px; }
  .estimate-row-price, .estimate-remove { grid-column: 1; grid-row: auto; }
  .estimate-summary { grid-template-columns: minmax(0, 1fr); }
  .estimate-actions { grid-column: 1; grid-row: auto; display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 9px; }
  .estimate-actions .button { min-width: 0; }
  .estimate-hero-actions { display: grid; justify-items: stretch; width: min(100%, 360px); }
}
