/* /vendors on the Receipt system (design pass, Nov 26 2026). Loads after the page's own style block,
   receipt-tokens.css and receipt-system.css. The page's style block is unchanged; this sheet restates only what moves.
   Order on a phone: pitch, the pilot with its price and form, the dental offer, the sandbox, then the reference
   behind folds. On desktop the pilot slip takes the hero's right column and the sandbox gets the full width. */

.ag-receipt body{font:var(--ag-text)}
.ag-receipt body::before{content:none}
.ag-receipt .ag-head{padding-inline:max(var(--ag-gutter),calc(50vw - 568px))}
.ag-receipt .wrap{padding:0 var(--ag-gutter)}
.ag-receipt .wrap a{text-decoration:underline;text-decoration-color:rgba(27,25,21,.4);text-underline-offset:3px}
.ag-receipt .wrap a:hover{text-decoration-color:var(--ag-ink)}
.ag-receipt .wrap a.btn,.ag-receipt .wrap .ag-toc a,.ag-receipt .wrap .toc a,.ag-receipt .wrap .ag-foot .fl a{text-decoration:none}

/* type: the display face for headings, Plex Mono for every label, amount and identifier */
.ag-receipt .crumb{margin:4px 0 6px;font:var(--ag-label);letter-spacing:.04em;color:var(--ag-ink-2)}
.ag-receipt .crumb a{display:inline-flex;align-items:center;min-height:44px;color:var(--ag-ink-2)}
.ag-receipt .pill{white-space:nowrap;gap:8px;margin-bottom:16px;padding:5px 10px;border:1px solid var(--ag-ink);background:none;color:var(--ag-ink);font:var(--ag-label);letter-spacing:.08em}
.ag-receipt .wrap h1{font:var(--ag-h1);letter-spacing:-.02em}
.ag-receipt .wrap h2{margin-bottom:12px;font:var(--ag-h2);letter-spacing:-.02em}
.ag-receipt .wrap h3{font:var(--ag-h3)}
.ag-receipt .kicker,.ag-receipt .card .k,.ag-receipt .sb-k,.ag-receipt .sb-label,.ag-receipt .field .applies,.ag-receipt .draft{font:var(--ag-label);letter-spacing:.08em;text-transform:uppercase;color:var(--ag-ink-2)}
.ag-receipt .sb-k span{font:var(--ag-label);letter-spacing:.02em;text-transform:none;color:var(--ag-ink)}
.ag-receipt .lede{margin-top:14px;font-size:16px;line-height:1.6;color:var(--ag-body)}
.ag-receipt .lede b{color:var(--ag-ink)}
.ag-receipt .wrap :where(section>p,.ag-fold-body>p,.steps p,.start-more p){max-width:var(--ag-measure);font-size:15.5px;line-height:1.65;color:var(--ag-body)}
.ag-receipt .ag-fold-body>p+p{margin-top:12px}
.ag-receipt .field dt code,.ag-receipt .fields.texts dd span,.ag-receipt .decision,.ag-receipt .step .n{font-family:var(--ag-mono)}
.ag-receipt .field dt code{max-width:100%;color:var(--ag-ink)}
@media (max-width:359.98px){.ag-receipt .field dt code{white-space:normal;overflow-wrap:anywhere}}
.ag-receipt .btn{min-height:46px;border-radius:0}
.ag-receipt .btn-primary{background:var(--ag-ink);border-color:var(--ag-ink);color:var(--ag-slip)}
.ag-receipt .btn-primary:hover{background:#000}
.ag-receipt .btn-ghost{border-color:var(--ag-ink)}

/* hero: the pitch alone, so the sandbox is the next thing on the page (Nov 28 2026). The pilot follows the sandbox. */
.ag-receipt .hero{display:block;margin-top:6px}
.ag-receipt .cta-row{gap:8px;margin-top:20px}
.ag-receipt .cta-row .btn{flex:1 1 auto;padding:0 12px}
.ag-receipt .terms-line{color:var(--ag-ink)}
.ag-receipt .aside{color:var(--ag-body)}
/* the pilot: its terms and price, the form on a slip, then what the pilot includes */
.ag-receipt .wrap .start{display:block;margin:var(--ag-sec) 0 0;padding:26px 0 0;border:0;border-top:1px solid var(--ag-ink);background:none;scroll-margin-top:68px}
.ag-receipt .start-terms h2{margin-top:8px}
.ag-receipt .start .terms-line{margin:0;font-size:16px;line-height:1.55}
.ag-receipt .start .start-price{margin:14px 0 0;padding:12px 0;border-top:1px dashed var(--ag-ink);border-bottom:1px dashed var(--ag-ink);font:400 16px/1.55 var(--ag-sans);color:var(--ag-ink)}
.ag-receipt .start-form{position:relative;margin-top:20px;padding:18px 16px 22px;border:1px solid var(--ag-rule);border-bottom:0;background:var(--ag-slip)}
.ag-receipt .start-form::after{content:"";position:absolute;left:0;right:0;bottom:-5px;height:5px;background:var(--ag-perf)}
.ag-receipt .start-more{margin-top:31px}
.ag-receipt .start-form h3{margin:0 0 6px;font:var(--ag-h3)}
.ag-receipt .start-form>p{color:var(--ag-body)}
.ag-receipt .pilot label{font-size:14px;color:var(--ag-body)}
.ag-receipt .pilot label .opt{color:var(--ag-ink-2)}
.ag-receipt .pilot input:not([type=checkbox]),.ag-receipt .pilot select{min-height:46px;border:1px solid var(--ag-ink);border-radius:0;background:var(--ag-paper);font-size:16px}
.ag-receipt .pilot input:focus,.ag-receipt .pilot select:focus{outline:2px solid var(--ag-ink);outline-offset:1px}
.ag-receipt .pilot .check{align-items:center;min-height:44px;font-size:14px;color:var(--ag-body)}
.ag-receipt .pilot .check input{width:20px;height:20px;margin:0;accent-color:var(--ag-ink)}
.ag-receipt .pilot .alt{color:var(--ag-ink-2)}
.ag-receipt .start-more ul{margin:14px 0 0;padding:0;list-style:none;display:grid;max-width:var(--ag-measure);border-top:1px dashed var(--ag-ink)}
.ag-receipt .start-more li{position:relative;padding:10px 0 10px 18px;border-bottom:1px dashed var(--ag-ink);font-size:15px;line-height:1.55;color:var(--ag-body)}
.ag-receipt .start-more li::before{content:"";position:absolute;left:0;top:1.15em;width:7px;height:7px;background:var(--ag-ink)}
.ag-receipt .start-links{gap:8px;margin-top:18px}
.ag-receipt .start-links .btn{flex:1 1 auto;min-height:46px}
@media (min-width:1000px){
  .ag-receipt .hero{margin-top:10px}
  .ag-receipt .hero-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,500px);gap:0 64px;align-items:start;padding-top:8px}
  .ag-receipt .hero-pitch .lede{margin-top:6px}
  .ag-receipt .wrap .start{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,500px);grid-template-areas:"terms form" "more form";grid-template-rows:auto 1fr;gap:0 64px}
  .ag-receipt .start-terms{grid-area:terms}
  .ag-receipt .start-form{grid-area:form;align-self:start;margin-top:0;padding:24px 26px 28px}
  .ag-receipt .start-more{grid-area:more;margin-top:22px}
  .ag-receipt .lede{font-size:17px}
  .ag-receipt .cta-row .btn,.ag-receipt .start-links .btn{flex:0 0 auto;padding:0 20px}
}

