/* Locally bundled Space Grotesk, Inter, and JetBrains Mono fonts */

html[lang="hi"], html[lang="hi"] body {
  font-family: var(--font-body) !important;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter_400_normal_0.woff2') format('woff2');
  unicode-range: U+0460-052F, 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('/fonts/inter_400_normal_1.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter_400_normal_2.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter_400_normal_3.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter_400_normal_4.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter_400_normal_5.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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('/fonts/inter_400_normal_6.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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('/fonts/inter_500_normal_7.woff2') format('woff2');
  unicode-range: U+0460-052F, 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('/fonts/inter_500_normal_8.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter_500_normal_9.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter_500_normal_10.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter_500_normal_11.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter_500_normal_12.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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('/fonts/inter_500_normal_13.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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('/fonts/inter_600_normal_14.woff2') format('woff2');
  unicode-range: U+0460-052F, 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('/fonts/inter_600_normal_15.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter_600_normal_16.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter_600_normal_17.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter_600_normal_18.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter_600_normal_19.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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('/fonts/inter_600_normal_20.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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('/fonts/inter_700_normal_21.woff2') format('woff2');
  unicode-range: U+0460-052F, 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('/fonts/inter_700_normal_22.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter_700_normal_23.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter_700_normal_24.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter_700_normal_25.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter_700_normal_26.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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('/fonts/inter_700_normal_27.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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: 400;
  font-display: swap;
  src: url('/fonts/jetbrainsmono_400_normal_28.woff2') format('woff2');
  unicode-range: U+0460-052F, 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('/fonts/jetbrainsmono_400_normal_29.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrainsmono_400_normal_30.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrainsmono_400_normal_31.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrainsmono_400_normal_32.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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('/fonts/jetbrainsmono_400_normal_33.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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('/fonts/jetbrainsmono_500_normal_34.woff2') format('woff2');
  unicode-range: U+0460-052F, 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('/fonts/jetbrainsmono_500_normal_35.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrainsmono_500_normal_36.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrainsmono_500_normal_37.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrainsmono_500_normal_38.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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('/fonts/jetbrainsmono_500_normal_39.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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('/fonts/jetbrainsmono_600_normal_40.woff2') format('woff2');
  unicode-range: U+0460-052F, 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('/fonts/jetbrainsmono_600_normal_41.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jetbrainsmono_600_normal_42.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jetbrainsmono_600_normal_43.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jetbrainsmono_600_normal_44.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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('/fonts/jetbrainsmono_600_normal_45.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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('/fonts/jetbrainsmono_700_normal_46.woff2') format('woff2');
  unicode-range: U+0460-052F, 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('/fonts/jetbrainsmono_700_normal_47.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/jetbrainsmono_700_normal_48.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/jetbrainsmono_700_normal_49.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/jetbrainsmono_700_normal_50.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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('/fonts/jetbrainsmono_700_normal_51.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/spacegrotesk_500_normal_52.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/spacegrotesk_500_normal_53.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/spacegrotesk_500_normal_54.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/spacegrotesk_600_normal_55.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/spacegrotesk_600_normal_56.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/spacegrotesk_600_normal_57.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/spacegrotesk_700_normal_58.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/spacegrotesk_700_normal_59.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/spacegrotesk_700_normal_60.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Color Tokens - Enhanced WCAG AA Contrast */
  --void: #05070c;
  --void-2: #090e18;
  --panel: rgba(14, 20, 32, 0.72);
  --panel-strong: rgba(18, 26, 42, 0.88);
  --panel-connected: rgba(11, 16, 26, 0.92);
  --border: rgba(148, 197, 255, 0.18);
  --border-strong: rgba(148, 197, 255, 0.38);
  --border-focus: rgba(79, 216, 255, 0.85);

  /* Primary Aerospace Gradient & Accents */
  --cyan: #4fd8ff;
  --cyan-glow: rgba(79, 216, 255, 0.35);
  --violet: #8b7bff;
  --grad-primary: linear-gradient(135deg, var(--cyan), var(--violet));

  /* Reserved Warning/Error Accent ONLY */
  --amber: #ffb454;
  --amber-dim: rgba(255, 180, 84, 0.16);
  --amber-border: rgba(255, 180, 84, 0.42);

  /* Status & Text Colors (Elevated for high contrast & legibility) */
  --status-active: #4ee38a;
  --white: #ffffff;
  --mist: #e6eefb;       /* 16.5:1 contrast against void */
  --dim: #9bb0cc;        /* 9.2:1 contrast against void (far exceeds WCAG AA) */
  --dimmer: #6c7f99;

  /* Bridge legacy app-shell names to the semantic system */
  --bg-page: var(--color-canvas, var(--void));
  --bg-sidebar: #080d16;
  --bg-surface: var(--color-surface, var(--panel-strong));
  --surface: var(--color-surface, var(--panel));
  --surface-hover: rgba(79, 216, 255, 0.08);
  --text-primary: var(--color-text-primary, var(--mist));
  --text: var(--color-text-primary, var(--mist));
  --text2: var(--color-text-secondary, var(--dim));
  --text-secondary: var(--color-text-secondary, var(--dim));
  --text-muted: var(--color-text-muted, var(--dimmer));
  --accent-primary: var(--cyan);
  --accent-primary-rgb: 79, 216, 255;
  --accent-secondary: var(--violet);
  --success: var(--color-status-success, #42d99a);
  --warning: var(--color-status-warning, #f4bd55);
  --danger: var(--color-status-error, #ff6b78);

  /* Semantic surfaces and data visualization */
  --color-canvas: #05070c;
  --color-surface: #0e1420;
  --color-surface-raised: #121a2a;
  --color-surface-overlay: #0b101a;
  --color-text-primary: #e6eefb;
  --color-text-secondary: #9bb0cc;
  --color-text-muted: #8295ad;
  --color-border-subtle: rgba(148, 197, 255, 0.14);
  --color-border-default: rgba(148, 197, 255, 0.22);
  --color-border-emphasis: rgba(148, 197, 255, 0.38);
  --color-status-online: #42d99a;
  --color-status-waking: #f4bd55;
  --color-status-offline: #ff6b78;
  --color-status-success: #42d99a;
  --color-status-warning: #f4bd55;
  --color-status-error: #ff6b78;
  --color-chart-1: #4fd8ff;
  --color-chart-2: #8b7bff;
  --color-chart-3: #42d99a;
  --color-chart-4: #f4bd55;
  --color-chart-5: #ff7da8;
  --color-chart-6: #7cafff;

  /* Type scale: compact control labels through presentation headings */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: clamp(2.25rem, 4vw, 3.5rem);
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* 4px base spacing scale, retained alongside legacy --gap-* aliases */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Normalized Spatial Rhythm Tokens */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xs: 4px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-pill: 999px;
  --gap-sm: 10px;
  --gap-md: 16px;
  --gap-lg: 20px;

  /* Shadows & Glows */
  --shadow-glass: 0 16px 36px -12px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.38);
  --glow-cyan: 0 0 28px rgba(79, 216, 255, 0.18);
  --glow-violet: 0 0 28px rgba(139, 123, 255, 0.16);
  --glow-focus: 0 0 0 2px rgba(79, 216, 255, 0.7);

  /* Motion and predictable overlay order */
  --motion-instant: 100ms;
  --motion-fast: 160ms;
  --motion-standard: 240ms;
  --motion-emphasis: 360ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-enter: cubic-bezier(0, 0, 0.2, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --z-base: 0;
  --z-raised: 10;
  --z-sticky: 100;
  --z-dropdown: 200;
  --z-overlay: 400;
  --z-modal: 500;
  --z-toast: 700;
  --z-tooltip: 800;
}

[data-theme="light"] {
  --void: #f1f5f9;
  --void-2: #e2e8f0;
  --panel: rgba(255, 255, 255, 0.90);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --panel-connected: rgba(241, 245, 249, 0.96);
  --border: rgba(14, 116, 144, 0.20);
  --border-strong: rgba(14, 116, 144, 0.40);
  --border-focus: rgba(2, 132, 199, 0.85);

  --cyan: #0284c7;
  --cyan-glow: rgba(2, 132, 199, 0.25);
  --violet: #6366f1;
  --grad-primary: linear-gradient(135deg, var(--cyan), var(--violet));

  --amber: #d97706;
  --amber-dim: rgba(217, 119, 6, 0.12);
  --amber-border: rgba(217, 119, 6, 0.35);

  --status-active: #16a34a;
  --white: #0f172a;
  --mist: #1e293b;
  --dim: #334155;
  --dimmer: #64748b;
  --bg-sidebar: #e8eef5;
  --surface-hover: rgba(2, 132, 199, 0.08);
  --accent-primary-rgb: 2, 132, 199;

  --color-canvas: #f1f5f9;
  --color-surface: #ffffff;
  --color-surface-raised: #ffffff;
  --color-surface-overlay: #eaf0f6;
  --color-text-primary: #1e293b;
  --color-text-secondary: #334155;
  --color-text-muted: #475569;
  --color-border-subtle: rgba(15, 23, 42, 0.10);
  --color-border-default: rgba(15, 23, 42, 0.16);
  --color-border-emphasis: rgba(2, 132, 199, 0.40);
  --color-status-online: #15803d;
  --color-status-waking: #a16207;
  --color-status-offline: #b91c1c;
  --color-status-success: #15803d;
  --color-status-warning: #a16207;
  --color-status-error: #b91c1c;
  --color-chart-1: #0369a1;
  --color-chart-2: #5b4bd8;
  --color-chart-3: #15803d;
  --color-chart-4: #a16207;
  --color-chart-5: #be185d;
  --color-chart-6: #1d4ed8;

  --shadow-glass: 0 16px 36px -12px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.14);
  --glow-cyan: 0 0 28px rgba(2, 132, 199, 0.10);
  --glow-violet: 0 0 28px rgba(99, 102, 241, 0.09);
  --shadow-glass-hover: 0 20px 42px -10px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(2, 132, 199, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --glow-focus: 0 0 0 2px rgba(2, 132, 199, 0.7);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--void);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Utility Font Classes */
.font-display, .display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-mono, .mono { font-family: var(--font-mono); }

/* Root HUD Container */
.aeromesh-root {
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(79, 216, 255, 0.08), transparent 60%),
    radial-gradient(1000px 700px at 110% 10%, rgba(139, 123, 255, 0.08), transparent 55%),
    var(--void);
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.aeromesh-root.is-ready {
  opacity: 1;
  transform: scale(1);
}

/* Subtle CRT scanline overlay */
.aeromesh-root::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.015) 0px,
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  opacity: 0.25;
  mix-blend-mode: overlay;
  z-index: 99;
}


/* Ambient cursor-follow glow layer sitting behind all content */
.ambient-cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(
    760px circle at var(--cursor-x, 50vw) var(--cursor-y, 40vh),
    rgba(79, 216, 255, 0.055) 0%,
    rgba(139, 123, 255, 0.032) 40%,
    transparent 72%
  );
  transition: opacity 0.35s ease;
  will-change: background;
}

/* Glass panel primitive styles */
.glass {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-glass);
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.22s ease, box-shadow 0.22s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

@keyframes glass-card-flicker {
  0% {
    border-color: rgba(79, 216, 255, 0.55);
    box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.65), 0 0 20px rgba(79, 216, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  38% {
    border-color: rgba(139, 123, 255, 0.65);
    box-shadow: 0 20px 42px -10px rgba(0, 0, 0, 0.75), 0 0 26px rgba(139, 123, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
  100% {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-glass-hover);
  }
}

.glass:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glass-hover);
  animation: glass-card-flicker 0.24s cubic-bezier(0.16, 1, 0.3, 1) 1;
}

/* Enhanced 380px cursor-sheen effect with soft cyan-violet bloom */
.glass-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    380px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(79, 216, 255, 0.16) 0%,
    rgba(139, 123, 255, 0.07) 45%,
    transparent 72%
  );
  opacity: 0;
  transition: opacity 0.24s ease;
  z-index: 1;
}

.glass:hover .glass-sheen {
  opacity: 1;
}

/* Consistent Glowing Icon in Circle Formula */
.glowing-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(79, 216, 255, 0.22) 0%,
    rgba(139, 123, 255, 0.08) 65%,
    rgba(14, 20, 32, 0.7) 100%
  );
  border: 1px solid rgba(79, 216, 255, 0.32);
  box-shadow: 0 0 16px rgba(79, 216, 255, 0.22), inset 0 1px 2px rgba(255, 255, 255, 0.35);
  color: var(--cyan);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.22s ease, box-shadow 0.22s ease;
  flex-shrink: 0;
}

.glowing-icon-circle.sm {
  width: 34px;
  height: 34px;
}

.glowing-icon-circle.lg {
  width: 52px;
  height: 52px;
}

.glass:hover .glowing-icon-circle,
.stat-card:hover .glowing-icon-circle,
.cap-card:hover .glowing-icon-circle,
.feature-glass-card:hover .glowing-icon-circle {
  border-color: rgba(79, 216, 255, 0.7);
  box-shadow: 0 0 24px rgba(79, 216, 255, 0.45), 0 0 12px rgba(139, 123, 255, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  transform: scale(1.06);
}

/* Interactive Accessibility Focus Rings */
button, [role="button"], a, input, select, textarea {
  font-family: inherit;
  outline: none;
  background: transparent;
  border: none;
  color: inherit;
}

button:focus-visible,
[role="button"]:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: none !important;
  box-shadow: var(--glow-focus) !important;
  border-color: var(--border-focus) !important;
}

/* Visually Hidden */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Selection and custom scrollbar */
::selection {
  background: rgba(79, 216, 255, 0.35);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--void-2);
}
::-webkit-scrollbar-thumb {
  background: var(--dimmer);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--dim);
}

/* TopBar Header Chrome */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(148, 197, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  position: relative;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: 0 0 20px rgba(79, 216, 255, 0.4);
}

.brand-text {
  line-height: 1.1;
}

.brand-text .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.brand-text .sub {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--dim);
  font-weight: 600;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--dim);
  margin-left: 24px;
}

