#swapView{max-width:100%}#swapView .swap-grid{min-width:0}#swapView .token-network-menu--list{width:264px;max-height:340px;overflow:hidden}#swapView .swap-review-card{max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain}#swapView .swap-mode-toggle{display:flex;gap:4px;padding:4px;margin:2px 0 12px;background:hsla(0,0%,100%,.04);border:1px solid hsla(0,0%,100%,.06);border-radius:14px}#swapView .swap-mode-seg{flex:1 1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 10px;border:0;border-radius:11px;background:transparent;color:var(--text-muted,hsla(0,0%,100%,.55));cursor:pointer;font-family:var(--font,inherit);-webkit-tap-highlight-color:transparent;transition:background .15s,color .15s,box-shadow .15s}#swapView .swap-mode-seg:hover{color:var(--text,#fff)}#swapView .swap-mode-seg-logo{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-bottom:2px;border-radius:50%;overflow:hidden;background:hsla(0,0%,100%,.06);color:var(--text-muted,hsla(0,0%,100%,.6))}#swapView .swap-mode-seg-logo img{width:100%;height:100%;object-fit:contain}#swapView .swap-mode-seg.active .swap-mode-seg-logo{background:rgba(var(--accent-rgb),.14);color:var(--rh-lime,#cf0)}#swapView .swap-mode-seg.active{background:rgba(var(--accent-rgb),.1);color:#fff;box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.35)}#swapView .swap-mode-seg.active .swap-mode-seg-title{color:var(--rh-lime,#cf0)}#swapView .swap-mode-seg-title{font-size:.9rem;font-weight:600;line-height:1.1}#swapView .swap-mode-seg-sub{font-size:.68rem;opacity:.7;line-height:1}#swapView .swap-mode-note{margin:-6px 0 10px;font-size:.75rem;color:#e0b34a}#swapView .swap-route-strip{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 2px;padding:8px 12px;background:hsla(0,0%,100%,.03);border:1px solid hsla(0,0%,100%,.06);border-radius:12px}#swapView .swap-route-strip-provider{display:flex;align-items:center;gap:8px;min-width:0}#swapView .swap-route-strip-logo{display:inline-flex;width:22px;height:22px;flex-shrink:0;border-radius:50%;overflow:hidden;background:hsla(0,0%,100%,.05)}#swapView .swap-route-strip-logo img{width:100%;height:100%;object-fit:contain}#swapView .swap-route-strip-name{font-size:.85rem;font-weight:600;color:var(--text,#fff);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#swapView .swap-route-strip-badge{flex-shrink:0;padding:2px 7px;border-radius:999px;background:rgba(var(--accent-rgb),.14);color:var(--rh-lime,#cf0);font-size:.6rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}#swapView .swap-quote-timer{position:relative;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex-shrink:0}#swapView .swap-quote-timer-track{stroke:hsla(0,0%,100%,.12)}#swapView .swap-quote-timer-fill{stroke:var(--rh-lime,#cf0);transition:stroke-dashoffset 1s linear}#swapView .swap-quote-timer-num{position:absolute;font-size:.56rem;font-weight:600;color:var(--text-muted,hsla(0,0%,100%,.7));font-feature-settings:"tnum";font-variant-numeric:tabular-nums}#swapView .dex-sell-block .field-header-right{position:static;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:4px;min-width:0;min-height:0;flex:1 1 auto;overflow:visible}#swapView .dex-sell-block .field-header-right .balance-text,#swapView .dex-sell-block .field-header-right:focus-within .balance-text,#swapView .dex-sell-block .field-header-right:hover .balance-text,#swapView .dex-sell-block:focus-within .field-header-right .balance-text,#swapView .dex-sell-block:hover .field-header-right .balance-text{display:block;position:static;transform:none;opacity:1;visibility:visible;max-width:100%}#swapView .dex-sell-block .field-header-right .amount-pct-group,#swapView .dex-sell-block .field-header-right:focus-within .amount-pct-group,#swapView .dex-sell-block .field-header-right:hover .amount-pct-group,#swapView .dex-sell-block:focus-within .field-header-right .amount-pct-group{position:static;transform:none;opacity:1;visibility:visible;pointer-events:auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}#swapView .dex-sell-block .field-header-right .balance-text{font-size:.74rem;color:var(--text-muted,hsla(0,0%,100%,.6))}#swapView .amount-pct-btn{padding:3px 9px;font-size:.7rem;font-weight:600;line-height:1.4;border:none;border-radius:8px;background:hsla(0,0%,100%,.07);color:var(--text-muted,hsla(0,0%,100%,.72));transition:background .15s,color .15s}#swapView .amount-pct-btn:focus-visible,#swapView .amount-pct-btn:hover{background:hsla(0,0%,100%,.14);color:#fff;outline:none}#swapView .amount-pct-btn--max{background:rgba(var(--accent-rgb),.12);color:var(--rh-lime,#cf0)}#swapView .amount-pct-btn--max:focus-visible,#swapView .amount-pct-btn--max:hover{background:rgba(var(--accent-rgb),.2);color:var(--rh-lime,#cf0)}@media (hover:none),(pointer:coarse){#swapView .dex-sell-block .amount-pct-btn{min-height:30px}}@media (max-width:1024px){#swapView.trade-section-bridge .swap-grid{grid-template-columns:minmax(0,1fr);max-width:var(--panel-w);width:100%;margin:0 auto}#swapView.trade-section-bridge .routes-card,#swapView.trade-section-bridge .swap-card{min-height:0}#swapView.trade-section-bridge .routes-card{max-height:none;overflow:visible}#swapView.trade-section-bridge .routes-body,#swapView.trade-section-bridge .routes-scroll{overflow:visible;min-height:0}#swapView.trade-section-bridge .multiswap-status-panel{min-height:0}}@media (max-width:768px){#swapView.trade-section-swap .swap-layout{padding:16px 0 28px}#swapView.trade-section-bridge .swap-layout{padding-top:10px}#swapView.trade-section-bridge .multiswap-status-panel,#swapView.trade-section-bridge .routes-card,#swapView.trade-section-bridge .swap-card{padding:18px 16px}#swapView .card-tab,#swapView .dex-tab{min-height:40px}#swapView .card-tab{padding:8px 4px}#swapView .amount-pct-btn{padding:8px 10px;min-height:32px}#swapView .swap-mode-seg{min-height:48px}#swapView .bridge-settings-btn,#swapView .dex-tool-btn{min-height:40px;min-width:40px}#swapView .swap-review-close,#swapView .token-modal-close{width:40px;height:40px}#swapView .receiver-input{min-height:44px;font-size:16px}#swapView .dex-deadline-wrap input,#swapView .dex-slippage-custom input,#swapView .token-network-search input,#swapView .token-search-wrap input{font-size:16px}#swapView .checkbox-label{min-height:40px;align-items:center;gap:10px}#swapView .checkbox-label input{width:18px;height:18px;flex-shrink:0}}@media (max-width:640px){#swapView .swap-review-modal{padding:12px;align-items:flex-end}#swapView .swap-review-card{max-height:calc(100dvh - 24px)}#swapView .swap-review-actions{position:-webkit-sticky;position:sticky;bottom:0;z-index:2;margin:0 -18px -16px;padding:10px 18px calc(14px + env(safe-area-inset-bottom, 0px));background:var(--modal-bg);border-top:1px solid hsla(0,0%,100%,.06)}}@media (max-width:480px){#swapView .swap-route-mode-list{grid-template-columns:1fr}#swapView.trade-section-bridge .amount-input,#swapView.trade-section-swap .amount-input{font-size:1.9rem}#swapView .field-usd{white-space:nowrap}#swapView .swap-route-mode-amount{font-size:.94rem}#swapView .dex-route-strip-head{flex-wrap:wrap;gap:6px 10px}#swapView .swap-review-meta-row{gap:10px}#swapView .swap-review-meta-value{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}#swapView .token-modal{padding:0;align-items:flex-end}#swapView .token-modal-card{max-width:none;width:100%;height:94dvh;max-height:94dvh;border-radius:20px 20px 0 0}#swapView .token-past-section{padding:0 16px 12px}#swapView .token-past-list{margin-inline:-16px;padding-inline:16px;scroll-padding-inline:16px}#swapView .token-list-wrap{padding:8px 10px calc(16px + env(safe-area-inset-bottom, 0px))}#swapView .token-modal-search-row{padding:12px 16px}#swapView .token-network-filter{flex-shrink:1;min-width:0}#swapView .token-network-btn{max-width:44vw;overflow:hidden}#swapView .token-network-btn>span:not(.network-globe):not(.token-chevron-sm){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#swapView .token-network-menu,#swapView .token-network-menu--list{width:min(340px,calc(100vw - 32px));max-height:60dvh}#swapView .bridge-slippage-popover{width:min(316px,calc(100vw - 48px))}#swapView .dex-settings-popover{right:12px;width:min(320px,calc(100vw - 24px))}#swapView .route-card-meta,#swapView .route-panel-head{flex-wrap:wrap;row-gap:4px}#swapView .ms-token-pair{flex-wrap:nowrap}#swapView .ms-token-pill{min-width:0}#swapView .ms-token-pill>span:not(.token-chevron){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#swapView .ms-token-pill-wrap{flex:1 1;min-width:0}#swapView .ms-token-pill-wrap .ms-token-pill{width:100%}#swapView .ms-batch-item{min-width:0}#swapView .ms-batch-item-addr{overflow:hidden;text-overflow:ellipsis}#swapView .swap-toast-stack{right:12px;max-width:calc(100vw - 24px)}#swapView .swap-toast{width:calc(100vw - 24px);min-width:0}}@media (max-width:400px){#swapView.trade-section-bridge .amount-input,#swapView.trade-section-swap .amount-input{font-size:1.65rem}#swapView.trade-section-bridge .token-pill,#swapView.trade-section-swap .token-pill,#swapView.trade-section-swap .token-pill.unselected{min-width:0}#swapView .field-header{flex-wrap:wrap;gap:2px 8px}#swapView.trade-section-swap .swap-card{padding:14px 12px}#swapView.trade-section-bridge .multiswap-status-panel,#swapView.trade-section-bridge .routes-card,#swapView.trade-section-bridge .swap-card{padding:16px 12px}}.ms-legs{gap:8px}.ms-leg-row,.ms-legs{display:flex;flex-direction:column}.ms-leg-row{gap:4px;min-width:0}.ms-leg-controls{display:flex;align-items:center;gap:8px;min-width:0}.ms-leg-idx{flex:0 0 auto;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:var(--text-dim);font-size:.7rem;font-weight:600}.ms-leg-addr,.ms-leg-idx{background:var(--bg-input);border:1px solid var(--border)}.ms-leg-addr{flex:1 1 auto;min-width:0;padding:10px 12px;border-radius:10px;color:var(--text);font-family:var(--mono);font-size:16px;line-height:1.3}.ms-leg-addr:focus{outline:none;border-color:var(--accent)}.ms-leg-addr::placeholder{color:var(--text-dim);font-family:var(--font)}.ms-leg-addr.invalid,.ms-leg-addr.invalid:focus{border-color:var(--danger)}.ms-leg-pct{flex:0 0 64px;width:64px;padding:10px 8px;background:var(--bg-input);border:1px solid var(--border);border-radius:10px;color:var(--text);font-family:var(--mono);font-size:16px;text-align:right}.ms-leg-pct:focus{outline:none;border-color:var(--accent)}.ms-leg-use{flex:0 0 auto;min-height:40px;padding:0 10px;background:transparent;border:1px solid var(--border);border-radius:10px;color:var(--text-dim);font-family:var(--font);font-size:.72rem;font-weight:600;white-space:nowrap;cursor:pointer}.ms-leg-use:hover:not(:disabled){color:var(--text);border-color:var(--accent)}.ms-leg-use:disabled{opacity:.4;cursor:not-allowed}.ms-leg-remove{flex:0 0 40px;width:40px;height:40px;min-width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:1px solid var(--border);border-radius:10px;color:var(--text-dim);font-size:1.1rem;line-height:1;cursor:pointer}.ms-leg-remove:hover:not(:disabled){color:var(--danger);border-color:var(--danger)}.ms-leg-remove:disabled{opacity:.35;cursor:not-allowed}.ms-leg-error{margin:0 0 0 30px;color:var(--danger);font-size:.72rem;line-height:1.35}.ms-leg-add{align-self:flex-start;margin-top:8px;min-height:40px;padding:0 14px;background:transparent;border:1px dashed var(--border);border-radius:10px;color:var(--text);font-family:var(--font);font-size:.8rem;font-weight:600;cursor:pointer}.ms-leg-add:hover{border-color:var(--accent);color:var(--accent)}.ms-legs-cap-note{color:var(--danger)}@media (max-width:480px){.ms-leg-controls{flex-wrap:wrap}.ms-leg-addr{flex-grow:1;flex-shrink:1;flex-basis:calc(100% - 30px)}.ms-leg-pct{margin-left:30px}.ms-leg-use{min-height:40px}.ms-leg-error{margin-left:0}}@media (max-width:768px){#swapView .orders-strip-toggle{width:100%;min-height:44px;justify-content:flex-start}#swapView .orders-strip-chevron{margin-left:auto;font-size:1rem;line-height:1}#swapView .orders-strip-dismiss{width:32px;height:32px;margin:-4px -4px -4px 0}#swapView .orders-strip-link{padding:8px 0;margin:-8px 0}#swapView .orders-strip-viewall{display:none}}@media (max-width:480px){#swapView .orders-strip-card{min-width:224px;max-width:264px}#swapView .orders-strip-card--more{min-width:132px;max-width:150px}}.ms-alloc-note{margin:10px 0 0;padding:8px 12px;background:var(--bg-input);border:1px solid var(--border);border-radius:10px;color:var(--text-muted);font-size:.78rem;line-height:1.4}.ms-recipient-block{margin-top:14px;display:flex;flex-direction:column;gap:8px;min-width:0}.ms-recipient-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.ms-seg{display:flex;gap:2px;padding:3px;background:var(--bg-input);border:1px solid var(--border);border-radius:999px}.ms-seg-btn{min-height:28px;padding:0 10px;border:0;border-radius:999px;background:transparent;color:var(--text-muted);font-family:var(--font);font-size:.72rem;font-weight:600;white-space:nowrap;cursor:pointer;transition:color .15s ease,background .15s ease}.ms-seg-btn:hover{color:var(--text)}.ms-seg-btn.active{background:var(--accent);color:#0b0b0b}.ms-seg-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.ms-leg-meta{margin:0 0 0 30px;color:var(--text-dim);font-size:.72rem;line-height:1.35}.ms-leg-addr,.ms-leg-pct{border-radius:12px;min-height:44px}.ms-leg-add{border-radius:12px}.ms-quote-note{margin:0 0 10px;color:var(--text-dim);font-size:.76rem;line-height:1.4}.ms-route-each{color:var(--text-dim);font-size:.72em;font-weight:500}.swap-flip:disabled{opacity:.4;cursor:not-allowed}.ms-batch-preview{margin-bottom:10px;flex-shrink:0;max-height:260px;overflow-y:auto}@media (max-width:560px){.ms-recipient-head{flex-direction:column;align-items:stretch;gap:8px}.ms-seg{justify-content:space-between}.ms-seg-btn{flex:1 1;min-height:34px;padding:0 6px;text-align:center}}@media (max-width:480px){.ms-leg-remove,.ms-leg-use{min-height:40px}.ms-alloc-note{font-size:.74rem}}.ms-leg-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main actions" "meta meta";align-items:center;grid-gap:4px 8px;gap:4px 8px}.ms-leg-main{grid-area:main;min-width:0}.ms-leg-actions,.ms-leg-main{display:flex;align-items:center;gap:8px}.ms-leg-actions{grid-area:actions}.ms-leg-error,.ms-leg-meta{grid-area:meta}@media (max-width:480px){.ms-leg-row{grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "meta" "actions";row-gap:6px}.ms-leg-row+.ms-leg-row{margin-top:4px;padding-top:10px;border-top:1px solid var(--border)}.ms-leg-actions{margin-left:30px}.ms-leg-use{flex:0 0 auto}.ms-leg-error,.ms-leg-meta{margin-left:30px}.ms-leg-pct{margin-left:0;flex:0 0 72px}}[data-brand=stable] #swapView .swap-mode-toggle,[data-brand=stable] #swapView .swap-route-strip{background:var(--bg-input);border-color:var(--border)}[data-brand=stable] .ms-seg-btn.active{color:#001e1e}