/* [next]/internal/font/google/inter_dc2e7d7.module.css [app-client] (css) */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/2c55a0e60120577a.0-dom-5bn10r2.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/9c72aa0f40e4eef8.1y4-pdgsjb-pw.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/ad66f9afd8947f86.3lvt2whj97whp.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/5476f68d60460930.2uwcyprjm3xu3.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/2bbe8d2671613f1f.0k62hbripvv8p.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/1bffadaabf893a1e.p.3-6t-g6q0vh0a.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/83afe278b6a6bb3c.p.2bn3s6zvc0dyp.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/2c55a0e60120577a.0-dom-5bn10r2.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/9c72aa0f40e4eef8.1y4-pdgsjb-pw.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/ad66f9afd8947f86.3lvt2whj97whp.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/5476f68d60460930.2uwcyprjm3xu3.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/2bbe8d2671613f1f.0k62hbripvv8p.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/1bffadaabf893a1e.p.3-6t-g6q0vh0a.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/83afe278b6a6bb3c.p.2bn3s6zvc0dyp.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/2c55a0e60120577a.0-dom-5bn10r2.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/9c72aa0f40e4eef8.1y4-pdgsjb-pw.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/ad66f9afd8947f86.3lvt2whj97whp.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/5476f68d60460930.2uwcyprjm3xu3.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/2bbe8d2671613f1f.0k62hbripvv8p.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/1bffadaabf893a1e.p.3-6t-g6q0vh0a.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/83afe278b6a6bb3c.p.2bn3s6zvc0dyp.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/2c55a0e60120577a.0-dom-5bn10r2.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/9c72aa0f40e4eef8.1y4-pdgsjb-pw.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/ad66f9afd8947f86.3lvt2whj97whp.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/5476f68d60460930.2uwcyprjm3xu3.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/2bbe8d2671613f1f.0k62hbripvv8p.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/1bffadaabf893a1e.p.3-6t-g6q0vh0a.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/83afe278b6a6bb3c.p.2bn3s6zvc0dyp.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.inter_dc2e7d7-module__ugh0vW__className {
  font-family: Inter, Segoe UI, system-ui, Arial;
  font-style: normal;
}

.inter_dc2e7d7-module__ugh0vW__variable {
  --font-ui: "Inter", Segoe UI, system-ui, Arial;
}

/* [next]/internal/font/google/jetbrains_mono_b1bc74f3.module.css [app-client] (css) */
@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/04c5164763c40239.1kd-r_s9smv5m.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/26f284dcc38c84c0.3hlisc-pwq13z.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/7e7f32a39836f228.0-oo9_1x_xmvg.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/fa39153a3fc630ba.36fqqi66-3tjb.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/6a5386fd6038edbe.p.3_z45zcoc-xoz.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/051742360c26797e.p.1bkzbscqrt8rl.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/04c5164763c40239.1kd-r_s9smv5m.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/26f284dcc38c84c0.3hlisc-pwq13z.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/7e7f32a39836f228.0-oo9_1x_xmvg.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/fa39153a3fc630ba.36fqqi66-3tjb.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/6a5386fd6038edbe.p.3_z45zcoc-xoz.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/051742360c26797e.p.1bkzbscqrt8rl.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/04c5164763c40239.1kd-r_s9smv5m.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/26f284dcc38c84c0.3hlisc-pwq13z.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/7e7f32a39836f228.0-oo9_1x_xmvg.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/fa39153a3fc630ba.36fqqi66-3tjb.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/6a5386fd6038edbe.p.3_z45zcoc-xoz.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/051742360c26797e.p.1bkzbscqrt8rl.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/04c5164763c40239.1kd-r_s9smv5m.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/26f284dcc38c84c0.3hlisc-pwq13z.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/7e7f32a39836f228.0-oo9_1x_xmvg.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/fa39153a3fc630ba.36fqqi66-3tjb.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/6a5386fd6038edbe.p.3_z45zcoc-xoz.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/051742360c26797e.p.1bkzbscqrt8rl.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.jetbrains_mono_b1bc74f3-module__i0fyKW__className {
  font-family: JetBrains Mono, Consolas, Menlo, monospace;
  font-style: normal;
}

.jetbrains_mono_b1bc74f3-module__i0fyKW__variable {
  --font-mono: "JetBrains Mono", Consolas, Menlo, monospace;
}

/* [project]/app/globals.css [app-client] (css) */
:root {
  --brand-blue: #0a78f2;
  --brand-cyan: #12c0c6;
  --brand-green: #3beb88;
  --brand-grad: linear-gradient(120deg, var(--brand-blue), var(--brand-cyan) 52%, var(--brand-green));
  --r-xs: 6px;
  --r-sm: 9px;
  --r-md: 13px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --rail-w: 264px;
  --tape-h: 52px;
  --topbar-h: 68px;
  --content-max: 1520px;
  --font-sans: var(--font-ui), "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-num: var(--font-mono), "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --t-11: 11px;
  --t-12: 12px;
  --t-13: 13px;
  --t-14: 14px;
  --t-16: 16px;
  --t-18: 18px;
  --t-22: 22px;
  --t-28: 28px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --fast: .13s var(--ease);
  --slow: .24s var(--ease);
}

