.pay-shell{max-width:480px}.pay-shell>header{margin-bottom:18px}.pay-shell .heading{display:flex;align-items:center;gap:12px;margin:0 0 16px}.heading h1{font-size:27px;letter-spacing:-.7px}.heading>div{min-width:0}#step{font-size:11px;color:var(--muted);margin-left:auto;white-space:nowrap}.input-toolbar{display:none}.recipient-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px 17px;margin-bottom:12px}.recipient-label{display:flex;align-items:center;justify-content:space-between;min-height:24px}.recipient-label label{font-size:12px;color:var(--secondary)}.clear-address{display:grid;place-items:center;width:28px;height:28px;background:var(--raised);border:0;border-radius:50%;color:var(--muted)}.clear-address .icon{width:14px;height:14px}.recipient-card textarea{width:100%;display:block;resize:none;border:0;background:none;color:var(--text);font-size:16px;line-height:1.25;font-family:ui-monospace,SFMono-Regular,monospace;padding:0;margin:5px 0 10px;min-height:40px;outline:0;overflow-wrap:anywhere}.recipient-card textarea::placeholder{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;color:#6e8274}.address-tools{display:flex;gap:9px}.address-tools button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;border:1px solid #354339;background:#202c24;color:#c3d5c8;border-radius:10px;min-height:41px;padding:10px;font-size:12px;font-weight:500}.address-tools svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.amount-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:15px 18px;margin-bottom:14px}.amount-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.amount-top label{font-size:12px;color:var(--secondary)}.asset-switch{display:flex;gap:2px;background:#0f1712;padding:3px;border:1px solid #2c3b30;border-radius:9px}.asset-switch button{padding:6px 10px;background:none;border:0;border-radius:6px;font-size:10px;font-weight:600;color:var(--muted)}.asset-switch button.selected{background:#324d39;color:#b9edc6}.amount-input{display:flex;align-items:baseline;gap:10px;margin:10px 0 5px}.amount-input input{min-width:0;width:100%;background:none;border:0;outline:0;color:var(--text);font-size:clamp(30px,10vw,45px);line-height:1.15;font-weight:550;letter-spacing:-1.5px;padding:0;font-variant-numeric:tabular-nums}.amount-input input::placeholder{color:#536459}.amount-input>span{font-size:12px;color:var(--muted)}.balance-line{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px;margin-top:9px}.chain-tag{font-size:9px;letter-spacing:.3px;color:#a1b6a7}.primary{width:100%;min-height:51px;justify-content:space-between}.primary>span:first-child{flex:1;text-align:center}.primary>span:last-child{display:flex;align-items:center}.primary>span:last-child .icon{width:19px;height:19px}.secondary{display:flex;width:100%;margin-top:10px;font-size:12px}.footnote{font-size:10px;color:var(--muted);text-align:center;line-height:1.7;margin:12px 12px 0}.allocation{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:12px 15px;margin-bottom:14px;min-width:0}.allocation-head,.allocation-total{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--secondary)}.allocation-head strong{color:var(--muted);font-size:10px;font-weight:400}.allocation-track{display:flex;gap:3px;height:4px;border-radius:4px;overflow:hidden;background:#2c362f;margin:13px 0 3px}.allocation-track i{display:block;height:100%;border-radius:3px;flex-shrink:1;background:var(--source-color);transition:width .25s ease}[data-color="0"]{--source-color:#79d397}[data-color="1"]{--source-color:#82bdb0}[data-color="2"]{--source-color:#b8caae}[data-color="3"]{--source-color:#9eafa4}.allocation-list{max-height:250px;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#435748 transparent}.source-row{display:flex;align-items:center;gap:11px;padding:10px 0;border-bottom:1px solid var(--line);animation:source-in .2s ease}.source-row:last-child{border-bottom:0}.source-node{width:6px;height:6px;background:var(--source-color);border-radius:50%;flex:none}.source-info{flex:1;min-width:0}.source-label{display:block;font-size:11px;font-weight:500;color:var(--secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-address{display:block;font-family:ui-monospace,monospace;font-size:9px;color:var(--muted);margin-top:4px}.source-value{text-align:right;max-width:58%;flex:none}.source-amount{display:block;color:var(--text);font-weight:550;font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.source-available{font-size:9px;color:var(--muted);display:block;margin-top:3px}.allocation-total{border-top:1px solid var(--line);padding-top:9px;margin-top:3px;font-size:10px;font-variant-numeric:tabular-nums;align-items:flex-start}.allocation-total strong{color:var(--accent);font-size:10px;font-weight:500;flex:none}.shortfall .allocation-total strong{color:var(--amber)}.allocation-note{font-size:9px;color:var(--muted);margin-top:5px;line-height:1.5}.allocation-empty{font-size:11px;color:var(--muted);padding:14px 0}.review-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:23px 19px 13px}.token-icon{display:grid;place-items:center;width:44px;height:44px;background:#263e2f;color:#a6eab9;border-radius:50%;font-size:10px;font-weight:650;margin:0 auto 16px}.center{text-align:center}.review-amount{text-align:center;font-size:clamp(29px,8vw,40px);font-weight:550;letter-spacing:-1.3px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.2;margin:9px 0 25px}.review-amount small{font-size:13px;color:var(--muted);font-weight:400;letter-spacing:0}.receipt{border-top:1px solid var(--line);padding-top:19px;font-size:11px;color:var(--muted)}.receipt>p{font-family:ui-monospace,SFMono-Regular,monospace;overflow-wrap:anywhere;font-size:13px;line-height:1.7;color:var(--text);margin:7px 0 21px;user-select:all}.receipt>div{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:8px 0}.receipt strong{font-size:11px;color:var(--secondary);font-weight:400;text-align:right}.review-allocation{background:var(--surface);border:1px solid var(--line);border-radius:13px;margin-top:10px;padding:14px 16px}.review-allocation summary{color:var(--secondary);font-size:12px;cursor:pointer}.review-allocation summary span{float:right;color:var(--muted)}.review-source{padding-top:12px;margin-top:12px;border-top:1px solid var(--line)}.review-source span{display:block;font-family:ui-monospace,monospace;font-size:10px;color:var(--muted);overflow-wrap:anywhere}.review-source strong{display:block;color:var(--text);font-size:12px;font-weight:500;margin-top:7px}.bio-panel{display:flex;align-items:center;gap:12px;padding:21px 3px}.bio-panel svg{width:29px;height:29px;color:var(--accent);stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;fill:none;flex:none}.bio-panel>div{flex:1;min-width:0}.bio-panel strong{font-size:12px;font-weight:500}.bio-panel p{font-size:10px;line-height:1.6;color:var(--muted);margin-top:3px}.bio-panel .text-btn{font-size:11px}.pairing{border:1px solid var(--line);border-radius:15px;background:var(--surface);padding:19px;margin-bottom:18px;text-align:center}.pairing p{font-size:11px;color:var(--secondary);line-height:1.6}.pairing strong{display:block;color:var(--text);font-size:30px;letter-spacing:8px;padding:14px 0 16px 8px}.otp{display:block;font-size:11px;color:var(--secondary);margin:0 0 17px}.otp input{display:block;width:100%;padding:13px 16px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:12px;font-size:20px;letter-spacing:7px;margin-top:9px}body[data-screen=review] .app-nav,body[data-screen=status] .app-nav{display:none}body[data-screen=review] .pay-shell,body[data-screen=status] .pay-shell{padding-bottom:max(24px,env(safe-area-inset-bottom))}.status-card{text-align:center;border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:23px 19px}.status-card h2{font-size:23px;font-weight:550;letter-spacing:-.5px;margin:16px 0 0}.status-card .review-amount{font-size:31px;margin:13px 0}.status-card .muted{font-size:12px;line-height:1.8}.status-orbit{width:92px;height:92px;border:1px solid #34503e;border-radius:50%;position:relative;margin:12px auto 25px;display:grid;place-items:center}.status-orbit>span{width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:#294432;color:var(--accent);font-size:31px}.status-orbit i{position:absolute;inset:-1px;border-radius:50%;animation:orbit 3.5s linear infinite}.status-orbit i:before{content:'';position:absolute;left:50%;top:-2px;width:5px;height:5px;background:var(--accent);border-radius:50%}.status-orbit i:nth-child(3){animation-delay:-1.16s}.status-orbit i:nth-child(4){animation-delay:-2.32s}.status-orbit.done i{display:none}.status-orbit.failed>span{background:#413b2b;color:var(--amber)}.progress{height:4px;background:#2c3b30;border-radius:4px;overflow:hidden;margin:24px 0 18px}.progress span{display:block;height:100%;width:0;background:var(--accent);transition:width .4s}.status-address{font-family:ui-monospace,monospace;font-size:11px;line-height:1.7;overflow-wrap:anywhere;color:var(--muted)}.tx-link{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid var(--line);margin-top:13px;font-size:11px;color:var(--secondary)}.tx-link span:last-child{font-size:10px;color:var(--accent)}#new-payment{margin-top:13px}[aria-invalid=true]{color:var(--red)!important}@keyframes orbit{to{transform:rotate(360deg)}}@keyframes source-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:620px){
 body.editing-amount{overflow:hidden;min-height:0}
 .editing-amount .pay-shell{position:fixed;top:var(--pay-visible-top,0px);left:0;right:0;height:var(--pay-visible-height,100dvh);min-height:0;max-width:470px;padding:8px 16px max(10px,env(safe-area-inset-bottom));display:flex;flex-direction:column;overflow:hidden;background:var(--bg)}
 .editing-amount header,.editing-amount .heading,.editing-amount .recipient-card,.editing-amount footer,.editing-amount .footnote,.editing-amount .swarm,.editing-amount #notice{display:none}
 .editing-amount .input-toolbar{display:flex;justify-content:space-between;align-items:center;flex:none;height:32px;margin-bottom:6px;color:#8fa78f;font-size:11px}
 .input-toolbar button{border:0;background:none;color:var(--accent);padding:6px 0 6px 18px;font-size:13px;font-weight:600}
 .editing-amount #form-screen{display:flex;flex-direction:column;flex:1;min-height:0}
 .editing-amount .amount-card{flex:none;margin:0;padding:12px 15px;border-radius:17px;box-shadow:none}
 .editing-amount .amount-input{margin:6px 0 3px}.editing-amount .amount-input input{font-size:34px;letter-spacing:-1px;line-height:1.2}
 .editing-amount .amount-top label{font-size:10px}.editing-amount .asset-switch button{padding:4px 9px}
 .editing-amount .allocation{display:flex;flex-direction:column;flex:1;min-height:0;padding:10px 12px;margin:10px 0}
 .editing-amount .allocation-list{flex:1;min-height:0;max-height:none}.editing-amount .allocation-track{flex:none;margin:8px 0 4px}
 .editing-amount .allocation-head,.editing-amount .allocation-total,.editing-amount .allocation-note{flex:none}
 .editing-amount .allocation-total{margin-top:4px;padding-top:7px;font-size:10px}.editing-amount .allocation-note{font-size:8px;margin-top:4px}
 .editing-amount .source-row{padding:8px 0}.editing-amount .source-amount{font-size:13px}
 .editing-amount #preview{flex:none;margin-top:auto;min-height:48px;padding:13px 17px;font-size:14px;border-radius:13px}
 .editing-amount #error{flex:none;padding:6px 10px;margin:0 0 6px;font-size:10px}
}
.editing-amount .allocation{overflow:hidden}
.editing-amount.tight-viewport .allocation-note,.editing-amount.tight-viewport .source-available{display:none}
.editing-amount.tight-viewport .amount-card{padding:8px 13px}
.editing-amount.tight-viewport .amount-input input{font-size:29px}
.editing-amount.tight-viewport .input-toolbar{height:24px;margin-bottom:2px}
.editing-amount.tight-viewport .balance-line{display:none}
.editing-amount.tight-viewport .amount-input{margin:4px 0 0}
.editing-amount.tight-viewport .asset-switch button{padding:3px 8px}

/* Zoom is disabled; single-finger scrolling remains available. */
html,body,.shell,.pay-shell{touch-action:pan-x pan-y}
.editing-amount .app-nav{display:none}
.editing-amount .pay-shell{background:var(--bg)}
.editing-amount #preview{border-radius:12px}
.editing-amount .amount-card{background:var(--surface);border-color:var(--line)}
.editing-amount .allocation-total strong{font-size:9px}
.editing-amount .allocation-track{height:4px}
@media(max-width:350px){.heading h1,body[data-screen=review] h1{font-size:23px}.recipient-card,.amount-card{padding:15px}.address-tools button{padding:10px 8px}.balance-line{font-size:9px}.allocation-total{font-size:9px}}
