:root{color-scheme:dark;--bg:#000000;--surface:#111111;--surface-hover:#1A1A1A;--text-primary:#FFFFFF;--accent:#45C08F;--warn:#E5A83D;--error:#EC5B60;--success:var(--accent);--text-on-accent:var(--bg);--well:#000000;--text-muted:rgba(255,255,255,0.62);--border:rgba(255,255,255,0.12);--border-strong:rgba(255,255,255,0.28);--hover-overlay:rgba(255,255,255,0.06);--active-overlay:rgba(255,255,255,0.10);--skeleton:rgba(255,255,255,0.08);--accent-tint:rgba(69,192,143,0.16);--warn-tint:rgba(229,168,61,0.16);--error-tint:rgba(236,91,96,0.16);--scrim:rgba(0,0,0,0.66);--font-ui:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--font-mono:ui-monospace,"SF Mono","Cascadia Mono",Menlo,Consolas,monospace;--text-xs:11px;--lh-xs:14px;--text-sm:12px;--lh-sm:16px;--text-md:14px;--lh-md:20px;--text-lg:16px;--lh-lg:22px;--text-xl:20px;--lh-xl:26px;--text-amount:30px;--lh-amount:36px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-12:48px;--radius-sm:6px;--radius-md:10px;--radius-lg:16px;--radius-full:999px;--shadow-popover:0 8px 24px rgba(0,0,0,0.40);--shadow-modal:0 16px 48px rgba(0,0,0,0.55);--motion-fast:120ms;--motion-med:200ms;--motion-slow:320ms;--ease:cubic-bezier(0.2,0,0,1);--z-base:0;--z-header:10;--z-card-overlap:1;--z-popover:20;--z-modal:30;--z-toast:40}:root[data-theme=light]{color-scheme:light;--bg:#FFFFFF;--surface:#FFFFFF;--surface-hover:#F2F2F2;--text-primary:#000000;--accent:#0B7D50;--warn:#8A5D00;--error:#C81E1E;--success:var(--accent);--text-on-accent:var(--bg);--well:#F5F5F5;--text-muted:rgba(0,0,0,0.58);--border:rgba(0,0,0,0.12);--border-strong:rgba(0,0,0,0.22);--hover-overlay:rgba(0,0,0,0.05);--active-overlay:rgba(0,0,0,0.09);--skeleton:rgba(0,0,0,0.06);--accent-tint:rgba(11,125,80,0.12);--warn-tint:rgba(138,93,0,0.12);--error-tint:rgba(200,30,30,0.12);--scrim:rgba(0,0,0,0.44)}@media (max-width:480px){:root{--text-amount:26px;--lh-amount:32px}}*,:after,:before{box-sizing:border-box}*{margin:0;padding:0}body{background:var(--bg);color:var(--text-primary);font-family:var(--font-ui);font-size:var(--text-md);line-height:var(--lh-md);min-height:100dvh;display:flex;flex-direction:column;overflow-x:hidden;-webkit-font-smoothing:antialiased}button,input{font:inherit;color:inherit;background:none;border:none}button{cursor:pointer}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.filled-accent:focus-visible{outline-color:var(--text-primary)}.num{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.mono{font-family:var(--font-mono)}.text-xs{font-size:var(--text-xs);line-height:var(--lh-xs);font-weight:600;letter-spacing:.01em}.text-sm{font-size:var(--text-sm);line-height:var(--lh-sm);font-weight:400}.text-md{font-size:var(--text-md);line-height:var(--lh-md);font-weight:400}.text-lg{font-size:var(--text-lg);line-height:var(--lh-lg);font-weight:600}.text-xl{font-size:var(--text-xl);line-height:var(--lh-xl);font-weight:600}.muted{color:var(--text-muted)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.app-header{position:-webkit-sticky;position:sticky;top:0;z-index:var(--z-header);height:56px;background:var(--bg);display:flex;align-items:center;justify-content:space-between;padding:0 var(--space-4);border-bottom:1px solid transparent}.app-header[data-scrolled=true]{border-bottom-color:var(--border)}.app-wordmark{font-size:var(--text-xl);line-height:var(--lh-xl);font-weight:700;letter-spacing:-.01em;color:var(--text-primary);text-decoration:none;transition:opacity var(--motion-fast) var(--ease)}.app-wordmark:hover{opacity:.7}.header-chips{display:flex;align-items:center;gap:var(--space-2)}.wallet-chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 var(--space-3);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-full);font-family:var(--font-mono);font-size:var(--text-sm);color:var(--text-primary)}.wallet-chip:hover{background-color:var(--surface-hover)}.vm-dot{width:8px;height:8px;border-radius:var(--radius-full);flex:none}.vm-dot-evm{background:var(--accent)}.vm-dot-svm{border:1.5px solid var(--accent)}.app-main{flex:1 1 auto;align-items:center;padding:clamp(24px,8vh,64px) var(--space-4) var(--space-8)}.app-column,.app-main{display:flex;flex-direction:column}.app-column{width:min(464px,100%);gap:var(--space-4)}.app-footer{min-height:44px;display:grid;grid-template-columns:1fr auto 1fr;grid-gap:var(--space-3);padding:0 var(--space-4);font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted)}.app-footer,.footer-side{align-items:center;gap:var(--space-3)}.footer-side{display:flex}.footer-right{justify-content:flex-end}.footer-center{display:flex;align-items:center;justify-content:center;gap:var(--space-2)}.footer-tagline,.footer-x{color:var(--text-muted)}.footer-x{display:inline-flex;align-items:center;transition:color var(--motion-fast) var(--ease)}.footer-x:hover{color:var(--text-primary)}@media (max-width:480px){.app-footer{grid-template-columns:1fr auto}.footer-side:not(.footer-right){display:none}.app-main{padding-left:var(--space-3);padding-right:var(--space-3)}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);border-radius:var(--radius-md);font-size:var(--text-md);line-height:var(--lh-md);font-weight:500;padding:0 var(--space-4);transition:filter var(--motion-fast) var(--ease),background-color var(--motion-fast) var(--ease);white-space:nowrap}.btn-lg{height:44px}.btn-md{height:36px}.btn-sm{height:28px;padding:0 var(--space-2);border-radius:var(--radius-sm);font-size:var(--text-sm);line-height:var(--lh-sm)}.btn-primary{background:var(--accent);color:var(--text-on-accent)}.btn-primary:hover:not(:disabled){filter:brightness(1.06)}.btn-primary:active:not(:disabled){filter:brightness(.95)}.btn-secondary{background:var(--surface);color:var(--text-primary);border:1px solid var(--border)}.btn-ghost{background:transparent;color:var(--text-muted)}.btn-ghost:hover:not(:disabled),.btn-secondary:hover:not(:disabled){background-color:var(--hover-overlay)}.btn-ghost:active:not(:disabled),.btn-secondary:active:not(:disabled){background-color:var(--active-overlay)}.btn-danger{background:var(--error-tint);color:var(--error)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn:disabled:hover{filter:none;background-color:initial}.btn-reason,.btn-reason:disabled{opacity:1;background:var(--surface);color:var(--text-muted);border:1px solid var(--border);cursor:not-allowed}.btn-loading{pointer-events:none}.spinner{width:16px;height:16px;flex:none;border-radius:var(--radius-full);border:2px solid;border-top:2px solid transparent;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.spinner-static{display:none;color:var(--text-muted)}.badge{display:inline-flex;align-items:center;gap:4px;height:18px;padding:0 var(--space-2);border-radius:var(--radius-sm);font-size:var(--text-xs);line-height:var(--lh-xs);font-weight:600;letter-spacing:.01em;white-space:nowrap;flex:none}.badge-dot{width:6px;height:6px;border-radius:var(--radius-full);flex:none}.badge-firm{background:var(--accent-tint);color:var(--accent)}.badge-firm .badge-dot{background:currentColor}.badge-indicative{background:var(--warn-tint);color:var(--warn)}.badge-indicative .badge-dot{border:1px solid}.badge-best{background:var(--accent);color:var(--text-on-accent)}.badge-delta{background:transparent;color:var(--accent)}.badge-noroutes{border:1px solid var(--border-strong)}.badge-noroutes,.badge-variant{background:transparent;color:var(--text-muted)}.badge-variant{border:1px solid var(--border)}.badge-error{background:var(--error-tint);color:var(--error)}.badge-custom{background:transparent;border:1px solid var(--border-strong);color:var(--text-muted)}.badge-warn{background:var(--warn-tint);color:var(--warn)}.tooltip-wrap{position:relative;display:inline-flex}.tooltip-bubble{position:absolute;bottom:calc(100% + var(--space-2));left:50%;transform:translateX(-50%);z-index:var(--z-popover);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-popover);font-size:var(--text-sm);line-height:var(--lh-sm);font-weight:400;color:var(--text-primary);max-width:240px;width:max-content;padding:var(--space-2) var(--space-3);pointer-events:none;white-space:normal;text-align:left}.skeleton,.tooltip-bubble{border-radius:var(--radius-sm)}.skeleton{background:var(--skeleton);position:relative;overflow:hidden}.skeleton-row{border-radius:var(--radius-md)}.skeleton:after{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,transparent,var(--hover-overlay),transparent);background-size:200% 100%;animation:shimmer 1.6s linear infinite}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.field-label{display:block;font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted);margin-bottom:var(--space-1)}.field-input{width:100%;background:var(--well);border-radius:var(--radius-md);border:1px solid transparent;padding:var(--space-3);font-size:var(--text-md);line-height:var(--lh-md);color:var(--text-primary)}.field-input::placeholder{color:var(--text-muted)}.field-input[aria-invalid=true]{border-color:var(--error)}.field-input:disabled{color:var(--text-muted);cursor:not-allowed}.field-error{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--error);margin-top:var(--space-1)}.modal-scrim{position:fixed;inset:0;z-index:var(--z-modal);background:var(--scrim);display:flex;align-items:center;justify-content:center;padding:var(--space-4)}.modal-dialog{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-modal);width:400px;max-width:100%;max-height:80vh;padding:var(--space-5);display:flex;flex-direction:column;animation:modal-in var(--motion-med) var(--ease)}@keyframes modal-in{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-4);flex:none}.modal-title{font-size:var(--text-lg);line-height:var(--lh-lg);font-weight:600}.modal-close{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);color:var(--text-muted);flex:none}.modal-close:hover{background:var(--hover-overlay);color:var(--text-primary)}.modal-body{flex:1 1 auto;overflow-y:auto;padding:var(--space-1);margin:calc(-1 * var(--space-1))}.modal-handle{display:none}@media (max-width:480px){.modal-scrim{align-items:flex-end;padding:0}.modal-dialog{width:100%;max-height:92vh;border-radius:var(--radius-lg) var(--radius-lg) 0 0;border-left:none;border-right:none;border-bottom:none;padding-bottom:calc(var(--space-5) + env(safe-area-inset-bottom));animation:sheet-in var(--motion-med) var(--ease)}@keyframes sheet-in{0%{transform:translateY(24px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-handle{display:block;width:32px;height:4px;border-radius:var(--radius-full);background:var(--border-strong);margin:0 auto var(--space-3);flex:none}}.swap-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--space-4);display:flex;flex-direction:column}@media (max-width:480px){.swap-card{padding:var(--space-3)}}.swap-well{background:var(--well);border:1px solid transparent;border-radius:var(--radius-md);padding:var(--space-3)}.swap-well[data-error=true]{border-color:var(--error)}.swap-well:focus-within{outline:2px solid var(--accent);outline-offset:2px}.swap-well+.swap-well-gap{height:var(--space-2)}.well-label-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted);min-height:20px}.well-balance{display:inline-flex;align-items:center;gap:var(--space-1)}.well-main-row{display:flex;align-items:center;gap:var(--space-3);margin-top:var(--space-1)}.amount-input{flex:1 1 auto;min-width:0;font-size:var(--text-amount);line-height:var(--lh-amount);font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--text-primary);background:transparent;outline:none}.amount-input::placeholder{color:var(--text-muted)}.amount-input[data-exceeds=true]{color:var(--error)}.amount-output{flex:1 1 auto;min-width:0;font-size:var(--text-amount);line-height:var(--lh-amount);font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.amount-fiat{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted);min-height:var(--lh-sm);margin-top:var(--space-1)}.selector-trigger{display:inline-flex;align-items:center;gap:var(--space-2);height:36px;padding:0 var(--space-3);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-full);font-size:var(--text-md);line-height:var(--lh-md);font-weight:500;color:var(--text-primary);flex:none}.selector-trigger:hover:not(:disabled){background-color:var(--surface-hover)}.selector-trigger[data-empty=true]{color:var(--text-muted);font-weight:400}.selector-trigger:disabled{opacity:.45;cursor:not-allowed}.avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-full);background:var(--well);border:1px solid var(--border);color:var(--text-muted);font-weight:600;flex:none;overflow:hidden}.avatar-20{width:20px;height:20px;font-size:9px}.avatar-24{width:24px;height:24px;font-size:10px}.avatar-img{width:100%;height:100%;object-fit:cover;display:block}.avatar-square{border-radius:7px}.token-avatar{position:relative;flex:none;display:inline-flex;line-height:0}.token-avatar-chain{position:absolute;right:-3px;bottom:-3px;border-radius:var(--radius-full);box-shadow:0 0 0 1.5px var(--surface)}.avatar-chainbadge{width:13px;height:13px;font-size:7px}.swap-flip-seam{position:relative;height:var(--space-2);display:flex}.swap-flip,.swap-flip-seam{align-items:center;justify-content:center}.swap-flip{position:absolute;z-index:var(--z-card-overlap);width:32px;height:32px;border-radius:var(--radius-full);background:var(--surface);border:1px solid var(--border);display:inline-flex;color:var(--text-muted)}.swap-flip:hover:not(:disabled){background-color:var(--surface-hover);color:var(--text-primary)}.swap-flip:disabled{opacity:.45;cursor:not-allowed}.swap-flip svg{transition:transform var(--motion-med) var(--ease)}.swap-flip[data-flipped=true] svg{transform:rotate(180deg)}.recipient-row{display:flex;justify-content:space-between;min-height:36px;margin-top:var(--space-2);font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted)}.recipient-left,.recipient-row{align-items:center;gap:var(--space-2)}.recipient-left{display:inline-flex;min-width:0;overflow:hidden}.recipient-addr{font-family:var(--font-mono);color:var(--text-primary)}.swap-cta{width:100%;margin-top:var(--space-3)}.cta-helper{color:var(--text-muted)}.cta-error,.cta-helper{font-size:var(--text-sm);line-height:var(--lh-sm);margin-top:var(--space-2)}.cta-error{color:var(--error)}.route-area{display:flex;flex-direction:column;gap:var(--space-2)}.route-header{justify-content:space-between;font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted)}.route-header,.route-row{display:flex;align-items:center}.route-row{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);gap:var(--space-3);min-height:64px;text-align:left;width:100%;cursor:pointer}.route-row:hover{background-color:var(--surface-hover)}.route-row[data-best=true],.route-row[data-selected=true]{border-color:var(--accent)}.route-best-badge{position:absolute;top:-9px;left:var(--space-3)}.route-left{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 auto}.route-provider{display:inline-flex;align-items:center;gap:var(--space-2);font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted);min-width:0}.route-provider-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.route-eta{display:inline-flex;align-items:center;gap:var(--space-2);font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted)}.route-right{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:none}.route-output{font-size:var(--text-lg);line-height:var(--lh-lg);font-weight:600;color:var(--text-primary);white-space:nowrap}.route-output,.route-subline{display:inline-flex;align-items:center;gap:var(--space-2)}.route-subline{color:var(--text-muted)}.route-firm-hint,.route-subline{font-size:var(--text-sm);line-height:var(--lh-sm)}.route-firm-hint{color:var(--warn)}.route-controls{display:flex;align-items:center;gap:var(--space-1);flex:none}.route-expand{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);color:var(--text-muted);flex:none}.route-expand:hover{background:var(--hover-overlay);color:var(--text-primary)}.route-expand svg{transition:transform var(--motion-med) var(--ease)}.route-expand[aria-expanded=true] svg{transform:rotate(180deg)}.route-check{color:var(--accent);flex:none;display:inline-flex}.route-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md)}.route-card[data-best=true],.route-card[data-selected=true]{border-color:var(--accent)}.route-card .route-row{background:transparent;border:none;height:62px;min-height:0}.route-card .route-row:has(.route-firm-hint){height:auto;min-height:62px}.route-card{position:relative}.fee-breakdown{border-top:1px solid var(--border);margin:0 var(--space-4);padding:var(--space-3) 0 var(--space-3)}.fee-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);height:24px;font-size:var(--text-sm);line-height:var(--lh-sm)}.fee-label{color:var(--text-muted)}.fee-value{color:var(--text-primary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fee-divider{border:none;border-top:1px solid var(--border);margin:var(--space-2) 0}.fee-value[data-warn=true]{color:var(--warn)}.route-failure{min-height:40px;background:var(--well);border-radius:var(--radius-md);padding:0 var(--space-4)}.route-failure,.route-failure-summary{display:flex;align-items:center;font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted)}.route-failure-summary{gap:var(--space-2);padding:0 var(--space-1)}.route-hidden-line{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted);padding:0 var(--space-1)}.route-skeleton{height:64px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.route-skeleton-left{display:flex;flex-direction:column;gap:2px}.route-skeleton-right{display:flex;flex-direction:column;align-items:flex-end;gap:var(--space-1)}.route-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-6);text-align:center;display:flex;flex-direction:column;align-items:center;gap:var(--space-2)}.route-panel-title{font-size:var(--text-md);line-height:var(--lh-md);font-weight:500}.route-panel-body{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted)}.route-panel-actions{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-2)}.selector-dialog{height:480px}.selector-layout{display:flex;gap:var(--space-3);min-height:0;height:100%}.selector-chains{width:160px;flex:none;background:var(--well);border-radius:var(--radius-md);overflow:hidden;display:flex;flex-direction:column}.selector-chain-search{position:relative;flex:none;padding:var(--space-1)}.search-field-icon{position:absolute;left:calc(var(--space-1) + var(--space-2));top:50%;transform:translateY(-50%);display:inline-flex;color:var(--text-muted);pointer-events:none}.selector-chain-search .field-input{height:34px;font-size:var(--text-sm);padding-left:var(--space-6);background:var(--surface)}.chain-list{flex:1 1 auto;min-height:0;overflow-y:auto;padding:var(--space-1);padding-top:0;display:flex;flex-direction:column;scroll-behavior:smooth;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.chain-empty{padding:var(--space-3) var(--space-2);color:var(--text-muted);font-size:var(--text-sm)}.chain-group-label{flex:none;padding:var(--space-2) var(--space-2) var(--space-1);font-size:var(--text-xs);line-height:var(--lh-xs);letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted)}.chain-row{position:relative;display:flex;align-items:center;gap:var(--space-2);height:40px;padding:0 var(--space-2);border-radius:var(--radius-sm);font-size:var(--text-md);line-height:var(--lh-md);color:var(--text-primary);text-align:left;flex:none;width:100%}.chain-row:hover{background:var(--hover-overlay)}.chain-row[aria-selected=true]{background:var(--active-overlay);font-weight:500}.chain-row[aria-selected=true]:before{content:"";position:absolute;left:0;top:var(--space-2);bottom:var(--space-2);width:2px;border-radius:var(--radius-full);background:var(--accent)}.chain-row-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto}.selector-tokens{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:var(--space-2);min-height:0}.selector-search{flex:none}.token-list{flex:1 1 auto;overflow-y:auto;min-height:0;display:flex;flex-direction:column;padding:var(--space-1);margin:calc(-1 * var(--space-1));scroll-behavior:smooth;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.token-row{display:flex;align-items:center;gap:var(--space-3);min-height:48px;padding:0 var(--space-2);border-radius:var(--radius-md);text-align:left;width:100%;flex:none}.token-row:hover:not(:disabled){background:var(--hover-overlay)}.token-row:disabled{opacity:.45;cursor:not-allowed}.token-row-main{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}.token-row-symbol{display:inline-flex;align-items:center;gap:var(--space-2);font-size:var(--text-md);line-height:var(--lh-md);font-weight:500;color:var(--text-primary)}.token-row-name{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.token-row-right{display:flex;flex-direction:column;align-items:flex-end;flex:none}.token-row-balance{font-size:var(--text-md);line-height:var(--lh-md);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--text-primary)}.token-divider{border:none;border-top:1px solid var(--border);margin:var(--space-2) 0;flex:none}.token-empty{padding:var(--space-4) var(--space-2);flex-direction:column}.token-empty,.token-error-row{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted);display:flex;gap:var(--space-2)}.token-error-row{align-items:center;padding:var(--space-3) var(--space-2)}@media (max-width:639px){.selector-dialog{height:auto}.selector-layout{flex-direction:column;height:auto}.selector-chains{width:100%}.chain-list{flex:none;flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:var(--space-1);padding-top:var(--space-1)}.chain-row{width:auto;height:32px;border-radius:var(--radius-full);border:1px solid var(--border);padding:0 var(--space-3);white-space:nowrap}.chain-row[aria-selected=true]:before{display:none}.chain-row[aria-selected=true]{border-color:var(--accent)}.token-list{max-height:55vh}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.chain-list,.token-list{scroll-behavior:auto}.skeleton:after,.spinner{display:none}.spinner-static{display:inline}.route-expand svg,.swap-flip svg{transition:none}.swap-flip[data-flipped=true] svg{transform:none}}.wallet-groups{display:flex;flex-direction:column;gap:var(--space-4)}.wallet-group-header{font-size:var(--text-sm);line-height:var(--lh-sm);font-weight:400;color:var(--text-muted);margin-bottom:var(--space-1)}.wallet-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);min-height:48px;border-radius:var(--radius-md);padding:0 var(--space-2)}.wallet-row:focus-within,.wallet-row:hover{background-color:var(--hover-overlay)}.wallet-row-main{display:inline-flex;align-items:center;gap:var(--space-3);flex:1 1 auto;min-width:0;min-height:48px;text-align:left;border-radius:var(--radius-sm)}.wallet-row-icon{width:24px;height:24px;border-radius:var(--radius-sm);flex:none}.wallet-row-name{font-size:var(--text-md);line-height:var(--lh-md);font-weight:500;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wallet-row-right{display:inline-flex;align-items:center;gap:var(--space-2);flex:none;color:var(--text-muted)}.wallet-row-status{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted)}.wallet-row-chevron{display:inline-flex;color:var(--text-muted)}.wallet-addr{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-primary)}.wallet-disconnect{visibility:hidden}.wallet-row:focus-within .wallet-disconnect,.wallet-row:hover .wallet-disconnect{visibility:visible}@media (max-width:480px){.wallet-disconnect{visibility:visible}}.wallet-row-error{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--error);padding:0 var(--space-2) var(--space-2)}.wallet-empty{color:var(--text-muted)}.wallet-empty,.wallet-replace-row{font-size:var(--text-sm);line-height:var(--lh-sm);padding:var(--space-2)}.wallet-replace-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);color:var(--text-primary);background:var(--warn-tint);border-radius:var(--radius-md);margin:var(--space-1) 0}.wallet-replace-actions{display:inline-flex;gap:var(--space-2);flex:none}.theme-toggle{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-full);background:var(--surface);border:1px solid var(--border);color:var(--text-muted);flex:none;transition:background-color var(--motion-fast) var(--ease),color var(--motion-fast) var(--ease)}.theme-toggle:hover{background-color:var(--surface-hover);color:var(--text-primary)}.chip-avatar{width:10px;height:10px;border-radius:var(--radius-full);background:var(--well);border:1px solid var(--border-strong);font-size:7px;line-height:8px;font-weight:600;color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;flex:none;font-family:var(--font-ui)}.chip-addr-short{display:none}@media (max-width:480px){.chip-addr-full{display:none}.chip-addr-short{display:inline}}.activity-wrap{position:relative}.activity-popover{position:absolute;top:calc(100% + var(--space-2));right:0;z-index:var(--z-popover);width:280px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-popover);padding:var(--space-2);display:flex;flex-direction:column;gap:var(--space-1)}.activity-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);min-height:36px;padding:0 var(--space-2);border-radius:var(--radius-sm)}.activity-row:hover{background-color:var(--hover-overlay)}.activity-row-main{display:inline-flex;align-items:baseline;gap:var(--space-2);min-width:0}.activity-pair{color:var(--text-primary)}.activity-pair,.activity-phase{font-size:var(--text-sm);line-height:var(--lh-sm);white-space:nowrap}.activity-phase{color:var(--text-muted);overflow:hidden;text-overflow:ellipsis}.recipient-editor{display:flex;flex-direction:column;gap:var(--space-2);margin-top:var(--space-1)}.recipient-field-wrap{position:relative}.recipient-field .field-input{font-family:var(--font-mono);font-size:var(--text-sm);padding-right:var(--space-8)}.recipient-valid-check{position:absolute;right:var(--space-3);bottom:14px;color:var(--accent);display:inline-flex}.recipient-actions{display:flex;justify-content:flex-end}.recipient-confirm-panel{background:var(--warn-tint);border-radius:var(--radius-md);padding:var(--space-3);display:flex;flex-direction:column;gap:var(--space-2);font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-primary)}.recipient-confirm-row{display:flex;align-items:center;gap:var(--space-2)}.recipient-last6{flex:1 1 auto;min-width:0;font-size:var(--text-sm)}.confirm-body{gap:var(--space-3)}.confirm-body,.confirm-summary{display:flex;flex-direction:column}.confirm-summary{background:var(--well);border-radius:var(--radius-md);padding:var(--space-4);gap:var(--space-1)}.confirm-summary-in{font-size:var(--text-md);line-height:var(--lh-md);color:var(--text-muted)}.confirm-arrow{color:var(--text-muted);display:inline-flex}.confirm-summary-out{display:inline-flex;align-items:center;gap:var(--space-2);font-size:var(--text-xl);line-height:var(--lh-xl);flex-wrap:wrap}.confirm-change,.confirm-summary-out{font-weight:600;color:var(--text-primary)}.confirm-change{font-size:var(--text-sm);line-height:var(--lh-sm);margin-top:var(--space-1)}.confirm-change-old{color:var(--text-muted);text-decoration:line-through;font-weight:400}.confirm-meta{display:flex;align-items:center;gap:var(--space-2);font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted)}.confirm-body .fee-breakdown{margin:0;border-top:1px solid var(--border);padding:var(--space-3) 0 0}.confirm-recipient{display:flex;align-items:center;gap:var(--space-2);font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-primary);min-height:24px}.confirm-recipient[data-override=true]{background:var(--warn-tint);border-radius:var(--radius-sm);padding:var(--space-2)}.confirm-expiry{display:flex;flex-direction:column;gap:var(--space-1)}.confirm-expiry-track{height:4px;width:100%;border-radius:var(--radius-full);background:var(--skeleton);overflow:hidden}.confirm-expiry-fill{height:100%;border-radius:var(--radius-full);background:var(--accent);transition:width var(--motion-slow) linear}.confirm-expiry-fill[data-warn=true]{background:var(--warn)}.confirm-expiry-caption{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted);text-align:right}.confirm-expiry-caption[data-warn=true]{color:var(--warn)}.confirm-stepper{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted)}.approve-toggle{align-self:flex-start}.approve-toggle[aria-pressed=true]{color:var(--accent)}.confirm-error{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--error)}.confirm-footer{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-1)}.confirm-cta{flex:1 1 auto}.confirm-gone{align-items:center;padding:var(--space-4) 0;text-align:center}.confirm-gone,.timeline-root{display:flex;flex-direction:column;gap:var(--space-3)}.timeline-header{font-size:var(--text-lg);line-height:var(--lh-lg);font-weight:600}.timeline-sub{display:flex;align-items:center;gap:var(--space-2);font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted)}.timeline{list-style:none;display:flex;flex-direction:column}.timeline-step{position:relative;display:flex;gap:var(--space-3);padding-bottom:var(--space-4)}.timeline-step:before{content:"";position:absolute;left:9px;top:22px;bottom:2px;width:2px;border-radius:var(--radius-full);background:var(--border)}.timeline-step[data-done=true]:before{background:var(--accent)}.timeline-step-last{padding-bottom:0}.timeline-step-last:before{display:none}.timeline-dot{width:20px;height:20px;border-radius:var(--radius-full);flex:none;display:inline-flex;align-items:center;justify-content:center;margin-top:1px;position:relative;z-index:var(--z-card-overlap)}.timeline-dot-pending{border:2px solid var(--border-strong)}.timeline-dot-done{background:var(--accent);color:var(--text-on-accent)}.timeline-dot-failed{background:var(--error);color:#ffffff}.timeline-dot-claim{border:2px solid var(--warn)}.timeline-dot-active{color:var(--accent)}.timeline-spinner{width:16px;height:16px}.timeline-dot-active .spinner-static{color:var(--text-muted)}.timeline-step-body{display:flex;flex-direction:column;gap:var(--space-1);min-width:0;flex:1 1 auto}.timeline-label{font-size:var(--text-md);line-height:var(--lh-md);font-weight:500}.timeline-meta{color:var(--text-muted);overflow-wrap:anywhere}.timeline-error,.timeline-meta{font-size:var(--text-sm);line-height:var(--lh-sm)}.timeline-error{color:var(--error)}.timeline-mint{align-self:flex-start;margin-top:var(--space-1)}.tx-link{color:var(--accent);text-decoration:none;font-size:var(--text-sm);line-height:var(--lh-sm)}.tx-link:hover{text-decoration:underline}.timeline-terminal{border-top:1px solid var(--border);padding-top:var(--space-3);display:flex;flex-direction:column;gap:var(--space-2);align-items:flex-start}.timeline-received{font-size:var(--text-md);line-height:var(--lh-md);color:var(--text-primary)}.timeline-terminal-actions{display:flex;align-items:center;gap:var(--space-2)}.timeline-verify{border-top:1px solid var(--border);padding-top:var(--space-2)}.debug-panel{width:min(720px,100%);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--space-4);margin-top:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3)}.debug-title{font-size:var(--text-lg);line-height:var(--lh-lg);font-weight:600}.debug-section-title{font-weight:400}.debug-empty,.debug-section-title{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted)}.debug-scroll{overflow-x:auto}.debug-table{width:100%;border-collapse:collapse;font-size:var(--text-sm);line-height:var(--lh-sm)}.debug-table th{text-align:left;font-weight:400;color:var(--text-muted)}.debug-table td,.debug-table th{height:32px;padding-right:var(--space-4);white-space:nowrap}.debug-table td{border-top:1px solid var(--border)}.debug-error-class{max-width:160px;overflow:hidden;text-overflow:ellipsis}.debug-chip{display:inline-flex;align-items:center;height:18px;padding:0 var(--space-2);border-radius:var(--radius-sm);font-size:var(--text-xs);line-height:var(--lh-xs);font-weight:600;letter-spacing:.01em}.debug-chip-ok{background:var(--accent-tint);color:var(--accent)}.debug-chip-error{background:var(--error-tint);color:var(--error)}.debug-chip-warn{background:var(--warn-tint);color:var(--warn)}.debug-chip-disabled{background:transparent;border:1px solid var(--border-strong);color:var(--text-muted)}.debug-dupe-row{width:100%;min-height:32px;display:flex;align-items:center;text-align:left;font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-primary);border-radius:var(--radius-sm);padding:0 var(--space-2)}.debug-dupe-row:hover{background-color:var(--hover-overlay)}.debug-dupe-detail{display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-2)}.debug-dupe-fields{display:flex;flex-wrap:wrap;gap:var(--space-3);color:var(--text-primary)}.debug-dupe-fields,.debug-json{font-size:var(--text-sm);line-height:var(--lh-sm)}.debug-json{background:var(--well);border-radius:var(--radius-md);padding:var(--space-3);max-height:240px;overflow:auto;white-space:pre}.debug-notice{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-muted)}