:root, [data-theme="dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #070b10;
  --bg-deep: #04070a;
  --surface: #0d131b;
  --surface-2: #121a24;
  --surface-3: #18222e;
  --surface-inset: #ffffff08;
  --line: #ffffff16;
  --line-strong: #ffffff29;
  --line-soft: #ffffff0d;
  --text: #e8eef7;
  --text-2: #a9b8cb;
  --text-3: #7a8ba1;
  --text-4: #5b6b80;
  --accent: #38d9f0;
  --accent-ink: #04121a;
  --accent-soft: #38d9f024;
  --ok: #35dd8b;
  --ok-soft: #35dd8b21;
  --warn: #ffb648;
  --warn-soft: #ffb64824;
  --err: #ff6b7a;
  --err-soft: #ff6b7a24;
  --info: #56a8ff;
  --info-soft: #56a8ff24;
  --violet: #a98bff;
  --violet-soft: #a98bff26;
  --shadow-1: 0 1px 2px #00000080;
  --shadow-2: 0 6px 20px -8px #000000b3;
  --shadow-3: 0 24px 60px -20px #000c;
  --glow: 0 0 0 1px #38d9f038, 0 8px 28px -12px #38d9f066;
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
  --stage-wash: radial-gradient(1100px 520px at 12% -10%, #0a78f21c, transparent 62%),
    radial-gradient(900px 460px at 92% 4%, #3beb8814, transparent 60%);
}

[data-theme="light"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg: #f3f6fa;
  --bg-deep: #e9eef5;
  --surface: #fff;
  --surface-2: #f7f9fc;
  --surface-3: #eef2f7;
  --surface-inset: #0f172a07;
  --line: #0f172a1a;
  --line-strong: #0f172a33;
  --line-soft: #0f172a0f;
  --text: #0f1b2d;
  --text-2: #47566b;
  --text-3: #66768c;
  --text-4: #8895a8;
  --accent: #0a78f2;
  --accent-ink: #fff;
  --accent-soft: #0a78f21a;
  --ok: #12a25c;
  --ok-soft: #12a25c1c;
  --warn: #b06a00;
  --warn-soft: #b06a001f;
  --err: #d63b4b;
  --err-soft: #d63b4b1a;
  --info: #1668d8;
  --info-soft: #1668d81a;
  --violet: #6d4fd6;
  --violet-soft: #6d4fd61c;
  --shadow-1: 0 1px 2px #0f172a12;
  --shadow-2: 0 8px 24px -12px #0f172a38;
  --shadow-3: 0 28px 64px -24px #0f172a4d;
  --glow: 0 0 0 1px #0a78f247, 0 10px 28px -14px #0a78f273;
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
  --stage-wash: radial-gradient(1100px 520px at 12% -10%, #0a78f212, transparent 62%),
    radial-gradient(900px 460px at 92% 4%, #3beb8812, transparent 60%);
}

*, :before, :after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
}

body {
  background: var(--bg);
  min-height: 100dvh;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--t-14);
  font-feature-settings: "cv02", "cv03", "cv04", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
  line-height: 1.55;
}

h1, h2, h3, h4 {
  letter-spacing: -.014em;
  color: var(--text);
  font-weight: 650;
  line-height: 1.25;
}

h1 {
  font-size: var(--t-22);
}

h2 {
  font-size: var(--t-16);
}

h3 {
  font-size: var(--t-14);
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
  transition: color var(--fast);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

svg, img {
  max-width: 100%;
  display: block;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
}

::selection {
  background: var(--accent-soft);
  color: var(--text);
}

:focus-visible {
  box-shadow: var(--ring);
  border-radius: var(--r-xs);
  outline: none;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: var(--r-pill);
  background-clip: padding-box;
  border: 3px solid #0000;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-4);
  background-clip: padding-box;
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.mono {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "zero" 1;
  letter-spacing: -.01em;
}

.small {
  font-size: var(--t-12);
  line-height: 1.5;
}

.tiny {
  font-size: var(--t-11);
  letter-spacing: .005em;
  line-height: 1.45;
}

.strong {
  font-weight: 600;
}

.muted {
  color: var(--text-2);
}

.faint {
  color: var(--text-3);
}

.truncate {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.nowrap {
  white-space: nowrap;
}

.stack {
  gap: var(--s-3);
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.inline-row {
  align-items: center;
  gap: var(--s-2);
  min-width: 0;
  display: inline-flex;
}

.tone-ok {
  color: var(--ok);
}

.tone-warn {
  color: var(--warn);
}

.tone-err {
  color: var(--err);
}

.tone-info {
  color: var(--info);
}

.tone-off {
  color: var(--text-3);
}

.sr-only {
  clip-path: inset(50%);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.addr {
  font-family: var(--font-num);
  font-size: var(--t-12);
  color: var(--text-2);
  background: var(--surface-inset);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xs);
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-all;
  max-width: 100%;
  padding: 3px 8px;
  display: inline-block;
  overflow: hidden;
}

.eyebrow {
  font-size: var(--t-11);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-bottom: var(--s-2);
  margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--line-soft);
  font-weight: 650;
}

.eyebrow--bare {
  margin-bottom: var(--s-2);
  border-bottom: 0;
  padding-bottom: 0;
}

.shell {
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  background: var(--bg);
  min-height: 100dvh;
  display: grid;
}

.rail {
  z-index: 40;
  height: 100dvh;
  padding: var(--s-4) var(--s-3) var(--s-3);
  background: var(--surface);
  border-right: 1px solid var(--line);
  flex-direction: column;
  display: flex;
  position: sticky;
  top: 0;
  overflow: hidden auto;
}

.rail-brand {
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-2) var(--s-2) var(--s-4);
  border-radius: var(--r-md);
  color: inherit;
  text-decoration: none;
  display: flex;
}

.rail-brand:hover {
  text-decoration: none;
}

.rail-brand:hover .brand-logo {
  filter: brightness(1.06);
}

.rail-sep {
  background: var(--line-soft);
  height: 1px;
  margin: 0 var(--s-2) var(--s-3);
}

.rail-label {
  font-size: var(--t-11);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-4);
  padding: 0 var(--s-3) var(--s-2);
  font-weight: 650;
}

.nav {
  flex-direction: column;
  gap: 3px;
  display: flex;
}

.nav-item {
  align-items: center;
  gap: var(--s-3);
  height: 44px;
  padding: 0 var(--s-3);
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-size: var(--t-14);
  transition: background var(--fast),
    color var(--fast);
  grid-template-columns: 30px minmax(0, 1fr) auto;
  font-weight: 550;
  text-decoration: none;
  display: grid;
  position: relative;
}

.nav-item:hover {
  background: var(--surface-inset);
  color: var(--text);
  text-decoration: none;
}

.nav-item:hover .nav-ic {
  opacity: 1;
  filter: none;
  transform: translateX(1px);
}

.nav-item.is-active {
  background: var(--surface-3);
  color: var(--text);
  font-weight: 650;
}

.nav-item.is-active:before {
  content: "";
  inset-block: 9px;
  left: calc(-1 * var(--s-3));
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  background: var(--brand-grad);
  width: 3px;
  position: absolute;
}

.nav-item.is-active .nav-ic {
  opacity: 1;
  filter: none;
}

.nav-ic {
  opacity: .78;
  filter: grayscale(.5);
  width: 26px;
  height: 26px;
  transition: opacity var(--fast),
    filter var(--fast),
    transform var(--fast);
}

.nav-badge {
  border-radius: var(--r-pill);
  background: var(--err);
  color: #fff;
  min-width: 21px;
  height: 21px;
  font-family: var(--font-num);
  font-size: var(--t-11);
  justify-content: center;
  align-items: center;
  padding: 0 6px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
}

.rail-foot {
  padding-top: var(--s-3);
  gap: var(--s-2);
  flex-direction: column;
  margin-top: auto;
  display: flex;
}

.rail-user {
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--surface-2);
  min-width: 0;
  display: flex;
}

.avatar {
  border-radius: var(--r-pill);
  background: var(--brand-grad);
  color: #041018;
  width: 32px;
  height: 32px;
  font-size: var(--t-12);
  letter-spacing: .02em;
  flex: none;
  place-items: center;
  font-weight: 700;
  display: grid;
}

.rail-scrim {
  z-index: 39;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background: #02050999;
  border: 0;
  display: none;
  position: fixed;
  inset: 0;
}

.stage {
  background: var(--bg);
  background-image: var(--stage-wash);
  background-repeat: no-repeat;
  flex-direction: column;
  min-width: 0;
  min-height: 100dvh;
  display: flex;
}

.topbar {
  z-index: 30;
  align-items: center;
  gap: var(--s-4);
  min-height: var(--topbar-h);
  padding: var(--s-3) var(--s-6);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  position: sticky;
  top: 0;
}

.topbar-head {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.topbar-head h1 {
  font-size: var(--t-18);
  letter-spacing: -.018em;
}

.topbar-sub {
  font-size: var(--t-12);
  color: var(--text-3);
}

.topbar-right {
  align-items: center;
  gap: var(--s-2);
  flex: none;
  display: flex;
}

.drawer-btn {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  width: 40px;
  height: 40px;
  color: var(--text-2);
  transition: background var(--fast),
    color var(--fast);
  flex: none;
  place-items: center;
  display: none;
}

.drawer-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}

.drawer-btn svg {
  width: 19px;
  height: 19px;
}

.content {
  width: 100%;
  max-width: var(--content-max);
  padding: var(--s-6);
  gap: var(--s-5);
  flex-direction: column;
  flex: 1;
  margin-inline: auto;
  display: flex;
}

.theme-toggle {
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 4px;
  display: inline-flex;
  position: relative;
}

.theme-toggle button {
  border-radius: var(--r-pill);
  width: 28px;
  height: 28px;
  color: var(--text-3);
  transition: background var(--fast),
    color var(--fast);
  place-items: center;
  display: grid;
}

.theme-toggle button:hover {
  color: var(--text);
}

.theme-toggle button[aria-pressed="true"] {
  background: var(--surface-3);
  color: var(--text);
  box-shadow: var(--shadow-1);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
}

.tape {
  z-index: 31;
  align-items: center;
  gap: var(--s-5);
  height: var(--tape-h);
  padding: 0 var(--s-6);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.tape-pair {
  align-items: baseline;
  gap: var(--s-2);
  flex: none;
  display: flex;
}

.tape-sym {
  font-family: var(--font-num);
  font-size: var(--t-13);
  letter-spacing: .02em;
  color: var(--text);
  font-weight: 650;
}

.tape-venue {
  font-size: var(--t-11);
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.tape-last {
  transition: color var(--slow);
  flex: none;
}

.tape-last.is-up .fig-i {
  color: var(--ok);
}

.tape-last.is-down .fig-i {
  color: var(--err);
}

.tape-delta {
  font-family: var(--font-num);
  font-size: var(--t-12);
  border-radius: var(--r-xs);
  background: var(--surface-inset);
  color: var(--text-3);
  flex: none;
  padding: 2px 7px;
  font-weight: 600;
}

.tape-delta.is-up {
  color: var(--ok);
  background: var(--ok-soft);
}

.tape-delta.is-down {
  color: var(--err);
  background: var(--err-soft);
}

.spread {
  align-items: center;
  gap: var(--s-3);
  flex: none;
  display: flex;
}

.spread-side {
  flex-direction: column;
  line-height: 1.25;
  display: flex;
}

.spread-side i {
  font-style: normal;
  font-size: var(--t-11);
  color: var(--text-4);
}

.spread-side b {
  font-family: var(--font-num);
  font-size: var(--t-12);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.spread-side--r {
  text-align: right;
}

.spread-track {
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--ok-soft), var(--surface-3), var(--err-soft));
  border: 1px solid var(--line-soft);
  width: 92px;
  height: 5px;
  position: relative;
}

.spread-mark {
  background: var(--text);
  width: 3px;
  height: 11px;
  transition: left var(--slow);
  border-radius: 2px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.spread-gap {
  font-family: var(--font-num);
  font-size: var(--t-11);
  color: var(--text-4);
}

.spark {
  flex: none;
  width: 108px;
  height: 24px;
}

.spark-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.spark-head {
  fill: var(--accent);
}

.tape-fill {
  flex: 1;
  min-width: 0;
}

.tape-err {
  font-size: var(--t-12);
  color: var(--err);
}

.tape-live {
  font-size: var(--t-11);
  color: var(--text-3);
  letter-spacing: .02em;
  flex: none;
  align-items: center;
  gap: 7px;
  display: inline-flex;
}

.pulse {
  border-radius: var(--r-pill);
  background: var(--ok);
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 0 var(--ok-soft);
  animation: pulse 2.2s var(--ease) infinite;
}

.pulse--off {
  background: var(--text-4);
  animation: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--ok-soft);
  }

  70% {
    box-shadow: 0 0 0 7px #0000;
  }

  100% {
    box-shadow: 0 0 #0000;
  }
}

.brand-logo {
  width: auto;
  height: 34px;
  transition: filter var(--fast);
  flex: none;
  align-self: flex-start;
}

.brand-logo--lg {
  height: 46px;
}

.brand-logo--sm {
  height: 26px;
}

[data-theme="dark"] .brand-logo[data-mode="light"], [data-theme="light"] .brand-logo[data-mode="dark"] {
  display: none;
}

.brand-text {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.brand-name {
  font-size: var(--t-14);
  letter-spacing: -.01em;
  font-weight: 700;
}

.brand-sub {
  font-size: var(--t-11);
  color: var(--text-3);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  min-width: 0;
  box-shadow: var(--shadow-1);
  flex-direction: column;
  display: flex;
  overflow: hidden;
}

.panel-head {
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--line-soft);
  min-height: 60px;
  display: flex;
}

.panel-title {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.panel-title h2 {
  font-size: var(--t-14);
  letter-spacing: -.008em;
  font-weight: 650;
}

.panel-tools {
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
  flex: none;
  justify-content: flex-end;
  display: flex;
}

.panel-body {
  padding: var(--s-5);
  min-width: 0;
}

.panel-body--flush {
  padding: 0;
}

.panel-body--tight {
  padding: var(--s-3) var(--s-4);
}

.panel-foot {
  padding: var(--s-3) var(--s-5);
  border-top: 1px solid var(--line-soft);
  background: var(--surface-2);
  margin-top: auto;
}

.grid {
  gap: var(--s-5);
  min-width: 0;
  display: grid;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--auto {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.grid--wide-left {
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
}

.grid--wide-right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.62fr);
}

.page-head {
  align-items: flex-end;
  gap: var(--s-4);
  flex-wrap: wrap;
  display: flex;
}

.page-head--tools-only {
  justify-content: flex-end;
}

.page-head-text {
  flex: 1;
  min-width: 240px;
}

.page-head-text p {
  font-size: var(--t-13);
  color: var(--text-3);
  max-width: 74ch;
  margin-top: 3px;
}

.page-head-tools {
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
  display: flex;
}

.kv {
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  border-bottom: 1px dashed var(--line-soft);
  min-width: 0;
  padding: 9px 0;
  display: flex;
}

.kv:last-child {
  border-bottom: 0;
}

.kv > span:first-child {
  color: var(--text-3);
  font-size: var(--t-13);
  flex: none;
}

.kv > :last-child {
  text-align: right;
  min-width: 0;
}

.gauge {
  gap: var(--s-3);
  padding: var(--s-5);
  flex-direction: column;
  flex: 1;
  justify-content: center;
  display: flex;
}

.gauge-value {
  align-items: baseline;
  gap: var(--s-2);
  display: flex;
}

.gauge-word {
  font-size: var(--t-22);
  letter-spacing: -.02em;
  font-weight: 700;
}

.gauge-note {
  font-size: var(--t-12);
  color: var(--text-3);
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  display: flex;
}

.stat {
  gap: var(--s-1);
  padding: var(--s-4);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--surface-2);
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.stat-label {
  font-size: var(--t-11);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-4);
  font-weight: 600;
}

.empty {
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-8) var(--s-5);
  text-align: center;
  color: var(--text-3);
  font-size: var(--t-13);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--surface-inset);
  flex-direction: column;
  display: flex;
}

