:root{--cream:#f5f3ed;--ink:#203d33;--sage:#dbe5d8;--line:#dedfd5;--muted:#748078;--accent:#e4ac74;--white:#fffef9}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:0.9375rem 'DM Sans',Arial,sans-serif}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bc8254;outline-offset:4px}.review{height:32px;background:var(--ink);color:#eef2e9;display:flex;justify-content:space-between;padding:0 max(5vw,20px);align-items:center;font-size:0.6875rem;letter-spacing:.03em}.review i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#b6cba6;margin-right:7px}header{max-width:1240px;margin:auto;min-height:110px;display:flex;align-items:center;gap:55px;padding:20px 40px}.logo{font:800 2.6875rem "DM Sans",system-ui,sans-serif;letter-spacing:-3px}.logo span{color:#c38d5f}nav{display:flex;gap:6px}nav a{padding:12px 21px;border-radius:24px;color:var(--muted);font-size:0.8125rem}nav a.active{background:var(--ink);color:white}.shop-label{margin-left:auto;font-size:0.625rem;letter-spacing:1.6px;color:var(--muted)}main{max-width:1160px;margin:20px auto 70px;padding:0 40px;min-height:540px}.eyebrow{font-size:0.625rem;letter-spacing:2px;font-weight:700;color:var(--muted);text-transform:uppercase}.page-head{margin:28px 0 35px;display:flex;justify-content:space-between;align-items:center;gap:16px}h1{font:500 clamp(1.875rem,4vw,3rem)/1.18 "DM Sans",system-ui,sans-serif;margin:12px 0;letter-spacing:-2px}h2{font:600 1.4375rem/1.3 "DM Sans",system-ui,sans-serif;letter-spacing:-.7px;margin:0 0 16px}h3{font:600 1.0625rem "DM Sans",system-ui,sans-serif;margin:0 0 15px}p{line-height:1.7}.muted,.tiny{color:var(--muted)}.tiny{font-size:0.6875rem;line-height:1.65}.sub{font-size:0.875rem;color:var(--muted);line-height:1.8}.pill{padding:9px 13px;border:1px solid var(--line);border-radius:20px;font-size:0.6875rem;white-space:nowrap}.grid{display:grid;grid-template-columns:1.15fr .85fr;gap:24px}.panel{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:30px}.dark{background:var(--ink);color:#f9fbef;border:0}.dark .eyebrow,.dark .tiny{color:#b8c7b7}.card{padding:32px 35px;min-height:410px;position:relative;overflow:hidden}.card:after{content:'';width:300px;height:300px;border:1px solid #ffffff0d;position:absolute;border-radius:50%;right:-160px;bottom:-130px;pointer-events:none}.balance{font:500 4.5rem/1 "DM Sans",system-ui,sans-serif;letter-spacing:-5px}.balance small{display:block;font:0.75rem 'DM Sans';letter-spacing:0;margin-top:10px;color:#c3d1bf}.qr{width:128px;height:128px;background:white;border-radius:12px;padding:9px;display:block;margin-bottom:9px}.code{font-size:0.6875rem;font-weight:600;letter-spacing:2px}.stamps{display:grid;grid-template-columns:repeat(10,1fr);gap:7px;margin:16px 0}.stamp{aspect-ratio:1;border:1px solid #749381;border-radius:50%;display:grid;place-items:center;color:#789482;font-size:0.6875rem}.stamp.filled{background:#dae7cd;color:var(--ink);border-color:#dae7cd;font-size:1rem}.row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid var(--line)}.dark .row{border-color:#58715d}.row:last-child{border-bottom:0}.row small{display:block;color:var(--muted);font-size:0.6875rem;margin-top:6px}.btn{border:0;background:var(--ink);color:white;padding:14px 20px;border-radius:10px;font-weight:600;font-size:0.8125rem;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px}.btn.light{background:var(--cream);color:var(--ink);border:1px solid var(--line)}.btn.warm{background:var(--accent);color:var(--ink)}.btn.full{width:100%;margin-top:20px}.actions{display:flex;flex-wrap:wrap;gap:10px}.wide{grid-column:1/-1}.step{display:flex;gap:14px;padding:17px 0}.step p{margin:3px 0;font-size:0.75rem;color:var(--muted)}.step strong{font-size:0.8125rem}.notice{background:#edf0e5;border-radius:11px;padding:14px 17px;font-size:0.75rem;line-height:1.7;margin:15px 0}.notice.warn{background:#fbebd9;color:#795732}.notice.error{background:#f9e2dc;color:#8e3e32}.activity{margin-top:28px}.activity .row{font-size:0.8125rem}.welcome{background:var(--sage);min-height:370px;position:relative;overflow:hidden}.cup{font-size:5.625rem;text-align:center;padding:24px 0 14px;filter:grayscale(1)}.welcome h2{font-size:1.875rem}.pack{background:var(--sage);position:relative;overflow:hidden}.price{font:600 2rem "DM Sans",system-ui,sans-serif;letter-spacing:-1px}label{font-size:0.75rem;display:block;margin:20px 0 8px;font-weight:600}input,select{width:100%;padding:13px 14px;border:1px solid var(--line);background:#fff;border-radius:9px;color:var(--ink);min-height:46px}input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--ink);flex-shrink:0}.check{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.65}.check input{margin:2px 0}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0}.hero-stat{background:var(--sage);border-radius:20px;padding:32px;display:flex;justify-content:space-between;align-items:center}.hero-stat strong{font:500 3.3125rem "DM Sans",system-ui,sans-serif;letter-spacing:-3px}.hero-stat p{font-size:0.75rem;margin:5px 0;color:var(--muted)}table{width:100%;border-collapse:collapse;font-size:0.75rem;text-align:left}th{font-size:0.625rem;color:var(--muted);font-weight:500;letter-spacing:.6px;padding:16px 12px;white-space:nowrap}td{padding:19px 12px;border-top:1px solid var(--line)}.avatar{width:32px;height:32px;border-radius:50%;background:var(--sage);display:inline-grid;place-items:center;margin-right:10px}.status{padding:6px 9px;background:#edf1e8;border-radius:12px;font-size:0.625rem}.counter{max-width:700px;margin:auto}.counter .panel{margin-bottom:18px}.lookup{display:flex;gap:10px}.lookup input{flex:1;min-width:0}.quantity{display:flex;align-items:center;gap:12px}.quantity button{background:var(--cream);border:1px solid var(--line);border-radius:8px;width:40px;height:40px}.quantity strong{min-width:25px;text-align:center}.loading{text-align:center;padding:130px 0;color:var(--muted)}footer{max-width:1160px;margin:0 auto;padding:27px 40px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px;color:var(--muted);font-size:0.625rem}.demo-switch{display:flex;align-items:center;gap:7px}.demo-switch button{border:0;background:transparent;color:var(--muted);font-size:0.625rem;padding:6px}.demo-switch button.active{background:#e1e7dc;border-radius:5px;color:var(--ink)}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:white;padding:15px 23px;border-radius:12px;opacity:0;pointer-events:none;transition:.2s;max-width:90%;font-size:0.8125rem;z-index:20}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:0;padding:28px;border-radius:20px;max-width:450px;width:90%;color:var(--ink);background:var(--white)}dialog::backdrop{background:#132b2399}video{width:100%;border-radius:12px;margin:15px 0}.print-kit{display:none}.split{display:flex;justify-content:space-between;align-items:center;gap:15px}.text-btn{border:0;background:none;text-decoration:underline;color:var(--muted);font-size:0.6875rem;padding:8px} @media(max-width:760px){header{padding:20px;min-height:95px;gap:20px;flex-wrap:wrap}.logo{font-size:2.25rem}.shop-label{display:none}nav{margin-left:auto}nav a{padding:10px 16px}main{padding:0 20px;margin-top:10px}.page-head{margin:20px 0 24px;align-items:flex-start}h1{font-size:2.0625rem;letter-spacing:-1.5px}.page-head>.pill{display:none}.grid{grid-template-columns:1fr;gap:18px}.panel{padding:24px;border-radius:18px}.card{padding:25px}.balance{font-size:4rem}.qr{width:116px;height:116px}.stamps{gap:6px}.stamp{font-size:0.5625rem}.metric-grid{grid-template-columns:repeat(2,1fr);gap:12px}.hero-stat{padding:25px}.hero-stat strong{font-size:2.625rem}.hero-stat .pill{display:none}footer{padding:25px 20px;flex-wrap:wrap;justify-content:center;text-align:center}.review{font-size:0.5625rem}.review span:last-child{font-size:0.5625rem}.lookup{flex-wrap:wrap}.lookup input{flex-basis:100%}.wide{grid-column:auto}}@media print{body>*{display:none!important}.print-kit{display:block!important;background:white;padding:30px;font-size:1.0625rem}.print-kit .qr{width:220px;height:220px}body.printing-sheet>:not(#print-sheet),body.printing-sheet::before,body.printing-sheet::after{display:none!important}body.printing-sheet{background:#fff!important}body.printing-sheet>#print-sheet{display:block!important;position:static!important;visibility:visible!important;color:#000;background:#fff}.print-sheet *{visibility:visible!important}.print-sheet .print-shop{font-size:1.875rem;font-weight:700;text-align:center;margin:0 0 8px}.print-sheet .print-qr{display:block;width:260px;height:260px;margin:0 auto}.print-sheet .print-cta{font-size:1.375rem;font-weight:600;text-align:center;margin:10px 0 4px}.print-sheet .print-url{text-align:center;font-size:0.875rem}.print-sheet .print-break{break-before:page;page-break-before:always}}
[hidden]{display:none!important}

/* Canvas encoders assign inline pixel widths. Layout sizes must win over
   those backing-resolution values, for BOTH personal and printable shop QR. */
.grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
.grid>*,.panel,.panel>*,form,.row>*{min-width:0}
input,select,textarea{max-width:100%;min-width:0}
.btn,.status,.notice,.tiny,.code{overflow-wrap:anywhere}
.btn{max-width:100%;white-space:normal;text-align:center}
.row{flex-wrap:wrap}.row>span:first-child{flex:1 1 120px}
.status{max-width:100%}.actions>*{min-width:0}
#shop-qr{display:block;width:min(100%,180px)!important;height:auto!important;max-width:100%;aspect-ratio:1;border-radius:0!important}
.qr{width:100%;height:auto;aspect-ratio:1;padding:0;border-radius:3px;overflow:hidden;background:#fff}
.qr canvas{display:block;width:100%!important;height:auto!important;max-width:100%;aspect-ratio:1}
.code{font:600 0.625rem/1.5 ui-monospace,monospace;letter-spacing:1px;word-break:break-all}
.balance{min-width:0}.balance small{line-height:1.5;max-width:160px}
.ink-mark{width:62%;aspect-ratio:1;display:block;mask-image:repeating-linear-gradient(17deg,#000 0 3px,#0009 3px 4px,#000 4px 7px)}
.ink-mark svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){.grid{grid-template-columns:minmax(0,1fr)}.panel{min-width:0}.page-head{flex-wrap:wrap}nav{max-width:100%;flex-wrap:wrap}nav a{padding:10px 13px}.row .status{flex-shrink:1}.hero-stat{flex-wrap:wrap;gap:12px}}
@media(max-width:380px){main{padding:0 14px}.panel{padding:20px}.review{height:auto;min-height:32px;gap:8px;padding:8px 14px}}

.footer-actions{display:flex;align-items:center;justify-content:flex-end;gap:20px;margin-left:auto}#footer-logout{min-height:44px;padding:10px 0}#footer-logout[hidden]{display:none}
/* Coffee Club designer reference, mobile-first visual system. */
:root{--cream:#fbf0d9;--ink:#44210f;--sage:#f2dfbd;--line:#d9c6a6;--muted:#786149;--accent:#f2d6aa;--white:#fff6e5;--hand:'Marker Felt','Chalkboard SE','Comic Sans MS',cursive}body{background:var(--cream);color:var(--ink);font-family:var(--hand);font-size:1.0625rem}h1,h2,h3,.balance,.price,.hero-stat strong{font-family:var(--hand);letter-spacing:0}h1{font-size:2.375rem;font-weight:500;line-height:1.17}h2{font-size:1.6875rem;font-weight:500}p{line-height:1.45}.eyebrow{font-family:Arial,sans-serif;font-size:0.625rem;color:var(--ink);letter-spacing:1.5px}.review{background:#eeddbf;color:var(--ink);font:0.625rem Arial,sans-serif;height:26px}.review i{background:#7d6339}.logo{font-family:var(--hand);font-size:1.8125rem;font-weight:1000;letter-spacing:-1.6px;line-height:.85;transform:rotate(-9deg);display:block}.logo span{color:inherit}header{min-height:119px}.btn{font-family:var(--hand);font-size:1.0625rem;font-weight:400;border-radius:50px;min-height:49px;background:#44210f;color:#fff1d6;padding:12px 24px}.btn.light{background:transparent;border-color:var(--line)}.btn.full{margin-top:15px}.panel{background:#fff5e1;border-color:var(--line);border-radius:18px}.notice,.notice.warn{background:#f0dfc0;color:#61432b}.text-btn{font-family:var(--hand);font-size:0.9375rem;color:var(--ink);text-decoration:underline;text-underline-offset:4px}.sub{font-size:1.125rem;color:var(--muted)}.tiny{font-size:0.8125rem;color:var(--muted)}input,select{background:transparent!important;border-color:var(--line)!important;border-radius:12px!important;color:var(--ink);min-height:46px}dialog{background:var(--cream);color:var(--ink);border:1px solid var(--line);border-radius:24px;max-width:440px;width:calc(100% - 32px);padding:28px}dialog::backdrop{background:#321a1099}dialog h2{font-size:2rem}dialog .actions{margin-top:24px}#toast{background:var(--ink);color:var(--cream)}.mascot{display:block;width:250px;height:auto;margin:15px auto;color:var(--ink)}.mascot.small{width:133px;margin:0;flex-shrink:0}.coffee-card{background:#f2dfbd;border-radius:25px;padding:25px 22px 18px}.stamps{grid-template-columns:repeat(5,1fr);gap:9px 15px;margin:16px 0}.stamp{border:0;border-radius:0;aspect-ratio:1.15;color:var(--ink)}.stamp svg{width:100%;height:100%;fill:transparent;stroke:currentColor;stroke-width:1.1;stroke-dasharray:2 2}.stamp.filled{background:transparent;color:var(--ink)}.stamp.filled svg{fill:currentColor;stroke-dasharray:none}.coffee-card .btn{justify-content:space-between;width:100%}.ritual{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid var(--ink);border-radius:17px;padding:7px 10px;margin:15px 0}.ritual h2{font-size:1.4375rem;line-height:1.35;margin:0}.rules{margin:2px 0 15px}.center-title{text-align:center}.center-title h1,h1.center-title{font-size:1.75rem}.back-link{font-size:0.9375rem}.qr-card{text-align:center;margin-top:20px}.qr-card .qr{width:230px;height:230px;margin:0 auto 12px;padding:10px;border-radius:0;background:#fff9eb;max-width:100%;aspect-ratio:1}.qr-card p{margin:8px 0}.qr-card .code{margin-bottom:18px}.plan-tile{display:flex;align-items:center;gap:13px;border-radius:20px;padding:20px 15px;background:#f4e4c8}.plan-tile h2{font-size:1.5625rem;font-weight:700;margin:0}.plan-tile p{font-size:1rem;margin:4px 0 9px}.plan-tile strong{font-size:1.3125rem}.welcome-screen{text-align:center}.welcome-screen h1{font-size:2.4375rem;transform:rotate(-4deg);margin:20px 0}.welcome-screen .mascot{width:255px;margin:0 auto}.welcome-screen #initial-auth .actions{display:grid;grid-template-columns:1fr;gap:12px}.checkout-art .mascot{margin:0 auto}.hero-stat{background:#f2dfbd;color:var(--ink)}.hero-stat p,.hero-stat .eyebrow{color:var(--muted)}footer{font-size:0.75rem;border-color:var(--line)}
body[data-role=customer] header,body[data-role=welcome] header{max-width:480px;padding:24px 28px;justify-content:space-between}body[data-role=customer] .shop-label,body[data-role=welcome] .shop-label{font-size:0.5625rem;max-width:115px;text-align:right;line-height:1.6}body[data-role=customer] main,body[data-role=welcome] main{max-width:430px;padding:0 22px;margin:8px auto 25px;min-height:460px}body[data-role=customer] #nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,480px);display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#fbf0d9f5;border:1px solid var(--line);border-radius:17px 17px 0 0;padding:5px 4px max(8px,env(safe-area-inset-bottom));z-index:10;backdrop-filter:blur(12px)}body[data-role=customer] #nav a{display:flex;flex-direction:column;align-items:center;gap:2px;padding:5px 0;min-height:48px;font-size:0.75rem;border-radius:12px;color:var(--muted)}body[data-role=customer] #nav a span{font-size:1.4375rem;line-height:25px}body[data-role=customer] #nav a.active{background:#ecd6b1;color:var(--ink)}body[data-role=customer] footer,body[data-role=welcome] footer{max-width:430px;flex-wrap:wrap;gap:15px;padding:20px 22px 100px;margin:auto}body[data-role=customer] footer .footer-actions a,body[data-role=welcome] footer .footer-actions a{display:none}
@media(min-width:700px){body[data-role=customer],body[data-role=welcome]{background-color:#f0e0c3}body[data-role=customer] main,body[data-role=welcome] main{background:var(--cream);border-radius:26px;padding:25px;box-shadow:0 12px 60px #694a1910}body[data-role=customer] header,body[data-role=welcome] header{padding-top:32px;padding-bottom:30px}}
@media(max-width:600px){header{padding:22px;gap:18px}header .logo{font-size:1.625rem}nav a{padding:10px;font-size:0.75rem}main{padding:0 20px}h1{font-size:2rem}.page-head{margin:20px 0}.review{padding:0 15px;font-size:0.5625rem}.coffee-card{padding:22px 18px 17px}.coffee-card .small{width:120px}.plan-tile h2{font-size:1.375rem}.plan-tile .tiny{font-size:0.6875rem}.plan-tile{gap:10px}.qr-card .qr{width:220px;height:220px}.demo-switch{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

:root{--hand:CoffeeHand,"Marker Felt",cursive}.logo{font-family:CoffeeHand,cursive;font-weight:1000;text-shadow:.5px 0 currentColor,-.5px 0 currentColor}
/* Patrick Hand by Patrick Wagesreiter, SIL OFL 1.1; full license: font-license.md. */
body[data-role=customer] #toast{bottom:85px}.shop-label{display:block}.qr-card .qr{padding:10px;background:#fff9eb}.btn:focus-visible{outline:3px solid #a9612f;outline-offset:4px}

.header-menu{display:none}body[data-role=customer] .header-menu{display:block;font:1.5rem Arial,sans-serif;margin-left:auto}body[data-role=customer] .shop-label,body[data-role=welcome] .shop-label{display:none}body[data-role=customer][data-route=card] header,body[data-role=customer][data-route=qr] header{display:none}body[data-role=customer][data-route=card] main,body[data-role=customer][data-route=qr] main{margin-top:18px}.logo{font-size:2rem;text-shadow:1px 0 currentColor,-1px 0 currentColor,0 .5px currentColor}

/* #556 owner Overview banner while the plan is overdue or the club is paused */
.owner-pause{display:grid;gap:.6rem;margin:0 0 1rem}.owner-pause p{margin:0}.owner-pause .btn{justify-self:start}

.counter-request-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.5rem;
  min-height: 1.5rem;
  margin-inline-start: .35rem;
  padding-inline: .3rem;
  border-radius: 999px;
  background: var(--ds-card);
  color: var(--ds-ink);
  font: 700 .75rem/1 var(--ds-body);
}
.counter-request-count[hidden], .counter-request-actions[hidden], [data-payment-list][hidden] { display: none; }
/* #715 counter design pass: a request reads in one glance (who, how much) and its two choices are large and apart. */
.counter-request-row { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; }
.counter-request-row + .counter-request-row { border-top: 1px solid var(--ds-line); }
.counter-request-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.counter-request-head strong { min-width: 0; font: 700 1.1875rem/1.2 var(--ds-body); color: var(--ds-ink); overflow-wrap: anywhere; }
.counter-request-amount { flex: none; font: 700 1.625rem/1 var(--ds-body); font-variant-numeric: tabular-nums; color: var(--ds-ink); }
body[data-role] .till .counter-request-row p { margin: 0; font: 500 0.875rem/1.35 var(--ds-body); color: var(--ds-muted); }
.counter-request-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
body[data-role] .till .counter-request-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; margin: 0 !important; padding: 0 14px; border-radius: 999px; font: 700 1.0625rem/1.1 var(--ds-body); }
.counter-request-actions .btn .ico { flex: none; width: 22px; height: 22px; stroke-width: 2.6; }
body[data-role] .till .counter-request-actions .is-accept { background: var(--ds-success); color: #fff; border: 2px solid var(--ds-ink); box-shadow: 0 3px 0 var(--ds-ink); }
body[data-role] .till .counter-request-actions .is-decline { background: var(--ds-surface); color: var(--ds-error); border: 2px solid var(--ds-error); box-shadow: none; }
body[data-role] .till .counter-request-actions .btn:disabled { opacity: .5; }
.counter-request-confirm { display: flex; flex-direction: column; gap: 10px; }
.counter-request-confirm .counter-request-actions { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
body[data-role] .till .counter-request-confirm .btn { padding: 0 10px; }
body[data-role] .till .counter-request-confirm > p { padding: 10px 12px; border-radius: var(--ds-r-md); background: var(--ds-sun-soft); font: 700 1.0625rem/1.3 var(--ds-body); color: var(--ds-ink); }
/* Loading, empty and error lines on the Counter: one shape, a mark, a title and a hint. */
.till-state { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px dashed var(--ds-line); border-radius: var(--ds-r-lg); color: var(--ds-ink); }
.till-state[hidden] { display: none; }
.till-state[data-tone=loading] { padding: 4px 0; border: 0; }
.till-state[data-tone=error] { border: 1.5px solid var(--ds-error); background: var(--ds-error-soft); color: var(--ds-error); }
.till-state-mark { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ds-card); color: var(--ds-ink); }
.till-state[data-tone=error] .till-state-mark { background: var(--ds-surface); color: var(--ds-error); }
.till-state-mark .ico { width: 22px; height: 22px; }
.till-state-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.till-state-text strong { font: 700 0.9375rem/1.3 var(--ds-body); }
.till-state-text small { font: 500 0.8125rem/1.35 var(--ds-body); color: var(--ds-muted); }
.till-state[data-tone=loading] .till-state-text strong { font-weight: 500; color: var(--ds-muted); }
.till-state[data-tone=error] .till-state-text small { color: var(--ds-error); }
.till-list:has(> .till-state:only-child) { border: 0; background: none; }
/* Scan result: the remaining balance reads as firmly as the headline. */
body[data-role] .till .till-result-detail { font: 700 1.0625rem/1.3 var(--ds-body); color: var(--ds-ink); }

.in-app-pay { display:grid; gap:12px; }
.in-app-pay h2,.in-app-pay p { margin:0; }
.in-app-pay .pay-total { font-size:1.75rem; font-weight:800; }
.in-app-pay [data-card-pay] { display:grid; gap:10px; }
.in-app-pay [hidden] { display:none; }

/* Native sheets share a lock derived from their open state, never a delayed close callback. */
html[data-sheet-locked],html[data-sheet-locked] body{overflow:hidden}

/* Keep the prepared Stripe iframe connected at its final phone width; never reparent it. */
dialog.pay-preparing:not([open]){display:block;position:fixed;left:-10000px;top:0;visibility:hidden;pointer-events:none}
.in-app-pay [data-card-toggle]{margin-top:0;text-align:left;justify-content:space-between}
.in-app-pay [data-card-toggle]::after{content:'+'}
.in-app-pay [data-card-toggle][aria-expanded=true]::after{content:'−'}