.crumb b {
  color: #ffffff;
  font-weight: 600;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(79, 216, 255, 0.08);
  border: 1px solid rgba(79, 216, 255, 0.28);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-active);
  box-shadow: 0 0 8px var(--status-active);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Shell Layout - Normalized Rhythm */
.layout-wrapper {
  position: relative;
  z-index: 10;
  padding: 20px 24px 24px;
}

.shell-grid {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: var(--gap-md);
  align-items: start;
}

.content-area {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

/* Rail Navigation */
.rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 8px;
  position: sticky;
  top: 18px;
  z-index: 30;
  transition: width 0.22s ease;
}

.rail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border-radius: var(--radius-sm);
  color: var(--dim);
  cursor: pointer;
  position: relative;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.rail-item .lbl {
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.2s, width 0.2s;
}

.rail:hover .rail-item .lbl {
  opacity: 1;
  width: 130px;
  margin-left: 2px;
}

.rail-item.active {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(79, 216, 255, 0.16), rgba(139, 123, 255, 0.1));
  border: 1px solid var(--border-strong);
}

.rail-item:hover:not(.active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.rail-badge {
  margin-left: auto;
  font-size: 11px;
  background: var(--amber);
  color: #1a1206;
  border-radius: 999px;
  padding: 2px 7px;
  font-weight: 700;
}

/* Common UI Components & Buttons */
.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--mist);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
}