.empty-mark {
  font-size: var(--t-11);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-4);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  font-weight: 650;
}

.empty > div {
  max-width: 52ch;
}

.note {
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  font-size: var(--t-13);
  color: var(--text-2);
  border-left-width: 3px;
  line-height: 1.6;
  display: flex;
}

.note strong {
  color: var(--text);
  font-weight: 650;
}

.note-ic {
  border-radius: var(--r-pill);
  width: 20px;
  height: 20px;
  font-size: var(--t-12);
  flex: none;
  place-items: center;
  margin-top: 1px;
  font-weight: 700;
  line-height: 1;
  display: grid;
}

.note-ic svg {
  width: 13px;
  height: 13px;
}

.note--info {
  border-left-color: var(--info);
  background: color-mix(in srgb, var(--info-soft) 55%, var(--surface));
}

.note--info .note-ic {
  background: var(--info-soft);
  color: var(--info);
}

.note--warn {
  border-left-color: var(--warn);
  background: color-mix(in srgb, var(--warn-soft) 55%, var(--surface));
}

.note--warn .note-ic {
  background: var(--warn-soft);
  color: var(--warn);
}

.note--err {
  border-left-color: var(--err);
  background: color-mix(in srgb, var(--err-soft) 55%, var(--surface));
}

.note--err .note-ic {
  background: var(--err-soft);
  color: var(--err);
}

