/* A customer's quote. Every color and font comes from the business (set on :root by q.js). */
:root{
  --accent:#A3263B; --on-accent:#fff; --bg:#F4ECE4; --card:#fffdfa; --ink:#2b2420; --soft:#6b5f57;
  --line:rgba(43,36,32,.14); --tint:color-mix(in srgb,var(--accent) 10%,#fff); --tint-2:color-mix(in srgb,var(--accent) 6%,var(--card));
  --hfont:Georgia,serif; --bfont:system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:light;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:16px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--bfont);font-size:16px;line-height:1.55}
button{font:inherit;color:inherit}
a{color:var(--accent-text,var(--accent))}
.wrap{max-width:1140px;margin:0 auto;padding:32px max(16px,env(safe-area-inset-right)) 56px max(16px,env(safe-area-inset-left))}
h1,h2,h3{font-family:var(--hfont);line-height:1.15;text-wrap:balance}

/* the top */
header{display:grid;justify-items:center;text-align:center;gap:10px;margin-bottom:24px}
.mark img{display:block;max-height:72px;max-width:min(260px,70vw);object-fit:contain}
.mark .name{font-family:var(--hfont);font-size:clamp(20px,4.2vw,26px);line-height:1.25;color:var(--accent-text,var(--accent));font-weight:700}
h1{font-size:clamp(30px,5.4vw,44px);line-height:1.2;margin:8px 0 0}
.meta{display:grid;justify-items:center;gap:4px;color:var(--soft);font-size:15px}.meta .for{color:var(--ink);font-weight:600;font-size:16px}.meta .dates{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 16px}
.intro{max-width:60ch;margin:22px auto 0;font-size:15.5px;line-height:1.65;text-wrap:pretty;border:1.33px solid var(--line);border-radius:12px;background:rgba(255,255,255,.8);padding:16px 18px}
.banner{background:var(--ink);color:var(--card);border-radius:999px;padding:8px 18px;font-size:14px;margin:6px 0 0}
.loading{text-align:center;color:var(--soft);padding:60px 0}

