/* [next]/internal/font/google/inter_b785138.module.css [app-client] (css) */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../media/2c55a0e60120577a-s.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: 300;
  font-display: swap;
  src: url("../media/9c72aa0f40e4eef8-s.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: 300;
  font-display: swap;
  src: url("../media/ad66f9afd8947f86-s.3lvt2whj97whp.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../media/5476f68d60460930-s.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: 300;
  font-display: swap;
  src: url("../media/2bbe8d2671613f1f-s.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: 300;
  font-display: swap;
  src: url("../media/1bffadaabf893a1e-s.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: 300;
  font-display: swap;
  src: url("../media/83afe278b6a6bb3c-s.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: 400;
  font-display: swap;
  src: url("../media/2c55a0e60120577a-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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: 800;
  font-display: swap;
  src: url("../media/2c55a0e60120577a-s.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: 800;
  font-display: swap;
  src: url("../media/9c72aa0f40e4eef8-s.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: 800;
  font-display: swap;
  src: url("../media/ad66f9afd8947f86-s.3lvt2whj97whp.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../media/5476f68d60460930-s.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: 800;
  font-display: swap;
  src: url("../media/2bbe8d2671613f1f-s.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: 800;
  font-display: swap;
  src: url("../media/1bffadaabf893a1e-s.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: 800;
  font-display: swap;
  src: url("../media/83afe278b6a6bb3c-s.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 Fallback;
  src: local(Arial);
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0.0%;
  size-adjust: 107.12%;
}

.inter_b785138-module__Hrlnpq__className {
  font-family: Inter, Inter Fallback;
  font-style: normal;
}

.inter_b785138-module__Hrlnpq__variable {
  --font-inter: "Inter", "Inter Fallback";
}

/* [next]/internal/font/google/jetbrains_mono_ddb947db.module.css [app-client] (css) */
@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/04c5164763c40239-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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-s.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 Fallback;
  src: local(Arial);
  ascent-override: 75.79%;
  descent-override: 22.29%;
  line-gap-override: 0.0%;
  size-adjust: 134.59%;
}

.jetbrains_mono_ddb947db-module__lwViEW__className {
  font-family: JetBrains Mono, JetBrains Mono Fallback;
  font-style: normal;
}

.jetbrains_mono_ddb947db-module__lwViEW__variable {
  --font-jetbrains-mono: "JetBrains Mono", "JetBrains Mono Fallback";
}

/* [project]/src/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: .25rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --radius-sm: .25rem;
    --radius-md: .375rem;
    --radius-lg: .5rem;
    --radius-xl: .75rem;
    --shadow-sm: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
    --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
    --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
    --shadow-xl: 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;
    --animate-spin: spin 1s linear infinite;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .collapse {
    visibility: collapse;
  }

  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .inline-block {
    display: inline-block;
  }

  .inline-flex {
    display: inline-flex;
  }

  .table {
    display: table;
  }

  .h-full {
    height: 100%;
  }

  .min-h-full {
    min-height: 100%;
  }

  .w-full {
    width: 100%;
  }

  .min-w-0 {
    min-width: 0;
  }

  .flex-1 {
    flex: 1;
  }

  .flex-shrink {
    flex-shrink: 1;
  }

  .grow {
    flex-grow: 1;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .animate-spin {
    animation: var(--animate-spin);
  }

  .cursor-pointer {
    cursor: pointer;
  }

  .flex-col {
    flex-direction: column;
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .items-center {
    align-items: center;
  }

  .items-end {
    align-items: flex-end;
  }

  .items-start {
    align-items: flex-start;
  }

  .justify-between {
    justify-content: space-between;
  }

  .justify-center {
    justify-content: center;
  }

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

  .gap-1 {
    gap: var(--spacing);
  }

  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }

  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }

  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }

  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }

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

  .rounded {
    border-radius: .25rem;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }

  .text-center {
    text-align: center;
  }

  .text-right {
    text-align: right;
  }

  .font-mono {
    font-family: var(--font-mono);
  }

  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }

  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }

  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }

  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }

  .text-wrap {
    text-wrap: wrap;
  }

  .capitalize {
    text-transform: capitalize;
  }

  .uppercase {
    text-transform: uppercase;
  }

  .tabular-nums {
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .line-through {
    text-decoration-line: line-through;
  }

  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}

:root {
  --accent: #7c3aed;
  --accent-secondary: #fb923c;
  --accent-dim: #6d28d9;
  --accent-glow: #7c3aed26;
  --accent-muted: #7c3aed14;
  --rail-tint: #7c3aed29;
  --bg-void: #1b1d21;
  --bg-base: #212327;
  --bg-surface: #282b30;
  --bg-elevated: #303339;
  --bg-overlay: #383c43;
  --bg-hover: #42464e;
  --bg-active: #4d515a;
  --border-subtle: #ffffff0f;
  --border-default: #ffffff1a;
  --border-strong: #ffffff2e;
  --border-accent: #7c3aed59;
  --text-primary: #f2f3f5;
  --text-secondary: #b0b5bd;
  --text-muted: #8b9099;
  --text-disabled: #565b63;
  --text-accent: #7c3aed;
  --text-inverse: #16181b;
  --critical: #ef4444;
  --critical-bg: #ef44441f;
  --critical-border: #ef44444d;
  --high: #f97316;
  --high-bg: #f973161f;
  --high-border: #f973164d;
  --medium: #eab308;
  --medium-bg: #eab3081f;
  --medium-border: #eab3084d;
  --low: #3b82f6;
  --low-bg: #3b82f61f;
  --low-border: #3b82f64d;
  --info: #8b5cf6;
  --info-bg: #8b5cf61f;
  --success: #22c55e;
  --success-bg: #22c55e1f;
  --success-border: #22c55e4d;
  --warning: #f59e0b;
  --warning-bg: #f59e0b1f;
  --danger: #ef4444;
  --danger-bg: #ef44441f;
  --danger-border: #ef44444d;
  --status-open: #22c55e;
  --status-progress: #3b82f6;
  --status-pending: #f59e0b;
  --status-closed: #6b7280;
  --status-queue: #8b5cf6;
  --font-sans: var(--font-inter), -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: var(--font-jetbrains-mono), "Fira Code", monospace;
  --text-xs: .688rem;
  --text-sm: .75rem;
  --text-base: .813rem;
  --text-md: .875rem;
  --text-lg: 1rem;
  --text-xl: 1.125rem;
  --text-2xl: 1.375rem;
  --text-3xl: 1.75rem;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px #0006;
  --shadow-md: 0 4px 16px #00000080;
  --shadow-lg: 0 8px 32px #0009;
  --shadow-xl: 0 16px 64px #000000b3;
  --shadow-accent: 0 0 20px #7c3aed33;
  --shadow-glow: 0 0 40px #7c3aed26, 0 0 80px #7c3aed0d;
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 500;
  --z-overlay: 800;
  --z-toast: 1000;
  --z-tooltip: 1100;
  --font-scale: 1;
  --sidebar-width: 13.75rem;
  --sidebar-collapsed: 3.5rem;
  --header-height: 3.25rem;
  --rail-width: 21.25rem;
  --page-gutter: var(--space-5);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

:root[data-theme="light"] {
  --bg-void: #f1f5f9;
  --bg-base: #f8fafc;
  --bg-surface: #fff;
  --bg-elevated: #f1f5f9;
  --bg-overlay: #e2e8f0;
  --bg-hover: #cbd5e1;
  --bg-active: #94a3b8;
  --border-subtle: #0000000f;
  --border-default: #0000001f;
  --border-strong: #0003;
  --border-accent: #7c3aed80;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-disabled: #94a3b8;
  --text-inverse: #fff;
  --shadow-sm: 0 1px 2px 0 #0000000d;
  --shadow-md: 0 4px 6px -1px #0000001a;
  --shadow-lg: 0 10px 15px -3px #0000001a;
  --shadow-xl: 0 20px 25px -5px #0000001a;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg-void: #f1f5f9;
    --bg-base: #f8fafc;
    --bg-surface: #fff;
    --bg-elevated: #f1f5f9;
    --bg-overlay: #e2e8f0;
    --bg-hover: #cbd5e1;
    --bg-active: #94a3b8;
    --border-subtle: #0000000f;
    --border-default: #0000001f;
    --border-strong: #0003;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-disabled: #94a3b8;
    --text-inverse: #fff;
  }
}

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

html {
  font-size: calc(16px * var(--font-scale, 1));
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  transition: background-color .3s, color .3s;
  overflow-x: hidden;
}

#root, #__next {
  min-height: 100vh;
}

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

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: var(--bg-overlay);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-strong);
}

h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.4;
}

h4 {
  font-size: var(--text-lg);
  font-weight: 600;
}

h5 {
  font-size: var(--text-md);
  font-weight: 600;
}

h6 {
  font-size: var(--text-base);
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code, kbd {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  padding: 2px 6px;
}

.btn {
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  border: 1px solid #0000;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: all .15s;
  display: inline-flex;
}

.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dim);
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-overlay);
  color: var(--text-primary);
  border-color: var(--border-default);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
}

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

.btn-ghost:hover {
  background: var(--bg-overlay);
  color: var(--text-primary);
}

.btn-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: var(--danger-border);
}

.btn-danger:hover {
  background: var(--danger);
  color: #fff;
}

.btn-success {
  background: var(--success-bg);
  color: var(--success);
  border-color: var(--success-border);
}

.btn-success:hover {
  background: var(--success);
  color: #fff;
}

.btn-warning {
  background: var(--warning-bg);
  color: var(--warning);
  border-color: var(--high-border);
}

.btn-warning:hover {
  background: var(--warning);
  color: #fff;
}

.btn-sm {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-md);
  border-radius: var(--radius-lg);
}

.btn-icon {
  padding: var(--space-2);
  justify-content: center;
  width: 32px;
  height: 32px;
}

.btn-icon-sm {
  padding: var(--space-1);
  justify-content: center;
  width: 24px;
  height: 24px;
}

.form-group {
  gap: var(--space-1);
  flex-direction: column;
  display: flex;
}

.form-label {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  outline: none;
  line-height: 1.5;
  transition: border-color .15s, box-shadow .15s;
}

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

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b0b5bd' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 10px center;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.form-select option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-error {
  font-size: var(--text-xs);
  color: var(--danger);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.card-elevated {
  background: var(--bg-elevated);
  border-color: var(--border-default);
  box-shadow: var(--shadow-md);
}

.card-header {
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
}

.card-title {
  font-size: var(--text-sm);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}

.badge {
  font-size: var(--text-xs);
  border-radius: var(--radius-full);
  white-space: nowrap;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-weight: 600;
  display: inline-flex;
}

.badge-critical {
  background: var(--critical-bg);
  color: var(--critical);
  border: 1px solid var(--critical-border);
}

.badge-high {
  background: var(--high-bg);
  color: var(--high);
  border: 1px solid var(--high-border);
}

.badge-medium {
  background: var(--medium-bg);
  color: var(--medium);
  border: 1px solid var(--medium-border);
}

.badge-low {
  background: var(--low-bg);
  color: var(--low);
  border: 1px solid var(--low-border);
}

.badge-info {
  background: var(--info-bg);
  color: var(--info);
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success-border);
}

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning);
}

.badge-muted {
  background: var(--bg-overlay);
  color: var(--text-secondary);
}

.badge-accent {
  background: var(--accent-muted);
  color: var(--accent);
  border: 1px solid var(--border-accent);
}

.priority-dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}

.priority-dot.critical {
  background: var(--critical);
  box-shadow: 0 0 6px var(--critical);
}

.priority-dot.high {
  background: var(--high);
}

.priority-dot.medium {
  background: var(--medium);
}

.priority-dot.low {
  background: var(--low);
}

.status-badge {
  font-size: var(--text-xs);
  border-radius: var(--radius-full);
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  font-weight: 600;
  display: inline-flex;
}

.status-badge:before {
  content: "";
  background: currentColor;
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.status-open {
  color: var(--status-open);
  background: #22c55e1a;
}

.status-progress {
  color: var(--status-progress);
  background: #3b82f61a;
}

.status-pending {
  color: var(--status-pending);
  background: #f59e0b1a;
}

.status-closed {
  color: var(--status-closed);
  background: #6b72801a;
}

.status-queue {
  color: var(--status-queue);
  background: #8b5cf61a;
}

.table-container {
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  max-width: 100%;
  overflow-x: auto;
}

.table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--text-sm);
}

.table th {
  padding: var(--space-2) var(--space-4);
  text-align: left;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
  font-weight: 700;
}

.record-link {
  color: var(--text-primary);
  align-items: center;
  gap: 4px;
  text-decoration: none;
  display: inline-flex;
}

.record-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.record-link svg {
  opacity: .4;
  flex-shrink: 0;
}

.record-link:hover svg {
  opacity: 1;
}

.card-highlight {
  box-shadow: 0 0 0 3px var(--accent-glow);
  border-color: var(--accent) !important;
}

.th-sort {
  font: inherit;
  color: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 4px;
  padding: 0;
  display: inline-flex;
}

.th-sort:hover {
  color: var(--text-primary);
}

.th-sort svg {
  opacity: .25;
  flex-shrink: 0;
  transition: opacity .15s;
}

.th-sort:hover svg {
  opacity: .6;
}

.th-sort-active {
  color: var(--text-primary);
}

.th-sort-active svg {
  opacity: 1;
  color: var(--accent);
}

.table td {
  padding: var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  vertical-align: middle;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tbody tr {
  transition: background .1s;
}

.table tbody tr.clickable:hover {
  background: var(--bg-elevated);
  cursor: pointer;
}

.toggle {
  flex-shrink: 0;
  width: 36px;
  height: 20px;
  display: inline-block;
  position: relative;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  background: var(--bg-overlay);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all .2s;
  position: absolute;
  inset: 0;
}

.toggle-slider:before {
  content: "";
  background: var(--text-muted);
  border-radius: 50%;
  width: 14px;
  height: 14px;
  transition: all .2s;
  position: absolute;
  top: 2px;
  left: 2px;
}

.toggle input:checked + .toggle-slider {
  background: var(--accent);
  border-color: var(--accent);
}

.toggle input:checked + .toggle-slider:before {
  background: #fff;
  transform: translateX(16px);
}

.checkbox {
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  display: flex;
}

.checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.checkbox-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: var(--space-4) 0;
}

.tabs {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  gap: 2px;
  max-width: 100%;
  padding: 3px;
  display: flex;
  overflow-x: auto;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-radius: calc(var(--radius-md) - 2px);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  flex-shrink: 0;
  font-weight: 500;
  transition: all .15s;
}

.tab:hover {
  color: var(--text-primary);
  background: var(--bg-overlay);
}

.tab.active {
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 600;
}

.section-header {
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
  display: flex;
}

.section-title {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  display: flex;
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-overlay) 50%, var(--bg-elevated) 75%);
  border-radius: var(--radius-sm);
  background-size: 200% 100%;
  animation: 1.5s infinite skeleton-shimmer;
}

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

  100% {
    background-position: -200% 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 8px #ef44444d;
  }

  50% {
    box-shadow: 0 0 20px #ef4444cc;
  }
}

.animate-fade-in {
  animation: .2s fadeIn;
}

.animate-fade-in-up {
  animation: .25s fadeInUp;
}

.animate-slide-in-right {
  animation: .3s cubic-bezier(.34, 1.56, .64, 1) slideInRight;
}

.animate-slide-in-up {
  animation: .3s cubic-bezier(.34, 1.56, .64, 1) slideInUp;
}

.overlay-backdrop {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  padding: var(--space-4);
  overscroll-behavior: contain;
  background: #0c0d0fcc;
  justify-content: center;
  align-items: center;
  animation: .2s fadeIn;
  display: flex;
  position: fixed;
  inset: 0;
  overflow-y: auto;
}

.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 520px;
  max-height: calc(100dvh - var(--space-8));
  overscroll-behavior: contain;
  animation: .25s fadeInUp;
  overflow-y: auto;
}

.todo-rail {
  width: var(--rail-width);
  background: var(--rail-tint);
  border-left: 1px solid var(--border-accent);
  max-width: 40vw;
  height: 100%;
  z-index: var(--z-sticky);
  flex-direction: column;
  flex-shrink: 0;
  transition: width .2s;
  display: flex;
  overflow: hidden;
}

.todo-rail.collapsed {
  width: 48px;
}

.todo-rail-header {
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-accent);
  min-height: var(--header-height);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.todo-rail.collapsed .todo-rail-header {
  gap: var(--space-3);
  padding: var(--space-4) 0;
  flex-direction: column-reverse;
}

.todo-rail-body {
  padding: var(--space-4);
  overflow-wrap: anywhere;
  flex: 1;
  overflow-y: auto;
}

.todo-rail-body .checkbox, .todo-rail-body .checkbox > span {
  min-width: 0;
}

.todo-rail.collapsed .todo-rail-body {
  display: none;
}

.modal-header {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.modal-body {
  padding: var(--space-5) var(--space-6);
}

.modal-footer {
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border-subtle);
  display: flex;
}

[data-tooltip] {
  position: relative;
}

[data-tooltip]:after {
  content: attr(data-tooltip);
  background: var(--bg-void);
  color: var(--text-primary);
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  border: 1px solid var(--border-default);
  opacity: 0;
  pointer-events: none;
  z-index: var(--z-tooltip);
  padding: 4px 8px;
  font-weight: 500;
  transition: opacity .15s;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
}

[data-tooltip]:hover:after {
  opacity: 1;
}

.toast-container {
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  gap: var(--space-2);
  pointer-events: none;
  flex-direction: column;
  display: flex;
  position: fixed;
}

.toast {
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  pointer-events: all;
  min-width: 240px;
  max-width: 360px;
  font-weight: 500;
  animation: .3s slideInRight;
  display: flex;
}

.toast-success {
  border-left: 3px solid var(--success);
}

.toast-error {
  border-left: 3px solid var(--danger);
}

.toast-warning {
  border-left: 3px solid var(--warning);
}

.toast-info {
  border-left: 3px solid var(--accent);
}

.app-shell {
  height: 100dvh;
  display: flex;
  overflow: hidden;
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  height: 100%;
  z-index: var(--z-sticky);
  flex-direction: column;
  flex-shrink: 0;
  transition: width .2s;
  display: flex;
  overflow: hidden;
}

.sidebar.collapsed {
  width: var(--sidebar-collapsed);
}

.sidebar-brand {
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  height: var(--header-height);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
  display: flex;
}

.sidebar-logo {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-radius: var(--radius-md);
  color: #fff;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
}

.sidebar-brand-name {
  font-size: var(--text-md);
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.2;
}

.sidebar-brand-tag {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.sidebar-nav {
  padding: var(--space-3) var(--space-2);
  flex-direction: column;
  flex: 1;
  gap: 2px;
  display: flex;
  overflow: hidden auto;
}

.sidebar-section-label {
  color: var(--text-disabled);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: var(--space-3) var(--space-2) var(--space-1);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  overflow: hidden;
}

.nav-item {
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s;
  display: flex;
  position: relative;
}

.nav-item:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.nav-item.active {
  background: var(--accent-muted);
  color: var(--accent);
  border: 1px solid var(--border-accent);
}

.nav-item .nav-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.nav-item .nav-badge {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-full);
  margin-left: auto;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.sidebar-footer {
  padding: var(--space-3) var(--space-2);
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.header {
  height: var(--header-height);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 var(--space-5);
  padding-left: calc(var(--space-5) + var(--safe-left));
  padding-right: calc(var(--space-5) + var(--safe-right));
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
  display: flex;
  position: relative;
}

.header-left {
  align-items: center;
  gap: var(--space-3);
  flex: 1;
  min-width: 0;
  display: flex;
}

.header-right {
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  display: flex;
}

.header-title {
  font-size: var(--text-md);
  color: var(--text-primary);
  white-space: nowrap;
  font-weight: 600;
}

.main-content {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
  overflow: hidden;
}

.page-content {
  -webkit-overflow-scrolling: touch;
  padding: var(--page-gutter);
  padding-left: calc(var(--page-gutter) + var(--safe-left));
  padding-right: calc(var(--page-gutter) + var(--safe-right));
  padding-bottom: calc(var(--page-gutter) + var(--safe-bottom));
  flex: 1;
  overflow-y: auto;
}

.login-page {
  background: var(--bg-void);
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
}

.login-bg {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-glow) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, #fb923c14 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 20% 70%, #8b5cf60f 0%, transparent 50%);
  position: absolute;
  inset: 0;
}

.login-grid {
  background-image: linear-gradient(#7c3aed08 1px, #0000 1px), linear-gradient(90deg, #7c3aed08 1px, #0000 1px);
  background-size: 40px 40px;
  position: absolute;
  inset: 0;
}

.login-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 420px;
  padding: var(--space-8);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  animation: .4s fadeInUp;
  position: relative;
}

.login-logo {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-radius: var(--radius-lg);
  color: #fff;
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-5);
  box-shadow: var(--shadow-accent);
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 900;
  display: flex;
}

.login-title {
  font-size: var(--text-2xl);
  text-align: center;
  margin-bottom: var(--space-1);
  font-weight: 800;
}

.login-subtitle {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: var(--space-6);
}

.sso-btn {
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-sm);
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: all .15s;
  display: flex;
}

.sso-btn:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.sso-divider {
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: var(--space-4) 0;
  display: flex;
}

.sso-divider:before, .sso-divider:after {
  content: "";
  background: var(--border-subtle);
  flex: 1;
  height: 1px;
}

.dashboard-grid {
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  grid-template-columns: repeat(4, 1fr);
  display: grid;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  align-items: flex-start;
  gap: var(--space-4);
  transition: all .2s;
  display: flex;
  position: relative;
  overflow: hidden;
}

.stat-card:before {
  content: "";
  height: 2px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.stat-card.critical:before {
  background: var(--critical);
}

.stat-card.warning:before {
  background: var(--high);
}

.stat-card.info:before {
  background: var(--accent);
}

.stat-card.success:before {
  background: var(--success);
}

.stat-card:hover {
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-icon {
  border-radius: var(--radius-md);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  display: flex;
}

.stat-number {
  font-size: var(--text-3xl);
  margin-bottom: 4px;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-delta {
  font-size: var(--text-xs);
  margin-top: 4px;
  font-weight: 600;
}

.avatar {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  width: 32px;
  height: 32px;
  font-size: var(--text-xs);
  color: #fff;
  border: 2px solid var(--bg-surface);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  display: flex;
}

.avatar-sm {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

.avatar-lg {
  width: 48px;
  height: 48px;
  font-size: var(--text-md);
}

.breath-pulse {
  animation: 1s infinite alternate glow-pulse;
}

.badge-critical-dark {
  font-size: var(--text-xs);
  border-radius: var(--radius-full);
  white-space: nowrap;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-weight: 600;
  animation: 2s infinite glow-pulse;
  display: inline-flex;
  color: #fca5a5 !important;
  background: #2e0808 !important;
  border: 1px solid #ef444480 !important;
}

.tier-badge {
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .06em;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  font-weight: 700;
  display: inline-flex;
}

.tier-platinum {
  color: #1a1a1a;
  background: linear-gradient(135deg, #e5e4e2, silver);
}

.tier-gold {
  color: #1a1a1a;
  background: linear-gradient(135deg, gold, orange);
}

.tier-silver {
  color: #1a1a1a;
  background: linear-gradient(135deg, silver, #a0a0a0);
}

.tier-standard {
  background: var(--bg-overlay);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}

.search-bar {
  position: relative;
}

.search-bar-icon {
  color: var(--text-muted);
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.search-bar input {
  padding-left: 32px;
}

.font-size-controls {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  flex-shrink: 0;
  align-items: center;
  gap: 2px;
  padding: 2px;
  display: flex;
}

.font-size-readout {
  min-width: 3.25em;
  padding: 0 var(--space-1);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  cursor: pointer;
  text-align: center;
  background: none;
  border: none;
  font-weight: 600;
  transition: color .15s, background .15s;
}

.font-size-readout:hover:not(:disabled) {
  color: var(--text-primary);
  background: var(--bg-overlay);
}

.font-size-readout:disabled {
  cursor: default;
  color: var(--text-muted);
}

.session-timer {
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  display: flex;
}

.alert-strip {
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  border: 1px solid;
  font-weight: 600;
  display: flex;
}

.alert-strip.critical {
  background: var(--critical-bg);
  color: var(--critical);
  border-color: var(--critical-border);
}

.alert-strip.warning {
  background: var(--warning-bg);
  color: var(--warning);
  border-color: var(--high-border);
}

.alert-strip.info {
  background: var(--accent-muted);
  color: var(--accent);
  border-color: var(--border-accent);
}

.remote-tool-grid {
  gap: var(--space-2);
  flex-wrap: wrap;
  display: flex;
}

.remote-tool-btn {
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: all .15s;
  display: flex;
}

.remote-tool-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-muted);
}

.ticket-row {
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background .12s;
  display: flex;
}

.ticket-row:hover {
  background: var(--bg-elevated);
}

.ticket-id {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  flex-shrink: 0;
}

.ticket-title-text {
  font-size: var(--text-sm);
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  overflow: hidden;
}

.kanban-board {
  gap: var(--space-4);
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-2);
  grid-auto-columns: minmax(260px, 1fr);
  grid-auto-flow: column;
  display: grid;
  overflow-x: auto;
}

.kanban-column {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  flex-direction: column;
  min-height: 200px;
  display: flex;
}

.kanban-column-header {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-secondary);
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  display: flex;
}

.kanban-column-body {
  padding: var(--space-3);
  gap: var(--space-2);
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow-y: auto;
}

.kanban-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  cursor: grab;
  transition: all .15s;
}

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

.timeline-container {
  gap: var(--space-4);
  margin-top: var(--space-4);
  flex-direction: column;
  display: flex;
  position: relative;
}

.timeline-row {
  z-index: 1;
  gap: var(--space-2);
  align-items: flex-start;
  display: flex;
  position: relative;
}

.timeline-row-client {
  justify-content: flex-start;
}

.timeline-row-technician {
  justify-content: flex-end;
}

.timeline-row-system {
  justify-content: center;
}

.timeline-row-technician .timeline-icon {
  order: 2;
}

.timeline-row-technician .timeline-bubble {
  order: 1;
}

.timeline-icon {
  background: var(--bg-elevated);
  border: 2px solid var(--border-subtle);
  z-index: 2;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  display: flex;
}

.timeline-bubble {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  max-width: 76%;
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
}

.timeline-row-system .timeline-bubble {
  flex-grow: 1;
  max-width: 100%;
}

.chat-bubble {
  border-radius: var(--radius-lg);
  max-width: 75%;
  padding: 8px 12px;
}

.timeline-client {
  background: var(--bg-elevated);
  border-top-left-radius: 2px;
}

.timeline-technician {
  background: var(--accent-muted);
  border-color: var(--border-accent);
  border-top-right-radius: 2px;
}

.timeline-internal {
  background: var(--warning-bg);
  border-color: var(--warning);
  border-top-right-radius: 2px;
}

.timeline-system {
  background: var(--bg-elevated);
}

.timeline-header {
  margin-bottom: var(--space-2);
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  display: flex;
}

.timeline-author {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.timeline-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  white-space: nowrap;
}

.timeline-body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  white-space: pre-wrap;
}

.timeline-receipt {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
  align-items: center;
  gap: 4px;
  display: flex;
}

.timeline-receipt-failed {
  color: var(--danger);
  font-weight: 500;
}

.timeline-composer {
  margin-top: var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.composer-tabs {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  display: flex;
}

.composer-tab {
  padding: var(--space-2) var(--space-4);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  flex: 1;
  font-weight: 600;
  transition: all .2s;
}

.composer-tab:hover, .composer-tab.active {
  color: var(--text-primary);
}

.composer-tab.active.internal {
  border-bottom-color: var(--warning);
  background: var(--warning-bg);
}

.composer-tab.active.email {
  border-bottom-color: var(--info);
  background: var(--info-bg);
}

.composer-body {
  padding: var(--space-3);
  gap: var(--space-3);
  flex-direction: column;
  display: flex;
}

.composer-textarea {
  resize: vertical;
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  width: 100%;
  min-height: 100px;
  padding: var(--space-2);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
}

.composer-textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.composer-footer {
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  display: flex;
}

.time-log-fields {
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  display: flex;
}

.time-log-fields .time-log-minutes {
  width: 100%;
}

.time-log-compact {
  gap: 6px;
  margin-right: auto;
}

.time-log-compact .time-log-minutes {
  width: 68px;
}

.time-log-compact .form-input {
  height: 28px;
  padding: 0 var(--space-2);
  font-size: var(--text-xs);
}

.time-log-when {
  align-items: center;
  gap: 2px;
  display: inline-flex;
}

.time-log-when .form-input {
  width: auto;
  min-width: 0;
}

.time-log-when-trigger {
  white-space: nowrap;
  color: var(--text-muted);
}

.time-log-billable {
  font-size: var(--text-xs);
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  align-items: center;
  gap: 4px;
  display: inline-flex;
}

.time-log-billable input {
  accent-color: var(--accent);
}

@media (max-width: 768px) {
  .time-log-compact {
    width: 100%;
  }

  .time-log-compact .time-log-minutes {
    flex: 1;
    width: auto;
  }

  .time-log-when {
    flex: 100%;
  }

  .time-log-when .form-input {
    flex: 1;
  }
}

.credential-item {
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all .15s;
  display: flex;
}

.credential-item:hover {
  background: var(--bg-elevated);
  border-color: var(--border-default);
}

.credential-icon {
  border-radius: var(--radius-sm);
  background: var(--bg-overlay);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  display: flex;
}

.credential-info {
  flex: 1;
  min-width: 0;
}

.credential-name {
  font-size: var(--text-sm);
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
  overflow: hidden;
}

.credential-user {
  font-size: var(--text-xs);
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.credential-password {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  letter-spacing: .15em;
}

.credential-actions {
  flex-shrink: 0;
  gap: 4px;
  display: flex;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-1 {
  gap: var(--space-1);
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.flex-1 {
  flex: 1;
}

.flex-wrap {
  flex-wrap: wrap;
}

.min-w-0 {
  min-width: 0;
}

.overflow-hidden {
  overflow: hidden;
}

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

.text-xs {
  font-size: var(--text-xs);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-md {
  font-size: var(--text-md);
}

.text-primary {
  color: var(--text-primary);
}

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

.text-secondary {
  color: var(--text-secondary);
}

.text-accent {
  color: var(--accent);
}

.text-success {
  color: var(--success);
}

.text-danger {
  color: var(--danger);
}

.text-warning {
  color: var(--warning);
}

.font-mono {
  font-family: var(--font-mono);
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.w-full {
  width: 100%;
}

.relative {
  position: relative;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.border-t {
  border-top: 1px solid var(--border-subtle);
}

.border-b {
  border-bottom: 1px solid var(--border-subtle);
}

.empty-state {
  padding: var(--space-10) var(--space-4);
  text-align: center;
  color: var(--text-muted);
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  flex-direction: column;
  display: flex;
}

.empty-state-icon {
  opacity: .3;
  width: 48px;
  height: 48px;
}

.empty-state-text {
  font-size: var(--text-sm);
}

.spinner {
  border: 2px solid var(--border-default);
  border-top-color: var(--accent);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: .7s linear infinite spin;
}

.record-grid-3 {
  gap: var(--space-5);
  grid-template-columns: 280px minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
  display: grid;
}

.record-grid-2 {
  gap: var(--space-5);
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
  display: grid;
}

.card-grid {
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  display: grid;
}

.card-grid-lg {
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  display: grid;
}

.card-grid-sm {
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  display: grid;
}

.pair-grid {
  gap: var(--space-2);
  grid-template-columns: 1fr 1fr;
  display: grid;
}

.page-header {
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
  display: flex;
}

.page-header > * {
  min-width: 0;
}

.page-header-top {
  align-items: flex-start;
}

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

.toolbar .form-input, .toolbar .form-select {
  width: auto;
}

.toolbar .search-bar {
  flex: 220px;
  min-width: 0;
}

.toolbar .search-bar .form-input {
  width: 100%;
}

@media (max-width: 1024px) {
  .toolbar .form-input, .toolbar .form-select {
    flex: 150px;
    min-width: 0;
  }

  .toolbar .search-bar {
    flex-basis: 100%;
  }
}

.global-search {
  width: 320px;
  max-width: 100%;
  position: relative;
}

.only-mobile, .only-touch-nav, .mobile-toggle-btn, .mobile-close-btn {
  display: none !important;
}

@media (max-width: 1400px) {
  :root {
    --rail-width: 18.75rem;
  }

  .record-grid-3 {
    gap: var(--space-4);
    grid-template-columns: 240px minmax(0, 2fr) minmax(0, 1fr);
  }

  .record-grid-2 {
    gap: var(--space-4);
  }
}

@media (max-width: 1180px) {
  :root {
    --page-gutter: var(--space-4);
  }

  .record-grid-3 {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-areas: "main detail"
                         "context detail";
  }

  .record-grid-3 > :first-child {
    grid-area: context;
  }

  .record-grid-3 > :nth-child(2) {
    grid-area: main;
  }

  .record-grid-3 > :nth-child(3) {
    grid-area: detail;
  }

  .todo-rail:not(.collapsed) {
    width: 280px;
  }

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

  .hide-tablet {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .global-search {
    width: 240px;
  }

  .timeline-bubble {
    max-width: 86%;
  }
}

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

  .record-grid-3 > :first-child, .record-grid-3 > :nth-child(2), .record-grid-3 > :nth-child(3) {
    grid-area: auto;
  }

  .record-grid-3 > :nth-child(3), .record-grid-2 > :last-child {
    order: -1;
  }
}

@media (max-width: 768px) {
  :root {
    --page-gutter: var(--space-3);
  }

  .only-mobile {
    display: block !important;
  }

  .hide-mobile {
    display: none !important;
  }

  .mobile-toggle-btn {
    display: inline-flex !important;
  }

  .mobile-close-btn {
    position: absolute;
    top: 14px;
    right: 12px;
    display: inline-flex !important;
  }

  .sidebar {
    padding-left: var(--safe-left);
    z-index: 1000;
    box-shadow: var(--shadow-xl);
    transition: transform .25s cubic-bezier(.4, 0, .2, 1);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    width: min(280px, 82vw) !important;
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 999;
    background: #0c0d0f99;
    animation: .2s fadeIn;
    position: fixed;
    inset: 0;
  }

  .sidebar .nav-item {
    padding: var(--space-3);
    font-size: var(--text-base);
  }

  .sidebar-footer {
    padding-bottom: calc(var(--space-3) + var(--safe-bottom));
  }

  .todo-rail {
    background: var(--bg-surface);
    max-width: none;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    padding-right: var(--safe-right);
    transition: transform .25s cubic-bezier(.4, 0, .2, 1);
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    transform: translateX(100%);
    width: min(340px, 86vw) !important;
  }

  .todo-rail:not(.collapsed) {
    transform: translateX(0);
  }

  .todo-rail.collapsed .todo-rail-header {
    padding: var(--space-4);
    flex-direction: row;
  }

  .only-touch-nav {
    display: inline-flex !important;
  }

  .header {
    gap: var(--space-2);
  }

  .header-title {
    display: none;
  }

  .global-search-expanded {
    left: calc(var(--space-3) + var(--safe-left));
    right: calc(var(--space-3) + var(--safe-right));
    z-index: 300;
    width: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .font-size-readout {
    display: none;
  }

  .font-size-controls {
    background: none;
    border-color: #0000;
    padding: 0;
  }

  h1 {
    font-size: var(--text-2xl);
  }

  h2 {
    font-size: var(--text-xl);
  }

  .dashboard-grid {
    grid-template-columns: 1fr !important;
  }

  .pair-grid {
    grid-template-columns: 1fr;
  }

  .overlay-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 92dvh;
    padding-bottom: var(--safe-bottom);
    border-bottom: none;
    animation: .25s cubic-bezier(.32, .72, 0, 1) slideInUp;
    max-width: none !important;
  }

  .modal-header, .modal-body, .modal-footer {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .modal-header {
    background: var(--bg-elevated);
    z-index: 1;
    position: sticky;
    top: 0;
  }

  .modal-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .modal-footer .btn {
    justify-content: center;
    width: 100%;
  }

  .toast-container {
    left: var(--space-3);
    right: var(--space-3);
    bottom: calc(var(--space-3) + var(--safe-bottom));
  }

  .toast {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .kanban-board {
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--page-gutter);
    grid-auto-columns: min(85vw, 320px);
  }

  .kanban-column {
    scroll-snap-align: start;
  }

  .timeline-bubble {
    max-width: calc(100% - 40px);
  }

  .chat-bubble {
    max-width: 88%;
  }

  .timeline-header {
    gap: var(--space-1);
    flex-wrap: wrap;
  }

  .composer-footer {
    gap: var(--space-2);
    flex-wrap: wrap;
  }

  .card {
    padding: var(--space-3);
  }

  .empty-state {
    padding: var(--space-6) var(--space-3);
  }

  .table-stack {
    border: none;
    border-radius: 0;
    overflow: visible;
  }

  .table-stack .table, .table-stack .table tbody, .table-stack .table tr, .table-stack .table td {
    width: 100%;
    display: block;
  }

  .table-stack .table thead {
    display: none;
  }

  .table-stack .table tr {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-2);
    margin-bottom: var(--space-2);
  }

  .table-stack .table td {
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-1) var(--space-2);
    text-align: right;
    border-bottom: none;
    min-height: 28px;
    display: flex;
  }

  .table-stack .table td:before {
    content: attr(data-label);
    font-size: var(--text-xs);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    flex-shrink: 0;
    font-weight: 700;
  }

  .table-stack .table td.cell-primary {
    text-align: left;
    padding: var(--space-1) var(--space-2) var(--space-2);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-1);
    display: block;
  }

  .table-stack .table td.cell-primary:before {
    content: none;
  }

  .table-stack .table td.cell-control {
    justify-content: flex-end;
  }

  .table-stack .table td.cell-control:before {
    content: none;
  }

  .table-stack .table td.cell-hidden {
    display: none;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: var(--space-5) var(--space-4) !important;
    border-radius: var(--radius-lg) !important;
  }

  .hide-xs {
    display: none !important;
  }

  .btn {
    white-space: normal;
  }

  .card-grid, .card-grid-lg, .card-grid-sm {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: var(--space-3);
  }

  .stat-number {
    font-size: var(--text-2xl);
  }
}

@media (pointer: coarse) {
  .form-input, .form-select, .form-textarea, .composer-textarea, input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input[type="date"], input[type="datetime-local"], select, textarea {
    font-size: 16px;
  }

  .btn {
    min-height: 40px;
  }

  .btn-sm {
    min-height: 36px;
    padding: var(--space-2) var(--space-3);
  }

  .btn-icon {
    width: 40px;
    height: 40px;
  }

  .btn-icon-sm {
    width: 32px;
    height: 32px;
  }

  .nav-item {
    min-height: 40px;
  }

  .tab {
    min-height: 38px;
  }

  .checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
  }

  .toggle {
    width: 44px;
    height: 26px;
  }

  .toggle-slider:before {
    width: 20px;
    height: 20px;
  }

  .toggle input:checked + .toggle-slider:before {
    transform: translateX(18px);
  }

  [data-tooltip]:after {
    display: none;
  }

  .btn-primary:hover, .stat-card:hover, .sso-btn:hover {
    transform: none;
  }

  ::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}

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

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-font-weight {
  syntax: "*";
  inherits: false
}

@property --tw-ordinal {
  syntax: "*";
  inherits: false
}

@property --tw-slashed-zero {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-figure {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

/*# sourceMappingURL=%5Broot-of-the-server%5D__0p42-xl._.css.map*/