.fig {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "zero" 1;
  letter-spacing: -.015em;
  white-space: nowrap;
  align-items: baseline;
  gap: 2px;
  display: inline-flex;
}

.fig-i {
  font-size: var(--t-16);
  color: var(--text);
  font-weight: 600;
}

.fig-f {
  color: var(--text-3);
  font-size: .82em;
  font-weight: 500;
}

.fig-u {
  font-size: var(--t-11);
  color: var(--text-4);
  letter-spacing: .02em;
  margin-left: 3px;
  font-weight: 600;
}

.fig--xl .fig-i {
  font-size: var(--t-28);
  letter-spacing: -.03em;
  font-weight: 700;
}

.fig--lg .fig-i {
  font-size: var(--t-22);
  letter-spacing: -.025em;
  font-weight: 650;
}

.fig--sm .fig-i {
  font-size: var(--t-13);
}

.fig--dim .fig-i {
  color: var(--text-2);
  font-weight: 550;
}

.card {
  gap: var(--s-3);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  min-width: 0;
  transition: border-color var(--fast),
    box-shadow var(--fast),
    transform var(--fast);
  flex-direction: column;
  display: flex;
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-2);
}

.card--row {
  align-items: flex-start;
  gap: var(--s-5);
  flex-flow: wrap;
}

.card-top {
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
  min-width: 0;
  display: flex;
}

.card-name {
  font-size: var(--t-14);
  color: var(--text);
  letter-spacing: -.008em;
  min-width: 0;
  font-weight: 650;
}

.card-side {
  align-items: flex-end;
  gap: var(--s-2);
  flex-direction: column;
  flex: none;
  margin-left: auto;
  display: flex;
}

.bal-row {
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
  border-bottom: 1px dashed var(--line-soft);
  padding: 5px 0;
  display: flex;
}

