.demo-intro{margin-bottom:24px}.demo-intro h1{font-size:clamp(30px,4vw,44px)}
.demo-safety{border:1px solid #b8d7c5;border-radius:10px;background:#eaf5ed;color:#215239;padding:13px 18px;margin-bottom:24px;font-size:14px;line-height:1.6}
.demo-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);gap:24px;align-items:start;max-width:1080px;margin:0 auto}
.demo-card{border:1px solid var(--line);background:white;border-radius:16px;padding:26px;min-width:0}.demo-card h2{font-size:23px;margin:0 0 22px}.demo-card h3{font-size:16px;letter-spacing:-.02em;margin-bottom:12px}
.demo-order{display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:22px}.demo-order>div{display:grid;gap:5px}.demo-order small{font-size:13px;color:var(--muted)}.demo-order strong{font-size:24px;font-variant-numeric:tabular-nums}.demo-order img{width:36px;height:36px}.demo-order-name{display:flex;align-items:center;gap:10px;font-weight:600}
.demo-picker{display:grid;grid-template-columns:1fr 1fr;gap:16px}.demo-picker>div{min-width:0}.demo-search{display:grid;gap:7px;font-size:13px;margin-bottom:18px}.demo-search input{width:100%;border:1px solid #bdcfc3;padding:10px 12px;border-radius:8px;min-height:44px;background:#fff;color:var(--ink)}
.demo-options{display:grid;gap:9px}.demo-option{display:flex;align-items:center;gap:10px;min-height:60px;width:100%;text-align:left;border:1px solid #d5e1d8;border-radius:9px;padding:11px;background:#fff;font-size:14px}.demo-option img{width:28px;height:28px;flex:none}.demo-option>span{flex:1;min-width:0}.demo-option strong{display:block;font-size:14px}.demo-option small{color:var(--muted);font-size:12px}.demo-option b{color:#1b714c;visibility:hidden}.demo-option[aria-pressed=true]{background:#edf7f0;border-color:#559777}.demo-option[aria-pressed=true] b{visibility:visible}.demo-option:disabled{cursor:default;opacity:.65}.demo-empty{font-size:14px;padding:10px 0}
.demo-receipt-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.demo-receipt-head h2{margin:0}.demo-state-badge{font-size:12px;border:1px solid #cddfd1;border-radius:30px;padding:5px 10px;background:#f1f7f2;color:#30563e}.demo-state-badge[data-state=partial],.demo-state-badge[data-state=expired]{background:#fff4df;color:#785109;border-color:#e7ca96}
.demo-selected{display:flex;align-items:center;gap:8px;font-size:14px;margin:18px 0}.demo-selected img{width:24px;height:24px}.demo-amount{font-size:28px;color:var(--ink);font-weight:650;letter-spacing:-.04em;overflow-wrap:anywhere;margin:5px 0}.demo-amount-label,.demo-time{font-size:13px;color:var(--muted)}.demo-time{display:flex;justify-content:space-between;margin-top:20px}.demo-time time{font-variant-numeric:tabular-nums;color:var(--ink)}
.demo-no-payment{display:grid;place-items:center;gap:9px;padding:22px 14px;margin:22px 0;border:1px dashed #bdcdc1;border-radius:10px;background:#f7faf7;text-align:center}.demo-no-payment svg{color:#476952}.demo-no-payment p{font-size:13px}.demo-message{padding:14px;background:#eef5f0;border-radius:9px;font-size:14px;line-height:1.6;color:#335841;min-height:72px}.demo-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.demo-actions button{flex:1;min-width:135px;min-height:44px;padding:10px;border:1px solid #b6cbbf;border-radius:8px;background:#fff;color:#2b553d;font-size:13px}.demo-actions button:first-child{background:#1d563b;color:#fff;border-color:#1d563b}.demo-actions button:disabled{opacity:.5;cursor:default}.demo-reset{margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px}.demo-reset button{padding:8px 0;border:0;background:none;color:#176b48;text-decoration:underline;text-underline-offset:3px}.demo-reset a{text-decoration:underline;text-underline-offset:3px;color:#176b48}.demo-help{max-width:1080px;margin:24px auto 0;font-size:14px;color:var(--muted)}
@media(max-width:850px){.demo-shell{grid-template-columns:1fr}.demo-card{padding:22px}.demo-intro{max-width:650px}}
@media(max-width:420px){.demo-card{padding:17px}.demo-picker{gap:10px}.demo-option{padding:9px 7px;gap:6px;font-size:13px}.demo-option img{width:23px;height:23px}.demo-option strong{font-size:13px}.demo-option small{font-size:11px}.demo-receipt-head{flex-wrap:wrap}.demo-actions{gap:8px}}
