.tx-fee-card{margin:12px 0;padding:12px 16px;border:1px solid #dce5e1;border-radius:18px;background:#f3f8f6;color:#17375f}.tx-fee-row{display:flex;align-items:center;gap:8px;min-height:36px;width:100%;box-sizing:border-box;font-size:11px}.tx-fee-row>span:first-child{color:#71847c;font-size:10px}.tx-fee-row>b{margin-left:auto;display:flex;align-items:center;gap:6px}.tx-fee-card button.tx-fee-row{padding:0;border:0;background:none;text-align:left;color:inherit;opacity:1}.tx-fee-row>i{font-style:normal;color:#71847c}.tx-network{display:inline-flex;align-items:center;gap:6px;color:#17375f}.tx-network svg{width:18px;height:18px;flex-shrink:0}.tx-fee-speed{display:flex;align-items:center;gap:10px;margin-top:8px;font-size:10px;color:#71847c}.tx-fee-speed input{min-width:0;flex:1;accent-color:#397cac}.tx-fee-time{margin:5px 0 0;text-align:center;font-size:11px}.tx-fee-error{font-size:11px;line-height:1.5;color:#b54c43}.tx-copy{border:0;background:none;padding:3px;display:inline-flex;color:#397cac;vertical-align:middle}.tx-copy svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}.tx-hash{margin-top:8px;border-top:1px solid #dce5e1;font-size:11px}.tx-hash summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;min-height:40px;color:#71847c}.tx-hash summary::-webkit-details-marker{display:none}.tx-hash[open] summary>span{transform:rotate(180deg)}.tx-hash>div{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding-bottom:6px}.tx-fee-card .send-fee-payment-note{font-size:10px;text-align:right;line-height:1.5}.screen>.wallet-swap{top:10%!important;bottom:0!important;height:auto!important}

.tx-fee-demo{display:flex;justify-content:flex-end;gap:8px;margin:0 0 10px}.tx-fee-demo button{width:auto!important;min-width:0!important;min-height:0!important;height:28px!important;padding:0 12px!important;border:1px solid #dce5e1!important;border-radius:14px!important;background:#fff!important;color:#71847c!important;font-size:10px!important;box-shadow:none!important}.tx-fee-demo button[aria-pressed="true"]{border-color:#397cac!important;background:#edf6fb!important;color:#397cac!important}.ws-confirm-footer:has(.tx-fee-demo){display:flex;flex-direction:column;gap:0}.ws-confirm-footer>.tx-fee-demo{width:100%}.ws-confirm-footer>button{width:100%}

.tx-payment-footer{display:block!important}.tx-payment-footer>div:not(.tx-fee-demo){display:flex;gap:10px}.tx-payment-footer>div:not(.tx-fee-demo)>button{flex:1}.tx-payment-result-footer{display:block!important}.tx-payment-result-footer>button{width:100%}.tx-available{text-align:right;font-size:11px;color:#71847c}.tx-scan-demo{display:flex;flex-direction:column;gap:12px;padding:24px}.tx-scan-demo button{min-height:40px;background:#edf6fb;border:1px solid #dce5e1;border-radius:12px;color:#397cac}.home-payment-request-details .tx-copy{width:auto;min-width:0}.home-payment-request-details .tx-hash{width:100%}.home-payment-request-sheet:has(.tx-payment-footer) main{padding-bottom:16px}

.tx-fee-speed input[type="range"]{appearance:none;-webkit-appearance:none;height:24px;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;outline-offset:3px}.tx-fee-speed input[type="range"]::-webkit-slider-runnable-track{height:4px;border:0;border-radius:2px;background:linear-gradient(to right,#397cac 0 var(--tx-speed-progress,50%),#d4e7fa var(--tx-speed-progress,50%) 100%)}.tx-fee-speed input[type="range"]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;margin-top:-6px;border:0;border-radius:50%;background:#397cac;box-shadow:none}.tx-fee-speed input[type="range"]::-moz-range-track{height:4px;border:0;border-radius:2px;background:#d4e7fa}.tx-fee-speed input[type="range"]::-moz-range-progress{height:4px;background:#397cac}.tx-fee-speed input[type="range"]::-moz-range-thumb{width:16px;height:16px;border:0;border-radius:50%;background:#397cac}
.home-payment-request-sheet>footer.tx-payment-footer,.home-payment-request-sheet>footer.tx-payment-result-footer{position:static;flex-shrink:0}
.wallet-swap.ws-reference-confirm{display:flex;flex-direction:column;background:#fffdf8}.ws-reference-confirm .ws-reference-header{flex:none;padding:12px 16px 8px}.ws-reference-header>button{display:block;margin-left:auto;width:28px;height:28px;border:0;background:none;color:#17375f;font-size:27px;line-height:28px}.ws-reference-header h1{margin:8px 0 0;font-size:20px;line-height:28px;text-align:left}.wallet-swap.ws-reference-confirm .ws-page{flex:1;min-height:0;overflow:auto;padding:0 16px 12px}.wallet-swap.ws-reference-confirm .ws-confirm-total{padding:16px;margin:0 0 12px;border:1px solid #dce5e8;border-radius:12px;background:#fff;text-align:center}.ws-reference-confirm .ws-confirm-total>span{font-size:13px;color:#17375f}.ws-reference-confirm .ws-confirm-total h2{margin:12px 0 0;font-size:28px;line-height:34px;color:#467fb3}.ws-reference-confirm .ws-confirm-total h2 small{font-size:inherit}.wallet-swap.ws-reference-confirm .ws-confirm-flow{padding:16px;margin:0 0 12px;border:1px solid #dce5e8;border-radius:12px;background:#fff}.ws-reference-confirm .ws-confirm-flow>div{display:flex;align-items:flex-start;gap:10px}.ws-reference-confirm .ws-confirm-flow>div>span:last-child{display:flex;flex-direction:column;gap:3px}.ws-reference-confirm .ws-confirm-flow small,.ws-reference-confirm .ws-confirm-flow em{font-size:12px;font-style:normal;color:#64798e}.ws-reference-confirm .ws-confirm-flow b{font-size:18px;line-height:22px}.ws-reference-confirm .ws-confirm-flow>i{display:block;margin:16px 0;font-style:normal;color:#467fb3;font-size:26px;line-height:26px}.ws-reference-confirm .wallet-receive-asset-icon{position:relative;display:block;width:38px;height:38px;flex:none}.ws-reference-confirm .wallet-receive-asset-icon>svg{width:38px;height:38px}.ws-reference-confirm .wallet-receive-asset-icon .wo-network-badge{position:absolute;right:-2px;bottom:-2px;width:17px;height:17px}.wallet-swap.ws-reference-confirm .ws-confirm-details{padding:0 16px;margin:0;border:1px solid #dce5e8;border-radius:12px;background:#fff}.ws-reference-confirm .ws-confirm-details>div{height:44px;padding:0;border-bottom:1px solid #dce5e8;font-size:13px}.ws-reference-confirm .ws-confirm-details .tx-fee-card{border:0;background:none;margin:0;padding:7px 0 12px}.ws-reference-confirm .tx-fee-row>b{font-size:13px;font-weight:600}.ws-reference-confirm .tx-fee-row>span:first-child{font-size:13px}.wallet-swap.ws-reference-confirm>.ws-footer{position:static;flex:none;height:auto;min-height:0;display:flex;flex-direction:column;padding:10px 16px 20px;background:#fffdf8}.wallet-swap.ws-reference-confirm>.ws-footer>[data-ws-confirm]{height:46px;min-height:46px;flex:0 0 46px;border:0;border-radius:13px;background:#467fb3;color:#fff;box-shadow:none;font-size:14px}.wallet-swap.ws-reference-confirm>.ws-footer>[data-ws-confirm]:disabled{background:#dfe7e2;color:#9aa9a2}
.ws-reference-confirm .ws-review-network{position:absolute;right:-3px;bottom:-2px;width:19px;height:19px;border:2px solid white;border-radius:50%;overflow:hidden;background:white}.ws-reference-confirm .ws-review-network>svg,.ws-reference-confirm .ws-review-network>img{display:block;width:100%;height:100%}.ws-reference-confirm .ws-reference-header{padding-top:4px}.ws-reference-header h1{margin-top:2px}.wallet-swap.ws-reference-confirm .ws-confirm-total{padding:12px}.ws-reference-confirm .ws-confirm-total h2{margin-top:8px}.wallet-swap.ws-reference-confirm .ws-confirm-flow{padding:12px 16px}.ws-reference-confirm .ws-confirm-flow>i{margin:10px 0}.ws-reference-confirm .ws-confirm-details>div{height:38px}
.ws-reference-confirm .wallet-receive-asset-icon>img{display:block;width:38px;height:38px;object-fit:contain}.ws-amount-token>img{display:block;width:40px;height:40px;object-fit:contain}
.ws-amount-token .wo-network-badge>img{width:100%;height:100%;display:block;object-fit:contain}
.ws-reference-confirm .ws-review-network{border:0;background:transparent;overflow:hidden}.ws-reference-confirm .ws-review-network>img{transform:scale(1.22);transform-origin:center}.ws-amount-token .wo-network-badge.meridian:has(>img){border:0;background:transparent;overflow:hidden;box-shadow:none}.ws-amount-token .wo-network-badge.meridian>img{transform:scale(1.22);transform-origin:center}
.wallet-swap .ws-footer>button{background:#467fb3;color:#fff;min-height:46px;flex-shrink:0}.wallet-swap .ws-footer>button:disabled{background:#dfe7e2;color:#9aa9a2}
/* Swap confirmation uses the verified transfer confirmation visual values. */
.wallet-swap.ws-reference-confirm{font-family:"SF Pro Text","Inter","PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#17375f;background:#fffdf7}.wallet-swap.ws-reference-confirm button{font-family:inherit}.wallet-swap.ws-reference-confirm .ws-reference-header{height:66px;flex:0 0 66px;box-sizing:border-box;padding:12px 20px 8px;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;border-bottom:1px solid #e2e9e6}.ws-reference-confirm .ws-reference-header>button{margin:0;width:38px;height:38px;padding:0;background:none;border:0;font-size:35px;font-weight:300;text-align:left;line-height:normal}.ws-reference-confirm .ws-reference-header h1{margin:0;font-size:18px;line-height:24px;font-weight:700;text-align:center}.wallet-swap.ws-reference-confirm .ws-page{padding:18px 20px 140px}.wallet-swap.ws-reference-confirm .ws-confirm-details{background:#f3f8f6;border:1px solid #dce5e1;border-radius:18px;padding:12px 16px}.wallet-swap.ws-reference-confirm .ws-confirm-details>div{height:36px;min-height:36px;border:0;padding:0;font-size:11px}.wallet-swap.ws-reference-confirm .ws-confirm-details>div>span{font-size:10px;font-weight:400;color:#71847c}.wallet-swap.ws-reference-confirm .ws-confirm-details>div>strong{font-size:10px;font-weight:700;color:#17375f}.wallet-swap.ws-reference-confirm .ws-confirm-details .tx-fee-card{padding:0;margin:0;border:0;border-radius:0;background:transparent}.wallet-swap.ws-reference-confirm .tx-fee-row{min-height:36px;height:36px;font-size:11px}.wallet-swap.ws-reference-confirm .tx-fee-row>span:first-child{font-size:10px;font-weight:400;color:#71847c}.wallet-swap.ws-reference-confirm .tx-fee-row>b{font-size:10px;font-weight:700;color:#17375f}.wallet-swap.ws-reference-confirm>.ws-footer{position:absolute;left:0;right:0;bottom:0;box-sizing:border-box;padding:13px 20px 20px;background:linear-gradient(180deg,rgba(255,253,247,0),#fffdf7 22%)}.wallet-swap.ws-reference-confirm>.ws-footer>[data-ws-confirm]{height:50px;min-height:50px;flex:0 0 50px;padding:1px 6px;border-radius:15px;background:#397eaa;font-size:12px;font-weight:800;box-shadow:0 5px 14px rgba(49,112,153,.16)}.wallet-swap.ws-reference-confirm>.ws-footer>[data-ws-confirm]:disabled{background:#d9e2de;color:#94a29c;box-shadow:none}
/* Reserve footer space in layout so fees never sit behind the controls. */
.wallet-swap.ws-reference-confirm>.ws-footer{position:static;margin-top:auto;flex:0 0 auto;padding:8px 20px 12px;background:#fffdf7}.wallet-swap.ws-reference-confirm>.ws-page{flex:1 1 auto;min-height:0;height:auto;padding-bottom:12px;overflow-y:auto}
.tx-fee-card button.tx-fee-row{align-items:center;gap:6px}.tx-fee-card .tx-fee-chevron{display:inline-flex;align-items:center;justify-content:center;align-self:center;flex:0 0 14px;width:14px;height:14px;margin:0;padding:0;line-height:1;color:#71847c}.tx-fee-chevron svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.tx-fee-chevron.is-open svg{transform:rotate(180deg)}
.home-payment-request-hero .payment-balance-error{margin:0 0 10px;color:#e05c50;font-size:12px;line-height:1.5}.home-payment-request-sheet>main{scrollbar-width:none}.home-payment-request-sheet>main::-webkit-scrollbar{display:none}
.tx-hash{border-top:0;margin-top:0}.tx-hash>summary{justify-content:center;gap:4px;font-size:10px}.tx-hash>div{display:flex;align-items:center;justify-content:flex-start;min-height:36px;padding:0 0 6px;gap:6px}.tx-hash>div>span{margin-right:auto;color:#71847c;font-size:10px}.tx-hash>div>b{font-size:10px;color:#17375f}.tx-hash:not([open])>div{display:none}.tx-fee-row:has(+.tx-hash){border-bottom:0!important}.home-payment-request-sheet>.tx-payment-result-footer>button,.home-funds-result-sheet>footer>button{height:50px;border:0;border-radius:15px;background:#397eaa;color:white;font-size:12px;font-weight:800}

.tx-hash{display:flex;flex-direction:column}
.tx-hash::details-content{display:contents}
.tx-hash>summary{order:1}

/* Shared transaction status slot: normal explanation is replaced by a blocking error. */
.tx-form-notice{display:flex;align-items:flex-start;gap:10px;margin:14px 0;padding:10px 0;color:#71847c;font-size:12px;line-height:1.5;box-sizing:border-box;text-align:left;flex-shrink:0}
.tx-form-notice>span{flex:0 0 12px;line-height:15px;font-size:10px}
.tx-form-notice>p{margin:0;font-size:10px;line-height:1.5;color:inherit;overflow-wrap:anywhere}
.tx-form-notice.is-error{padding:14px;border:0;border-radius:16px;background:#fff3f1;color:#17375f;font-weight:400}
.tx-form-notice.is-error>span{color:#e96059}

/* Amount entry keeps the primary action above the in-device decimal keypad. */
.wallet-send.amount-keyboard-open,.wallet-swap.amount-keyboard-open,.home-topup-sheet.amount-keyboard-open{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.amount-keyboard-open>.send-header,.amount-keyboard-open>.ws-header,.amount-keyboard-open>header{flex-shrink:0}
.amount-keyboard-open>.send-page,.amount-keyboard-open>.ws-page,.amount-keyboard-open>.home-topup-screen{flex:1 1 auto;min-height:0;height:auto;padding-bottom:12px;overflow-y:auto}
.amount-keyboard-open>footer.amount-keyboard-dock{position:static!important;flex:0 0 auto;display:flex!important;flex-direction:column;height:auto!important;min-height:0;margin:0;padding:8px 20px 12px;gap:0;background:#fffdf7;box-sizing:border-box}
.amount-keyboard-dock>.send-exception-previews{display:none}
.amount-keyboard-dock>button{width:100%;flex:0 0 46px;min-height:46px;height:46px;margin:0}
.amount-keyboard{width:100%;flex:none;margin:0;box-sizing:border-box}
.amount-keyboard-toolbar{display:flex;justify-content:flex-end;height:26px}
.amount-keyboard .amount-keyboard-toolbar button{width:40px;height:26px;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:#397cac;box-shadow:none;font-size:24px;line-height:24px}
.amount-keyboard-keys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:44px;gap:6px}
.amount-keyboard .amount-keyboard-keys button{width:100%;height:44px;min-height:0;margin:0;padding:0;border:0;border-radius:10px;background:#edf6fb;color:#17375f;font-size:24px;font-weight:600;line-height:1;box-shadow:none;touch-action:manipulation}
.amount-keyboard .amount-keyboard-keys button:active{background:#d4e7fa}

/* Match the PIN keypad: neutral keys, flat primary action, no floating toolbar. */
.amount-keyboard-dock>button{box-shadow:none!important;border-radius:12px!important}
.amount-keyboard-dock>button:disabled{background:#e8eeee!important;color:#b5c1c6!important}
.amount-keyboard{margin-top:18px}
.amount-keyboard-keys{grid-auto-rows:50px;gap:8px}
.amount-keyboard .amount-keyboard-keys button{height:50px;background:#edf2f1;border-radius:10px;font-size:24px;font-weight:600}
.wallet-swap>.ws-page{animation:none}
.amount-keyboard .amount-keyboard-keys button{height:51px;background:#eef3f1;color:#12375e;font-size:19px}.amount-keyboard-keys{grid-auto-rows:51px}

.tx-form-notice.is-info{margin:8px 0 0;padding:0;gap:0}

.send-exception-previews{flex-wrap:wrap}

.tx-fee-card{position:relative}.tx-fee-label{display:inline-flex;align-items:center;gap:5px}
.tx-fee-card .tx-fee-info{display:inline-grid;place-items:center;width:22px;height:24px;padding:3px;border:0;background:transparent;color:inherit;cursor:pointer;flex:none}
.tx-fee-info svg{width:13px;height:13px;stroke:currentColor;stroke-width:1.25;stroke-linecap:round}
.tx-fee-info:focus-visible{outline:1px solid currentColor;border-radius:5px}
.tx-fee-tooltip{position:absolute;z-index:12;left:16px;bottom:48px;max-width:calc(100% - 32px);padding:10px 12px;border:1px solid #dce5e1;border-radius:10px;background:#fffdf7;color:#71847c;box-shadow:0 4px 16px #17375f1a;font-size:10px;line-height:1.6;text-align:left}
.tx-fee-tooltip[hidden]{display:none}
.tx-fee-card .tx-fee-row.send-confirm-fee{margin:0;padding:0;min-height:36px;border:0;border-radius:0;background:transparent;text-align:left}.tx-fee-card .tx-fee-row.send-confirm-fee>b{margin-left:auto}