.bal-row:last-child {
  border-bottom: 0;
}

.bal-asset {
  font-family: var(--font-num);
  font-size: var(--t-12);
  color: var(--text-3);
  letter-spacing: .03em;
  font-weight: 600;
}

.bal-strip {
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-inset);
  flex-wrap: wrap;
  display: flex;
}

.bal-strip-label {
  font-size: var(--t-12);
  color: var(--text-3);
  font-weight: 600;
}

.bal-strip-chips {
  gap: var(--s-2);
  flex-wrap: wrap;
  display: flex;
}

.bal-strip .chip {
  font-family: var(--font-num);
}

.bal-strip > .btn {
  margin-left: auto;
}

.chip {
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface-inset);
  height: 24px;
  color: var(--text-2);
  font-size: var(--t-11);
  letter-spacing: .02em;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
}

.chip--plain {
  font-family: var(--font-sans);
}

.chip .dot {
  border-radius: var(--r-pill);
  background: currentColor;
  flex: none;
  width: 6px;
  height: 6px;
}

.chip--live {
  color: var(--ok);
  background: var(--ok-soft);
  border-color: color-mix(in srgb, var(--ok) 26%, transparent);
}

.chip--warn {
  color: var(--warn);
  background: var(--warn-soft);
  border-color: color-mix(in srgb, var(--warn) 26%, transparent);
}

.chip--err {
  color: var(--err);
  background: var(--err-soft);
  border-color: color-mix(in srgb, var(--err) 26%, transparent);
}

.chip--info {
  color: var(--info);
  background: var(--info-soft);
  border-color: color-mix(in srgb, var(--info) 26%, transparent);
}

.chip--violet {
  color: var(--violet);
  background: var(--violet-soft);
  border-color: color-mix(in srgb, var(--violet) 26%, transparent);
}

.chip--idle {
  color: var(--text-3);
}

.trail {
  flex: none;
  align-items: center;
  gap: 3px;
  display: inline-flex;
}

.trail-step {
  border-radius: var(--r-pill);
  background: var(--line-strong);
  width: 14px;
  height: 4px;
}

.trail-step.is-done {
  background: var(--ok);
}

.trail-step.is-now {
  background: var(--info);
  animation: blink 1.5s var(--ease) infinite;
}

.trail-step.is-fail {
  background: var(--err);
}

@keyframes blink {
  50% {
    opacity: .35;
  }
}

.form {
  gap: var(--s-4);
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.field {
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  display: flex;
}

.field-label {
  font-size: var(--t-12);
  color: var(--text-2);
  letter-spacing: .005em;
  font-weight: 600;
}

.field-label .req {
  color: var(--err);
  margin-left: 2px;
}

.field-row {
  gap: var(--s-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  display: grid;
}

.field-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.input, .select, .textarea {
  width: 100%;
  height: 42px;
  padding: 0 var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--text);
  font-size: var(--t-14);
  transition: border-color var(--fast),
    background var(--fast),
    box-shadow var(--fast);
}

.textarea {
  height: auto;
  min-height: 84px;
  padding: var(--s-3);
  resize: vertical;
  line-height: 1.55;
}

.input::placeholder, .textarea::placeholder {
  color: var(--text-4);
}

.input:hover:not(:disabled), .select:hover:not(:disabled), .textarea:hover:not(:disabled) {
  border-color: var(--line-strong);
}

.input:focus, .select:focus, .textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}

.input:disabled, .select:disabled, .textarea:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.input--mono {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.005em;
}

.input--lg {
  height: 52px;
  font-size: var(--t-18);
  font-weight: 600;
}

.input.is-bad, .select.is-bad {
  border-color: var(--err);
}

.input[type="number"]::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.input[type="number"]::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.input[type="number"] {
  appearance: textfield;
}

.select {
  appearance: none;
  color: var(--text);
  cursor: pointer;
  background-image: linear-gradient(45deg, #0000 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, #0000 50%);
  background-position: calc(100% - 17px) calc(50% + 1px), calc(100% - 12px) calc(50% + 1px);
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 34px;
}

.select option {
  background: var(--surface);
  color: var(--text);
}

.affix {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  transition: border-color var(--fast),
    box-shadow var(--fast);
  align-items: center;
  display: flex;
  overflow: hidden;
}

.affix:focus-within {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.affix .input {
  box-shadow: none;
  background: none;
  border: 0;
}

.affix .input:focus {
  box-shadow: none;
}

.affix-tag {
  padding: 0 var(--s-3);
  font-family: var(--font-num);
  font-size: var(--t-12);
  color: var(--text-3);
  background: var(--surface-inset);
  border-left: 1px solid var(--line-soft);
  letter-spacing: .02em;
  flex: none;
  align-self: stretch;
  place-items: center;
  font-weight: 650;
  display: grid;
}

.hint {
  font-size: var(--t-12);
  color: var(--text-3);
  line-height: 1.6;
}

.hint strong {
  color: var(--text-2);
}

.legend {
  align-items: center;
  gap: var(--s-3);
  font-size: var(--t-11);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-top: var(--s-1);
  font-weight: 650;
  display: flex;
}

.legend:after {
  content: "";
  background: var(--line-soft);
  flex: 1;
  height: 1px;
}

.seg {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-inset);
  gap: 3px;
  padding: 3px;
  display: inline-flex;
}

.seg-item {
  padding: 7px var(--s-4);
  font-size: var(--t-13);
  color: var(--text-3);
  white-space: nowrap;
  transition: background var(--fast),
    color var(--fast);
  border-radius: 6px;
  font-weight: 600;
}

.seg-item:hover {
  color: var(--text);
}

.seg-item[aria-pressed="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-1);
}

.seg--block {
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  width: 100%;
  display: grid;
}

.seg--block .seg-item {
  text-align: center;
}

.switch {
  flex: none;
  width: 52px;
  height: 30px;
  display: inline-block;
  position: relative;
}

.switch input {
  opacity: 0;
  cursor: pointer;
  margin: 0;
  position: absolute;
  inset: 0;
}

.switch-track {
  border-radius: var(--r-pill);
  background: var(--surface-3);
  border: 1px solid var(--line);
  transition: background var(--fast),
    border-color var(--fast);
  position: absolute;
  inset: 0;
}

.switch-track:after {
  content: "";
  border-radius: var(--r-pill);
  background: var(--text-3);
  width: 22px;
  height: 22px;
  transition: transform var(--slow),
    background var(--fast);
  position: absolute;
  top: 3px;
  left: 3px;
}

.switch input:checked + .switch-track {
  background: var(--warn-soft);
  border-color: color-mix(in srgb, var(--warn) 45%, transparent);
}

.switch input:checked + .switch-track:after {
  background: var(--warn);
  transform: translateX(22px);
}

.switch input:focus-visible + .switch-track {
  box-shadow: var(--ring);
}

.switch input:disabled + .switch-track {
  opacity: .55;
}

.killswitch {
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  transition: border-color var(--fast),
    background var(--fast);
  display: flex;
}

.killswitch.is-on {
  border-color: color-mix(in srgb, var(--warn) 40%, transparent);
  background: color-mix(in srgb, var(--warn-soft) 45%, var(--surface-2));
}

.killswitch-state {
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.killswitch-word {
  font-family: var(--font-num);
  font-size: var(--t-16);
  letter-spacing: .06em;
  color: var(--text-3);
  font-weight: 700;
}

.killswitch.is-on .killswitch-word {
  color: var(--warn);
}

.btn {
  height: 40px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--text);
  font-size: var(--t-13);
  letter-spacing: .005em;
  white-space: nowrap;
  transition: background var(--fast),
    border-color var(--fast),
    color var(--fast),
    box-shadow var(--fast),
    opacity var(--fast);
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
}

.btn:hover:not(:disabled) {
  background: var(--surface-3);
  border-color: var(--line-strong);
  text-decoration: none;
}

.btn:active:not(:disabled) {
  transform: translateY(.5px);
}

.btn:disabled, .btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
}

