.cards-page{max-width:1600px}.cards-heading,.card-detail>header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:30px 0}.cards-heading h1{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.cards-heading p,.card-detail header p{color:var(--muted)}.pro-tag{font-size:10px;letter-spacing:.12em;border:1px solid #6a824a;color:var(--accent);padding:6px 9px;border-radius:20px}.cards-filters,.card-detail,.cards-lock{background:var(--surface);border:1px solid var(--line,#293a31);border-radius:18px;padding:24px}.cards-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end}.cards-filters label,.card-assumptions label{font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:8px}.cards-filters input,.cards-filters select,.card-assumptions input{min-width:0;width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--line,#293a31);border-radius:8px;color:var(--text);background:var(--bg,#09100d)}.cards-filters .cards-check,.cards-exchanges label{display:flex;flex-direction:row;align-items:center;gap:8px}.cards-check input,.cards-exchanges input{width:auto;accent-color:#c4f65d}.cards-exchanges{grid-column:span 2;position:relative}.cards-exchanges summary{cursor:pointer;color:var(--text);padding:8px 0}.cards-exchanges summary span{color:var(--accent);margin-left:10px}.cards-exchanges>div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px 0}.cards-bar{display:flex;justify-content:space-between;gap:15px;margin:22px 0;color:var(--muted);font-size:12px}.cards-bar .error{color:#fa928e}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.route-card{border:1px solid var(--line,#293a31);border-radius:16px;padding:20px;background:var(--surface);min-width:0}.route-card.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.route-card header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.route-card header>div{display:flex;align-items:center;gap:9px}.route-card img{width:28px;height:28px;object-fit:contain}.route-card header small{color:var(--muted)}.route-card strong{font-size:27px;color:#32df99}.route-directions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.route-directions>div{font-size:12px;border-radius:8px;padding:10px;display:grid;gap:5px}.long-leg{background:#1b704726;color:#53dda3}.short-leg{background:#a9444329;color:#ff9c96}.route-card>small{display:block;line-height:1.6;color:var(--muted)}.route-card button{width:100%;margin-top:18px}.card-detail{margin-top:28px;scroll-margin-top:20px}.card-detail>header{margin:0 0 20px}.card-detail h2{font-size:25px}.card-legs{display:grid;grid-template-columns:1fr 1fr;gap:16px}.card-legs>article{padding:20px;border-radius:12px}.card-legs h3{margin:6px 0 12px}.card-legs p{font-size:12px;line-height:1.7}.card-legs a{color:inherit}.card-assumptions{margin:26px 0}.card-assumptions h3{font-size:17px}.card-assumptions h3 small{font-size:12px;color:var(--muted);font-weight:400}.card-assumptions form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end}.cards-warning{color:#edbd75;background:#8561161b;border:1px solid #8e6a283d;padding:14px;border-radius:9px;font-size:13px;line-height:1.65}.cards-warning:empty{display:none}.card-recommendation{display:flex;justify-content:space-between;gap:16px;background:#8caf3420;border:1px solid #92bd4240;border-radius:12px;padding:18px;margin:18px 0;align-items:center}.card-recommendation:empty{display:none}.card-recommendation b{font-size:20px;color:var(--accent);display:block;margin-bottom:6px}.card-recommendation small{color:var(--muted)}.card-intelligence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.card-intelligence>div{border:1px solid var(--line,#293a31);padding:14px;border-radius:9px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.card-intelligence b{display:block;margin-bottom:5px}.card-scenarios{font-size:12px;min-width:1000px}.card-scenarios td{vertical-align:top;line-height:1.8}.card-scenarios small{color:var(--muted);display:block}.card-scenarios .positive{color:#48dfa2}.card-scenarios .negative{color:#fc9993}.card-method{margin-top:22px;font-size:13px;line-height:1.8;color:var(--muted)}.card-method summary{cursor:pointer;color:var(--text)}.cards-footnote{font-size:12px;color:var(--muted);line-height:1.8;margin:25px 0}.cards-lock{max-width:1000px;margin:40px auto;padding:44px}.cards-lock h2{font-size:36px}.cards-lock>p{max-width:690px;color:var(--muted);line-height:1.8}.cards-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:35px 0}.cards-benefits b{display:block;margin-bottom:12px;color:var(--accent)}.cards-benefits span{font-size:13px;color:var(--muted);line-height:1.8}.cards-price{font-size:22px;margin:24px 0}.cards-price small{font-size:14px;color:var(--muted)}
@media(max-width:1100px){.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cards-filters,.card-assumptions form{grid-template-columns:repeat(3,minmax(0,1fr))}.card-intelligence{grid-template-columns:1fr 1fr}}@media(max-width:700px){.cards-heading,.card-detail>header{align-items:flex-start;flex-direction:column}.cards-heading h1{font-size:29px}.cards-filters,.card-assumptions form{grid-template-columns:1fr 1fr}.cards-grid,.card-legs,.card-intelligence,.cards-benefits{grid-template-columns:1fr}.cards-filters,.card-detail{padding:16px}.cards-bar{align-items:flex-start;flex-direction:column}.cards-exchanges>div{grid-template-columns:1fr 1fr}.cards-lock{padding:24px}.cards-lock h2{font-size:28px}.card-recommendation{align-items:flex-start;flex-direction:column}.card-assumptions form>label:first-child{grid-column:span 2}}@media(prefers-reduced-motion:reduce){.card-detail{scroll-behavior:auto}}

[data-theme=light] .long-leg{color:#176a45}[data-theme=light] .short-leg{color:#a12f38}[data-theme=light] .cards-warning{color:#715019}

.route-card strong.negative{color:var(--red)}.route-card header>div{min-width:0}.route-card b,.card-detail h2,.card-legs p{overflow-wrap:anywhere}

.route-card.is-stale{opacity:.65}.route-card.is-stale strong{color:var(--muted)}

/* Release 20: responsive modal and immutable in-session card snapshots. */
.card-overlay[hidden]{display:none!important}
.card-overlay{position:fixed;inset:0;z-index:1600;background:rgba(0,0,0,.74);display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:3vh 16px;box-sizing:border-box}
.card-modal-open{overflow:hidden}
.card-overlay .card-detail{width:min(1400px,100%);max-height:94vh;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;margin:0;box-shadow:0 20px 80px #0008}
.card-dialog-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.card-dialog-actions .button{white-space:nowrap}
.route-card.is-frozen{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.route-card .card-freeze{margin-top:8px}
.route-card.is-frozen .frozen-caption{color:var(--accent);margin-top:8px}
.route-card.is-frozen.is-stale{opacity:1}
.route-card.is-frozen.is-stale strong{font-size:27px;color:var(--muted)}
@media(max-width:700px){.card-overlay{padding:0}.card-overlay .card-detail{border-radius:0;max-height:100dvh;min-height:100dvh;width:100%;padding:14px}.card-dialog-actions{width:100%}}

/* Release 25.23: explicit capital, transfer assumptions, manually closed positions. */
.card-assumptions select,.actual-position-form input{min-width:0;width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--line,#293a31);border-radius:8px;color:var(--text);background:var(--bg,#09100d)}
.actual-position-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0;align-items:end}
.actual-position-form label{display:flex;flex-direction:column;gap:7px;font-size:12px}
.actual-position{border:1px solid var(--line,#293a31);padding:14px;border-radius:10px;margin-top:22px}
.actual-position summary{cursor:pointer;font-weight:600}
#card-actual-result b{font-size:16px;color:var(--accent)}
@media(max-width:700px){.actual-position-form{grid-template-columns:1fr}}

.card-price-history{display:grid;gap:3px;margin:6px 0}.card-price-history svg{width:100%;height:54px}.card-price-history small{font-size:11px;opacity:.8}

/* Mini chart belongs beside the spread, in the card's upper right. */
.card-price-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,46%);gap:10px;align-items:start;margin:-8px 0 12px}.card-spread-stats{display:grid;gap:8px;min-width:0}.card-spread-stats>small{font-size:11px;color:var(--muted);line-height:1.5}.card-price-history{min-width:0;margin:0;gap:3px}.card-price-history svg{display:block;width:100%;height:64px;overflow:hidden}.card-price-history>small{font-size:9px;line-height:1.3;color:var(--muted)}.card-mini-legend{display:flex;flex-wrap:wrap;gap:2px 9px;font-size:9px;line-height:1.4}.card-mini-legend>span{min-width:0;overflow-wrap:anywhere}.card-mini-legend>span::before{content:"";display:inline-block;width:10px;margin-right:3px;border-top:2px solid currentColor;vertical-align:middle}.card-mini-legend>.mini-sell::before{border-top-style:dashed}.mini-buy{color:#3ac99a}.mini-sell{color:#61a8ff}@media(max-width:360px){.card-price-overview{grid-template-columns:minmax(0,1fr) 115px}.card-spread-stats strong{font-size:23px}}

.route-card header{margin-bottom:8px}.card-price-overview{margin-top:0}

/* 25.274: consistent route anatomy and bottom action bar. */
.route-card{display:flex;flex-direction:column;gap:10px;padding:20px}.route-card .card-price-overview{margin:0}.card-spreads{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap}.card-executable-spread{font-size:20px;font-weight:700;color:#69acff}.route-card .route-directions{margin:0;gap:10px}.route-directions>:is(section,a,span){display:flex;flex-direction:column;gap:7px;padding:13px;border-radius:12px;min-width:0}.card-market-type{font-size:10px;letter-spacing:.04em;line-height:1.5}.card-side{font-size:12px}.card-venue{font-size:19px;font-weight:700}.card-symbol{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.15;max-width:100%}.card-wallet{display:flex;gap:8px}.card-wallet span{font-size:12px;padding:3px 8px;border:1px solid currentColor;border-radius:6px}.wallet-open{color:#39cf94}.wallet-blocked{color:#f28a85}.wallet-unknown{color:var(--muted)}.route-directions small{font-size:11px;line-height:1.5}.card-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:13px 0;border-top:1px solid var(--line,#293a31);border-bottom:1px solid var(--line,#293a31)}.card-metrics>div{display:grid;gap:5px;min-width:0}.card-metrics small{font-size:11px;color:var(--muted)}.card-metrics b{font-size:12px}.card-network,.card-depth-note{font-size:11px}.route-card .card-actions{margin-top:auto;padding-top:8px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.route-card .card-actions .button{display:flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;width:100%;min-width:0;min-height:42px;margin:0;padding:9px 10px;font-size:11px;line-height:1.4;font-weight:600;border:1px solid var(--line,#293a31);border-radius:9px;background:transparent;color:var(--text);text-decoration:none;white-space:normal}.route-card .card-actions .button:hover{border-color:var(--accent)}.route-card .card-actions .card-freeze{grid-column:1/-1}.card-source{font-size:11px}.card-spreads .negative{color:var(--red,#f28a85)}
@media(max-width:420px){.route-card{padding:15px}.route-directions>:is(section,a,span){padding:10px}.card-venue{font-size:17px}.card-market-type{font-size:9px}}

.route-card .card-actions{width:100%;box-sizing:border-box;max-width:none;margin-left:0;margin-right:0;margin-bottom:0;padding:8px 0 0;border-top:0;letter-spacing:normal}.route-card .card-actions a{margin-left:0}

.card-instant-profit{display:grid;gap:5px;min-width:0;padding:10px 0;border-top:1px solid var(--line,#293a31);line-height:1.5}.card-instant-profit>b{font-size:20px}.card-instant-profit>small{font-size:11px;color:var(--muted)}.card-instant-profit .positive{color:#32df99}.card-instant-profit .negative{color:var(--red,#fc9993)}.card-instant-profit details{font-size:11px;overflow-wrap:anywhere}.card-instant-profit summary{cursor:pointer}.card-instant-profit details p{margin:7px 0;color:var(--muted)}[data-theme=light] .card-instant-profit .positive{color:#176a45}

/* 25.279: market links, explicit price lines and funding countdown. */
.card-leg-link,.card-detail-market{display:flex;flex-direction:column;gap:5px;text-decoration:none;border:1px solid transparent;box-sizing:border-box;min-width:0}.card-leg-link[href],.card-detail-market[href]{cursor:pointer}.card-leg-link[href]:hover,.card-detail-market[href]:hover{border-color:currentColor}.card-leg-link:focus-visible,.card-detail-market:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.card-detail-market{padding:20px;border-radius:12px}.card-metrics>div{display:block;line-height:1.6}.card-metrics b{display:inline;overflow-wrap:anywhere}.card-funding{font-variant-numeric:tabular-nums}.route-directions .card-funding{margin:0}

/* 25.513: independent spot/perp scope and clearly identified DEX venues */
.venue-scope-controls,.cards-market-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0}
.venue-scope-controls button,.cards-market-tabs button{background:var(--surface,#14212a);color:var(--text,#edf2f7);border:1px solid var(--line,#405363);border-radius:7px;padding:7px 10px;font:inherit;font-size:12px;cursor:pointer}
.venue-scope-controls button[aria-pressed="true"],.cards-market-tabs button[aria-pressed="true"]{border-color:var(--accent,#b5f36a);box-shadow:inset 0 0 0 1px var(--accent,#b5f36a);font-weight:700}
.venue-scope-controls button:focus-visible,.cards-market-tabs button:focus-visible{outline:2px solid var(--accent,#b5f36a);outline-offset:2px}
.market-scope-label{font-size:11px;color:var(--muted,#aab9c5);font-weight:700;min-width:64px}
.venue-dex-badge{display:inline-flex;align-items:center;width:max-content;background:#9a5ce521;border:1px solid #c095ff;color:#edcbff;border-radius:5px;padding:1px 7px;font-size:11px;line-height:1.6;font-weight:800;letter-spacing:.09em;white-space:nowrap}
.market-link-hint{font-size:10px;color:var(--accent,#b5f36a);text-decoration:underline}
.cards-market-scope,.cards-market-tabs,.cards-scope-note{grid-column:1/-1}
.cards-market-scope{padding:7px 0;border-bottom:1px solid var(--line,#405363)}
.cards-scope-note{color:var(--muted,#aab9c5);font-size:11px;margin:0}
.source-line .venue-dex-badge{margin-left:4px}
[data-theme="light"] .venue-dex-badge{background:#f2eaff;color:#59228b;border-color:#8853c4}
@media(max-width:600px){.market-scope-label{flex-basis:100%}.venue-scope-controls button,.cards-market-tabs button{font-size:11px;padding:6px 7px}}

.native-ticker{font-size:.74rem;white-space:nowrap;opacity:.85;font-weight:600;letter-spacing:.02em}

/* Volume spike: read-only completed-candle indicator */
.volume-spike-active{color:#e6a640;font-weight:750;border:1px solid currentColor;border-radius:5px;padding:2px 5px;}
.volume-spike-normal{opacity:.8;}
.volume-spike-badge{display:block;margin-top:5px;}

/* 25.573: risk visibility and direct control, including small screens. */
.card-delisting-alert{display:block;background:#9e1717;color:#fff!important;border:3px solid #ffcf36;border-radius:10px;padding:12px 14px;font-size:14px;font-weight:900;line-height:1.5;letter-spacing:.02em;box-shadow:0 0 0 2px #f63b3b55}
.route-card.has-delisting{border:2px solid #ff5a47;box-shadow:0 0 0 2px #ffcf3630}
.card-price-history-link{color:inherit;text-decoration:none;cursor:pointer;border-radius:8px;border:1px solid transparent}
.card-price-history-link:hover,.card-price-history-link:focus-visible{border-color:#8bdeff;box-shadow:0 0 0 2px #8bdeff55;outline:none}
.card-price-history-link:after{content:'↗ Открыть график';font-size:10px;color:#93dcff;font-weight:700}
.card-exchange-shortcuts{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.card-identity-note{display:block;color:#ffd176!important;border-left:3px solid #ffc44c;padding-left:10px}
.card-instant-profit .profit-unavailable{color:#ffcd7d}
.direction-picker{grid-column:1/-1;border:1px solid var(--line,#293a31);border-radius:10px;padding:10px;margin:8px 0}
.direction-picker summary{font-size:13px;font-weight:700;cursor:pointer}
.direction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
.direction-grid label{display:flex;flex-direction:row;align-items:center;gap:7px;cursor:pointer;font-size:12px;color:var(--text)}
.direction-grid input{width:auto;min-width:auto;accent-color:var(--accent,#8dd758)}
@media(max-width:730px){.direction-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.direction-grid{grid-template-columns:1fr}}

.card-delisting-summary{color:#fff!important;background:#9e1717!important;border:2px solid #ffcf36!important;border-radius:8px;padding:12px!important;font-weight:800!important}

.direction-actions{display:flex;gap:8px;margin:10px 0}
.direction-actions button{width:auto!important;margin:0!important;padding:7px 10px!important;border:1px solid var(--line,#293a31);border-radius:8px;color:var(--text);background:transparent;cursor:pointer}
.direction-actions button:hover{border-color:var(--accent)}

/* 25.578: prominent 24-hour spread extremes; label stays legible on mobile. */
.card-daily-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:3px 0 6px}
.card-daily-range>span{display:grid;gap:4px;padding:7px 9px;border:1px solid var(--line,#405363);border-radius:9px;background:color-mix(in srgb,var(--surface,#182326) 88%,#366176 12%)}
.card-daily-range small{font-size:10px;font-weight:700;letter-spacing:.04em;color:var(--muted,#aab9c5)}
.card-daily-range b{font-size:19px;line-height:1.3;font-variant-numeric:tabular-nums}
.card-daily-min b{color:#ffc36c}.card-daily-max b{color:#42e3a1}
.card-daily-min{border-left:3px solid #ffc36c!important}.card-daily-max{border-left:3px solid #42e3a1!important}
.card-stale-label{font-size:12px;font-weight:750;padding:10px 12px;color:#ffda8a;background:#613b1622;border:1px dashed #e0a34b;border-radius:8px}
.route-card.is-stale-snapshot{border-style:dashed;opacity:.83}
.route-card.is-stale-snapshot .card-leg-link,.route-card.is-stale-snapshot .card-exchange-shortcuts{opacity:.66}
.card-instant-profit.profit-indicative{border-left:3px solid #e5aa58;padding-left:11px}
.card-instant-profit .profit-estimate-label{font-weight:750;color:#f3c36b}
.card-instant-profit .profit-estimate{color:#f3c36b}
.card-instant-profit .profit-verified-label{font-weight:700;color:#5ce2a3}
@media(max-width:420px){.card-daily-range{gap:5px}.card-daily-range b{font-size:16px}.card-daily-range>span{padding:6px}}
[data-theme=light] .card-daily-min b,[data-theme=light] .card-instant-profit .profit-estimate{color:#8b4f0d}
[data-theme=light] .card-daily-max b{color:#146a48}

/* 25.580 — official-source listing badges: verified launch vs announcement. */
.card-news-badges{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 10px}
.card-news-badge{display:inline-flex;align-items:center;padding:8px 11px;border-radius:9px;font-weight:850;font-size:13px;line-height:1.35;letter-spacing:.03em;text-decoration:none;border:2px solid currentColor}
.card-news-listing{color:#b5ffe5;background:#0b5d37;border-color:#43e9a9;box-shadow:0 0 0 2px #43e9a929}
.card-news-delisting{color:#fff;background:#9e1717;border-color:#ffcf36;box-shadow:0 0 0 2px #f63b3b55}
.card-news-delisting_candidate{color:#ffe6a8;background:#6a3f1d;border-color:#ffbd67}
.card-news-listing_announcement{color:#ffe6a8;background:#604b16;border-color:#e2c46e}
a.card-news-badge:hover,a.card-news-badge:focus-visible{text-decoration:underline;outline:2px solid currentColor;outline-offset:2px}
@media(max-width:560px){.card-news-badge{font-size:12px;padding:7px 9px}}
/* The mini chart stays clickable, without a separate visible Graph button. */
.card-price-history-link:after{content:'↗';font-size:12px}

/* 25.596: clear two-step route choice, one set of matching market-type buttons. */
.cards-route-picker{grid-column:1/-1;border:1px solid var(--line,#405363);border-radius:11px;padding:12px;margin:7px 0}
.cards-route-heading{display:block;font-size:13px;margin-bottom:10px}
.cards-route-heading small{font-size:11px;color:var(--muted,#aab9c5);font-weight:500}
.cards-route-buttons{display:flex;flex-wrap:wrap;gap:7px}
.cards-route-buttons button{cursor:pointer;border:1px solid var(--line,#405363);border-radius:8px;background:var(--surface,#14212a);color:var(--text,#edf2f7);font:inherit;font-size:12px;padding:9px 12px}
.cards-route-buttons button[aria-pressed="true"]{border-color:var(--accent,#a7e54e);box-shadow:inset 0 0 0 1px var(--accent,#a7e54e);font-weight:750}
.cards-route-buttons button:disabled{cursor:not-allowed;opacity:.48}
.cards-route-buttons button:focus-visible{outline:2px solid var(--accent,#a7e54e);outline-offset:2px}
@media(max-width:590px){.cards-route-buttons button{flex:1 1 43%;padding:9px 7px;font-size:11px}}

/* 25.597: third-stage leg assignment for selected spot/futures directions. */
.cards-route-leg-picker{margin-top:14px;border-top:1px solid var(--line,#405363);padding-top:12px}
.cards-route-legs{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.cards-route-legs .cards-leg-choice{cursor:pointer;text-align:left;border:1px solid var(--line,#405363);border-radius:8px;background:var(--surface,#14212a);color:var(--text,#edf2f7);font:inherit;font-size:12px;min-height:38px;padding:9px 12px}
.cards-route-legs .cards-leg-choice[aria-pressed="true"]{border-color:var(--accent,#a7e54e);box-shadow:inset 0 0 0 1px var(--accent,#a7e54e);font-weight:750}
.cards-route-legs-actions{display:flex;flex-wrap:wrap;gap:8px}
.cards-route-legs-actions button{font:inherit;font-size:12px;background:transparent;border:1px solid var(--line,#405363);border-radius:7px;color:var(--text,#edf2f7);cursor:pointer;padding:6px 10px}
.cards-route-legs button:focus-visible,.cards-route-legs-actions button:focus-visible{outline:2px solid var(--accent,#a7e54e);outline-offset:2px}
@media(max-width:590px){.cards-route-legs .cards-leg-choice{flex:1 1 45%}}
/* Keep all three selection steps together before price/volume controls. */
.cards-filters > .cards-exchanges{grid-column:1/-1;margin-bottom:2px}
.cards-filters > .cards-market-scope{grid-column:1/-1}

/* 25.598: unified CEX/DEX direction border, single exchange list, and all explanatory help behind ? */
.cards-filters{display:flex;flex-direction:column;align-items:stretch;gap:15px;padding:20px}
.cards-selection-group{border:2px solid var(--line,#405363);border-radius:13px;padding:16px;background:var(--bg,#09100d)}
.cards-selection-group .cards-market-scope{padding:3px 0 10px}
.cards-selection-group .cards-route-picker{border:0;border-radius:0;padding:10px 0 0;margin:0}
.cards-selection-group .cards-route-leg-picker{margin-top:12px}
.cards-exchange-stage{border:1px solid var(--line,#405363);border-radius:12px;padding:12px 16px}
.cards-exchange-stage>.cards-exchanges{margin:0}
.cards-exchange-stage .cards-exchanges>div{grid-template-columns:repeat(4,minmax(0,1fr))}
.cards-numeric-stage{padding:8px 0 0}
.cards-stage-title{font-size:15px;display:flex;gap:9px;align-items:center;margin:0 0 13px;font-weight:750;color:var(--text)}
.cards-route-heading{display:flex;align-items:center;gap:8px;font-weight:700}
.cards-controls-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:end}
.cards-field{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0}
.cards-field>label{display:block;min-width:0;font-size:12px;font-weight:650;color:var(--muted)}
.cards-field>input,.cards-field>select{grid-column:1/-1;margin-top:2px}
.cards-reset-filters{align-self:end;min-height:40px}
.cards-help{display:inline-block;position:relative;flex:0 0 auto;z-index:3;font-size:12px;font-weight:500;color:var(--text)}
.cards-help>summary{display:grid;place-items:center;cursor:pointer;list-style:none;border-radius:50%;width:20px;height:20px;border:1px solid var(--accent,#a7e54e);color:var(--accent,#a7e54e);font-weight:800;font-size:13px;line-height:1;background:var(--surface,#14212a)}
.cards-help>summary::-webkit-details-marker{display:none}
.cards-help>summary:focus-visible{outline:2px solid var(--accent,#a7e54e);outline-offset:2px}
.cards-help[open]{z-index:20}
.cards-help-content{position:absolute;top:calc(100% + 8px);left:0;max-width:min(310px,80vw);min-width:220px;width:max-content;white-space:normal;box-sizing:border-box;padding:12px;border:1px solid var(--accent,#a7e54e);border-radius:9px;box-shadow:0 9px 24px #0006;background:var(--surface,#14212a);color:var(--text);font-size:12px;line-height:1.6;font-weight:400}
.cards-field .cards-help-content{left:auto;right:0}
.cards-help[open] .cards-help-content{display:block}
.cards-selection-group .cards-route-buttons button,.cards-selection-group .cards-route-legs button{margin-top:0}
@media(max-width:1000px){.cards-controls-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cards-exchange-stage .cards-exchanges>div{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.cards-filters{padding:13px}.cards-selection-group,.cards-exchange-stage{padding:12px}.cards-controls-grid{grid-template-columns:1fr}.cards-exchange-stage .cards-exchanges>div{grid-template-columns:repeat(2,minmax(0,1fr))}.cards-help-content{max-width:min(275px,76vw);min-width:190px}}

/* Follow-up explanatory help in the scenario and price explanations. */
.card-assumptions h3{display:flex;align-items:center;gap:9px}
.card-assumptions .cards-label-line{display:flex;align-items:center;gap:7px;font-size:12px}
.card-assumptions .cards-label-line .cards-help-content{left:0}
.cards-help-guide{position:relative;display:inline-block;margin:6px 0 12px}
.cards-help-guide>summary{list-style:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;border:1px solid var(--accent,#a7e54e);color:var(--accent,#a7e54e);font-weight:800;cursor:pointer}
.cards-help-guide>summary::-webkit-details-marker{display:none}
.cards-help-guide>p{max-width:640px;line-height:1.55;padding:10px 12px;border:1px solid var(--line,#405363);border-radius:9px}

/* 25.599: red help icons and high-visibility exchange selection. */
.cards-help>summary,.cards-help-guide>summary{border:2px solid #ff525e!important;color:#fff!important;background:#aa1428!important;box-shadow:0 0 0 2px #ff525e22;font-weight:900!important}
.cards-help>summary:hover,.cards-help-guide>summary:hover{background:#e02b44!important}
.cards-help>summary:focus-visible,.cards-help-guide>summary:focus-visible{outline:2px solid #ff525e!important;outline-offset:3px}
.cards-help-content{border-color:#ff525e!important}
.cards-exchange-stage{border:2px solid #ff9b36!important;background:color-mix(in srgb,var(--surface,#152329) 88%,#ff9b36 12%);box-shadow:inset 4px 0 0 #ff9b36,0 2px 12px #0002}
.cards-exchange-stage>.cards-stage-title{font-size:16px;font-weight:850;color:var(--text)}
.cards-exchange-stage .cards-exchanges>summary{border:2px solid #ffb24f;border-radius:9px;background:color-mix(in srgb,var(--bg,#0b151c) 84%,#ff9b36 16%);font-weight:850;padding:11px 14px;color:var(--text)}
.cards-exchange-stage .cards-exchanges[open]>summary{border-color:#ffc975}
.cards-exchange-stage .cards-exchanges summary span{font-weight:900;color:#ffba64}
.cards-exchange-stage .cards-exchanges>div{padding:12px 8px}
.cards-exchange-stage .cards-exchanges label{font-size:12px;font-weight:650}
@media(max-width:600px){.cards-exchange-stage .cards-exchanges>summary{padding:10px}}

/* 25.608: one prominent amount; reasons appear only on request. */
.card-instant-profit{gap:3px}.card-instant-profit>.profit-title{font-size:11px;opacity:.85}
.card-instant-profit>.profit-estimate-label,.card-instant-profit>.profit-verified-label{font-size:10px;line-height:1.35}
.card-instant-profit .profit-breakdown>summary{padding:2px 0;display:list-item;cursor:pointer;font-size:11px;color:var(--muted)}
.card-instant-profit .profit-breakdown>p{margin:5px 0;line-height:1.4;max-width:100%;overflow-wrap:anywhere}
.card-instant-profit.profit-stale{opacity:.8}

/* 25.687: independent official images per venue, not the shared catalogue icon. */
.card-venue-asset-icon{display:flex;align-items:center;justify-content:flex-start;min-height:38px;margin:4px 0}
.card-venue-asset-icon img{width:34px;height:34px;object-fit:contain;border-radius:50%;background:#192321;flex-shrink:0}
.card-venue-asset-icon small{font-size:11px;opacity:.8}

/* 25.695: amber marks old DISPLAY-only observations; values stay visible. */
.route-card.is-stale-snapshot,.route-card.is-stale{opacity:1;border-color:#bf8c3e;background:color-mix(in srgb,#9d6a21 9%,var(--surface));}
.route-card.is-stale-snapshot strong,.route-card.is-stale-snapshot .card-metrics,.route-card.is-stale-snapshot .card-source,.route-card.is-stale-snapshot .card-funding,.route-card.is-stale-snapshot [data-age-label],.route-card.is-stale-snapshot .card-stale-label{color:#e7ad59!important;}
.route-card.is-stale-snapshot .card-stale-label{background:#a46b2317;border-color:#c48d38;}

.cards-busy-venues{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #496071;border-radius:7px;margin:8px 0;font-size:12px;flex-wrap:wrap}.cards-busy-venues input{width:17px;height:17px;accent-color:#b5f36a}.cards-busy-venues small{color:#aab9c8;font-size:11px}

/* 25.702: neutral help and uniform venue controls, no alarm red/orange for navigation. */
.cards-help>summary,.cards-help-guide>summary{
 border:1px solid #548aa3!important;color:var(--text)!important;background:color-mix(in srgb,var(--surface,#14212a) 78%,#406e83 22%)!important;
 box-shadow:none!important;font-weight:750!important;
}
.cards-help>summary:hover,.cards-help-guide>summary:hover{background:color-mix(in srgb,var(--surface,#14212a) 65%,#548aa3 35%)!important}
.cards-help>summary:focus-visible,.cards-help-guide>summary:focus-visible{outline:2px solid #6ba8bf!important;outline-offset:3px}
.cards-help-content{border-color:var(--line,#405363)!important}
.cards-exchange-stage{border:1px solid var(--line,#405363)!important;background:var(--surface)!important;box-shadow:none!important}
.cards-exchange-stage .cards-exchanges>summary{border:1px solid var(--line,#405363)!important;border-radius:9px;background:var(--surface,#14212a)!important;color:var(--text)!important;box-shadow:none!important}
.cards-exchange-stage .cards-exchanges[open]>summary{border-color:#6ba8bf!important}
.cards-exchange-stage .cards-exchanges summary span{color:var(--muted)!important}
.card-st-badge{display:inline-flex!important;align-self:flex-start;font-size:11px!important;line-height:1.3!important;padding:5px 8px;border:1px solid #eda558;color:#ffcf8c!important;background:#713b172b;border-radius:6px}
.card-contracts-leg{min-width:0;max-width:100%;font-size:11px;line-height:1.5}
.card-contracts-expand summary{cursor:pointer;color:var(--text);overflow-wrap:anywhere;font-size:11px}
.card-contract-entry{padding:6px 0;display:flex;flex-direction:column;gap:3px}
.card-contract-entry code{font-size:10px;white-space:normal;overflow-wrap:anywhere;word-break:break-all;color:var(--text)}
.card-contracts-leg>small{font-size:10px;color:var(--muted)}
.card-contracts-expand[open]{padding:5px;border:1px solid var(--line,#405363);border-radius:7px}

.card-contracts-leg>code{display:block;font-size:10px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;word-break:break-all;color:var(--text)}
.card-venue-asset-icon[hidden]{display:none!important}


/* 25.703: brighter action buttons, quiet hints, and filter toggles aligned with screener. */
.cards-controls-grid .cards-busy-venues{grid-column:span 2;margin:0;background:color-mix(in srgb,var(--surface,#14212a) 90%,#213748 10%);border:1px solid var(--line,#405363);border-radius:10px;padding:11px 12px}
.cards-filter-toggle{background:color-mix(in srgb,var(--surface,#14212a) 90%,#3a2f17 10%)}
.route-card .card-actions .button{border-color:#345062;background:linear-gradient(180deg,rgba(35,56,72,.96),rgba(20,33,42,.96));box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 6px 16px rgba(0,0,0,.16);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease}
.route-card .card-actions .button:hover{transform:translateY(-1px);border-color:#6ba8bf;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 10px 20px rgba(0,0,0,.2)}
.route-card .card-actions .button.secondary{background:linear-gradient(180deg,rgba(26,52,69,.98),rgba(15,29,38,.98));color:#dff6ff}
.route-card .card-actions .card-watch-link{background:linear-gradient(180deg,rgba(32,75,53,.98),rgba(17,47,33,.98));border-color:#427a5b;color:#dfffea}
.route-card .card-actions .card-watch-link:hover{border-color:#6fbe92}
.route-card .card-actions .card-freeze{background:linear-gradient(180deg,rgba(73,55,28,.98),rgba(42,31,14,.98));border-color:#8b6a38;color:#ffe6b3}
.route-card .card-actions .card-freeze:hover{border-color:#c89a54}
@media(max-width:1000px){.cards-controls-grid .cards-busy-venues{grid-column:1/-1}}

/* 25.704 · ST visibility and genuine exchange order caps. */
.route-card .card-metrics .card-order-limit{grid-column:1/-1;border-top:1px dotted var(--line,#405363);padding-top:8px}
.route-card .card-order-limit b{font-size:12px;color:#bceaff}
.route-card.has-st{border-color:#bd8851}
.route-card.has-st .card-st-badge{background:#6b391e40;border-color:#d49c4d;color:#ffe0b1!important}
.cards-filter-toggle:has(input:checked){border-color:#d49c4d;background:#764a1d25}
@media(prefers-reduced-motion:reduce){.route-card .card-actions .button:hover{transform:none}}

/* 25.706 · three compact day metrics on a single row, under the live spread. */
.route-card .card-price-overview{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-areas:"spread chart" "daily daily";gap:6px 10px;
  align-items:start;
}
.route-card .card-spread-stats{display:contents}
.route-card .card-spreads{grid-area:spread;min-width:0;align-self:start}
.route-card .card-price-history{grid-area:chart;min-width:0}
.route-card .card-daily-range{
  grid-area:daily;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;margin:0;min-width:0;
}
.route-card .card-daily-range>span{
  box-sizing:border-box;min-width:0;padding:5px 7px;gap:3px;border-radius:8px;
  align-content:start;
}
.route-card .card-daily-range small{
  font-size:clamp(8px,.76vw,10px);line-height:1.25;letter-spacing:0;
}
.route-card .card-daily-range b{
  font-size:clamp(11px,1.1vw,15px);line-height:1.28;
  overflow-wrap:anywhere;letter-spacing:-.02em;
}
.route-card .card-daily-change{border-left:3px solid #6ba8bf!important}
.route-card .card-daily-change b{color:#a9d9fa}
/* Snowflake is an accessible two-state button, not another action at the bottom. */
.route-card header .card-head-controls{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.route-card header .card-snowflake{
  box-sizing:border-box;display:grid;place-items:center;width:33px;height:33px;
  padding:0;margin:0;flex:0 0 33px;
  border:1px solid #597386;border-radius:9px;
  background:linear-gradient(180deg,#1b303c,#10232c);color:#b6ddeb;
  font-size:22px;line-height:1;cursor:pointer;
  transition:border-color .15s ease,background .15s ease,color .15s ease;
}
.route-card header .card-snowflake:hover{border-color:#a7d9f4;background:#22445b;color:#fff}
.route-card header .card-snowflake:focus-visible{outline:2px solid #88cdf3;outline-offset:2px}
.route-card header .card-snowflake[aria-pressed="true"]{
  color:#fff;border-color:#72ccf5;background:linear-gradient(180deg,#25749e,#124c73);
  box-shadow:0 0 0 2px #6cc9fb30;
}
.route-card.is-stale-snapshot .card-snowflake:disabled{cursor:not-allowed;opacity:.5}
@media(max-width:420px){
 .route-card .card-price-overview{gap:6px}
 .route-card .card-daily-range{gap:4px}
 .route-card .card-daily-range>span{padding:5px}
 .route-card .card-daily-range small{font-size:8px}
 .route-card .card-daily-range b{font-size:11px}
}


/* 25.708 · all card settings are collapsed by default; native details keep form values. */
.cards-settings-fold{border:1px solid var(--line,#405363);border-radius:13px;background:var(--surface,#14212a);margin:14px 0 8px;overflow:visible}
.cards-settings-summary,.card-settings-summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;padding:15px 18px;font-weight:750;color:var(--text);border-radius:12px}
.cards-settings-summary::-webkit-details-marker,.card-settings-summary::-webkit-details-marker{display:none}
.cards-settings-summary::after,.card-settings-summary::after{content:'▾';color:#79b5cd;font-size:17px;margin-left:auto;transition:transform .18s ease}
.cards-settings-fold[open]>.cards-settings-summary::after,.card-scenario-fold[open]>.card-settings-summary::after{transform:rotate(180deg)}
.cards-settings-summary small{font-size:11px;font-weight:500;color:var(--muted)}
.cards-settings-summary:hover,.card-settings-summary:hover{background:rgba(88,137,165,.09)}
.cards-settings-summary:focus-visible,.card-settings-summary:focus-visible{outline:2px solid #79b5cd;outline-offset:3px}
.cards-settings-fold>.cards-filters{margin:0;border:0;border-top:1px solid var(--line,#405363);border-radius:0 0 12px 12px;background:transparent}
.card-scenario-fold{border:1px solid var(--line,#405363);border-radius:12px;padding:0;margin:22px 0}
.card-scenario-fold>.card-settings-summary{font-size:14px}
.card-settings-content{padding:0 16px 16px;border-top:1px solid var(--line,#405363)}
.card-settings-content>h3{margin:15px 0 12px}
@media(max-width:600px){.cards-settings-summary,.card-settings-summary{padding:12px}.cards-settings-summary small{width:100%}}

/* 25.744: live pin/archive, three day metrics under spread beside chart. */
.route-card .card-price-overview{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-areas:"spread chart" "daily chart";align-items:start;gap:7px 10px}
.route-card .card-daily-range{align-self:start;gap:3px}
.route-card .card-daily-range>span{padding:5px 4px;gap:3px;border-radius:6px}
.route-card .card-daily-range small{font-size:8px;line-height:1.25;letter-spacing:0}
.route-card .card-daily-range b{font-size:clamp(9px,.8vw,12px);line-height:1.3;overflow-wrap:anywhere}
.route-card header{flex-wrap:wrap;gap:6px}
.route-card header .card-head-controls{gap:5px;margin-left:auto}
.route-card header .card-pin,.route-card header .card-hide{font-size:21px}
.route-card header button:disabled{opacity:.45;cursor:not-allowed}
.route-card.is-pinned{border-color:#83b1d0;box-shadow:inset 0 3px 0 #83b1d0}
.card-archive-dialog{box-sizing:border-box;width:min(620px,94vw);max-height:85vh;overflow:auto;background:var(--surface,#15221f);color:var(--text,#eef6f3);border:1px solid var(--line,#405363);border-radius:13px;padding:20px}
.card-archive-dialog::backdrop{background:#0009}
.card-archive-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px}
.card-archive-dialog h2{margin:0;font-size:18px}
.card-archive-dialog p{font-size:12px;color:var(--muted)}
.card-archive-entry{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line,#405363);padding:12px 0}
.card-archive-entry>div{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}
.card-archive-entry small{font-size:11px;color:var(--muted)}
@media(max-width:420px){.route-card .card-daily-range>span{padding:4px 3px}.route-card .card-daily-range b{font-size:10px}.route-card .card-price-overview{column-gap:7px}}

.route-card header>div:first-child{min-width:0;overflow-wrap:anywhere;flex:1 1 85px}

/* Release 25.745: limits displayed inside their owning exchange leg. */
.route-card .card-leg-order-limits{display:grid;gap:5px;margin-top:3px;padding-top:8px;border-top:1px solid currentColor;min-width:0}
.route-card .card-leg-order-limit{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 5px;line-height:1.35;font-size:11px;overflow-wrap:anywhere}
.route-card .card-leg-order-limit small{font-size:10px;opacity:.84}
.route-card .card-leg-order-limit b{font-size:11px;font-weight:700;color:inherit;font-variant-numeric:tabular-nums}

/* 25.959: Independent venue selection for long and short legs. */
.cards-leg-venues{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.cards-leg-venues .cards-exchanges{grid-column:auto;min-width:0}.cards-leg-venues .cards-exchanges>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:230px;overflow-y:auto;padding:10px}
.cards-leg-venues .cards-exchanges label{display:flex;align-items:center;font-size:12px;gap:7px}.cards-leg-venues .cards-exchanges summary{border:1px solid var(--line,#405363);border-radius:8px;padding:10px 12px;cursor:pointer}
@media(max-width:700px){.cards-leg-venues{grid-template-columns:1fr}.cards-leg-venues .cards-exchanges>div{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* 25.960 — separate exchange provenance, shared heading never assumes a ticker identity. */
.card-asset-identity{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-width:0}
.card-asset-photos{display:inline-flex;align-items:center;flex-shrink:0;gap:2px}
.card-asset-labels{display:inline-flex;flex-direction:column;min-width:0;gap:2px;line-height:1.22}
.card-asset-labels>b{font-size:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card-asset-name{font-size:10px;line-height:1.2;color:var(--muted,#92a59d);font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card-asset-name-unconfirmed{font-style:italic;opacity:.9}
.card-verified-coin{width:32px;height:32px;display:inline-grid;place-items:center;position:relative;flex-shrink:0;border:1px solid var(--line,#405363);border-radius:50%;background:var(--surface,#15221f);overflow:hidden}
.card-verified-coin-sm{width:24px;height:24px}
.card-verified-coin img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:contain;border-radius:50%;background:var(--surface,#15221f)}
.card-coin-placeholder{font-size:19px;line-height:1;color:var(--muted,#92a59d);font-weight:400}
.card-verified-coin-sm .card-coin-placeholder{font-size:15px}
.card-coin-leg-evidence{display:flex;flex-wrap:wrap;align-items:center;gap:4px 9px;min-width:0;margin-top:3px}
.card-leg-asset-name{font-size:10px;line-height:1.15;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;max-width:100%}
.card-coin-leg-evidence .native-ticker{flex-basis:100%;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.card-detail .card-asset-identity .card-asset-labels>b{font-size:20px}
@media(max-width:700px){.card-asset-name{font-size:10px}.card-asset-photos{gap:0}}
/* 25.961.0 · Readable per-venue, per-network public/private wallet evidence. */
.card-wallet{align-items:center;flex-wrap:wrap}
.card-wallet .card-wallet-scope{flex-basis:100%;font-size:10px;opacity:.8}
.card-network-detail{display:flex;flex-direction:column;gap:7px}
.card-network-row{border-top:1px solid var(--line,#293a31);padding:9px 0;display:flex;flex-direction:column;gap:4px}
.card-network-row b{font-size:12px}
.card-network-row small,.card-network-detail small{display:block;overflow-wrap:anywhere;line-height:1.5}
.card-network-unverified{opacity:.78}
.card-network-flags{display:flex;flex-wrap:wrap;gap:7px}
.card-network-flags span{border:1px solid currentColor;border-radius:6px;padding:1px 5px;font-size:11px}
.card-network-source{color:var(--muted)}

/* 25.965.0: compact multi-chain selector; no hidden secondary network filter. */
.cards-chain-picker{grid-column:1/-1;border:1px solid var(--line,#293a31);border-radius:9px;padding:8px 12px}
.cards-chain-picker>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:8px 12px;padding:8px 0 10px}
.cards-chain-picker label{display:flex;align-items:center;flex-direction:row;gap:8px;font-size:12px}
.cards-chain-picker input{width:auto;min-width:auto;accent-color:var(--accent)}
.cards-chain-note{font-size:12px;color:var(--muted);margin:4px 0 10px;line-height:1.5}
@media(max-width:700px){.cards-chain-picker>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 25.1078: detailed scenario revoked by the server, not merely greyed card list. */
#card-detail[data-market-admission="historical"]{border-color:#bf8c3e}
#card-detail[data-market-admission="historical"] #card-freshness{color:#e7ad59;font-weight:700}
#card-detail[data-market-admission="historical"] .card-detail-market:not([href]){opacity:.6;cursor:default}

/* 25.1144: compact, collapsed administrator-only pair trace. */
.card-admin-trace { margin: .45rem 0 .75rem; padding: .65rem .85rem; border: 1px solid var(--border,#546173); border-radius: .55rem; }
.card-admin-trace summary { cursor: pointer; font-weight: 600; }
.card-admin-trace-form { display:flex; flex-wrap:wrap; align-items:end; gap:.55rem; margin:.7rem 0; }
.card-admin-trace-form label { display:flex; flex-direction:column; gap:.2rem; font-size:.85rem; }
.card-admin-trace-form input { max-width: 10.5rem; min-width: 8rem; padding:.4rem .55rem; }
#cards-trace-result { white-space:pre-wrap; overflow-wrap:anywhere; font-size:.85rem; line-height:1.5; }

/* 25.1272: compact evidence and toolbar; details remain available on demand. */
.route-card .route-directions>.card-leg-panel{display:flex;flex-direction:column;gap:7px;padding:11px;min-width:0;border-radius:11px}
.route-card .card-leg-market-link{display:flex;flex-direction:column;gap:4px;color:inherit;text-decoration:none;min-width:0}
.route-card .card-leg-market-link:hover .card-venue{text-decoration:underline}
.route-card .card-leg-market-link:focus-visible{outline:2px solid var(--accent,#9cdaba);outline-offset:2px}
.route-card .card-coin-leg-evidence{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.route-card .card-leg-name-unknown{font-size:13px;line-height:1;color:var(--muted);border:1px solid currentColor;border-radius:50%;padding:1px 4px;cursor:help}
.card-evidence-compact{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-top:3px}
.card-evidence-pill{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;gap:3px;min-height:24px;font-size:11px;font-weight:700;line-height:1;border:1px solid #526575;border-radius:7px;padding:3px 6px;background:#1c2a2e;color:#c2d5db;box-sizing:border-box;cursor:help}
.card-evidence-pill.evidence-seen{color:#7dd8b1;border-color:#39785b}
.card-evidence-pill.evidence-conflict{color:#ffb66f;border-color:#a16a41}
.card-evidence-pill.evidence-unknown{color:#a9b8bd}
.card-leg-provenance{min-width:0;flex-basis:100%;margin:0}
.card-leg-provenance:not([open]){flex-basis:auto}
.card-leg-provenance>summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;justify-content:center;min-height:24px;min-width:27px;border:1px solid #526575;border-radius:7px;color:#c2d5db;padding:2px 5px;font-size:12px}
.card-leg-provenance>summary::-webkit-details-marker{display:none}
.card-leg-provenance[open]{padding-top:5px;border-top:1px dashed #526575}
.card-leg-provenance[open]>.card-contracts-leg{max-height:360px;overflow-y:auto;overflow-wrap:anywhere;margin:8px 0}
.card-wallet-compact{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.card-wallet-compact span{font-size:13px;font-weight:750;padding:2px 7px;min-height:24px;line-height:18px;box-sizing:border-box;border-radius:7px;cursor:help}
.card-wallet-compact .wallet-network-only{border-style:dashed}
.card-wallet-compact .wallet-evidence-history{color:#e7bd70;border:1px dashed #8c7446}
.card-wallet-compact .wallet-transfer-method{color:#97c4df;border-color:#4f7189;background:rgba(77,127,159,.08)}
.card-wallet-compact .wallet-incident-warning,.card-wallet-compact .wallet-cmc-warning{color:#f1c66a;border-color:#9d7621;background:rgba(157,118,33,.1)}
.route-card header .card-extra-action{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;width:26px;flex:0 0 26px;margin:0;text-decoration:none;font-size:14px;line-height:1;border:1px solid #597386;border-radius:8px;background:#1b303c;color:#b6ddeb}
.route-card header .card-extra-action[aria-disabled="true"]{opacity:.35;pointer-events:none}
.route-card header .card-head-controls{flex-wrap:wrap;justify-content:flex-end;gap:4px}
.route-card .card-calc-note{align-self:flex-start;font-size:10px}
@media(max-width:440px){.route-card header .card-extra-action{width:24px;height:24px;min-width:24px;flex-basis:24px}.route-card .card-leg-panel{padding:9px}}
/* 25.1282: transfer status badges are independent of the network/contract pills. */
.card-evidence-pill.wallet-open{color:#79d9ae;border-color:#39785b}
.card-evidence-pill.wallet-blocked{color:#f3a29c;border-color:#a15d56}
.card-evidence-pill.wallet-unknown{color:#b2bfc7;border-color:#526575}

/* 3.1 · Тип базового актива, не сеть биржевого перевода */
.card-asset-type{display:inline-block;font-size:10px;line-height:1.2;white-space:nowrap;border:1px solid var(--line);border-radius:4px;padding:2px 5px;width:max-content;}
.card-asset-type.asset-type-unknown{opacity:.7;}

/* 25.1332: closed wallet chips, independent of buy/sell panel color. */
.card-wallet-compact .wallet-blocked{color:#ff7777;border-color:#e05b5b;background:rgba(224,91,91,.08)}
.card-wallet-compact .wallet-conflict{color:#ffb66f;border-color:#a16a41}

/* 25.1418: scoped flags are not confirmed network permissions. */
.card-wallet-compact .wallet-scoped{border-style:dashed}

.card-leg-provenance>summary.card-evidence-pill{cursor:pointer;font-size:11px;font-weight:700;gap:4px}.card-leg-provenance>summary.evidence-seen{color:#7dd8b1;border-color:#39785b}.card-leg-provenance>summary.evidence-conflict{color:#ffb66f;border-color:#a16a41}.card-contract-entry code,.card-contract-entry .asset-contract-address{user-select:text;overflow-wrap:anywhere;white-space:normal}

.card-quick-values{display:grid;gap:3px}.card-quick-value{display:flex;align-items:baseline;gap:4px;min-width:0}.card-quick-value code{user-select:text;white-space:normal;overflow-wrap:anywhere;word-break:break-all;color:var(--text);font-size:11px}.card-quick-marker{color:#e7bd70;font-size:11px;flex:none}.card-quick-value span{overflow-wrap:anywhere}.card-quick-networks>summary,.card-quick-contracts>summary{cursor:pointer}

.card-evidence-compact{gap:3px}.card-evidence-compact>.card-leg-provenance:not([open])>summary{padding:2px 4px;min-width:23px}.card-evidence-compact>.card-leg-provenance:not([open])>summary.card-evidence-pill{gap:2px;padding:2px 4px}

.card-quick-candidates>summary{cursor:pointer}

/* Total supply is global token/coin quantity, never a venue balance. */
.card-asset-supply{display:block;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}

.card-wallet-compact a.wallet-cmc-warning{display:inline-flex;align-items:center;border:1px solid #9d7621;border-radius:7px;padding:2px 6px;min-height:24px;box-sizing:border-box;color:#f1c66a;background:rgba(157,118,33,.1);font-size:12px;font-weight:750;text-decoration:none;cursor:pointer}.wallet-cmc-detail{color:#f1c66a;overflow-wrap:anywhere}
/* 25.1578: independent data/order controls and on-demand market disclosures. */
.cards-quick-toolbar{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:8px 0;padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}
.cards-quick-toolbar label{display:grid;gap:3px;font-size:11px;color:var(--muted);min-width:70px}.cards-quick-toolbar input,.cards-quick-toolbar select{box-sizing:border-box;padding:6px 8px;min-height:32px;max-width:100%;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--bg)}.cards-quick-toolbar input[type=number]{width:90px}.cards-quick-toolbar #cards-filter-q{width:145px}.cards-quick-toolbar small{font-size:10px;color:var(--muted)}.cards-quick-toolbar button{min-height:32px}
.cards-settings-fold>.cards-filters{padding:10px;gap:8px}.cards-settings-fold .cards-stage-title{margin:0 0 5px;font-size:13px}.cards-settings-fold .cards-selection-group,.cards-settings-fold .cards-exchange-stage{padding:8px}.cards-settings-fold .cards-controls-grid{gap:7px;grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}.cards-settings-fold .cards-field{gap:3px}.cards-settings-fold input:not([type=checkbox]),.cards-settings-fold select{padding:6px}.cards-settings-fold .cards-settings-summary{padding:9px 12px}.cards-settings-fold .cards-busy-venues{padding:5px 8px}
.route-card .card-venue-with-logo{display:inline-flex;align-items:center;gap:5px;min-width:0}.route-card .card-venue-with-logo img{width:18px;height:18px;object-fit:contain;flex:none;border-radius:3px}.market-type-251578{display:inline-flex;gap:4px;align-items:center}.market-type-spot,.market-type-future{display:inline-grid;place-items:center;width:17px;height:17px;border:1px solid currentColor;border-radius:5px;font-weight:800}.market-type-spot{color:#48d89b}.market-type-future{color:#83b8f7}
.card-market-lists{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:6px 0}.card-market-list{min-width:0;border:1px solid var(--line);border-radius:6px}.card-market-list[open]{grid-column:1/-1}.card-market-list summary{cursor:pointer;padding:7px;font-size:11px;font-weight:650}.card-market-list-body{padding:5px;display:grid;gap:5px}.card-market-list-controls{display:flex;gap:4px;flex-wrap:wrap}.card-market-list-controls select{max-width:100%;font-size:11px;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:5px;padding:4px}.route-card .card-market-list button{width:auto;margin:0;padding:4px 7px;font-size:11px}.card-market-list-scroll{max-height:320px;overflow:auto}.card-market-list-table{width:100%;font-size:10px;border-collapse:collapse}.card-market-list-table th,.card-market-list-table td{padding:4px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.card-market-list-table small{display:block;font-size:10px;color:var(--muted)}.wallet-list-state{font-size:13px;font-weight:800}.wallet-list-open{color:#45df96}.wallet-list-blocked,.market-match-conflict{color:#ff8d87!important}.wallet-list-unknown{color:#efc270}.wallet-list-na{color:var(--muted)}.market-match-exact{color:#45df96!important}

/* 25.1580: one compact toolbar, secondary controls on demand; native modal. */
.cards-page .cards-heading{margin:10px 0 6px;gap:8px}.cards-page .cards-heading h1{font-size:22px;margin:0;gap:7px}.cards-page .cards-heading .eyebrow,.cards-page .cards-heading p{display:none}.cards-page .card-actions{margin:4px 0;gap:4px}.cards-page .card-actions .button{padding:4px 8px;min-height:26px;font-size:11px}
.cards-page .cards-quick-toolbar{gap:5px 8px;margin:5px 0;padding:5px 7px;border-radius:7px;align-items:end}.cards-page .cards-quick-toolbar label{gap:2px;font-size:10px;min-width:0;line-height:1.2}.cards-page .cards-quick-toolbar input,.cards-page .cards-quick-toolbar select{height:28px;min-height:28px;padding:3px 6px;font-size:12px;line-height:1.2;margin:0}.cards-page .cards-quick-toolbar input[type=number]{width:66px}.cards-page .cards-quick-toolbar #cards-filter-q{width:120px}.cards-page .cards-quick-toolbar .cards-wallet-select select{width:210px;max-width:100%}.cards-page .cards-quick-toolbar button{min-height:28px;padding:3px 8px;margin:0;font-size:12px}.cards-page .cards-quick-toolbar #cards-position-status{font-size:10px;margin:auto 0 4px;line-height:1.2}
.cards-page .cards-settings-fold{margin:4px 0 6px;border-radius:7px}.cards-page .cards-settings-summary{min-height:0;padding:5px 8px;gap:5px;font-size:12px;line-height:1.25}.cards-page .cards-settings-summary small{font-size:10px}.cards-page .cards-settings-summary:after{font-size:12px}
.cards-page .cards-settings-fold>.cards-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px;padding:5px;align-items:start}.cards-page .cards-settings-fold>.cards-filters>section{margin:0;padding:5px;border:1px solid var(--line);border-radius:6px;min-width:0}.cards-page .cards-numeric-stage{grid-column:1/-1}.cards-page .cards-stage-title{font-size:11px!important;line-height:1.2;margin:0 0 3px;gap:4px}.cards-page .cards-route-heading{font-size:11px;margin:2px 0 3px;line-height:1.2}.cards-page .cards-selection-group .cards-market-scope,.cards-page .cards-selection-group .cards-route-picker{padding:0;margin:0}.cards-page .venue-scope-controls,.cards-page .cards-route-buttons,.cards-page .cards-route-legs,.cards-page .cards-route-legs-actions{gap:3px;margin:2px 0}.cards-page .venue-scope-controls button,.cards-page .cards-route-buttons button,.cards-page .cards-route-legs button,.cards-page .cards-route-legs-actions button{flex:none;min-height:24px;padding:3px 6px;font-size:10px;line-height:1.15;border-radius:4px}.cards-page .market-scope-label{font-size:10px;flex-basis:auto}.cards-page .cards-route-leg-picker{margin:3px 0 0;padding:3px 0 0}.cards-page .cards-route-leg-picker>summary{font-size:11px;cursor:pointer}.cards-page .cards-exchange-stage>.cards-exchanges,.cards-page .cards-leg-venues>.cards-exchanges{margin:0;min-width:0}.cards-page .cards-exchange-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3px}.cards-page .cards-exchange-stage>.cards-stage-title,.cards-page .cards-leg-venues{grid-column:1/-1}.cards-page .cards-exchange-stage .cards-exchanges>summary{padding:4px 6px!important;font-size:11px;line-height:1.2;border-radius:4px!important;white-space:normal}.cards-page .cards-leg-venues{margin:0;gap:3px}.cards-page .cards-exchange-stage .cards-exchanges>div{padding:4px;gap:4px}.cards-page .cards-exchange-stage .cards-exchanges label{font-size:11px}.cards-page .cards-controls-grid{display:grid;grid-template-columns:repeat(3,minmax(85px,1fr));gap:5px;align-items:end}.cards-page .cards-field{gap:1px}.cards-page .cards-field>label{font-size:10px;line-height:1.2}.cards-page .cards-field>input,.cards-page .cards-field>select{font-size:12px;min-height:26px;height:26px;padding:3px 5px;margin:0;line-height:1.2}.cards-page .cards-controls-grid .cards-busy-venues{grid-column:auto;font-size:11px;min-height:26px;padding:3px 5px;line-height:1.2;border-radius:4px}.cards-page .cards-busy-venues small{display:none}.cards-page .cards-help>summary{width:14px;height:14px;min-width:14px;font-size:10px;line-height:12px}.cards-page .cards-bar{gap:6px;margin:4px 0;padding:3px 0;font-size:11px}
.route-card .card-market-icon svg{width:14px;height:14px;display:block}.route-card .card-head-controls .card-market-icon{color:#99d5e8}.route-card .card-market-icon:hover{color:#e2f9ff;border-color:#9bd9ed}.market-type-251578 svg{width:14px;height:14px;display:block}.route-card .card-venue-with-logo img{width:23px;height:23px;border-radius:4px}
.card-markets-dialog{box-sizing:border-box;width:min(760px,calc(100% - 24px));max-height:85vh;padding:12px;margin:auto;overflow:auto;color:var(--text,#e9f3f5);background:var(--surface,#14212a);border:1px solid var(--line,#405363);border-radius:12px;box-shadow:0 18px 70px #0009}.card-markets-dialog::backdrop{background:#0009;backdrop-filter:blur(2px)}.card-markets-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}.card-markets-dialog-head h2{margin:0;font-size:16px;overflow-wrap:anywhere}.card-markets-dialog button,.card-markets-dialog select{background:var(--bg,#101a22);color:var(--text,#e9f3f5);border:1px solid var(--line,#405363);border-radius:6px;padding:5px 9px;font-size:12px;cursor:pointer}.card-markets-dialog .card-markets-close{font-size:20px;line-height:1;width:32px;height:32px;padding:0;flex:none}.card-markets-dialog .card-market-list-body{padding:0;gap:8px}.card-markets-dialog .card-market-list-scroll{max-height:57vh;overflow:auto}.card-markets-dialog .card-market-list-table{font-size:12px}.card-markets-dialog .card-market-list-table th{position:sticky;top:0;background:var(--surface,#14212a);z-index:1}.card-markets-dialog .card-market-list-table th,.card-markets-dialog .card-market-list-table td{padding:6px 8px}.card-markets-dialog .card-venue-with-logo{display:inline-flex;align-items:center;gap:6px;font-weight:700}.card-markets-dialog .card-venue-with-logo img{width:20px;height:20px;object-fit:contain;border-radius:4px}.card-markets-dialog .card-market-list-table small{font-size:10px}.card-markets-dialog .card-market-list-controls{gap:5px}.card-markets-dialog .wallet-list-state{font-size:16px}
@media(max-width:900px){.cards-page .cards-settings-fold>.cards-filters{grid-template-columns:1fr}.cards-page .cards-controls-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cards-page .cards-controls-grid .cards-busy-venues{grid-column:span 1}.cards-page .cards-controls-grid .cards-field:last-child{grid-column:span 2}}
@media(max-width:480px){.cards-page .cards-quick-toolbar .cards-wallet-select{flex:1 1 100%}.cards-page .cards-quick-toolbar .cards-wallet-select select{width:100%}.cards-page .cards-controls-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cards-page .cards-controls-grid .cards-field:last-child{grid-column:1/-1}.cards-page .cards-settings-summary small{display:none}.card-markets-dialog .card-market-list-table th,.card-markets-dialog .card-market-list-table td{padding:4px}}

.cards-page .cards-controls-grid .cards-busy-venues{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px}.cards-page .cards-busy-venues input[type=checkbox]{width:14px;height:14px;min-height:0;margin:0;flex:none}

/* 25.1581: clear primary controls; the extra filters are a visible action. */
.cards-page .cards-quick-toolbar .cards-sort-select{flex:0 1 240px;min-width:165px}.cards-page .cards-quick-toolbar .cards-sort-select select{width:100%;min-width:0}.cards-page .cards-settings-summary>span{display:inline-flex;align-items:center;padding:5px 10px;border-radius:5px;background:#ccfa48;color:#15200a;font-weight:800;letter-spacing:.01em}.cards-page .cards-settings-summary:hover>span{background:#e4ff91}.cards-page .cards-settings-summary:focus-visible{outline:2px solid #ccfa48;outline-offset:2px}.cards-page .cards-controls-grid{grid-template-columns:repeat(3,minmax(85px,1fr)) minmax(125px,1fr)}
@media(max-width:720px){.cards-page .cards-quick-toolbar .cards-sort-select{flex:1 1 180px}.cards-page .cards-controls-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cards-page .cards-controls-grid .cards-field:last-child{grid-column:auto}}

.card-markets-dialog{width:min(950px,calc(100% - 24px))}.card-markets-dialog .card-market-list-controls{display:flex;align-items:center;flex-wrap:wrap}.card-markets-dialog .card-market-list-controls select{width:auto;max-width:100%;flex:0 1 auto}.card-market-source-links{display:flex;gap:14px;flex-wrap:wrap}.card-market-source-links a{color:var(--accent,#b2ed61);font-size:12px}

/* 25.1587: compact, keyboard-accessible column sort; no redundant dropdown. */
.card-markets-dialog .card-market-sort{background:transparent;border:0;border-radius:3px;padding:3px 0;color:inherit;font-weight:750;text-align:left;white-space:normal;cursor:pointer}
.card-markets-dialog .card-market-sort:hover,.card-markets-dialog th[aria-sort=ascending] .card-market-sort,.card-markets-dialog th[aria-sort=descending] .card-market-sort{color:var(--accent,#ccfa48)}
.card-markets-dialog .card-market-sort:focus-visible{outline:2px solid var(--accent,#ccfa48);outline-offset:2px}
.card-markets-dialog .card-market-list-table{min-width:520px}

.route-card header .card-snowflake,.route-card header .card-pin,.route-card header .card-hide{box-sizing:border-box;width:24px;height:24px;min-width:24px;flex:0 0 24px;font-size:14px;border-radius:7px;padding:0}
.route-card header .card-head-controls{gap:3px}.card-market-icons{display:inline-flex;gap:3px}
@media(max-width:440px){.route-card header .card-snowflake,.route-card header .card-pin,.route-card header .card-hide{width:24px;height:24px;min-width:24px;flex-basis:24px}}
/* Asset type belongs to the leg evidence row. */
.route-card .card-evidence-compact > .asset-kind-symbol{display:inline-flex;flex:none}

/* Explicit first-party named route, not canonical chain permission. */
.wallet-named-reported{color:#e7bd70;border-color:#8c7446;border-style:dashed!important}

/* Rank is a project detail, not an outer identity indicator. */
.card-quick-contracts:not([open])>.card-project-rank-detail{display:none}

/* 25.1634: paired mutually exclusive condition filters */
.cards-condition-fold{margin:.35rem 0;padding:.5rem .65rem;border:1px solid var(--border,#364747);border-radius:8px;}
.cards-condition-fold summary{cursor:pointer;font-weight:600;}
.cards-condition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:.5rem 0;}
.cards-condition-grid fieldset{min-width:0;border:1px solid var(--border,#364747);border-radius:6px;padding:.5rem .65rem;}
.cards-condition-grid fieldset>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.25rem .65rem;}
.cards-condition-grid label{display:flex;align-items:center;gap:.35rem;font-size:.83rem;cursor:pointer;}
.cards-condition-grid input{width:auto;min-width:0;flex:none;}
#cards-reset-toast{position:fixed;right:1rem;bottom:1rem;z-index:1000;padding:.75rem 1rem;border:1px solid #66bd86;border-radius:8px;background:#153626;color:#d3fce2;box-shadow:0 4px 18px #0004;}
#cards-reset-toast[hidden]{display:none;}
@media(max-width:700px){.cards-condition-grid{grid-template-columns:1fr;}}

/* 25.1636: compact market legs and accessible centered navigation */
.cards-page .cards-pagination{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin:20px auto 26px;padding:12px 8px;width:100%;box-sizing:border-box}
.cards-pagination[hidden],#cards-quality[hidden]{display:none!important}
.cards-page-buttons,.cards-page-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px}
.cards-page-meta{gap:14px;color:var(--muted);font-size:12px}
.cards-page-button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:4px 9px;border:1px solid var(--line,#405363);border-radius:8px;background:var(--surface);color:var(--text);font:inherit;font-weight:600;cursor:pointer;box-sizing:border-box}
.cards-page-button:hover:not(:disabled),.cards-page-button:focus-visible{border-color:var(--accent);color:var(--accent);outline-offset:2px}
.cards-page-button[aria-current=page]{background:var(--accent,#c7f85a);color:#15210a;border-color:var(--accent,#c7f85a)}
.cards-page-button:disabled{opacity:.38;cursor:default}.cards-page-ellipsis{padding:0 3px;color:var(--muted)}
.route-card .card-leg-market-link[href]{padding:8px;border:1px solid currentColor;border-radius:9px;background:rgba(127,127,127,.06)}
.route-card .card-leg-market-link[href]:hover{background:rgba(127,127,127,.15)}
.route-card .card-leg-price{display:flex;flex-direction:column;gap:3px;border:1px solid var(--line);border-radius:8px;background:rgba(127,127,127,.08);padding:7px;overflow-wrap:anywhere}
.route-card .card-leg-price strong{font-size:17px;font-weight:750;font-variant-numeric:tabular-nums;line-height:1.2;color:inherit}
.route-card .card-leg-funding{padding:6px;border:1px solid currentColor;border-radius:7px;font-weight:650;color:inherit;overflow-wrap:anywhere}
.route-card .card-wallet-compact{margin-top:auto;padding-top:4px;flex-wrap:wrap}
.route-card .card-exchange-reserves,.route-card .card-asset-supply{overflow-wrap:anywhere;min-width:0;font-variant-numeric:tabular-nums}
@media(max-width:480px){.cards-page-button{min-width:30px;min-height:32px;padding:4px 6px}.cards-page-buttons{gap:4px}.route-card .card-leg-price strong{font-size:15px}}

/* 25.1637: compact supply links and full-width liquidity summary */
.route-card .card-metrics{grid-template-columns:1fr}
.card-asset-supply{font-size:11px;line-height:1.5;color:inherit;text-decoration:none}
a.card-asset-supply:hover,a.card-asset-supply:focus-visible{text-decoration:underline}

.card-exchange-warning{min-width:0;margin:4px 0;color:#ffcf8c}.card-exchange-warning summary{cursor:pointer;display:list-item!important;max-width:max-content}.card-exchange-warning-body{display:flex;flex-direction:column;gap:5px;border:1px solid #82603b;border-radius:7px;padding:7px;margin-top:5px;overflow-wrap:anywhere}.card-exchange-warning-body a{color:var(--accent);font-size:12px}.card-exchange-warning-body small{white-space:normal}.card-daily-range[hidden]{display:none!important}

.pair-exchange-warning{color:#ffcf8c;font-size:12px;max-width:100%;overflow-wrap:anywhere}.pair-exchange-warning summary{cursor:pointer;display:list-item!important;width:max-content}.pair-exchange-warning .card-exchange-warning-body{display:flex;flex-direction:column;gap:4px;padding:6px;border:1px solid #82603b;border-radius:6px;margin:4px 0}.pair-exchange-warning> b{display:block;margin-top:5px}

/* 25.1649: compact duplicate in the exchange evidence row, not the other leg. */
.card-evidence-compact>.card-leg-warning{flex:0 0 auto;max-width:100%;color:#ffcf8c}
.card-evidence-compact>.card-leg-warning[open]{flex-basis:100%}
.card-evidence-compact>.card-leg-warning>summary{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-width:24px;min-height:24px;padding:2px 4px;cursor:pointer;list-style:none}
.card-evidence-compact>.card-leg-warning>summary::-webkit-details-marker{display:none}
.card-evidence-compact>.card-leg-warning .card-exchange-warning-body{overflow-wrap:anywhere}
.cards-page-button[aria-current=page]:hover,.cards-page-button[aria-current=page]:focus-visible{color:#15210a}

/* Priority ticker search: compact, separate from exchange warnings. */
.card-search-hidden{display:table;margin:.3rem 0;color:#e9b35f;border:1px solid #987239;border-radius:6px;padding:2px 5px;font-size:.7rem;line-height:1.25;font-weight:500;cursor:help}.card-search-hint{color:#e9b35f;font-size:.72rem}.card-search-hint[hidden]{display:none}

/* Market request progress */
.market-loading::before{content:"";display:inline-block;width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;margin-right:7px;vertical-align:-2px;animation:market-loading-spin .8s linear infinite;flex-shrink:0}.market-loading .status-dot{display:none}@keyframes market-loading-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.market-loading::before{animation:none}}

/* 25.1685.0: quote refresh is a value update, not a card animation. */
.route-card{transition:none!important;animation:none!important;font-variant-numeric:tabular-nums}
.route-card .card-stale-label{box-sizing:border-box;min-height:24px;padding:3px 7px;font-size:10px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.route-card .card-stale-reserved,.route-card .card-action-reserved{visibility:hidden;pointer-events:none}
.route-card header [data-age-label]{display:inline-block;flex:0 0 76px;min-width:76px;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.route-card .card-leg-market-link:not([href]){padding:8px;border:1px solid currentColor;border-radius:9px;background:rgba(127,127,127,.06)}
.route-card .card-leg-price strong,.route-card .card-spreads>strong{font-variant-numeric:tabular-nums;line-height:1.25}
.route-card [data-card-changed]{background-color:rgba(250,204,21,.24)!important;box-shadow:inset 0 0 0 1px rgba(250,204,21,.5);border-radius:3px}
[data-theme=light] .route-card [data-card-changed]{background-color:rgba(234,179,8,.25)!important}
.cards-filters .cards-highlight-setting{display:flex;align-items:center;gap:8px;flex-direction:row;flex-wrap:wrap}
.cards-filters .cards-highlight-setting input{width:auto;min-width:0;flex:none}
/* Reserve chart caption space across zero/one/multiple observations. */
.route-card .card-price-history>small{display:block;line-height:1.25;min-height:2.5em;max-height:2.5em;overflow:hidden}
.route-card .card-price-history>small:last-child{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.cards-filters .cards-highlight-setting{grid-column:1/-1}
.cards-page .cards-bar:not(.cards-pagination) #cards-status{flex:1 1 0;min-width:0;line-height:1.4;min-height:2.8em;max-height:2.8em;overflow:auto;scrollbar-width:thin}
@media(max-width:700px){.cards-page .cards-bar:not(.cards-pagination) #cards-status{width:100%;flex:none}}
/* Long fractional prices may wrap on narrow legs. Reserve both lines up front. */
@media(max-width:700px){.route-card .card-leg-price strong{min-height:2.5em}}

.cards-top-toggles{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 4px 6px;border-bottom:1px solid rgba(120,146,138,.25);margin-bottom:2px}
.cards-highlight-setting,.cards-busy-venues-top{display:inline-flex;align-items:center;gap:8px;min-width:0;font-size:12px;line-height:1.2}
.cards-highlight-setting input,.cards-busy-venues-top input{margin:0}
.cards-busy-venues-top{justify-self:end;text-align:right}
.cards-busy-venues-top small{display:none}
.card-pair-code{letter-spacing:-.01em}
.route-card .card-asset-photos .card-verified-coin img,.route-card .card-asset-photos .card-verified-coin .card-coin-placeholder{width:18px;height:18px}
.route-card .card-asset-photo{display:inline-flex;align-items:center;justify-content:center}
.route-card .card-asset-identity{width:100%}
.route-card header>div:first-child{min-width:0;flex:1 1 auto}
.route-card .card-asset-labels{overflow:hidden}
.route-card .card-leg-panel{min-width:0}
.route-card .card-venue-with-logo,.route-card .card-leg-link .card-venue{max-width:100%}
.route-card .card-leg-link .card-venue{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cards-page .cards-top-toggles{padding:1px 2px 4px;gap:6px}
.cards-page .cards-highlight-setting,.cards-page .cards-busy-venues-top{font-size:11px}
@media(max-width:980px){.cards-top-toggles{flex-wrap:wrap}.cards-busy-venues-top{justify-self:start;text-align:left}}

/* 25.1688: compact, fixed-width header controls and direct quote icons. */
.route-card{padding:10px 12px;gap:5px;container-type:inline-size}
.route-card .card-stale-label{height:15px;min-height:15px;padding:0 5px;line-height:13px;font-size:9px;border-radius:4px;margin:0}
.route-card .card-compact-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 5px;margin:0;min-width:0}
.route-card .card-compact-header .card-head-identity{display:flex;align-items:center;gap:3px;min-width:0;position:relative;flex:none}
.route-card .card-head-identity .card-asset-identity{flex:1 1 0;min-width:0;width:auto;gap:4px}
.route-card .card-asset-photos{gap:2px}
.route-card .card-asset-photos .card-verified-coin{width:21px;height:21px;flex:none}
.card-verified-coin img[hidden],.card-coin-placeholder[hidden]{display:none!important}
.route-card .card-asset-photos .card-quote-placeholder{width:auto;height:auto;font-size:7px;line-height:1;letter-spacing:-.035em;max-width:100%}
.route-card .card-asset-labels{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 3px;flex:1 1 0;min-width:0;line-height:1.1}
.route-card .card-asset-labels>b{grid-column:1/-1;font-size:13px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.route-card .card-asset-labels .card-asset-name{font-size:10px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.route-card .card-asset-labels .asset-kind-symbols{gap:2px;width:36px;justify-content:flex-end}
.route-card .card-asset-labels .asset-kind-symbol{font-size:10px;min-width:16px;height:16px;padding:0 2px;border-radius:4px}
.route-card .card-head-warning-slot{display:none}
.route-card .card-head-warning-slot .pair-exchange-warning{margin:0;position:relative}
.route-card .card-head-warning-slot .pair-exchange-warning summary{box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;list-style:none;width:22px;height:22px;padding:0;font-size:12px!important}
.route-card .card-head-warning-slot .pair-exchange-warning summary::-webkit-details-marker{display:none}
/* Open evidence is still in flow and readable; only closed indicators have fixed size. */
.route-card .card-head-identity:has(.pair-exchange-warning[open]){flex-wrap:nowrap}
.route-card .card-head-identity:has(.pair-exchange-warning[open]) .card-head-warning-slot{flex:1 0 100%;width:100%}
.route-card .card-head-identity:has(.pair-exchange-warning[open]) .card-asset-identity{flex-basis:auto}
.route-card .card-head-identity .card-search-hidden{position:absolute;right:0;top:-16px;font-size:8px;padding:0 3px;margin:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.route-card .card-compact-header .card-head-controls{display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:2px;margin:0;min-width:0}
.route-card .card-compact-header .card-head-controls :is(.card-snowflake,.card-extra-action){width:22px;height:22px;min-width:22px;flex:0 0 22px;font-size:12px;padding:0;border-radius:5px;margin:0}
.route-card .card-compact-header .card-head-controls [data-age-label]{font-size:9px;flex:0 0 44px;min-width:44px}
@container (max-width: 435px){.route-card .card-compact-header{grid-template-columns:minmax(0,1fr);gap:2px}.route-card .card-compact-header .card-head-controls{justify-self:end}.route-card .card-asset-labels>b{font-size:14px}}
@container (max-width: 245px){.route-card .card-compact-header .card-head-controls{flex-wrap:wrap;justify-self:stretch}}
.route-card .card-price-overview{margin:0;gap:4px 8px}
.cards-page .cards-quick-toolbar #cards-reset{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:28px;padding:3px 9px;border:1px solid var(--accent);border-radius:6px;background:var(--raised);color:var(--accent);font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}
.cards-page .cards-quick-toolbar #cards-reset:hover{background:var(--accent);color:#15210a}
.cards-page .cards-quick-toolbar #cards-reset:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.cards-page .cards-controls-grid .cards-highlight-setting{grid-column:auto;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;min-height:26px;border:1px solid var(--line);border-radius:4px;padding:3px 5px;font-size:11px}
.cards-page .cards-condition-busy{display:flex;align-items:center;gap:5px;font-size:11px;margin:4px 0;color:var(--muted)}
.cards-page .cards-condition-busy input{width:auto;min-width:0;flex:none;accent-color:var(--accent)}
@media(max-width:720px){.cards-page .cards-controls-grid .cards-highlight-setting{grid-column:auto}}

/* 25.1689.0: warning rack near ST zone, asset-kind near network/contract icons, centered loading state */
.card-leg-warning-rack{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;margin:0 0 8px}
.card-leg-warning-rack>.card-st-badge,.card-leg-warning-rack>.card-exchange-warning{margin:0}
.card-leg-warning-rack>.card-exchange-warning>summary,.card-leg-warning-rack>.pair-exchange-warning>summary{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-width:24px;min-height:24px;padding:2px 6px;cursor:pointer;list-style:none}
.card-leg-warning-rack>.card-exchange-warning>summary::-webkit-details-marker,.card-leg-warning-rack>.pair-exchange-warning>summary::-webkit-details-marker{display:none}
.card-leg-warning-rack>.pair-exchange-warning,.card-leg-warning-rack>.card-leg-warning{max-width:100%;color:#ffcf8c}
.card-leg-warning-rack>.pair-exchange-warning[open],.card-leg-warning-rack>.card-leg-warning[open]{flex:1 0 100%}
.card-leg-warning-rack .card-exchange-warning-body{overflow-wrap:anywhere}
.route-card .card-asset-labels .asset-kind-symbols{display:none}
.route-card .card-evidence-compact .asset-kind-symbols{display:inline-flex;order:99;margin-left:2px}
.route-card .card-evidence-compact{row-gap:4px}
/* 25.1692: the status shares the original compact bar, including while polling. */
.cards-page .cards-list-status{display:grid;grid-template-columns:minmax(max-content,1fr) minmax(0,4fr) minmax(max-content,1fr);align-items:center;gap:6px;margin:4px 0;padding:3px 0;font-size:11px}
.cards-page .cards-list-status #cards-status{display:block;text-align:center;font-size:inherit;line-height:1.4;height:2.8em;min-height:2.8em;max-height:2.8em;overflow:auto;align-content:center;scrollbar-width:thin}
.cards-page .cards-list-status>span:last-child{text-align:right}
.cards-page .cards-list-status #cards-status.error{color:var(--red,#fa928e)}
@media(max-width:700px){.cards-page .cards-list-status{grid-template-columns:1fr 1fr}.cards-page .cards-list-status #cards-status{grid-column:1/-1;grid-row:2;width:100%}}
/* Only the market link (outlined buy/sell heading) receives a stronger background. */
.route-card .long-leg .card-leg-market-link{background:linear-gradient(180deg,rgba(32,83,61,.78) 0%,rgba(24,63,48,.94) 100%);border-color:rgba(120,222,175,.78);color:#deece4;box-shadow:inset 0 1px 0 rgba(230,255,241,.06),0 10px 18px rgba(3,12,9,.16)}
.route-card .short-leg .card-leg-market-link{background:linear-gradient(180deg,rgba(103,67,67,.80) 0%,rgba(71,46,46,.95) 100%);border-color:rgba(255,176,169,.72);color:#ece0df;box-shadow:inset 0 1px 0 rgba(255,239,237,.06),0 10px 18px rgba(14,7,7,.16)}
.route-card .long-leg .card-leg-market-link:hover{background:linear-gradient(180deg,rgba(37,95,70,.84) 0%,rgba(27,72,54,.97) 100%)}
.route-card .short-leg .card-leg-market-link:hover{background:linear-gradient(180deg,rgba(114,74,74,.84) 0%,rgba(79,51,51,.97) 100%)}
.route-card .card-leg-market-link .card-venue,.route-card .card-leg-market-link .card-side,.route-card .card-leg-market-link .card-symbol{color:inherit}
.route-card .card-leg-market-link .card-market-type,.route-card .card-leg-market-link .market-type-251578{color:rgba(222,236,228,.74)}
.route-card .short-leg .card-leg-market-link .card-market-type,.route-card .short-leg .card-leg-market-link .market-type-251578{color:rgba(236,224,223,.74)}
/* Keep original leg and price backgrounds. Readability comes from text only. */
.route-card .card-leg-panel{--leg-readable:#d7e1dc}
[data-theme=light] .route-card .card-leg-panel{--leg-readable:#17241e}
.route-card .card-leg-panel > small:not(.volume-spike-active),.route-card .card-leg-panel .card-exchange-reserves,.route-card .card-leg-panel .card-asset-supply,.route-card .card-leg-panel .card-leg-order-limit small,.route-card .card-leg-panel .card-leg-order-limit b,.route-card .card-leg-panel .card-leg-price small,.route-card .card-leg-panel .card-leg-price strong,.route-card .card-leg-panel .card-leg-asset-name,.route-card .card-leg-panel .native-ticker{color:var(--leg-readable);opacity:1;font-weight:400}
.route-card .card-leg-panel .card-leg-price strong,.route-card .card-leg-panel .card-leg-order-limit b{font-weight:550}
.route-card .card-leg-panel .card-leg-order-limits{border-top-color:var(--line,#526575)}
.route-card .card-leg-panel .card-evidence-compact > .asset-kind-symbol{display:inline-flex;flex:none;min-width:24px;height:24px}

/* 25.1693: no redundant title/trace before the listing; one small top gap. */
.cards-page > .cards-top-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:12px 0 4px;padding:0;border:0}
.cards-page .cards-list-status #cards-status{font-size:11px}

/* 25.1694.0: softer readable text and modern buy/sell header blocks */
.route-card .card-leg-panel .card-leg-price strong{color:#e7efea}
.route-card .short-leg .card-leg-price strong{color:#efe6e5}
.route-card .card-leg-panel .card-leg-price small{color:#c4d2cb}
.route-card .short-leg .card-leg-price small{color:#d7c8c7}
.route-card .card-leg-panel .card-leg-asset-name,.route-card .card-leg-panel .native-ticker{color:#c5d1cb}
.route-card .short-leg .card-leg-asset-name,.route-card .short-leg .native-ticker{color:#d4c6c5}

/* 25.1695: regular weight for lower text; retain stronger price and order values. */
.route-card .card-leg-panel .card-leg-price strong{font-weight:550}
[data-theme=light] .route-card .card-leg-panel :is(.card-leg-price strong,.card-leg-price small,.card-leg-asset-name,.native-ticker){color:var(--leg-readable)}

/* 25.1696.0: variant #2 refinements */
.route-card .card-leg-market-link .card-side{font-weight:700;letter-spacing:.01em}
.route-card .card-leg-market-link .card-venue{font-weight:700}

/* 25.1699: inline evidence links must not inherit the legacy market-box flex layout. */
.route-card .card-leg-panel :is(small,p) a,.route-card .card-exchange-reserves .card-reserve-source,.card-intelligence .card-exchange-reserves .card-reserve-source{display:inline;border:0;border-radius:0;padding:0;margin:0;line-height:inherit;font-size:inherit}
.card-exchange-reserves .card-reserve-source{white-space:nowrap;color:inherit}
.card-exchange-reserves a.card-reserve-source:hover{text-decoration:underline}
.card-exchange-reserves a.card-reserve-source:focus-visible{outline:1px solid currentColor;outline-offset:2px}

/* 25.1725: unconfirmed/confirmed-exit slot carries no market data. */

/* 25.1726: never render an unexplained invisible slot; outage is display-only. */
.route-card.is-stale-snapshot .card-stale-label:not(.card-stale-reserved){visibility:visible!important;opacity:1;background:#a46b2326;border-color:#c48d38;color:#e7ad59!important;}
.card-previous-book{color:#e7ad59;font-weight:500;}

.card-presentation-source{align-self:flex-start;width:max-content;max-width:100%;text-decoration:none;color:inherit}.card-presentation-source:hover,.card-presentation-source:focus-visible{text-decoration:underline}
