/* Kvant Swap partner cabinet. Tokens come from the design canvas; pages keep the artboards' inline styles. */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:Onest,system-ui,sans-serif;background:var(--bg);color:var(--ink)}
a{color:#2B3CFF}a:hover{color:#1A27C9}
.t-light{--bg:#F2F4F8;--surface:#FFFFFF;--field:#F2F4F8;--ink:#0B1020;--muted:#525C70;--line:#D5DBE6;--accent-text:#2B3CFF;--pop:#D9420B;--on-pop:#FFFFFF;--err:#C01F3C;--ok:#0B7A53;color-scheme:light}
.t-dark{--bg:#0A0D1A;--surface:#141A2E;--field:#0A0D1A;--ink:#F2F4F8;--muted:#A3ADC2;--line:#2A3350;--accent-text:#8C98FF;--pop:#FF7A4D;--on-pop:#0A0D1A;--err:#FF7088;--ok:#4FD6A0;color-scheme:dark}
.t-dark a{color:#8C98FF}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--accent-text);outline-offset:2px}
input:focus-visible,select:focus-visible{outline-offset:0}
input::placeholder{color:var(--muted);opacity:1}
button{font-family:inherit}
button:disabled{opacity:.5;cursor:default}
table{border-collapse:collapse}
pre{white-space:pre-wrap;word-break:break-word}
/* phones: the artboards are desktop only, so the rows that cannot shrink wrap or scroll inside their own box */
@media (max-width:760px){
nav[aria-label="Main"],nav[aria-label="Footer"]{flex-wrap:wrap}
main div:has(>table){overflow-x:auto}
}
