/* orbit-v2.css: the shared stylesheet of the OrbitWan redesign v2 (TXV2-S, 2026-11-13). Served as /orbit-v2.css.
   Every value is taken from the owner's design (Drive: OrbitWan.io / Redesign v2 / Tx page, view.dc.html).
   Sections: @font-face, tokens, base, header, footer, page shell, components, tx page parts, states.
   Class names are documented in docs/DESIGN.md TXV2-S. */

/* ---- @font-face: Geist 1.9.2 (SIL OFL 1.1), self-hosted at the webroot root ---- */
@font-face{font-family:'Geist';font-style:normal;font-weight:400;font-display:swap;src:url(/geist-400.woff2) format("woff2")}
@font-face{font-family:'Geist';font-style:normal;font-weight:500;font-display:swap;src:url(/geist-500.woff2) format("woff2")}
@font-face{font-family:'Geist';font-style:normal;font-weight:600;font-display:swap;src:url(/geist-600.woff2) format("woff2")}
@font-face{font-family:'Geist';font-style:normal;font-weight:700;font-display:swap;src:url(/geist-700.woff2) format("woff2")}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/geist-mono-400.woff2) format("woff2")}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/geist-mono-500.woff2) format("woff2")}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:600;font-display:swap;src:url(/geist-mono-600.woff2) format("woff2")}

/* ---- tokens: body with no data-theme is dark, body[data-theme="light"] is light ---- */
body{
  --bg:#0B0F14;--hd:#10151C;--sf:#121821;--sf2:#171E29;--bd:#242C38;--bd2:#1D2430;--chip:#1C2430;
  --tx:#E8ECF1;--tx2:#A6AFBC;--tx3:#808B99;--ac:#5B9BFF;
  --gn:#4CC77A;--gnb:rgba(76,199,122,0.14);--rd:#FF7A7A;--rdb:rgba(255,122,122,0.10);
  --am:#E6B450;--amb:rgba(230,180,80,0.14);--or:#F0883E;--orb:rgba(240,136,62,0.14);--tl:#5FD3BC;--tlb:rgba(31,168,143,0.12);--tlbd:#1F5B52;
  --brand:#0A66E0;
  --sans:'Geist',system-ui,sans-serif;--mono:'Geist Mono',ui-monospace,monospace;
  --gx:24px;--cp:22px 24px;--cpx:24px;--h1:30px;--fm:13px;--legp:16px;--cell:200px;
}
body[data-theme="light"]{
  --bg:#F6F7F9;--hd:#FFFFFF;--sf:#FFFFFF;--sf2:#F8FAFC;--bd:#E4E7EB;--bd2:#EEF0F3;--chip:#F0F2F5;
  --tx:#101418;--tx2:#4A5360;--tx3:#6B7480;--ac:#0A66E0;
  --gn:#1A7F37;--gnb:#E8F5EC;--rd:#C9302C;--rdb:#FCEDED;
  --am:#8A5A00;--amb:#FBF0D9;--or:#BC4C00;--orb:#FFF1E5;--tl:#13806F;--tlb:#EEF8F6;--tlbd:#9ED9CF;
}
@media (max-width:639px){
  body{--gx:16px;--cp:16px;--cpx:16px;--h1:26px;--fm:12px;--legp:14px 12px;--cell:130px;}
}

/* ---- base ---- */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--tx);font-family:var(--sans);font-size:14px;line-height:20px;
  font-variant-numeric:tabular-nums;font-feature-settings:'tnum' 1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  min-height:100vh;display:flex;flex-direction:column}
a{color:var(--ac);text-decoration:none}
a:hover{text-decoration:underline}
button{font-family:var(--sans)}
input::placeholder{color:var(--tx3)}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---- header ---- */
.hdr{background:var(--hd);border-bottom:1px solid var(--bd)}
.hdr-in{max-width:1180px;margin:0 auto;padding:0 var(--gx);min-height:68px;display:flex;flex-wrap:wrap;align-items:center;column-gap:16px;row-gap:12px}
/* The OrbitWan logo (TXV2-S6, owner): the production mark, the vector master's drawing inline in the page (blue #2D7FF9
   square, white ring), 1.464em square with 0.357em after it (the master's proportions), beside the wordmark in the copy
   font and colour, Geist 700 at -0.03em; 22px here, 18px in the footer. Geist centres its capitals in its line box, so
   the wordmark, the nav, the search and the actions share one centre line with the mark. */