/* sections: an ink rule, a mono label, a heading */
.ag-receipt .ag-toc{margin-top:36px}
.ag-receipt .wrap>section{margin:var(--ag-sec) 0 0;padding-top:26px;border-top:1px solid var(--ag-ink)}
.ag-receipt .wrap>.ag-toc+section{margin-top:32px;border-top:0;padding-top:0}

/* the dental offer: what it is, the day-one policy printed as a slip, then the price */
.ag-receipt .dental{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.ag-receipt .dental-slip{position:relative;padding:16px 16px 18px;border:1px solid var(--ag-rule);border-bottom:0;background:var(--ag-slip)}
.ag-receipt .dental-slip::after{content:"";position:absolute;left:0;right:0;bottom:-5px;height:5px;background:var(--ag-perf)}
.ag-receipt .dental-lead{margin:0 0 10px;font:var(--ag-label);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--ag-ink-2)}
.ag-receipt .dental-rules{margin:0;padding:0;list-style:none;border-top:1px dashed var(--ag-ink)}
.ag-receipt .dental-rules li{position:relative;padding:12px 0 12px 20px;border-bottom:1px dashed var(--ag-ink);font:400 15.5px/1.5 var(--ag-sans);color:var(--ag-ink)}
.ag-receipt .dental-rules li::before{content:"";position:absolute;left:0;top:1.2em;width:8px;height:8px;background:var(--ag-ink)}
.ag-receipt .wrap .dental-takes{display:grid;gap:4px;margin:14px 0 0;max-width:none;font:400 12.5px/1.6 var(--ag-mono);color:var(--ag-ink)}
.ag-receipt .dental-takes span{position:relative;padding-left:20px}
.ag-receipt .dental-takes span::before{content:"";position:absolute;left:0;top:.42em;width:8px;height:8px;background:var(--ag-ink)}
.ag-receipt .dental-takes .no::before{background:var(--ag-stamp)}   /* the gate refuses these: stamp red marks the refusal only */
.ag-receipt .wrap .dental-price{margin:6px 0 0;padding:12px 0;border-top:1px dashed var(--ag-ink);border-bottom:1px dashed var(--ag-ink);font-size:16px;line-height:1.55;color:var(--ag-ink)}
.ag-receipt .dental-offer .cta-row{margin:16px 0 0}
.ag-receipt .dental-offer .cta-row .btn{min-height:46px}
@media (min-width:1000px){
  .ag-receipt .dental{grid-template-columns:minmax(0,1fr) minmax(0,500px);grid-template-areas:"copy slip" "price slip";grid-template-rows:auto 1fr;gap:20px 64px}
  .ag-receipt .dental-copy{grid-area:copy}
  .ag-receipt .dental-slip{grid-area:slip;align-self:start;padding:22px 26px 24px}
  .ag-receipt .dental-offer{grid-area:price;align-self:start}
  .ag-receipt .wrap .dental-price{margin:0}
}