.icon-btn:hover {
  color: #ffffff;
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
}

.icon-btn:active {
  transform: scale(0.98);
}

.icon-btn.primary-action {
  background: linear-gradient(135deg, rgba(79, 216, 255, 0.22), rgba(139, 123, 255, 0.16));
  border-color: rgba(79, 216, 255, 0.5);
  color: #ffffff;
}

.icon-btn.primary-action:hover {
  background: linear-gradient(135deg, rgba(79, 216, 255, 0.32), rgba(139, 123, 255, 0.24));
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(79, 216, 255, 0.25);
}

.badge {
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  color: var(--mist);
  font-weight: 700;
  text-transform: uppercase;
}

.badge.warn {
  color: var(--amber);
  border-color: var(--amber-border);
  background: var(--amber-dim);
}

.badge.cyan {
  color: var(--cyan);
  border-color: rgba(79, 216, 255, 0.4);
  background: rgba(79, 216, 255, 0.1);
}

/* Reconstruction Layout */
.reconstruction-page {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

.reconstruction-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--gap-md);
  align-items: stretch;
}

/* Viewport Panel */
.viewport-panel {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 580px;
}

.viewport-panel.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  border-radius: 0;
  min-height: 100vh;
}

.viewport-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 14, 24, 0.6);
}

