/* calculator-next — the face of the first design package (22.09.2026):
   line pictograms in soft tiles, two panels on the first step, a "Your
   shipment" rail beside the rates and the payment step so each step fits one
   screen on a desktop. Presentation only: every rule is scoped to
   body.calc-next, the production script and its step machine are untouched.
   Loaded after the production sheets, so it wins on equal specificity. */

body.calc-next{
  --nx-bg:#F3F8FD;
  --nx-card:#FFFFFF;
  --nx-line:#DCE6F3;
  --nx-line-2:#E9EFF8;
  --nx-navy:#122A6E;
  --nx-ink:#14213A;
  --nx-muted:#5F7196;
  --nx-soft:#8A99B6;
  --nx-blue:#1167E8;
  --nx-blue-50:#EEF5FF;
  --nx-blue-ring:#D3E3FD;
  --nx-tile:#EDF3FC;
  --nx-orange:#F04D1B;
  --nx-orange-2:#FF6A2B;
  --nx-green:#0B8C64;
  --nx-green-50:#E6F6EF;
  --nx-amber-50:#FFF4E2;
  --nx-amber-line:#F1D5A0;
  --nx-amber-ink:#744600;
  --nx-red:#B8322B;
  --nx-shadow:0 1px 2px rgba(18,42,110,.04),0 8px 28px rgba(18,42,110,.07);
  --nx-radius:20px;
  --nx-header:#FFFFFF;
  --nx-field:#FFFFFF;
  --nx-seg:#F4F8FE;
  --nx-seg-on:#FFFFFF;
  --nx-seg-ink:#44557D;
  --nx-subtle:#FBFDFF;
  --nx-subtle-2:#F2F6FB;
  --nx-picked:#F7FAFF;
  --nx-line-hover:#B9CCEA;
  --nx-muted-2:#5B6B93;
  --nx-placeholder:#9AA8C2;
  --nx-blue-fill:#1167E8;
  --nx-info-ink:#34466E;
  --nx-step:#E4ECF7;
  --nx-step-ink:#6B7C9E;
  --nx-step-line:#D8E3F2;
  --nx-done:#122A6E;
  --nx-radio:#B6C5DC;
  --nx-dot:#B8C5DB;
  --nx-green-fill:#0B8C64;
  --nx-amber-fill:#D98A00;
  background:var(--nx-bg)!important;
  color:var(--nx-ink);
  color-scheme:light;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
body.calc-next :where(button,input,select,textarea){font-family:inherit}
/* Night: the homepage's dark palette, chosen with the switch in the header.
   The choice is the site-wide smk_theme key, so the homepage and the
   calculator follow each other; with nothing stored both pages are light. */
:root[data-theme="dark"]{background:#081727;color-scheme:dark}
:root[data-theme="dark"] body.calc-next{
  --nx-bg:#081727;
  --nx-card:#0F2236;
  --nx-header:#0C1D30;
  --nx-field:#0A1A2B;
  --nx-seg:#0A1A2B;
  --nx-seg-on:#16324F;
  --nx-seg-ink:#B7C6D8;
  --nx-subtle:#0C1E31;
  --nx-subtle-2:#132A44;
  --nx-picked:#11294A;
  --nx-line:#2C4560;
  --nx-line-2:#1D3550;
  --nx-line-hover:#4A6A8C;
  --nx-navy:#EEF4FF;
  --nx-ink:#DFE8F5;
  --nx-muted:#A9BAD0;
  --nx-muted-2:#A9BAD0;
  --nx-soft:#7F93AD;
  --nx-placeholder:#6D819B;
  --nx-blue:#6AA6FF;
  --nx-blue-fill:#2D6FE0;
  --nx-blue-50:#12304F;
  --nx-blue-ring:#27518A;
  --nx-info-ink:#C9D8EC;
  --nx-tile:#15304C;
  --nx-step:#17304B;
  --nx-step-ink:#A9BAD0;
  --nx-step-line:#244060;
  --nx-done:#2D6FE0;
  --nx-radio:#4D6784;
  --nx-dot:#4D6784;
  --nx-green:#4FD1A1;
  --nx-green-fill:#0F8F63;
  --nx-green-50:#0D3326;
  --nx-amber-50:#2E2410;
  --nx-amber-line:#5A4518;
  --nx-amber-ink:#FFCE7A;
  --nx-amber-fill:#B87400;
  --nx-red:#FF8A80;
  --nx-shadow:0 1px 2px rgba(0,0,0,.35),0 10px 30px rgba(0,0,0,.30);
  color-scheme:dark;
}
body.calc-next :where(a,button,input,select,label,summary):focus-visible{outline:3px solid var(--nx-blue-ring);outline-offset:2px}
.nx-sr{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}

/* ---------- icons and tiles ---------- */
.nx-i{width:22px;height:22px;flex:none;display:block}
.nx-tile{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:12px;background:var(--nx-tile);color:var(--nx-navy)}
.nx-tile .nx-i{width:24px;height:24px}
.nx-tile-lg{width:64px;height:64px;border-radius:14px}
.nx-tile-lg .nx-i{width:34px;height:34px;stroke-width:1.6}

/* ---------- header ---------- */
.nx-header{position:sticky;top:0;z-index:60;background:var(--nx-header);box-shadow:0 1px 0 var(--nx-line-2),0 6px 18px rgba(18,42,110,.05)}
.nx-header-in{max-width:1240px;margin:0 auto;padding:10px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.nx-brand{display:block;flex:none;line-height:0}
.nx-brand img{height:48px;width:auto;display:block}
.nx-header-actions{display:flex;align-items:center;gap:8px}
.nx-account{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border:1px solid var(--nx-line);border-radius:999px;background:var(--nx-header);color:var(--nx-navy);font-weight:600;font-size:15px;text-decoration:none;white-space:nowrap}
.nx-account .nx-i{width:19px;height:19px}
.nx-account:hover{border-color:var(--nx-line-hover);background:var(--nx-blue-50)}
.nx-menu-btn{width:46px;height:46px;border:0;background:transparent;color:var(--nx-navy);display:grid;place-items:center;border-radius:12px;cursor:pointer}
.nx-menu-btn .nx-i{width:28px;height:28px}
.nx-menu-btn:hover{background:var(--nx-blue-50)}
/* Day / night: the homepage's switch, same look and same stored choice */
.nx-theme{display:flex;align-items:center;justify-content:space-around;flex:none;width:72px;height:40px;padding:3px;border:1px solid var(--nx-line);border-radius:22px;background:var(--nx-seg);color:var(--nx-muted);cursor:pointer}
.nx-theme svg{width:32px;height:32px;padding:6px;border-radius:50%;flex:none}
.nx-theme svg:first-child{color:#F77916}
:root:not([data-theme="dark"]) .nx-theme svg:first-child,:root[data-theme="dark"] .nx-theme svg:last-child{background:var(--nx-card);box-shadow:0 1px 4px rgba(0,0,0,.18)}
:root[data-theme="dark"] .nx-theme svg:last-child{color:#D5E8FF}
.nx-menu{position:absolute;right:max(20px,calc((100vw - 1240px) / 2 + 20px));top:66px;min-width:230px;background:var(--nx-card);border:1px solid var(--nx-line);border-radius:16px;box-shadow:0 18px 40px rgba(18,42,110,.16);padding:8px;display:grid;z-index:61}
.nx-menu[hidden]{display:none}
.nx-menu a{padding:12px 14px;border-radius:10px;color:var(--nx-navy);font-weight:600;font-size:15px;text-decoration:none}
.nx-menu a:hover{background:var(--nx-blue-50)}

/* ---------- shell and step bar ---------- */
body.calc-next .calc-shell{width:100%!important;max-width:1240px!important;box-sizing:border-box;margin:0 auto!important;min-height:0;padding:12px 20px 36px!important;gap:12px;background:none}
body.calc-next .calc-stepbar{position:static!important;background:none!important;border:0!important;box-shadow:none!important;padding:6px 0 2px!important;margin:0!important;display:block!important;backdrop-filter:none!important}
body.calc-next .calc-stepbar-title,body.calc-next .calc-stepbar-tools{display:none!important}
body.calc-next .calc-steps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));max-width:760px;margin:0 auto!important;padding:0!important;gap:0!important;background:none!important;border:0!important;box-shadow:none!important;counter-reset:nxstep;overflow:visible!important}
body.calc-next .calc-steps span{counter-increment:nxstep;position:relative;display:flex!important;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;font-size:13px!important;line-height:1.2;font-weight:500;color:var(--nx-muted)!important;text-align:center;white-space:nowrap;cursor:default}
body.calc-next .calc-steps span::before{content:counter(nxstep)!important;position:relative;z-index:1;display:grid!important;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--nx-step);color:var(--nx-step-ink);font-size:15px;font-weight:700;margin:0!important;border:0!important;box-shadow:none}
body.calc-next .calc-steps span::after{content:""!important;position:absolute!important;top:17px!important;left:calc(50% + 26px)!important;right:calc(-50% + 26px)!important;width:auto!important;height:3px!important;border-radius:3px;background:var(--nx-step-line)!important;border:0!important;display:block!important;margin:0!important}
body.calc-next .calc-steps span:last-child::after{display:none!important}
body.calc-next .calc-steps span.is-reached{cursor:pointer}
body.calc-next .calc-steps span:is(.is-done,.is-complete,.is-reached,.is-active){background:none!important;box-shadow:none!important;border:0!important;outline:0}
body.calc-next .calc-steps span:is(.is-done,.is-complete)::before{content:"\2713"!important;background:var(--nx-done);color:#fff}
body.calc-next .calc-steps span:is(.is-done,.is-complete)::after{background:var(--nx-blue)!important}
body.calc-next .calc-steps span.is-done:not(.is-active),
body.calc-next .calc-steps span.is-reached:not(.is-active):hover{background:none!important;color:var(--nx-navy)!important;font-weight:650}
body.calc-next .calc-steps span.is-active{color:var(--nx-navy)!important;font-weight:700}
body.calc-next .calc-steps span.is-active::before{content:counter(nxstep)!important;background:var(--nx-blue-fill);color:#fff;box-shadow:0 0 0 3px var(--nx-bg),0 0 0 5px var(--nx-blue-ring)}

/* ---------- step 1 ---------- */
body.calc-next .calc-panel{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;max-height:none!important}
body.calc-next .calc-status-row{display:none!important}
body.calc-next .calc-mode-banner{margin:0 0 12px;border-radius:12px;font-size:13px}
body.calc-next .calc-mode-banner:empty{display:none}
body.calc-next .smart-quote-form{display:block!important;gap:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
.nx-grid{display:grid;gap:16px;margin-top:6px}
.nx-card{background:var(--nx-card);border:1px solid var(--nx-line-2);border-radius:var(--nx-radius);padding:20px 18px;box-shadow:var(--nx-shadow);min-width:0}
body.calc-next .nx-card-title{margin:0 0 4px;font-size:clamp(24px,2.4vw,32px);line-height:1.12;font-weight:800;letter-spacing:-.025em;color:var(--nx-navy);max-width:none}
body.calc-next .nx-card-price .nx-card-title{margin-bottom:14px}
.nx-card-price{position:relative}
.nx-card-sub{margin:0 0 16px;font-size:15px;line-height:1.45;color:var(--nx-muted)}
body.calc-next .nx-card .calc-section{margin:0 0 12px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
body.calc-next .nx-card .calc-section-title{display:none!important}
body.calc-next .nx-card .type-section{display:none!important}
body.calc-next .nx-card .small{font-size:12.5px;line-height:1.45;color:var(--nx-muted)}
body.calc-next .nx-card :where(input:not([type=radio]):not([type=checkbox]),select,textarea){width:100%;min-height:52px;padding:0 15px;border:1px solid var(--nx-line)!important;border-radius:14px!important;background:var(--nx-field)!important;color:var(--nx-ink)!important;font-size:16px!important;font-weight:500;box-shadow:none!important;transition:border-color .15s,box-shadow .15s}
body.calc-next .nx-card :where(input,select,textarea)::placeholder{color:var(--nx-placeholder);font-weight:400}
body.calc-next .nx-card :where(input:not([type=radio]):not([type=checkbox]),select,textarea):focus{border-color:var(--nx-blue)!important;box-shadow:0 0 0 3px var(--nx-blue-ring)!important;outline:none}
body.calc-next .nx-card :where(input:not([type=radio]):not([type=checkbox])):user-invalid{border-color:var(--nx-red)!important}

/* tabs: item source and pricing mode share one look */
body.calc-next .product-source-toggle,.nx-mode{display:grid!important;grid-template-columns:1fr 1fr;gap:0!important;margin:0 0 14px!important;padding:0!important;background:var(--nx-seg)!important;border:1px solid var(--nx-line)!important;border-radius:16px!important;overflow:hidden}
body.calc-next .product-source-toggle label,.nx-mode-opt{position:relative;display:flex!important;align-items:center;justify-content:center;gap:10px;min-height:52px;margin:0!important;padding:0 10px!important;border:1.5px solid transparent!important;border-radius:15px!important;background:transparent!important;color:var(--nx-seg-ink)!important;box-shadow:none!important;cursor:pointer;text-align:center;font-size:15.5px;font-weight:600}
body.calc-next .product-source-toggle label input,.nx-mode-opt input{position:absolute!important;opacity:0;pointer-events:none;width:1px;height:1px}
body.calc-next .product-source-toggle label strong{display:inline-flex;align-items:center;gap:10px;font-size:15.5px;font-weight:600;color:inherit!important;margin:0!important}
body.calc-next .product-source-toggle label > span,body.calc-next .product-source-toggle .acc-badge{display:none!important}
body.calc-next .product-source-toggle label:has(input:checked),.nx-mode-opt:has(input:checked){border-color:var(--nx-blue)!important;background:var(--nx-seg-on)!important;color:var(--nx-blue)!important;box-shadow:0 2px 8px rgba(17,103,232,.10)!important}
body.calc-next .product-source-toggle .nx-i,.nx-mode-opt .nx-i{width:22px;height:22px}
body.calc-next .product-source-panel{display:grid;gap:8px}
body.calc-next .product-source-panel[hidden]{display:none!important}
body.calc-next .nx-hint{margin:0!important}

/* the item as it is typed */
.nx-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;margin:12px 0 0;padding:10px 12px;border:1px solid var(--nx-line-2);border-radius:16px;background:var(--nx-subtle)}
.nx-item[hidden]{display:none}
.nx-item-t{display:grid;gap:3px;min-width:0}
.nx-item-t b{font-size:16px;line-height:1.3;font-weight:700;color:var(--nx-navy);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nx-item-t > span{font-size:13px;color:var(--nx-muted)}
.nx-link{border:0;background:none;padding:6px 2px;color:var(--nx-blue);font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap}
.nx-link:hover{text-decoration:underline}
.nx-item .nx-link{padding-left:14px;border-left:1px solid var(--nx-line)}

/* quantity */
body.calc-next .qty-row{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 4px!important;padding:0!important;border:0!important;background:none!important}
body.calc-next .qty-label{font-size:14.5px;font-weight:600;color:var(--nx-ink)}
body.calc-next .qty-stepper{display:inline-flex!important;align-items:center;border:1px solid var(--nx-line)!important;border-radius:12px!important;overflow:hidden;background:var(--nx-field)!important;box-shadow:none!important}
body.calc-next .qty-stepper button{width:42px;height:42px;border:0!important;background:var(--nx-field)!important;color:var(--nx-blue)!important;font-size:22px;font-weight:600;line-height:1;cursor:pointer;box-shadow:none!important}
body.calc-next .qty-stepper input{width:52px!important;min-height:42px!important;border:0!important;border-radius:0!important;text-align:center;padding:0!important;font-weight:650!important}

/* optional measurements */
body.calc-next .calc-advanced-toggle{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:10px 0 0!important;padding:12px 0 2px!important;border:0!important;border-top:1px solid var(--nx-line-2)!important;border-radius:0!important;background:none!important;box-shadow:none!important;cursor:pointer;text-align:left}
body.calc-next .calc-advanced-toggle strong{font-size:14px;font-weight:500;color:var(--nx-muted)}
body.calc-next .calc-advanced-toggle span{font-size:14px;font-weight:700;color:var(--nx-blue)}
body.calc-next .calc-advanced-toggle[aria-expanded="true"] span{color:var(--nx-muted)}
body.calc-next .package-section,body.calc-next .service-section{margin-top:12px!important}
body.calc-next .smart-unit-toggle{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px!important;background:none!important;border:0!important;padding:0!important}
body.calc-next .smart-unit-toggle label{position:relative;display:flex!important;align-items:center;justify-content:center;min-height:42px;margin:0!important;padding:0 8px!important;border:1px solid var(--nx-line)!important;border-radius:10px!important;background:var(--nx-field)!important;color:var(--nx-muted-2)!important;font-size:13.5px;font-weight:600;cursor:pointer;box-shadow:none!important}
body.calc-next .smart-unit-toggle label input{position:absolute;opacity:0;pointer-events:none}
body.calc-next .smart-unit-toggle label:has(input:checked){border-color:var(--nx-blue)!important;background:var(--nx-blue-50)!important;color:var(--nx-blue)!important}
body.calc-next .grid-4.compact-inputs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;margin:0 0 8px}
body.calc-next .package-section select{margin:0 0 8px}
body.calc-next .smart-restriction-note{display:grid;gap:4px;padding:10px 12px!important;border:1px solid var(--nx-line)!important;border-radius:12px!important;background:var(--nx-subtle)!important;font-size:12.5px;color:var(--nx-muted)!important}
body.calc-next .smart-restriction-note strong{color:var(--nx-ink)}
body.calc-next .service-section{display:none!important}

/* pricing mode */
body.nx-intl .nx-mode{display:none!important}
body.calc-next.nx-mode-quick [data-nx-exact],body.calc-next.nx-mode-exact [data-nx-quick]{display:none!important}

/* addresses: a pin tile, the street and the ZIP, the city the ZIP resolves to */
body.calc-next .route-section{margin:0!important}
body.calc-next .route-section .calc-section-title + .route-zips,body.calc-next .route-zips{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin:0 0 12px!important;padding:0!important;background:none!important;border:0!important}
body.calc-next .route-mid{display:none!important}
.nx-addr{display:grid;grid-template-columns:48px minmax(0,1fr) 26px;align-items:center;gap:14px;padding:10px 14px;border:1px solid var(--nx-line);border-radius:16px;background:var(--nx-card);transition:border-color .15s}
.nx-addr:focus-within{border-color:var(--nx-line-hover)}
.nx-addr-body{display:grid;gap:4px;min-width:0}
.nx-addr-label{font-size:13px;font-weight:600;color:var(--nx-muted)}
.nx-addr-fields{display:grid;grid-template-columns:minmax(0,1fr) 108px;grid-template-areas:"street zip" "sub sub";gap:6px 8px;align-items:center}
body.calc-next.nx-mode-quick .nx-addr-fields{grid-template-columns:128px minmax(0,1fr);grid-template-areas:"zip sub"}
body.calc-next .nx-addr .nx-street{grid-area:street;display:block!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
body.calc-next .nx-addr .route-endpoint{display:contents!important}
body.calc-next .nx-addr .route-endpoint > span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}
body.calc-next .nx-addr .route-endpoint > input{grid-area:zip}
body.calc-next .nx-addr :where(input:not([type=radio]):not([type=checkbox])){min-height:44px!important;padding:0 12px!important;border-radius:11px!important;font-size:15.5px!important}
body.calc-next .nx-addr .route-endpoint-sub{grid-area:sub;display:block;margin:0!important;font-size:12.5px!important;line-height:1.35;color:var(--nx-muted)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nx-addr-ok{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--nx-green-fill);color:#fff;opacity:0;transform:scale(.6);transition:opacity .15s,transform .15s}
.nx-addr-ok .nx-i{width:16px;height:16px;stroke-width:3}
.nx-addr.is-ok .nx-addr-ok{opacity:1;transform:none}
body.calc-next .route-section > .grid-2:not(.route-zips){display:flex!important;align-items:center;gap:10px;margin:0 0 4px!important}
body.calc-next .route-section > .grid-2:not(.route-zips) > label:first-child{display:none!important}
body.calc-next .route-section > .grid-2:not(.route-zips) label{display:flex!important;align-items:center;gap:10px;width:100%;margin:0!important}
body.calc-next .route-section > .grid-2:not(.route-zips) label > span{flex:none;font-size:0!important;text-transform:none!important;letter-spacing:0!important}
body.calc-next .route-section > .grid-2:not(.route-zips) label > span::before{content:"Destination country";font-size:13px;font-weight:600;color:var(--nx-muted)}
body.calc-next .route-section > .grid-2:not(.route-zips) select{min-height:40px!important;border-radius:11px!important;font-size:14.5px!important;padding:0 10px!important}
body.calc-next:not(.nx-intl) [data-to-country-note]{display:none!important}
body.calc-next [data-to-country-note]{font-size:12.5px!important;line-height:1.5}

/* the reason for the streets, the way out, the button */
.nx-info{display:flex;align-items:center;gap:12px;margin:10px 0 6px;padding:10px 14px;border-radius:14px;background:var(--nx-blue-50);border:1px solid var(--nx-blue-ring)}
.nx-info p{margin:0;font-size:13.5px;line-height:1.5;color:var(--nx-info-ink)}
.nx-info-i{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:var(--nx-blue-fill);color:#fff}
.nx-info-i .nx-i{width:20px;height:20px;stroke-width:2.2}
.nx-info-amber{background:var(--nx-amber-50);border-color:var(--nx-amber-line)}
.nx-info-amber p{color:var(--nx-amber-ink)}
.nx-info-amber .nx-info-i{background:var(--nx-amber-fill)}
.nx-switch{display:block;margin:0 auto 8px;padding:6px 4px;border:0;background:none;color:var(--nx-blue);font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
body.calc-next .customs-section{margin-top:6px!important}
body.calc-next .calc-form-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:4px 0 0!important;padding:0!important;background:none!important;border:0!important;position:static!important;box-shadow:none!important}
body.calc-next .calc-form-actions .cta-primary{display:flex!important;align-items:center;justify-content:center;gap:10px;min-height:56px;border:0!important;border-radius:14px!important;background:linear-gradient(180deg,var(--nx-orange-2),var(--nx-orange))!important;color:#fff!important;font-size:17px!important;font-weight:750!important;letter-spacing:0;box-shadow:0 12px 26px rgba(240,77,27,.24)!important;cursor:pointer}
body.calc-next .calc-form-actions .cta-primary::after{content:"";width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat}
body.calc-next .calc-form-actions .cta-primary:hover{filter:brightness(.96)}
body.calc-next .calc-form-actions .cta-primary[disabled]{opacity:.7}
body.calc-next .calc-form-actions .calc-reset-inline{justify-self:center;min-height:30px;padding:0 10px!important;border:0!important;background:none!important;color:var(--nx-soft)!important;font-size:12.5px!important;text-decoration:underline;box-shadow:none!important}
body.calc-next .calc-review-note{display:none!important}
.nx-lock{display:flex;align-items:flex-start;justify-content:center;gap:8px;margin:4px 0 0;font-size:13px;line-height:1.45;color:var(--nx-muted);text-align:center}
.nx-lock .nx-i{width:16px;height:16px;margin-top:1px}
body.calc-next .smart-quote-form [data-smart-status]:empty{display:none}
body.calc-next .smart-quote-form [data-smart-status]{text-align:center;margin-top:8px}
body.calc-next :is(.calc-next-steps,.calc-why){display:none!important}
.nx-foot{order:90;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;margin:14px 4px 0;font-size:12.5px;color:var(--nx-muted);text-align:center}
.nx-foot span{display:inline-flex;align-items:center}
.nx-foot span+span::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--nx-dot);margin-right:12px}
body.calc-next .calc-disclaimer{order:91;text-align:center;font-size:12px!important;color:var(--nx-soft)!important;margin:6px 0 0!important}

/* ---------- results: rates, payment, label ---------- */
body.calc-next .calc-output{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;max-height:none!important;overflow:visible!important}
body.calc-next.vstep-shipment .calc-output:has(.smart-results[hidden]){display:none!important}
body.calc-next .calc-empty{display:none!important}
body.calc-next .smart-results{padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
body.calc-next .calc-output .smart-policy-box{background:var(--nx-card)!important;border:1px solid var(--nx-line-2)!important;border-radius:var(--nx-radius)!important;box-shadow:var(--nx-shadow)!important;padding:18px!important;margin:0 0 12px!important}
body.calc-next .calc-output .smart-policy-box.rate-and-protection-box{background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
body.calc-next .calc-output :is(h2,h3){color:var(--nx-navy);letter-spacing:-.01em}
body.calc-next .rate-choose-heading{display:block;font-size:clamp(24px,2.4vw,32px)!important;line-height:1.12;font-weight:800!important;color:var(--nx-navy)!important;letter-spacing:-.025em;margin:4px 0 4px!important}
body.calc-next .rate-choose-sub{font-size:15px!important;color:var(--nx-muted)!important;margin:0 0 14px!important}
body.calc-next .rate-screen-head{text-align:left!important;margin:0!important;padding:0!important}
body.calc-next .calc-output .step-backlink{color:var(--nx-blue)!important;font-weight:650}
body.calc-next .smart-results.nx-has-rail .rate-context-row{display:none!important}

/* quick-price nudge */
.nx-upgrade{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;margin:0 0 12px;padding:12px 14px;border:1px solid var(--nx-blue-ring);border-radius:16px;background:var(--nx-blue-50)}
.nx-upgrade .nx-tile{background:var(--nx-card)}
.nx-upgrade b{display:block;font-size:14.5px;line-height:1.35;color:var(--nx-navy)}
.nx-upgrade div > span{display:block;margin-top:2px;font-size:12.5px;color:var(--nx-muted)}
.nx-upgrade-btn{min-height:42px;padding:0 16px;border:1.5px solid var(--nx-blue);border-radius:12px;background:var(--nx-card);color:var(--nx-blue);font-size:14px;font-weight:700;cursor:pointer}
.nx-upgrade-btn:focus-visible{outline:3px solid var(--nx-blue-ring);outline-offset:2px}
body.calc-next:is(.vstep-pay,.vstep-label,.mobile-step-pay,.mobile-step-label) .nx-upgrade{display:none!important}

/* rate cards: radio, service tile, name and delivery, price */
body.calc-next .smart-rate-choices{display:grid!important;gap:10px!important;margin:0!important}
body.calc-next .rate-card{position:relative;display:block!important;margin:0!important;padding:0!important;border:1px solid var(--nx-line)!important;border-radius:16px!important;background:var(--nx-card)!important;box-shadow:none!important;cursor:pointer;transition:border-color .15s,box-shadow .15s}
body.calc-next .rate-card:hover{border-color:var(--nx-line-hover)!important}
body.calc-next .rate-card > input[type=radio]{position:absolute!important;opacity:0;pointer-events:none;width:1px;height:1px}
body.calc-next .rate-card:has(input:checked){border:1.5px solid var(--nx-blue)!important;background:var(--nx-picked)!important;box-shadow:0 0 0 3px var(--nx-blue-ring)!important}
body.calc-next .rate-card .rate-card-body{display:grid!important;grid-template-columns:22px 48px minmax(0,1fr) auto!important;grid-template-areas:"pick svc main price" "pick svc when was" "pick svc save save"!important;column-gap:14px!important;row-gap:2px!important;align-items:center;padding:12px 16px!important;min-height:0!important}
body.calc-next .rate-card .rate-carrier-mark{display:none!important}
body.calc-next .rate-card .nx-svc{grid-area:svc;align-self:center}
body.calc-next .rate-card:has(input:checked) .nx-svc{background:var(--nx-card);box-shadow:inset 0 0 0 1px var(--nx-blue-ring)}
body.calc-next .rate-card .rate-pick{grid-area:pick;align-self:center;display:block!important;width:22px!important;height:22px!important;border-radius:50%!important;border:2px solid var(--nx-radio)!important;background:var(--nx-field)!important;box-shadow:none!important;margin:0!important;position:static!important}
body.calc-next .rate-card .rate-pick svg{display:none!important}
body.calc-next .rate-card:has(input:checked) .rate-pick{border-color:var(--nx-blue)!important;background:radial-gradient(circle,var(--nx-blue) 0 5px,var(--nx-field) 5.5px)!important}
body.calc-next .rate-card .rate-card-main{grid-area:main;display:block!important;min-width:0;margin:0!important;align-self:end}
body.calc-next .rate-card .rate-name-row{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0!important}
body.calc-next .rate-card .rate-name-row strong{font-size:16.5px!important;line-height:1.25;font-weight:700!important;color:var(--nx-navy)!important}
body.calc-next .rate-card .rate-badge{display:inline-flex!important;align-items:center;min-height:24px;padding:0 10px!important;border:0!important;border-radius:999px!important;background:var(--nx-green-50)!important;color:var(--nx-green)!important;font-size:12px!important;font-weight:700!important;letter-spacing:0;text-transform:none!important}
body.calc-next .rate-card .rate-badge.rate-badge-fastest{background:var(--nx-blue-50)!important;color:var(--nx-blue)!important}
body.calc-next .rate-card .rate-fact{display:none!important}
body.calc-next .rate-card .rate-card-when{grid-area:when;display:flex!important;flex-wrap:wrap;justify-content:flex-start!important;justify-self:start!important;white-space:normal!important;gap:0 6px;margin:0!important;font-size:13.5px!important;color:var(--nx-muted)!important;text-align:left!important;align-self:start}
body.calc-next .rate-card .rate-card-when strong{color:var(--nx-ink);font-weight:600}
body.calc-next .rate-card .rate-card-when em{font-style:normal;color:var(--nx-soft)}
body.calc-next .rate-card .rate-when-window{display:inline!important;font-size:13.5px!important;color:var(--nx-muted)!important}
body.calc-next .rate-card .rate-when-window::before{content:"\00B7  "}
body.calc-next .rate-card .rate-card-side{display:contents!important}
body.calc-next .rate-card .rate-card-price{grid-area:price;justify-self:end;align-self:end;white-space:nowrap;font-size:21px!important;line-height:1.15;font-weight:800!important;color:var(--nx-navy)!important;letter-spacing:-.01em}
body.calc-next .rate-card .rate-card-body:not(:has(.rate-retail-was)) .rate-card-price::after{content:"All-in price";display:block;margin-top:1px;font-size:12.5px;font-weight:500;letter-spacing:0;color:var(--nx-muted);text-align:right}
body.calc-next .rate-card .rate-retail-was{grid-area:was;justify-self:end;align-self:start;display:block!important;font-size:12.5px!important;color:var(--nx-soft)!important;white-space:nowrap}
body.calc-next .rate-card .rate-save{grid-area:save;justify-self:end;margin:2px 0 0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;white-space:nowrap!important;font-size:12.5px!important;font-weight:700;color:var(--nx-green)!important}
body.calc-next .rate-lock-line{display:flex;align-items:center;gap:10px;font-size:13px!important;color:var(--nx-muted)!important;margin:12px 2px 0!important}
body.calc-next .rate-lock-line::before{content:"";flex:none;width:22px;height:22px;background:var(--nx-blue);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E") center/contain no-repeat}
body.calc-next .rate-lock-line svg{display:none}
body.calc-next .quote-details-fold{margin-top:12px!important;border:1px solid var(--nx-line-2)!important;border-radius:16px!important;background:var(--nx-card)!important;box-shadow:none!important}
body.calc-next :is(.rate-continue-bar,.pay-continue-bar){background:var(--nx-card)!important;border:1px solid var(--nx-line)!important;border-radius:18px!important;box-shadow:0 -6px 24px rgba(18,42,110,.10)!important;padding:12px 14px!important}
body.calc-next .rate-continue-info small,body.calc-next .pay-bar-info small{font-size:11.5px!important;font-weight:700;letter-spacing:.04em;color:var(--nx-muted)!important;text-transform:uppercase}
body.calc-next :is(.rate-continue-bar,.pay-continue-bar) .btn{min-height:54px!important;border:0!important;border-radius:14px!important;background:linear-gradient(180deg,var(--nx-orange-2),var(--nx-orange))!important;color:#fff!important;font-size:16.5px!important;font-weight:750!important;box-shadow:0 10px 22px rgba(240,77,27,.24)!important}
body.calc-next .rate-continue-bar .btn::after{margin-left:8px}
body.calc-next :is(.rate-wallet-note,.pay-wallet-note){font-size:12.5px!important;color:var(--nx-muted)!important;text-align:center}
body.calc-next .checkout-account-note{font-size:12.5px!important;color:var(--nx-green)!important;font-weight:600;text-align:center}

/* ---------- "Your shipment" ---------- */
.nx-rail{display:grid;gap:12px;margin:0 0 14px;min-width:0}
.nx-rail-card{background:var(--nx-card);border:1px solid var(--nx-line-2);border-radius:var(--nx-radius);box-shadow:var(--nx-shadow);padding:18px}
.nx-rail-title{margin:0 0 12px;font-size:22px;line-height:1.15;font-weight:800;letter-spacing:-.02em;color:var(--nx-navy)}
.nx-ship{display:grid;gap:12px}
.nx-ship-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;padding-bottom:12px;border-bottom:1px solid var(--nx-line-2)}
.nx-ship-item-t{display:grid;gap:2px;min-width:0}
.nx-ship-item-t b{font-size:16px;line-height:1.3;font-weight:700;color:var(--nx-navy);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nx-ship-item-t > span{font-size:14px;color:var(--nx-muted)}
.nx-ship-item-t small{font-size:12px;line-height:1.4;color:var(--nx-green);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nx-ship-item .nx-link{align-self:start;padding-top:2px}
.nx-legs{display:grid;gap:2px}
.nx-leg{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:14px}
.nx-leg-t{display:grid;gap:1px;min-width:0}
.nx-leg-t small{font-size:12px;color:var(--nx-muted)}
.nx-leg-t b{font-size:15px;line-height:1.3;font-weight:700;color:var(--nx-navy);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nx-leg-t span{font-size:13px;color:var(--nx-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nx-leg-arrow{display:grid;place-items:center;width:48px;color:var(--nx-soft)}
.nx-leg-arrow .nx-i{width:18px;height:18px}
.nx-chip{display:inline-flex;align-items:center;gap:8px;justify-self:start;padding:6px 12px 6px 6px;border-radius:999px;background:var(--nx-blue-50);color:var(--nx-info-ink);font-size:13px;font-weight:600;line-height:1.3}
.nx-chip .nx-i{width:24px;height:24px;padding:4px;border-radius:50%;background:var(--nx-card);color:var(--nx-blue)}
.nx-chip.is-ok{background:var(--nx-green-50);color:var(--nx-green)}
.nx-chip.is-ok .nx-i{background:var(--nx-green-fill);color:#fff;stroke-width:3}
.nx-svc-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;padding-top:12px;border-top:1px solid var(--nx-line-2)}
.nx-svc-row-t{display:grid;gap:1px;min-width:0}
.nx-svc-row-t b{font-size:15.5px;font-weight:700;color:var(--nx-navy)}
.nx-svc-row-t span,.nx-svc-row-p span{font-size:12.5px;color:var(--nx-muted)}
.nx-svc-row-p{display:grid;justify-items:end;gap:1px}
.nx-svc-row-p b{font-size:20px;font-weight:800;color:var(--nx-navy);white-space:nowrap}
.nx-rail-cta{display:grid;gap:8px;min-width:0}
.nx-rail-cta:empty{display:none}
.nx-back{display:inline-flex;align-items:center;justify-content:center;gap:8px;justify-self:center;padding:8px 10px;border:0;background:none;color:var(--nx-blue);font-size:15px;font-weight:650;cursor:pointer}
.nx-back .nx-i{width:18px;height:18px}

/* ---------- payment ---------- */
body.calc-next .pay-substeps{display:none!important}
body.calc-next .pay-substeps button{min-height:46px;border:1px solid var(--nx-line)!important;border-radius:12px!important;background:var(--nx-field)!important;color:var(--nx-muted-2)!important;font-size:14.5px;font-weight:650;box-shadow:none!important}
body.calc-next .pay-substeps button[aria-selected="true"]{border:1.5px solid var(--nx-blue)!important;background:var(--nx-blue-50)!important;color:var(--nx-blue)!important}
body.calc-next .pay-substeps button i{font-style:normal;display:inline-grid;place-items:center;width:22px;height:22px;margin-right:8px;border-radius:50%;background:var(--nx-step);color:var(--nx-muted-2);font-size:12px}
body.calc-next .pay-substeps button[aria-selected="true"] i{background:var(--nx-blue-fill);color:#fff}
body.calc-next .calc-output :where(input:not([type=radio]):not([type=checkbox]),select,textarea){min-height:48px;padding:0 14px;border:1px solid var(--nx-line)!important;border-radius:12px!important;background:var(--nx-field)!important;color:var(--nx-ink)!important;font-size:16px!important;box-shadow:none!important}
body.calc-next .calc-output textarea{padding:10px 14px}
body.calc-next .calc-output :where(input:not([type=radio]):not([type=checkbox]),select,textarea):focus{border-color:var(--nx-blue)!important;box-shadow:0 0 0 3px var(--nx-blue-ring)!important;outline:none}
body.calc-next .calc-output input[type=checkbox]{width:20px;height:20px;accent-color:var(--nx-blue);flex:none}
body.calc-next .calc-output .addr-head strong{font-size:17px!important;font-weight:750!important;color:var(--nx-navy)!important}
body.calc-next .calc-output .small{color:var(--nx-muted)}
body.calc-next .calc-output .btn:not(.ghost):not(.secondary):not(.sec){border:0!important;border-radius:14px!important;background:linear-gradient(180deg,var(--nx-orange-2),var(--nx-orange))!important;color:#fff!important;font-weight:750!important;box-shadow:0 10px 22px rgba(240,77,27,.22)!important}
body.calc-next .calc-output .btn:is(.ghost,.secondary,.sec){border:1.5px solid var(--nx-navy)!important;border-radius:14px!important;background:var(--nx-card)!important;color:var(--nx-navy)!important;font-weight:650!important;box-shadow:none!important}
body.calc-next .order-summary,body.calc-next .order-summary-bar{border-radius:16px!important}
body.calc-next .checkout-cert-section{border:1px solid var(--nx-line-2)!important;border-radius:14px!important;background:var(--nx-card)!important;box-shadow:none!important}
body.calc-next .checkout-cert-heading{color:var(--nx-navy)!important}
body.calc-next .insurance-summary{border-radius:14px!important}

/* ---------- phones ---------- */
@media (max-width:620px){
  body.calc-next.mobile-step-pay .pay-substeps{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px!important;padding:0!important;background:none!important;border:0!important}
  body.calc-next .rate-card .rate-when-window{display:block!important;width:100%}
  body.calc-next .rate-card .rate-when-window::before{content:none}
  body.calc-next .rate-card .rate-card-body{grid-template-columns:22px 44px minmax(0,1fr) auto!important;column-gap:12px!important;padding:12px 14px!important}
  body.calc-next .rate-card .nx-svc{width:44px;height:44px}
  body.calc-next .rate-card .rate-save{justify-self:start}
  .nx-upgrade{grid-template-columns:44px minmax(0,1fr)}
  .nx-upgrade .nx-tile{width:44px;height:44px}
  .nx-upgrade-btn{grid-column:1 / -1;width:100%}
  .nx-rail-cta,.nx-back{display:none!important}
  body.calc-next.vstep-pay .nx-rail{display:none!important}
  .nx-rail-title{font-size:19px;margin-bottom:10px}
  .nx-rail-card{padding:14px}
  .nx-addr{grid-template-columns:40px minmax(0,1fr) 24px;gap:10px;padding:10px 12px}
  .nx-addr .nx-tile{width:40px;height:40px}
  .nx-addr-fields{grid-template-columns:104px minmax(0,1fr);grid-template-areas:"street street" "zip sub"}
  body.calc-next.nx-mode-quick .nx-addr-fields{grid-template-columns:112px minmax(0,1fr)}
  .nx-item{grid-template-columns:56px minmax(0,1fr)}
  .nx-item .nx-tile-lg{width:56px;height:56px}
  .nx-item .nx-link{grid-column:2;justify-self:start;padding-left:0;border-left:0}
}
@media (max-width:420px){
  .nx-brand img{height:40px}
  .nx-account{padding:0 12px;height:40px;font-size:13.5px}
  .nx-header-actions{gap:6px}
  .nx-theme{width:66px;height:38px}
  .nx-theme svg{width:30px;height:30px}
  .nx-menu-btn{width:40px}
}
/* Below 380 px the logo, the day/night switch, "My account" and the menu do
   not fit on one row, and flex squeezed the logo to 36 px. The account link
   keeps its name for screen readers and shows only its icon. */
@media (max-width:379px){
  .nx-account{position:relative;width:40px;padding:0;justify-content:center}
  .nx-account span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  body.calc-next .calc-shell{padding:10px 12px 32px!important}
  .nx-card{padding:18px 14px;border-radius:18px}
  body.calc-next .calc-steps span{font-size:11.5px!important}
  body.calc-next .calc-steps span::before{width:32px;height:32px;font-size:13.5px}
  body.calc-next .calc-steps span::after{top:15px!important;left:calc(50% + 22px)!important;right:calc(-50% + 22px)!important}
  body.calc-next .product-source-toggle label,.nx-mode-opt{font-size:14.5px;gap:8px}
  body.calc-next .product-source-toggle label strong{font-size:14.5px;gap:8px}
}

/* ---------- wide screens: one step, one screen ---------- */
/* The old skin hides the rate list on the pay step (and the pay fields on the
   rate step) at (0,2,1); the preview's own display rules tie with that, so
   the step split is restated one class stronger. */
@media (min-width:621px){
  body.calc-next.vstep-pay :is(.package-confirm,.rate-screen-head,.rate-context-row,.rate-choose-heading,.rate-choose-sub,.rate-counter-anchor,.smart-rate-choices,.rate-lock-line,.quote-details-fold,.rate-continue-bar,.rate-edit-link,.smart-verdict,.smart-rate-list,.tier-locked,.tier-rates-note){display:none!important}
  body.calc-next.vstep-rate :is(.insurance-readiness,.smart-checkout-grid:not(.review-contact-grid),.saved-sender,.saved-sender-warn,.addr-contact-block,.order-summary,.contents-certification,.checkout-review-box,.live-confirm-box,[data-create-checkout-session],[data-create-demo-label],[data-demo-label-status],.rate-pay-note){display:none!important}
}
@media (min-width:980px){
  .nx-grid{grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);align-items:start;gap:24px}
  .nx-card{padding:26px 28px 24px}
  body.calc-next .nx-card-price .calc-form-actions .calc-reset-inline{position:absolute;top:22px;right:22px;min-height:0!important;padding:4px 6px!important}
  body.calc-next .grid-4.compact-inputs{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.calc-next .calc-steps span{font-size:14px!important}
  body.calc-next .calc-steps span::before{width:40px;height:40px;font-size:16px}
  body.calc-next .calc-steps span::after{top:19px!important;left:calc(50% + 30px)!important;right:calc(-50% + 30px)!important}

  /* rates and payment: the step on the left, "Your shipment" on the right */
  body.calc-next:is(.vstep-rate,.vstep-pay) .smart-results.nx-has-rail{display:grid!important;grid-template-columns:minmax(0,1fr) 380px;grid-template-rows:repeat(14,auto) minmax(0,1fr);column-gap:24px;row-gap:0;align-items:start}
  body.calc-next:is(.vstep-rate,.vstep-pay) .smart-results.nx-has-rail > *{grid-column:1;min-width:0}
  /* sticky measures from the nearest clipping box; the old skin clips the
     results, which pushed the rail 84px below the step heading */
  body.calc-next:is(.vstep-rate,.vstep-pay) .smart-results.nx-has-rail{overflow:visible!important}
  body.calc-next:is(.vstep-rate,.vstep-pay) .smart-results.nx-has-rail > .nx-rail{grid-column:2;grid-row:1 / -1;position:sticky;top:84px;margin:0}
  body.calc-next .smart-results.nx-has-rail .rate-edit-link{display:none!important}
  body.calc-next.vstep-rate .nx-rail .rate-continue-bar,body.calc-next.vstep-pay:not(.pay-sub-confirm) .nx-rail .pay-continue-bar{display:grid!important}
  body.calc-next .nx-rail :is(.rate-continue-bar,.pay-continue-bar){position:static!important;inset:auto!important;transform:none!important;margin:0!important;width:auto!important;gap:8px;padding:14px!important;box-shadow:var(--nx-shadow)!important;border-color:var(--nx-line-2)!important;border-radius:var(--nx-radius)!important}
  body.calc-next .nx-rail .rate-continue-bar .btn{width:100%}
  body.calc-next .nx-rail .rate-continue-info{display:none!important}
  body.calc-next .nx-rail :is(.rate-wallet-note,.pay-wallet-note,.checkout-account-note){margin:0!important}
  body.calc-next .nx-rail [data-create-checkout-session]{width:100%;min-height:56px!important;font-size:17px!important}
  body.calc-next .nx-rail [data-demo-label-status]:empty{display:none}
  body.calc-next .nx-rail [data-demo-label-status]{margin:0!important;font-size:13px}
  body.calc-next .nx-rail .order-summary{margin:0!important;padding:12px 14px!important;background:var(--nx-card)!important;border:1px solid var(--nx-line-2)!important;box-shadow:var(--nx-shadow)!important}
  body.calc-next .nx-rail .order-summary .os-note{display:none!important}
  body.calc-next .nx-rail .pay-continue-bar .pay-bar-info{display:flex!important;align-items:baseline;justify-content:space-between;gap:10px;border:0!important;background:none!important;padding:0!important;cursor:pointer}
  body.calc-next .nx-rail .pay-continue-bar .pay-bar-total{font-size:22px;font-weight:800;color:var(--nx-navy)}
  body.calc-next .nx-rail .pay-continue-bar .pay-bar-left{font-size:13px;color:var(--nx-muted)}
  body.calc-next .nx-rail .pay-continue-bar .pay-bar-left.is-complete{color:var(--nx-green)}

  /* payment in two screens on a desktop too: addresses, then review and pay */
  body.calc-next.vstep-pay .pay-substeps{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px!important;padding:0!important;background:none!important;border:0!important;max-width:520px}
  body.calc-next.vstep-pay .smart-results > .rate-and-protection-box{display:none!important}
  body.calc-next.vstep-pay:not(.pay-sub-confirm) .smart-results :is(.insurance-readiness,.checkout-review-box){display:none!important}
  body.calc-next.vstep-pay:not(.pay-sub-confirm) .nx-rail :is(.order-summary,.pay-wallet-note,.checkout-account-note,[data-create-checkout-session]){display:none!important}
  body.calc-next.vstep-pay.pay-sub-confirm .smart-results :is(.smart-checkout-grid:not(.review-contact-grid),.addr-contact-block,.saved-sender,.saved-sender-warn){display:none!important}
  body.calc-next.vstep-pay.pay-sub-confirm .nx-rail .pay-continue-bar{display:none!important}
  body.calc-next.vstep-pay .smart-checkout-grid{gap:12px!important;margin:0 0 12px!important}
  body.calc-next.vstep-pay .smart-checkout-grid > div,body.calc-next.vstep-pay .addr-contact-block{padding:16px!important;border-radius:var(--nx-radius)!important;background:var(--nx-card)!important;border:1px solid var(--nx-line-2)!important;box-shadow:var(--nx-shadow)!important}
  body.calc-next.vstep-pay .addr-contact-block{margin:0!important}
  body.calc-next.vstep-pay .checkout-review-box{padding:16px 18px!important}
  body.calc-next.vstep-pay .contents-certification{gap:10px!important}
  body.calc-next.vstep-pay .checkout-cert-section{padding:12px 14px!important;margin:0!important}
  body.calc-next.vstep-pay .checkout-cert-section textarea{min-height:48px!important;height:48px}
  body.calc-next.vstep-pay .insurance-readiness{margin:0 0 12px!important}
}

/* ── Step 1 as ONE card, per the owner's screenshot of 23.09 ─────────────────
   Product on top and route below a divider, inside a single white card.
   Quantity sits beside the Describe/Paste tabs. Domestic/International
   and Exact/ZIP sit beside "Where is it going?". Step 1 carries no notes,
   no address tiles and no lock line. The later steps keep their layout. */
body.calc-next .calc-shell{max-width:none!important;width:min(1280px,calc(100% - 64px))!important;padding-left:0!important;padding-right:0!important}
.nx-header-in{max-width:none;width:min(1280px,calc(100% - 64px));padding:5px 0}
body.calc-next .nx-grid{display:block!important;background:var(--nx-card);border:1px solid var(--nx-line-2);border-radius:16px;box-shadow:0 1px 3px rgba(18,42,110,.05);padding:28px 30px 30px;margin-top:6px}
body.calc-next .nx-grid .nx-card{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
body.calc-next .nx-grid .nx-card-price{border-top:1px solid var(--nx-line-2)!important;margin-top:20px!important;padding-top:20px!important}
body.calc-next .nx-grid .nx-card-title{font-size:26px;line-height:1.15;margin:0 0 18px}
body.calc-next :is(.nx-card-sub,.nx-hint,.nx-info,.nx-switch,.nx-lock,.nx-addr .nx-tile,.nx-addr-ok),
body.calc-next.vstep-shipment [data-runtime-disclaimer]{display:none!important}
body.calc-next .nx-grid .product-source-panel:not([hidden]){display:block!important;min-height:0!important;height:auto!important;padding:0!important}
body.calc-next .nx-grid .nx-card :where(input:not([type=radio]):not([type=checkbox]):not([name=quantity]),select){height:44px!important;min-height:44px!important;border-radius:8px!important;font-size:15px}

/* tabs + quantity on one row */
body.calc-next .nx-grid .shipment-section{display:grid!important;grid-template-columns:minmax(0,1fr) auto;column-gap:18px;row-gap:14px;align-items:center;margin:0 0 14px!important}
body.calc-next .nx-grid .product-entry{display:contents!important}
body.calc-next .nx-grid .product-source-toggle{grid-column:1;grid-row:1;margin:0!important}
body.calc-next .nx-grid .qty-row{grid-column:2;grid-row:1;margin:0!important;gap:16px}
body.calc-next .nx-grid :is(.product-source-panel,.nx-item){grid-column:1/-1}
body.calc-next .nx-grid .product-source-panel{grid-row:2}
body.calc-next .nx-grid .nx-item{grid-row:3}
body.calc-next .nx-grid .qty-label{font-size:15px;font-weight:700;color:var(--nx-navy)}
body.calc-next .nx-grid .qty-stepper button{height:42px}
body.calc-next .nx-grid :is(.product-source-toggle label,.nx-mode-opt){height:42px!important;min-height:0!important;border-radius:10px!important;font-size:15px}
body.calc-next .nx-grid :is(.product-source-toggle,.nx-mode){border-radius:10px!important}
body.calc-next .nx-grid .product-source-toggle label strong{font-size:15px}

/* dimensions: one filled bar */
body.calc-next .nx-grid .calc-advanced-toggle{width:100%;min-height:44px!important;margin:0!important;padding:0 16px!important;background:var(--nx-subtle-2)!important;border:0!important;border-radius:10px!important;box-shadow:none!important}
body.calc-next .nx-grid .calc-advanced-toggle strong{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:700;color:var(--nx-navy)}
body.calc-next .nx-grid .calc-advanced-toggle strong small{font-size:12.5px;font-weight:500;color:var(--nx-muted)}
body.calc-next .nx-grid .calc-advanced-toggle strong .nx-i{width:20px;height:20px;color:var(--nx-blue)}
body.calc-next .nx-grid .calc-advanced-toggle span{display:inline-flex;align-items:center;gap:8px;font-size:14px}
body.calc-next .nx-grid .calc-advanced-toggle span .nx-i{width:18px;height:18px;transition:transform .2s}
body.calc-next .nx-grid .calc-advanced-toggle[aria-expanded="true"] span .nx-i{transform:rotate(180deg)}

/* "Where is it going?" + the two switches on one row */
body.calc-next .nx-where-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 16px;margin:0 0 20px}
body.calc-next .nx-grid .nx-where-head .nx-card-title{margin:0!important}
body.calc-next .nx-where-tabs{display:flex;align-items:stretch;gap:12px}
body.calc-next .nx-card .nx-where-head .type-section{display:block!important;margin:0!important}
body.calc-next .nx-where-head .smart-unit-toggle{display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);width:280px;gap:0!important;margin:0!important;padding:0!important;background:var(--nx-seg)!important;border:1px solid var(--nx-line)!important;border-radius:10px!important;overflow:hidden}
body.calc-next .nx-where-head .smart-unit-toggle label{position:relative;display:flex!important;align-items:center;justify-content:center;min-height:42px;margin:0!important;padding:0 10px!important;border:1.5px solid transparent!important;border-radius:10px!important;background:transparent!important;color:var(--nx-seg-ink)!important;box-shadow:none!important;cursor:pointer;font-size:14px;font-weight:600}
body.calc-next .nx-where-head .smart-unit-toggle label[hidden]{display:none!important}
body.calc-next .nx-where-head .smart-unit-toggle label input{position:absolute!important;opacity:0;pointer-events:none;width:1px;height:1px}
body.calc-next .nx-where-head .smart-unit-toggle label:has(input:checked){border-color:var(--nx-blue)!important;background:var(--nx-seg-on)!important;color:var(--nx-blue)!important}
body.calc-next .nx-where-head .nx-mode{width:310px;margin:0!important}
body.calc-next .nx-where-head .nx-mode-opt{font-size:14px}

/* two address columns, plain labels */
body.calc-next .nx-grid .route-zips,body.calc-next .nx-grid .route-section .calc-section-title + .route-zips{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:0 28px!important}
body.calc-next .nx-grid .nx-addr{display:block;padding:0;border:0;background:none;box-shadow:none}
body.calc-next .nx-grid .nx-addr-label{display:block;margin:0 0 8px;font-size:13px;font-weight:700;color:var(--nx-navy)}
body.calc-next .nx-grid .nx-addr-fields{grid-template-columns:minmax(0,1fr) 160px;gap:8px 10px}
body.calc-next.nx-mode-quick .nx-grid .nx-addr-fields{grid-template-columns:160px minmax(0,1fr)}
body.calc-next .nx-grid .route-section > .grid-2:not(.route-zips){margin:18px 0 0!important}
body.calc-next .nx-grid .route-section > .grid-2:not(.route-zips) label{width:auto;gap:16px}
body.calc-next .nx-grid .route-section > .grid-2:not(.route-zips) select{width:310px!important;min-height:44px!important;border-radius:8px!important}
body.calc-next .nx-grid .calc-form-actions{margin:20px 0 0!important}
body.calc-next .nx-grid .calc-form-actions .cta-primary{min-height:52px!important;border-radius:8px!important}
body.calc-next .nx-foot{margin-top:20px}

@media (min-width:621px){
  body.calc-next .nx-brand img{width:132px!important;height:auto!important}
  body.calc-next .calc-steps span{font-size:13px!important}
  body.calc-next .calc-steps span::before{width:32px;height:32px;font-size:15px}
  body.calc-next .calc-steps span::after{top:15px!important;left:calc(50% + 24px)!important;right:calc(-50% + 24px)!important}
}
@media (max-width:620px){
  body.calc-next .calc-shell{width:calc(100% - 24px)!important}
  .nx-header-in{width:calc(100% - 24px)}
  body.calc-next .nx-grid{padding:20px 16px 22px;border-radius:14px;margin-top:12px}
  body.calc-next .nx-grid .nx-card-title{font-size:22px}
  body.calc-next .nx-grid .shipment-section{grid-template-columns:minmax(0,1fr)}
  body.calc-next .nx-grid :is(.product-source-toggle,.product-source-panel,.nx-item,.qty-row){grid-column:1;grid-row:auto}
  body.calc-next .nx-where-head{flex-direction:column;align-items:stretch}
  body.calc-next .nx-where-tabs{flex-direction:column}
  body.calc-next .nx-where-head :is(.smart-unit-toggle,.nx-mode){width:auto!important}
  body.calc-next .nx-grid .route-zips,body.calc-next .nx-grid .route-section .calc-section-title + .route-zips{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
  body.calc-next .nx-grid .nx-addr-fields{grid-template-columns:110px minmax(0,1fr)}
  body.calc-next.nx-mode-quick .nx-grid .nx-addr-fields{grid-template-columns:112px minmax(0,1fr)}
  body.calc-next .nx-grid .route-section > .grid-2:not(.route-zips) select{width:100%!important}
  body.calc-next .nx-grid .calc-advanced-toggle{padding:0 12px!important}
  body.calc-next .nx-grid .calc-advanced-toggle strong small{display:none}
  /* phone: the chevron is the affordance; "Add measurements" beside the title
     pushed the page sideways at 320-375 px (mobile audit 26.09) */
  body.calc-next .nx-grid .calc-advanced-toggle strong{min-width:0;white-space:normal;font-size:13.5px;text-align:left}
  body.calc-next .nx-grid .calc-advanced-toggle > span{flex:none;font-size:0;gap:0}
}

/* ZIP estimate and international: the street fields leave the flow (the
   generic display rule above outranked the mode's hide rule) */
body.calc-next.nx-mode-quick .nx-grid .nx-addr .nx-street{display:none!important}
/* Clear form: a quiet link in the card's top-right corner */
body.calc-next .nx-grid{position:relative}
body.calc-next .nx-grid .nx-card{position:static!important}
body.calc-next .nx-grid .calc-form-actions .calc-reset-inline{position:absolute;top:30px;right:30px;min-height:0!important;padding:4px 6px!important;font-size:13px;font-weight:600;color:var(--nx-muted);background:none!important;border:0!important;text-decoration:underline;cursor:pointer}
/* Start over under the rail's Back button */
.nx-start-over{display:block;margin:8px auto 0;padding:6px 10px;border:0;background:none;font:inherit;font-size:13px;font-weight:600;color:var(--nx-muted);text-decoration:underline;cursor:pointer}
@media (max-width:620px){
  body.calc-next .nx-grid .calc-form-actions .calc-reset-inline{position:static;display:block;margin:10px auto 0}
}
/* the narrowest phones (320-380 px): labels on one line, captions whole */
@media (max-width:380px){
  body.calc-next .nx-grid :is(.product-source-toggle,.nx-mode) .nx-i{display:none}
  body.calc-next .nx-grid .nx-addr-fields{grid-template-columns:minmax(0,1fr);grid-template-areas:"street" "zip" "sub"}
  body.calc-next.nx-mode-quick .nx-grid .nx-addr-fields{grid-template-columns:minmax(0,1fr);grid-template-areas:"zip" "sub"}
  body.calc-next .nx-grid .nx-addr .route-endpoint-sub{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
  body.calc-next .nx-grid .route-section > .grid-2:not(.route-zips) label{flex-wrap:wrap;gap:6px}
}

/* Confirm & pay on a phone (owner's screenshot 28.09, iPhone in-app browser):
   the pinned pay button was a full-bleed orange block with the safe-area
   padding inside it, so the whole bottom edge, under the browser's floating
   toolbar, was orange. Same button, same handler, same place: it now floats
   as a rounded button on a plain bar, like the address step's bar. */
@media (max-width:620px){
  body.calc-next.mobile-step-pay.pay-sub-confirm .checkout-review-box:has([data-create-checkout-session])::after{content:"";position:fixed;left:0;right:0;bottom:0;z-index:39;height:calc(78px + env(safe-area-inset-bottom));background:var(--nx-card);border-top:1px solid var(--nx-line);box-shadow:0 -6px 24px rgba(18,42,110,.10);pointer-events:none}
  body.calc-next.mobile-step-pay.pay-sub-confirm.calculator-page [data-create-checkout-session]{left:12px!important;right:12px!important;width:auto!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;min-height:54px!important;padding:0 16px!important;border-radius:14px!important;background:linear-gradient(180deg,var(--nx-orange-2),var(--nx-orange))!important;box-shadow:0 10px 22px rgba(240,77,27,.24)!important}
  body.calc-next.mobile-step-pay.pay-sub-confirm .smart-results{padding-bottom:calc(104px + env(safe-area-inset-bottom))!important}
  /* Every phone step with a pinned bar also parked the end of the footer
     (contacts, legal links) under it: at full scroll the last line sat at
     y=736 of a 760 px screen. The footer gets room to end above the bar. */
  body.calc-next.mobile-step-rate:has(.rate-continue-bar) footer.footer{padding-bottom:calc(150px + env(safe-area-inset-bottom))}
  body.calc-next.mobile-step-pay footer.footer{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
}

/* ---------- night: the legacy night rules stand down ----------
   The old stylesheets carry their own night palette for the old face - 69
   selectors with !important, most of them more specific than the rules above
   (the step bar turned into coloured blocks, the grey panel behind the card,
   the navy "Compare" button, an orange ring on the picked rate). An
   !important declaration inside a cascade layer beats every unlayered
   !important one whatever its specificity, so this layer restates the new
   face for night without a specificity race. Everything the new face does
   not restyle keeps the legacy night colours, which are readable as a set.
   Only !important declarations belong here: a normal one in a layer loses
   to everything outside it. */
@layer nx-night {
  :root[data-theme="dark"] body.calc-next{background:var(--nx-bg)!important}
  :root[data-theme="dark"] body.calc-next :is(.calc-panel,.calc-output){background:none!important;border-color:transparent!important;box-shadow:none!important}

  :root[data-theme="dark"] body.calc-next .calc-steps{background:none!important;border-color:transparent!important;box-shadow:none!important}
  :root[data-theme="dark"] body.calc-next .calc-steps span{background:none!important;color:var(--nx-muted)!important}
  :root[data-theme="dark"] body.calc-next .calc-steps span:is(.is-done:not(.is-active),.is-reached:not(.is-active):hover,.is-active){background:none!important;color:var(--nx-navy)!important}

  :root[data-theme="dark"] body.calc-next :is(.calc-panel,.calc-output) :is(input:not([type=radio]):not([type=checkbox]),select,textarea){background:var(--nx-field)!important;border:1px solid var(--nx-line)!important;color:var(--nx-ink)!important}
  :root[data-theme="dark"] body.calc-next :is(.calc-panel,.calc-output) :is(input:not([type=radio]):not([type=checkbox]),select,textarea):focus{border-color:var(--nx-blue)!important;box-shadow:0 0 0 3px var(--nx-blue-ring)!important}
  :root[data-theme="dark"] body.calc-next .qty-stepper input{border:0!important}
  :root[data-theme="dark"] body.calc-next .qty-stepper button{background:var(--nx-field)!important}

  :root[data-theme="dark"] body.calc-next .calc-form-actions .cta-primary,
  :root[data-theme="dark"] body.calc-next .calc-form-actions .cta-primary:hover{background:linear-gradient(180deg,var(--nx-orange-2),var(--nx-orange))!important;box-shadow:0 12px 26px rgba(240,77,27,.24)!important}
  :root[data-theme="dark"] body.calc-next :is(.rate-continue-bar,.pay-continue-bar) .btn,
  :root[data-theme="dark"] body.calc-next [data-create-checkout-session]{box-shadow:0 10px 22px rgba(240,77,27,.24)!important}

  :root[data-theme="dark"] body.calc-next :is(.product-source-toggle label,.nx-mode-opt){background:transparent!important;border-color:transparent!important;box-shadow:none!important}
  :root[data-theme="dark"] body.calc-next :is(.product-source-toggle label,.nx-mode-opt):has(input:checked){background:var(--nx-seg-on)!important;border-color:var(--nx-blue)!important;box-shadow:0 2px 8px rgba(0,0,0,.25)!important}
  :root[data-theme="dark"] body.calc-next .smart-unit-toggle label{background:var(--nx-field)!important;border-color:var(--nx-line)!important;box-shadow:none!important}
  :root[data-theme="dark"] body.calc-next .smart-unit-toggle label:has(input:checked){background:var(--nx-blue-50)!important;border-color:var(--nx-blue)!important}
  :root[data-theme="dark"] body.calc-next .nx-where-head .smart-unit-toggle label{background:transparent!important;border-color:transparent!important}
  :root[data-theme="dark"] body.calc-next .nx-where-head .smart-unit-toggle label:has(input:checked){background:var(--nx-seg-on)!important;border-color:var(--nx-blue)!important}

  :root[data-theme="dark"] body.calc-next :is(.rate-card,.smart-rate-choice){background:var(--nx-card)!important;border-color:var(--nx-line)!important;box-shadow:none!important}
  :root[data-theme="dark"] body.calc-next :is(.rate-card,.smart-rate-choice):hover{border-color:var(--nx-line-hover)!important}
  :root[data-theme="dark"] body.calc-next :is(.rate-card,.smart-rate-choice):is(:has(input:checked),.selected){background:var(--nx-picked)!important;border-color:var(--nx-blue)!important;box-shadow:0 0 0 3px var(--nx-blue-ring)!important}

  :root[data-theme="dark"] body.calc-next .calc-output .smart-policy-box{background:var(--nx-card)!important;border-color:var(--nx-line-2)!important}
  :root[data-theme="dark"] body.calc-next .calc-output .smart-policy-box.rate-and-protection-box{background:none!important;border-color:transparent!important}
}
