/* VGM Calculator (vgm-calculator.html). Loaded only on that page.
   Compact layout (v2): calculator first with a sticky live result panel, then basics, timeline + checklist, FAQ, sources.
   Backgrounds white or #EEF3FA only; accents #003DA5 (navy #002B75) and #FF6720. */
.vg-tool [hidden], .vg-form [hidden], .vg-panel[hidden] { display: none !important; }
/* ---------- Page rhythm ---------- */
body:has(#vg-form) .page-hero { padding: 40px 48px 30px; }
body:has(#vg-form) .page-hero h1 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.02; margin-bottom: 10px; }
body:has(#vg-form) .page-hero p { max-width: 70ch; font-size: 17px; line-height: 1.55; margin-bottom: 0; }
body:has(#vg-form) .cta-section { padding: 56px 48px; }
body:has(#vg-form) .cta-headline { font-size: clamp(32px, 4vw, 48px); }
body:has(#vg-form) .cta-subheadline { margin-bottom: 24px; }
.vg-jump { background: #FFFFFF; border-bottom: 1px solid #D3DCE9; padding: 0 48px; position: relative; z-index: 2; }
.vg-jump .content-container { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.vg-jump a { display: inline-flex; align-items: center; min-height: 44px; font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #003DA5; text-decoration: none; border-bottom: 3px solid transparent; }
.vg-jump a:hover, .vg-jump a:focus-visible { border-bottom-color: #FF6720; }
main:has(#vg-form) .content-section { padding: 48px 48px; }
main:has(#vg-form) .section-eyebrow { margin-bottom: 8px; }
.vg-h2 { font-family: 'Oswald', sans-serif; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; line-height: 1.08; text-transform: uppercase; color: var(--navy); margin: 0 0 8px; }
.vg-lead { font-size: 17px; line-height: 1.55; color: var(--body-ink); max-width: 70ch; margin: 0 0 22px; }
.vg-lead strong, .vg-cks strong, .vg-faq strong, .vg-basics strong { color: var(--navy); }
main:has(#vg-form) p, main:has(#vg-form) dd, main:has(#vg-form) li > span { max-width: 70ch; }
/* ---------- Calculator: two columns ---------- */
.vg-calc-s { background: #FFFFFF; }
.vg-calc-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: 32px; align-items: start; }
.vg-calc-head .vg-h2, .vg-calc-head h2 { font-family: 'Oswald', sans-serif; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; line-height: 1.08; text-transform: uppercase; color: var(--navy); margin: 0 0 6px; }
.vg-calc-head .vg-lead { margin-bottom: 14px; font-size: 16px; }
.vg-form.wf-form { padding: 6px 22px 12px; border: 1px solid #D3DCE9; border-top: 4px solid #003DA5; }
.vg-step { padding: 12px 0 4px; border-bottom: 1px solid #E1E8F2; }
.vg-h3 { display: flex; align-items: center; gap: 10px; font-family: 'Oswald', sans-serif; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin: 0 0 10px; }
.vg-sn { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: #003DA5; color: #FFFFFF; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.vg-mu { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.vg-fs legend { font-family: 'Oswald', sans-serif; font-size: 12.5px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); font-weight: 600; margin-bottom: 6px; }
.wf-form .vg-fs { margin: 0; }
.vg-seg { display: flex; border: 2px solid #003DA5; border-radius: 4px; overflow: hidden; }
.vg-seg-3 .vg-choice { flex: 1 1 0; }
.vg-choice { min-height: 44px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px 10px; background: #FFFFFF; font-size: 13.5px; line-height: 1.2; color: var(--navy); cursor: pointer; border-left: 1px solid rgba(0, 61, 165, .35); position: relative; }
.vg-choice:first-child { border-left: 0; }
.vg-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; }
.vg-choice b { display: block; font-family: 'Oswald', sans-serif; font-size: 14.5px; letter-spacing: .04em; }
.vg-seg-3 .vg-choice span { display: block; }
.vg-fs-u .vg-choice { min-width: 56px; }
.vg-choice:hover { background: #EEF3FA; }
.vg-choice:has(input:checked) { background: #003DA5; color: #FFFFFF; box-shadow: inset 0 -4px 0 #FF6720; }
.vg-choice:focus-within { outline: 3px solid #003DA5; outline-offset: -3px; }
.vg-choice:focus-within:has(input:checked) { outline-color: #fff; }
.vg-crow { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0 12px; }
.vg-crow-2 { grid-template-columns: 1fr 1fr; }
.vg-pk { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 12px; margin-top: 10px; align-items: end; }
.vg-form .form-row { margin-bottom: 10px; }
.vg-form .form-row label { font-size: 11.5px; letter-spacing: .1em; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.vg-form select, .vg-form input[type="number"], .vg-form input[type="text"], .vg-form input[type="date"] { min-height: 44px; width: 100%; max-width: 100%; padding: 9px 11px; }
.vg-hint { font-size: 13.5px; line-height: 1.5; color: var(--body-ink); margin: 0 0 10px; max-width: 70ch; }
.vg-hint a { color: #003DA5; }
.vg-opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--body-ink); font-size: 13px; }
.vg-unit { text-transform: none; letter-spacing: 0; font-weight: 400; }
.vg-one { max-width: 300px; }
.vg-sub-h { display: flex; align-items: center; gap: 6px; font-family: 'Oswald', sans-serif; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); font-weight: 600; margin-bottom: 4px; }
.vg-mk-i { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; background: #FF6720; color: #FFFFFF; font: 700 12px/20px Oswald, sans-serif; text-align: center; letter-spacing: 0; display: inline-block; }
.vg-mk-x { background: transparent; }
.vg-lines { width: 100%; border-collapse: collapse; }
.vg-lines th { text-align: left; font-family: 'Oswald', sans-serif; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); font-weight: 600; padding: 0 8px 4px 0; }
.vg-lines td { padding: 0 8px 6px 0; vertical-align: middle; }
.vg-lines td input { min-height: 44px; width: 100%; font-size: 16px; padding: 9px 11px; border: 1px solid #C9D4E5; background: #FFFFFF; color: var(--navy); }
.vg-lines td input:focus { outline: 3px solid #FF6720; outline-offset: 1px; }
.vg-lines td:nth-child(1) { width: 40%; } .vg-lines td:nth-child(2) { width: 16%; } .vg-lines td:nth-child(3) { width: 22%; }
.vg-line-t { font-variant-numeric: tabular-nums; color: var(--navy); font-weight: 600; white-space: nowrap; font-size: 14.5px; }
.vg-btn-small { min-height: 44px; padding: 6px 14px; font-size: 13.5px; margin: 0 0 4px; }
.vg-more { border-bottom: 1px solid #E1E8F2; }
.vg-more summary { cursor: pointer; min-height: 46px; display: flex; align-items: center; gap: 8px; font-family: 'Oswald', sans-serif; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; color: #003DA5; }
.vg-more[open] summary { margin-bottom: 4px; }
.vg-more summary:focus-visible { outline: 3px solid #FF6720; outline-offset: 2px; }
.vg-mini { display: none; }
.vg-legal { max-width: none; margin: 12px 0 0; padding: 10px 14px; background: #EEF3FA; border-left: 4px solid #FF6720; font-size: 13.5px; line-height: 1.5; color: var(--body-ink); }
.vg-legal strong { color: var(--navy); }
.vg-noscript { margin-top: 12px; font-weight: 600; color: var(--navy); }
/* Result panel */
.vg-panel { position: sticky; top: 176px; max-height: calc(100vh - 190px); overflow-y: auto; overscroll-behavior: contain; background: #FFFFFF; border: 1px solid #C9D4E5; border-top: 4px solid #FF6720; padding: 16px 20px 14px; box-shadow: 0 10px 30px rgba(12, 30, 60, .08); }
.vg-panel .result-label { font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); font-weight: 600; }
.vg-sum-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.vg-big { font-family: 'Oswald', sans-serif; font-size: 42px; line-height: 1.05; color: #003DA5; font-weight: 700; font-variant-numeric: tabular-nums; }
.vg-sum .vg-sub { font-size: 19px; font-weight: 600; color: var(--navy); }
.vg-mid { font-family: 'Oswald', sans-serif; font-size: 18px; color: var(--navy); font-weight: 700; font-variant-numeric: tabular-nums; }
.vg-sub { font-size: 13.5px; color: var(--body-ink); font-variant-numeric: tabular-nums; }
.vg-fig-art { margin: 8px -6px 4px; }
.vg-fig-art figcaption { font-size: 12px; color: var(--steel); margin: 2px 6px 0; }
.vg-bd { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid #D3DCE9; }
.vg-bd li { display: flex; align-items: center; gap: 9px; padding: 5px 4px; border-bottom: 1px solid #EEF3FA; font-size: 14.5px; color: var(--navy); max-width: none !important; }
.vg-bd li:hover { background: #EEF3FA; }
.vg-bd-l { flex: 1; max-width: none !important; }
.vg-bd-v { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; max-width: none !important; }
.vg-bd-sub .vg-bd-l { color: var(--body-ink); }
.vg-bd-tot { border-top: 2px solid #003DA5; border-bottom: 0 !important; font-family: 'Oswald', sans-serif; font-size: 16px !important; letter-spacing: .04em; text-transform: uppercase; }
.vg-bd-tot .vg-bd-v { color: #003DA5; font-size: 17px; }
.vg-meter { margin-top: 10px; }
.vg-meter-t { display: flex; justify-content: space-between; align-items: baseline; }
.vg-bar { height: 8px; background: #EEF3FA; border: 1px solid #D3DCE9; margin: 4px 0 2px; overflow: hidden; }
.vg-bar i { display: block; height: 100%; width: 0; background: #003DA5; transition: width .25s ease; }
.vg-bar i.is-near { background: #FF6720; }
.vg-bar i.is-over { background: #FF6720; background-image: repeating-linear-gradient(45deg, transparent 0 6px, rgba(255,255,255,.45) 6px 9px); }
.vg-gc { margin: 8px 0 0; font-size: 14.5px; color: var(--navy); }
.vg-gc b { font-variant-numeric: tabular-nums; }
.vg-checks, .vg-msgs { list-style: none; margin: 8px 0 0; padding: 0; }
.vg-checks li, .vg-msgs li { position: relative; padding: 5px 6px 5px 28px; font-size: 13.5px; line-height: 1.45; color: var(--navy); border-bottom: 1px solid #EEF3FA; max-width: none; }
.vg-checks li::before, .vg-msgs li::before { position: absolute; left: 4px; top: 6px; width: 17px; height: 17px; border-radius: 50%; font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; color: #FFFFFF; }
.vg-msgs li { color: var(--body-ink); font-size: 13px; }
.vg-good::before { content: "✓"; background: #003DA5; }
.vg-bad::before, .vg-err::before { content: "×"; background: #FF6720; }
.vg-warn::before { content: "\2022"; background: #FF6720; }
.vg-info::before { content: "i"; background: #002B75; }
.vg-bad, .vg-err { font-weight: 600; }
.vg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.vg-actions .ck-print { min-height: 44px; padding: 6px 12px; font-size: 13.5px; }
.vg-actions .btn-primary { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.vg-actions .ck-print:disabled { opacity: .5; cursor: not-allowed; }
.vg-copied { min-height: 1.2em; font-size: 13.5px; color: #003DA5; margin: 6px 0 0; }
.vg-decl { display: none; }
/* Drawing (rig classes come from whisk-freight.css; the sva-* rules it needs are copied here) */
.vg-art { display: block; width: 100%; height: auto; }
.vg-art .sva-apron { fill: #DCE3EE; } .vg-art .sva-shadow { fill: #0C1E3C; opacity: .22; } .vg-art .sva-contact { fill: #0C1E3C; opacity: .35; }
.vg-art .sva-corr { fill: #0C1E3C; opacity: .09; } .vg-art .sva-rail { fill: #C4501A; } .vg-art .sva-inside { fill: #E4EAF3; } .vg-art .sva-floor { fill: #8A6A44; }
.vg-art .sva-palgap { fill: #5E4730; } .vg-art .sva-wrap { fill: none; stroke: #fff; stroke-width: .35; opacity: .5; }
.vg-art .vg-a-bag { fill: #FFB27F; stroke: #C4501A; stroke-width: .6; } .vg-art .vg-a-blk { fill: #B08A5A; stroke: #5E4730; stroke-width: .4; }
.vg-art .vg-br path { fill: none; stroke: #003DA5; stroke-width: 1.6; }
.vg-art .vg-br text { font: 600 15px Oswald, sans-serif; letter-spacing: .03em; fill: #002B75; }
.vg-art .vg-br-r path { stroke: #98A4B5; stroke-dasharray: 4 3; } .vg-art .vg-br-r text { fill: #5A6B82; }
.vg-art .vg-mk circle { fill: #FF6720; stroke: #fff; stroke-width: 2; } .vg-art .vg-mk text { font: 700 13px Oswald, sans-serif; fill: #fff; }
.vg-art .vg-mk { transition: opacity .2s; } .vg-art .vg-mk.is-zero { opacity: .3; }
.vg-art g[data-part] { transition: opacity .2s, filter .2s; }
.vg-art .vg-a-road { opacity: .42; filter: grayscale(.6); }
.vg-art.is-scale .vg-a-road { opacity: .7; filter: none; }
.vg-art.is-scale .vg-br-r path { stroke: #003DA5; } .vg-art.is-scale .vg-br-r text { fill: #002B75; }
.vg-art.is-over .vg-br-v path { stroke: #FF6720; stroke-width: 2.4; } .vg-art.is-over .vg-br-v text { fill: #C4501A; }
.vg-art.is-overroad .vg-br-r path { stroke: #FF6720; stroke-dasharray: none; } .vg-art.is-overroad .vg-br-r text { fill: #C4501A; }
.vg-art[data-hl="cargo"] .vg-a-tare, .vg-art[data-hl="cargo"] .vg-a-dn, .vg-art[data-hl="pack"] .vg-a-tare, .vg-art[data-hl="pack"] .vg-a-dn,
.vg-art[data-hl="dn"] .vg-a-tare, .vg-art[data-hl="dn"] .vg-a-cargo, .vg-art[data-hl="tare"] .vg-a-cargo, .vg-art[data-hl="tare"] .vg-a-dn,
.vg-art[data-hl="road"] .vg-a-tare, .vg-art[data-hl="road"] .vg-a-cargo, .vg-art[data-hl="road"] .vg-a-dn { opacity: .28; }
.vg-art[data-hl="pack"] .vg-a-cargo rect:not(.vg-a-pk) { opacity: .25; }
.vg-art[data-hl="road"] .vg-a-road { opacity: 1; filter: none; }
.vg-art[data-hl="vgm"] .vg-a-road { opacity: .2; }
.vg-art[data-hl="cargo"] .vg-mk:not([data-part="cargo"]), .vg-art[data-hl="pack"] .vg-mk:not([data-part="pack"]),
.vg-art[data-hl="dn"] .vg-mk:not([data-part="dn"]), .vg-art[data-hl="tare"] .vg-mk:not([data-part="tare"]) { opacity: .25; }
/* ---------- Basics ---------- */
.vg-basics { background: #EEF3FA; }
.vg-b-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-bottom: 20px; align-items: start; }
.vg-b-grid2 { grid-template-columns: 1fr 1fr; }
.vg-panel2 { background: #FFFFFF; border: 1px solid #D3DCE9; padding: 18px 20px 12px; }
.vg-h3s { font-family: 'Oswald', sans-serif; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin: 0 0 10px; padding-bottom: 8px; border-bottom: 3px solid #003DA5; display: inline-block; }
.vg-terms { margin: 0; display: grid; gap: 0; }
.vg-term { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid #EEF3FA; }
.vg-term dt { font-family: 'Oswald', sans-serif; font-size: 15px; color: #003DA5; letter-spacing: .03em; line-height: 1.35; }
.vg-term dt dfn { font-style: normal; font-weight: 700; display: block; font-size: 17px; }
.vg-term dt span { font-family: 'IBM Plex Sans', sans-serif; font-size: 12.5px; color: var(--steel); letter-spacing: 0; }
.vg-term dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--body-ink); }
.vg-s { display: block; font-size: 12px; color: var(--steel); margin-top: 2px; }
.vg-s a { color: #003DA5; }
.vg-roles { list-style: none; margin: 0; padding: 0; }
.vg-roles li { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 8px 0 8px 12px; border-bottom: 1px solid #EEF3FA; border-left: 3px solid #D3DCE9; margin-bottom: 4px; }
.vg-roles li:first-child { border-left-color: #FF6720; background: linear-gradient(90deg, #FFF4EC, #FFFFFF 70%); }
.vg-roles b { font-family: 'Oswald', sans-serif; font-size: 15px; color: var(--navy); letter-spacing: .03em; text-transform: uppercase; }
.vg-roles span { font-size: 14.5px; line-height: 1.5; color: var(--body-ink); }
.vg-m2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vg-m { position: relative; padding: 8px 0 0 44px; }
.vg-m-n { position: absolute; top: 6px; left: 0; width: 32px; height: 32px; border-radius: 50%; background: #FF6720; color: #FFFFFF; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.vg-m h4 { font-family: 'Oswald', sans-serif; font-size: 16px; color: var(--navy); margin: 0 0 6px; text-transform: uppercase; letter-spacing: .03em; }
.vg-m p { font-size: 14.5px; line-height: 1.5; color: var(--body-ink); margin: 0 0 8px; }
.vg-best { font-size: 13.5px !important; }
.vg-note { font-size: 14.5px; line-height: 1.5; color: var(--body-ink); margin: 0 0 6px; }
.vg-3w { margin-bottom: 0; }
.vg-table-wrap { overflow-x: auto; margin: 4px 0 4px; }
.vg-table { width: 100%; border-collapse: collapse; background: #FFFFFF; font-size: 14.5px; }
.vg-table caption { caption-side: top; text-align: left; font-size: 13px; color: var(--body-ink); padding: 0 0 6px; }
.vg-table th, .vg-table td { border: 1px solid #C9D4E5; padding: 7px 10px; text-align: left; vertical-align: top; line-height: 1.4; }
.vg-table thead th { background: #003DA5; color: #FFFFFF; font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: .04em; font-size: 13.5px; }
.vg-table tbody th { color: var(--navy); }
.vg-table td { font-variant-numeric: tabular-nums; }
.vg-u { display: block; font-size: 12.5px; color: var(--body-ink); }
.vg-table a { color: #003DA5; }
main:has(#vg-form) .ck-src { font-size: 12.5px !important; margin: 6px 0 0; line-height: 1.45; }
main:has(#vg-form) .ck-src a { padding: 2px 0; }
main:has(#vg-form) .ck-src span:first-child { font-size: 11px; }
/* ---------- Timeline + checklist ---------- */
.vg-cks { background: #FFFFFF; }
.vg-ck-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.vg-ck-tools { display: flex; justify-content: flex-end; margin: 0 0 22px; }
.vg-tl { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: tl; position: relative; }
.vg-tl::before { content: ""; position: absolute; left: 8%; right: 8%; top: 25px; height: 3px; background: #003DA5; }
.vg-tl-i { position: relative; text-align: center; padding: 0 8px; }
.vg-tl-ic { position: relative; z-index: 1; width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 50%; background: #FFFFFF; border: 3px solid #003DA5; display: flex; align-items: center; justify-content: center; }
.vg-tl-ic svg { width: 26px; height: 26px; fill: none; stroke: #003DA5; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vg-tl-key .vg-tl-ic { background: #FF6720; border-color: #FF6720; box-shadow: 0 0 0 5px #FFE3D1; }
.vg-tl-key .vg-tl-ic svg { stroke: #FFFFFF; }
.vg-tl-i h3 { font-family: 'Oswald', sans-serif; font-size: 15.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin: 0 0 3px; }
.vg-tl-key h3 { color: #C4501A; }
.vg-tl-i p { font-size: 13px; line-height: 1.4; color: var(--body-ink); margin: 0 auto; max-width: 22ch; }
.vg-tl-st { margin-top: 4px !important; font-size: 12px !important; color: var(--steel) !important; }
.vg-tl-st a { color: #003DA5; font-weight: 600; display: inline-block; min-width: 18px; }
.vg-ck { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.vg-ck-i { display: grid; grid-template-columns: 28px 1fr; gap: 0 10px; padding: 12px 16px 10px 12px; background: #EEF3FA; border-left: 4px solid #003DA5; scroll-margin-top: 120px; }
.vg-ck-i:target { box-shadow: 0 0 0 3px #FF6720; }
.vg-ck-i:has(input:checked) { border-left-color: #FF6720; }
.vg-ck-i > input { width: 24px; height: 24px; margin: 4px 0 0; accent-color: #003DA5; cursor: pointer; }
.vg-ck-i h3 { font-family: 'Oswald', sans-serif; font-size: 16.5px; letter-spacing: .03em; text-transform: uppercase; color: var(--navy); margin: 0 0 4px; line-height: 1.3; }
.vg-ck-i h3 label { cursor: pointer; }
.vg-ck-n { display: inline-block; min-width: 1.6em; color: #FF6720; }
.vg-ck-lead { font-size: 14.5px; line-height: 1.5; color: var(--navy); margin: 0 0 4px; }
.vg-ck-more { font-size: 13.5px; line-height: 1.5; color: var(--body-ink); margin: 0; }
.vg-ck-more a, .vg-ck-lead a { color: #003DA5; }
.vg-ck-d > summary { display: none; }
.vg-ck-d .vg-s { margin-top: 4px; }
.vg-pd > summary { list-style: none; cursor: default; min-height: 24px; }
.vg-pd > summary::-webkit-details-marker { display: none; }
.vg-pk .form-row label { min-height: 2.7em; align-items: flex-end; }
/* ---------- FAQ ---------- */
.vg-faq { background: #EEF3FA; }
.vg-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.vg-q { background: #FFFFFF; border: 1px solid #D3DCE9; border-top: 3px solid #003DA5; padding: 12px 16px; }
.vg-q summary { list-style: none; cursor: default; min-height: 24px; }
.vg-q summary::-webkit-details-marker { display: none; }
.vg-q h3 { font-family: 'Oswald', sans-serif; font-size: 16px; letter-spacing: .02em; color: var(--navy); margin: 0 0 6px; line-height: 1.3; }
.vg-q p { font-size: 14.5px; line-height: 1.5; color: var(--body-ink); margin: 0; }
/* ---------- Sources ---------- */
.vg-src-s { background: #FFFFFF; }
main:has(#vg-form) .vg-src-s.content-section { padding-top: 36px; padding-bottom: 36px; }
.vg-srcs summary { list-style: none; cursor: default; min-height: 24px; }
.vg-srcs summary::-webkit-details-marker { display: none; }
.vg-srcs .last-reviewed { font-size: 13px; margin: 0 0 8px; }
.vg-src-list { columns: 3; column-gap: 28px; margin: 0 0 10px; padding-left: 18px; font-size: 12.5px; line-height: 1.4; }
.vg-src-list li { margin-bottom: 5px; overflow-wrap: anywhere; break-inside: avoid; }
.vg-src-list a { color: #003DA5; display: inline-block; min-height: 24px; padding: 4px 0; }
.vg-see { font-size: 14px; margin: 0 0 8px; }
.vg-see a { color: #003DA5; }
main:has(#vg-form) .vg-src-s .disclaimer, main:has(#vg-form) .vg-src-s .ck-disclaimer { font-size: 12.5px; }
/* Fallbacks when css/checklists.css is not on the page (WF_CHECKLISTS off) */
.ck-print { min-height: 44px; padding: 10px 18px; background: #FFFFFF; color: #003DA5; border: 2px solid #003DA5; font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: .06em; cursor: pointer; }
.ck-print:hover { border-color: #FF6720; }
.ck-print:focus-visible { outline: 3px solid #FF6720; outline-offset: 2px; }
/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .vg-calc-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; } .vg-pk { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) {
  .vg-calc-grid { grid-template-columns: 1fr; }
  .vg-panel { position: static; max-height: none; overflow: visible; box-shadow: none; }
  .vg-b-grid, .vg-b-grid2 { grid-template-columns: 1fr; }
  .vg-tl { grid-template-columns: repeat(3, 1fr); row-gap: 18px; } .vg-tl::before { display: none; }
  .vg-mini { display: flex; position: sticky; bottom: 0; z-index: 5; margin: 0 -22px -12px; padding: 4px 14px; background: #002B75; color: #FFFFFF; align-items: center; justify-content: space-between; gap: 10px; font-variant-numeric: tabular-nums; }
  .vg-mini-l { font-family: 'Oswald', sans-serif; letter-spacing: .12em; font-size: 12px; color: #FFB27F; }
  .vg-mini a { color: #FFFFFF; min-height: 44px; display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 600; text-decoration: underline; }
}
@media (max-width: 760px) {
  body:has(#vg-form) .page-hero { padding: 28px 18px 22px; }
  body:has(#vg-form) .page-hero p { font-size: 15.5px; }
  .vg-jump { padding: 0 14px; } .vg-jump .content-container { gap: 0 16px; } .vg-jump a { font-size: 12.5px; }
  main:has(#vg-form) .content-section { padding: 32px 14px; }
  body:has(#vg-form) .cta-section { padding: 40px 18px; }
  .vg-ck, .vg-faq-grid, .vg-m2 { grid-template-columns: 1fr; }
  .vg-src-list { columns: 1; }
  .vg-crow { grid-template-columns: 1fr 1fr; } .vg-crow > .form-row:first-child { grid-column: 1 / -1; }
  .vg-crow-2 { grid-template-columns: 1fr; }
  .vg-mu { grid-template-columns: 1fr; }
  .vg-form.wf-form { padding: 4px 12px 12px; }
  .vg-mini { margin: 0 -12px -12px; }
  .vg-panel { padding: 14px 12px; }
  .vg-big { font-size: 36px; }
  .vg-term, .vg-roles li { grid-template-columns: 1fr; gap: 2px; }
  .vg-term dt dfn { display: inline; margin-right: 6px; }
  .vg-ck-head { display: block; } .vg-ck-tools { margin-bottom: 14px; }
  .vg-art .vg-br text { font-size: 17px; }
}
@media (max-width: 600px) {
  .vg-lines thead { display: none; }
  .vg-lines, .vg-lines tbody { display: block; }
  .vg-lines tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; padding: 6px 0; border-bottom: 1px solid #C9D4E5; }
  .vg-lines td { display: block; width: auto !important; padding: 0 0 6px; }
  .vg-lines td:first-child { grid-column: 1 / -1; }
  .vg-lines td.vg-line-t { grid-column: 1 / -1; font-size: 13.5px; }
  .vg-lines td.vg-line-t::before { content: "Line total: "; font-weight: 400; }
  .vg-lines .sr-only { position: static !important; width: auto !important; height: auto !important; clip: auto !important; margin: 0 0 4px !important; display: block; font-size: 12px; color: var(--steel); white-space: normal !important; }
  .vg-pk { grid-template-columns: 1fr 1fr; }
  .vg-choice { font-size: 12.5px; padding: 6px 6px; }
  .vg-actions > * { flex: 1 1 100%; justify-content: center; display: flex; }
  .vg-ck-tools { justify-content: stretch; } .vg-ck-tools .ck-print { flex: 1; }
  .vg-tl { grid-template-columns: 1fr 1fr; }
  .vg-q summary, .vg-srcs summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .vg-q summary::after, .vg-srcs summary::after { content: "+"; flex: 0 0 auto; font: 700 22px/1 Oswald, sans-serif; color: #FF6720; }
  .vg-q[open] summary::after, .vg-srcs[open] summary::after { content: "\2212"; }
  .vg-q h3 { margin: 0; }
  .vg-pd > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .vg-pd > summary::after { content: "+"; font: 700 22px/1 Oswald, sans-serif; color: #FF6720; }
  .vg-pd[open] > summary::after { content: "\2212"; }
  .vg-pd .vg-h3s { margin: 0; }
  .vg-ck-d > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-size: 13.5px; font-weight: 600; color: #003DA5; text-decoration: underline; }
  .vg-ck-d[open] > summary { min-height: 32px; }
  .vg-ck-i { padding: 8px 12px 4px 10px; }
  .vg-q[open] h3 { margin-bottom: 6px; }
  .vg-srcs summary .vg-h2 { margin: 0; }
}
@media print {
  .vg-tool .vg-form, .vg-actions, .vg-copied, .vg-ck-tools, .vg-jump, .vg-mini, .vg-fig-art { display: none !important; }
  .vg-panel { position: static; max-height: none; overflow: visible; box-shadow: none; }
  .vg-calc-grid, .vg-ck, .vg-faq-grid, .vg-b-grid { display: block; }
  .vg-ck-i { break-inside: avoid; background: #fff; margin-bottom: 8px; }
  html.vg-print-decl body * { visibility: hidden; }
  html.vg-print-decl .vg-decl, html.vg-print-decl .vg-decl * { visibility: visible; }
  html.vg-print-decl .vg-decl { display: block; position: absolute; left: 0; top: 0; width: 100%; }
  .vg-decl pre { font-family: 'IBM Plex Sans', sans-serif; font-size: 12pt; line-height: 1.9; white-space: pre-wrap; color: #000; }
  html.vg-print-ck main > section:not(#vg-checklist), html.vg-print-ck main > nav, html.vg-print-ck header, html.vg-print-ck footer, html.vg-print-ck .cta-section, html.vg-print-ck .annotation-bar { display: none !important; }
}
