/* calculator — styles scoped to this block */

:where([data-block="calculator"]).calculator-section { background:#f5f6f8 }

:where([data-block="calculator"]) .calculator { display:grid;grid-template-columns:1.3fr 1fr;gap:0;background:white;border:1px solid #e7eaed;border-radius:14px;overflow:hidden }

:where([data-block="calculator"]) .calc-inputs { padding:37px 44px }

:where([data-block="calculator"]) .mode-tabs { display:flex;gap:27px;border-bottom:1px solid var(--line);margin-bottom:30px }

:where([data-block="calculator"]) .mode-tabs button { border:0;background:transparent;padding:0 0 16px;position:relative;color:#7f878e;font-size:14px;font-weight:600;min-height:44px }

:where([data-block="calculator"]) .mode-tabs button[aria-selected=true] { color:var(--ink) }

:where([data-block="calculator"]) .mode-tabs button[aria-selected=true]:after { content:"";position:absolute;height:2px;left:0;right:0;bottom:-1px;background:var(--orange) }

:where([data-block="calculator"]) .object-options { display:flex;gap:10px;margin-bottom:27px }

:where([data-block="calculator"]) .object-options label { flex:1;cursor:pointer;position:relative }

:where([data-block="calculator"]) .object-options input { position:absolute;inset:0;opacity:0;margin:0;width:100%;height:100%;cursor:pointer }

:where([data-block="calculator"]) .object-options span { display:block;padding:12px 15px;border:1px solid #dde2e6;border-radius:6px;text-align:center;font-size:14px }

:where([data-block="calculator"]) .object-options input:checked+span { border-color:var(--orange);background:#fff7f3;color:#c14b1e }

:where([data-block="calculator"]) .object-options input:focus-visible+span { outline:3px solid var(--orange);outline-offset:3px }

:where([data-block="calculator"]) .area-line { display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:20px }

:where([data-block="calculator"]) .area-line>label { font-size:14px }

:where([data-block="calculator"]) .area-line>div { display:flex;align-items:center;gap:8px }

:where([data-block="calculator"]) .area-line input { width:74px;padding:8px 10px;border:1px solid #dee3e6;border-radius:5px;text-align:center;font-size:17px;font-weight:600;color:var(--ink);appearance:textfield }

:where([data-block="calculator"]) .area-line input::-webkit-inner-spin-button { appearance:none }

:where([data-block="calculator"]) .area-line>div>span { font-size:13px;color:#737c84 }

:where([data-block="calculator"]) .range { width:100%;height:4px;accent-color:var(--orange);appearance:none;background:linear-gradient(to right,var(--orange) 0,var(--orange) var(--progress,28%),#e8ebee var(--progress,28%),#e8ebee 100%);outline:none;border-radius:4px;cursor:pointer;margin:14px 0 0 }

:where([data-block="calculator"]) .range::-webkit-slider-thumb { appearance:none;width:16px;height:16px;border:3px solid #fff;border-radius:50%;background:var(--orange);box-shadow:0 0 0 1px #ed652c88 }

:where([data-block="calculator"]) .range::-moz-range-thumb { width:12px;height:12px;border:3px solid white;border-radius:50%;background:var(--orange);box-shadow:0 0 0 1px #ed652c88 }

:where([data-block="calculator"]) .range-labels { display:flex;justify-content:space-between;color:#90979d;font-size:11px;margin:9px 0 24px }

:where([data-block="calculator"]) .select-grid { display:grid;grid-template-columns:1fr 1fr;gap:17px }

:where([data-block="calculator"]) .select-grid label { display:block;font-size:13px;margin-bottom:9px }

:where([data-block="calculator"]) .select-wrap { position:relative }

:where([data-block="calculator"]) .select-wrap:after { content:"";width:6px;height:6px;position:absolute;right:17px;top:19px;border-right:1.5px solid #717a82;border-bottom:1.5px solid #717a82;transform:rotate(45deg);pointer-events:none }

:where([data-block="calculator"]) .preset-box { background:#f8f9fa;border-radius:7px;padding:16px 18px;margin-top:26px }

:where([data-block="calculator"]) .preset-box>span { display:block;font-size:11px;color:#7f878d;margin-bottom:10px }

:where([data-block="calculator"]) .preset-box>div { display:flex;flex-wrap:wrap;column-gap:18px;row-gap:10px }

:where([data-block="calculator"]) .preset-box>div>span { font-size:11px;color:#737c84 }

:where([data-block="calculator"]) .preset-box strong { font-size:13px;font-weight:600;color:#414b53 }

:where([data-block="calculator"]) .microcopy { font-size:12px;line-height:1.7;color:#7e878e;margin:17px 0 0 }

:where([data-block="calculator"]) .calc-result { background:#fcfcfd;border-left:1px solid #e9ecef;padding:37px 38px;align-self:stretch;display:flex;flex-direction:column }

:where([data-block="calculator"]) .calc-result-icon { color:var(--orange);background:#fff1e9;width:42px;height:42px;border-radius:9px;display:grid;place-items:center;margin-bottom:20px }

:where([data-block="calculator"]) .calc-result-icon .icon { width:23px;height:23px }

:where([data-block="calculator"]) .result-label { display:block;font-size:13px;color:#7c858d;margin-bottom:11px }

:where([data-block="calculator"]) .calc-total { font-weight:600;line-height:1.35;letter-spacing:-1.3px;font-size:clamp(29px,2.7vw,44px);min-height:70px;color:var(--ink) }

:where([data-block="calculator"]) .calc-total>span { display:block }

:where([data-block="calculator"]) .calc-total small { font-size:.66em;letter-spacing:0;white-space:nowrap }

:where([data-block="calculator"]) .result-subtitle { color:#8b9298;font-size:12px;margin:7px 0 0 }

:where([data-block="calculator"]) .result-rule { height:1px;background:var(--line);margin:23px 0 18px }

:where([data-block="calculator"]) .result-breakdown { display:grid;gap:13px;margin-bottom:26px }

:where([data-block="calculator"]) .result-breakdown>div { display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:#7b858d }

:where([data-block="calculator"]) .result-breakdown strong { font-weight:500;font-size:13px;color:#343f47;white-space:nowrap }

:where([data-block="calculator"]) .calc-result .button { margin-top:auto;min-height:51px }

:where([data-block="calculator"]) .result-details { font-size:12px;margin-top:5px;min-height:38px }

:where([data-block="calculator"]) .result-note { color:#848d94;font-size:11px;line-height:1.7;text-align:center;max-width:280px;align-self:center;margin:12px 0 }

:where([data-block="calculator"]) .draft-rate { font-size:10px;color:#8a9298;text-align:center;margin-top:6px }

:where([data-block="calculator"]) .detail-intro { font-size:13px;color:#737d85;margin-bottom:20px }

:where([data-block="calculator"]) .quantity-row { display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid #eef0f2 }

:where([data-block="calculator"]) .quantity-row label { font-size:13px;line-height:1.5;max-width:300px }

:where([data-block="calculator"]) .quantity-row label small { display:block;color:#8b939a;font-size:11px;margin-top:2px }

:where([data-block="calculator"]) .quantity-row>div { display:flex;gap:7px;align-items:center;min-width:95px;justify-content:flex-end }

:where([data-block="calculator"]) .quantity-row input { width:73px;border:1px solid #dce2e5;border-radius:5px;padding:9px;font-size:14px;background:white }

:where([data-block="calculator"]) .quantity-row>div>span { color:#868f96;font-size:11px;min-width:20px }

:where([data-block="calculator"]) .reset-button { font-size:12px;color:#7e878d;margin-top:15px }

:where([data-block="calculator"]) .field-error { font-size:12px;color:#ad3f23 }

@media(min-width:1650px) {
:where([data-block="calculator"]) .calc-inputs { padding:43px 52px }
:where([data-block="calculator"]) .calc-result { padding:43px 52px }
}

@media(max-width:1250px) {
:where([data-block="calculator"]) .calc-inputs { padding:30px }
:where([data-block="calculator"]) .calc-result { padding:30px }
:where([data-block="calculator"]) .calc-total { font-size:36px }
:where([data-block="calculator"]) .select-grid { gap:12px }
}

@media(max-width:1100px) {
:where([data-block="calculator"]) .calculator { grid-template-columns:1.1fr 1fr }
:where([data-block="calculator"]) .calc-inputs,
:where([data-block="calculator"]) .calc-result { padding:26px }
:where([data-block="calculator"]) .mode-tabs { gap:20px }
:where([data-block="calculator"]) .mode-tabs button { font-size:12px }
:where([data-block="calculator"]) .select-grid { grid-template-columns:1fr }
:where([data-block="calculator"]) .select-grid label { font-size:12px }
:where([data-block="calculator"]) .preset-box>div { display:grid;grid-template-columns:1fr 1fr;gap:8px }
:where([data-block="calculator"]) .calc-total { font-size:35px }
}

@media(max-width:760px) {
:where([data-block="calculator"]) .calculator { grid-template-columns:1fr;border-radius:11px }
:where([data-block="calculator"]) .calc-inputs { padding:24px 23px 25px }
:where([data-block="calculator"]) .mode-tabs { gap:25px;margin-bottom:25px }
:where([data-block="calculator"]) .mode-tabs button { font-size:12px;padding-bottom:13px }
:where([data-block="calculator"]) .object-options span { font-size:12px;padding:11px }
:where([data-block="calculator"]) .object-options { gap:8px;margin-bottom:24px }
:where([data-block="calculator"]) .area-line { margin-bottom:13px }
:where([data-block="calculator"]) .area-line>label { font-size:13px }
:where([data-block="calculator"]) .select-grid { grid-template-columns:1fr 1fr;gap:12px }
:where([data-block="calculator"]) .select-wrap:after { right:12px }
:where([data-block="calculator"]) .select-grid label { font-size:11px }
:where([data-block="calculator"]) .preset-box { margin-top:22px;padding:15px }
:where([data-block="calculator"]) .preset-box>div { display:flex;flex-wrap:wrap;column-gap:18px;row-gap:8px }
:where([data-block="calculator"]) .microcopy { font-size:11px }
:where([data-block="calculator"]) .calc-result { border-left:0;border-top:1px solid #e9ecef;padding:26px 23px }
:where([data-block="calculator"]) .calc-result-icon { width:37px;height:37px;margin-bottom:15px }
:where([data-block="calculator"]) .result-label { font-size:12px }
:where([data-block="calculator"]) .calc-total { font-size:37px;min-height:0;letter-spacing:-1.3px }
:where([data-block="calculator"]) .result-subtitle { font-size:11px }
:where([data-block="calculator"]) .result-breakdown { gap:11px;margin-bottom:23px }
:where([data-block="calculator"]) .result-breakdown>div { font-size:12px }
:where([data-block="calculator"]) .result-details { font-size:12px;min-height:44px }
:where([data-block="calculator"]) .result-note { font-size:11px;max-width:320px }
:where([data-block="calculator"]) .draft-rate { font-size:10px }
:where([data-block="calculator"]) .quantity-row { gap:10px }
:where([data-block="calculator"]) .quantity-row label { font-size:12px;max-width:200px }
:where([data-block="calculator"]) .quantity-row>div { min-width:88px }
:where([data-block="calculator"]) .quantity-row input { font-size:14px;width:65px;min-height:43px }
}

@media(max-width:370px) {
:where([data-block="calculator"]) .calc-inputs,
:where([data-block="calculator"]) .calc-result { padding:22px 18px }
:where([data-block="calculator"]) .calc-total { font-size:32px }
:where([data-block="calculator"]) .mode-tabs { gap:18px }
:where([data-block="calculator"]) .mode-tabs button { font-size:11px }
:where([data-block="calculator"]) .select-grid { grid-template-columns:1fr }
}

@media screen {
:where([data-block="calculator"]) .result-details,
:where([data-block="calculator"]) .mode-tabs button { font-size:14px }
:where([data-block="calculator"]) .microcopy,
:where([data-block="calculator"]) .detail-intro,
:where([data-block="calculator"]) .result-note { font-size:14px }
:where([data-block="calculator"]) .object-options span,
:where([data-block="calculator"]) .area-line>label,
:where([data-block="calculator"]) .select-grid label,
:where([data-block="calculator"]) .preset-box>span,
:where([data-block="calculator"]) .preset-box>div>span,
:where([data-block="calculator"]) .quantity-row label,
:where([data-block="calculator"]) .quantity-row label small,
:where([data-block="calculator"]) .quantity-row>div>span,
:where([data-block="calculator"]) .result-label,
:where([data-block="calculator"]) .result-subtitle,
:where([data-block="calculator"]) .result-breakdown>div,
:where([data-block="calculator"]) .result-breakdown strong { font-size:14px }
:where([data-block="calculator"]) .preset-box strong { font-size:16px }
:where([data-block="calculator"]) .select-grid { grid-template-columns:1fr }
:where([data-block="calculator"]) .select-wrap:after { top:21px }
:where([data-block="calculator"]) .result-details { min-height:44px }
:where([data-block="calculator"]) .preset-box>div { gap:10px 18px }
:where([data-block="calculator"]) .range-labels { font-size:12px }
:where([data-block="calculator"]) .draft-rate { font-size:12px }
:where([data-block="calculator"]) .quantity-row input { font-size:16px }
:where([data-block="calculator"]) .quantity-row>div { flex-shrink:0 }
}

@media screen and (max-width:1100px) {
:where([data-block="calculator"]) .quantity-row label { font-size:14px }
}

@media screen and (max-width:760px) {
:where([data-block="calculator"]) .quantity-row label small { font-size:12px }
:where([data-block="calculator"]) .quantity-row>div>span { font-size:12px }
:where([data-block="calculator"]) .quantity-row>div { min-width:85px }
:where([data-block="calculator"]) .quantity-row input { width:62px }
:where([data-block="calculator"]) .mode-tabs { gap:18px }
:where([data-block="calculator"]) .mode-tabs button { font-size:14px }
:where([data-block="calculator"]) .calc-total { font-size:36px }
}

@media screen and (max-width:370px) {
:where([data-block="calculator"]) .mode-tabs { gap:12px }
:where([data-block="calculator"]) .mode-tabs button { font-size:14px;letter-spacing:-.3px }
:where([data-block="calculator"]) .calc-total { font-size:31px }
}

@media screen {
:where([data-block="calculator"]) .microcopy,
:where([data-block="calculator"]) .result-note,
:where([data-block="calculator"]) .result-subtitle,
:where([data-block="calculator"]) .result-label,
:where([data-block="calculator"]) .preset-box>span,
:where([data-block="calculator"]) .preset-box>div>span,
:where([data-block="calculator"]) .result-breakdown>div { color:#69737b }
}

:where([data-block="calculator"]) .shield-options { margin-top:24px;padding-top:20px;border-top:1px solid #e5e8eb }

:where([data-block="calculator"]) .shield-options legend { font-size:14px;font-weight:500;margin-bottom:12px;float:left;width:100% }

:where([data-block="calculator"]) .shield-options>label { display:flex;align-items:flex-start;gap:9px;clear:both;margin:12px 0;cursor:pointer }

:where([data-block="calculator"]) .shield-options input { accent-color:#c94b1a;width:17px;height:17px;margin:3px 0 0;flex-shrink:0 }

:where([data-block="calculator"]) .shield-options span { font-size:15px;display:flex;justify-content:space-between;gap:20px;flex:1 }

:where([data-block="calculator"]) .shield-options small { font-size:13px;color:#6c7780;white-space:nowrap }

:where([data-block="calculator"]) .shield-options>p { font-size:13px;color:#69737b;line-height:1.7;margin:10px 0 0 }

:where([data-block="calculator"]) .shield-quantity-row { background:#fffaf6;padding-inline:10px;margin-inline:-10px }

:where([data-block="calculator"]) .quote-result-line { padding-top:10px;border-top:1px dashed #dce2e6 }

:where([data-block="calculator"]) .quote-result-line strong { color:#b64820 }

@media(max-width:760px) {
:where([data-block="calculator"]) .shield-options span { font-size:14px;gap:10px }
:where([data-block="calculator"]) .shield-options small { font-size:12px }
}

:where([data-block="calculator"]) .calc-context { margin-bottom:27px }

:where([data-block="calculator"]) .calc-context .object-options { margin-bottom:23px }

:where([data-block="calculator"]) .shield-settings { border-top:1px solid #e5e8eb;margin-top:24px;padding-top:20px }

:where([data-block="calculator"]) .shield-settings legend { font-size:16px;font-weight:600;padding:0 12px 0 0 }

:where([data-block="calculator"]) .shield-settings>label { font-size:14px;display:block;margin:12px 0 9px }

:where([data-block="calculator"]) .shield-context-summary { font-size:14px;font-weight:500;margin:16px 0 8px }

:where([data-block="calculator"]) .shield-settings .microcopy { margin-bottom:0 }

:where([data-block="calculator"]) .shield-options span { flex-wrap:wrap;column-gap:12px;row-gap:2px }

:where([data-block="calculator"]).calculator-section { background:#edf4ff }
:where([data-block="calculator"]) .calculator { border:1px solid #dce6f3;border-radius:22px;box-shadow:0 18px 50px #23487f0b }
:where([data-block="calculator"]) .calc-result { background:linear-gradient(145deg,#123e83,#225cb0);color:#fff }
:where([data-block="calculator"]) .calc-total,:where([data-block="calculator"]) .result-label,:where([data-block="calculator"]) .result-breakdown strong { color:#fff }
:where([data-block="calculator"]) .result-subtitle,:where([data-block="calculator"]) .result-breakdown>div,:where([data-block="calculator"]) .result-note,:where([data-block="calculator"]) .draft-rate { color:#e3edff }
:where([data-block="calculator"]) .result-details { color:white }
:where([data-block="calculator"]) .result-rule { background:#ffffff35 }
:where([data-block="calculator"]) .calc-result-icon { color:#fff;background:#ffffff16;border-color:#ffffff30 }
:where([data-block="calculator"]) .quote-result-line strong { color:#ffdbb8 }
:where([data-block="calculator"]) .quote-result-line { border-color:#ffffff45 }

/* Three independent calculators share only the result presentation. */
:where([data-block="calculator"]) .mode-tabs { display:grid;grid-template-columns:.8fr 1fr 1.35fr;gap:8px;align-items:stretch }
:where([data-block="calculator"]) .mode-tabs button { padding:0 5px 16px;font-size:14px;line-height:1.45;min-width:0;min-height:62px;text-align:left }
:where([data-block="calculator"]) .mode-tabs button[aria-selected="true"] { color:#24549e }
:where([data-block="calculator"]) .mode-tabs button:focus-visible { outline:3px solid #cf5724;outline-offset:3px;border-radius:3px }
:where([data-block="calculator"]) .object-field legend { font-size:14px;margin-bottom:12px }
:where([data-block="calculator"]) .shield-area-help { margin:-2px 0 24px }
:where([data-block="calculator"]) .shield-count-line { margin-top:24px }
:where([data-block="calculator"]) .rate-date { font-size:13px;color:#e3edff;text-align:center;margin-top:8px }
:where([data-block="calculator"]) .quantity-fields { margin-top:15px }
:where([data-block="calculator"]) .calc-total { overflow-wrap:anywhere }
:where([data-block="calculator"]) .price-dash { display:inline-block;margin:0 5px }
:where([data-block="calculator"]) .shield-context-summary { color:#405d7d;line-height:1.7 }
@media(max-width:1100px) and (min-width:761px) {
  :where([data-block="calculator"]) .mode-tabs { grid-template-columns:1fr;gap:0 }
  :where([data-block="calculator"]) .mode-tabs button { min-height:44px;padding:10px 8px }
  :where([data-block="calculator"]) .mode-tabs button[aria-selected="true"] { background:#edf4ff }
}
@media(max-width:480px) {
  :where([data-block="calculator"]) .mode-tabs { grid-template-columns:1fr 1fr;gap:4px 12px }
  :where([data-block="calculator"]) .mode-tabs button { min-height:48px;padding:10px 0 12px;font-size:14px }
  :where([data-block="calculator"]) .mode-tabs button:last-child { grid-column:1/-1 }
  :where([data-block="calculator"]) .object-options span { padding:11px 8px }
  :where([data-block="calculator"]) .shield-options>label span { display:grid;gap:3px }
  :where([data-block="calculator"]) .area-line { gap:12px }
  :where([data-block="calculator"]) .area-line>label { font-size:14px }
}

:where([data-block="calculator"]) .calculator-resource-links { display:flex;align-items:center;gap:14px 26px;flex-wrap:wrap;margin:-6px 0 27px }
:where([data-block="calculator"]) .quantity-group { border-bottom:1px solid #dfe7ef;padding:0;margin:0 }
:where([data-block="calculator"]) .quantity-group>summary { padding:17px 0;cursor:pointer;font-weight:600;font-size:16px;color:#294d77;line-height:1.5 }
:where([data-block="calculator"]) .quantity-row { padding:13px 0 }
:where([data-block="calculator"]) .quantity-search-label { display:block;font-size:14px;margin:8px 0 }
:where([data-block="calculator"]) .quantity-search { width:100%;min-height:48px;border:1px solid #ccd9e6;border-radius:8px;padding:12px 14px;font:inherit;font-size:16px }
:where([data-block="calculator"]) .quantity-row label { max-width:310px }
@media(max-width:480px) {
  :where([data-block="calculator"]) .calculator-resource-links { align-items:stretch;flex-direction:column }
  :where([data-block="calculator"]) .calculator-resource-links .button { width:100% }
  :where([data-block="calculator"]) .quantity-group>summary { font-size:15px }
}