.viewport-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.viewport-title h2 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.viewport-body {
  position: relative;
  flex: 1;
  min-height: 480px;
  overflow: hidden;
}

.canvas-mount {
  position: absolute;
  inset: 0;
  outline: none;
}

.canvas-mount canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* HUD Corners - Legible typography */
.hud-corner {
  position: absolute;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  z-index: 15;
  pointer-events: none;
  background: rgba(10, 15, 25, 0.82);
  border: 1px solid var(--border);
}

.hud-topleft { top: 16px; left: 16px; }
.hud-topright { top: 16px; right: 16px; text-align: right; }
.hud-bottomleft { bottom: 16px; left: 16px; }

.p-layer {
  transition: transform 0.06s linear;
  will-change: transform;
}

/* Scene Selector Dropdown */
.scene-picker-container {
  display: flex;
  align-items: center;
}

.scene-select {
  background: rgba(14, 20, 32, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.scene-select:focus, .scene-select:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(79, 216, 255, 0.25);
}

/* Dynamically Projected 3D Marker Chips */
.dynamic-3d-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  z-index: 18;
  pointer-events: auto;
  user-select: none;
  white-space: nowrap;
  border: 1px solid var(--border);
  background: rgba(12, 18, 30, 0.92);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(148, 197, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  will-change: left, top, transform;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dynamic-3d-chip:hover,
.dynamic-3d-chip.is-selected {
  border-color: var(--cyan);
  background: rgba(14, 22, 38, 0.98);
  box-shadow: 0 0 20px rgba(79, 216, 255, 0.5), 0 0 0 1px var(--cyan);
  transform: translate(-50%, -140%) scale(1.06) !important;
}

.marker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}

/* Unified Inspector Bay */
.inspector-bay {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

.inspector-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.inspector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 14, 24, 0.4);
}