.btn--primary {
  background: var(--brand-grad);
  color: #03121c;
  border-color: #0000;
  font-weight: 700;
  box-shadow: 0 4px 14px -6px #0a78f299;
}

.btn--primary:hover:not(:disabled) {
  background: var(--brand-grad);
  filter: brightness(1.07);
  box-shadow: 0 6px 20px -6px #0a78f2b3;
}

.btn--danger {
  color: var(--err);
  border-color: color-mix(in srgb, var(--err) 30%, transparent);
  background: var(--err-soft);
}

.btn--danger:hover:not(:disabled) {
  background: color-mix(in srgb, var(--err) 22%, transparent);
  border-color: var(--err);
  color: var(--err);
}

.btn--solid-danger {
  background: var(--err);
  border-color: var(--err);
  color: #fff;
}

.btn--solid-danger:hover:not(:disabled) {
  background: color-mix(in srgb, var(--err) 86%, #000);
  border-color: color-mix(in srgb, var(--err) 86%, #000);
  color: #fff;
}

.btn--ghost {
  color: var(--text-2);
  background: none;
  border-color: #0000;
}

.btn--ghost:hover:not(:disabled) {
  background: var(--surface-inset);
  border-color: var(--line);
  color: var(--text);
}

.btn--sm {
  height: 34px;
  padding: 0 var(--s-3);
  font-size: var(--t-12);
}

.btn--xs {
  height: 28px;
  font-size: var(--t-11);
  border-radius: var(--r-xs);
  padding: 0 10px;
}

.btn--block {
  width: 100%;
}

.btn--icon {
  width: 40px;
  padding: 0;
}

.btn--sm.btn--icon {
  width: 34px;
}

.btn svg {
  flex: none;
  width: 15px;
  height: 15px;
}

.btn--xs svg {
  width: 13px;
  height: 13px;
}

.btns {
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
  display: flex;
}

.btns--end {
  justify-content: flex-end;
}

.tbl-wrap {
  overscroll-behavior-x: contain;
  width: 100%;
  overflow-x: auto;
}

.tbl {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: var(--t-13);
}

.tbl thead th {
  z-index: 1;
  padding: 11px var(--s-4);
  text-align: left;
  font-size: var(--t-11);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-4);
  white-space: nowrap;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-weight: 650;
  position: sticky;
  top: 0;
}

.tbl thead th.num {
  text-align: right;
}

.tbl thead th:first-child {
  padding-left: var(--s-5);
}

.tbl thead th:last-child {
  padding-right: var(--s-5);
  text-align: right;
}

.tbl tbody td {
  padding: 12px var(--s-4);
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-2);
  vertical-align: middle;
}

.tbl tbody td:first-child {
  padding-left: var(--s-5);
}

.tbl tbody td:last-child {
  padding-right: var(--s-5);
}

.tbl tbody td.num {
  text-align: right;
  white-space: nowrap;
}

.tbl tbody tr:last-child td {
  border-bottom: 0;
}

.tbl tbody tr {
  transition: background var(--fast);
}

.tbl tbody tr:hover td {
  background: var(--surface-inset);
}

.tbl-id {
  font-family: var(--font-num);
  font-size: var(--t-12);
  color: var(--text-4);
  font-weight: 600;
}

.tbl-actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  display: flex;
}

.cell-2 {
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  display: flex;
}

.cell-2 > :last-child {
  font-size: var(--t-11);
  color: var(--text-4);
}

.modal-scrim {
  z-index: 90;
  padding: var(--s-5);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
  backdrop-filter: blur(6px) saturate(1.1);
  animation: scrim-in .16s var(--ease);
  background: #02060c9e;
  place-items: center;
  display: grid;
  position: fixed;
  inset: 0;
  overflow-y: auto;
}

@keyframes scrim-in {
  from {
    opacity: 0;
  }
}

.modal {
  width: min(100%, 560px);
  max-height: calc(100dvh - var(--s-10));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-3);
  animation: modal-in .2s var(--ease);
  flex-direction: column;
  display: flex;
  overflow: hidden;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px)scale(.985);
  }
}

.modal--sm {
  width: min(100%, 440px);
}

.modal--lg {
  width: min(100%, 780px);
}

.modal-head {
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-5) var(--s-4);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
}

