/* Light remains the default; dark is an explicit, persisted user choice. */
.activity-heading-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.activity-view-controls{display:flex;align-items:center;gap:2px;padding:3px;border:1px solid #e1e6ee;background:#f6f8fc;border-radius:999px}
.activity-view-controls[hidden]{display:none}
.activity-view-controls button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:5px 9px;border:0;border-radius:999px;background:transparent;color:#788399;font:inherit;font-size:10px;cursor:pointer}
.activity-view-controls button[aria-pressed="true"]{background:#fff;color:#5551ff;box-shadow:0 1px 4px #23354a12}
.activity-view-controls button:focus-visible{outline:2px solid #a7a1ff;outline-offset:2px}
.activity-view-controls svg{width:13px;height:13px;stroke:currentColor;stroke-width:1.4;flex:none}
.activity-wallet-context{font-size:10px;color:#7a8598;line-height:1.6;margin:0 0 12px}
.activity-feed[data-layout="list"]{grid-template-columns:1fr;gap:8px}
.activity-feed[data-layout="list"] .activity-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);gap:7px 18px;min-height:0;padding:14px 16px}
.activity-feed[data-layout="list"] .activity-card:hover{transform:none}
.activity-feed[data-layout="list"] .activity-card-top{grid-column:1/-1}
.activity-feed[data-layout="list"] .activity-card-route{grid-column:1;grid-row:2;margin:0;font-size:17px}
.activity-feed[data-layout="list"] .activity-network-path{grid-column:2;grid-row:2;margin:0;align-self:center;flex-wrap:wrap}
.activity-feed[data-layout="list"] .activity-card-bottom{grid-column:3;grid-row:2;margin:0;padding:0;border:0;align-self:center;flex-wrap:wrap;justify-content:flex-end;text-align:right}
.activity-feed[data-layout="list"] .activity-receiver,.activity-feed[data-layout="list"] .activity-wallet-context{grid-column:1/-1;margin:0}
.activity-feed[data-layout="list"] .history-timeline{grid-column:1/-1;margin-top:2px}
@media(max-width:700px){.activity-panel .panel-heading{flex-wrap:wrap;gap:12px}.activity-heading-actions{gap:6px}.activity-view-controls button{width:30px;padding:5px}.activity-view-controls button span{display:none}.activity-feed[data-layout="list"] .activity-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;padding:12px}.activity-feed[data-layout="list"] .activity-network-path{grid-column:1/-1;grid-row:3}.activity-feed[data-layout="list"] .activity-card-bottom{grid-column:2;grid-row:2;font-size:9px}.activity-feed[data-layout="list"] .activity-card-route{font-size:15px}.activity-feed[data-layout="list"] .activity-card-index{font-size:8px}}
[data-theme="dark"] .activity-view-controls{background:#19243a;border-color:#3b4b68}[data-theme="dark"] .activity-view-controls button{color:#b3c0d5}[data-theme="dark"] .activity-view-controls button[aria-pressed="true"]{background:#2d3c55;color:#c5c1ff}[data-theme="dark"] .activity-wallet-context{color:#b3c0d5}
/* Product tools remain quiet, with explicit estimates and no hidden fees. */
.small-transfer-advice button{border:1px solid #dde3ef;border-radius:999px;background:#fff;color:#5551ff;font:inherit;padding:7px 10px;cursor:pointer}.small-transfer-advice button:hover{border-color:#a8a4ff;background:#f4f3ff}.small-transfer-advice button:focus-visible{outline:3px solid #b5b0ff;outline-offset:2px}[data-theme="dark"] .small-transfer-advice button{background:#24304a;border-color:#44516d;color:#b7b3ff}
.stock-route-checks>div{border-top:1px solid #e6eaf2;margin-top:10px;padding-top:10px;overflow-wrap:anywhere}.stock-check-status{display:inline-block;font-size:9px;color:#7c879a;margin:5px 0}.stock-route-checks summary{display:flex;justify-content:space-between;align-items:center;gap:10px}.stock-route-checks summary svg,.small-transfer-advice summary svg{width:12px;height:12px}.small-transfer-advice summary{display:flex;align-items:center;gap:10px;justify-content:space-between}.stock-route-checks summary::-webkit-details-marker,.small-transfer-advice summary::-webkit-details-marker{display:none}[data-theme="dark"] .stock-route-checks>div{border-color:#34405a}
.portfolio-filters{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:8px;margin:16px 0 8px}
.portfolio-filters[hidden]{display:none}.portfolio-filters label{display:grid;gap:5px;min-width:0;font-size:10px;color:#748094}.portfolio-filters input,.portfolio-filters select{width:100%;min-width:0;height:36px;padding:7px 9px;border:1px solid #e0e5ee;border-radius:9px;background:#fafbfe;color:#263246;font:inherit;font-size:11px}.portfolio-filters>small{grid-column:1/-1;font-size:10px;color:#8992a3}
.route-preferences{margin:18px 0 0;border:0;padding:0;min-width:0}.route-preferences legend{font-size:11px;font-weight:500;margin-bottom:8px}.route-preference-options{display:flex;gap:5px;padding:4px;background:#f3f5fa;border:1px solid #e5e9f1;border-radius:12px}.route-preferences button{flex:1;min-width:0;border:0;padding:8px 5px;background:transparent;border-radius:8px;color:#758099;font-size:11px}.route-preferences button[aria-pressed="true"]{background:#fff;color:#5551ff;box-shadow:0 1px 5px #18284d12}.route-preferences>small{display:block;color:#8790a2;font-size:10px;line-height:1.5;margin-top:7px}
.small-transfer-advice,.stock-route-checks{margin:14px 0;padding:11px 12px;border:1px solid #e5e9f2;border-radius:10px;color:#65718a;font-size:11px;background:#fafbfe}.small-transfer-advice summary,.stock-route-checks summary{cursor:pointer;color:#46516a;font-weight:500}.small-transfer-advice p{line-height:1.6}.small-transfer-advice button{margin:5px 8px 5px 0}.stock-route-checks ul{padding:0;list-style:none}.stock-route-checks li{border-top:1px solid #e6eaf2;padding:10px 0}.stock-route-checks strong,.stock-route-checks small{display:block}.stock-route-checks code{font-size:9px;overflow-wrap:anywhere}.stock-route-checks p{line-height:1.6;margin:6px 0}.comparison-experience{color:#798297}
.history-timeline{border-top:1px solid #e9edf4;margin-top:12px;padding-top:10px;font-size:11px;color:#7b8598}.history-timeline summary{cursor:pointer;display:flex;justify-content:space-between;font-size:11px;color:#69758b}.history-timeline summary::-webkit-details-marker{display:none}.history-timeline ol{list-style:none;padding:2px 0;margin:10px 0}.history-timeline li{display:flex;gap:9px;padding:7px 0}.timeline-dot{width:7px;height:7px;flex:none;margin-top:5px;border-radius:50%;background:#a6adbb}.history-timeline [data-state="confirmed"] .timeline-dot{background:#269d69}.history-timeline [data-state="failed"] .timeline-dot{background:#cb535c}.history-timeline strong,.history-timeline small{display:block}.history-timeline strong{font-size:11px;font-weight:500;color:#344159}.history-timeline small{font-size:10px;line-height:1.6;margin-top:3px}.history-timeline a{color:#5551ff}.history-reference{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid #edf0f5;padding-top:10px;font-size:9px}.history-reference code{display:block;font-size:10px;overflow-wrap:anywhere}.history-reference button{font-size:10px}
.mobile-review-bar{display:none}.footer-links{display:flex;flex-wrap:wrap;gap:14px}
@media(min-width:901px){.destination-column{align-self:start}}
@media(max-width:700px){.portfolio-filters{grid-template-columns:1fr 1fr}.portfolio-filters>label:first-child{grid-column:1/-1}.mobile-review-bar:not([hidden]){position:fixed;display:flex;align-items:center;justify-content:space-between;gap:12px;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:15;padding:12px 14px;background:#fff;border:1px solid #dfe4ee;border-radius:15px;box-shadow:0 8px 35px #26314c20}.mobile-review-bar>div{min-width:0}.mobile-review-bar small,.mobile-review-bar strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-review-bar small{font-size:10px;color:#7c8699}.mobile-review-bar strong{font-size:13px;font-weight:500}.mobile-review-bar .button{padding:10px 12px;font-size:11px;flex:none}.has-mobile-review{padding-bottom:100px}.has-mobile-review .theme-toggle{bottom:calc(91px + env(safe-area-inset-bottom))}}
[data-theme="dark"] .portfolio-filters input,[data-theme="dark"] .portfolio-filters select,[data-theme="dark"] .small-transfer-advice,[data-theme="dark"] .stock-route-checks,[data-theme="dark"] .route-preference-options{background:#161e30;border-color:#34405a;color:#c1cbe0}[data-theme="dark"] .route-preferences button[aria-pressed="true"]{background:#29344c;color:#b5b1ff}[data-theme="dark"] .small-transfer-advice summary,[data-theme="dark"] .stock-route-checks summary,[data-theme="dark"] .history-timeline strong{color:#d0d9ee}[data-theme="dark"] .history-timeline,[data-theme="dark"] .history-reference,[data-theme="dark"] .stock-route-checks li{border-color:#34405a}[data-theme="dark"] .mobile-review-bar{background:#182135;border-color:#34405a;color:#e3e9f7}
.theme-toggle{position:fixed;left:22px;bottom:22px;z-index:12;display:flex;align-items:center;justify-content:space-between;width:82px;height:43px;padding:4px;border:1px solid #dfe2e9;border-radius:999px;background:#eef0f5;color:#8f95a3;box-shadow:0 8px 28px rgba(29,37,59,.12);cursor:pointer;transition:border-color .2s,background-color .2s}
.theme-toggle:hover{border-color:#a4aff0}
.theme-toggle:focus-visible{outline:3px solid #9db4ff;outline-offset:3px}
.theme-toggle-sun,.theme-toggle-moon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;transition:background-color .2s,color .2s,box-shadow .2s}
.theme-toggle svg{display:block;width:19px;height:19px}
.theme-toggle-sun{background:#fff;color:#533ae8;box-shadow:0 1px 5px rgba(64,68,91,.12)}
@media(max-width:700px){.theme-toggle{left:12px;bottom:12px;width:76px;height:40px}.theme-toggle-sun,.theme-toggle-moon{width:31px;height:31px}}
@media(prefers-reduced-motion:reduce){.theme-toggle,.theme-toggle-sun,.theme-toggle-moon{transition:none}}

.real-token img.stock-company-logo,.target-token-icon img.stock-company-logo,.token-picker-logo img.stock-company-logo,.token-option-logo img.stock-company-logo{object-fit:contain;background:#fff;padding:2px}
.header-connect-icon{display:grid;place-items:center;flex:none;width:22px;height:22px;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:rgba(255,255,255,.09);color:#f4f6fb;transition:background-color .2s,transform .2s}
.header-connect-icon svg{display:block;width:12px;height:12px}
.header-connect:hover .header-connect-icon{background:rgba(255,255,255,.17)}
.header-connect[aria-expanded="true"] .header-connect-icon{transform:rotate(180deg)}
.header-account{display:flex;align-items:center;gap:7px}
.wallet-visibility{width:38px;height:38px;display:grid;place-items:center;flex:none;border:1px solid #dfe3ec;border-radius:50%;background:#fff;color:#5f687b;transition:background-color .2s,border-color .2s,color .2s}
.wallet-visibility[hidden]{display:none}
.wallet-visibility svg{width:18px;height:18px;display:block}
.wallet-visibility:hover{border-color:#a9a8ff;background:#f4f4ff;color:#5551ff}
.wallet-visibility:focus-visible{outline:3px solid #a9a7ff;outline-offset:2px}
@media(max-width:700px){.header-inner{gap:8px}.header-account{gap:5px}.header-connect{padding:10px 12px}.wallet-visibility{width:36px;height:36px}}
.wallet-menu-address-row{display:flex;align-items:center;gap:9px;margin:3px 0 9px;min-width:0}
.wallet-menu-address-row .wallet-menu-address{flex:1;min-width:0;margin:0;line-height:20px}
.wallet-menu .wallet-visibility{display:flex;align-items:center;justify-content:center;gap:0;width:30px;height:30px;flex:0 0 30px;padding:0;line-height:1;border:1px solid #dfe3ec;border-radius:50%;background:#fafbfe;color:#69758a}
.wallet-menu .wallet-visibility[hidden]{display:none}
.wallet-menu .wallet-visibility svg{width:15px;height:15px;flex:none;margin:0}
.wallet-menu .wallet-visibility:hover{background:#f1f1ff;border-color:#b4b0ee;color:#5551ff}
.execution-asset-copy .execution-route-error{display:block;max-width:31ch;color:#9b4b4b;line-height:1.35;margin-top:3px;white-space:normal}
.issuer-badge{border-color:#bac3d0;background:linear-gradient(112deg,#c6ccd6 0%,#fff 27%,#d5dbe4 48%,#fbfcfe 69%,#b8c1ce 100%);color:#303c4d;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 1px 3px rgba(35,47,67,.12)}
.issuer-badge span{color:#596576}
.asset-symbol{flex-wrap:wrap;white-space:normal;min-width:0;max-width:100%;row-gap:4px;overflow-wrap:anywhere}
.asset-symbol .issuer-badge{flex:0 0 auto;min-width:0;max-width:100%;white-space:normal;flex-wrap:wrap;overflow-wrap:anywhere;margin-left:0;padding:2.7px 7.2px;gap:2.7px;font-size:9px}
.asset-symbol .issuer-kind{white-space:nowrap;color:inherit}
@media(max-width:700px){.asset-symbol .issuer-badge{margin-left:0}.asset-symbol .issuer-badge .issuer-source{display:none}}

/* Quiet disclosure: an incomplete scan stays discoverable without taking over the portfolio. */
.network-health{margin:5px 0 3px;border:0;border-radius:0;background:transparent;color:#798292;box-shadow:none;overflow:hidden}
.network-health:hover{border-color:#e5e8ee;background:transparent}
.network-health summary{display:flex;min-height:31px;align-items:center;justify-content:flex-start;flex-direction:row;gap:7px;padding:5px 1px;line-height:1.25}
.network-health-title{display:inline-flex;align-items:center;gap:6px;color:#5e6879;font-size:10px;font-weight:500}
.network-health-title::before{content:"";width:5px;height:5px;border-radius:50%;background:#a4acba}
.network-health[data-tone="good"] .network-health-title::before{background:#269d69;box-shadow:0 0 0 2px rgba(38,157,105,.1)}
.network-health[data-tone="bad"] .network-health-title::before{background:#d05359;box-shadow:0 0 0 2px rgba(208,83,89,.11)}
.network-health-summary{margin-left:auto;color:#8d96a4;font-size:10px;white-space:nowrap}
.network-health-warning{color:#9c794a}
.network-health-more{display:grid;place-items:center;width:20px;height:20px;flex:none;border:1px solid #e0e5ec;border-radius:50%;background:#f9fafc;color:#758195;transition:transform .2s,background-color .2s,border-color .2s}
.network-health-more svg{display:block;width:12px;height:12px}
.network-health summary:hover .network-health-more{background:#f0f3f8;border-color:#ccd5e2}
.network-health[open] .network-health-more{transform:rotate(180deg)}
.network-health-expanded{border-top:1px solid #edf0f3;background:transparent}
.network-health-overview{padding:10px 1px 8px;color:#7b8595;font-size:10px}
.network-health-list{max-height:238px;overflow:auto;border-top:1px solid #edf0f3;padding-right:7px;scrollbar-width:thin;scrollbar-color:#cbd2dc transparent}
.network-health-item{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,.95fr);align-items:center;gap:9px;min-height:34px;padding:6px 1px;border:0;border-bottom:1px solid #edf0f3;border-radius:0;background:transparent;box-shadow:none}
.network-health-name{min-width:0;color:#3c4656;font-size:10px;font-weight:500}
.network-health-name img{width:14px;height:14px}
.network-health-status{color:#798292;font-size:10px}
.network-health-status.health-partial{color:#956f3d}
.network-health-item small{color:#8d96a4;font-size:10px;text-align:right;white-space:nowrap}
.network-health-expanded>p{margin:0;padding:9px 1px 2px;color:#8d96a4;font-size:10px;line-height:1.45}
@media(prefers-reduced-motion:reduce){.header-connect-icon,.network-health-more{transition:none}}
.portfolio-coverage{padding:0;overflow:hidden;border-color:#e6e9ef;border-radius:12px;background:#fff;color:#707a8a;box-shadow:none}
.portfolio-coverage summary{justify-content:flex-start;gap:9px;padding:9px 11px;min-height:42px}
.portfolio-coverage summary:hover{background:#f8f9fc}
.portfolio-coverage-mark{display:grid;place-items:center;flex:none;width:18px;height:18px;border:1px solid #e2e7f1;border-radius:50%;background:#f7f9fd;color:#7588af;font-size:10px;font-weight:700;font-style:normal}
.portfolio-coverage-copy{display:grid;gap:1px;min-width:0}
.portfolio-coverage-copy strong{color:#475064;font-size:10px;line-height:1.25;font-weight:600}
.portfolio-coverage-copy small{color:#9199a7;font-size:9px;line-height:1.3;font-weight:400}
.portfolio-coverage-arrow{display:grid;place-items:center;flex:none;width:21px;height:21px;margin-left:auto;border:1px solid #e0e5ec;border-radius:50%;background:#f9fafc;color:#758195;transition:transform .2s,background-color .2s,border-color .2s}
.portfolio-coverage-arrow svg{display:block;width:12px;height:12px}
.portfolio-coverage summary:hover .portfolio-coverage-arrow{background:#f0f3f8;border-color:#ccd5e2}
.portfolio-coverage[open] .portfolio-coverage-arrow{transform:rotate(180deg)}
.portfolio-coverage p{margin:0;padding:11px 13px 12px;border-top:1px solid #edf0f4;background:#fcfcfe;font-size:10px;line-height:1.6}
@media(max-width:620px){.network-health summary{align-items:center;flex-direction:row;gap:6px;padding:5px 1px}.network-health-item{grid-template-columns:minmax(0,1fr) auto;gap:3px 8px}.network-health-status{grid-column:2;grid-row:1;text-align:right}.network-health-item small{grid-column:1/-1;text-align:left;padding-left:20px}.network-health-list{max-height:220px}}

:root[data-theme="dark"]{color-scheme:dark;--color-ink-black:#f0f3fc;--color-obsidian:#111827;--color-mist:#303a4e;--color-fog:#42506a;--color-slate:#aab5ca}
[data-theme="dark"] body{background:#0e111b;color:#eef1fb}
[data-theme="dark"] .notice{background:linear-gradient(70deg,#432343,#292449 45%,#1c3159);color:#f6e9ff}
[data-theme="dark"] .site-header{background:rgba(14,17,27,.94);border-color:#283249}
[data-theme="dark"] .workspace-section{background:#101523;border-color:#29334a}
[data-theme="dark"] .panel,[data-theme="dark"] .dialog,[data-theme="dark"] .wallet-menu{background:#192132;border-color:#34405a;color:#eef1fb}
[data-theme="dark"] .wallet-chip,[data-theme="dark"] .small-pill,[data-theme="dark"] .portfolio-refresh,[data-theme="dark"] .button-outline{background:#1d283b;border-color:#3b4963;color:#eef1fb}
[data-theme="dark"] .button-dark{background:#edf2ff;color:#17243b}
[data-theme="dark"] .button-dark:hover:not(:disabled){background:#cbdcff}
[data-theme="dark"] .header-connect-icon{border-color:rgba(23,36,59,.2);background:rgba(23,36,59,.07);color:#24344d}
[data-theme="dark"] .header-connect:hover .header-connect-icon{background:rgba(23,36,59,.14)}
[data-theme="dark"] .wallet-visibility{background:#1d283b;border-color:#43516a;color:#dae4fb}
[data-theme="dark"] .wallet-visibility:hover{background:#2a3853;border-color:#8faeff;color:#fff}
[data-theme="dark"] .execution-asset-copy .execution-route-error{color:#ffc2c2}
[data-theme="dark"] .button-outline:hover:not(:disabled),[data-theme="dark"] .portfolio-refresh:hover:not(:disabled){border-color:#8faeff;color:#a9c2ff}
[data-theme="dark"] .theme-toggle{background:#253047;border-color:#485572;color:#9ba9c2}
[data-theme="dark"] .theme-toggle-sun{background:transparent;color:#8795ae;box-shadow:none}
[data-theme="dark"] .theme-toggle-moon{background:#d9d4ff;color:#4732bc;box-shadow:0 1px 8px rgba(136,113,255,.2)}
[data-theme="dark"] .header-nav a:hover,[data-theme="dark"] .site-footer a:hover{color:#a9c2ff}
[data-theme="dark"] .intro-description,[data-theme="dark"] .cluster-foot,[data-theme="dark"] .step-label,[data-theme="dark"] .total-label,[data-theme="dark"] .muted-label,[data-theme="dark"] .selection-count,[data-theme="dark"] .asset-network,[data-theme="dark"] .asset-balance,[data-theme="dark"] .asset-portion,[data-theme="dark"] .portfolio-more,[data-theme="dark"] .field,[data-theme="dark"] .target-help,[data-theme="dark"] .quote-foot,[data-theme="dark"] .quote-row span:first-child,[data-theme="dark"] .dialog-copy,[data-theme="dark"] .wallet-option small,[data-theme="dark"] .wallet-note,[data-theme="dark"] .empty-view p,[data-theme="dark"] .execution-status,[data-theme="dark"] .execution-count,[data-theme="dark"] .execution-asset-copy small,[data-theme="dark"] .execution-route-status{color:#acb9cf}
[data-theme="dark"] .asset-input-wrap{background:#1c2639;border-color:#42506b}
[data-theme="dark"] .asset-input-wrap:focus-within{background:#202c42;border-color:#a69fff;box-shadow:0 0 0 2px #a69fff20}
[data-theme="dark"] .asset-input-wrap .asset-unit{color:#b9c5da;border-color:#42506b}
[data-theme="dark"] .asset-input-wrap .asset-quick{background:#192336;border-color:#42506b;box-shadow:0 6px 20px #0005}
[data-theme="dark"] .asset-quick button{background:#26334a;border-color:#53617b;color:#f1f4fb}
[data-theme="dark"] .asset-quick button:hover{background:#364561}
[data-theme="dark"] .portfolio-total,[data-theme="dark"] .asset-table-head,[data-theme="dark"] .asset-row,[data-theme="dark"] .slippage-block,[data-theme="dark"] .quote-divider,[data-theme="dark"] .portfolio-more,[data-theme="dark"] .token-import,[data-theme="dark"] .result-details,[data-theme="dark"] .activity-list,[data-theme="dark"] .activity-row,[data-theme="dark"] .activity-card-bottom{border-color:#34405a}
[data-theme="dark"] .asset-row:hover{background:#222d43}
[data-theme="dark"] .asset-table-head{color:#9eabc2}
[data-theme="dark"] .asset-check{border-color:#7b8aa7}
[data-theme="dark"] .asset-check:checked{background:#6e91ff;border-color:#6e91ff}
[data-theme="dark"] .chain-rail{border-color:#303a4e}
[data-theme="dark"] .chain-pills .chain-pill,[data-theme="dark"] .chain-pills .chain-pill:nth-child(2),[data-theme="dark"] .rail-arrow,[data-theme="dark"] .token-picker-button,[data-theme="dark"] .token-picker-menu,[data-theme="dark"] .token-picker-menu input,[data-theme="dark"] .token-option,[data-theme="dark"] .slippage-options button,[data-theme="dark"] .custom-slippage,[data-theme="dark"] .asset-portion input,[data-theme="dark"] .token-import input,[data-theme="dark"] .token-import select,[data-theme="dark"] .field select{background-color:#1c2639;border-color:#42506b;color:#edf2ff}
[data-theme="dark"] .token-picker-chevron{border-color:#d4e1ff}
[data-theme="dark"] .token-option:hover,[data-theme="dark"] .token-option:focus-visible,[data-theme="dark"] .token-option.selected,[data-theme="dark"] .wallet-option:hover,[data-theme="dark"] .wallet-menu button:hover{background:#2a3853;color:#d9e6ff}
[data-theme="dark"] .token-option-copy small,[data-theme="dark"] .token-options-empty,[data-theme="dark"] .wallet-menu-note,[data-theme="dark"] .wallet-menu-label,[data-theme="dark"] .wallet-empty{color:#aab9d0}
[data-theme="dark"] .token-category-tabs{background:#182236;border-color:#3f506b}
[data-theme="dark"] .token-category-tabs button{color:#aebcd4}
[data-theme="dark"] .token-category-tabs button[aria-selected="true"]{background:#314565;color:#f1f5ff}
[data-theme="dark"] .token-tab-count{background:#3e5578;color:#cfdeff}
[data-theme="dark"] .token-category-note{color:#aebbd2}
[data-theme="dark"] .token-picker-logo,[data-theme="dark"] .token-option-logo,[data-theme="dark"] .target-token-icon,[data-theme="dark"] .real-token{background:#303b53;color:#b5c7ff}
[data-theme="dark"] .slippage-options button.active{background:#6c89ed;border-color:#6c89ed;color:#0b152d}
[data-theme="dark"] .target-logo-line,[data-theme="dark"] .quote-outcome,[data-theme="dark"] .execution-stage,[data-theme="dark"] .execution-visual,[data-theme="dark"] .portfolio-plan-summary{background:#222d49;border-color:#455680;color:#f0f4ff}
[data-theme="dark"] .recipient-toggle,[data-theme="dark"] .recipient-input-wrap{background:#1c2639;border-color:#42506b;color:#edf2ff}
[data-theme="dark"] .recipient-toggle:hover,[data-theme="dark"] .recipient-toggle[aria-expanded="true"]{background:#23304a;border-color:#7890d6}
[data-theme="dark"] .recipient-toggle-icon,[data-theme="dark"] .recipient-input-wrap button{background:#313e67;color:#c6d2ff}
[data-theme="dark"] .recipient-toggle-copy small,[data-theme="dark"] .recipient-editor label span,[data-theme="dark"] .recipient-feedback{color:#acb9cf}
[data-theme="dark"] .recipient-editor label,[data-theme="dark"] .recipient-input-wrap input,[data-theme="dark"] .quote-recipient strong{color:#f0f4ff}
[data-theme="dark"] .recipient-feedback.is-error{color:#ffb4b4}
[data-theme="dark"] .quote-recipient{border-color:#455680;color:#b9c7dc}
[data-theme="dark"] .execution-receiver,[data-theme="dark"] .activity-receiver{color:#aab9d0}
[data-theme="dark"] .execution-receiver strong,[data-theme="dark"] .activity-receiver span{color:#f0f4ff}
[data-theme="dark"] .destination-preview-copy strong span,[data-theme="dark"] .destination-preview-copy small,[data-theme="dark"] .quote-path,[data-theme="dark"] .route-winner small,[data-theme="dark"] .portfolio-plan-summary small,[data-theme="dark"] .portfolio-plan-summary p{color:#b9c7dc}
[data-theme="dark"] .quote-outcome .muted-label{color:#c7d2e5}
[data-theme="dark"] .route-winner strong,[data-theme="dark"] .portfolio-plan-summary strong,[data-theme="dark"] .target-logo-line strong{color:#f0f4ff}
[data-theme="dark"] .quote-provider-summary,[data-theme="dark"] .quote-provider-summary.is-unify{background:#263652;border-color:#4a6384;color:#d8eaff}
[data-theme="dark"] .bridge-orders-card,[data-theme="dark"] .network-health,[data-theme="dark"] .portfolio-coverage,[data-theme="dark"] .activity-card,[data-theme="dark"] .activity-chain-row,[data-theme="dark"] .activity-chain-list,[data-theme="dark"] .route-comparison,[data-theme="dark"] .execution-list li,[data-theme="dark"] .failed-routes li{background:#202b3f;border-color:#3b4b68;color:#eef1fb}
[data-theme="dark"] .bridge-orders-card p:not(.eyebrow),[data-theme="dark"] .activity-empty,[data-theme="dark"] .activity-note,[data-theme="dark"] .activity-main span,[data-theme="dark"] .activity-main small,[data-theme="dark"] .activity-chain-copy small,[data-theme="dark"] .comparison-asset small,[data-theme="dark"] .comparison-venue small,[data-theme="dark"] .comparison-value small,[data-theme="dark"] .comparison-note,[data-theme="dark"] .portfolio-coverage,[data-theme="dark"] .network-health,[data-theme="dark"] .network-health-item small{color:#b3c0d5}
[data-theme="dark"] .activity-main strong,[data-theme="dark"] .activity-card-route,[data-theme="dark"] .activity-chain-copy strong,[data-theme="dark"] .comparison-asset strong,[data-theme="dark"] .comparison-venue strong,[data-theme="dark"] .comparison-value strong,[data-theme="dark"] .network-health-heading strong,[data-theme="dark"] .network-health-name{color:#f0f4ff}
[data-theme="dark"] .network-health,[data-theme="dark"] .network-health:hover{background:transparent;border-color:#354158;color:#aab5ca}
[data-theme="dark"] .network-health-title{color:#b6c1d4}
[data-theme="dark"] .network-health-title::before{background:#76849c}
[data-theme="dark"] .network-health-summary,[data-theme="dark"] .network-health-more,[data-theme="dark"] .network-health-item small{color:#9aa9c1}
[data-theme="dark"] .network-health-more{background:#253249;border-color:#40516b}
[data-theme="dark"] .network-health summary:hover .network-health-more{background:#30415d;border-color:#567092}
[data-theme="dark"] .network-health-status{color:#adbad0}
[data-theme="dark"] .network-health-warning,[data-theme="dark"] .network-health-status.health-partial{color:#e2bd86}
[data-theme="dark"] .network-health-expanded{background:transparent;border-color:#354158}
[data-theme="dark"] .network-health-expanded>p,[data-theme="dark"] .network-health-overview{color:#9aa9c1}
[data-theme="dark"] .portfolio-coverage{background:#202b3f;border-color:#3b4b68}
[data-theme="dark"] .portfolio-coverage summary:hover{background:#25334a}
[data-theme="dark"] .portfolio-coverage-mark{background:#27354e;border-color:#4b5a75;color:#bed0eb}
[data-theme="dark"] .portfolio-coverage-copy strong{color:#edf2ff}
[data-theme="dark"] .portfolio-coverage-copy small{color:#b3c0d5}
[data-theme="dark"] .portfolio-coverage-arrow{background:#2a3852;border-color:#465571;color:#b9c8e4}
[data-theme="dark"] .portfolio-coverage p{background:#1b2638;border-color:#3d4d68;color:#bfcae0}
[data-theme="dark"] .network-health-item{background:transparent;border-color:#354158;box-shadow:none}
[data-theme="dark"] .network-health-name{color:#e8f0ff}
[data-theme="dark"] .network-health-list,[data-theme="dark"] .comparison-options li,[data-theme="dark"] .comparison-note,[data-theme="dark"] .activity-chain-row+.activity-chain-row{border-color:#3d4d68}
[data-theme="dark"] .activity-mark,[data-theme="dark"] .activity-chain-icon,[data-theme="dark"] .activity-main .activity-network,[data-theme="dark"] .comparison-provider-logo{background:#28364e;border-color:#465772;color:#e8f0ff}
[data-theme="dark"] .activity-network span,[data-theme="dark"] .activity-main .activity-network{color:#e7eeff}
[data-theme="dark"] .activity-card:hover,[data-theme="dark"] .comparison-options li:hover,[data-theme="dark"] .comparison-options .comparison-selected,[data-theme="dark"] .execution-list li.current{background:#2b3b58;border-color:#5e7ed0}
[data-theme="dark"] .execution-list li.preconfirmed{background:#302b46;border-color:#806ba5}
[data-theme="dark"] .execution-list li.preconfirmed .execution-route-status{color:#d3b9f2}
[data-theme="dark"] .execution-list li.has-error,[data-theme="dark"] .execution-stage.stopped{background:#392834;border-color:#70495d}
.execution-stage.settling,.execution-list li.is-settling{background:#f7f8fc;border-color:#dfe4ed}
.execution-list li.is-settling .execution-route-status,.execution-list li.is-settling .execution-route-error{color:#68778d}
[data-theme="dark"] .execution-stage.settling,[data-theme="dark"] .execution-list li.is-settling{background:#202b40;border-color:#46536b}
[data-theme="dark"] .execution-list li.is-settling .execution-route-status,[data-theme="dark"] .execution-list li.is-settling .execution-route-error{color:#b5c4db}
@media(max-width:400px){.route-preference-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
[data-theme="dark"] .execution-stage.finished,[data-theme="dark"] .success-scene{background:radial-gradient(circle at 50% 46%,#223b35,#1b312d);border-color:#386a58}
[data-theme="dark"] .execution-token-logo,[data-theme="dark"] .execution-token-logo>img:not(.execution-network-badge):not(.stage-network-badge),[data-theme="dark"] .stage-extra,[data-theme="dark"] .result-dialog .dialog-close{background:#29364e;border-color:#526785;color:#edf2ff}
[data-theme="dark"] .execution-network-badge,[data-theme="dark"] .stage-network-badge,[data-theme="dark"] .success-check{border-color:#233248}
[data-theme="dark"] .stage-caption,[data-theme="dark"] .success-refresh,[data-theme="dark"] .success-scene-label{color:#b9d8c8}
[data-theme="dark"] .result-dialog .dialog-close:hover{background:#374765;color:#dbe5ff}
[data-theme="dark"] .wallet-option,[data-theme="dark"] .wallet-menu button{background:#1f2b40;border-color:#3f506b;color:#eef1fb}
[data-theme="dark"] .wallet-menu-note{border-color:#40506c}
[data-theme="dark"] .wallet-menu .wallet-visibility{background:#202d43;border-color:#43516a;color:#becce2}
[data-theme="dark"] .wallet-menu .wallet-visibility:hover{background:#2a3853;border-color:#8faeff;color:#fff}
[data-theme="dark"] .option-icon{background:#2b3a55;border-color:#465979}
[data-theme="dark"] .listed-badge,[data-theme="dark"] .status-pending-badge{background:#273b60;border-color:#425f9a;color:#b9d0ff}
[data-theme="dark"] .issuer-badge{border-color:#aab4c2;background:linear-gradient(112deg,#aeb8c7 0%,#f6f8fc 27%,#cbd3df 49%,#f8faff 69%,#aab5c5 100%);color:#253247;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 1px 4px rgba(0,0,0,.24)}
[data-theme="dark"] .issuer-badge span{color:#536174}
[data-theme="dark"] .asset-value-note,[data-theme="dark"] .catalog-note,[data-theme="dark"] .token-import p{color:#aab9d0}
[data-theme="dark"] .scan-warning,[data-theme="dark"] .quote-cost-warning,[data-theme="dark"] .activity-status.approval_only{background:#45351f;border-color:#765e37;color:#ffe0a3}
[data-theme="dark"] .dialog-error,[data-theme="dark"] .activity-status.needs_review,[data-theme="dark"] .halt-badge{background:#462c34;border-color:#80505a;color:#ffb9bf}
[data-theme="dark"] .activity-status.confirmed{background:#214434;color:#9be3b8}
[data-theme="dark"] .activity-status{background:#2b3b60;color:#b7caff}
[data-theme="dark"] .explainer,[data-theme="dark"] .route-ecosystem,[data-theme="dark"] .site-footer{background:#0b101c;border-color:#27324a}
[data-theme="dark"] .explainer-card{background:#1c2638;border-color:#344460;color:#eef1fb}
[data-theme="dark"] .explainer-card:hover{background:#25334a;border-color:#6d86ba}
[data-theme="dark"] .explainer-card p,[data-theme="dark"] .explainer-num,[data-theme="dark"] .route-ecosystem-heading>p,[data-theme="dark"] .route-ecosystem-note{color:#b9c5d9}
[data-theme="dark"] .site-footer .footer-inner{color:#c1cbe0}
[data-theme="dark"] .route-logo{background:#1b263a;border-color:#344763}
[data-theme="dark"] .route-logo:hover{background:#26354d;border-color:#6c88bc}
[data-theme="dark"] .route-logo-unify{background:linear-gradient(115deg,#1a366c,#1b263a)}
[data-theme="dark"] .text-button,[data-theme="dark"] .activity-side a,[data-theme="dark"] .comparison-value .comparison-select-hint,[data-theme="dark"] .comparison-venue .comparison-via,[data-theme="dark"] .route-choice-message{color:#a9c2ff}
[data-theme="dark"] .loading-line{background:#344158}
[data-theme="dark"] .starknet-modal-dialog{background:#192234;border-color:#344765}
[data-theme="dark"] .starknet-modal-dialog .dialog-close,[data-theme="dark"] .starknet-hero-mark,[data-theme="dark"] .starknet-provider-logo{background:#26344c;border-color:#435574;color:#f1f5ff}
[data-theme="dark"] .starknet-hero{background:linear-gradient(105deg,#1d2a42,#243966 70%,#292d56);border-color:#3d4e6e}
[data-theme="dark"] .starknet-hero p:last-child,[data-theme="dark"] .starknet-section-heading p:last-child,[data-theme="dark"] .starknet-account,[data-theme="dark"] .starknet-disclaimer,[data-theme="dark"] .starknet-route-card small,[data-theme="dark"] .starknet-bridge-route small,[data-theme="dark"] .starknet-bridge-note{color:#adbbd3}
[data-theme="dark"] .starknet-stage,[data-theme="dark"] .starknet-wallet-choice{background:#273b60;border-color:#425f9a;color:#c4d8ff}
[data-theme="dark"] .starknet-tabs{border-color:#3b4a62}[data-theme="dark"] .starknet-tabs button{color:#afbbd2}[data-theme="dark"] .starknet-tabs button[aria-selected="true"]{color:#fff}
[data-theme="dark"] .starknet-form label{color:#adbcd6}
[data-theme="dark"] .starknet-form input,[data-theme="dark"] .starknet-form select{background:#1c2639;border-color:#42506b;color:#edf2ff}
[data-theme="dark"] .starknet-balance,[data-theme="dark"] .starknet-route-card,[data-theme="dark"] .starknet-bridge-route{background:#1e2b42;border-color:#3e4c65}
[data-theme="dark"] .starknet-balance strong{color:#e5edff}[data-theme="dark"] .starknet-route-card.is-primary{background:#273864;border-color:#687bc0}
[data-theme="dark"] .starknet-status{background:#1c283c;border-color:#3b4a62;color:#a9c2ff}
[data-theme="dark"] .starknet-status-bar{background:#1c283c;border-color:#3b4a62}[data-theme="dark"] .starknet-tx-link{color:#a9c2ff}
[data-theme="dark"] .starknet-status.is-error{color:#ffb9bf}
[data-theme="dark"] .starknet-picker-option{border-color:#40506c}
[data-theme="dark"] .base-batch-option{background:#1d2a41;border-color:#425473}
[data-theme="dark"] .base-batch-option strong{color:#edf3ff}
[data-theme="dark"] .base-batch-option small{color:#afbed5}
[data-theme="dark"] .quote-fee-details{border-color:#36445e}
[data-theme="dark"] .quote-fee-details summary,[data-theme="dark"] .quote-fee-content p,[data-theme="dark"] .quote-cost-percent{color:#b0bfd8}
[data-theme="dark"] .quote-disclosure-arrow{border-color:#485976;color:#bdcbe1}
[data-theme="dark"] .quote-refresh{border-color:#485976;background:#202e46;color:#d2def4}
[data-theme="dark"] .quote-refresh:hover{background:#2b3c58;border-color:#7c8fad}
[data-theme="dark"] .quote-head .quote-status.is-unify{background:#19382f;border-color:#396d59;color:#a0dfc9}
[data-theme="dark"] .quote-cost-warning-compact .quote-disclosure-arrow{border-color:#846739;color:#ffe0a3}
[data-theme="dark"] .quote-live-meta-compact{color:#b3c0d5}
[data-theme="dark"] .quote-body-compact .routes-toggle{color:#c3ccff}
[data-theme="dark"] .quote-body-compact .quote-divider{background:#34405a}
/* The real heading stays in the document; the logo canvas is only decoration. */
.destination-word{position:relative;display:inline-block;vertical-align:baseline;background:none}
.intro h1 .destination-word{background:none;color:#000;-webkit-text-fill-color:initial}
.wallet-chip[hidden]{display:none!important}
.destination-text{background:linear-gradient(110deg,#000 0%,#292929 52%,#050505 100%);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
[data-theme="dark"] .intro h1 .destination-word{color:#d3d3d3}
[data-theme="dark"] .destination-text{background-image:linear-gradient(110deg,#d3d3d3 0%,#969696 52%,#cdcdcd 100%)}
.destination-word.is-forming .destination-text{opacity:var(--destination-reveal,1);will-change:opacity}
.destination-logos{position:absolute;inset:-14px;display:block;width:calc(100% + 28px);height:calc(100% + 28px);pointer-events:none}
@media(prefers-reduced-motion:reduce){.destination-word.is-forming .destination-text{opacity:1}.destination-logos{display:none}}
.explainer-head h2 span{background:#fff;background-clip:border-box;-webkit-background-clip:border-box;color:#000;-webkit-text-fill-color:#000;padding:0 .14em;border-radius:4px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.notice .notice-dot{background:#000}