.brand{order:1;display:flex;align-items:center;font-size:22px;font-weight:700;letter-spacing:-0.03em;color:var(--tx)}
.brand:hover{text-decoration:none}
.brand .mk{flex:none;display:block;width:1.464em;height:1.464em;margin-inline-end:0.357em}
.brand span{font-weight:inherit;letter-spacing:inherit;color:inherit}
.nav{order:2;flex-basis:auto;align-self:stretch;margin:0 0 0 8px;display:flex;gap:4px;flex-wrap:wrap}
.nav a{display:flex;align-items:center;padding:0 12px;font-size:15px;font-weight:500;color:var(--tx2);border-top:2px solid transparent;border-bottom:2px solid transparent}
.nav a:hover{color:var(--tx);text-decoration:none}
.nav a[aria-current="page"]{color:var(--tx);border-bottom-color:var(--ac)}
/* V2FIX2-S: the search may shrink below its content, so from 1100px the header keeps one row (a 1158px tablet put
   the actions on a second row) */
.search{order:3;flex:1 1 200px;min-width:0;max-width:420px;margin:0 0 0 auto;display:flex;gap:6px;padding:4px;border-radius:10px;border:1px solid var(--bd);background:var(--sf2)}
.search:has(input[aria-invalid="true"]){border-color:var(--rd)}
.search input{flex:1;min-width:0;height:32px;padding:0 10px;border:0;background:transparent;font-family:var(--sans);font-size:14px;color:var(--tx);outline:none}
.search input[aria-invalid="true"]{color:var(--rd)}
.search button{flex:none;height:32px;padding:0 14px;border-radius:7px;border:0;background:var(--brand);color:#FFFFFF;font-size:14px;font-weight:600;cursor:pointer}
.acts{order:4;margin-left:auto;display:flex;align-items:center;gap:10px}
.chain{display:flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--bd);background:var(--sf2);color:var(--tx2);font-size:14px;font-weight:500;white-space:nowrap}
.chain::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.chain[data-state="up"]{border-color:var(--tlbd);background:var(--tlb);color:var(--tl)}
.chain[data-state="up"]::before{background:#1FA88F}
.chain[data-state="down"]{border-color:var(--rd);background:var(--rdb);color:var(--rd)}
.tog{height:36px;padding:0 14px;border-radius:8px;border:1px solid var(--bd);background:var(--sf);color:var(--tx2);font-size:14px;font-weight:500;cursor:pointer}
.tog:hover{color:var(--tx)}
@media (max-width:1099px){
  /* compact header (TXV2-S7): the logo and the actions, then the nav, then the search, 16px above and below */
  .hdr-in{padding:16px var(--gx);min-height:0}
  .nav{order:3;flex-basis:100%;align-self:auto;margin:0 -12px}
  .nav a{padding:10px 12px}
  .search{order:4;flex-basis:100%;max-width:none}
  .acts{order:2}
}
/* TXV2-S6: on a phone the logo and the actions share the first row from 390px wide, as the compact header has it */
@media (max-width:639px){ .hdr-in{column-gap:8px} }

/* ---- footer ---- */
.ftr{background:var(--hd);border-top:1px solid var(--bd);margin-top:auto}
.ftr-in{max-width:1180px;margin:0 auto;padding:32px var(--gx) 40px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.ftr .brand{order:0;font-size:18px}
.ftr nav{display:flex;gap:8px 24px;flex-wrap:wrap}
.ftr nav a{font-size:14px;font-weight:500;color:var(--tx2)}

/* ---- page shell ---- */
.main{width:100%;max-width:1180px;margin:0 auto;padding:40px var(--gx) 64px;display:flex;flex-direction:column;gap:16px}
.stack{display:flex;flex-direction:column;gap:16px;min-width:0}

/* ---- components ---- */
/* card (section) */
.card{background:var(--sf);border:1px solid var(--bd);border-radius:16px;padding:var(--cp);display:flex;flex-direction:column;gap:16px;min-width:0}
.card.kvc,.card.tblc{gap:8px}
.card h2{margin:0;font-size:18px;line-height:24px;font-weight:600;letter-spacing:-0.01em}
.card h3{margin:0;font-size:16px;line-height:22px;font-weight:600}
.chead{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;min-width:0}
.chead .right{margin-left:auto}
/* small type */
.lab{font-family:var(--sans);font-size:12px;line-height:16px;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;color:var(--tx3)}
.val{font-weight:500;overflow-wrap:anywhere;min-width:0}
.unit{font-weight:400;color:var(--tx2)}
.sub{font-size:13px;color:var(--tx3)}
.nm{font-weight:600}
.dash,.hint{color:var(--tx3)}
.tail{opacity:0.6}
.dt{display:inline-flex;flex-wrap:wrap;gap:0 8px}
.dt b{font-weight:500}
.dt span{color:var(--tx2)}
/* mono: hex only (addresses, hashes, selectors, calldata, message ids), one size everywhere */
.mono{font-family:var(--mono);font-size:var(--fm);overflow-wrap:anywhere;min-width:0}
/* a value with its Copy button on one row */
.cv{display:inline-flex;align-items:baseline;gap:10px;max-width:100%;min-width:0;vertical-align:middle}
.cv-v{min-width:0;overflow-wrap:anywhere}
/* a hash: in full on a wide screen, shortened in its middle on a phone */
.hx-s{display:none}
/* inside a leg card a hash is always shortened: a full hash would wrap there at every width */
.leg .hx-f{display:none}
.leg .hx-s{display:inline}
.cv>.copy{flex:none}
/* kv row */
.kv{display:flex;flex-direction:column}
.kvr{display:flex;flex-wrap:wrap;column-gap:24px;row-gap:4px;padding:12px 0;border-top:1px solid var(--bd2)}
.kvr:first-child{border-top:0}
.kvl{flex:0 0 160px;color:var(--tx2)}
.kvv{flex:1 1 320px;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
/* cells grid */
.cells{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--cell),1fr));border-top:1px solid var(--bd2);padding-top:4px}
.cl{padding:12px 16px 8px 0;display:flex;flex-direction:column;gap:6px;min-width:0}
.cl.span2{grid-column:span 2}
.cl.full{grid-column:1/-1}
.cl-l{font-size:13px;color:var(--tx2)}
.cl-v{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:15px;min-width:0}
.cl-v .sub{font-size:13px}
.cl.fee .cl-v{flex-wrap:nowrap;white-space:nowrap}
/* leg card */
.legs{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.leg{flex:1 1 300px;min-width:0;align-self:stretch;padding:var(--legp);border-radius:12px;background:var(--sf2);border:1px solid var(--bd);display:flex;flex-direction:column;gap:14px}
.leg-h{display:flex;align-items:baseline;gap:8px}
.leg-h b{font-size:15px;font-weight:600}
.lr{display:flex;flex-direction:column;gap:4px;min-width:0}
.lr-l{font-size:13px;color:var(--tx2)}
.lr-v{min-width:0;line-height:24px;overflow-wrap:anywhere}
.nmr{display:block;flex-basis:100%;margin-top:2px}
/* round arrow */
.arrow{flex:0 0 auto;display:flex;justify-content:center}
.arrow i,.rarrow{width:34px;height:34px;border-radius:50%;background:var(--sf);border:1px solid var(--bd);box-shadow:0 1px 3px rgba(0,0,0,0.08);display:flex;align-items:center;justify-content:center}
.arrow i::after,.rarrow::after{content:"";display:block;width:7px;height:7px;border-top:2px solid var(--tx);border-right:2px solid var(--tx);transform:rotate(45deg);margin:0 0 0 -4px}
/* route chips */
.route{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}
.rchip{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;background:var(--sf2);border:1px solid var(--bd);font-size:13px;font-weight:600;white-space:nowrap}
.rarrow{width:28px;height:28px;flex:none}
/* V2FIX4-S, V2FIX6-S: a network logo before a route chip's name. A page gives a chip data-chain (OrbitData.chainSlug of its
   name) and data-l (the name's first letter), drawn as that letter on the accent, 16px round (14px in the smaller chips of
   .xroute); orbit-data.js gives a chip whose chain's coin has one of our token logos that logo (data-logo, its url in --clogo;
   CHAIN_COIN there names each chain's coin, /data/icons.json its file). */
.rchip[data-l]::before{content:attr(data-l);flex:none;width:16px;height:16px;margin:0 6px 0 -4px;border-radius:50%;background:var(--ac);color:#FFFFFF;font-size:9px;font-weight:700;line-height:16px;text-align:center;overflow:hidden}
.rchip[data-logo]::before{content:"";background:var(--clogo) center/cover no-repeat}
/* V2FIX5-S: a cross chain route in two aligned slots (.xroute: the source chain, the round arrow, the destination chain),
   so routes line up row under row, as on WanBridge (the homepage's Cross Chain txs and the Cross Chain tab of Live
   transactions, both drawn by feed.js feedRoute); a chip wider than its slot is cut with an ellipsis. V2FIX6-S: each slot as
   wide as the widest chip it holds among the routes drawn (--xs, --xd, set by feed.js feedFitRoutes on the card or table),
   so each arrow stands just after the widest source chip. The token logo before an amount (.ccxlogo, feed.js
   feedTokenLogo and feedValueLogo): 18px round, the symbol's first letter on the accent without an image. */
.xroute{display:grid;grid-template-columns:minmax(0,var(--xs,1fr)) 20px minmax(0,var(--xd,1fr));justify-content:start;column-gap:5px;align-items:center;justify-items:start;min-width:0}
.xroute .rchip{display:inline-block;max-width:100%;height:22px;padding:0 7px;font-size:12px;line-height:22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xroute .rchip[data-l]::before{display:inline-block;vertical-align:-3px;width:14px;height:14px;margin:0 5px 0 -3px;font-size:8.5px;line-height:14px}
.xroute .rarrow{width:20px;height:20px;box-shadow:none}
.xroute .rarrow::after{width:5px;height:5px;border-width:1.5px;margin-left:-2px}
.ccxlogo{flex:none;display:inline-block;width:18px;height:18px;margin-right:6px;vertical-align:-4px;overflow:hidden}
.ccxlogo img{display:block;width:18px;height:18px;border-radius:50%}
.ccxlogo i{display:none;width:18px;height:18px;border-radius:50%;background:var(--ac);align-items:center;justify-content:center;font-style:normal}
.ccxlogo i::before{content:attr(data-l);font-size:10px;line-height:1;font-weight:700;color:#FFFFFF}
.ccxlogo.nologo img{display:none}
.ccxlogo.nologo i{display:flex}
/* status chip */
.st{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;font-family:var(--sans);font-size:12px;font-weight:600;white-space:nowrap;background:var(--chip);color:var(--tx2)}
.st::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.st.ok{background:var(--gnb);color:var(--gn)}
.st.bad{background:var(--rdb);color:var(--rd)}
.st.warn{background:var(--amb);color:var(--am)}
.st.payout{background:var(--orb);color:var(--or)}
.st.lg{height:30px;padding:0 12px;font-size:13px}
/* tag */
.tag{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:6px;background:var(--chip);color:var(--tx2);font-family:var(--sans);font-size:12px;font-weight:600;white-space:nowrap}
.tag.warn{background:var(--amb);color:var(--am)}
.tag.sm{height:22px}
.tag.dec{font-family:var(--sans);font-weight:600;background:var(--gnb);color:var(--gn)}
.tag.raw{font-family:var(--sans);font-weight:600}
/* copy button */
.copy{flex:none;height:24px;padding:0 8px;border-radius:6px;border:1px solid var(--bd);background:transparent;color:var(--tx2);font-size:12px;font-weight:500;cursor:pointer}
.copy:hover{color:var(--tx)}
.copy.done{color:var(--gn)}
/* n/a box */
.na{font-family:var(--sans);font-size:12px;line-height:18px;padding:0 6px;border:1px dashed var(--tx3);border-radius:4px;color:var(--tx2);white-space:nowrap}
/* age chip */
.age{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:var(--chip);color:var(--tx2);font-size:12px;font-weight:500;white-space:nowrap}
/* table */
.tbl{width:100%;border-collapse:collapse}
.tbl th{padding:10px 24px 10px 0;text-align:left;font-family:var(--sans);font-size:12px;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;color:var(--tx3);white-space:nowrap}
.tbl td{padding:12px 24px 12px 0;border-top:1px solid var(--bd2);vertical-align:middle;text-align:left}
.tbl th:last-child,.tbl td:last-child{padding-right:0}
.tbl td.nw{white-space:nowrap;font-weight:500}
.party{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.lines{display:flex;flex-direction:column;gap:4px}
.lines .val{white-space:nowrap}
.pos{color:var(--gn)}
.neg{color:var(--rd)}
/* collapsible card: the whole header row is one button */
.card.col{padding:0;gap:0;overflow:hidden}
.card h2.col-h{margin:0;font-size:inherit;line-height:inherit;font-weight:inherit;letter-spacing:0}
.col-h button{width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:var(--cp);background:transparent;border:0;color:var(--tx);cursor:pointer;text-align:left;font-family:var(--sans);font-size:14px;line-height:20px;font-weight:400}
.col-h .t{font-size:18px;line-height:24px;font-weight:600;letter-spacing:-0.01em}
.col-a{margin-left:auto;display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:var(--ac)}
.chev{display:inline-block;width:12px;text-align:center;font-size:18px;color:var(--tx3);transform:rotate(90deg)}
[aria-expanded="true"] .chev{transform:rotate(-90deg)}
.col-b{padding:0 var(--cpx) 18px;display:flex;flex-direction:column;gap:16px;min-width:0}
[hidden]{display:none !important}
/* gas bar */
.bar{display:flex;align-items:center;gap:10px}
.bar-t{flex:1;height:6px;border-radius:3px;background:var(--chip);overflow:hidden}
.bar-f{height:100%;border-radius:3px;background:var(--ac)}
.bar span{font-size:12.5px;color:var(--tx2)}
/* raw input block */
.rawbox{padding:14px 16px;border-radius:10px;background:var(--sf2);border:1px solid var(--bd);font-family:var(--mono);font-size:var(--fm);line-height:21px;display:flex;flex-direction:column;min-width:0}
.rw{display:flex;gap:16px;min-width:0}
.rw-o{flex:none;width:30px;color:var(--tx3)}
.rw-h{color:var(--tx2);overflow-wrap:anywhere;min-width:0}
.rw-s{color:var(--tx)}
.rawacts{display:flex;align-items:center;gap:16px}
.rawacts .copy{height:28px;padding:0 10px;font-size:13px}
/* skeleton */
.sk{background:var(--chip);border-radius:4px}
.sk-blk{background:var(--sf2);border:1px solid var(--bd);border-radius:12px}
/* retry button */
.btn{height:36px;padding:0 16px;border-radius:8px;border:0;background:var(--brand);color:#FFFFFF;font-size:14px;font-weight:600;cursor:pointer}

/* ---- tx page parts ---- */
.heading{display:flex;flex-direction:column;gap:12px;padding-bottom:8px;min-width:0}
.headrow{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
/* the status chip centres on the middle of the title's lowercase letters (Geist: box centre 0.355em, x-height middle 0.268em) */
.headrow>#txStatusBadge{position:relative;top:calc(var(--h1) * 0.087)}
.heading h1{margin:0;font-size:var(--h1);line-height:1.1;font-weight:700;letter-spacing:-0.04em}
.hashrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;min-width:0}
.hashrow .mono{color:var(--tx2)}
.sum-h{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.sum-h h2{margin-right:4px}
.sblocks{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.sblk{flex:1 1 260px;min-width:0;align-self:stretch;padding:16px 18px;border-radius:12px;background:var(--sf2);border:1px solid var(--bd);display:flex;flex-direction:column;gap:12px;container-type:inline-size}
/* a summary line never wraps: --n (set from the widest line) sizes every amount and symbol of the Summary to fit its block, up to 22px */
.sline{display:flex;flex-wrap:nowrap;align-items:center;gap:0.3em;min-width:0;white-space:nowrap;font-size:clamp(11px,calc(100cqi / var(--n,8)),22px)}
.samt{font-size:1em;line-height:1.2;font-weight:700;letter-spacing:-0.03em}
.ssym{font-size:1em;line-height:1.2;font-weight:700;letter-spacing:-0.03em}
.ssub{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:13px;color:var(--tx2)}
.ssub b{font-weight:500}
.ssub .dash{color:var(--tx3)}
.atts{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid var(--bd2)}
.atts>.lr-l{font-size:13px;color:var(--tx2)}
.att{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;padding:12px 14px;border-radius:10px;background:var(--rdb)}
.att .why{font-weight:600;color:var(--rd)}
.argwrap{overflow-x:auto;border:1px solid var(--bd);border-radius:10px;max-width:100%}
.argt{width:100%;min-width:640px;border-collapse:collapse;font-size:13px}
.argt thead tr{background:var(--sf2)}
.argt th{padding:9px 32px 9px 0;text-align:left;font-family:var(--sans);font-size:12px;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;color:var(--tx3)}
.argt th:first-child{width:1%;white-space:nowrap;padding-left:14px}
.argt th:nth-child(2){width:1%;white-space:nowrap}
.argt th:last-child{padding-right:14px}
.argt td{padding:10px 32px 10px 0;border-top:1px solid var(--bd2);vertical-align:top}
.argt td:first-child{padding-left:14px;font-weight:500;white-space:nowrap}
.argt td:nth-child(2){font-size:13px;color:var(--tx3);white-space:nowrap}
.argt td:last-child{padding-right:14px}
.argt .ix{margin-left:8px;font-size:11.5px;color:var(--tx3)}
.av{display:flex;flex-direction:column;gap:2px}
.av>div{display:flex;gap:8px;font-family:var(--mono);font-size:var(--fm);min-width:0}
.av .i{color:var(--tx3)}
.av .v{overflow-wrap:anywhere;min-width:0}
.evs{display:flex;flex-direction:column;gap:16px;padding-top:16px;border-top:1px solid var(--bd2)}
.ev{display:flex;flex-direction:column;gap:8px}
.ev-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.ev-h .en{font-size:15px;font-weight:600}
.ev-h .ec{font-weight:500;color:var(--tx2)}
.ifn{font-size:14px;font-weight:600}
.isel{font-family:var(--mono);font-size:var(--fm);color:var(--tx3)}
/* stacked forms (narrow) */
/* activity grid: Balance changes, Token transfers and Internal transactions share one column grid, so Change and Amount line
   up from card to card; a token sits right after its amount. Wide: From | To | Amount (| Type), Address spanning From and To;
   below 1100px From sits over To. */
.agw{display:flex;flex-direction:column;min-width:0}
.ag{display:grid;grid-template-columns:minmax(0,328px) minmax(0,328px) minmax(0,1fr) 120px;column-gap:24px;row-gap:4px;align-items:center;padding:12px 0;border-top:1px solid var(--bd2);min-width:0}
.ag>div{min-width:0}
.ag .c1{grid-column:1;grid-row:1}
.ag .c2{grid-column:2;grid-row:1}
.ag .c3{grid-column:3;grid-row:1}
.ag .c4{grid-column:4;grid-row:1}
.ag .c12{grid-column:1/3;grid-row:1}
/* a row with no Type cell lets Amount run over the empty Type track, so an amount and its token stay on one line */
.ag .c3:last-child{grid-column:3/5}
.ag .c3,.ag .c4{font-weight:500;overflow-wrap:anywhere}
.ag .lines .val{white-space:normal}
.ag-h{padding:10px 0;border-top:0;font-family:var(--sans);font-size:12px;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;color:var(--tx3)}
.ag-h .c3,.ag-h .c4{font-weight:600}
.agm{display:none}
.amtl{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:0 6px}
@media (max-width:1099px){
  .ag{grid-template-columns:minmax(0,328px) minmax(0,1fr) 120px}
  .ag .c2{grid-column:1;grid-row:2}
  .ag .c3{grid-column:2;grid-row:1/3}
  .ag .c4{grid-column:3;grid-row:1/3}
  .ag .c12{grid-column:1;grid-row:1/3}
  .ag-h .c2{display:none}
  .ag-h .agm{display:inline}
  .ag .c3:last-child{grid-column:2/4}
}
.stk{display:none;flex-direction:column}
.stk-r{display:flex;flex-direction:column;gap:10px;padding:14px 0;border-top:1px solid var(--bd2);min-width:0}
.stk-r.bal{gap:8px;padding:12px 0}
.stk-p{display:flex;flex-direction:column;gap:2px;min-width:0}
.stk-p>.k{font-size:12px;color:var(--tx3)}
.stk-p>.st{align-self:flex-start}
.stk-a{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;min-width:0}
.stk-a .val{font-size:16px;font-weight:600}
.stk-sp{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.stk-sp>a,.stk-sp>.tag,.stk-sp>span:first-child{flex:none}
.stk-sp .val{text-align:right;font-weight:500}
.stk-sp.int .val{font-size:15px;font-weight:600}

/* ---- narrow layout ---- */
@media (max-width:639px){
  .arrow{flex:0 0 100%}
  .arrow i::after{transform:rotate(135deg);margin:-4px 0 0 0}
  .kvl{flex-basis:100%}
  .wide{display:none}
  .stk{display:flex}
  .cl.fee{grid-column:1/-1}
  .hx-f{display:none}
  .hx-s{display:inline}
}
@media (max-width:359px){ .cl.span2{grid-column:1/-1} }

/* ---- states ---- */
.state{padding:24px;align-items:flex-start;gap:12px}
.state .t{font-size:22px;line-height:28px;font-weight:700;letter-spacing:-0.02em}
.state .mono{color:var(--tx2);max-width:100%}
.skel{display:flex;flex-direction:column;gap:16px}
.skel-h{display:flex;flex-direction:column;gap:12px;padding-bottom:8px}
.skel .row{display:flex;gap:24px;padding:16px 0;border-top:1px solid var(--bd2)}
