/* Wallet swap flow, retaining the sage / industrial visual direction. */
.hero{grid-template-columns:minmax(0,1fr) 400px;gap:clamp(28px,4.5vw,80px);padding-top:38px}.trade-panel{padding:22px;background:#dce4d1;border:1px solid #87977955;box-shadow:0 12px 38px #26361b0b;margin-top:0}.trade-head .mono{font-size:10px;letter-spacing:.08em;color:#415236}.amount-card{background:#c8d5bb;border-color:#98aa862e}.receive-card{background:#d1ddc5}.field-top,.field-bottom{font-size:11px}.field-bottom{margin-top:4px}.amount-row input{font-size:34px}.amount-row>strong{font-size:29px}.token-button{padding:7px 10px;font-size:13px}.token-button .token-icon{width:24px;height:24px}.routes-heading h2{font-size:13px}.routes-heading>span{font-size:8px}.trade-panel .route-options{max-height:220px;gap:8px;scrollbar-gutter:stable}.route-option{border-radius:9px}.trade-panel .route-option{padding:12px 10px}.route-name,.route-result strong{font-size:12px}.route-name em{font:8px Archivo,sans-serif;background:#b2c4a54d;border-radius:4px;padding:2px 4px}.route-option.selected .route-name em{background:#c1d0e7}.route-hop,.route-result small{font-size:8px}.route-result{max-width:116px}.trade-detail{font-size:11px;margin:15px 0}.trade-detail button{font-size:12px;padding:4px 9px;border:1px solid #9dab9066;border-radius:20px}.button.full{min-height:46px;font-size:13px}.route-review{background:var(--lime);border-color:#b7d861;margin-top:9px}.trade-panel .route-review{padding:13px}.find-secondary{background:transparent!important;border-color:#899e7266!important;min-height:36px!important;font-size:11px!important}.quote-details{display:grid;gap:7px;padding:13px 0 0;font-size:10px;color:#536745}.quote-details>div{display:flex;justify-content:space-between;gap:12px}.quote-details strong{font-size:11px;font-weight:550;text-align:right;overflow-wrap:anywhere}.quote-details .impact-high{color:#984629}.route-shortcuts{border-top:1px solid #9aad8655;padding-top:12px}.snapshot{font-size:8px;line-height:1.7}.preview-note{font:10px/1.7 Archivo,sans-serif}.route-shortcuts button{font-size:10px}.swap-steps{display:flex;gap:5px;margin:0 0 22px;padding:10px 0;border-block:1px solid #b4c3a3;font-size:11px}.swap-steps>span{flex:1;color:#718363;display:flex;align-items:center;gap:6px}.swap-steps b{display:grid;place-items:center;width:22px;height:22px;font-size:10px;border:1px solid #afbf9d;border-radius:50%}.swap-steps .current{color:#244325;font-weight:600}.swap-steps .current b{background:#c3e791;border-color:#a2cb6d}.swap-review-pair{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:13px}.swap-review-pair>div{background:#cdd9bf;border:1px solid #b2c59e;border-radius:10px;padding:14px}.swap-review-pair>div:last-child{background:#c4d5b2}.swap-review-pair span{display:block;font-size:11px;color:#5f7450}.swap-review-pair strong{display:block;font-size:29px;font-weight:600;letter-spacing:-.04em;overflow-wrap:anywhere;margin-top:6px;line-height:1.2}.swap-review-pair small{font-size:14px;letter-spacing:0;font-weight:500}.swap-contracts{margin:16px 0;font-size:10px;line-height:1.7;color:#506243}.swap-contracts summary{cursor:pointer;font-size:12px;padding:6px 0}.swap-contracts p{padding-top:8px;overflow-wrap:anywhere}.swap-contracts code{font:9px 'Fragment Mono'}.swap-contracts a,.modal-row a{text-decoration:underline}.swap-explanation{font-size:11px;line-height:1.65;color:#506442;background:#d0ddc2;padding:12px;border-radius:7px;margin:12px 0}.swap-ack{display:flex;gap:9px;font-size:11px;line-height:1.6;align-items:flex-start;margin:17px 0}.swap-ack input{flex:none;margin-top:3px;accent-color:#315cd7;width:15px;height:15px}.swap-message{font-size:11px;line-height:1.7;margin:13px 0;color:#4c6c3c}.swap-message.error{color:#99472e}.swap-refresh{font-size:11px;display:block;margin:12px auto 0;padding:6px;text-decoration:underline}.swap-loading{font-size:13px;line-height:1.7;color:#566b48;padding:20px 0}.transaction-activity{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#cbdcba;border:1px solid #a8c18c;border-radius:8px;padding:13px;margin:12px 0;font-size:10px}.transaction-activity div{flex:1;min-width:160px}.transaction-activity strong,.transaction-activity small{display:block}.transaction-activity small{font-size:10px;margin-top:4px;color:#566d46}.transaction-activity a,.transaction-activity button{font-size:10px;text-decoration:underline;padding:3px}.activity-dot{height:7px;width:7px;background:#4c7550;border-radius:50%}.transaction-link{display:block;font-size:12px;overflow-wrap:anywhere;text-decoration:underline;margin:18px 0}.pending-title{font-size:22px;line-height:1.25;letter-spacing:-.03em;margin:18px 0 10px}.success-mark,.failure-mark{display:grid;place-items:center;border:1px solid #96b777;background:#c9e5a8;width:52px;height:52px;border-radius:50%;font-size:24px}.failure-mark{background:#e2c4b0;border-color:#bb8766}.pending-orbit{width:45px;height:45px;border:2px solid #9dad8c;border-top-color:#315cd7;border-radius:50%;animation:swap-spin 1.5s linear infinite}dialog{max-height:calc(100dvh - 30px);overflow:auto;width:min(460px,calc(100% - 28px));padding:28px}.modal-row{gap:15px}.modal-row strong{max-width:64%;overflow-wrap:anywhere}.button:disabled{transform:none}.route-picker-input{font-size:12px}.picker-help{font-size:12px}.modal-choice{min-height:48px}.route-summary-note{font:9px/1.7 'Fragment Mono';color:#627451;margin:12px 0}
@keyframes swap-spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.hero{grid-template-columns:minmax(0,1fr) 420px}}@media(max-width:1100px) and (min-width:801px){.hero{grid-template-columns:minmax(0,1fr) 360px;gap:24px}.hero-copy h1{font-size:60px}.trade-panel{padding:18px}.route-hop{font-size:7px}.route-result{max-width:100px}.amount-row>strong{font-size:26px}}@media(max-width:800px){.hero{grid-template-columns:1fr;gap:24px;padding-top:30px}.trade-panel{max-width:540px;padding:18px}.scene{height:clamp(220px,50vw,320px)}.trade-panel .route-options{max-height:230px}.trade-head{margin-bottom:14px}.trade-panel .amount-card{padding:14px}.token-button{min-height:40px}.field-top #load-balance{font-size:10px;min-height:24px}.route-picker-input{min-height:46px}.button.full{min-height:48px}.route-shortcuts button{min-height:30px}.slip-options button{min-height:44px}.snapshot{font-size:9px}.swap-review-pair strong{font-size:27px}dialog{padding:24px 20px}.modal-row{font-size:11px;padding:11px 0}.close-modal{min-width:34px;min-height:34px}.route-options{overscroll-behavior:contain}}@media(prefers-reduced-motion:reduce){.pending-orbit{animation:none}}
.swap-token-note{font-size:10px;line-height:1.6;color:#66775b;margin:12px 0}