/* choose > sign > pay */
.track{display:flex;justify-content:center;align-items:center;margin:4px auto 28px;padding:0;list-style:none;max-width:520px}
.track li{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px;color:var(--soft);white-space:nowrap}
.track li+li::before{content:"";width:clamp(18px,7vw,56px);height:1.5px;background:var(--ink);opacity:.25;margin:0 10px}
.track b{width:28px;height:28px;border-radius:50%;border:1.5px solid var(--ink);display:grid;place-content:center;font-size:14px;background:var(--card)}
.track .now{color:var(--ink)}.track .now b{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.track .done b{background:var(--ink);border-color:var(--ink);color:var(--card)}

/* the options */
.opts{display:grid;gap:20px;align-items:stretch;grid-template-columns:repeat(var(--n,2),minmax(0,1fr));margin:0 auto}
.opts[data-n="1"]{--n:1;max-width:560px}.opts[data-n="2"]{--n:2;max-width:940px}.opts[data-n="3"]{--n:3}
.opt{background:var(--card);border:1px solid var(--line);border-radius:22px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.opt .top{padding:26px 24px 20px;text-align:center}
.opt h2{margin:0;font-size:26px;color:var(--accent-text,var(--accent))}
.opt .pitch{margin:8px 0 0;color:var(--soft);font-size:15.5px;text-wrap:pretty}
.opt.pick{border:2px solid var(--accent)}
.opt.pick .top{background:var(--accent);color:var(--on-accent)}
.opt.pick .top h2,.opt.pick .top .pitch{color:var(--on-accent)}
.opt .body{padding:6px 24px 24px;display:flex;flex-direction:column;flex:1}
.opt h3{font-size:19px;text-align:center;color:var(--accent-text,var(--accent));margin:18px 0 6px}
.facts{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:9px 0 2px}
.facts span{background:var(--tint);border-radius:999px;padding:6px 14px;font-size:14px;font-weight:600}
.lines{list-style:none;margin:0;padding:0}
.lines li{display:grid;grid-template-columns:1fr auto;gap:2px 14px;padding:12px 0;border-bottom:1px solid var(--line)}
.lines .t{font-weight:700}.lines .c{font-weight:700;text-align:right;white-space:nowrap}
.lines .w{grid-column:1/-1;color:var(--soft);font-size:14.5px}
.lines .q{grid-column:1/-1;color:var(--soft);font-size:14.5px;margin-top:-2px}
.lines .sum .t,.lines .sum .c{font-weight:500;color:var(--soft)}
.lines .tot{border-bottom:0;padding-top:14px}.lines .tot .t,.lines .tot .c{font-size:19px}
.split{text-align:center;color:var(--soft);font-size:14.5px;margin:6px 0 0}
.lines .due{border-bottom:0;padding:2px 0 0}.lines .due .t,.lines .due .c{font-size:16.5px;font-weight:600;color:var(--accent-text,var(--accent))}
.lines .due+li,.lines li.due~*{border:0}
.lines:has(.due)+.split{margin-top:10px}
.ticks{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.opt h3+.ticks{margin-top:8px}
.ticks li{display:grid;grid-template-columns:22px 1fr;gap:8px;font-size:15px}
.ticks li::before{content:"";width:18px;height:18px;margin-top:3px;border-radius:50%;background:var(--accent);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.3 14.2-4-4 1.4-1.4 2.6 2.6 5.2-5.2 1.4 1.4-6.6 6.6Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.3 14.2-4-4 1.4-1.4 2.6 2.6 5.2-5.2 1.4 1.4-6.6 6.6Z'/%3E%3C/svg%3E") center/contain no-repeat}
.go{margin-top:auto;padding-top:30px;text-align:center}
.go .btn{min-height:44px;padding:10px 24px;font-size:15.5px}
.opt.chosen{outline:3px solid var(--accent);outline-offset:3px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:13px 30px;border-radius:999px;border:1.5px solid var(--accent);background:var(--card);color:var(--accent-text,var(--accent));font-weight:700;font-size:16.5px;cursor:pointer;text-decoration:none;-webkit-tap-highlight-color:transparent;transition:transform .12s ease,box-shadow .12s ease}
.btn:hover{transform:translateY(-1px)}
.btn.main{background:var(--accent);color:var(--on-accent);box-shadow:0 2px 3px -1px rgba(0,0,0,.18)}
.btn.alt{border-color:var(--line);color:var(--ink)}
.btn[disabled]{opacity:.55;cursor:default;transform:none}
.btn:focus-visible,.linkish:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.linkish{background:none;border:0;padding:6px;color:var(--accent-text,var(--accent));font-weight:700;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.center{display:grid;justify-items:center;text-align:center}
.gap{gap:10px;margin-top:22px}
.row2{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}

/* sign and pay */
.panel{background:var(--card);border:1px solid var(--line);border-radius:24px;padding:clamp(22px,4vw,36px);max-width:780px;margin:0 auto;box-shadow:0 2px 5px rgba(0,0,0,.05)}
.panel h2{text-align:center;margin:0;font-size:clamp(26px,4.6vw,34px);color:var(--accent-text,var(--accent))}
.lead{text-align:center;max-width:52ch;margin:10px auto 0;color:var(--soft);text-wrap:pretty}
.choice{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 16px;margin:18px auto 0;background:var(--tint);border-radius:14px;padding:14px 18px;text-align:center}
.choice b{font-size:17px}
.choiceCard{margin:14px auto 0;max-width:560px}
.choiceCard .opt{box-shadow:none}
.doc{margin:18px 0 0;max-height:340px;overflow:auto;border:1px solid var(--line);border-radius:16px;padding:18px 20px;background:var(--tint-2);font-size:15px}
.doc h3{color:var(--accent-text,var(--accent));margin:16px 0 6px;font-size:18px}.doc h3:first-child{margin-top:0}
.doc .docName{font-size:22px;color:var(--ink);margin:22px 0 8px;padding-top:16px;border-top:1px solid var(--line);text-align:center}.doc .docName:first-child{margin-top:0;padding-top:0;border-top:0}
.doc p,.doc ul,.doc ol{margin:0 0 10px}
#saveCopy1{display:block;margin:8px auto 0}
form.sign{display:grid;gap:16px;margin-top:20px}
.sigs{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sig{border:1.5px solid color-mix(in srgb,var(--ink) 28%,transparent);border-radius:14px;padding:16px 14px 12px;min-height:118px;display:grid;align-content:end;background:var(--card)}
.sig .ink{font-family:var(--hfont);font-style:italic;font-weight:600;font-size:28px;line-height:1.2;overflow-wrap:anywhere}
.sig input.ink{display:block;width:100%;border:0;background:transparent;padding:0 12px;line-height:2.2;outline:none;color:var(--ink);font-family:var(--hfont);font-style:italic;font-weight:600;font-size:28px;-webkit-appearance:none;appearance:none}
.sig input.ink:focus{outline:3px solid var(--tint);outline-offset:0;border-radius:10px;box-shadow:0 0 0 2px var(--accent)}
.sig input.ink::placeholder{font-family:var(--bfont);font-style:normal;font-weight:500;font-size:17px;color:var(--soft)}
.sig.mine{border-color:var(--ink);cursor:text}
.sig .who{display:block;border-top:1px solid var(--line);margin-top:6px;padding-top:6px;font-size:13.5px;color:var(--soft)}
.field{display:grid;gap:6px;font-weight:700;font-size:15px}.field em{font-style:normal;font-weight:500;color:var(--soft)}
.field input{font:inherit;font-size:16px;font-weight:500;padding:13px 14px;border-radius:12px;border:1px solid var(--line);background:var(--card);color:var(--ink);min-height:50px}
.field input:focus{outline:3px solid var(--tint);border-color:var(--accent)}
.narrowField{max-width:320px}
.agree{display:grid;grid-template-columns:24px 1fr;gap:12px;align-items:start;font-size:15px;cursor:pointer;margin-top:10px}
.agree input{width:22px;height:22px;margin:1px 0 0;accent-color:var(--accent)}
.err{background:#fdecea;color:#8a1c1c;border-radius:12px;padding:10px 14px;text-align:center;margin:0}
.fine{text-align:center;color:var(--soft);font-size:13.5px;max-width:58ch;margin:18px auto 0}
.later p{margin:0;font-size:17px;max-width:32em}
#checkout{margin-top:18px}
.demoPay{margin:18px auto 0;max-width:420px;border:1px solid var(--line);border-radius:16px;padding:20px;text-align:center;display:grid;gap:12px;background:var(--tint-2)}
.demoPay .amt{font-size:30px;font-weight:800}
.record{margin:24px auto 0;max-width:620px;display:grid;grid-template-columns:1fr 1.4fr;gap:8px 16px;font-size:15px}
.record dt{color:var(--soft);text-align:right}.record dd{margin:0;font-weight:700}
.state{background:var(--card);border-radius:22px;padding:30px;text-align:center;max-width:560px;margin:0 auto}
footer{text-align:center;margin-top:36px;color:var(--soft);font-size:14px;display:grid;gap:6px;justify-items:center}
footer .pills{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
footer .pills{gap:6px 22px}footer .pills a{padding:6px 2px;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line);color:var(--ink);font-weight:600}
.made{font-size:14.5px;margin-top:6px}.made a,.madeSmall a{color:inherit}.made .madeBy{font-weight:700}.madeSmall{font-size:12.5px;opacity:.75}

@media (max-width:860px){
  .opts[data-n="3"],.opts[data-n="2"]{--n:1;max-width:560px}
  .opts .switch{display:flex}
  .opts .opt.away{display:none}
  .sigs{grid-template-columns:1fr}
  .sig input.ink{font-size:23px}
}
@media print{
  body{background:#fff}.track,.go,#saveCopy1,#saveCopy2,form.sign,#payPanel,footer .pills,.banner{display:none!important}
  .opt,.panel{box-shadow:none;break-inside:avoid}
  .switch{display:none!important}.opt.away{display:flex!important}
}
@media (max-width:480px){
  .track li{font-size:13.5px;gap:6px}
  .track li+li::before{width:12px;margin:0 6px}
  .track b{width:24px;height:24px;font-size:12.5px}
}

/* audit, Nov 24: long names wrap, and Save a copy has room under the paid record */
h1,.opt h2,.meta,.biz{overflow-wrap:anywhere}
#saveCopy2{margin-top:32px}

/* buttons are never stretched across a card (Kasey, Nov 24) */
.btn{justify-self:center;align-self:center;width:auto;max-width:100%}
.linkish{justify-self:center;align-self:center;width:auto}

/* the business's fonts are in before the page shows, so nothing swaps in front of the customer (at most a moment) */
body{transition:opacity .18s ease}
.fontwait body{opacity:0!important}
@media (prefers-reduced-motion:reduce){ body{transition:none} }

/* a logo the business set as a square or a circle */
img.shape-square,img.shape-circle{width:84px!important;height:84px!important;max-width:none!important;max-height:none!important;object-fit:cover;border-radius:14px}
img.shape-circle{border-radius:50%}

/* Zelle (Kasey, Nov 24) */
.zelleTo{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;font-size:18px;overflow-wrap:anywhere}

/* a dark page color: what sits right on it turns light (audit, Nov 25) */
.darkbg header,.darkbg .track,.darkbg footer{--ink:#fbf6f0;--soft:rgba(251,246,240,.78);--line:rgba(251,246,240,.3);color:var(--ink)}
.darkbg .mark .name{color:#fbf6f0}
.darkbg header .banner{background:#fbf6f0;color:#2b2420}
.darkbg footer a{color:#fbf6f0}
.darkbg .track b{border-color:rgba(251,246,240,.7);background:transparent;color:#fbf6f0}
.darkbg .track .now b{background:#fbf6f0;border-color:#fbf6f0;color:#2b2420}

/* phones: one option at a time, picked from a switch at the top (Nov 25) */
.switch{display:none;gap:0;padding:0;margin:0 0 2px;background:var(--card);border:1px solid var(--line);border-radius:20px;overflow:hidden}
.switch button{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:62px;padding:10px 8px;border:0;border-radius:0;background:none;color:var(--ink);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;text-align:center}
.switch button b{font-size:15px;line-height:1.25;overflow-wrap:anywhere}
.switch button span{font-size:13.5px;color:var(--soft)}
.switch button.on{background:var(--accent);color:var(--on-accent)}
.switch button+button{border-left:1px solid var(--line)}.switch button.on,.switch button.on+button{border-left-color:transparent}
.switch:has(button.on){border-color:var(--accent)}
.switch button.on span{color:var(--on-accent);opacity:.88}
.switch button:focus-visible{outline:3px solid var(--tint);outline-offset:1px}/* the money adds up under the included extras, with one soft line between them */
.ticks+.money{margin-top:18px;border-top:1px solid var(--line)}
/* side by side: the cards share rows, so the headers end at the same height and everything under them starts level */
@media (min-width:861px){
  .opts{grid-template-rows:auto 1fr}
  .opts .opt{display:grid;grid-row:span 2;grid-template-rows:subgrid}
  .opts .opt:not(.pick){border-width:2px}
  .opts .opt .top{display:flex;flex-direction:column;justify-content:flex-start}
}
/* the other options get a light wash of the business color in their header, so every card has a header block */
.opt:not(.pick) .top{background:color-mix(in srgb,var(--accent) 13%,var(--card))}
/* what's due to start sits in a soft box in the business color, with the rest as a small line inside it */
.dueBox{margin-top:16px;background:color-mix(in srgb,var(--accent) 13%,var(--card));border-radius:12px;padding:14px 16px}
.dueRow{display:flex;justify-content:space-between;align-items:baseline;gap:14px;font-size:16.5px;font-weight:600;color:var(--accent-text,var(--accent))}
.dueRow span:last-child{white-space:nowrap}
.dueBox p{margin:4px 0 0;font-size:14px;color:var(--soft);text-wrap:pretty}
/* the chosen option: name and price on one line, the two links side by side under it */
#choice{flex-direction:column;gap:10px}
#choice .cHead{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:4px 14px}
#choice .cActs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 28px}
html.framed{scrollbar-width:none}
html.framed::-webkit-scrollbar{display:none}
/* the agreement's scroll bar: thin, rounded, in the business color, no arrows (Kasey, Nov 26) */
@supports not selector(::-webkit-scrollbar){ .doc{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--accent) 45%,transparent) transparent} }
.doc::-webkit-scrollbar{width:8px}
.doc::-webkit-scrollbar-track{background:transparent;margin:10px 0}
.doc::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--accent) 40%,transparent);border-radius:8px;border:2px solid transparent;background-clip:padding-box}
.doc::-webkit-scrollbar-thumb:hover{background-color:color-mix(in srgb,var(--accent) 60%,transparent)}
.doc::-webkit-scrollbar-button{display:none;height:0}
/* what they chose, on the signing step: a small card like the option cards (Kasey, Nov 26, look C) */
#choice{display:block;padding:0;gap:0;background:var(--card);border:1.5px solid var(--accent);border-radius:14px;overflow:hidden;max-width:420px;margin:18px auto 0;text-align:center}
#choice .cTop{background:var(--accent);color:var(--on-accent);padding:11px 16px;font-weight:700;font-size:16px;line-height:1.35}
#choice .cBody{padding:12px 16px 14px;display:grid;gap:8px;justify-items:center}
#choice .cMoney{font-size:15.5px}
#choice .cActs{display:flex;gap:26px;justify-content:center}
#choice .linkish{font-size:15px;padding:4px 2px;color:var(--accent-text,var(--accent))}
/* signing, centered (Kasey, Nov 26): the two signatures and the agree line */
.sig{text-align:center}
.sig input.ink{text-align:center}
.sig .who{text-align:center}
.agree{grid-template-columns:1fr;justify-items:center;text-align:center;gap:10px;max-width:46ch;margin-left:auto;margin-right:auto;text-wrap:pretty}
.agree input{margin:0}
/* the pay step: the same small card as signing, with what's due now up front (Kasey, Nov 26) */
#signedLine{display:block;padding:0;gap:0;background:var(--card);border:1.5px solid var(--accent);border-radius:14px;overflow:hidden;max-width:420px;margin:18px auto 0;text-align:center}
#signedLine .cTop{background:var(--accent);color:var(--on-accent);padding:11px 16px;font-weight:700;font-size:16px;line-height:1.35}
#signedLine .cBody{padding:16px 16px 16px;display:grid;gap:2px;justify-items:center}
#signedLine .cAmt{font-family:var(--hfont);font-weight:700;font-size:34px;line-height:1.15;color:var(--accent-text,var(--accent))}
#signedLine .cDue{font-weight:600;font-size:15px}
#signedLine .cSigned{margin-top:10px;padding-top:10px;border-top:1px solid var(--line);font-size:14px;color:var(--soft);text-wrap:pretty;width:100%}
.payLinks{display:flex;gap:26px;justify-content:center;flex-wrap:wrap}
.payLinks .linkish{font-size:15px}
/* the sample card form: what paying looks like, with test details that can't be typed over (Kasey, Nov 26) */
.demoPay:has(.mockPay){background:none;border:0;padding:0;display:grid;gap:10px}
.mockPay{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 16px;display:grid;gap:12px;text-align:left;font-family:-apple-system,system-ui,"Segoe UI",sans-serif;color:#30313d;max-width:420px;margin:16px auto 0;width:100%}
.mpExpress{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mpWallet{background:#000;color:#fff;border-radius:8px;padding:11px 8px;text-align:center;font-weight:600;font-size:15px}
.mpOr{display:flex;align-items:center;gap:10px;color:#6d6e78;font-size:13.5px}
.mpOr::before,.mpOr::after{content:"";flex:1;height:1px;background:#e6e6e6}
.mpField{display:grid;gap:5px}
.mpLabel{font-size:13.5px;color:#5c5d69;font-weight:500}
.mpBox{border:1px solid #e0e0e6;border-radius:7px;padding:10px 12px;font-size:15.5px;background:#fff;color:#30313d;min-height:42px;box-shadow:0 1px 1px rgba(0,0,0,.03)}
.mpCard{display:grid;border:1px solid #e0e0e6;border-radius:7px;overflow:hidden}
.mpCard .mpBox{border:0;border-radius:0;box-shadow:none}
.mpCard .mpNum{border-bottom:1px solid #e0e0e6}
.mpRow{display:grid;grid-template-columns:1fr 1fr}
.mpRow .mpBox+.mpBox{border-left:1px solid #e0e0e6}
.mpRow2{display:grid;grid-template-columns:1.4fr 1fr;gap:10px}
.mockPay .payGo{justify-self:center;margin-top:6px}
.mpNote{margin:4px auto 0;text-align:center;font-size:13.5px;color:var(--soft);max-width:40ch;text-wrap:pretty}
/* the checkbox sits next to its sentence; the pair is centered as one block (Kasey, Nov 26) */
.agree{grid-template-columns:24px minmax(0,1fr);justify-items:start;justify-content:center;text-align:left;gap:12px;max-width:44ch}
.agree input{margin:2px 0 0}
/* the pay buttons share one width (the longest one's), and the two links sit closer (Kasey, Nov 26) */
.payBtns{display:inline-grid;gap:12px;justify-self:center;max-width:100%}
.payBtns .btn{width:100%}
.payLinks{gap:16px}
.payLinks{gap:10px}
/* after paying: the record reads left to right, labels on the left (Kasey, Nov 26) */
.record{grid-template-columns:minmax(96px,auto) 1fr;max-width:460px;text-align:left}
.record dt{text-align:left}
/* Save a copy is a small outlined button, not an underlined link */
.saveBtn{min-height:42px;padding:9px 22px;font-size:15px;margin-top:32px}
/* the agree sentence, centered on every screen, with its checkbox right at the start of the first line */
.agree{display:block;text-align:center;max-width:44ch;margin-left:auto;margin-right:auto}
.agree input{display:inline-block;vertical-align:-5px;margin:0 8px 0 0}
.agree span{display:inline}
/* a little more room above "Thank you, you’re all set" (Kasey, Nov 26) */
#donePanel{padding-top:calc(clamp(22px,4vw,36px) + 10px)}
/* a smaller checkbox, closer to the size of the words beside it (Kasey, Nov 26) */
.agree input{width:17px;height:17px;vertical-align:-3px}
/* checkmarks use the readable version of the color, so light colors like yellow still show on white */
.ticks li::before{background:var(--accent-text,var(--accent))}
/* inside our own pages, a color change blends in softly instead of snapping (Kasey, Nov 26) */
html.framed .opt,html.framed .opt .top,html.framed .switch,html.framed .switch button,html.framed .btn,html.framed .track b,html.framed .dueBox,html.framed h1,html.framed h2,html.framed h3,html.framed .mark .name,html.framed body{transition:background-color .3s ease,color .3s ease,border-color .3s ease}
/* hidden until the quote is drawn, then a soft fade in; on a slow connection the loading line shows after a moment */
html:not(.ready) body{opacity:0;animation:qreveal .25s ease 1.2s forwards}
html.ready body{opacity:1;transition:opacity .25s ease}
@keyframes qreveal{to{opacity:1}}
/* scrolling inside the phone never drags the page around it, and never bounces past the ends */
html,body{overscroll-behavior:none}

/* the email box on a texted quote: same look as the page's other boxes, 16px so phones don't zoom (Kasey, Nov 26) */
.mailAsk{display:grid;gap:7px;width:100%;max-width:420px;margin:14px auto 0;font-weight:700;font-size:15px;text-align:left;color:var(--ink)}
.mailAsk em{font-style:normal;font-weight:500;color:var(--soft)}
.mailAsk input{width:100%;font:500 16px var(--bfont, inherit);padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:#fff;color:#1f1a17;min-height:48px}
.mailAsk input:focus{outline:3px solid color-mix(in srgb, var(--accent) 30%, transparent);border-color:var(--accent)}

/* the steps are tappable (Kasey, Nov 26): they look the same, and the whole step is the button */
.stepBtn{display:flex;align-items:center;gap:inherit;background:none;border:0;padding:6px 2px;margin:-6px -2px;font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:10px}
.stepBtn:focus-visible{outline:3px solid var(--tint);outline-offset:2px}
.track li .stepBtn{gap:8px}
@media (max-width:560px){ .track li .stepBtn{gap:6px} }
.backWrap{width:100%;margin-top:22px}

/* the owner's preview bar: full width at the top, plain, two fitted buttons (Kasey, Nov 26) */
.pvBar{position:sticky;top:0;z-index:20;display:grid;justify-items:center;gap:10px;padding:12px 16px 14px;background:#2b2420;color:#fbf6f0;text-align:center}
.pvSay{margin:0;font-size:14.5px;line-height:1.45;max-width:46ch}
.pvActs{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.pvBar .btn{min-height:40px;padding:8px 18px;font-size:15px;width:auto}
.pvBar .pvBack{background:transparent;color:#fbf6f0;border-color:rgba(251,246,240,.6)}
.pvBar .pvSend{background:#fbf6f0;color:#2b2420;border-color:#fbf6f0}
.pvErr{margin:0;font-size:14px;color:#ffd9d2;max-width:46ch}

/* paying the rest, after the first payment (Kasey, Nov 26) */
.restCta{display:grid;justify-items:center;gap:10px;margin:22px 0 6px}
.restCta .btn{width:fit-content}
.restNote{margin:0;max-width:36ch;text-align:center;color:var(--muted, #6f645c);font-size:15px;line-height:1.5;text-wrap:pretty}

/* text fonts with small lowercase letters (Bentham) are scaled up to read like the others; headings keep their size */
html.smallx body{font-size-adjust:ex-height .53}
html.smallx h1,html.smallx h2,html.smallx h3,html.smallx .mark .name{font-size-adjust:none}

/* the timeline pill's words stay centered when they wrap; a quick double tap doesn't zoom (Kasey, Nov 29) */
.facts span{text-align:center;text-wrap:balance}
html{touch-action:manipulation}
/* a timeline pill on two lines hugs its words with softer corners (Kasey, Nov 29) */
.facts span{max-width:100%}
.facts span.twoLine{border-radius:16px}
/* a dark background: the note at the top stays easy to read (Kasey, Nov 29) */
.darkbg .intro{background:rgba(255,255,255,.07);border-color:rgba(251,246,240,.28);color:#fbf6f0}
/* a dark logo on a dark background sits on a small light plate (Kasey, Nov 30) */
.mark img.logoPlate{box-sizing:content-box;background:#fff;border-radius:14px;padding:10px 18px}

/* audit, Nov 30 */
/* a light logo on a light page sits on a dark plate, the same way */
.mark img.logoPlate.onDark{background:#2b2420}
/* a medium page color (sage, tan, gray): what sits right on it goes near-black, so it's easy to read */
.midbg header,.midbg .track,.midbg footer,.midbg .loading{--ink:#1c1613;--soft:#1c1613}
.midbg header{color:var(--ink)}
.midbg .madeSmall{opacity:1}
.mark .name{color:var(--name-on,var(--accent-text,var(--accent)))}
.darkbg .mark .name{color:#fbf6f0}
/* long emails and links in a line wrap instead of running past the card */
.lines li{grid-template-columns:minmax(0,1fr) auto}
.ticks li{grid-template-columns:22px minmax(0,1fr)}
.lines .t,.lines .w,.ticks li,.doc,.intro,.opt .pitch,.record dd{overflow-wrap:anywhere;min-width:0}
/* small links are easier to tap; they look the same */
#choice .linkish{padding:11px 6px;margin:-6px -4px}
.payLinks .linkish,#saveCopy3,#sentAgain,#venmoBack,#zelleBack,#zelleCopy{min-height:44px}
.madeSmall a{display:inline-block;padding:12px 14px;margin:-6px 0}
/* one person signs, with their full name: said right above where they type it */
.signSay{margin:0;text-align:center;font-size:15px;color:var(--soft);text-wrap:pretty}
/* Save a copy while paying, and Pay another way after saying it's sent */
.copyRow{margin-top:14px}
.sentAgain{display:grid;justify-items:center;gap:2px;margin-top:22px;text-align:center}
.sentAgain p{margin:0;font-size:15px;color:var(--soft);max-width:36ch;text-wrap:pretty}
.tryAgain{display:grid;justify-items:center;gap:18px}

