/*hero-anim:v2*/
@media (prefers-reduced-motion:no-preference){
/* Campaigns hero: the three printed codes are scanned one at a time (1s each), then the totals and bars fill in,
   and the finished report holds. 12s loop. */
.cph .cmh-src li{animation:cmh-scan 12s ease-in-out infinite backwards}
.cph .cmh-src li:nth-child(2){animation-delay:1s}.cph .cmh-src li:nth-child(3){animation-delay:2s}
.cph .cmh-bars i{transform-origin:left center;animation:cmh-grow 12s cubic-bezier(.2,.7,.2,1) infinite backwards}
.cph .cmh-bars li:nth-child(2) i{animation-delay:.2s}.cph .cmh-bars li:nth-child(3) i{animation-delay:.4s}
.cph .cmh-kpi b{animation:cmh-in 12s ease-out infinite backwards}
.cph .cmh-kpi div+div b{animation-delay:.2s}
@keyframes cmh-scan{0%{box-shadow:0 0 0 0 transparent,0 0 0 0 transparent}1%,6%{box-shadow:0 0 0 2px var(--accent),0 0 0 6px var(--accent-soft)}8%,100%{box-shadow:0 0 0 0 transparent,0 0 0 0 transparent}}
@keyframes cmh-grow{0%,25%{transform:scaleX(0)}37%,94%{transform:scaleX(1)}100%{transform:scaleX(0)}}
@keyframes cmh-in{0%,23%{opacity:0;transform:translateY(4px)}31%,95%{opacity:1;transform:none}100%{opacity:0}}
}

/*rbars-phone:v1*/
/* Phones: the per-code bar table fits the screen (it made the whole page scroll sideways). */
@media (max-width:560px){.rpanel .tw{max-width:100%}.rbars{table-layout:fixed}.rbars thead th:nth-child(1){width:46%}.rbars thead th:nth-child(2){width:20%}.rbars th[scope=row]{white-space:normal;padding-right:8px!important}.rbars .rb-s{width:auto}.rbars .rb{width:40px}.rbars th,.rbars td{font-size:13.5px}.rbars .rb-v{padding-right:10px!important}}

/*fx:v2*/
/* Sections below the hero build in once as they scroll into view: headings, paragraphs, cards, list items and table
   rows rise in one after another, screenshots lift into place and icon tiles pop (translate and scale, so they never undo an element's own transform). The script at the end of the page
   marks the pieces (.fx-i) and reveals them (.in); without it, or with reduced motion, nothing is hidden or moved. */
