:root{--brand:#20cfc9;--ink:#242b31;--muted:#839097;--canvas:#f0f3f4;--line:#edf0f1;--ease:cubic-bezier(.22,1,.36,1);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;min-width:320px}button{font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;border:0;color:inherit;transition:background .18s,opacity .18s}button:disabled{cursor:default}button:focus-visible{outline:3px solid #20cfc9;outline-offset:4px}svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button svg{width:22px;height:22px}button:active:not(:disabled){opacity:.7}[hidden]{display:none!important}
.workspace-top{height:75px;display:flex;align-items:center;justify-content:space-between;padding:0 46px;color:#859196;font-size:10px;letter-spacing:1.5px}.slash{margin:0 12px;color:#b6c0c3}.version{margin-left:12px;background:#e3e9eb;padding:5px 8px;border-radius:5px;letter-spacing:0;color:#657177}.workspace{display:flex;justify-content:center;align-items:center;gap:96px;padding:12px 25px 55px}.terminal{width:420px;min-height:806px;background:#fff;border:1px solid #e1e7e9;border-radius:30px;box-shadow:0 22px 65px #26343c09;display:flex;flex-direction:column;overflow:hidden}.app-header{height:81px;display:flex;align-items:center;justify-content:space-between;padding:0 29px;flex-shrink:0}.brand{display:flex;align-items:center;gap:9px;font-weight:750;font-size:23px;letter-spacing:-1px}.brand-icon{width:30px;height:30px;color:var(--brand);stroke:none}.amount-section{text-align:center;padding:31px 18px 20px}.amount-section h1{font-size:14px;font-weight:500;line-height:1.4;margin:0 0 12px;color:#7c8a91}.money-line{display:flex;justify-content:center;align-items:center;height:83px;gap:12px;white-space:nowrap}.money-digits{font-size:70px;letter-spacing:-3.8px;font-weight:500;line-height:1.1;display:flex;align-items:center;font-variant-numeric:tabular-nums;transition:color .25s}.money-digits.empty{color:#bac4c8}.money-digits.compact{font-size:54px}.money-digits.extra-compact{font-size:43px;letter-spacing:-2.6px}.money-digits .digit{display:inline-block;position:relative;min-width:.61em;height:1.16em;overflow:hidden}.digit .digit-face{position:absolute;inset:0;text-align:center}.digit.separator{min-width:.27em}.digit.space{min-width:.2em}.currency{font-size:34px;line-height:1;color:#8c989e;font-weight:400;transform:translateY(6px)}.money-caret{width:2px;height:53px;border-radius:2px;background:var(--brand);margin:0 -7px 0 -5px;animation:caret-blink 1.2s steps(1) infinite}.amount-caption{font-size:12px;color:#a0abb0;line-height:1.5;margin-top:7px;min-height:18px}.stage{position:relative;min-height:279px;flex:1;margin:0 23px}.stage-panel{position:absolute;inset:0;display:flex;align-items:center;flex-direction:column;opacity:0;visibility:hidden;transform:translateY(12px);pointer-events:none;transition:opacity .32s ease,transform .52s var(--ease),visibility 0s .52s}.stage-panel.active{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;transition:opacity .34s .09s ease,transform .55s .04s var(--ease),visibility 0s}.entry-panel{justify-content:center}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:3px 9px;width:100%;padding:0 5px}.key{background:transparent;border-radius:16px;height:62px;font-size:30px;font-weight:450;display:grid;place-items:center;line-height:1}.key:hover{background:#f4f7f7}.key:active{background:#e9f8f7;opacity:1}.key.decimal{font-size:32px}.key.delete{color:#5c6c74}.key svg{width:26px;height:26px;stroke-width:1.4}.action-area{padding:15px 29px 19px;min-height:106px;display:flex;flex-direction:column;justify-content:flex-end}.primary-button{display:flex;align-items:center;justify-content:space-between;width:100%;height:60px;padding:0 20px 0 23px;border-radius:17px;background:var(--brand);color:#163736;font-size:15px;font-weight:650;letter-spacing:-.2px}.primary-button:hover:not(:disabled){background:#25dbd4}.primary-button:disabled{background:#edf2f3;color:#aab5ba}.button-icon{width:28px;height:28px;display:grid;place-items:center}.primary-button.complete{background:var(--ink);color:#fff}.primary-button.complete .button-icon{color:var(--brand)}.primary-button.complete:hover{background:#364149}.primary-button.loading .button-icon{width:20px;height:20px;border:2px solid #a1d9d6;border-top-color:#26514d;border-radius:50%;animation:rotate 1s linear infinite}.primary-button.loading .button-icon svg{display:none}.secondary-button{background:transparent;min-height:39px;color:#7c8b92;font-size:12px;margin-top:6px}.secondary-button:hover{color:#242b31}.inline-message{font-size:12px;text-align:center;line-height:1.5;margin:0 0 10px;min-height:18px;color:#79898f}.inline-message:empty{display:none}.pulse-dot{display:inline-block;width:5px;height:5px;background:var(--brand);border-radius:50%;margin-right:7px;vertical-align:middle;animation:dot-pulse 1.8s ease infinite}.demo-toolbar{height:51px;display:flex;align-items:center;justify-content:space-between;margin:0 29px;border-top:1px solid var(--line);font-size:11px;flex-shrink:0}.demo-label{display:flex;align-items:center;gap:5px;color:#88959c}.demo-label>i{width:4px;height:4px;border-radius:50%;background:#a9b5ba;margin-right:2px}.demo-note{color:#a3aeb3}.demo-toolbar>button{display:flex;align-items:center;gap:4px;background:transparent;font-size:11px;color:#66777e;padding:10px 0 10px 12px}.demo-toolbar svg{width:14px;height:14px}
.qr-panel{justify-content:center;gap:23px;padding-top:1px}.qr-frame{width:222px;height:222px;position:relative;display:grid;place-items:center}.qr-frame img{width:206px;height:206px;transition:opacity .4s,filter .4s}.qr-frame>i{position:absolute;width:21px;height:21px;border-color:var(--brand);border-style:solid;border-width:0}.qr-frame>i:nth-of-type(1){top:0;left:0;border-top-width:2px;border-left-width:2px;border-radius:6px 0 0}.qr-frame>i:nth-of-type(2){top:0;right:0;border-top-width:2px;border-right-width:2px;border-radius:0 6px 0 0}.qr-frame>i:nth-of-type(3){bottom:0;left:0;border-bottom-width:2px;border-left-width:2px;border-radius:0 0 0 6px}.qr-frame>i:nth-of-type(4){bottom:0;right:0;border-bottom-width:2px;border-right-width:2px;border-radius:0 0 6px}.qr-loading{position:absolute;inset:0;display:grid;place-items:center;opacity:0;pointer-events:none;transition:opacity .2s}.qr-loading span{width:25px;height:25px;border:2px solid #cfedeb;border-top-color:#1caaa5;border-radius:50%;animation:rotate .9s linear infinite}.creating .qr-frame img{opacity:.05;filter:blur(2px)}.creating .qr-frame>i{opacity:.35}.creating .qr-loading{opacity:1}.qr-instruction{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.5;color:#55666f}.qr-instruction small{font-size:12px;color:#96a2a8}.sbp-symbol{width:18px;height:22px;position:relative}.sbp-symbol i{display:block;position:absolute;inset:0;clip-path:polygon(0 0,100% 50%,0 100%,0 75%,55% 50%,0 25%);background:#718a92}.sbp-symbol i:nth-child(2){clip-path:polygon(0 0,45% 23%,45% 77%,0 100%);background:#20cfc9}.sbp-symbol i:nth-child(3){clip-path:polygon(0 0,45% 23%,0 48%);background:#b1bcc1}.transaction-panel{justify-content:center;gap:5px}.transaction-orb{position:relative;width:190px;height:190px;display:grid;place-items:center;flex-shrink:0}.orb-wash{position:absolute;inset:28px;border-radius:50%;background:#eff7f7;transform:scale(.85);opacity:0;transition:opacity .6s,transform .85s var(--ease),background .6s}.orbit{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);overflow:visible}.orbit circle{fill:none;stroke-width:1.5}.orbit-track{stroke:#edf2f3}.orbit-progress{stroke:#20cfc9;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:484;stroke-dashoffset:366;transform-origin:100px 100px;transition:stroke-dashoffset .8s var(--ease),stroke .4s}.orb-glyph{width:61px;height:61px;z-index:1;stroke-width:2.3;overflow:visible}.orb-glyph>g,.orb-glyph>.glyph-check{opacity:0;transform-origin:center;transition:opacity .25s,transform .45s var(--ease)}.orb.processing .orbit-progress{animation:orbit-spin 1.6s linear infinite}.orb.processing .glyph-processing{opacity:1}.orb.processing .orb-wash{opacity:.55;transform:scale(1)}.orb.success .orbit-progress{stroke-dashoffset:0}.orb.success .glyph-check{opacity:1;stroke-dasharray:75;stroke-dashoffset:75;animation:check-draw .55s .22s var(--ease) forwards}.orb.success .orb-wash{opacity:1;transform:scale(1.14);background:#e7f9f7}.orb.success .orb-glyph{color:#177b77}.orb.decline .orbit-progress{stroke:#cf968b;stroke-dashoffset:0}.orb.decline .orb-wash{opacity:1;transform:scale(1);background:#fcf2ef}.orb.decline .glyph-fail{opacity:1;transform:scale(1);color:#b57668}.orb.connection .orbit-progress{stroke-dashoffset:400;animation:orbit-spin 5s linear infinite}.orb.connection .orb-wash,.orb.expired .orb-wash{opacity:1;transform:scale(1);background:#f3f6f7}.orb.connection .glyph-clock,.orb.expired .glyph-clock{opacity:1;color:#72858f}.orb.expired .orbit-progress{stroke-dashoffset:0;stroke:#d8e0e3}.transaction-copy{text-align:center;min-height:88px;transition:opacity .3s,transform .5s var(--ease)}.transaction-copy h2{font-size:25px;font-weight:600;letter-spacing:-.8px;line-height:1.25;margin:0 0 10px}.transaction-copy p{font-size:13px;color:#89979f;line-height:1.6;margin:0;max-width:300px}
.prototype-controls{width:275px;align-self:center}.control-kicker{font-size:10px;letter-spacing:1.5px;color:#83949b;display:flex;align-items:center;gap:7px}.control-kicker i{width:6px;height:6px;background:var(--brand);border-radius:50%}.prototype-controls h2{font-size:37px;font-weight:500;line-height:1.15;letter-spacing:-1.5px;margin:23px 0 19px}.control-intro{font-size:13px;color:#8b999f;line-height:1.8;margin:0}.control-divider{height:1px;background:#dfe6e8;margin:31px 0 25px}.prototype-controls h3{font-size:12px;line-height:1.6;font-weight:550;margin:0 0 13px}.scenario-list{display:grid;gap:8px}.scenario-choice{width:100%;min-height:57px;display:flex;align-items:center;gap:11px;text-align:left;border-radius:12px;background:transparent;border:1px solid transparent;padding:10px 12px;font-size:12px;color:#73838b}.scenario-choice:hover{background:#e6edee}.scenario-choice.selected{background:#fff;border-color:#e1e8e9;color:#303e46;box-shadow:0 3px 8px #26343c03}.choice-radio{width:15px;height:15px;border:1px solid #b8c5ca;border-radius:50%;position:relative;flex-shrink:0}.selected .choice-radio{border-color:#20bcb7}.selected .choice-radio:after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--brand)}.choice-copy strong{display:block;font-size:12px;font-weight:550}.choice-copy small{display:block;font-size:11px;color:#95a2a8;margin-top:4px}.run-scenario{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:16px;padding:12px 2px;font-size:12px;font-weight:550;background:transparent;color:#3e535c}.run-scenario svg{width:17px;height:17px}.control-note{font-size:11px;color:#a3afb4;line-height:1.7;margin:24px 0 0}
.modal-backdrop{position:fixed;inset:0;background:#17242b55;z-index:10;display:flex;align-items:flex-end;justify-content:center;animation:overlay-in .2s ease}.bottom-sheet{position:relative;background:#fff;width:100%;max-width:440px;padding:14px 25px calc(25px + env(safe-area-inset-bottom));border-radius:25px 25px 0 0;box-shadow:0 -15px 60px #17242b12;animation:sheet-in .45s var(--ease);max-height:90svh;overflow:auto}.sheet-grip{width:32px;height:4px;border-radius:4px;background:#e0e7e9;margin:0 auto 25px}.close-modal{position:absolute;top:29px;right:18px;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#f1f5f5;color:#798a92}.close-modal svg{width:17px;height:17px}.bottom-sheet .eyebrow{font-size:10px;letter-spacing:1.3px;color:#8d9ca3}.bottom-sheet h2{font-size:24px;letter-spacing:-.7px;font-weight:600;margin:11px 30px 12px 0}.bottom-sheet p{font-size:13px;line-height:1.7;color:#89989f;margin:0 20px 24px 0}.bottom-sheet .scenario-choice{background:#f6f8f9;border-color:#edf1f2;min-height:65px}.bottom-sheet .scenario-choice.selected{background:#effafa;border-color:#afe4e1;box-shadow:none}.bottom-sheet .primary-button{margin-top:24px}.bottom-sheet .secondary-button{width:100%}
@keyframes rotate{to{transform:rotate(360deg)}}@keyframes orbit-spin{to{transform:rotate(360deg)}}@keyframes check-draw{to{stroke-dashoffset:0}}@keyframes caret-blink{50%{opacity:0}}@keyframes dot-pulse{50%{opacity:.3}}@keyframes overlay-in{from{opacity:0}}@keyframes sheet-in{from{transform:translateY(100%)}}
@media(min-width:700px){.modal-backdrop{align-items:center}.bottom-sheet{border-radius:25px;padding:29px}.sheet-grip{display:none}.close-modal{top:25px}}
@media(max-width:850px){.workspace{gap:48px}.prototype-controls{width:240px}.prototype-controls h2{font-size:30px}.terminal{width:390px}.workspace-top{padding:0 25px}}
@media(max-width:700px){.prototype-controls,.workspace-top{display:none}.workspace{padding:0;display:block}.terminal{width:100%;min-height:100svh;border:0;border-radius:0;box-shadow:none;padding-top:env(safe-area-inset-top)}:root{background:#fff}.app-header{height:76px;padding:0 25px}.amount-section{padding-top:29px;padding-bottom:20px}.stage{min-height:281px;margin:0 19px}.key{height:64px}.action-area{padding:19px 25px 18px;min-height:106px}.demo-toolbar{margin:0 25px;height:calc(52px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.qr-panel{gap:22px}.qr-frame{width:230px;height:230px}.qr-frame img{width:214px;height:214px}.transaction-orb{width:204px;height:204px}.transaction-copy h2{font-size:27px}.transaction-panel{gap:8px}}
@media(max-width:700px) and (min-height:850px){.amount-section{padding-top:39px;padding-bottom:27px}.money-line{height:96px}.money-digits{font-size:76px}.key{height:70px}.stage{min-height:305px}.transaction-orb{width:225px;height:225px}.action-area{padding-bottom:23px}}
@media(max-width:700px) and (max-height:760px){.app-header{height:65px}.amount-section{padding:20px 16px 10px}.amount-section h1{margin-bottom:5px}.money-line{height:74px}.money-digits{font-size:61px}.money-caret{height:46px}.currency{font-size:29px}.amount-caption{margin-top:1px}.stage{min-height:246px}.key{height:55px}.action-area{padding-top:12px;padding-bottom:12px;min-height:86px}.primary-button{height:55px;border-radius:15px}.secondary-button{min-height:30px;margin-top:3px}.demo-toolbar{height:calc(43px + env(safe-area-inset-bottom))}.qr-panel{gap:12px}.qr-frame{width:195px;height:195px}.qr-frame img{width:183px;height:183px}.qr-instruction{font-size:12px}.qr-instruction small{font-size:11px}.transaction-orb{width:169px;height:169px}.transaction-copy h2{font-size:23px;margin-bottom:8px}.transaction-copy p{font-size:12px}.transaction-panel{gap:3px}.transaction-copy{min-height:68px}}
@media(max-width:360px){.demo-note{display:none}.money-digits{font-size:61px}.money-digits.compact{font-size:44px}.money-digits.extra-compact{font-size:37px}.app-header{padding-left:21px;padding-right:21px}.demo-toolbar{margin-left:21px;margin-right:21px}.action-area{padding-left:21px;padding-right:21px}}
.secondary-button.concealed{visibility:hidden;pointer-events:none}.transaction-copy p{white-space:pre-line;color:#657780}.primary-button.status-only{background:#f0f5f5;color:#647b83}.demo-toolbar,.demo-toolbar>button{font-size:12px}.choice-copy small{font-size:12px}.primary-button.status-only .button-icon{color:#87a09f}.amount-section h1,.amount-caption,.demo-label,.demo-note,.secondary-button,.inline-message,.qr-instruction small,.choice-copy small{color:#687b84}.primary-button{color:#203437}.orb.success .orb-glyph{color:#242b31}
@media(max-width:700px) and (max-height:700px){.app-header{height:56px}.amount-section{padding:14px 16px 6px}.money-line{height:65px}.money-digits{font-size:56px}.money-caret{height:40px}.amount-caption{font-size:11px}.stage{min-height:195px}.key{height:46px}.action-area{padding:7px 25px;min-height:92px}.primary-button{height:51px}.secondary-button{min-height:27px;margin-top:1px}.demo-toolbar{height:calc(39px + env(safe-area-inset-bottom))}.qr-frame{width:155px;height:155px}.qr-frame img{width:145px;height:145px}.qr-panel{gap:9px}.qr-instruction{font-size:11px;line-height:1.35}.qr-instruction small{font-size:10px}.transaction-orb{width:130px;height:130px}.transaction-copy h2{font-size:20px;margin-bottom:5px}.transaction-copy p{font-size:11px}.transaction-copy{min-height:61px}.orb-glyph{width:46px;height:46px}}
/* The QR takes precedence; phase changes preserve the same amount element. */
.terminal{--qr-edge:318px}.terminal:not([data-phase="amount"]) .amount-section{padding:12px 18px 9px}.terminal:not([data-phase="amount"]) .amount-section h1{margin-bottom:8px}.terminal:not([data-phase="amount"]) .money-line{height:70px}.terminal:not([data-phase="amount"]) .stage{min-height:calc(var(--qr-edge) + 64px)}
.qr-panel{gap:24px}.qr-frame{width:min(var(--qr-edge),calc(100% - 12px));height:auto;aspect-ratio:1;flex-shrink:0}.qr-frame img{width:calc(100% - 18px);height:auto;aspect-ratio:1;filter:none}.qr-frame>i{width:26px;height:26px;border-color:#20cfc9;transition:opacity .3s}.creating .qr-frame img{opacity:0;filter:none}.qr-panel:not(.creating).active .qr-frame img{animation:qr-reveal .65s var(--ease) both}.qr-panel:not(.active){transform:scale(.96);transition:opacity .24s ease,transform .42s var(--ease),visibility 0s .42s}.qr-instruction{line-height:1.6;font-size:14px}.qr-instruction small{font-size:12px}
.terminal[data-phase="creating"] .primary-button.status-only,.terminal[data-phase="waiting"] .primary-button.status-only,.terminal[data-phase="processing"] .primary-button.status-only{height:34px;background:transparent;justify-content:center;gap:10px;padding:0;color:#596f78;font-size:13px}.terminal[data-phase="waiting"] .button-icon{width:9px;height:9px;background:var(--brand);border-radius:50%;order:-1;animation:status-breathe 2s ease-in-out infinite}.terminal[data-phase="waiting"] .button-icon svg{display:none}.terminal[data-phase="creating"] .primary-button.loading .button-icon,.terminal[data-phase="processing"] .primary-button.loading .button-icon{width:16px;height:16px;order:-1}
.transaction-orb{width:226px;height:226px}.orb-wash{inset:27px;transition:opacity .55s,transform .8s var(--ease),background .6s}.orbit-track{stroke:#e8eff1}.orbit-progress{stroke-width:2.3;transition:stroke-dashoffset .75s var(--ease),stroke .4s}.orb.success .orb-wash{background:#eaf9f8;transform:scale(1.06)}.orb.success:after{content:"";position:absolute;inset:24px;border:1px solid var(--brand);border-radius:50%;pointer-events:none;animation:confirmation-wave 1s var(--ease) forwards}.orb.success .glyph-check{stroke-width:2.6;animation-duration:.6s;animation-delay:.18s}.transaction-copy h2{font-weight:600;letter-spacing:-.8px}.transaction-copy p{line-height:1.65}.primary-button{box-shadow:inset 0 1px 0 #ffffff30;transition:background .2s,opacity .15s,box-shadow .2s}.primary-button:active:not(:disabled){opacity:1;box-shadow:inset 0 0 0 60px #2034370a}
@keyframes qr-reveal{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@keyframes confirmation-wave{0%{opacity:0;transform:scale(.95)}20%{opacity:.4}100%{opacity:0;transform:scale(1.3)}}@keyframes status-breathe{50%{opacity:.45;box-shadow:0 0 0 4px #20cfc90d}}
@media(max-width:700px){.terminal{--qr-edge:clamp(238px,calc(100svh - 454px - env(safe-area-inset-top) - env(safe-area-inset-bottom)),310px)}.terminal:not([data-phase="amount"]) .stage{margin-left:19px;margin-right:19px}.transaction-orb{width:222px;height:222px}}
@media(max-width:700px) and (max-height:700px){.terminal:not([data-phase="amount"]) .amount-section{padding:8px 16px}.terminal:not([data-phase="amount"]) .money-line{height:58px}.terminal:not([data-phase="amount"]) .amount-section h1{margin-bottom:4px}.terminal:not([data-phase="amount"]) .amount-caption{margin-top:3px}.transaction-orb{width:185px;height:185px}.transaction-copy h2{font-size:23px}.transaction-copy p{font-size:12px}.qr-instruction{font-size:13px}.qr-instruction small{font-size:12px}.qr-panel{gap:17px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;transition-delay:0s!important}.orb.success .glyph-check{stroke-dashoffset:0}.money-caret{animation:none}.orb.success:after{display:none}}

/* Installed, production PassPay surface. */
.workspace{padding:30px 20px;min-height:100svh}.terminal{margin:auto}.action-area{padding-bottom:calc(23px + env(safe-area-inset-bottom))}#qr-code{width:calc(100% - 18px);aspect-ratio:1;transition:opacity .4s}#qr-code svg{width:100%;height:100%;display:block;stroke:none;shape-rendering:crispEdges}.creating #qr-code{opacity:0}.qr-panel:not(.creating).active #qr-code{animation:qr-reveal .65s var(--ease) both}.live-test-note{font-size:12px;color:#647b83;text-align:center;line-height:1.6;margin:0 22px 10px}.connection-note{padding:0 20px;text-align:center}.workspace-top,.prototype-controls{display:none}@media(max-width:700px){.workspace{padding:0}.terminal{--qr-edge:clamp(250px,calc(100svh - 410px - env(safe-area-inset-top) - env(safe-area-inset-bottom)),330px)}}
/* Merchant terminal, operation history and account navigation. */
:root{font-family:Manrope,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.terminal{height:max(806px,calc(100svh - 60px));max-height:940px}.header-context{font-size:11px;color:#73858d;font-weight:600;letter-spacing:0}.payment-view{display:flex;flex-direction:column;flex:1;min-height:0}.bottom-nav{display:grid;grid-template-columns:repeat(3,1fr);flex-shrink:0;min-height:75px;padding:7px 12px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #edf1f2;background:#fff}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px;border-radius:14px;background:transparent;color:#8c999f;font-size:10px;font-weight:650;position:relative}.bottom-nav svg{width:23px;height:23px;stroke-width:1.7}.bottom-nav [aria-current="page"]{color:#153f3e}.bottom-nav [aria-current="page"]:before{content:"";position:absolute;top:2px;width:43px;height:31px;border-radius:11px;background:#20cfc91a}.bottom-nav [aria-current="page"] svg{position:relative;color:#169f9a}.app-view{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px 26px 28px;scrollbar-width:thin;scrollbar-color:#d1dedf transparent}.view-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 22px}.view-heading h1{font-size:31px;line-height:1.3;letter-spacing:-1.2px;margin:0;font-weight:750}.icon-button{width:40px;height:40px;display:grid;place-items:center;border:1px solid #e9eeef;border-radius:13px;background:#fff;color:#647b83}.icon-button:hover{background:#f3f8f8}.operations-summary{display:flex;flex-direction:column;gap:5px;padding:21px 23px 19px;background:linear-gradient(115deg,#edfafa,#f3f8f8);border:1px solid #dff1ef;border-radius:21px;margin-bottom:22px}.operations-summary>span{font-size:12px;color:#567d7d}.operations-summary>strong{font-size:33px;font-weight:700;letter-spacing:-1.3px;color:#243f41;line-height:1.4;font-variant-numeric:tabular-nums}.operations-summary small{font-size:11px;color:#71888c}.operations-tools{display:flex;gap:8px}.operation-search{display:flex;align-items:center;gap:8px;flex:1;min-width:0;background:#f3f6f7;border:1px solid #edf1f2;border-radius:13px;padding:0 11px}.operation-search svg{width:18px;height:18px;color:#8c9ca3;flex-shrink:0}.operation-search input{width:100%;min-width:0;height:44px;border:0;outline:0;background:transparent;color:var(--ink);font:500 12px Manrope,system-ui}.operation-search:focus-within{border-color:#20cfc9;outline:2px solid #20cfc918}.operation-search input::placeholder{color:#8799a0}.operations-tools select{font:600 11px Manrope,system-ui;border:1px solid #e8eef0;background:white;border-radius:13px;color:#627780;padding:0 10px;max-width:110px}.status-filters{display:flex;gap:6px;overflow:auto;padding:15px 0 10px;scrollbar-width:none;white-space:nowrap}.status-filters button{border-radius:30px;background:#f4f7f8;color:#7b8b92;font-size:11px;font-weight:650;min-height:34px;padding:8px 13px;flex-shrink:0}.status-filters button[aria-pressed="true"]{background:#26373d;color:#fff}.history-message{font-size:11px;line-height:1.6;color:#71858e;margin:8px 0}.history-message:empty{display:none}.day-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 0 11px}.day-heading h2{font-size:14px;font-weight:750;margin:0;letter-spacing:-.3px}.day-heading>span{font-size:12px;color:#6a7c83;font-weight:600;font-variant-numeric:tabular-nums}.operation-row{display:flex;align-items:center;gap:11px;width:100%;background:transparent;text-align:left;padding:14px 0;border-bottom:1px solid #f0f3f4}.operation-row:hover{background:#f8fbfb}.operation-symbol{width:40px;height:40px;background:#f0f4f5;color:#7d919a;display:grid;place-items:center;border-radius:14px;flex-shrink:0}.operation-symbol svg{width:20px;height:20px;stroke-width:1.6}.operation-symbol.paid{background:#e8f9f7;color:#189a95}.operation-symbol.refunded{background:#f4f1ed;color:#9d8060}.operation-symbol.declined,.operation-symbol.error{background:#fcf2ef;color:#b57b6c}.operation-copy{min-width:0;flex:1}.operation-copy strong,.operation-value strong{font-size:12px;font-weight:750;line-height:1.5;display:block;letter-spacing:-.15px}.operation-copy small,.operation-value small{display:block;font-size:10px;color:#8a9ba3;margin-top:4px;line-height:1.5}.operation-copy .paid{color:#3e8984}.operation-value{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.operation-value strong{font-size:13px}.operation-value small{color:#7c9199}.history-empty{display:flex;align-items:center;flex-direction:column;text-align:center;padding:45px 12px 35px}.history-empty-icon{width:60px;height:60px;border-radius:21px;background:#f0f7f7;color:#8dabae;display:grid;place-items:center}.history-empty-icon svg{width:27px;height:27px}.history-empty h2{font-size:17px;letter-spacing:-.4px;margin:20px 0 9px}.history-empty p{font-size:12px;color:#81939b;line-height:1.8;max-width:255px;margin:0}.history-more{display:block;width:100%;border-radius:12px;background:#f0f7f7;min-height:44px;font-size:12px;font-weight:650;color:#456b6b;margin-top:20px}.device-card{display:flex;align-items:center;gap:13px;padding:20px;background:#f0f8f8;border:1px solid #e2efee;border-radius:20px;margin:0 0 24px}.device-mark{display:grid;place-items:center;width:44px;height:48px;border-radius:14px;background:#fff;color:#279f9b}.device-mark svg{width:24px;height:24px}.device-card>div{min-width:0;flex:1}.device-card strong{display:block;font-size:14px;overflow-wrap:anywhere}.device-card>div>span{display:block;font-size:11px;color:#7b9198;margin-top:5px;overflow-wrap:anywhere}.connection-dot{width:7px;height:7px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 4px #20cfc912}.more-group{margin-bottom:17px;border:1px solid #eaf0f1;border-radius:19px;overflow:hidden}.more-row{display:flex;align-items:center;gap:12px;padding:18px 15px;width:100%;text-align:left;text-decoration:none;color:inherit;background:white;border-bottom:1px solid #eef2f3;font:inherit}.more-row:last-child{border-bottom:0}.more-row:hover{background:#f9fbfb}.row-icon{width:31px;height:31px;display:grid;place-items:center;color:#789199;flex-shrink:0}.row-icon svg{width:23px;height:23px}.more-row>span:nth-child(2){flex:1;min-width:0}.more-row strong{font-size:12px;display:block;font-weight:700}.more-row small{font-size:10px;display:block;color:#80949c;margin-top:5px;line-height:1.6}.row-chevron{font-size:25px;color:#a6b6bb;font-weight:400}.more-footnote{font-size:11px;line-height:1.8;color:#8c9ba2;text-align:center;margin:22px 17px}.detail-method{display:block;text-align:center;font-size:12px;color:#719291;margin-top:15px}.bottom-sheet .detail-amount{font-size:35px;text-align:center;letter-spacing:-1px;margin:8px 0 12px}.bottom-sheet .detail-status{text-align:center;font-size:13px;margin:0 0 25px;color:#7b8d94}.bottom-sheet .detail-status.paid{color:#208b83}.operation-details{margin:0}.operation-details>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;border-top:1px solid #edf2f3;padding:13px 0;font-size:12px;line-height:1.7}.operation-details dt{color:#8799a1;flex-shrink:0}.operation-details dd{margin:0;text-align:right;overflow-wrap:anywhere;font-weight:600;max-width:62%}.bottom-sheet .operation-note{margin:13px 0 15px;font-size:11px;line-height:1.8}.help-steps{list-style:none;counter-reset:steps;margin:22px 0 0;padding:0}.help-steps li{counter-increment:steps;position:relative;padding:0 0 25px 40px}.help-steps li:before{content:counter(steps);position:absolute;left:0;top:0;border-radius:10px;background:#eaf8f6;color:#237d77;width:27px;height:27px;display:grid;place-items:center;font-size:12px;font-weight:700}.help-steps strong{display:block;font-size:14px;margin:0 0 7px}.help-steps span{font-size:12px;line-height:1.8;color:#7b8e96;display:block}.terminal[data-phase="amount"] .action-area{padding-bottom:8px}.operations-list[aria-busy="true"]{opacity:.55;pointer-events:none}.app-view{animation:view-appear .3s var(--ease)}@keyframes view-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:700px){.terminal{height:100svh;max-height:none;min-height:560px}.app-header{height:67px}.header-context{font-size:10px}.app-view{padding-left:23px;padding-right:23px}.bottom-nav{min-height:72px}.terminal[data-phase="amount"] .amount-section{padding-top:19px;padding-bottom:12px}.terminal[data-phase="amount"] .stage{min-height:240px}.terminal[data-phase="amount"] .key{height:60px}.terminal[data-phase="amount"] .action-area{min-height:86px}.terminal:not([data-phase="amount"]) .action-area{padding-bottom:calc(16px + env(safe-area-inset-bottom))}}
@media(max-width:700px) and (max-height:700px){.app-header{height:54px}.terminal[data-phase="amount"] .amount-section{padding:9px 16px 4px}.terminal[data-phase="amount"] .stage{min-height:192px}.terminal[data-phase="amount"] .key{height:46px}.terminal[data-phase="amount"] .action-area{min-height:72px}.bottom-nav{min-height:66px;padding-top:3px;padding-bottom:calc(3px + env(safe-area-inset-bottom))}.view-heading{margin-bottom:15px}.view-heading h1{font-size:28px}}
@media(max-width:360px){.app-view{padding-left:18px;padding-right:18px}.header-context{font-size:9px}.operations-tools select{max-width:96px}.operation-row{gap:8px}.operation-symbol{width:34px;height:36px;border-radius:12px}.operation-copy strong{font-size:11px}.operation-value strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.app-view{animation:none}}
/* PassPay identity, focused filters and merchant reports. */
.brand{gap:8px;font-size:23px;letter-spacing:-1.2px}.brand-icon{width:32px;height:34px;fill:var(--brand);stroke:none}.wordmark-pay{font-weight:500}.heading-actions{display:flex;gap:7px}.heading-actions .icon-button{width:36px;height:38px;border:0;background:transparent;position:relative}.heading-actions .icon-button svg{width:21px;height:21px}.heading-actions #operations-refresh{display:none}#filter-dot{position:absolute;top:5px;right:4px;width:5px;height:5px;border-radius:50%;background:var(--brand)}.active-filter-summary{display:flex;align-items:center;justify-content:space-between;gap:7px;background:transparent;width:100%;text-align:left;font-size:11px;line-height:1.6;color:#789097;padding:0 1px 8px}.active-filter-summary svg{width:17px;height:17px;flex-shrink:0}.theme-control{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px;padding:4px 0}.theme-control label{font-size:12px;font-weight:650}.theme-control select{border:1px solid #e1ebed;border-radius:12px;padding:10px 11px;background:#f6f9fa;font:600 11px Manrope,system-ui;color:#5b777d;max-width:53%}.filter-field{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:650;color:#798d96;margin-top:18px}.filter-field input,.filter-field select{width:100%;min-width:0;background:#f4f8f8;border:1px solid #e5edef;border-radius:13px;padding:13px;color:#324c55;font:500 13px Manrope,system-ui;min-height:47px}.filter-field input:focus-visible,.filter-field select:focus-visible{outline:2px solid #20cfc94d;outline-offset:1px;border-color:#20cfc9}.date-range{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.filter-error{font-size:12px;line-height:1.6;color:#b17e70}.filter-error:empty{display:none}.report-turnover{display:flex;flex-direction:column;gap:8px;margin:26px 0 20px;padding:22px;border-radius:20px;background:#edf9f8}.report-turnover>span{font-size:12px;color:#628783}.report-turnover strong{font-size:32px;letter-spacing:-1px;font-weight:700;color:#244441}.report-metrics{display:grid;grid-template-columns:1fr 1fr;gap:14px}.report-metrics>div{display:flex;flex-direction:column;gap:6px;padding:0 7px}.report-metrics strong{font-size:21px;letter-spacing:-.6px}.report-metrics span{font-size:10px;color:#84989f}.bottom-sheet .report-refunds{margin:20px 7px;font-size:11px}.report-downloads{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.report-downloads button{min-height:48px;border-radius:14px;background:#263c43;color:#fff;font-size:12px;font-weight:600}.report-downloads button:first-child{background:var(--brand);color:#163c39}.bottom-sheet .report-note{font-size:10px;line-height:1.8;margin:20px 7px 0}.orb.processing .orb-wash{background:radial-gradient(circle at 40% 30%,#e2fcf7,#e5f3f1);animation:orb-breathe 2.4s ease-in-out infinite}.orb.processing .glyph-processing{color:#189c92;animation:mark-breathe 2.4s ease-in-out infinite}.orb.success .orb-wash{background:radial-gradient(circle at 40% 30%,#defff5,#dff5f0);box-shadow:0 15px 45px #23b7a012}.orb.success .orb-glyph{color:#118f7e}.orb.success .orbit-progress{stroke:#20b99e;stroke-width:2.7}.orb.success{animation:result-settle .8s var(--ease)}.orb.decline{animation:result-settle .65s var(--ease)}.orb-glyph .glyph-processing{transform:translate(2px,2px)}.orb.processing .orbit-progress{stroke-dasharray:120 364;stroke-dashoffset:0;animation:orbit-spin 1.8s linear infinite}.orb.success .orbit-progress{stroke-dasharray:484;stroke-dashoffset:0}.transaction-copy h2{font-weight:700}.primary-button,.key{transition:background .18s,opacity .18s,box-shadow .25s,transform .35s var(--ease)}.key:active:not(:disabled){transform:scale(.91)}.primary-button:active:not(:disabled){transform:scale(.985)}@keyframes orb-breathe{50%{opacity:.85;transform:scale(1.07)}}@keyframes mark-breathe{50%{opacity:.72}}@keyframes result-settle{0%{transform:scale(.91)}65%{transform:scale(1.025)}100%{transform:scale(1)}}
/* Dark theme keeps the payment QR on a clean white scanning surface. */
html[data-theme="dark"]{color-scheme:dark;--ink:#eff6f7;--muted:#8ba2ac;--canvas:#101a20;--line:#2b3c44;background:#101a20;color:#eff6f7}html[data-theme="dark"] .terminal,html[data-theme="dark"] .bottom-nav{background:#142127;border-color:#26383f}html[data-theme="dark"] .bottom-nav{border-top-color:#273a42}html[data-theme="dark"] .header-context,html[data-theme="dark"] .amount-section h1,html[data-theme="dark"] .amount-caption,html[data-theme="dark"] .secondary-button,html[data-theme="dark"] .inline-message,html[data-theme="dark"] .qr-instruction small{color:#8da5af}html[data-theme="dark"] .money-digits.empty{color:#5e747e}html[data-theme="dark"] .currency{color:#829aa5}html[data-theme="dark"] .key{color:#ecf4f5}html[data-theme="dark"] .key:hover{background:#1d3038}html[data-theme="dark"] .key:active{background:#21423f}html[data-theme="dark"] .key.delete{color:#96b1ba}html[data-theme="dark"] .primary-button:disabled{background:#20343d;color:#78939f}html[data-theme="dark"] .primary-button.complete{background:#dcf7ee;color:#14392f}html[data-theme="dark"] .primary-button.complete .button-icon{color:#177c62}html[data-theme="dark"] .primary-button.status-only{background:transparent;color:#92b0b9}html[data-theme="dark"] .qr-frame{background:#fff;border-radius:21px}html[data-theme="dark"] .qr-frame>i{opacity:0}html[data-theme="dark"] .qr-instruction{color:#a9bdc4}html[data-theme="dark"] .transaction-copy p{color:#91aab4}html[data-theme="dark"] .orbit-track{stroke:#273c44}html[data-theme="dark"] .orb.processing .orb-wash{background:radial-gradient(circle at 35% 25%,#1e4c48,#173934)}html[data-theme="dark"] .orb.processing .glyph-processing{color:#56e7cc}html[data-theme="dark"] .orb.success .orb-wash{background:radial-gradient(circle at 30% 20%,#245e4f,#183e37);box-shadow:0 15px 70px #0ed5a514}html[data-theme="dark"] .orb.success .orb-glyph{color:#69e8bd}html[data-theme="dark"] .orb.connection .orb-wash{background:#1c3039}html[data-theme="dark"] .orb.decline .orb-wash{background:#382d2b}html[data-theme="dark"] .orb.decline .glyph-fail{color:#e0a691}html[data-theme="dark"] .bottom-nav button{color:#728f9b}html[data-theme="dark"] .bottom-nav [aria-current="page"]{color:#85ded2}html[data-theme="dark"] .bottom-nav [aria-current="page"] svg{color:#4fdaca}html[data-theme="dark"] .operations-summary{background:linear-gradient(120deg,#1c3e3c,#1b3037);border-color:#2a4c49}html[data-theme="dark"] .operations-summary>span{color:#81afa8}html[data-theme="dark"] .operations-summary>strong{color:#d7f7ee}html[data-theme="dark"] .operations-summary small{color:#88a3a9}html[data-theme="dark"] .icon-button{color:#94adb7}html[data-theme="dark"] .icon-button:hover{background:#22353e}html[data-theme="dark"] .day-heading>span{color:#96adb4}html[data-theme="dark"] .operation-row{border-color:#24363e}html[data-theme="dark"] .operation-row:hover{background:#1a2c34}html[data-theme="dark"] .operation-symbol{background:#213740;color:#90acb7}html[data-theme="dark"] .operation-symbol.paid{background:#1e403a;color:#5dd5bd}html[data-theme="dark"] .operation-symbol.declined,html[data-theme="dark"] .operation-symbol.error{background:#3b302d;color:#d6a08c}html[data-theme="dark"] .operation-symbol.refunded{background:#39352c;color:#c6b086}html[data-theme="dark"] .operation-copy .paid{color:#72baa9}html[data-theme="dark"] .history-empty-icon{background:#1c343d;color:#86abb7}html[data-theme="dark"] .history-more{background:#203b42;color:#97c7c7}html[data-theme="dark"] .device-card{background:#1c353b;border-color:#2a454b}html[data-theme="dark"] .device-mark{background:#22474a;color:#56d2c5}html[data-theme="dark"] .more-group{border-color:#2a3e46}html[data-theme="dark"] .more-row{background:#192c34;border-color:#283d46}html[data-theme="dark"] .more-row:hover{background:#203741}html[data-theme="dark"] .more-row small{color:#8ba6b1}html[data-theme="dark"] .row-icon{color:#81a2ad}html[data-theme="dark"] .theme-control select{background:#20353e;border-color:#304951;color:#a7c1c9}html[data-theme="dark"] .bottom-sheet{background:#192b33;color:#eef6f7}html[data-theme="dark"] .sheet-grip{background:#38505a}html[data-theme="dark"] .close-modal{background:#29414a;color:#a0b9c3}html[data-theme="dark"] .bottom-sheet p{color:#96afba}html[data-theme="dark"] .operation-details>div{border-color:#2a424d}html[data-theme="dark"] .detail-status.paid{color:#68d7b8}html[data-theme="dark"] .filter-field input,html[data-theme="dark"] .filter-field select{background:#203840;border-color:#304b55;color:#d0e6ec}html[data-theme="dark"] .report-turnover{background:#203f3d}html[data-theme="dark"] .report-turnover strong{color:#c9f7e6}html[data-theme="dark"] .report-turnover>span{color:#7db3a7}html[data-theme="dark"] .report-downloads button{background:#2b4650}html[data-theme="dark"] .report-downloads button:first-child{background:var(--brand)}html[data-theme="dark"] .help-steps li:before{background:#21453f;color:#7bcbb7}
@media(prefers-reduced-motion:reduce){.key:active:not(:disabled),.primary-button:active:not(:disabled){transform:none}.orb.processing .orb-wash,.orb.processing .glyph-processing,.orb.success,.orb.decline{animation:none}}