.modal-headings {
  flex-direction: column;
  flex: 1;
  gap: 3px;
  min-width: 0;
  display: flex;
}

.modal-title {
  font-size: var(--t-16);
  letter-spacing: -.012em;
  font-weight: 650;
}

.modal-sub {
  font-size: var(--t-12);
  color: var(--text-3);
}

.modal-close {
  border-radius: var(--r-xs);
  width: 32px;
  height: 32px;
  color: var(--text-3);
  transition: background var(--fast),
    color var(--fast),
    border-color var(--fast);
  border: 1px solid #0000;
  flex: none;
  place-items: center;
  display: grid;
}

.modal-close:hover {
  background: var(--surface-inset);
  border-color: var(--line);
  color: var(--text);
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.modal-body {
  padding: var(--s-5);
  min-height: 0;
  overflow-y: auto;
}

.modal-foot {
  justify-content: flex-end;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid var(--line-soft);
  background: var(--surface-2);
  flex-wrap: wrap;
  display: flex;
}

.modal-foot--split {
  justify-content: space-between;
}

.modal-mark {
  border-radius: var(--r-md);
  background: var(--info-soft);
  width: 40px;
  height: 40px;
  color: var(--info);
  flex: none;
  place-items: center;
  display: grid;
}

.modal-mark svg {
  width: 21px;
  height: 21px;
}

.modal-mark--danger {
  background: var(--err-soft);
  color: var(--err);
}

.modal-mark--warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.toasts {
  right: var(--s-5);
  bottom: var(--s-5);
  z-index: 100;
  gap: var(--s-2);
  width: min(400px, calc(100vw - var(--s-8)));
  pointer-events: none;
  flex-direction: column;
  display: flex;
  position: fixed;
}

.toast {
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-3) var(--s-3) var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-3);
  font-size: var(--t-13);
  color: var(--text);
  pointer-events: auto;
  animation: toast-in .22s var(--ease);
  border-left-width: 3px;
  line-height: 1.5;
  display: flex;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
}

.toast.is-leaving {
  animation: toast-out .16s var(--ease) forwards;
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateX(16px);
  }
}

.toast-ic {
  border-radius: var(--r-pill);
  width: 20px;
  height: 20px;
  font-size: var(--t-11);
  flex: none;
  place-items: center;
  margin-top: 1px;
  font-weight: 700;
  display: grid;
}

.toast-ic svg {
  width: 13px;
  height: 13px;
}

.toast > span:nth-child(2) {
  word-break: break-word;
  flex: 1;
  min-width: 0;
}

.toast-close {
  border-radius: var(--r-xs);
  width: 24px;
  height: 24px;
  color: var(--text-4);
  font-size: var(--t-14);
  transition: background var(--fast),
    color var(--fast);
  flex: none;
  place-items: center;
  line-height: 1;
  display: grid;
}

.toast-close:hover {
  background: var(--surface-inset);
  color: var(--text);
}

.toast--ok {
  border-left-color: var(--ok);
}

.toast--ok .toast-ic {
  background: var(--ok-soft);
  color: var(--ok);
}

.toast--err {
  border-left-color: var(--err);
}

.toast--err .toast-ic {
  background: var(--err-soft);
  color: var(--err);
}

.toast--warn {
  border-left-color: var(--warn);
}

.toast--warn .toast-ic {
  background: var(--warn-soft);
  color: var(--warn);
}

.toast--info {
  border-left-color: var(--info);
}

.toast--info .toast-ic {
  background: var(--info-soft);
  color: var(--info);
}

.auth {
  background: var(--bg);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  min-height: 100dvh;
  display: grid;
}

.auth-side {
  gap: var(--s-8);
  padding: var(--s-10) clamp(var(--s-6), 5vw, 72px);
  background: var(--surface);
  border-right: 1px solid var(--line);
  background-image: var(--stage-wash);
  background-repeat: no-repeat;
  flex-direction: column;
  justify-content: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

.auth-lede {
  gap: var(--s-4);
  flex-direction: column;
  max-width: 30ch;
  display: flex;
}

.auth-lede h1 {
  font-size: clamp(var(--t-22), 3vw, 34px);
  letter-spacing: -.03em;
  font-weight: 700;
  line-height: 1.18;
}

.auth-lede p {
  font-size: var(--t-14);
  color: var(--text-2);
  max-width: 46ch;
  line-height: 1.65;
}

.auth-facts {
  gap: var(--s-3);
  max-width: 52ch;
  display: grid;
}

.auth-fact {
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line-soft);
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: baseline;
  display: grid;
}

.auth-fact b {
  font-size: var(--t-11);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-4);
  font-weight: 650;
}

.auth-fact span {
  font-size: var(--t-13);
  color: var(--text-2);
  line-height: 1.55;
}

.auth-main {
  padding: var(--s-8) var(--s-6);
  place-items: center;
  display: grid;
  position: relative;
}

.auth-card {
  gap: var(--s-5);
  width: min(100%, 400px);
  padding: var(--s-8) clamp(var(--s-5), 4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
  flex-direction: column;
  display: flex;
}

.auth-head {
  flex-direction: column;
  gap: 5px;
  display: flex;
}

.auth-head h2 {
  font-size: var(--t-22);
  letter-spacing: -.022em;
}

.auth-foot {
  justify-content: center;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--t-11);
  color: var(--text-4);
  display: flex;
}

.auth-theme {
  top: var(--s-5);
  right: var(--s-5);
  z-index: 5;
  position: absolute;
}

.depth {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.depth-row {
  align-items: center;
  gap: var(--s-3);
  padding: 5px var(--s-2);
  border-radius: var(--r-xs);
  font-family: var(--font-num);
  font-size: var(--t-12);
  font-variant-numeric: tabular-nums;
  grid-template-columns: minmax(0, 1fr) auto;
  display: grid;
  position: relative;
  overflow: hidden;
}

.depth-bar {
  inset-block: 0;
  border-radius: var(--r-xs);
  opacity: .16;
  transition: width var(--slow);
  position: absolute;
  right: 0;
}

.depth-row--ask .depth-bar {
  background: var(--err);
}

.depth-row--bid .depth-bar {
  background: var(--ok);
}

.depth-price {
  font-weight: 600;
  position: relative;
}

.depth-row--ask .depth-price {
  color: var(--err);
}

.depth-row--bid .depth-price {
  color: var(--ok);
}

.depth-qty {
  color: var(--text-3);
  text-align: right;
  position: relative;
}

.depth-mid {
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  margin: var(--s-2) 0;
  padding: 7px var(--s-2);
  border-block: 1px dashed var(--line);
  font-size: var(--t-11);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-4);
  display: flex;
}

