body.ww-swap-page{--surface:#0e241b;--line:#284337;--muted:#a8bdb1;--jupiter-plugin-primary:156,255,205;--jupiter-plugin-background:14,36,27;--jupiter-plugin-primaryText:238,250,241;--jupiter-plugin-warning:222,181,105;--jupiter-plugin-interactive:32,61,46;--jupiter-plugin-module:20,46,34;margin:0;background:#06110b;color:#eefaf1;font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ww-swap-page *{box-sizing:border-box}.ww-swap-page [hidden]{display:none!important}.ww-swap-page a{color:inherit}.ww-swap-page button,.ww-swap-page input{font:inherit}.ww-swap-page :focus-visible{outline:2px solid #9cffcd;outline-offset:4px}.ww-swap-workspace{max-width:1168px;margin:auto;padding:32px 24px 48px}.ww-swap-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.ww-swap-intro h1{font-size:36px;line-height:1.2;font-weight:600;letter-spacing:-1.2px;margin:8px 0}.ww-swap-intro p{margin:0;color:var(--muted)}.ww-swap-page .ledger-kicker{font-size:13px;letter-spacing:.12em;color:var(--muted)}.ww-swap-fee{font-size:13px;white-space:nowrap;color:var(--muted)}
.ww-swap-search{position:relative;margin-bottom:24px}.ww-swap-search label{display:block;font-size:13px;margin-bottom:8px;color:var(--muted)}.ww-swap-searchbar{position:relative}.ww-swap-searchbar input{width:100%;height:56px;padding:16px 104px 16px 48px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:inherit;outline:none}.ww-swap-searchbar input:focus{border-color:#719b84}.ww-swap-searchicon{position:absolute;left:16px;top:16px;color:var(--muted);font-size:20px;line-height:24px}.ww-swap-searchbar button{position:absolute;right:8px;top:8px;height:40px;padding:8px 16px;border:0;border-radius:8px;background:#203d2e;color:inherit;cursor:pointer}.ww-swap-search-status{font-size:13px;min-height:20px;color:var(--muted);margin:8px 0 0}.ww-swap-results{position:absolute;z-index:20;top:88px;left:0;right:0;max-height:400px;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 16px 40px #0006}.ww-swap-results button{display:flex;align-items:center;gap:16px;width:100%;padding:16px;border:0;border-bottom:1px solid var(--line);background:none;color:inherit;text-align:left;cursor:pointer}.ww-swap-results button:hover{background:#203d2e}.ww-swap-resulttext{min-width:0}.ww-swap-resulttext strong,.ww-swap-resulttext small{display:block;font-size:14px;font-weight:400}.ww-swap-resulttext small{font:13px/1.5 ui-monospace,monospace;overflow-wrap:anywhere;color:var(--muted)}
.ww-swap-columns{display:grid;grid-template-columns:minmax(0,55fr) minmax(0,45fr);gap:24px;align-items:start}.ww-swap-left{min-width:0;display:grid;gap:24px}.ww-swap-right{min-width:0;position:sticky;top:88px}.ww-swap-card{padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:24px}.ww-swap-empty{min-height:240px;display:grid;place-content:center;justify-items:center;text-align:center;gap:8px}.ww-swap-empty h2{font-size:22px;margin:0;font-weight:500}.ww-swap-empty p{margin:0;color:var(--muted)}.ww-swap-empty>.ww-swap-lineicon{width:32px;height:32px;margin-bottom:8px}.ww-swap-tokenidentity{display:flex;align-items:center;gap:16px}.ww-swap-tokenname{min-width:0}.ww-swap-tokenname h2{font-size:28px;line-height:1.2;font-weight:600;letter-spacing:-.5px;overflow-wrap:anywhere;margin:0 0 8px}.ww-swap-tokenname p{font-size:13px;color:var(--muted);margin:0}.ww-swap-tokenlogo,.ww-swap-resultlogo{flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#203d2e;overflow:hidden}.ww-swap-tokenlogo{width:56px;height:56px}.ww-swap-resultlogo{width:40px;height:40px}.ww-swap-tokenlogo img,.ww-swap-resultlogo img{width:100%;height:100%;object-fit:cover}.ww-swap-tokencontract{display:flex;align-items:center;gap:8px;margin-top:24px}.ww-swap-tokencontract code{min-width:0;overflow-wrap:anywhere;font:13px/1.6 ui-monospace,monospace;color:var(--muted)}.ww-swap-smallbutton{flex-shrink:0;border:1px solid var(--line);border-radius:8px;background:transparent;color:inherit;font-size:13px;padding:8px;min-height:40px;cursor:pointer}.ww-swap-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 0;padding-top:16px;border-top:1px solid var(--line)}.ww-swap-metrics dt{font-size:13px;color:var(--muted);margin-bottom:8px}.ww-swap-metrics dd{font-size:16px;line-height:1.5;font-weight:400;margin:0;overflow-wrap:anywhere}
.ww-swap-riskheading,.ww-swap-widgetheading{display:flex;align-items:center;justify-content:space-between;gap:16px}.ww-swap-riskheading h2,.ww-swap-widgetheading h2{font-size:18px;font-weight:600;margin:0}.ww-swap-riskheading small,.ww-swap-widgetheading span{font-size:13px;color:var(--muted)}.ww-swap-warden{font-size:13px;font-weight:400;margin:16px 0 24px;color:var(--muted)}.ww-swap-riskrow{position:relative;border:0;border-top:1px solid var(--line);border-radius:0;background:none;margin:0;padding:0}.ww-swap-riskrow[data-tone=red]:before{position:absolute;content:'';left:-24px;top:12px;bottom:12px;width:2px;background:#df7d86}.ww-swap-riskrow summary{list-style:none;display:grid;grid-template-columns:20px minmax(100px,1fr) minmax(80px,1.1fr) 80px;align-items:center;gap:8px;min-height:72px;padding:16px 0;cursor:pointer}.ww-swap-riskrow summary::-webkit-details-marker{display:none}.ww-swap-lineicon{width:20px;height:20px;color:var(--muted)}.ww-swap-rowlabel{font-size:13px}.ww-swap-rowvalue{font-size:13px;line-height:1.5;text-align:right;padding-right:8px;overflow-wrap:anywhere}.ww-swap-rowvalue small{display:block;font-size:13px;color:var(--muted);margin-top:4px}.ww-swap-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;height:28px;width:80px;font-size:13px;white-space:nowrap;font-weight:400;background:#25332d;color:#bbc5bf}.ww-swap-pill[data-tone=green]{background:#163e2c;color:#a0e6bc}.ww-swap-pill[data-tone=yellow]{background:#3b3423;color:#e5c58b}.ww-swap-pill[data-tone=red]{background:#402930;color:#f1a4ae}.ww-swap-rowdetail{padding:0 0 16px 28px;color:var(--muted);font-size:13px;overflow-wrap:anywhere}.ww-swap-rowdetail p{margin:0 0 8px}.ww-swap-source{font-size:13px}.ww-swap-risknote{font-size:13px;color:var(--muted);margin:24px 0 8px}.ww-swap-history{font-size:13px;text-underline-offset:4px}.ww-swap-controlflags{font-size:13px;border-left:2px solid #df7d86;padding-left:16px}
.ww-swap-tip,.ww-swap-widget-status{color:var(--muted);font-size:13px;line-height:1.6;margin:16px 0}.ww-swap-widget-status:empty{display:none}.ww-swap-ack{display:flex;align-items:center;gap:8px;font-size:13px;margin:16px 0 24px;padding:0;border:0;background:none;color:inherit;cursor:pointer}.ww-swap-ack input{width:16px;height:16px;accent-color:#9cffcd;margin:0;flex-shrink:0}.ww-swap-widget-placeholder{display:grid;place-content:center;justify-items:center;text-align:center;gap:8px;min-height:200px;color:var(--muted);font-size:13px}.ww-swap-widget-placeholder strong{color:inherit;font-size:15px;font-weight:400}.ww-swap-widget{width:100%;height:auto;min-width:0;min-height:0;background:var(--surface)}.ww-swap-widget #jupiter-plugin{width:100%!important;max-width:none!important;height:auto!important;font-family:inherit!important}.ww-swap-widget #jupiter-plugin *{font-family:inherit}.ww-swap-widget #jupiter-plugin input,.ww-swap-widget #jupiter-plugin button{font-family:inherit}.ww-swap-how{margin-top:16px;border-top:1px solid var(--line);padding-top:16px;font-size:13px;color:var(--muted)}.ww-swap-how summary{cursor:pointer;color:inherit;min-height:32px}.ww-swap-how p{margin:8px 0;font-size:13px;line-height:1.6}.ww-swap-disclosure,.ww-swap-trust{font-size:13px;line-height:1.6;color:var(--muted);margin:16px 0 0}.ww-swap-trust{margin-top:32px}.ww-swap-page .ww-site-footer{font-size:13px}.ww-swap-page .ww-site-footer small{font-size:13px}
.ww-wallet-modal{width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:24px;border:1px solid var(--line);border-radius:24px;background:#0e241b;color:#eefaf1;font:14px/1.5 system-ui;box-shadow:0 24px 80px #0008;overflow:auto}.ww-wallet-modal::backdrop{background:#020805b8;backdrop-filter:blur(6px)}.ww-wallet-modal header{display:flex;align-items:center;justify-content:space-between;gap:16px}.ww-wallet-modal h2{font-size:22px;margin:0;font-weight:600}.ww-wallet-modal h3{font-size:14px;font-weight:500;margin:24px 0 16px}.ww-wallet-modal p{font-size:13px;color:var(--muted);margin:8px 0 16px}.ww-wallet-close{background:none;color:inherit;border:0;font-size:24px!important;cursor:pointer;width:40px;height:40px}.ww-wallet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ww-wallet-choice{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;border:1px solid var(--line);border-radius:16px;min-height:120px;padding:16px 8px;background:none;color:inherit;text-decoration:none;cursor:pointer;text-align:center;font-size:13px}.ww-wallet-choice:hover{background:#203d2e}.ww-wallet-choice img{width:32px;height:32px;object-fit:contain;border-radius:8px}.ww-wallet-choice small{font-size:13px;color:var(--muted)}.ww-wallet-choice:disabled{opacity:.6;cursor:wait}.ww-wallet-pair{border-top:1px solid var(--line);margin-top:24px;padding-top:16px}.ww-wallet-pair button{width:100%;min-height:48px;border:1px solid var(--line);border-radius:12px;background:#203d2e;color:inherit;padding:8px 16px;cursor:pointer}.ww-wallet-pair button:disabled{opacity:.6;cursor:default}.ww-wallet-qr{width:208px;height:208px;background:white;border-radius:16px;padding:8px;margin:16px auto}.ww-wallet-qr svg{display:block;width:100%;height:100%}.ww-wallet-error{font-size:13px;min-height:20px;color:inherit!important}.ww-wallet-modal footer{margin-top:16px;font-size:13px;color:var(--muted)}
@media(max-width:800px){.ww-swap-workspace{padding:24px 16px 32px}.ww-swap-intro{display:block;margin-bottom:24px}.ww-swap-intro h1{font-size:30px}.ww-swap-fee{display:block;margin-top:16px}.ww-swap-columns{grid-template-columns:minmax(0,1fr)}.ww-swap-right{position:static}.ww-swap-card{padding:16px;border-radius:16px}.ww-swap-tokencontract{gap:8px}.ww-swap-tokencontract code{font-size:13px}.ww-swap-tokenname h2{font-size:26px}.ww-swap-metrics{gap:8px}.ww-swap-metrics dd{font-size:14px}.ww-swap-riskrow summary{grid-template-columns:20px minmax(0,1fr) 80px;row-gap:8px;padding:16px 0}.ww-swap-rowvalue{grid-column:2;grid-row:2;text-align:left;padding:0;color:var(--muted)}.ww-swap-pill{grid-column:3;grid-row:1 / 3}.ww-swap-riskrow[data-tone=red]:before{left:-16px}.ww-swap-riskheading{gap:8px}.ww-swap-riskheading h2{font-size:18px}.ww-swap-riskheading small{white-space:nowrap}.ww-swap-ack{align-items:flex-start}.ww-swap-ack input{margin-top:2px}.ww-wallet-modal{padding:16px}.ww-wallet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ww-wallet-choice{padding:16px 8px}}
@media(prefers-reduced-motion:no-preference){.ww-wallet-choice{transition:background .15s}}

.ww-wallet-iconfallback{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#203d2e;color:var(--muted);font-size:13px}

/* Step 4: bounded mobile pills & row wrapping. */
.ww-swap-riskrow summary{min-width:0;grid-template-columns:20px minmax(0,.8fr) minmax(0,1.2fr) minmax(0,80px)}
.ww-swap-riskrow summary>*{min-width:0}
.ww-swap-pill{width:auto;max-width:100%;min-width:0;height:auto;min-height:28px;padding:5px 8px;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.25}
@media(max-width:800px){.ww-swap-riskrow summary{grid-template-columns:20px minmax(0,1fr) minmax(0,80px)}.ww-swap-pill{grid-column:3;grid-row:1 / 3}}
@media(max-width:390px){.ww-swap-pill{font-size:11px;padding:5px}.ww-swap-riskrow summary{gap:5px}}

/* Phase 6: chart beside recorded checks and unchanged Jupiter terminal. */
#ww-swap-chart-card h2{font-size:18px;margin:0 0 14px}#ww-swap-chart iframe{display:block;width:100%;height:340px;border:0;border-radius:13px;background:#071810}#ww-swap-chart p{color:#b4c7ba}.ww-swap-ack{border:1px solid #ac8a54;border-radius:12px;background:#2e271b;padding:12px 14px;font-weight:750}.ww-swap-ack input{width:20px;height:20px}.ww-swap-widget-placeholder strong{font-weight:700}.ww-swap-columns{align-items:start}@media(max-width:800px){#ww-swap-chart iframe{height:275px}.ww-swap-columns{gap:16px}.ww-swap-left{gap:16px}}

/* Read-only GeckoTerminal OHLCV chart, independent of the Jupiter swap flow. */
#ww-swap-chart .ww-gecko-candles{display:block;width:100%;height:340px;min-width:0;background:#071810;border-radius:13px;overflow:hidden}
#ww-swap-chart .ww-swap-chart-credit{margin:9px 0 3px}

/* CS7 Item 7 — device agreement and persistent per-token warning. */
body.ww-swap-page .ww-swap-acknowledgement[data-tone="red"]{background:rgba(220,38,58,.14);border-color:rgba(255,130,150,.6);color:#ffadb7}
body.ww-swap-page .ww-swap-terms-card{margin:12px 0 16px;padding:16px;border:1px solid #7e7046;border-radius:12px;background:#242416;color:#f5f4e8}
body.ww-swap-page .ww-swap-terms-card h3{margin:0 0 12px;font-size:18px;font-weight:700}
body.ww-swap-page .ww-swap-terms-card p{margin:8px 0;font-size:13px;line-height:1.5}
body.ww-swap-page .ww-swap-terms-consent{display:flex;align-items:center;gap:10px;margin:15px 0 10px;font-weight:650;cursor:pointer}
body.ww-swap-page .ww-swap-terms-consent input{width:20px;height:20px;flex:none;accent-color:#93ffbd}
body.ww-swap-page .ww-swap-terms-accept{background:#9cffcd;border:1px solid #9cffcd;color:#092116;border-radius:8px;padding:10px 16px;font-weight:800;cursor:pointer}
body.ww-swap-page .ww-swap-terms-accept:disabled{opacity:.45;cursor:not-allowed}
body.ww-swap-page .ww-swap-terms-card .ww-swap-terms-hint{color:#c8d3c9;font-size:12px}
body.ww-swap-page .ww-swap-bottom-bar #ww-swap-terms-link{color:#d4d4d8;text-decoration:underline;text-underline-offset:3px}
body.ww-swap-page .ww-swap-terms-dialog{width:min(540px,calc(100% - 32px));max-height:85vh;overflow:auto;border:1px solid #53795e;border-radius:14px;padding:22px;background:#10251c;color:#f0fff3}
body.ww-swap-page .ww-swap-terms-dialog::backdrop{background:#020e09b8}
body.ww-swap-page .ww-swap-terms-dialog h2{font-size:21px;margin:0 0 14px}
body.ww-swap-page .ww-swap-terms-dialog p{font-size:14px;line-height:1.6}
body.ww-swap-page .ww-swap-terms-dialog button{background:#24563b;color:#f0fff3;border:1px solid #668c73;border-radius:8px;padding:9px 14px;cursor:pointer}
@media(max-width:390px){body.ww-swap-page .ww-swap-terms-card{padding:12px}}

/* CS7g — seamless native Risk Swap; existing Jupiter Plugin styles remain for fallback. */
body.ww-swap-page.ww-swap-native-ready #ww-jupiter-shell,body.ww-swap-page.ww-swap-native-ready #ww-jupiter-swap{width:100%;min-width:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
body.ww-swap-page.ww-swap-native-ready .ww-swap-bottom-bar,body.ww-swap-page.ww-swap-native-ready #ww-swap-wallet-help{display:none}
body.ww-swap-page .ww-native{--nline:rgba(137,200,157,.25);--ngreen:#a6ffd0;width:100%;min-width:0;color:#e8fff0;font:13px/1.5 system-ui,-apple-system,Arial,sans-serif}
body.ww-swap-page .ww-native *,body.ww-swap-page .ww-native *:before{box-sizing:border-box;min-width:0}
body.ww-swap-page .ww-native button{cursor:pointer}
body.ww-swap-page .ww-native button:disabled{opacity:.5;cursor:not-allowed}
body.ww-swap-page .ww-native :is(button,input,a,summary):focus-visible{outline:2px solid var(--ngreen);outline-offset:3px}
body.ww-swap-page .ww-native-presets{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}
body.ww-swap-page .ww-native-preset{padding:6px 11px;border:1px solid #3e7554;border-radius:18px;background:#0e281d;color:#c6f9d9;font:600 11px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace}
body.ww-swap-page .ww-native-preset:hover{background:#1a4430;border-color:var(--ngreen)}
body.ww-swap-page .ww-native-box{position:relative;border:1px solid var(--nline);border-radius:12px;padding:16px;background:linear-gradient(145deg,#132e22,#091e15)}
body.ww-swap-page .ww-native-boxhead{display:flex;justify-content:space-between;gap:8px;margin-bottom:14px;color:#a9bcae;font:600 10px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.05em}
body.ww-swap-page .ww-native-boxhead small{font:inherit;letter-spacing:0;text-align:right;overflow-wrap:anywhere}
body.ww-swap-page .ww-native-main{display:flex;justify-content:space-between;align-items:center;gap:9px;min-height:41px}
body.ww-swap-page .ww-native-token{display:inline-flex;align-items:center;gap:7px;flex:none;font:700 13px ui-monospace,SFMono-Regular,Consolas,monospace}
body.ww-swap-page .ww-native-token>span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#25563e;color:var(--ngreen)}
body.ww-swap-page .ww-native-main :is(input,output){display:block;border:0;background:transparent;color:#f2fff7;flex:1 1 auto;width:100%;max-width:60%;text-align:right;font:750 20px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ww-swap-page .ww-native-main output{color:var(--ngreen)}
body.ww-swap-page .ww-native-usd{min-height:15px;color:#aac3b5;text-align:right;font:11px ui-monospace,SFMono-Regular,Consolas,monospace}
body.ww-swap-page .ww-native-max{margin-top:5px;border:1px solid #55846b;border-radius:6px;padding:4px 9px;background:#143926;color:var(--ngreen);font:700 10px ui-monospace,SFMono-Regular,Consolas,monospace}
body.ww-swap-page .ww-native-mid{height:40px;position:relative;z-index:1;display:grid;place-items:center;margin:-3px 0}
body.ww-swap-page .ww-native-flip{width:29px;height:29px;padding:0;border:1px solid #578d6a;border-radius:8px;color:var(--ngreen);background:linear-gradient(#23583b,#0a1b13);box-shadow:0 4px 16px #0008;font:18px Arial,sans-serif}
body.ww-swap-page .ww-native-telemetry{border-top:1px solid var(--nline);border-bottom:1px solid var(--nline);margin:16px 0 9px;padding:9px 0;font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}
body.ww-swap-page .ww-native-line{display:flex;justify-content:space-between;gap:10px;padding:5px 0;color:#adbfaf}
body.ww-swap-page .ww-native-line strong{color:#e5ffeb;text-align:right;font-weight:600;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body.ww-swap-page .ww-native-line strong[data-impact=low]{color:#a2ffbb}
body.ww-swap-page .ww-native-line strong[data-impact=medium]{color:#ffd390}
body.ww-swap-page .ww-native-line strong[data-impact=high],body.ww-swap-page .ww-native-danger{color:#ff95a6}
body.ww-swap-page .ww-native-note,body.ww-swap-page .ww-native-status{min-height:17px;margin:8px 0;color:#ffe2aa;font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
body.ww-swap-page .ww-native-status{color:#b2ecc4}
body.ww-swap-page .ww-native-submit{display:block;width:100%;min-height:40px;border:1px solid #bdffe0;border-radius:9px;color:#071e11;background:linear-gradient(180deg,#c2ffe1,#8af7bc 55%,#59d197);box-shadow:inset 0 1px 0 #fff9,0 6px 15px #0005;font-weight:850}
body.ww-swap-page .ww-native-submit:active:not(:disabled){transform:scale(.99)}
body.ww-swap-page .ww-native-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:9px;border-top:1px solid var(--nline);padding-top:12px;margin-top:18px;color:#a5bcae;font:10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}
body.ww-swap-page .ww-native-footer a{color:#b4edc4;text-decoration:underline}
body.ww-swap-page .ww-native-footer button{padding:0;border:0;color:#b4edc4;background:transparent;font:inherit;text-decoration:underline}
body.ww-swap-page .ww-native-footer details{display:inline-block;text-align:right;vertical-align:top;max-width:100%}
body.ww-swap-page .ww-native-footer summary{cursor:pointer}
body.ww-swap-page .ww-native-footer p{max-width:240px;margin:5px 0}
body.ww-swap-page .ww-native-wallet-grid{display:flex;flex-wrap:wrap;gap:8px}
body.ww-swap-page .ww-native-wallet-choice{flex:1 1 125px;min-height:45px;border:1px solid #57846e;border-radius:8px;background:#163c29;color:#d9ffe2}
body.ww-swap-page .ww-native-dialog header>button{color:#eafff1;background:none;border:0;font-size:21px}
@media(max-width:390px){body.ww-swap-page .ww-native-box{padding:12px}}
@media(prefers-reduced-motion:no-preference){body.ww-swap-page .ww-native-shimmer{background:linear-gradient(100deg,#214b36,#5e8570,#214b36);background-size:220% 100%;animation:ww-native-loading 1.25s linear infinite}@keyframes ww-native-loading{to{background-position-x:-220%}}}
@media(prefers-reduced-motion:reduce){body.ww-swap-page .ww-native *{transition:none!important;animation:none!important}}

/* CS7h — native swap controls, honest responsive telemetry, matching desktop columns. */
body.ww-swap-page .ww-native-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
body.ww-swap-page .ww-native-preset{min-width:0;white-space:nowrap;text-align:center;padding:7px 3px;font-size:clamp(9px,2.4vw,11px)}
body.ww-swap-page .ww-native-balance-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0;max-width:100%}
body.ww-swap-page .ww-native-boxhead .ww-native-balance-actions small{text-align:right;overflow-wrap:anywhere}
body.ww-swap-page .ww-native-boxhead .ww-native-max{margin:0;white-space:nowrap;flex:none}
@media(min-width:900px){
  body.ww-swap-page .ww-swap-columns{align-items:stretch}
  body.ww-swap-page .ww-swap-left{display:flex;flex-direction:column;align-self:stretch;min-height:0}
  body.ww-swap-page .ww-swap-right{align-self:stretch;height:100%;min-height:0}
  body.ww-swap-page #ww-swap-panel{min-height:100%}
  body.ww-swap-page #ww-swap-chart-card{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
  body.ww-swap-page #ww-swap-chart{display:flex;flex-direction:column;flex:1 1 auto;min-height:260px}
  body.ww-swap-page #ww-swap-chart .ww-gecko-candles{flex:1 1 auto;height:auto;min-height:260px}
  body.ww-swap-page #ww-swap-chart .ww-terminal-chart-skeleton{flex:1 1 auto;min-height:260px}
  body.ww-swap-page #ww-swap-chart :is(.ww-swap-chart-credit,.ww-swap-chart-link){flex:0 0 auto}
  body.ww-swap-page #ww-swap-chart-card>.ww-swap-tip{margin-top:auto}
}
@media(min-width:801px) and (max-width:899px){
  body.ww-swap-page .ww-swap-columns{grid-template-columns:minmax(0,1fr);align-items:start}
  body.ww-swap-page .ww-swap-right{position:static}
}

/* CS7i: token/SOL logo avatars inside native swap pills. */
body.ww-swap-page .ww-native-token>span{width:20px;height:20px;flex:0 0 20px;position:relative;overflow:hidden;border-radius:50%}
body.ww-swap-page .ww-native-token>span>img{display:block;width:20px;height:20px;border-radius:50%;object-fit:cover}

/* CS7m — connected wallet status and noncustodial wallet-picker terminal. */
body.ww-swap-page .ww-native-main input::placeholder{color:#7d9b87;opacity:1;font-size:14px}
body.ww-swap-page .ww-native-dialog{box-sizing:border-box;width:min(400px,calc(100vw - 24px));max-width:400px;max-height:85dvh;margin:auto;border:1px solid #527965;border-radius:20px;padding:22px;background:linear-gradient(145deg,#10291d,#08170f);color:#eafff0;box-shadow:0 26px 76px #000b;overflow-y:auto;overscroll-behavior:contain}
body.ww-swap-page .ww-native-dialog::backdrop{background:rgba(0,9,5,.75);backdrop-filter:blur(5px)}
body.ww-swap-page .ww-native-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}
body.ww-swap-page .ww-native-dialog header h2{font-size:20px;letter-spacing:-.03em;line-height:1.3;margin:0}
body.ww-swap-page .ww-native-dialog header [data-walletclose]{flex:0 0 36px;width:36px;height:36px;border:1px solid #345d46;border-radius:9px;font:22px/1 system-ui;background:#102a1a;color:#eefdf1}
body.ww-swap-page .ww-native-dialog .ww-wallet-intro{margin:10px 0 19px;font-size:12px;line-height:1.55;color:#a9bfaf}
body.ww-swap-page .ww-native-dialog .ww-native-wallet-grid{display:flex;flex-direction:column;gap:17px}
body.ww-swap-page .ww-native-wallet-group{min-width:0;width:100%;margin:0}
body.ww-swap-page .ww-native-wallet-group-title{font:650 10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.13em;color:#a6bbab;text-transform:uppercase;margin:0 0 9px}
body.ww-swap-page .ww-native-wallet-group-hint{font-size:12px;line-height:1.5;margin:0 0 9px;color:#abbfaf}
body.ww-swap-page .ww-native-wallet-rows{display:flex;flex-direction:column;gap:8px;min-width:0}
body.ww-swap-page .ww-native-wallet-row{display:flex;flex:none;align-items:center;justify-content:flex-start;gap:12px;width:100%;height:52px;min-height:52px;max-height:52px;padding:9px 12px;border:1px solid rgba(140,190,151,.26);border-radius:12px;background:linear-gradient(150deg,rgba(36,77,50,.34),rgba(13,36,23,.65));color:#e4ffee;text-align:left;text-decoration:none;transition:background .15s,border-color .15s;cursor:pointer}
body.ww-swap-page .ww-native-wallet-row:hover,body.ww-swap-page .ww-native-wallet-row:focus-visible{border-color:#83e9aa;background:#1b4430;color:#fff}
body.ww-swap-page .ww-native-wallet-row-icon{flex:0 0 28px;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#294335;color:#c8eed6;font:700 11px/1 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:hidden}
body.ww-swap-page .ww-native-wallet-row-icon img{display:block;width:28px;height:28px;border-radius:8px;object-fit:contain}
body.ww-swap-page .ww-native-wallet-row-name{flex:1 1 auto;min-width:0;font-size:14px;font-weight:650;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ww-swap-page .ww-native-wallet-row-tag{flex:0 0 auto;font:10px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;color:#a8c8b4;white-space:nowrap}
body.ww-swap-page .ww-native-walletconnect-icon .ww-native-wallet-row-icon{background:#244a59;color:#a6e6ff}
body.ww-swap-page .ww-native-dialog .ww-wallet-notice{margin:17px 0 0;min-height:18px;font-size:12px;line-height:1.5;color:#baddc6;overflow-wrap:anywhere}
body.ww-swap-page .ww-native-dialog .ww-wallet-footer{margin:15px 0 0;border-top:1px solid #365343;padding-top:13px;color:#91ad9b;font-size:11px;line-height:1.45}
body.ww-swap-page .ww-native-dialog .ww-wallet-grab{display:none}
body.ww-swap-page .ww-native-dialog .ww-native-wallet-pairing{max-width:100%;min-width:0;overflow-wrap:anywhere}
body.ww-swap-page .ww-native-dialog :is(a,button,textarea):focus-visible{outline:2px solid #aaffcb;outline-offset:2px}
@media(max-width:639px){
 body.ww-swap-page .ww-native-dialog{position:fixed;top:auto;bottom:0;left:0;right:0;margin:0;width:100%;max-width:100%;max-height:85dvh;padding:13px 16px max(20px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0;overflow-y:auto}
 body.ww-swap-page .ww-native-dialog .ww-wallet-grab{display:block;width:40px;height:4px;background:#718d7b;border-radius:5px;margin:0 auto 17px}
}
@media(prefers-reduced-motion:reduce){body.ww-swap-page .ww-native-wallet-row{transition:none!important}}
body.ww-swap-page .ww-native-wallet-pill{container-type:inline-size;display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-width:0;padding:12px 12px 12px 12px;margin:0 0 14px;border:1px solid rgba(140,190,151,.22);border-radius:14px;background:linear-gradient(150deg,rgba(36,77,50,.42),rgba(8,23,15,.65));box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
body.ww-swap-page .ww-native-wallet-pill.is-connected{border-color:rgba(98,230,159,.32)}
body.ww-swap-page .ww-wbar-avatar{position:relative;flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#18301f;border:1px solid rgba(140,190,151,.25);color:#9fdcb7}
body.ww-swap-page .ww-wbar-avatar img{width:34px;height:34px;border-radius:10px;object-fit:cover;display:block}
body.ww-swap-page .ww-wbar-dot{position:absolute;right:-3px;bottom:-3px;width:11px;height:11px;border-radius:50%;background:#4ade80;border:2px solid #0b1b12;box-shadow:0 0 0 3px rgba(74,222,128,.18)}
body.ww-swap-page .ww-wbar-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}
body.ww-swap-page .ww-wbar-title{font:650 13px/1.2 system-ui,-apple-system,Segoe UI,sans-serif;color:#eefdf3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ww-swap-page .ww-wbar-sub{font:400 11.5px/1.3 system-ui,-apple-system,Segoe UI,sans-serif;color:#9fb8a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ww-swap-page .ww-wbar-address{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:2px 7px;border:1px solid rgba(140,190,151,.22);border-radius:6px;background:rgba(0,0,0,.25);color:#bfe8cf;font:500 11px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;cursor:pointer}
body.ww-swap-page .ww-wbar-address:hover{color:#fff;border-color:#62e69f}
body.ww-swap-page .ww-wbar-address.is-copied{color:#4ade80;border-color:#4ade80}
body.ww-swap-page .ww-wbar-actions{flex:0 0 auto;display:flex;align-items:center;gap:8px}
body.ww-swap-page .ww-wbar-connect{height:36px;padding:0 16px;border:1px solid rgba(110,240,170,.45);border-radius:10px;background:linear-gradient(180deg,#4ade80,#22c066);color:#04120b;font:700 13px/1 system-ui,-apple-system,Segoe UI,sans-serif;letter-spacing:.01em;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 18px rgba(34,192,102,.22);cursor:pointer;white-space:nowrap}
body.ww-swap-page .ww-wbar-connect:hover{background:linear-gradient(180deg,#6ee7a0,#2bd174)}
body.ww-swap-page .ww-wbar-connect:active{transform:scale(.98)}
body.ww-swap-page .ww-wbar-ghost{height:32px;padding:0 12px;border:1px solid rgba(140,190,151,.3);border-radius:9px;background:rgba(255,255,255,.03);color:#d8f6e4;font:600 12px/1 system-ui,-apple-system,Segoe UI,sans-serif;cursor:pointer}
body.ww-swap-page .ww-wbar-ghost:hover{border-color:#62e69f;color:#fff}
body.ww-swap-page .ww-wbar-icon{width:32px;height:32px;display:grid;place-items:center;border:1px solid rgba(140,190,151,.3);border-radius:9px;background:rgba(255,255,255,.03);color:#c2dccb;cursor:pointer}
body.ww-swap-page .ww-wbar-icon:hover{border-color:#ff8c9e;color:#ff8c9e;background:rgba(255,140,158,.08)}
body.ww-swap-page :is(.ww-wbar-connect,.ww-wbar-ghost,.ww-wbar-icon,.ww-wbar-address):focus-visible{outline:2px solid #aaffcb;outline-offset:2px}
body.ww-swap-page :is(.ww-wbar-ghost,.ww-wbar-icon):disabled{opacity:.45;cursor:not-allowed}
@container (max-width:330px){body.ww-swap-page .ww-wbar-actions{flex:1 1 100%}body.ww-swap-page .ww-wbar-connect{width:100%;height:40px}body.ww-swap-page .ww-wbar-ghost{flex:1 1 auto}}
@media(prefers-reduced-motion:reduce){body.ww-swap-page .ww-wbar-connect:active{transform:none}}

/* CS7o: keep the on-site DEX fallback and launch-curve state at chart height. */
body.ww-swap-page #ww-swap-chart iframe.ww-gecko-candles{min-height:275px;border:0;width:100%;display:block}
body.ww-swap-page #ww-swap-chart .ww-chart-no-pool{display:grid;place-items:center;padding:20px;text-align:center;box-sizing:border-box;min-height:275px}
body.ww-swap-page #ww-swap-chart .ww-chart-no-pool p{max-width:300px;margin:0}

/* CS8e: a mint deep link aligns the selected token above its risk checks. */
@media(max-width:800px){#ww-swap-token-header{scroll-margin-top:76px}}
