/* Calculator layout v2: presentation only; business calculations remain in calculator-rebuild.js. */
.page-calculator { --c-text:var(--p-text); --c-muted:var(--p-muted); color-scheme:dark; }
.p-calc-main { padding-top:64px; padding-bottom:80px; }
.p-calc-intro { display:grid; grid-template-columns:1.3fr 1fr; align-items:end; gap:70px; margin-bottom:32px; }
.p-calc-intro h1 { margin:15px 0 0; font-size:clamp(42px,4.8vw,68px); line-height:1.06; letter-spacing:-.055em; font-weight:500; }
.p-calc-intro h1 em { font-family:Lora,Georgia,serif; font-weight:400; color:var(--p-accent); letter-spacing:-.045em; }
.p-calc-intro-aside { max-width:400px; justify-self:end; }
.p-calc-intro-aside p { color:var(--p-muted); font-size:16px; line-height:1.65; margin:0 0 18px; }
.p-calc-intro-aside .p-link { font-size:13px; }
.p-calc-rate-notice { border:1px solid var(--p-line); border-radius:8px; padding:12px 16px; margin:0 0 32px; font-size:12px; color:var(--p-muted); background:var(--p-surface); }
.p-calc-workspace { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(340px,1fr); gap:32px; align-items:start; }
.p-calc-form { min-width:0; display:grid; gap:20px; }
.p-calc-section { position:relative; background:var(--p-surface); border:1px solid var(--p-line); border-radius:18px; padding:28px; scroll-margin-top:110px; }
.p-calc-section.ac-elevate { z-index:30; }
.p-calc-section-head { display:flex; align-items:baseline; gap:16px; margin-bottom:26px; }
.p-calc-section-head h2 { margin:0; font-size:20px; font-weight:600; letter-spacing:-.035em; }
.p-calc-section-head p { font-size:12px; line-height:1.5; color:var(--p-muted); margin:7px 0 0; }
.calc-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 18px; }
.calc-field { min-width:0; }
.p-calc-field-wide { grid-column:1/-1; }
.calc-label { display:block; font-size:12px; color:var(--p-muted); line-height:1.45; margin-bottom:9px; }
.calc-input,.calc-select { width:100%; min-height:48px; border:1px solid var(--p-control); background:var(--p-bg); color:var(--p-text); padding:12px 14px; border-radius:8px; font:inherit; font-size:14px; line-height:1.5; box-sizing:border-box; }
.calc-input { font-variant-numeric:tabular-nums; }
.calc-input:read-only { background:var(--p-raised); border-color:var(--p-line); color:var(--p-muted); }
.calc-select { text-align:left; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:10px; }
.calc-select::after { content:'⌄'; color:var(--p-accent); flex-shrink:0; font-size:16px; line-height:1; }
.calc-select:hover { border-color:var(--p-accent); }
.calc-input:focus-visible,.calc-select:focus-visible,.calc-i:focus-visible,.ac-item:focus-visible,.exsa-popover-item:focus-visible,.dealer-input:focus-visible { outline:2px solid var(--p-accent); outline-offset:3px; }
.p-calc-input-affix { position:relative; }
.p-calc-input-affix .calc-input { padding-right:64px; }
.p-calc-input-affix>span { position:absolute; right:14px; top:16px; font-size:11px; color:var(--p-muted); pointer-events:none; }
.calc-help { margin:8px 0 0; color:var(--p-muted); font-size:12px; line-height:1.6; }
.p-calc-purchase-source { margin-top:22px; padding-top:19px; border-top:1px solid var(--p-line); display:flex; align-items:center; justify-content:space-between; gap:20px; }
.p-calc-purchase-source label { font-size:12px; color:var(--p-muted); max-width:65%; }
.p-calc-purchase-source .calc-input { border:0; background:none; padding:0; min-height:32px; text-align:right; color:var(--p-text); width:160px; font-size:20px; line-height:1.35; font-weight:700; }
.p-calc-route-total { margin-top:22px; padding-top:19px; border-top:1px solid var(--p-line); display:flex; align-items:center; justify-content:space-between; gap:20px; }
.p-calc-route-total>span { color:var(--p-muted); font-size:13px; line-height:1.5; }
.p-calc-route-total>strong { color:var(--p-text); font-size:20px; line-height:1.35; font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; }
.p-calc-customs-note { margin-top:8px; }
.p-calc-dealer,.calc-toggle-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:19px 0; border-bottom:1px solid var(--p-line); position:relative; }
.p-calc-dealer { padding-top:0; }
.calc-toggle-row:last-child { border-bottom:0; padding-bottom:0; }
.calc-toggle-left,.calc-line-name { display:flex; align-items:center; gap:8px; min-width:0; font-size:13px; line-height:1.55; }
.calc-toggle-left { flex:1; }
.calc-toggle-left label { cursor:pointer; }
.calc-line-val { white-space:nowrap; font-size:14px; font-weight:600; font-variant-numeric:tabular-nums; }
.calc-i { min-width:44px; width:44px; height:44px; border:0; background:none; color:var(--p-muted); font:italic 14px Georgia,serif; cursor:pointer; flex-shrink:0; border-radius:50%; text-decoration:underline; text-underline-offset:4px; }
.calc-i:hover { color:var(--p-accent); }
.calc-switch { flex-shrink:0; display:block; width:46px; height:44px; position:relative; cursor:pointer; }
.calc-switch input { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; z-index:1; }
.calc-switch span { display:block; position:absolute; top:10px; left:0; width:44px; height:24px; border:1px solid var(--p-control); border-radius:20px; background:var(--p-bg); transition:background .16s; }
.calc-switch span::before { content:''; position:absolute; width:16px; height:16px; left:3px; top:3px; background:var(--p-muted); border-radius:50%; transition:transform .16s; }
.calc-switch input:checked+span { background:var(--p-accent); border-color:var(--p-accent); }
.calc-switch input:checked+span::before { background:var(--p-bg); transform:translateX(19px); }
.calc-switch input:focus-visible+span { outline:2px solid var(--p-accent); outline-offset:4px; }
#valDealerFee.is-editable { cursor:pointer; border-bottom:1px dashed var(--p-accent); }
#valDealerFee.is-editable:focus-visible { outline:2px solid var(--p-accent); outline-offset:5px; }
.dealer-edit { position:absolute; right:0; top:-10px; z-index:2; width:100px; }
.p-calc-summary-column { min-width:0; position:sticky; top:104px; }
.p-calc-summary { background:var(--p-surface); border:1px solid var(--p-line); border-radius:18px; padding:30px; scroll-margin-top:104px; }
.p-calc-summary-top { display:grid; grid-template-columns:40px minmax(0,1fr) 40px; gap:8px; align-items:center; }
.p-calc-summary-top .p-eyebrow { grid-column:2; grid-row:1; margin:0; text-align:center; font-size:20px; line-height:1.3; font-weight:600; letter-spacing:.06em; }
.p-calc-summary-top .p-calc-currency { grid-column:3; grid-row:1; justify-self:end; }
.p-calc-currency { color:var(--p-muted); border:1px solid var(--p-line); padding:5px 9px; font-size:10px; border-radius:4px; }
.p-calc-summary h2 { font-size:14px; color:var(--p-muted); font-weight:400; margin:25px 0 8px; }
.calc-final-sum { font-size:clamp(42px,4.4vw,64px); line-height:1.12; letter-spacing:-.065em; font-weight:500; font-variant-numeric:tabular-nums; color:var(--p-text); }
.p-calc-summary-intro { color:var(--p-muted); font-size:12px; line-height:1.6; margin:15px 0 0; max-width:280px; }
.p-calc-incomplete { padding:12px 0; margin:14px 0 0; color:var(--p-accent); font-size:12px; line-height:1.55; border-top:1px solid var(--p-line); }
.p-calc-cost-list { margin:25px 0; border-top:1px solid var(--p-line); }
.p-calc-breakdown { border-bottom:1px solid var(--p-line); }
.p-calc-breakdown summary { display:flex; align-items:center; gap:8px; padding:16px 0; font-size:13px; list-style:none; cursor:pointer; min-height:50px; }
.p-calc-breakdown summary::-webkit-details-marker { display:none; }
.p-calc-breakdown summary>span:first-child { flex:1; }
.p-calc-breakdown summary>strong { font-size:17px; line-height:1.35; font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; }
.p-calc-expand { display:grid; place-items:center; width:20px; height:20px; font-size:18px; color:var(--p-muted); transition:transform .16s; }
.p-calc-breakdown[open] .p-calc-expand { transform:rotate(45deg); }
.p-calc-breakdown-body { padding:0 0 18px; }
.calc-line { display:flex; align-items:center; justify-content:space-between; gap:15px; margin:11px 0; }
.p-calc-breakdown-body .calc-line-name { color:var(--p-muted); font-size:11px; }
.p-calc-breakdown-body .calc-line-val { font-size:16px; line-height:1.4; font-weight:650; }
.p-calc-source-value { display:block; margin-top:10px; font-size:14px; }
.p-calc-subtotal { padding-top:12px; border-top:1px solid var(--p-line); font-size:13px; }
.p-calc-subtotal>strong { font-size:17px; line-height:1.4; font-weight:700; font-variant-numeric:tabular-nums; }
.p-calc-summary-line { display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:50px; padding:14px 0; border-bottom:1px solid var(--p-line); font-size:12px; line-height:1.5; }
.p-calc-summary-line strong { flex-shrink:0; font-size:17px; line-height:1.4; font-weight:700; font-variant-numeric:tabular-nums; }
.p-calc-summary .calc-share { width:100%; display:flex; justify-content:space-between; font-size:13px; }
.calc-reset { display:block; width:100%; padding:14px; min-height:44px; margin-top:8px; color:var(--p-muted); background:transparent; border:0; font:inherit; font-size:12px; cursor:pointer; }
.calc-reset:hover { color:var(--p-text); }
.p-calc-summary-note { font-size:10px; line-height:1.65; color:var(--p-muted); padding-top:16px; margin:4px 0 0; border-top:1px solid var(--p-line); }
.p-calc-side-note { color:var(--p-muted); font-size:11px; line-height:1.7; padding:0 20px; margin-top:17px; }
.p-calc-mobile-total { display:none; }
.p-calc-value-changed { animation:calc-change .65s ease-out; }
@keyframes calc-change { from { color:var(--p-accent); } to { color:inherit; } }
.calc-vin-notice { border-left:2px solid #a8c5b1; padding:10px 13px; margin:18px 0 0; background:var(--p-bg); color:var(--p-text); line-height:1.6; font-size:12px; }
.calc-vin-notice.is-warning { border-color:var(--p-accent); }
.calc-vin-notice.is-error { border-color:#efa8a0; }
.calc-vin-notice a { color:var(--p-accent); }
.calc-input--attention { border-color:var(--p-accent); }
.ac-wrap { position:relative; }
.ac-wrap>.calc-input { padding-right:43px; }
.p-calc-clear { position:absolute; right:3px; top:2px; width:44px; height:44px; color:var(--p-muted); background:none; border:0; font-size:23px; cursor:pointer; }
.ac-panel { position:absolute; top:calc(100% + 7px); left:0; right:0; z-index:45; max-height:280px; overflow:auto; padding:6px; background:var(--p-raised); border:1px solid var(--p-control); border-radius:10px; box-shadow:0 15px 45px #0008; }
.ac-item { display:block; width:100%; text-align:left; font:inherit; font-size:12px; color:var(--p-text); border:0; border-radius:5px; background:none; padding:12px; min-height:44px; cursor:pointer; }
.ac-item:hover,.ac-item[aria-selected=true] { background:var(--p-bg); color:var(--p-accent); }
.p-calc-search-empty { color:var(--p-accent); }
.exsa-popover { position:fixed; inset:0; z-index:200; }
.exsa-popover-backdrop { position:absolute; inset:0; background:#0005; }
.exsa-popover-panel { position:fixed; width:min(310px,calc(100vw - 24px)); max-height:min(400px,calc(100dvh - 32px)); overflow:auto; padding:9px; background:var(--p-raised); border:1px solid var(--p-control); border-radius:12px; box-shadow:0 18px 60px #0009; }
.exsa-popover-title { color:var(--p-muted); font-size:11px; padding:10px 12px 13px; }
.exsa-popover-item { display:block; width:100%; min-height:44px; font:inherit; font-size:13px; text-align:left; padding:11px 12px; border:0; background:none; color:var(--p-text); border-radius:7px; cursor:pointer; }
.exsa-popover-item:hover,.exsa-popover-item[aria-selected=true] { color:var(--p-accent); background:var(--p-bg); }
.exsa-tip { position:fixed; inset:0; z-index:250; pointer-events:none; }
.exsa-tip-box { position:fixed; width:max-content; max-width:min(330px,calc(100vw - 24px)); padding:16px; color:var(--p-text); background:var(--p-raised); border:1px solid var(--p-control); border-radius:10px; box-shadow:0 12px 35px #0007; pointer-events:auto; }
.exsa-tip-text { white-space:pre-line; font-size:12px; line-height:1.6; }
#exsaShareToast { position:fixed; left:50%; bottom:30px; transform:translateX(-50%); z-index:280; background:var(--p-text); color:var(--p-bg); padding:13px 20px; border-radius:8px; font-size:13px; opacity:0; pointer-events:none; }
#exsaShareToast.show { opacity:1; }
.page-calculator [hidden] { display:none!important; }
@media(max-width:1100px){ .p-calc-workspace { gap:20px; grid-template-columns:minmax(0,1.3fr) minmax(320px,1fr); } .p-calc-section,.p-calc-summary { padding:22px; } .p-calc-intro { gap:32px; } }
@media(max-width:850px){ .p-calc-main { padding-top:40px; } .p-calc-intro { grid-template-columns:1fr; gap:24px; margin-bottom:25px; } .p-calc-intro-aside { max-width:560px; justify-self:start; } .p-calc-intro-aside p { font-size:14px; } .p-calc-workspace { grid-template-columns:1fr; } .p-calc-summary-column { position:static; } .p-calc-summary { scroll-margin-top:90px; } .p-calc-mobile-total { display:flex; position:fixed; z-index:80; bottom:0; left:0; right:0; padding:12px 24px max(12px,env(safe-area-inset-bottom)); gap:20px; align-items:center; justify-content:space-between; background:var(--p-surface); border-top:1px solid var(--p-control); box-shadow:0 -5px 24px #0005; } .p-calc-mobile-total>div { display:grid; gap:3px; } .p-calc-mobile-total>div>span { font-size:10px; color:var(--p-muted); } .p-calc-mobile-total strong { font-size:24px; font-weight:500; font-variant-numeric:tabular-nums; letter-spacing:-.04em; } .p-calc-mobile-total .p-button { min-height:44px; font-size:12px; padding:10px 18px; } .page-calculator { padding-bottom:90px; }  #exsaShareToast { bottom:108px; } }
@media(max-width:520px){ .p-calc-main { padding-top:32px; } .p-calc-intro h1 { font-size:43px; } .p-calc-intro .p-eyebrow { font-size:10px; } .p-calc-section { padding:22px 18px; } .p-calc-section-head { gap:12px; margin-bottom:23px; } .p-calc-section-head h2 { font-size:18px; } .p-calc-section-head p { font-size:11px; } .calc-form-grid { grid-template-columns:1fr; gap:19px; } .calc-input,.calc-select { font-size:16px; } .p-calc-purchase-source { gap:12px; } .p-calc-purchase-source label { font-size:11px; } .p-calc-purchase-source .calc-input { width:112px; } .calc-toggle-row { gap:8px; } .calc-toggle-left { gap:0; } .calc-toggle-left label { font-size:12px; } .calc-line-val { font-size:12px; } .calc-i { min-width:44px; width:44px; } .p-calc-summary { padding:24px; } .calc-final-sum { font-size:58px; } .p-calc-rate-notice { font-size:10px; line-height:1.7; padding:11px 14px; } .p-calc-mobile-total { padding-left:20px; padding-right:20px; } }
@media(prefers-reduced-motion:reduce){ .page-calculator * { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }

.page-calculator .p-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.p-calc-contact-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:20px}.p-calc-contact-row .calc-contact{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--p-control);border-radius:8px;color:var(--p-muted)}.p-calc-contact-row .calc-contact svg{height:19px;width:19px;fill:currentColor}.p-calc-contact-row .calc-contact-caption{width:100%;font-size:12px;color:var(--p-muted);order:-1}.p-calc-contact-row .p-link{font-size:12px}.calc-i{min-width:44px;width:44px;height:44px}.calc-label{font-size:13px}@media(max-width:700px){.calc-input,.calc-select,.dealer-input{font-size:16px}.calc-help{font-size:13px}}

/* Wholesale delivery control for authorized accounts. */
.p-calc-net-control { display:flex; flex-direction:column; align-items:center; align-self:flex-start; margin-top:-10px; gap:0; width:64px; flex:none; cursor:pointer; color:var(--p-accent); font-size:10px; line-height:1.3; text-align:center; }
.p-calc-net-control[hidden] { display:none; }
.p-calc-net-control>label { cursor:pointer; }

.p-calc-route-breakdown { display:grid; grid-template-columns:1fr 44px auto; gap:10px 20px; }
.p-calc-route-breakdown>strong { text-align:right; }

.p-calc-route-icon { display:block; width:44px; height:30px; color:var(--p-accent); }

/* Gentle delivery motion, scoped to interaction with the delivery card. */
.p-calc-ship-motion { transform-box:view-box; transform-origin:50% 75%; }
@keyframes p-calc-tow-drive {
  0%,100% { transform:translate(0,0); }
  25% { transform:translate(0,-1.8px); }
  55% { transform:translate(0,1px); }
  80% { transform:translate(0,-1px); }
}
/* Positive dash offset moves the road left, behind the right-facing truck. */
@keyframes p-calc-road-travel { to { stroke-dashoffset:14; } }
@keyframes p-calc-ship-sway {
  0%,100% { transform:translateY(0) rotate(0deg); }
  25% { transform:translateY(-2px) rotate(-6deg); }
  75% { transform:translateY(1.5px) rotate(6deg); }
}
@keyframes p-calc-wave-flow {
  0%,100% { transform:translateX(0); opacity:.85; }
  50% { transform:translateX(-6px); opacity:.5; }
}
@media(prefers-reduced-motion:no-preference){
  .p-calc-tow-motion { animation:var(--p-route-tow,none); }
  .p-calc-road-motion { animation:var(--p-route-road,none); }
  .p-calc-ship-motion { animation:var(--p-route-ship,none); }
  .p-calc-wave-motion { animation:var(--p-route-wave,none); }
  #calc-delivery:focus-within {
    --p-route-tow:p-calc-tow-drive 1.2s ease-in-out infinite;
    --p-route-road:p-calc-road-travel .9s linear infinite;
    --p-route-ship:p-calc-ship-sway 2.2s ease-in-out infinite;
    --p-route-wave:p-calc-wave-flow 2.2s ease-in-out infinite;
  }
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  #calc-delivery:hover {
    --p-route-tow:p-calc-tow-drive 1.2s ease-in-out infinite;
    --p-route-road:p-calc-road-travel .9s linear infinite;
    --p-route-ship:p-calc-ship-sway 2.2s ease-in-out infinite;
    --p-route-wave:p-calc-wave-flow 2.2s ease-in-out infinite;
  }
}

/* Keep delivery rows even; tooltip hit areas extend into the row spacing. */
.p-calc-delivery-details .calc-i { position:relative; height:22px; }
.p-calc-delivery-details .calc-i::after { content:""; position:absolute; inset:-5px 0; }
.p-calc-delivery-details .p-calc-overseas-subtotal { padding-bottom:12px; border-bottom:1px dashed var(--p-line); }

/* Readable summary text on desktop and phones; tooltip typography is unchanged. */
.p-calc-summary h2 { font-size:16px; }
.p-calc-summary-top .p-eyebrow { font-size:22px; }
.p-calc-summary-top { grid-template-columns:44px minmax(0,1fr) 44px; }
.p-calc-summary .p-calc-currency { font-size:12px; }
.p-calc-summary-intro,.p-calc-summary .calc-help,.p-calc-summary-note,
.p-calc-summary .p-calc-incomplete,.p-calc-side-note { font-size:14px; line-height:1.6; }
.p-calc-summary .p-calc-breakdown summary,.p-calc-summary-line { font-size:16px; line-height:1.5; }
.p-calc-summary .calc-line-name,.p-calc-summary .p-calc-subtotal { font-size:15px; line-height:1.5; }
.p-calc-summary .p-calc-breakdown summary>strong,.p-calc-summary-line strong,
.p-calc-summary .calc-line-val,.p-calc-summary .p-calc-subtotal>strong,
.p-calc-summary .p-calc-source-value { font-size:18px; }
.p-calc-summary .calc-share { font-size:16px; }
.p-calc-summary .calc-reset { font-size:14px; }
.p-calc-summary-column .calc-contact-caption,.p-calc-summary-column .p-link { font-size:14px; }
.p-calc-summary .calc-line-name>span,.p-calc-summary-line>span,
.p-calc-summary .p-calc-breakdown summary>span:first-child { min-width:0; overflow-wrap:break-word; }

/* Guests see a single US + ocean preview; signed-in users keep the two rows. */
.p-calc-route-combined { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:12px; align-items:center; }
.p-calc-route-combined>strong { text-align:right; white-space:nowrap; }
.p-calc-route-chain { display:flex; align-items:center; gap:4px; color:var(--p-accent); }
.p-calc-route-arrow { font-size:16px; color:var(--p-accent); }
#routeDetailed[hidden],#routeCombined[hidden] { display:none; }
@media(max-width:520px){
 .p-calc-route-combined { gap:10px; }
 .p-calc-route-chain { gap:3px; }
 .p-calc-route-chain .p-calc-route-icon { width:32px; height:26px; }
 .p-calc-route-arrow { font-size:12px; }
}

/* Reveal the calculator only when its authenticated pricing and inputs are ready. */
.p-calc-loading-shell { position:relative; }
.p-calc-loading-status { position:absolute; inset:0 0 auto; padding:30px; border:1px solid var(--p-line); border-radius:18px; background:var(--p-surface); color:var(--p-muted); }
.p-calc-loading-status p { margin:0; font-size:15px; line-height:1.6; }
.p-calc-loading-status button { margin-top:18px; }
.page-calculator[data-calc-loading] #calcRoot { visibility:hidden; pointer-events:none; }
.page-calculator[data-calc-loading] #calcMobileTotal { visibility:hidden; pointer-events:none; }


/* Compact route prices with the already-included electric/hybrid surcharge. */
.p-calc-route-summary { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:18px 40px; margin-top:22px; padding-top:19px; border-top:1px solid var(--p-line); }
.p-calc-route-summary>.p-calc-route-total { margin:0; padding:0; border:0; max-width:100%; column-gap:14px; }
.p-calc-route-summary>.p-calc-route-breakdown { grid-template-columns:auto 44px auto; }
.p-calc-route-summary>.p-calc-route-combined { grid-template-columns:minmax(0,auto) auto auto; }
/* The surcharge sits beside the sea row, in the same label/icon/value order. */
.p-calc-route-surcharge { display:flex; align-items:center; align-self:flex-end; gap:14px; min-height:30px; flex:none; }
.p-calc-route-surcharge[hidden] { display:none; }
.p-calc-route-surcharge>span { color:var(--p-muted); font-size:13px; line-height:1.5; }
.p-calc-route-surcharge>svg { width:23px; height:30px; color:var(--p-accent); flex:none; }
.p-calc-route-surcharge>strong { color:var(--p-text); font-size:20px; font-weight:700; font-variant-numeric:tabular-nums; line-height:1.35; white-space:nowrap; }
@keyframes p-calc-lightning-motion { 0%,100% { transform:translateY(0) rotate(0deg); } 30% { transform:translateY(-2px) rotate(-6deg); } 65% { transform:translateY(1px) rotate(5deg); } }
@media(prefers-reduced-motion:no-preference) { #calc-delivery:focus-within .p-calc-route-surcharge>svg { animation:p-calc-lightning-motion 1.6s ease-in-out infinite; } }
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) { #calc-delivery:hover .p-calc-route-surcharge>svg { animation:p-calc-lightning-motion 1.6s ease-in-out infinite; } }
@media(max-width:520px) { .p-calc-route-summary { column-gap:16px; } .p-calc-route-summary>.p-calc-route-total { column-gap:10px; } }

/* Route prices are visible only after confirmed authentication. */
.p-calc-route-summary[hidden] { display:none; }

.page-calculator [data-calc-staff-only][hidden] { display:none; }


/* Cleaning is a conditional cost; its question mark opens the existing explanation. */
.p-calc-route-extras { display:grid; gap:10px; }
.p-calc-route-extras>.p-calc-route-surcharge { display:grid; grid-template-columns:1fr 23px minmax(54px,auto); }
.p-calc-route-extras>.p-calc-route-surcharge[hidden] { display:none; }
.p-calc-route-extras>.p-calc-route-surcharge>strong { text-align:right; }
.p-calc-cleaning-question.calc-i { position:relative; display:grid; place-items:center; width:23px; min-width:23px; height:30px; padding:0; border-radius:4px; line-height:1; font-family:inherit; font-size:25px; font-weight:600; font-style:normal; text-decoration:none; color:var(--p-accent); }
.p-calc-cleaning-question::before { content:''; position:absolute; inset:-7px -10px; }
.p-calc-cleaning-question>span { display:block; }
@keyframes p-calc-cleaning-motion {
  0%,100% { transform:translateY(0) rotate(0deg); }
  20% { transform:translateY(-4px) rotate(-18deg) scale(1.1); }
  45% { transform:translateY(2px) rotate(16deg); }
  70% { transform:translateY(-2px) rotate(-12deg); }
}
@media(prefers-reduced-motion:no-preference) { #calc-delivery:focus-within .p-calc-cleaning-question>span { animation:p-calc-cleaning-motion .9s ease-in-out infinite; } }
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) { #calc-delivery:hover .p-calc-cleaning-question>span { animation:p-calc-cleaning-motion .9s ease-in-out infinite; } }