/* the sandbox: one slip; the request beside its decision and receipt on desktop */
.ag-receipt .wrap>section.sandbox{margin-top:32px;padding:0;border:1px solid var(--ag-rule);background:var(--ag-slip);--ag-pre-bg:var(--ag-paper)}
.ag-receipt .sb-head h2{margin:0;font:700 22px/1.2 var(--ag-display)}
.ag-receipt .sb-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ag-receipt .sb-presets button{min-height:46px;padding:6px 10px;border:1px solid var(--ag-ink);border-radius:0;color:var(--ag-ink);font:500 13.5px/1.25 var(--ag-sans)}
.ag-receipt .sb-presets button:hover{background:var(--ag-tint)}
.ag-receipt .sb-presets button[aria-pressed="true"]{background:var(--ag-paper);color:var(--ag-ink);font-weight:600;border-bottom-width:3px}
.ag-receipt .sb-step,.ag-receipt .sb-foot{border-top:1px dashed var(--ag-ink)}
.ag-receipt .sb-summary{font-size:15px;line-height:1.55;color:var(--ag-body)}
.ag-receipt .wrap .sb-req{margin:0;border:0;padding:10px 12px;font:400 12px/1.5 var(--ag-mono)}
.ag-receipt .sb-decision{min-height:58px;align-content:start}
.ag-receipt .sb-verdict{display:inline-flex;align-items:center;gap:8px;color:var(--ag-ink)}
.ag-receipt .sb-verdict:not(:empty)::before{content:"";width:14px;height:14px;border:2px solid var(--ag-ink);background:var(--ag-ink)}
.ag-receipt .sb-verdict.sb-escalate{color:var(--ag-ink)}
.ag-receipt .sb-verdict.sb-escalate::before{background:linear-gradient(90deg,var(--ag-ink) 50%,transparent 0)}
.ag-receipt .sb-verdict.sb-block{color:var(--ag-stamp)}             /* a refusal: the one place the stamp red belongs */
.ag-receipt .sb-verdict.sb-block::before{background:var(--ag-stamp);border-color:var(--ag-stamp)}
.ag-receipt .sb-reason{background:none;padding:0;color:var(--ag-ink-2)}
.ag-receipt .sb-unavail{min-height:3em;font-size:13px;color:var(--ag-ink-2)}
.ag-receipt .sb-receipt{min-height:322px;align-content:start}      /* room for the receipt before it prints, so nothing below moves */
.ag-receipt .sb-kv{border-bottom:1px dashed var(--ag-rule)}
.ag-receipt .sb-kv dt{color:var(--ag-ink-2)}
.ag-receipt .sb-kv dd.sb-id{color:var(--ag-ink);font-weight:600}
.ag-receipt .sb-status{color:var(--ag-ink-2)}
.ag-receipt .sb-copy{min-height:44px;border:1px solid var(--ag-ink);border-radius:0;color:var(--ag-ink)}
.ag-receipt .sb-actions a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
@media (min-width:641px){.ag-receipt .sb-receipt{min-height:206px}.ag-receipt .sb-decision{min-height:34px}}
@media (min-width:1000px){
  .ag-receipt .wrap>section.sandbox{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto auto 1fr auto}
  .ag-receipt .sb-head,.ag-receipt .sb-presets{grid-column:1/-1}
  .ag-receipt .sb-presets{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ag-receipt .sb-presets+.sb-step{grid-column:1;grid-row:3/span 3}
  .ag-receipt .sb-presets+.sb-step~.sb-step,.ag-receipt .sb-foot{grid-column:2;border-left:1px dashed var(--ag-ink)}
  .ag-receipt .sb-foot{background:none}
}
/* motion: the decision is stamped and the receipt prints line by line when the gate answers (0.7s, once per answer).
   It explains the order of events: request, decision, signed receipt. Reduced motion: it all appears at once. */
@media (prefers-reduced-motion:no-preference){
  @keyframes v-seal{from{opacity:0;transform:scale(1.25)}to{opacity:1;transform:none}}
  .ag-receipt .sb-verdict:is(.sb-allow,.sb-escalate,.sb-block){animation:v-seal .18s ease-out both;transform-origin:left center}
  .ag-receipt .sb-kv{animation:ag-print .2s ease-out both;animation-delay:calc(.16s + var(--n,0) * .07s)}
  .ag-receipt .sb-kv:nth-child(2){--n:1}.ag-receipt .sb-kv:nth-child(3){--n:2}.ag-receipt .sb-kv:nth-child(4){--n:3}
  .ag-receipt .sb-kv:nth-child(5){--n:4}.ag-receipt .sb-kv:nth-child(6){--n:5}.ag-receipt .sb-kv:nth-child(7){--n:6}.ag-receipt .sb-kv:nth-child(8){--n:7}
}

/* what it sees, decides, writes: three slips */
.ag-receipt .wrap .lede-more{display:block;margin:0;max-width:72ch}
.ag-receipt .cards{gap:12px;margin-top:20px}
.ag-receipt .card{padding:18px 16px;border:1px solid var(--ag-rule);background:var(--ag-slip)}
.ag-receipt .card p{font-size:15px;color:var(--ag-body)}

/* four calls: a ruled list on a phone, four ruled columns on desktop */
.ag-receipt .steps{gap:0;margin-top:16px;border-bottom:1px dashed var(--ag-ink)}
.ag-receipt .step{padding:14px 0;border:0;border-top:1px dashed var(--ag-ink);background:none}
.ag-receipt .step .n{font-size:12px;color:var(--ag-ink-2)}
.ag-receipt .step b{font-size:16px}
.ag-receipt .step p{font-size:15px}
@media (min-width:1001px){
  .ag-receipt .steps{border-top:1px dashed var(--ag-ink)}
  .ag-receipt .step{padding:16px 20px;border-top:0;border-left:1px dashed var(--ag-ink)}
  .ag-receipt .step:first-child{padding-left:0;border-left:0}
}

/* the four counts: one slip, ruled cells, mono figures */
.ag-receipt .proofnums{gap:0;margin:18px 0 22px;border:1px solid var(--ag-rule);background:var(--ag-slip);grid-template-columns:repeat(2,minmax(0,1fr))}
.ag-receipt .proofnums div{padding:14px 14px 16px;border:0;border-bottom:1px dashed var(--ag-ink);background:none}
.ag-receipt .proofnums div:nth-child(odd){border-right:1px dashed var(--ag-ink)}
.ag-receipt .proofnums div:nth-last-child(-n+2){border-bottom:0}
.ag-receipt .proofnums b{font:600 28px/1 var(--ag-mono);letter-spacing:-.02em;color:var(--ag-ink)}
.ag-receipt .proofnums span{font-size:14px;color:var(--ag-ink-2)}
.ag-receipt ul.checked-list li{color:var(--ag-body)}
@media (min-width:1001px){
  .ag-receipt .proofnums{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ag-receipt .proofnums div{border-bottom:0;border-right:1px dashed var(--ag-ink)}
  .ag-receipt .proofnums div:last-child{border-right:0}
  .ag-receipt .proofnums b{font-size:36px}
}

/* connect, the contract and the terms: complete, behind folds on a phone, open on desktop */
.ag-receipt .ref{gap:8px}
.ag-receipt .toc a{color:var(--ag-ink-2)}
.ag-receipt .toc a:hover{color:var(--ag-ink);border-left-color:var(--ag-ink)}
.ag-receipt .folds{margin-top:18px}
.ag-receipt .note{max-width:var(--ag-measure);border-left:3px solid var(--ag-ink);background:var(--ag-slip);color:var(--ag-body)}
.ag-receipt .fields{border-top:1px solid var(--ag-ink)}
.ag-receipt .field{border-bottom:1px dashed var(--ag-empty)}
.ag-receipt .field dd{font-size:15px;color:var(--ag-body)}
.ag-receipt .fields.texts dd small{font-size:13.5px;color:var(--ag-ink-2)}
.ag-receipt ol.terms li{font-size:15px;color:var(--ag-body)}
.ag-receipt #terms .ag-fold>summary h2{margin:0}
@media (min-width:1000px){
  .ag-receipt .ref{gap:56px}
  .ag-receipt .ref .folds{margin-top:0}
  .ag-receipt.ag-js .ref .ag-fold:first-child>summary{margin-top:28px}
  .ag-receipt.ag-js #terms .ag-fold>summary{margin:0 0 14px}
}
.ag-receipt .wrap .ag-foot .tm-notice{font-size:13px}

/* Nov 26 2026: a jump to the form (the dental button, the header link) keeps "Request a pilot" and its line in view */
.ag-receipt #pilot{scroll-margin-top:calc(var(--ag-sticky-head,0px) + 170px)}
/* Nov 26 2026: two price lines in a row share one dashed rule */
.ag-receipt .start .start-price+.start-price{margin-top:0;border-top:0}

/* Nov 30 2026: the storage price bands as one small list under the price line (graduated, as Stripe bills them) */
.ag-receipt .start .gate-tiers{max-width:var(--ag-measure);margin:0;padding:0;list-style:none;font:400 15px/1.45 var(--ag-sans);color:var(--ag-ink)}
.ag-receipt .start .gate-tiers li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed var(--ag-rule)}
.ag-receipt .start .gate-tiers li span:last-child{text-align:right;font-variant-numeric:tabular-nums}
.ag-receipt .start .gate-tiers-note{margin:8px 0 14px;font-size:13.5px;line-height:1.5;color:var(--ag-body)}