.depth-mid > :last-child {
  font-family: var(--font-num);
  font-size: var(--t-12);
  color: var(--text-2);
  text-transform: none;
  letter-spacing: 0;
}

.notif {
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--line-soft);
  transition: background var(--fast);
  grid-template-columns: 10px minmax(0, 1fr);
  display: grid;
}

.notif:last-child {
  border-bottom: 0;
}

.notif:hover {
  background: var(--surface-inset);
}

.notif.is-unread {
  background: color-mix(in srgb, var(--accent-soft) 30%, transparent);
}

.notif-dot {
  border-radius: var(--r-pill);
  background: var(--line-strong);
  width: 8px;
  height: 8px;
  margin-top: 7px;
}

.notif--info .notif-dot {
  background: var(--info);
}

.notif--success .notif-dot {
  background: var(--ok);
}

.notif--warn .notif-dot {
  background: var(--warn);
}

.notif--error .notif-dot {
  background: var(--err);
}

.notif:not(.is-unread) .notif-dot {
  opacity: .35;
}

.notif-body {
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  display: flex;
}

.notif-title {
  font-size: var(--t-13);
  color: var(--text);
  font-weight: 650;
}

.notif-text {
  font-size: var(--t-13);
  color: var(--text-2);
  word-break: break-word;
  line-height: 1.55;
}

.swap {
  gap: var(--s-2);
  display: grid;
  position: relative;
}

.swap-arrow {
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  width: 30px;
  height: 30px;
  color: var(--text-3);
  z-index: 1;
  place-items: center;
  margin: -6px auto;
  display: grid;
}

.swap-arrow svg {
  width: 15px;
  height: 15px;
}

.swap-leg {
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  transition: border-color var(--fast),
    box-shadow var(--fast);
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.swap-leg:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.swap-leg.is-source {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.swap-top {
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  display: flex;
}

.swap-label {
  font-size: var(--t-11);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-4);
  font-weight: 650;
}

.swap-row {
  align-items: center;
  gap: var(--s-3);
  display: flex;
}

.swap-input {
  min-width: 0;
  height: 38px;
  color: var(--text);
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: var(--t-22);
  letter-spacing: -.02em;
  background: none;
  border: 0;
  flex: 1;
  font-weight: 650;
}

.swap-input:focus {
  box-shadow: none;
  outline: none;
}

.swap-input::placeholder {
  color: var(--text-4);
  font-weight: 500;
}

.swap-input:disabled {
  opacity: .55;
}

.swap-input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.swap-input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.swap-unit {
  font-family: var(--font-num);
  font-size: var(--t-13);
  color: var(--text-3);
  letter-spacing: .03em;
  flex: none;
  font-weight: 650;
}

.swap-foot {
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--t-11);
  color: var(--text-4);
  min-height: 16px;
  display: flex;
}

.swap-rate {
  font-size: var(--t-12);
  color: var(--text-3);
  padding: var(--s-2) var(--s-3);
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-inset);
  align-items: center;
  gap: 6px;
  display: flex;
}

.swap-rate b {
  font-family: var(--font-num);
  color: var(--text);
  font-weight: 650;
}

.quick {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.quick button {
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--surface-inset);
  height: 28px;
  color: var(--text-3);
  font-family: var(--font-num);
  font-size: var(--t-11);
  transition: background var(--fast),
    color var(--fast),
    border-color var(--fast);
  padding: 0 10px;
  font-weight: 600;
}

.quick button:hover:not(:disabled) {
  background: var(--surface-3);
  border-color: var(--line-strong);
  color: var(--text);
}

.quick button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.skeleton {
  border-radius: var(--r-xs);
  background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2));
  background-size: 200% 100%;
  animation: 1.4s linear infinite shimmer;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

@media (max-width: 1280px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--3 > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1120px) {
  .grid--wide-left, .grid--wide-right {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --rail-w: 0px;
  }

  .shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .rail {
    width: 280px;
    transition: transform var(--slow);
    box-shadow: var(--shadow-3);
    position: fixed;
    inset: 0 auto 0 0;
    transform: translateX(-100%);
  }

  .rail.is-open {
    transform: none;
  }

  .rail-scrim {
    display: block;
  }

  .drawer-btn {
    display: grid;
  }

  .tape {
    gap: var(--s-4);
    padding: 0 var(--s-4);
  }

  .spread, .spark {
    display: none;
  }

  .topbar {
    padding: var(--s-3) var(--s-4);
  }

  .content {
    padding: var(--s-4);
    gap: var(--s-4);
  }

  .auth {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth-side {
    display: none;
  }

  .auth-main {
    padding: var(--s-6) var(--s-4);
  }
}

@media (max-width: 720px) {
  .grid--2, .grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid--3 > :first-child {
    grid-column: auto;
  }

  .field-row, .field-row--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .card--row {
    flex-direction: column;
  }

  .card-side {
    flex-flow: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-left: 0;
  }

  .panel-head {
    gap: var(--s-3);
    flex-wrap: wrap;
  }

  .panel-tools {
    justify-content: flex-start;
    width: 100%;
  }

  .topbar-sub {
    display: none;
  }

  .auth-fact {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .toasts {
    right: var(--s-3);
    left: var(--s-3);
    bottom: var(--s-3);
    width: auto;
  }

  .modal-scrim {
    padding: var(--s-3);
    align-items: flex-end;
  }

  .modal {
    max-height: calc(100dvh - var(--s-6));
  }

  .modal-foot {
    flex-direction: column-reverse;
  }

  .modal-foot .btn {
    width: 100%;
  }
}

@media print {
  .rail, .tape, .topbar, .toasts, .modal-scrim {
    display: none !important;
  }

  .shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel {
    break-inside: avoid;
    box-shadow: none;
  }
}