@media screen and (prefers-reduced-motion:no-preference){
.fx .fx-i:not(.in){opacity:0}
.fx .fx-i.in{animation:fx-rise .7s cubic-bezier(.2,.7,.2,1) var(--fx-d,0ms) backwards}
.fx .fx-i.in:is(figure,.shot){animation-name:fx-shot;animation-duration:.9s}
.fx .fx-i.in .it,.fx .fx-i.in.it{animation:fx-pop .5s cubic-bezier(.3,1.4,.5,1) calc(var(--fx-d,0ms) + .18s) backwards}
@keyframes fx-rise{from{opacity:0;translate:0 14px}to{opacity:1;translate:none}}
@keyframes fx-shot{from{opacity:0;translate:0 24px;scale:.98}to{opacity:1;translate:none;scale:none}}
@keyframes fx-pop{from{opacity:0;scale:.6}to{opacity:1;scale:none}}
}
/* Bulk hero: rows of a spreadsheet, checked, turning into codes and a ZIP. */
.bkv{margin:0}.bkv figcaption{margin-top:10px;font-size:13px;color:var(--fg3)}
.bkv-board{display:grid;justify-items:center;gap:10px;padding:24px;border-radius:24px;background:var(--panel)}
.bkv-sheet{width:100%;border:1px solid var(--line);border-radius:16px;background:var(--bg);overflow:hidden;font-size:12.5px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.bkv-file{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line)}
.bkv-file b{font-size:13.5px;font-weight:500}.bkv-file>span:last-child{margin-left:auto;white-space:nowrap;color:var(--fg3);font-size:12px}
.bkv-csv{padding:2px 6px;border-radius:6px;background:#E7F5EC;color:#15803D;font-size:10.5px;font-weight:700;letter-spacing:.04em}
.bkv-sheet table{width:100%;border-collapse:collapse;margin:0!important;table-layout:fixed}
.bkv-sheet th,.bkv-sheet td{padding:6px 14px!important;border-top:1px solid var(--line);text-align:left;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:none!important}
.bkv-sheet th:first-child,.bkv-sheet td:first-child{width:26%}.bkv-sheet th:last-child,.bkv-sheet td:last-child{width:84px;text-align:right;overflow:visible}
.bkv-sheet thead th{border-top:0;color:var(--fg3);font-weight:500;font-family:var(--font-mono,ui-monospace,monospace);font-size:11.5px}
.bkv-sheet td+td{color:var(--fg2)}.bkv-sheet tr.fx td+td{color:var(--fg3);font-style:italic}
.st{display:inline-block;padding:1px 8px;border-radius:999px;background:#E7F5EC;color:#15803D;font-size:11px;font-weight:500}.st-f{background:#FDECEC;color:#B91C1C}
.bkv-arw{width:16px;height:28px;color:var(--accent)}
.bkv-out{width:100%;display:grid;justify-items:center;gap:12px}
.bkv-grid{width:100%;list-style:none!important;margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.bkv-grid li{margin:0!important;display:grid;justify-items:center;gap:6px;padding:10px 4px 8px;border:1px solid var(--line);border-radius:12px;background:var(--bg);font-size:11px;color:var(--fg2);min-width:0}
.bkv-grid img{width:100%;max-width:56px;height:auto;display:block}
.bkv-dl{width:16px;height:16px;flex:none}.bkv-zip{margin:0!important;display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:var(--fg);color:var(--bg);font-size:13px;font-weight:500;white-space:nowrap}
@media (max-width:640px){.bkv-board{padding:14px 10px}.bkv-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bkv-sheet th,.bkv-sheet td{padding:6px 10px!important}}
/* Step 1 type picker */
.tp{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}
.tp-g{margin:0 0 10px!important;font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--fg3)}.tp-l+.tp-g{margin-top:22px!important}
.tp-l{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tp-b{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 12px 6px 6px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--fg);font:inherit;font-size:14.5px;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.tp-b:hover{border-color:var(--fg3)}.tp-b[aria-pressed=true]{border-color:var(--fg);box-shadow:0 0 0 1px var(--fg)}
.tp-b .it{width:34px;height:34px;flex:none;margin:0}
.tp-card{position:sticky;top:96px;border:1px solid var(--line);border-radius:18px;background:var(--bg);overflow:hidden}
.tp-h{display:flex;align-items:center;gap:8px;padding:14px 18px;border-bottom:1px solid var(--line)}.tp-h b{font-size:14px;font-weight:500}.tp-h span:last-child{margin-left:auto;font-size:12.5px;color:var(--fg3)}
.tp-csv{padding:2px 6px;border-radius:6px;background:#E7F5EC;color:#15803D;font-size:10.5px;font-weight:700;letter-spacing:.04em}
.tp-tw{overflow-x:auto}
.tp-card table{width:100%;border-collapse:collapse;margin:0!important}
.tp-card th,.tp-card td{padding:10px 18px!important;border:0!important;border-top:1px solid var(--line)!important;background:none!important;text-align:left;font-size:13px;white-space:nowrap}
.tp-card thead th{border-top:0!important;font-family:var(--font-mono,ui-monospace,monospace);font-weight:500;color:var(--fg2);background:var(--panel)!important}
.tp-card td{color:var(--fg2)}
.tp-n{margin:0!important;padding:14px 18px;border-top:1px solid var(--line);font-size:13.5px;color:var(--fg3)}
.tp-x{margin-top:18px;font-size:14.5px;color:var(--fg2)}
@media (max-width:900px){.tp{grid-template-columns:minmax(0,1fr)}.tp-card{position:static}}
@media (max-width:420px){.tp-l{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.tp-b{font-size:13.5px;gap:8px}}
/* Steps 2 and 3 */
.lim2{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 32px}.lim2>li{display:grid;grid-template-columns:38px minmax(0,1fr);gap:2px 14px;align-content:start;margin:0;padding:20px 0;border-top:1px solid var(--line)}.lim2 .it{grid-row:span 2}.lim2 b{font-size:16px;font-weight:500;padding-top:1px}.lim2>li>span:not(.it){font-size:14.5px;line-height:1.5;color:var(--fg2)}
@media (max-width:1000px){.lim2{grid-template-columns:minmax(0,1fr)}}
.up2{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:40px;align-items:center}
.up2 .shot{margin:0}.up2-l{grid-template-columns:minmax(0,1fr)!important;margin:0!important}
.up2-h{margin:48px 0 18px!important;font-size:22px;font-weight:500;letter-spacing:-0.01em}
.out{display:grid;gap:12px}.out-c{display:grid;grid-template-columns:38px minmax(0,1fr);gap:14px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}
.out-c b{font-size:16px;font-weight:500}.out-c p{margin:6px 0 0!important;font-size:14.5px;line-height:1.5;color:var(--fg2)}
@media (max-width:900px){.up2{grid-template-columns:minmax(0,1fr);gap:24px}}
@media (max-width:640px){.up2-r .shot{display:none}.up2 .shot,.s .shot{padding:8px!important}}
.bkh code,.uses code{font-size:.9em;white-space:nowrap}
@media (max-width:640px){.cmpw{overflow:visible;border:0!important;background:none!important}
.cmp,.cmp tbody,.cmp tr,.cmp th,.cmp td{display:block;width:auto}.cmp thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.cmp tr{margin:0 0 12px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}
.cmp th[scope=row]{padding:0 0 10px!important;border:0!important;background:none!important;font-size:16px;font-weight:500}
.cmp td{padding:10px 0 0!important;border:0!important;border-top:1px solid var(--line)!important;background:none!important;display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;font-size:14.5px;line-height:1.45}
.cmp td::before{content:attr(data-k);color:var(--fg3);font-size:13px}.cmp td>span{min-width:0;overflow-wrap:anywhere}
.cmp td+td{margin-top:10px;color:var(--fg)}.cmp td+td::before{color:var(--accent);font-weight:500}}
/*tw-y*/.tw:not(.cmpw),.tp-tw{overflow-y:hidden}@media (min-width:641px){.cmpw{overflow-y:hidden}}