.inspector-head h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.obj-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  max-height: 250px;
  overflow-y: auto;
}

.obj-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  width: 100%;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}

.obj-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.obj-row.sel {
  background: rgba(79, 216, 255, 0.1);
  border-color: rgba(79, 216, 255, 0.35);
}

.obj-row .left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.obj-row .swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.obj-row .id {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.obj-row .cls {
  font-size: 12px;
  color: var(--dim);
}

.obj-row .conf {
  font-size: 12px;
  font-weight: 600;
}

/* Object Details Panel */
.detail-panel {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.detail-cell {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
}

.detail-cell .k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--dim);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.detail-cell .v {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.row-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.row-kv:last-child {
  border-bottom: none;
}

.row-kv .k {
  color: var(--dim);
  font-weight: 500;
}

.row-kv .v {
  color: #ffffff;
  font-weight: 600;
}

.conf-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.conf-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Telemetry Strips - Unified Spatial Rhythm */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
}

.stat-card {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--dim);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* HUD Loading & Error States */
.hud-loading-panel {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.hud-skeleton-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hud-error-panel {
  padding: 24px;
  border-color: var(--amber-border) !important;
  background: rgba(30, 20, 14, 0.75) !important;
}

.error-badge-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ============================================================
   Mission Command Unified Cockpit Layout
============================================================ */
.mission-command-layout {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
}

.cockpit-connected-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cockpit-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: stretch;
}

.cockpit-hero {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.6;
  margin: 0;
  max-width: 540px;
}

.cockpit-telemetry-dock {
  padding: 28px;
  background: rgba(8, 12, 20, 0.6);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.dock-header {
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* Sortie Section */
.sortie-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--dim);
  text-transform: uppercase;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}

.mission-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mission-card:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 216, 255, 0.45);
}

.mission-card.featured {
  border-color: rgba(79, 216, 255, 0.38);
  background: rgba(16, 24, 40, 0.8);
}

.mission-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.m-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.m-drone {
  font-size: 12px;
  color: var(--dim);
  margin-top: 3px;
  font-weight: 500;
}

.mission-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 197, 255, 0.08);
}

.m-stat .k {
  font-size: 11px;
  font-weight: 600;
  color: var(--dim);
  display: block;
  letter-spacing: 0.04em;
}

.m-stat .v {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 2px;
}

.mission-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   Stub Page Layout (Cohesive Spatial Rhythm)
============================================================ */
.stub-page-layout {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

.stub-body {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.stub-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 520px;
  z-index: 10;
}

.stub-radar-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px dashed rgba(79, 216, 255, 0.45);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: radial-gradient(circle, rgba(79, 216, 255, 0.06), transparent 70%);
}

.stub-headline {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
}

.stub-subtext {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.6;
  margin: 0 0 20px;
}

.stub-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(79, 216, 255, 0.1);
  border: 1px solid rgba(79, 216, 255, 0.3);
  color: var(--cyan);
  font-weight: 600;
}

/* Responsive Grid Breakpoints */
@media (max-width: 1100px) {
  .cockpit-body {
    grid-template-columns: 1fr;
  }
  .cockpit-telemetry-dock {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .reconstruction-grid {
    grid-template-columns: 1fr;
  }
  .strip {
    grid-template-columns: 1fr 1fr;
  }
  .mission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .shell-grid {
    grid-template-columns: 1fr;
  }
  .rail {
    flex-direction: row;
    position: static;
    overflow-x: auto;
  }
  .strip {
    grid-template-columns: 1fr;
  }
}
