/* Min and Max are siblings of the amount box, never inside its currency/input grid. */
@layer v104Restoration {
 html.vercel-layout body #appView #tradeRail #amountInput.trade-amount-external {
  display:grid!important;grid-template-columns:28px minmax(0,1fr) 40px!important;align-items:center!important;column-gap:10px!important;
  box-sizing:border-box!important;min-height:96px!important;height:auto!important;padding:12px 16px!important;position:relative!important;
 }
 html.vercel-layout body #appView #tradeRail #amountInput.trade-amount-external::before {position:static!important;grid-column:1!important;grid-row:1!important;inset:auto!important;transform:none!important;margin:0!important;width:24px!important;height:24px!important;min-width:24px!important;}
 html.vercel-layout body #appView #tradeRail #amountInput.trade-amount-external #qty {
  grid-column:2!important;grid-row:1!important;position:static!important;min-width:0!important;width:100%!important;max-width:none!important;
  height:64px!important;min-height:64px!important;margin:0!important;padding:0!important;transform:none!important;
  font-size:var(--amount-bounds-font-size,44px)!important;line-height:1.15!important;text-align:center!important;
 }
 html.vercel-layout body #appView #tradeRail #amountInput.trade-amount-external #amountUnit {position:static!important;grid-column:3!important;grid-row:1!important;inset:auto!important;transform:none!important;text-align:right!important;font-size:11px!important;line-height:1.3!important;width:auto!important;}
 html.vercel-layout body #appView #tradeRail #tradeAmountBounds {
  display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;
  width:100%!important;box-sizing:border-box!important;min-height:36px!important;height:36px!important;margin:6px 0 2px!important;flex:0 0 36px!important;
 }
 html.vercel-layout body #appView #tradeRail #tradeAmountBounds .amount-bound {
  display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;flex:0 1 auto!important;
  gap:8px!important;min-width:0!important;max-width:calc(50% - 6px)!important;min-height:32px!important;height:32px!important;
  padding:5px 10px!important;margin:0!important;border:1px solid var(--line,#343944)!important;border-radius:8px!important;
  background:transparent!important;color:var(--v85-text,var(--text,#f2f5fa))!important;box-shadow:none!important;font-size:12px!important;line-height:1.3!important;
 }
 html.vercel-layout body #appView #tradeRail #tradeAmountBounds .amount-bound-label {font-size:12px!important;font-weight:500!important;color:var(--dim,#9ba6b5)!important;white-space:nowrap!important;}
 html.vercel-layout body #appView #tradeRail #tradeAmountBounds .amount-bound-value {font-size:12px!important;font-weight:600!important;font-variant-numeric:tabular-nums!important;white-space:nowrap!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;}
 html.vercel-layout body #appView #tradeRail #tradeAmountBounds .amount-bound:disabled {opacity:.45!important;}
 html.vercel-layout body #appView #tradeRail #tradeAmountBounds .amount-bound:focus-visible {outline:2px solid var(--accent,#ab8ac4)!important;outline-offset:2px!important;}
 @media(max-width:360px){html.vercel-layout body #appView #tradeRail #tradeAmountBounds .amount-bound {gap:5px!important;padding-inline:8px!important;}html.vercel-layout body #appView #tradeRail #amountInput.trade-amount-external {padding-inline:12px!important;column-gap:6px!important;}}
}
