/* Per diem calculator and per diem dispute checklist. Uses tokens from whisk-freight.css. */
.pd-related { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 16px; }
.pd-related a { color: var(--brand-blue); font-weight: 600; text-decoration: underline; }
.page-hero .btn-row .btn-secondary { text-decoration: none; }

/* ---------- Calculator (studio layout from calc-studio.css) ---------- */
.pd-hero p.pd-related { margin: 26px 0 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px 28px; max-width: none; }
.pd-hero .pd-related a { display: inline-block; }
.pd-hero .pd-related a { color: #fff; text-decoration-color: rgba(255,103,32,.8); text-underline-offset: 4px; }
.cx-seg-3 { --n: 3; }
.pd-equip { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 16px; }
.pd-fs { border: 0; margin: 0; padding: 0; min-width: 0; }
.pd-fs-label { font-family: 'Oswald', sans-serif; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #47566E; font-weight: 600; margin-bottom: 8px; padding: 0; border: 0; display: block; }
.pd-closed-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.pd-btn { font-family: 'Oswald', sans-serif; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; background: #fff; color: var(--brand-blue);
  border: 2px solid var(--brand-blue); padding: 0 18px; min-height: 52px; cursor: pointer; }
.pd-btn:hover { background: var(--brand-blue); color: #fff; }
.pd-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; }
.pd-chips:empty { display: none; }
.pd-chips li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #B9C7DE; border-left: 4px solid #8C96A6; padding: 4px 4px 4px 10px; font-size: 14px; color: var(--navy); }
.pd-chips button { border: 0; background: transparent; color: var(--brand-blue); font-size: 18px; line-height: 1; width: 32px; height: 32px; cursor: pointer; }
.pd-tier-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: end; margin-top: 12px; }
.pd-tier-row .pd-tn { font-family: 'Oswald', sans-serif; font-size: 18px; color: var(--orange); padding-bottom: 14px; }
.pd-hint { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-top: 6px; }
.pd-what { margin-top: 18px; }
.pd-noscript { margin: 24px; }

/* scoreboard */
.pd-ring { width: 176px; }
.pd-ring-a { transition: stroke-dasharray .6s cubic-bezier(.2,.7,.2,1), stroke-dashoffset .6s cubic-bezier(.2,.7,.2,1); }
.pd-r-eyebrow { font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: 0.24em; color: #A13C0A; text-transform: uppercase; margin-bottom: 6px; }
.pd-err { font-size: 16.5px; line-height: 1.6; color: #34415A; margin: 0; }
.pd-prompt { background: #F4F7FB; border-left: 4px solid #003DA5; padding: 14px 16px; margin-bottom: 18px; }
.pd-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #DCE5F3; border-bottom: 1px solid #DCE5F3; margin-bottom: 20px; }
.pd-stat { padding: 12px 10px 12px 0; min-width: 0; }
.pd-stat + .pd-stat { padding-left: 14px; border-left: 1px solid #DCE5F3; }
.pd-stat b { display: block; font-family: 'Oswald', sans-serif; font-size: 26px; font-weight: 600; line-height: 1.1; color: #002B75; }
.pd-stat span { font-size: 13px; color: #47566E; line-height: 1.4; display: block; }

/* calendar strip */
.pd-cal { margin-bottom: 18px; }
.pd-flags { position: relative; height: 26px; }
.pd-flag-lfd { position: absolute; bottom: 4px; transform: translateX(-100%); white-space: nowrap; background: #003DA5; color: #fff; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: .04em; padding: 2px 8px; border-radius: 3px 3px 0 3px; }
.pd-flag-lfd.is-start { transform: none; border-radius: 3px 3px 3px 0; }
.pd-flag-lfd.is-start::after { right: auto; left: 0; }
.pd-flag-lfd::after { content: ''; position: absolute; right: 0; top: 100%; width: 3px; height: 8px; background: #003DA5; }
.pd-bar-wrap { margin-bottom: 4px; }
.pd-bar { display: flex; gap: 2px; height: 38px; }
.pd-bar span { flex: 1 1 0; min-width: 0; background: #E3E9F2; display: flex; align-items: flex-end; justify-content: center; border-radius: 2px; animation: pd-in .35s ease both; }
.pd-bar span i { font-style: normal; font-size: 10.5px; font-weight: 600; line-height: 1; padding-bottom: 4px; color: rgba(0,43,117,.75); }
.pd-bar .d-t1 i, .pd-bar .d-t2 i, .pd-bar .d-t3 i { color: #fff; }
.pd-bar .is-closed { box-shadow: inset 0 3px 0 #002B75; }
.pd-bar .d-free { background: #6FA0E8; }
.pd-bar .d-skip { background: #EEF3FA; background-image: repeating-linear-gradient(135deg, #C9D5E8 0 2px, transparent 2px 6px); }
.pd-bar .d-nc { background: #E3E9F2; }
.pd-bar .d-t0, .pd-sw.d-t0 { background: #FFB58F; }
.pd-bar .d-t1, .pd-sw.d-t1 { background: #FF8447; }
.pd-bar .d-t2, .pd-sw.d-t2 { background: #FF6720; }
.pd-bar .d-t3, .pd-sw.d-t3 { background: #D94E0E; }
.pd-cal-ghost .pd-bar span { background: #EEF3FA; animation: none; }
@keyframes pd-in { from { transform: scaleY(.2); opacity: 0; } to { transform: none; opacity: 1; } }
.pd-bar-axis { display: flex; justify-content: space-between; font-size: 12.5px; color: #47566E; margin-top: 6px; gap: 8px; }
.pd-bar-axis span:first-child, .pd-bar-axis span:last-child { font-weight: 600; color: #002B75; }
.pd-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 10px 0 0; padding: 0; font-size: 13px; color: #34415A; }
.pd-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; }
.pd-legend .l-free { background: #6FA0E8; }
.pd-legend .l-skip { background: #EEF3FA; background-image: repeating-linear-gradient(135deg, #C9D5E8 0 2px, transparent 2px 6px); }
.pd-legend .l-chg { background: #FF6720; }
.pd-amt { margin-bottom: 14px; }
.pd-amt-bar { display: flex; height: 30px; border-radius: 3px; overflow: hidden; background: #E3E9F2; }
.pd-amt-bar i { display: flex; align-items: center; justify-content: center; border-right: 2px solid #fff; transition: width .5s ease; }
.pd-amt-bar i:last-child { border-right: 0; }
.pd-amt-bar em { font-style: normal; font-size: 12.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.25); }

/* tiers and source */
.pd-tiers-more > div { padding: 0 14px 6px; }
.pd-scroll { overflow-x: auto; }
.pd-tiers { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 8px; color: #002B75; }
.pd-tiers th, .pd-tiers td { text-align: left; padding: 9px 8px 9px 0; border-bottom: 1px solid #DCE5F3; vertical-align: top; }
.pd-tiers th { font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #47566E; }
.pd-tiers td:last-child, .pd-tiers th:last-child { text-align: right; padding-right: 0; }
.pd-tiers tfoot td { font-weight: 700; border-bottom: 0; padding-top: 12px; }
.pd-tiers .pd-sw { display: inline-block; width: 10px; height: 10px; margin-right: 8px; vertical-align: 1px; }
.pd-tiers small { display: block; color: #47566E; font-size: 12.5px; }
.pd-src { background: #F4F7FB; border-left: 4px solid var(--orange); padding: 14px 16px; font-size: 14.5px; line-height: 1.6; color: #34415A; margin-top: 14px; }
.pd-src p { margin: 0; }
.pd-src p + p, .pd-src p + details { margin-top: 10px; }
.pd-src strong { color: #002B75; }
.pd-src .pd-newer, .pd-src .pd-caution { color: #7A2E00; background: #FFF3EC; border: 1px solid #FFB58F; padding: 10px 12px; }
.pd-src .pd-newer strong, .pd-src .pd-caution strong { color: #7A2E00; }
.pd-terms { background: #fff; }
.pd-terms > div { padding: 0 14px 12px; }
.pd-disclaimer { font-size: 14px; line-height: 1.6; color: #34415A; margin: 0; }
.pd-disc { margin-top: 14px; }
.pd-result .btn-primary { text-decoration: none; }
@media (max-width: 640px) {
  .pd-ring { width: 120px; }
  .pd-stat b { font-size: 21px; }
  .pd-bar { height: 30px; gap: 1px; }
  .pd-bar span i { font-size: 9px; }
  .pd-tier-row { grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .pd-ring-a, .pd-amt-bar i { transition: none; } .pd-bar span { animation: none; } }

/* carrier table */
.pd-table-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--concrete-dark); background: #fff; }
.pd-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 860px; }
.pd-table th, .pd-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--concrete-dark); vertical-align: top; line-height: 1.5; color: var(--navy); }
.pd-table thead th { background: var(--navy); color: #fff; font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.pd-table tbody th { font-weight: 700; }
.pd-defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 28px; }
.pd-defs dt { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.02em; padding-top: 18px; border-top: 1px solid var(--concrete-dark); }
.pd-defs dd { margin: 6px 0 18px; font-size: 16px; line-height: 1.7; color: var(--body-ink); }
.pd-excl { list-style: none; margin: 20px 0 0; padding: 0; }
.pd-excl li { padding: 12px 0; border-bottom: 1px solid var(--concrete-dark); font-size: 16px; line-height: 1.6; color: var(--body-ink); }
.pd-excl strong { color: var(--navy); }

/* ---------- Checklist ---------- */
.pd-ck-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: end; margin-top: 32px; }
.pd-progress { height: 14px; background: var(--concrete-dark); position: relative; overflow: hidden; }
.pd-progress span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--brand-blue); transition: width .25s ease; }
.pd-progress-label { font-family: 'Oswald', sans-serif; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.pd-ck-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-tl { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.pd-tl::before { content: ''; position: absolute; left: 10%; right: 10%; top: 31px; height: 4px; background: var(--concrete-dark); }
.pd-tl li { position: relative; text-align: center; padding: 0 10px; }
.pd-tl .pd-tl-ic { width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-blue); display: flex; align-items: center; justify-content: center; position: relative; color: var(--brand-blue); }
.pd-tl li.is-done .pd-tl-ic { background: var(--brand-blue); color: #fff; }
.pd-tl .pd-tl-ic svg { width: 30px; height: 30px; }
.pd-tl b { display: block; font-family: 'Oswald', sans-serif; font-size: 17px; font-weight: 600; text-transform: uppercase; color: var(--navy); letter-spacing: 0.02em; line-height: 1.2; }
.pd-tl small { display: block; font-size: 14px; color: var(--body-ink); line-height: 1.5; margin-top: 6px; }
.pd-tl a { color: inherit; text-decoration: none; }
.pd-tl a:hover b { color: var(--brand-blue); text-decoration: underline; }
.pd-tl-count { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

.pd-deadlines { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pd-dl { background: #fff; border-top: 4px solid var(--brand-blue); padding: 24px 24px 18px; }
.content-section.white .pd-dl { background: var(--concrete); }
.pd-dl.fmc { border-top-color: var(--orange); }
.pd-dl h3 { font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 600; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.pd-dl ol { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.pd-dl li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--concrete-dark); font-size: 15px; line-height: 1.55; color: var(--body-ink); }
.pd-dl li b { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 600; color: var(--navy); line-height: 1.1; }
.pd-dl li b span { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.pd-dl .pd-cite { display: block; font-size: 13px; color: var(--brand-blue); font-weight: 600; margin-top: 2px; }

.pd-ck-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.pd-stage { padding-top: 8px; }
.pd-stage + .pd-stage { margin-top: 56px; }
.pd-stage-h { display: flex; align-items: center; gap: 16px; }
.pd-stage-h .pd-tl-ic { width: 52px; height: 52px; flex: none; border-radius: 50%; border: 3px solid var(--brand-blue); color: var(--brand-blue); display: flex; align-items: center; justify-content: center; background: #fff; }
.pd-stage-h .pd-tl-ic svg { width: 24px; height: 24px; }
.pd-stage-h h3 { font-family: 'Oswald', sans-serif; font-size: clamp(26px, 3vw, 34px); font-weight: 700; text-transform: uppercase; color: var(--navy); line-height: 1.05; }
.pd-stage-h .pd-stage-n { display: block; font-size: 13px; letter-spacing: 0.3em; color: #C2410C; font-weight: 500; margin-bottom: 4px; }
.pd-stage-intro { font-size: 17px; line-height: 1.7; color: var(--body-ink); margin-top: 14px; max-width: 760px; }
.pd-stage .ck-list { margin-top: 20px; }
.pd-stage .ck-body h4 { font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--navy); margin: 8px 0 8px; }
.pd-clause { display: block; font-size: 14px; color: var(--brand-blue); font-weight: 600; margin-top: 4px; }
.pd-quote { border-left: 3px solid var(--concrete-dark); padding: 2px 0 2px 14px; margin: 8px 0 10px; font-size: 15px; color: var(--navy); line-height: 1.6; }

.pd-evidence { position: sticky; top: 190px; background: var(--navy); color: #fff; padding: 28px 24px; }
.pd-evidence h3 { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.pd-evidence h3 svg { width: 24px; height: 24px; color: var(--orange-bright); flex: none; }
.pd-evidence > p { font-size: 14px; color: #C3CCD9; line-height: 1.55; margin-bottom: 14px; }
.pd-ev-list { list-style: none; margin: 0; padding: 0; }
.pd-ev-list li { border-top: 1px solid rgba(255,255,255,0.16); }
.pd-ev-list label { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 11px 0; cursor: pointer; font-size: 14.5px; line-height: 1.45; }
.pd-ev-list input { width: 24px; height: 24px; margin-top: 1px; accent-color: var(--orange); }
.pd-ev-list small { display: block; color: #AEB9CA; font-size: 12.5px; margin-top: 2px; }
.pd-ev-count { font-family: 'Oswald', sans-serif; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-bright); margin-top: 14px; }

@media (max-width: 1024px) {
  .pd-ck-grid { grid-template-columns: 1fr; }
  .pd-evidence { position: static; }
  .pd-deadlines { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pd-defs { grid-template-columns: 1fr; }
  .pd-ck-top { grid-template-columns: 1fr; }
  .pd-tl { grid-template-columns: 1fr; gap: 0; }
  .pd-tl::before { left: 31px; right: auto; top: 10px; bottom: 10px; width: 4px; height: auto; }
  .pd-tl li { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 0 16px; text-align: left; padding: 0 0 18px; }
  .pd-tl .pd-tl-ic { margin: 0; grid-row: span 3; }
  .pd-tl b { padding-top: 8px; }
  .pd-stats { grid-template-columns: 1fr 1fr 1fr; }
  .pd-stat b { font-size: 22px; }
}
@media print {
  .site-header, .site-footer, .cta-section, .trust-strip, .page-hero-cta, .pd-ck-actions { display: none !important; }
  .pd-evidence { position: static; background: #fff; color: #000; border: 1px solid #000; }
}

/* ---------- Checklist polish ---------- */
.pd-ck-top { background: #F4F7FB; border: 1px solid #DCE5F3; border-left: 5px solid var(--orange); padding: 22px 24px; box-shadow: 0 14px 30px -24px rgba(0,43,117,.45); }
.pd-progress { height: 18px; border-radius: 999px; background: #DCE5F3; }
.pd-progress::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 24 - 2px), rgba(255,255,255,.9) calc(100% / 24 - 2px) calc(100% / 24)); }
.pd-progress span { border-radius: 999px; background: linear-gradient(90deg, #003DA5, #2F6BD0 60%, #FF6720); transition: width .4s cubic-bezier(.2,.7,.2,1); }
.pd-progress-label { font-size: 15px; font-weight: 600; }
.pd-tl li.is-done .pd-tl-ic { box-shadow: 0 0 0 5px rgba(255,103,32,.25); border-color: var(--orange); }
.pd-tl li.is-done .pd-tl-count { color: #A13C0A; font-weight: 600; }
.pd-stage-h .pd-tl-ic { box-shadow: 0 8px 18px -10px rgba(0,61,165,.6); }
@media (prefers-reduced-motion: reduce) { .pd-progress span { transition: none; } }
@media print { .pd-ck-top { box-shadow: none; background: #fff; } }
