/* Calculator page, matched to the supplied 1672px desktop and 390px mobile comps. */
.page-calculator { min-width: 320px; background: #f5f7f9; }

.page-calculator .site-header { height: 52px; border-bottom: 1px solid #f2f4f6; }
.page-calculator .site-header .nav-shell { width: min(1372px,calc(100% - 48px)); height: 52px; min-height: 52px; display: flex; grid-template-columns: none; gap: 30px; margin: 0 auto; padding: 0; }
.page-calculator .site-header .brand { flex: 0 0 auto; }
.page-calculator .site-header .brand-wordmark { width: 150px; }
.page-calculator .site-header .primary-nav { align-self: stretch; flex: 1; justify-content: center; gap: 27px; margin-left: 82px; }
.page-calculator .site-header .primary-nav a { position: relative; min-height: 52px; color: #414858; font-size: 11px; font-weight: 570; }
.page-calculator .site-header .primary-nav a[aria-current="page"] { color: #070b12; font-weight: 730; }
.page-calculator .site-header .primary-nav a[aria-current="page"]::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; background: #ab0019; }
.page-calculator .site-header .nav-actions { gap: 22px; margin-left: auto; }
.page-calculator .site-header .nav-login { font-size: 11px; font-weight: 570; }
.page-calculator .site-header .nav-cta { min-height: 34px; gap: 12px; padding: 0 15px; background: #051b3b; font-size: 11px; font-weight: 750; }
.page-calculator .site-header .nav-cta::after { content: "→"; font-size: 16px; font-weight: 400; }

.live-duty-page { --duty-navy:#071c3a; --duty-copy:#3e5778; --duty-red:#ab0019; --duty-red-dark:#980017; --duty-control:#f0f3f7; position: relative; isolation: isolate; min-height: 850px; overflow: hidden; background: linear-gradient(180deg,#fff 0,#f7f9fa 125px,#f2f5f8 385px,#f6f7f9 100%); color: var(--duty-navy); }
.live-duty-page [hidden] { display: none !important; }
.duty-svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.duty-icon { width: 18px; height: 18px; display: inline-block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.duty-icon--tiny { width: 12px; height: 12px; stroke-width: 1.65; }
.duty-icon--small { width: 14px; height: 14px; }
.duty-icon--large { width: 23px; height: 23px; }
.duty-page-scene { position: absolute; z-index: -1; inset: 0 0 auto; height: 890px; overflow: hidden; pointer-events: none; }
.duty-port { position: absolute; background-repeat: no-repeat; background-size: 100% 100%; }
.duty-port--left { top: 185px; left: 0; width: 190px; height: 666px; background-image: url("/static/img/calculator-port-left.png"); -webkit-mask-image: linear-gradient(90deg,#000 0%,#000 91%,transparent 100%); mask-image: linear-gradient(90deg,#000 0%,#000 91%,transparent 100%); }
.duty-port--right { top: 146px; right: 0; width: 206px; height: 705px; background-image: url("/static/img/calculator-port-right.png"); -webkit-mask-image: linear-gradient(270deg,#000 0%,#000 90%,transparent 100%); mask-image: linear-gradient(270deg,#000 0%,#000 90%,transparent 100%); }
.duty-scene-arc { position: absolute; top: 112px; left: -40px; width: 175px; height: 70px; transform: rotate(20deg); border-top: 2px dotted rgba(206,30,53,.24); border-radius: 50%; }

.duty-calculator-shell { width: min(1290px,calc(100% - 40px)); margin: 0 auto; padding: 0 20px 0 0; }
.duty-page-heading { position: relative; height: 184px; padding: 28px 0 0 38px; border: 0; }
.duty-heading-content { position: relative; z-index: 1; }
.duty-heading-illustration { position: absolute; top: 0; right: calc((1290px - 100vw)/2); width: 646px; height: 182px; background: url("/static/img/calculator-hero-features.png") top right/100% 100% no-repeat; pointer-events: none; }
.duty-breadcrumb { display: flex; align-items: center; gap: 13px; margin: 0; color: #566c89; font-size: 11px; font-weight: 580; letter-spacing: 0; text-transform: none; }
.duty-breadcrumb strong { color: #1c334f; font-weight: 710; }
.duty-breadcrumb span { color: #a9b5c5; }
.duty-page-heading h1 { max-width: none; margin: 16px 0 5px; color: #081e3c; font-family: "Inter TB",Arial,sans-serif !important; font-size: clamp(32px,2.85vw,47px); font-weight: 780; line-height: 1.04; letter-spacing: -2.05px; }
.duty-page-heading h1 span { color: #a70019; }
.duty-subtitle { margin: 0; color: #193457; font-size: 17px; font-weight: 450; line-height: 1.48; letter-spacing: -.2px; }
.duty-freshness { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; color: #59718f; font-size: 10.5px; font-weight: 450; }
.duty-live-dot { width: 8px; height: 8px; margin-right: 3px; border-radius: 50%; background: #15a969; box-shadow: 0 0 0 4px #e3f3eb; }

.duty-workspace { display: grid; grid-template-columns: minmax(0,576fr) minmax(0,684fr); align-items: stretch; gap: 11px; padding: 0; }
.duty-input-card,
.duty-results-card { min-width: 0; min-height: 665px; border: 1px solid rgba(225,231,239,.83); border-radius: 16px; background: rgba(255,255,255,.985); box-shadow: 0 12px 30px rgba(27,42,58,.055); }
.duty-input-card { padding: 14px 20px 15px 21px; }
.duty-results-card { padding: 14px 16px 10px 18px; }
.duty-card-heading { min-height: 40px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin: 0; }
.duty-card-heading--results { min-height: 26px; align-items: center; margin-bottom: 13px; }
.duty-card-heading-main { min-width: 0; display: flex; align-items: flex-start; gap: 11px; }
.duty-step { width: 26px; height: 26px; display: flex; flex: 0 0 26px; align-items: center; justify-content: center; border-radius: 8px; background: linear-gradient(145deg,#071d3e,#06142d); box-shadow: 0 2px 3px rgba(0,0,0,.16); color: #fff; font-size: 15px; font-weight: 730; }
.duty-card-heading h2 { max-width: none; margin: 4px 0 0; color: var(--duty-navy); font-family: "Inter TB",Arial,sans-serif !important; font-size: 16px; font-weight: 750; line-height: 1.28; letter-spacing: -.35px; text-transform: none; white-space: nowrap; }
.duty-card-heading p { margin: 5px 0 0; color: #56708e; font-size: 10.5px; font-weight: 430; line-height: 1.45; }
.duty-text-button,
.duty-report-link,
.duty-section-heading button { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; padding: 4px 0; border: 0; background: none; color: #0b5297; font-size: 10.4px; font-weight: 650; line-height: 1.2; white-space: nowrap; cursor: pointer; }
.duty-text-button { margin-top: 2px; }
.duty-text-button:hover,
.duty-report-link:hover,
.duty-section-heading button:hover { color: #a70019; text-decoration: underline; }

.duty-input-list { display: flex; flex-direction: column; gap: 8px; margin-top: 17px; }
.duty-input-row { min-height: 30px; display: grid; grid-template-columns: 181px minmax(0,1fr); align-items: center; gap: 0; }
.duty-input-row--top { min-height: 48px; align-items: start; }
.duty-input-row--top > label { padding-top: 10px; }
.duty-input-row--range { min-height: 32px; margin-top: 3px; }
.duty-input-row > label { display: block; color: #183b61; font-size: 10.8px; font-weight: 680; line-height: 1.3; white-space: nowrap; }
.duty-info { width: auto; height: auto; display: inline-block; margin-left: 3px; border: 0; border-radius: 0; color: #83a4c8; line-height: 1; vertical-align: -2px; }
.duty-input-row input:not([type="range"]),
.duty-input-row select,
.duty-money-control,
.duty-percent-control { width: 100%; height: 30px; min-height: 30px; border: 1px solid transparent; border-radius: 7px; background: var(--duty-control); color: #142d4f; font-size: 11.5px; font-weight: 560; outline: none; }
.duty-input-row input:not([type="range"]),
.duty-input-row select { padding: 0 10px; }
.duty-input-row select { appearance: none; -webkit-appearance: none; padding-right: 30px; cursor: pointer; }
.duty-input-row input:focus,
.duty-input-row select:focus,
.duty-money-control:focus-within,
.duty-percent-control:focus-within { border-color: #89b5e6; background: #fff; box-shadow: 0 0 0 2px #dcecfb; }
.duty-control-stack { display: grid; gap: 4px; }
.duty-control-stack small { color: #7890ac; font-size: 10px; line-height: 12px; }
.duty-money-control,
.duty-percent-control { display: flex; align-items: center; }
.duty-money-control > span { padding-left: 12px; color: #60799a; font-size: 11px; }
.duty-money-control input,
.duty-percent-control input { min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.duty-select-control,
.duty-date-control { position: relative; min-width: 0; }
.duty-select-control::after { content: "⌄"; position: absolute; top: 4px; right: 10px; color: #173b60; font-size: 14px; line-height: 1; pointer-events: none; }
.duty-select-control--country select,
.duty-select-control--icon select { padding-left: 39px; }
.duty-leading-flag { position: absolute; z-index: 1; top: 5px; left: 12px; font-size: 16px; line-height: 20px; pointer-events: none; }
.duty-control-icon { position: absolute; z-index: 1; top: 6px; left: 11px; width: 17px; height: 17px; color: #243f5f; pointer-events: none; }
.duty-date-control input { padding-left: 37px !important; }
.duty-range-control { display: flex; align-items: center; gap: 18px; }
.duty-range-control input[type="range"] { width: 100%; min-width: 0; height: 4px; margin: 0; border-radius: 5px; accent-color: var(--duty-red); cursor: pointer; }
.duty-percent-control { flex: 0 0 70px; border-color: #e0e8f0; background: #fff; }
.duty-percent-control input { padding: 0 4px 0 9px !important; text-align: right; }
.duty-percent-control span { padding-right: 10px; color: #7990ad; font-size: 10px; }

.duty-exclusions { height: 181px; margin-top: 20px; padding: 12px 14px 9px; overflow: hidden; border: 1px solid #e2e9f0; border-radius: 8px; background: #f7f9fb; }
.duty-exclusions-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.duty-exclusions h3 { max-width: none; margin: 0; color: var(--duty-navy); font-family: "Inter TB",Arial,sans-serif !important; font-size: 12px; font-weight: 790; line-height: 1.2; letter-spacing: -.12px; text-transform: none; }
.duty-count-pill { padding: 5px 9px; border-radius: 14px; background: #ffe9ec; color: #ad0c20; font-size: 9px; font-weight: 760; white-space: nowrap; }
.duty-exclusions [data-tariff-exclusions] { max-height: 139px; overflow: auto; scrollbar-color: #d4dee9 transparent; scrollbar-width: thin; }
.duty-empty-note { margin: 16px 0 0; color: #7890ac; font-size: 10px; line-height: 1.45; }
.duty-exclusion-list { display: block; }
.duty-exclusion-item { position: relative; min-height: 27px; display: grid; grid-template-columns: 14px 63px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 3px 0; border: 0; border-bottom: 1px solid #e9eef4; border-radius: 0; color: #234264; font-size: 9.4px; cursor: pointer; }
.duty-exclusion-item:last-child { border-bottom: 0; }
.duty-exclusion-item input { position: static; width: 14px; height: 14px; margin: 0; order: 1; accent-color: var(--duty-red); cursor: pointer; }
.duty-exclusion-item strong { order: 2; color: #234264; font-family: "Inter TB",Arial,sans-serif !important; font-size: 9.4px; font-weight: 760; white-space: nowrap; }
.duty-exclusion-item small { min-width: 0; grid-column: auto; order: 3; overflow: hidden; color: #617792; font-size: 9.1px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.duty-exclusion-item em { order: 4; padding: 4px 7px; border-radius: 14px; background: #ffe9ed; color: #b70824; font-size: 8.5px; font-style: normal; font-weight: 730; white-space: nowrap; }
.duty-query-usage { margin-top: 12px; padding: 9px 11px 8px; border: 1px solid #e2e9f0; border-radius: 7px; background: #f8fafc; }
.duty-query-usage-copy { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #5d738f; font-size: 9.5px; line-height: 1.2; }
.duty-query-usage-copy strong { color: var(--duty-navy); font-size: 10.5px; font-weight: 780; white-space: nowrap; }
.duty-query-progress { height: 3px; margin-top: 7px; overflow: hidden; border-radius: 3px; background: #e5ebf2; }
.duty-query-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--duty-red); transition: width .25s ease; }
.duty-query-limit-message { margin: 7px 0 0; color: #5d738f; font-size: 9.5px; line-height: 1.35; }
.duty-query-limit-message a { color: var(--duty-red); font-weight: 780; text-decoration: underline; text-underline-offset: 2px; }
.duty-query-usage.is-exhausted { border-color: #f0cfd4; background: #fff7f8; }
.duty-query-usage.is-exhausted .duty-query-usage-copy strong { color: var(--duty-red); }
.duty-calculate-button { position: relative; width: 100%; height: 39px; min-height: 39px; display: flex; align-items: center; justify-content: center; margin-top: 8px; padding: 0 13px; border: 0; border-radius: 6px; background: linear-gradient(95deg,#a50018,#b8001c); box-shadow: 0 2px 5px rgba(116,0,25,.1); color: #fff; font-size: 12.5px; font-weight: 720; cursor: pointer; transition: filter .17s,transform .17s; }
.duty-calculate-button .duty-icon { position: absolute; right: 13px; }
.duty-calculate-button:hover { background: linear-gradient(95deg,#a50018,#b8001c); filter: brightness(1.12); transform: translateY(-1px); }
.duty-calculate-button:disabled { cursor: not-allowed; opacity: .72; transform: none; }
.duty-form-status { min-height: 0; margin: 7px 0 0; color: #a70019; font-size: 10px; line-height: 1.35; }
.duty-form-status:empty { display: none; }
.duty-form-status.is-success { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); margin: -1px; color: #176b3a; white-space: nowrap; }
.duty-input-note { display: flex; align-items: flex-start; gap: 5px; margin: 11px 0 0; color: #697f9c; font-size: 9.2px; line-height: 1.55; }
.duty-input-note .duty-icon { margin-top: 1px; color: #7793b4; }

.duty-results-empty { min-height: 570px; display: grid; align-content: center; justify-items: center; padding: 40px; text-align: center; }
.duty-empty-mark { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; background: #fff0f2; color: var(--duty-red); font-size: 28px; font-weight: 730; }
.duty-results-empty h3 { max-width: none; margin: 0 0 8px; color: var(--duty-navy); font-size: 23px; font-weight: 700; }
.duty-results-empty p { max-width: 410px; margin: 0; color: #5e748f; font-size: 13px; line-height: 1.45; }
.duty-summary-grid { display: grid; grid-template-columns: minmax(0,292fr) minmax(0,338fr); gap: 12px; }
.duty-rate-card,
.duty-cost-card { min-width: 0; height: 168px; min-height: 168px; border: 1px solid #e2e8ef; border-radius: 9px; }
.duty-rate-card { padding: 12px 12px 9px; border-color: #f4dfe2; background: linear-gradient(120deg,#fff3f4 0%,#fff8f8 100%); }
.duty-rate-card { line-height: 1.2; }
.duty-rate-card h3,
.duty-cost-card h3 { max-width: none; display: flex; align-items: center; gap: 10px; margin: 0; color: var(--duty-navy); font-family: "Inter TB",Arial,sans-serif !important; font-weight: 780; white-space: nowrap; }
.duty-rate-card h3 { font-size: 9.5px; letter-spacing: .05px; text-transform: uppercase; }
.duty-rate-card h3 .duty-icon { color: #d00222; }
.duty-rate-card > strong { display: block; margin: 0; padding: 15px 2px 7px; color: #aa001b; font-family: "Inter TB",Arial,sans-serif !important; font-size: 65px; font-weight: 680; font-variant-numeric: tabular-nums; line-height: 1.1; letter-spacing: -3.8px; white-space: nowrap; }
.duty-rate-card > div { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 10px; border: 1px solid #e0e8f2; border-radius: 7px; background: rgba(255,255,255,.7); color: var(--duty-navy); font-size: 10.8px; font-weight: 450; text-transform: none; }
.duty-rate-card b { color: var(--duty-navy); font-family: "Inter TB",Arial,sans-serif !important; font-size: 16px; font-weight: 790; letter-spacing: -.45px; white-space: nowrap; }
.duty-cost-card { padding: 12px 15px 9px; background: #fff; }
.duty-cost-card h3 { gap: 9px; font-size: 11.3px; }
.duty-cost-card h3 .duty-icon { color: #10294c; }
.duty-cost-card dl { display: block; margin: 11px 0 0; }
.duty-cost-card dl div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; color: #526e90; font-size: 10.5px; line-height: 1.2; }
.duty-cost-card dt,
.duty-cost-card dd { margin: 0; white-space: nowrap; }
.duty-cost-card dd { color: #334d70; font-family: "Inter TB",Arial,sans-serif !important; font-variant-numeric: tabular-nums; font-weight: 540; }
.duty-grand-total { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #e4e9f0; color: var(--duty-navy); font-size: 11px; font-weight: 780; line-height: 1.2; }
.duty-grand-total strong { color: var(--duty-navy); font-size: 15px; font-weight: 820; letter-spacing: -.25px; white-space: nowrap; }

.duty-result-section { margin-top: 14px; }
.duty-section-heading { min-height: 27px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 0 7px 0 10px; }
.duty-section-heading h3 { max-width: none; display: flex; align-items: center; gap: 12px; margin: 0; color: var(--duty-navy); font-family: "Inter TB",Arial,sans-serif !important; font-size: 14px; font-weight: 760; line-height: 1.2; letter-spacing: -.25px; text-transform: none; }
.duty-entry-table { min-width: 0; overflow-x: auto; border: 1px solid #e1e7ef; border-radius: 8px; }
.duty-entry-table-head,
.duty-entry-line { min-width: 565px; display: grid; grid-template-columns: 36px minmax(180px,1fr) 68px 118px 128px; align-items: center; }
.duty-entry-table-head { min-height: 28px; padding: 0; background: linear-gradient(180deg,#f0f3f8,#eaf0f6); color: #516989; font-size: 9.5px; font-weight: 720; }
.duty-entry-table-head > span { padding: 0 10px; white-space: nowrap; }
.duty-entry-table-head > span:first-child { padding-left: 15px; }
.duty-entry-table-head > span:nth-child(n + 4) { text-align: right; }
.duty-entry-table-head small { display: none; }
.duty-entry-line { height: 24px; min-height: 24px; gap: 0; padding: 0; border-top: 1px solid #e9edf3; color: #385275; font-size: 10.2px; font-weight: 560; }
.duty-entry-line > * { padding: 3px 10px; }
.duty-entry-index { padding-left: 15px; color: #102747; }
.duty-entry-line > div { min-width: 0; display: flex; align-items: center; gap: 0; }
.duty-entry-dot { display: none; }
.duty-entry-code { color: #385275; font-family: "Inter TB",Arial,sans-serif !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
.duty-entry-badge { min-width: 0; overflow: hidden; margin-left: 8px; padding: 3px 8px; border-radius: 14px; background: #ffe7ec; color: #b40725; font-size: 9px; font-weight: 660; text-overflow: ellipsis; white-space: nowrap; }
.duty-entry-rate,
.duty-entry-base,
.duty-entry-amount { font-family: "Inter TB",Arial,sans-serif !important; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

.duty-alerts-grid { display: grid; grid-template-columns: minmax(0,304fr) minmax(0,334fr); gap: 10px; margin-top: 12px; }
.duty-alerts-grid .duty-result-section { height: 119px; margin: 0; overflow: hidden; border-radius: 8px; padding: 11px 13px; }
.duty-warning-section { border: 1px solid #fff0d8; background: linear-gradient(115deg,#fff8eb,#fff3e4); }
.duty-pga-section { border: 1px solid #f8dce3; background: #fff6f8; }
.duty-alerts-grid .duty-section-heading { min-height: auto; margin: 0 0 8px; padding: 0; }
.duty-alerts-grid .duty-section-heading h3 { gap: 10px; font-size: 13.2px; font-weight: 800; }
.duty-warning-section .duty-section-heading h3 { color: #af4c00; }
.duty-warning-section .duty-section-heading .duty-icon { color: #ed8a04; }
.duty-pga-section .duty-section-heading h3 { color: #aa001b; font-size: 11.6px; }
.duty-warning-list { display: grid; gap: 5px; margin-left: 18px; }
.duty-warning-item { position: relative; padding: 0 0 0 13px; border: 0; border-radius: 0; background: transparent; color: #8a501d; font-size: 9.2px; line-height: 1.38; }
.duty-warning-item::before { content: ""; position: absolute; top: 5px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #ef9700; }
.duty-screening-list { display: grid; gap: 6px; }
.duty-screening-card { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 8px; padding: 6px 5px 4px; border: 0; border-radius: 6px; background: rgba(255,255,255,.75); }
.duty-screening-code { align-self: start; padding: 3px 6px; border-radius: 6px; background: #ffe3e9; color: #ba0a28; font-size: 9px; font-weight: 790; }
.duty-screening-card h4 { margin: 0; overflow: hidden; color: #203953; font-size: 8.7px; font-weight: 750; letter-spacing: -.15px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.duty-screening-card p { margin: 3px 0 0; color: #5f7793; font-size: 8.2px; line-height: 1.25; }
.duty-screening-card small { grid-column: 2; color: #5f7793; font-size: 8.2px; line-height: 1.25; }
.duty-screening-severity { align-self: start; padding: 4px 7px; border-radius: 11px; background: #e7edf5; color: #68809d; font-size: 8px; white-space: nowrap; }
.duty-section-note { display: none; }
.duty-adcvd-section { padding: 10px; border: 1px solid #e2e8ef; border-radius: 8px; }
.duty-adcvd-section .duty-section-note { display: block; }

.duty-project-card { height: 85px; min-height: 85px; max-height: 85px; display: flex; align-items: center; gap: 15px; margin-top: 12px; padding: 10px 15px; overflow: hidden; border: 1px solid #e4ebf2; border-radius: 8px; background: linear-gradient(105deg,#eaf1f8,#f0f5f9); }
.duty-project-icon { width: 24px; height: 29px; align-self: flex-start; margin-top: 3px; color: #1b6ba9; fill: #2b80bc; stroke-width: 1.5; }
.duty-project-card > div { min-width: 0; flex: 1; }
.duty-project-card > div > span { display: inline-block; padding: 3px 5px; border-radius: 4px; background: #e2effb; color: #1764a4; font-size: 9.5px; font-weight: 690; letter-spacing: 0; text-transform: none; }
.duty-project-card h3 { max-width: none; margin: 4px 0 5px; color: var(--duty-navy); font-family: "Inter TB",Arial,sans-serif !important; font-size: 11px; font-weight: 780; line-height: 1.3; }
.duty-project-card p { margin: 0; color: #5d7895; font-size: 9.1px; font-weight: 440; line-height: 1.37; }
.duty-project-card a { display: flex; flex: 0 0 auto; align-items: center; gap: 11px; margin: 0; padding: 12px 11px; border-radius: 5px; background: linear-gradient(100deg,#a7001b,#b4001a); color: #fff; font-size: 9px; font-weight: 760; line-height: 1.2; white-space: nowrap; }
.duty-project-card a:hover { background: #ca0026; }
.duty-page-disclaimer { margin: 11px 0 0; padding: 0 0 20px; color: #7186a0; font-size: 10px; text-align: center; }

@media (max-width: 1550px) {
  .page-calculator .site-header .primary-nav { gap: 22px; margin-left: 30px; }
  .duty-heading-illustration { display: none; }
}
@media (max-width: 1350px) {
  .page-calculator .site-header .nav-shell { width: calc(100% - 48px); gap: 13px; }
  .page-calculator .site-header .primary-nav { gap: 15px; margin-left: 15px; }
  .duty-calculator-shell { width: calc(100% - 44px); }
  .duty-port { opacity: .5; }
  .duty-input-row { grid-template-columns: 155px minmax(0,1fr); }
  .duty-exclusion-item { gap: 7px; }
  .duty-rate-card > strong { font-size: 56px; }
  .duty-rate-card b { font-size: 14px; }
  .duty-cost-card { padding-right: 11px; padding-left: 11px; }
  .duty-cost-card dt { font-size: 9.5px; }
  .duty-grand-total strong { font-size: 13px; }
  .duty-project-card { gap: 10px; }
}
@media (max-width: 1110px) {
  .page-calculator .site-header .nav-shell { position: relative; width: calc(100% - 48px); display: grid; grid-template-columns: 1fr auto; }
  .page-calculator .site-header .menu-toggle { grid-column: 2; display: grid; justify-self: end; }
  .page-calculator .site-header .primary-nav { display: none; }
  .page-calculator .site-header .nav-actions { position: absolute; top: 9px; right: 54px; display: flex; }
  .page-calculator .site-header .nav-login { display: none; }
  .page-calculator .site-header .primary-nav.is-open { grid-column: 1/-1; display: grid; gap: 0; margin: 0; padding-bottom: 16px; background: #fff; }
  .page-calculator .site-header .primary-nav.is-open a { min-height: 48px; justify-content: flex-start; border-bottom: 1px solid #e0e7f0; }
  .duty-page-heading { height: 175px; padding-left: 28px; }
  .duty-workspace { grid-template-columns: minmax(0,1fr); gap: 16px; max-width: 850px; margin: 0 auto; }
  .duty-input-card,
  .duty-results-card { min-height: 0; padding: 20px; }
  .duty-card-heading--results { min-height: 36px; }
  .duty-input-row { grid-template-columns: 200px minmax(0,1fr); }
  .duty-port { opacity: .25; }
  .duty-page-disclaimer { max-width: 850px; margin-right: auto; margin-left: auto; }
}
@media (max-width: 680px) {
  .page-calculator .site-header { height: 57px; }
  .page-calculator .site-header .nav-shell { width: calc(100% - 30px); height: 57px; min-height: 57px; }
  .page-calculator .site-header .brand-wordmark { width: 128px; }
  .page-calculator .site-header .nav-actions { top: 11px; right: 45px; }
  .page-calculator .site-header .nav-cta { min-height: 34px; padding-inline: 12px; font-size: 10px; }
  .page-calculator .site-header .menu-toggle { width: 34px; height: 34px; border: 0; background: transparent; }
  .page-calculator .site-header .primary-nav.is-open { position: absolute; top: 57px; right: 0; left: 0; padding: 8px 15px 16px; }
  .live-duty-page { min-height: 0; }
  .duty-page-scene { display: none; }
  .duty-calculator-shell { width: 100%; padding: 0; }
  .duty-page-heading { height: auto; padding: 28px 15px 24px; }
  .duty-page-heading h1 { margin-top: 15px; font-size: clamp(29px,9.4vw,40px); line-height: 1.12; letter-spacing: -1.35px; }
  .duty-subtitle { font-size: 14px; line-height: 1.4; }
  .duty-freshness { font-size: 9px; line-height: 1.45; }
  .duty-workspace { gap: 16px; padding: 0 15px; }
  .duty-input-card,
  .duty-results-card { padding: 16px; border-radius: 16px; }
  .duty-input-card { min-height: 897px; }
  .duty-card-heading h2 { font-size: 14px; white-space: normal; }
  .duty-card-heading p { font-size: 10px; }
  .duty-input-list { gap: 12px; margin-top: 18px; }
  .duty-input-row { min-height: 0; grid-template-columns: 1fr; gap: 5px; }
  .duty-input-row--top > label { padding-top: 0; }
  .duty-input-row--range { margin-top: 0; }
  .duty-input-row > label { font-size: 11px; }
  .duty-input-row input:not([type="range"]),
  .duty-input-row select,
  .duty-money-control,
  .duty-percent-control { height: 37px; min-height: 37px; font-size: 12px; }
  .duty-leading-flag { top: 8px; }
  .duty-control-icon { top: 10px; }
  .duty-select-control::after { top: 7px; }
  .duty-exclusions { margin-top: 17px; }
  .duty-summary-grid { grid-template-columns: 1fr; }
  .duty-rate-card,
  .duty-cost-card { height: auto; min-height: 155px; }
  .duty-rate-card > strong { font-size: 62px; }
  .duty-rate-card > div { padding: 10px; }
  .duty-cost-card { padding: 14px; }
  .duty-cost-card dl div { padding-block: 4.45px; }
  .duty-entry-line > div { grid-column: auto; flex-wrap: nowrap; }
  .duty-alerts-grid { grid-template-columns: 1fr; }
  .duty-alerts-grid .duty-result-section { height: auto; min-height: 120px; }
  .duty-alerts-grid .duty-pga-section { height: 120px; min-height: 120px; max-height: 120px; overflow: hidden; }
  .duty-project-card { height: auto; min-height: 85px; max-height: none; align-items: flex-start; flex-wrap: wrap; row-gap: 3px; padding-block: 7.6px; overflow: visible; }
  .duty-project-card > div > span { line-height: 1.1; }
  .duty-project-card > div { flex: 1 1 calc(100% - 45px); }
  .duty-project-card a { margin-left: auto; }
  .duty-results-empty { min-height: 320px; padding: 28px 15px; }
  .duty-page-disclaimer { padding: 0 25px 20px; line-height: 1.5; }
}
@media (max-width: 420px) {
  .duty-card-heading-main { gap: 7px; }
  .duty-card-heading h2 { font-size: 13px; }
  .duty-card-heading p { font-size: 9px; }
  .duty-text-button,
  .duty-report-link { gap: 3px; font-size: 9px; }
  .duty-exclusion-item { grid-template-columns: 14px 58px minmax(0,1fr) auto; gap: 5px; }
  .duty-exclusion-item small { font-size: 8px; }
  .duty-exclusion-item em { padding: 3px 4px; font-size: 7.5px; }
  .duty-rate-card > strong { font-size: 58px; }
  .duty-pga-section .duty-section-heading h3 { white-space: normal; }
}
