:root{--paper:#FBFAF7;--ink:#14161A;--muted:#5B6157;--line:#E4E1D8;--accent:#2F6B4F;--accent-ink:#fff}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.6 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
code,.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;font-size:.9em}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px}
header.site{border-bottom:1px solid var(--line);background:rgba(251,250,247,.92);position:sticky;top:0;z-index:5}
.bar{display:flex;align-items:center;justify-content:space-between;min-height:56px;gap:16px}
.brand{display:flex;align-items:baseline;gap:10px;text-decoration:none;color:var(--ink)}
.brand b{font-size:20px;letter-spacing:-.01em}
.brand span{color:var(--muted);font-size:13px}
.head-chips{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
main{display:block}
.hero{padding:44px 0 28px}
h1{font-size:clamp(2rem,5vw,3.25rem);line-height:1.05;letter-spacing:-.02em;margin:0 0 14px;max-width:17ch}
.sub{color:var(--muted);max-width:62ch;margin:0 0 22px}
.drop{border:2px dashed rgba(20,22,26,.25);border-radius:10px;min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:24px;background:#fff;transition:border-color .15s,background .15s}
.drop.over{border-color:var(--accent);background:#F4F8F5}
.drop strong{font-size:19px}
.drop small{color:var(--muted);font-size:14px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--accent);color:var(--accent-ink);border:0;border-radius:9px;padding:13px 20px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;min-height:48px}
.btn.secondary{background:#fff;color:var(--ink);border:1px solid var(--line);font-weight:500}
.btn:disabled{opacity:.5;cursor:not-allowed}
.trust{margin:14px 0 0;font-size:14.5px;color:var(--muted)}
.trust b{color:var(--ink);font-weight:600}
/* The only price on the page gets its own scannable row (design D-7) instead of sitting mid-sentence. */
.price-row{margin:0 0 12px;font-size:16px;color:var(--ink);display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.price-row b{font-size:24px;letter-spacing:-.01em}
.price-row span{color:var(--muted);font-size:15px}
.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;margin:18px 0}
.panel h2{font-size:20px;margin:0 0 12px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
label.field{display:flex;flex-direction:column;gap:6px;font-size:13.5px;color:var(--muted)}
select,input[type=text]{font:inherit;font-size:15px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);min-height:44px}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{border-bottom:1px solid var(--line);padding:8px 6px;text-align:left;vertical-align:top}
th{font-weight:600;color:var(--muted);font-size:12.5px;text-transform:uppercase;letter-spacing:.04em}
.tag{display:inline-block;background:#EEF3EF;color:var(--accent);border-radius:999px;font-size:12px;font-weight:600;padding:3px 9px}
.note{font-size:14px;color:var(--muted)}
/* Paid block and legal pages keep the site's reading measure (design D-3, D-4). */
#service p,.panel.legal p,.panel.legal li{max-width:62ch}
#service .promise{margin:10px 0 0;font-size:15.5px;color:var(--ink)}
#service .svc-links{margin:12px 0 0}
@media(max-width:560px){#service .price-row span{flex-basis:100%}}
@media(max-width:400px){#service .btn{padding-left:14px;padding-right:14px}}
.err{color:#9B2C2C;font-size:14.5px;margin:10px 0 0}
ul.benefits{margin:0;padding-left:20px;color:var(--ink)}
ul.benefits li{margin:6px 0}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:8px}
.step b{display:block;font-size:17px;margin-bottom:4px}
.step p{margin:0;color:var(--muted);font-size:15px}
.flow{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;font-size:14.5px;color:var(--muted);margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.flow span.box{border:1px solid var(--line);border-radius:8px;padding:8px 11px;background:#fff;color:var(--ink)}
details{border-bottom:1px solid var(--line);padding:12px 0}
summary{cursor:pointer;font-weight:600}
details p{color:var(--muted);margin:10px 0 0}
footer{border-top:1px solid var(--line);margin-top:34px;padding:26px 0 40px;color:var(--muted);font-size:14px}
footer p{margin:0 0 6px;max-width:62ch}
footer a{color:var(--accent)}
.hidden{display:none !important}
/* MOM-365: screen-reader-only live regions. `display:none` would take them out of the accessibility
   tree and silence them, so they are clipped instead. */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
/* MOM-365: the honest next step when a WebView swallows the blob download. */
.fallback{margin:12px 0 0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#F6F7F3}
.fallback .note{margin:0}
.fallback-actions{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 0}
.fallback-actions .btn{min-height:44px}
.fallback textarea{display:block;width:100%;margin:10px 0 0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;font-size:12.5px;line-height:1.45;border:1px solid var(--line);border-radius:8px;padding:10px;background:#fff;color:var(--ink)}
@media(max-width:560px){.hero{padding:30px 0 22px}.drop{min-height:200px}.brand span{display:none}.head-chips .tag{font-size:11px;padding:3px 8px}}
figure.proof{margin:18px 0 0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
figure.proof img{display:block;width:100%;height:auto}
figure.proof figcaption{padding:10px 14px;border-top:1px solid var(--line)}
/* Mobile gets its own crop of the same screen (assets/mapping-mobile.png, captured at 390 CSS px
   and shown 1:1) instead of no product image at all. The batch figure stays desktop-only: it is a
   wide three-row list, and an 860 px crop squeezed into 350 px is the illegible case D-2 fixed. */
figure.proof-mobile{display:none}
@media(max-width:760px){
  figure.proof-desktop{display:none}
  figure.proof-mobile{display:block}
  figure.proof.proof-batch{display:none}
}

/* review fixes: 44px tap targets and legible legal measure */
#sample{font-size:15px;line-height:1.6;padding:13px 6px;display:inline-block;min-height:44px}
details summary{min-height:44px;display:flex;align-items:center}

/* Batch list */
.batch{margin:14px 0 0;display:flex;flex-direction:column;gap:8px}
.file-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;border:1px solid var(--line,#DED6C6);
 border-radius:12px;background:#fff;cursor:pointer}
.file-row.active{outline:2px solid var(--accent);outline-offset:2px}
.file-row.refused{border-color:#E4B9B9;background:#FDF7F7}
.file-row.refused .file-stats{color:#9B2C2C}
.file-row strong{font-size:15px}
.file-stats{display:block;font-size:13px;color:#5C6570;margin-top:2px}
.file-bal{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#5C6570;flex:1 1 180px;min-width:160px}
.file-bal input{min-height:40px;border:1px solid #DED6C6;border-radius:8px;padding:6px 10px;font:inherit}

/* review fixes 2026-12-01: small button, open/closed FAQ affordance, mobile table/flow */
.btn.small{min-height:36px;padding:8px 12px;background:#fff;color:var(--ink);border:1px solid var(--line);font-weight:500;font-size:14px}
details summary{justify-content:space-between;gap:12px}
details summary::after{content:"+";font-weight:400;color:var(--muted);font-size:20px;line-height:1}
details[open] summary::after{content:"\2212"}
td:first-child{white-space:nowrap}
.flow .arrow{color:var(--muted)}
@media(max-width:560px){
  .flow{flex-direction:column;align-items:stretch;gap:8px}
  .flow .arrow{transform:rotate(90deg);align-self:center;padding:0}
  .flow span.box{text-align:center}
  .file-row .btn.small{width:100%}
}

/* MOM-150: keep the post-payment panel clear of the sticky header when ?service=paid scrolls to it */
#paid-confirm{scroll-margin-top:80px}

/* MOM-238: seller attribution at the point of payment, a card-account hint on the mapping form,
   and the same sticky-header clearance for the #service anchor the success panel now links to. */
#service{scroll-margin-top:80px}
#service .seller{margin:0 0 12px;font-size:14px;color:var(--muted)}
#service .seller b{color:var(--ink);font-weight:600}
label.field small{font-size:12.5px;line-height:1.4}
/* MOM-233 put a quiet paid line under the drop zone so a buyer does not have to scroll for it;
   MOM-537 replaces that line with this one block — scope, one button, the email step, the refund
   line — so the hero carries a single paid message. Same tokens as .panel/.btn. */
.paid-cta{margin:18px 0 0;background:#fff;border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:12px;padding:16px 18px}
.paid-cta p{margin:0}
.paid-cta .lead{font-size:16px;margin:0 0 12px}
.paid-cta .action{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 10px}
.paid-cta .action small{color:var(--muted);font-size:14px}
.paid-cta .after{font-size:15px;margin:0 0 8px}
.paid-cta .refund{font-size:14px;color:var(--muted)}
@media(max-width:520px){.paid-cta{padding:14px}.paid-cta .action .btn{width:100%}}

/* stacked buttons under 520 px need vertical rhythm; keeps the desktop inline row untouched */
@media (max-width:520px){#generatePanel .btn + .btn{margin-top:10px}}
