/* [next]/internal/font/google/inter_5901b7c6.module.css [app-client] (css) */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  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: 100 900;
  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: 100 900;
  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: 100 900;
  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: 100 900;
  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: 100 900;
  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: 100 900;
  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_5901b7c6-module__ec5Qua__className {
  font-family: Inter, Inter Fallback;
  font-style: normal;
}

.inter_5901b7c6-module__ec5Qua__variable {
  --font-inter: "Inter", "Inter Fallback";
}

/* [next]/internal/font/google/manrope_b7d5735e.module.css [app-client] (css) */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../media/a342834df7752944-s.3hd2l7bm32o7k.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: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../media/d3fe2f289711ac3f-s.1l2zhvq5eocqf.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../media/58c4895d0a0ef7cc-s.2vhvl9vrvk-va.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: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../media/bfc7db5c00d21bc5-s.173xwsdme27n8.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: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../media/6ab0db14f70d8ed6-s.13hnt-xgp82zk.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: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../media/a343f882a40d2cc9-s.p.1sj6eobyi31rd.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: Manrope Fallback;
  src: local(Arial);
  ascent-override: 103.31%;
  descent-override: 29.07%;
  line-gap-override: 0.0%;
  size-adjust: 103.19%;
}

.manrope_b7d5735e-module__suUhcW__className {
  font-family: Manrope, Manrope Fallback;
  font-style: normal;
}

.manrope_b7d5735e-module__suUhcW__variable {
  --font-manrope: "Manrope", "Manrope Fallback";
}

/* [project]/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-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, 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;
    --radius-lg: .5rem;
    --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;
    --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, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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:where(:not(iframe)) {
    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 {
  .visible {
    visibility: visible;
  }

  .fixed {
    position: fixed;
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .hidden {
    display: none;
  }

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

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

:root {
  --navy: #0c1b30;
  --navy-deep: #081224;
  --navy-mid: #10253f;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --blue-soft: #eaf1ff;
  --canvas: #f2f5f9;
  --surface: #fff;
  --line: #e4eaf2;
  --line-soft: #ecf0f6;
  --ink: #16233a;
  --muted: #5f7089;
  --faint: #93a0b3;
  --danger: #b42318;
  --danger-soft: #fff1f0;
  --success: #087659;
  --success-soft: #e8f7f1;
  --warning: #a7620b;
  --warning-soft: #fff5df;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px #0c1b300d;
  --shadow-md: 0 6px 18px -6px #0c1b301a, 0 1px 3px #0c1b300d;
  --shadow-lg: 0 24px 48px -18px #0c1b3038, 0 8px 20px -10px #0c1b301f;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #c4d1e2 transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--ink);
  background: radial-gradient(1200px 420px at 88% -12%, #2563eb0d, transparent 60%),
    var(--canvas);
  font-family: var(--font-inter), sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  font-size: 14px;
  line-height: 1.5;
}

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

button {
  cursor: pointer;
  touch-action: manipulation;
}

a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

::selection {
  color: #0c1b30;
  background: #d9e6ff;
}

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

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

::-webkit-scrollbar-thumb {
  background: #c4d1e2 padding-box padding-box;
  border: 2.5px solid #0000;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8bccf padding-box padding-box;
  border: 2.5px solid #0000;
}

:where(a, button, summary, [role="button"]):focus-visible {
  outline-offset: 2px;
  border-radius: 6px;
  outline: 2px solid #3b82f6;
}

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

.eyebrow {
  color: #3475e8;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
}

.brand-lockup, .sidebar-brand {
  font: 800 22px var(--font-manrope), var(--font-inter), sans-serif;
  letter-spacing: -.02em;
  align-items: center;
  gap: 12px;
  display: flex;
}

.brand-mark {
  color: #fff;
  background: linear-gradient(145deg, #4a86f8, #1d4ed8);
  border-radius: 13px;
  place-items: center;
  width: 43px;
  height: 43px;
  display: grid;
  box-shadow: 0 9px 24px #1e5bdc4d, inset 0 1px #ffffff40;
}

.login-shell {
  background: var(--surface);
  grid-template-columns: minmax(420px, 1.05fr) minmax(500px, .95fr);
  min-height: 100dvh;
  display: grid;
}

.login-story {
  color: #fff;
  background: radial-gradient(circle at 12% 18%, #376fdc6b, #0000 34%), radial-gradient(circle at 88% 82%, #22c5a02e, #0000 32%), linear-gradient(145deg, #0b1a2e, #12294a 62%, #14375a);
  flex-direction: column;
  justify-content: space-between;
  padding: 52px 64px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.login-story:after {
  content: "";
  border: 1px solid #ffffff14;
  border-radius: 50%;
  width: 430px;
  height: 430px;
  position: absolute;
  bottom: -140px;
  right: -110px;
  box-shadow: 0 0 0 70px #ffffff08, 0 0 0 140px #ffffff05;
}

.story-copy {
  z-index: 1;
  max-width: 670px;
  position: relative;
}

.story-copy h1 {
  max-width: 650px;
  font: 700 clamp(42px, 4.7vw, 68px)/1.07 var(--font-manrope), var(--font-inter), sans-serif;
  letter-spacing: -.045em;
  margin: 0;
}

.story-copy > p:last-child {
  color: #bdcce0;
  max-width: 580px;
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.7;
}

.tenant-note {
  z-index: 1;
  color: #dce8f8;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: #ffffff12;
  border: 1px solid #ffffff1a;
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 13px 17px;
  font-size: 13px;
  display: flex;
  position: relative;
}

.login-panel {
  place-items: center;
  padding: 40px;
  display: grid;
}

.login-card {
  flex-direction: column;
  gap: 24px;
  width: min(430px, 100%);
  display: flex;
}

.login-card h2 {
  font: 750 32px/1.2 var(--font-manrope), var(--font-inter), sans-serif;
  letter-spacing: -.03em;
  margin: 0 0 9px;
}

.muted, .support-copy {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.login-card label {
  color: #33415a;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  display: grid;
}

.input-wrap {
  color: #8290a5;
  height: 54px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  background: #fbfcfe;
  border: 1px solid #dce3ec;
  border-radius: 12px;
  align-items: center;
  gap: 11px;
  padding: 0 16px;
  display: flex;
}

.input-wrap:hover {
  border-color: #c8d3e2;
}

.input-wrap:focus-within {
  color: var(--blue);
  background: #fff;
  border-color: #5d8ff0;
  box-shadow: 0 0 0 4px #edf3ff;
}

.input-wrap input {
  width: 100%;
  height: 100%;
  color: var(--ink);
  background: none;
  border: 0;
  outline: 0;
  font-size: 15px;
}

.input-wrap input::placeholder {
  color: #a6b1c1;
}

.primary-button {
  color: #fff;
  height: 54px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
  background: linear-gradient(135deg, #3b76f2, #1e58cf);
  border: 0;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 750;
  display: flex;
  box-shadow: 0 10px 25px #2563eb3d, inset 0 1px #ffffff2e;
}

.primary-button:hover:not(:disabled) {
  filter: saturate(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px #2563eb4d, inset 0 1px #ffffff2e;
}

.primary-button:active:not(:disabled) {
  transform: translateY(0)scale(.99);
}

.primary-button:disabled {
  cursor: wait;
  opacity: .65;
}

.form-error {
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid #f6d8d5;
  border-radius: 10px;
  margin: -8px 0;
  padding: 12px 14px;
  font-size: 13px;
}

.support-copy {
  text-align: center;
  font-size: 12.5px;
}

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

.sidebar {
  z-index: 20;
  color: #dbe5f2;
  background: radial-gradient(400px 300px at 0 0, #386ecd24, #0000 60%), linear-gradient(#0e1f38 0%, #0a1729 100%);
  border-right: 1px solid #ffffff0d;
  flex-direction: column;
  width: 272px;
  padding: 24px 18px 18px;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
  overflow: hidden;
}

.sidebar nav {
  flex: auto;
  min-height: 0;
  overflow: hidden auto;
}

.sidebar nav::-webkit-scrollbar {
  width: 6px;
}

.sidebar nav::-webkit-scrollbar-thumb {
  background: #ffffff24;
  border: 0;
  border-radius: 999px;
}

.sidebar nav::-webkit-scrollbar-track {
  background: none;
}

.sidebar-brand {
  color: #fff;
  padding: 0 9px 25px;
}

.sidebar-brand .brand-mark {
  border-radius: 11px;
  width: 37px;
  height: 37px;
}

.mobile-close {
  color: #fff;
  background: #ffffff0f;
  border: 1px solid #ffffff14;
  border-radius: 10px;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  display: none;
}

.tenant-switcher {
  transition: background .18s var(--ease), border-color .18s var(--ease);
  background: #ffffff0f;
  border: 1px solid #ffffff14;
  border-radius: 14px;
  align-items: center;
  gap: 11px;
  margin-bottom: 25px;
  padding: 12px;
  display: flex;
}

.tenant-avatar, .user-avatar, .top-avatar {
  color: #d9e9ff;
  background: #294c79;
  border-radius: 10px;
  flex: none;
  place-items: center;
  width: 37px;
  height: 37px;
  font-size: 12px;
  font-weight: 800;
  display: grid;
}

.tenant-switcher > span:nth-child(2), .sidebar-user > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  display: grid;
}

.tenant-switcher strong, .sidebar-user strong {
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  overflow: hidden;
}

.tenant-switcher small, .sidebar-user small {
  color: #8fa2ba;
  margin-top: 3px;
  font-size: 10.5px;
}

.nav-title {
  color: #6f88a8;
  letter-spacing: .15em;
  margin: 0 0 8px;
  padding: 0 12px;
  font-size: 9.5px;
  font-weight: 800;
}

.nav-title-spaced {
  margin-top: 25px;
}

.nav-item {
  color: #aebed1;
  text-align: left;
  width: 100%;
  transition: color .16s var(--ease), background .16s var(--ease), transform .16s var(--ease);
  background: none;
  border: 0;
  border-radius: 11px;
  align-items: center;
  gap: 12px;
  margin: 2px 0;
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 550;
  text-decoration: none;
  display: flex;
}

.nav-item svg {
  opacity: .85;
  flex: none;
}

.nav-item:hover {
  color: #fff;
  background: #ffffff0f;
  transform: translateX(2px);
}

.nav-item.active {
  color: #fff;
  background: linear-gradient(100deg, #2f6fdd, #295ebf);
  box-shadow: 0 8px 20px #020a1859, inset 0 1px #ffffff24;
}

.nav-item.active svg {
  opacity: 1;
}

.nav-item-disabled {
  cursor: default;
  opacity: .55;
}

.sidebar-user {
  border-top: 1px solid #ffffff14;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 14px 8px 0;
  display: flex;
}

.sidebar-user button {
  color: #8da0b8;
  background: none;
  border: 0;
  border-radius: 10px;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  transition: color .16s, background .16s;
  display: grid;
}

.sidebar-user button:hover {
  color: #fff;
  background: #ffffff12;
}

.workspace {
  width: calc(100% - 272px);
  min-width: 0;
  margin-left: 272px;
}

.topbar {
  z-index: 10;
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  background: #ffffffd1;
  justify-content: space-between;
  align-items: center;
  height: 68px;
  padding: 0 30px;
  display: flex;
  position: sticky;
  top: 0;
}

.menu-button {
  color: #3d4d66;
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  box-shadow: var(--shadow-sm);
  background: #fff;
  border-radius: 12px;
  place-items: center;
  padding: 0;
  display: none;
}

.context-filter {
  align-items: center;
  gap: 14px;
  min-width: 0;
  display: flex;
}

.context-filter > i {
  background: #e7ebf0;
  width: 1px;
  height: 30px;
}

.context-filter label {
  gap: 3px;
  min-width: 130px;
  display: grid;
}

.context-filter label:first-child {
  min-width: 165px;
}

.context-filter label > span {
  color: #8995a7;
  letter-spacing: .06em;
  text-transform: uppercase;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 800;
  display: flex;
}

.context-filter select {
  color: #26354c;
  cursor: pointer;
  max-width: 210px;
  transition: color .16s var(--ease);
  background: none;
  border: 0;
  border-radius: 6px;
  outline: 0;
  padding: 4px 26px 4px 0;
  font-size: 13px;
  font-weight: 700;
}

.context-filter select:hover {
  color: #1d4ed8;
}

.context-filter select:disabled {
  cursor: wait;
  opacity: .55;
}

.context-spinner {
  color: #3471de;
  flex: none;
  animation: .8s linear infinite spin;
}

.top-search {
  color: #8995a8;
  align-items: center;
  gap: 10px;
  width: min(430px, 45vw);
  font-size: 13.5px;
  display: flex;
}

.top-search kbd {
  color: #8d98a9;
  font-size: 10px;
  font-family: var(--font-inter), sans-serif;
  background: #f5f7fa;
  border: 1px solid #e1e6ed;
  border-radius: 6px;
  margin-left: auto;
  padding: 4px 7px;
}

.top-actions {
  align-items: center;
  gap: 18px;
  display: flex;
}

.icon-button {
  color: #64748b;
  width: 42px;
  height: 42px;
  transition: color .16s var(--ease), background .16s var(--ease);
  background: none;
  border: 0;
  border-radius: 11px;
  place-items: center;
  display: grid;
  position: relative;
}

.icon-button:hover {
  color: #1d4ed8;
  background: #f1f5fd;
}

.icon-button i {
  content: "";
  background: #ef4444;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 8px;
  right: 9px;
}

.top-avatar {
  color: #fff;
  background: linear-gradient(135deg, #3368cf, #1d4ed8);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  box-shadow: 0 4px 12px #2563eb40;
}

.content {
  max-width: 1500px;
  animation: contentIn .34s var(--ease) both;
  margin: 0 auto;
  padding: 30px;
}

@keyframes contentIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
}

.page-heading {
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 26px;
  display: flex;
}

.page-heading h1 {
  font: 750 clamp(26px, 2.4vw, 31px)/1.2 var(--font-manrope), var(--font-inter), sans-serif;
  letter-spacing: -.03em;
  margin: 0;
}

.page-heading > div > p:last-child {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 13.5px;
}

.date-chip {
  color: #46566e;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #fff;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 650;
  display: flex;
}

.stat-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  display: grid;
}

.stat-card {
  border-radius: var(--radius-lg);
  min-width: 0;
  box-shadow: var(--shadow-md);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  background: #fff;
  border: 1px solid #e8edf4;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  display: flex;
}

.stat-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #d9e3f2;
  transform: translateY(-3px);
}

.stat-card p {
  color: #64738a;
  margin: 0 0 9px;
  font-size: 12.5px;
  font-weight: 650;
}

.stat-card strong {
  font: 750 28px/1 var(--font-manrope), var(--font-inter), sans-serif;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  display: block;
}

.stat-card div > span {
  color: #98a3b3;
  margin-top: 11px;
  font-size: 10.5px;
  display: block;
}

.stat-icon {
  border-radius: 13px;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  display: grid;
}

.stat-icon.blue {
  color: #2563eb;
  background: linear-gradient(135deg, #eef4ff, #dce9ff);
}

.stat-icon.violet {
  color: #7c3aed;
  background: linear-gradient(135deg, #f5f0ff, #ece0ff);
}

.stat-icon.amber {
  color: #d97706;
  background: linear-gradient(135deg, #fff8e8, #ffeecb);
}

.stat-icon.green {
  color: #079669;
  background: linear-gradient(135deg, #e9faf3, #d6f3e7);
}

.data-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: #fff;
  border: 1px solid #e8edf4;
  margin-top: 18px;
  overflow: hidden;
}

.card-heading {
  border-bottom: 1px solid var(--line-soft);
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 19px 24px;
  display: flex;
}

.card-heading h2 {
  font: 750 17.5px var(--font-manrope), var(--font-inter), sans-serif;
  letter-spacing: -.01em;
  margin: 0;
}

.card-heading p {
  color: var(--muted);
  margin: 5px 0 0;
  font-size: 12px;
}

.table-search {
  color: #8c98aa;
  width: 250px;
  height: 40px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
  background: #f8fafc;
  border: 1px solid #e3e8ee;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  display: flex;
}

.table-search:focus-within {
  background: #fff;
  border-color: #5d8ff0;
  box-shadow: 0 0 0 4px #edf3ff;
}

.table-search input {
  background: none;
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 12.5px;
}

.table-wrap {
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  overflow-x: auto;
}

.table-wrap::-webkit-scrollbar {
  height: 8px;
}

.table-wrap::-webkit-scrollbar-track {
  background: none;
}

.table-wrap::-webkit-scrollbar-thumb {
  background: #c4d1e2 padding-box padding-box;
  border: 2px solid #0000;
  border-radius: 999px;
}

.table-wrap::-webkit-scrollbar-thumb:hover {
  background: #9db1c6 padding-box padding-box;
  border: 2px solid #0000;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th {
  color: #74839a;
  border-bottom: 1px solid var(--line-soft);
  letter-spacing: .08em;
  text-align: left;
  white-space: nowrap;
  background: #f8fafd;
  padding: 13px 24px;
  font-size: 10px;
  font-weight: 800;
}

td {
  color: #43506a;
  border-top: 1px solid #eef2f7;
  padding: 13px 24px;
  font-size: 12.5px;
}

tbody tr {
  transition: background .14s var(--ease);
}

tbody tr:hover {
  background: #f7faff;
}

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

.student-cell {
  color: #253148;
  align-items: center;
  gap: 10px;
  display: flex;
}

.student-cell > span {
  color: #3266bd;
  background: linear-gradient(135deg, #f0f6ff, #e2edfd);
  border-radius: 10px;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 10px;
  font-weight: 800;
  display: grid;
}

.contact-main, td small {
  display: block;
}

.contact-main {
  color: #425067;
}

.contact-main + small {
  color: #97a1b0;
  margin-top: 3px;
  font-size: 11px;
}

.status {
  color: #8a4550;
  white-space: nowrap;
  background: #fff0f1;
  border: 1px solid #f7dcdf;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 10.5px;
  font-weight: 750;
  display: inline-flex;
}

.status.active {
  color: #087659;
  background: #e8f7f1;
  border-color: #c9ecdf;
}

.status.pending {
  color: #a7620b;
  background: #fff5df;
  border-color: #f3e2ba;
}

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

.loading-screen {
  min-height: 100dvh;
  color: var(--muted);
  place-content: center;
  place-items: center;
  font-size: 13.5px;
  display: grid;
}

.inline-loading {
  min-height: calc(100vh - 68px);
  color: var(--muted);
  place-content: center;
  place-items: center;
  display: grid;
}

.loader {
  border: 3px solid #dbe5f4;
  border-top-color: #2c67d7;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  animation: .8s linear infinite spin;
}

.loading-screen button {
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  padding: 9px 13px;
}

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

.skeleton {
  background: #e9eef5;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.skeleton:after {
  content: "";
  background: linear-gradient(90deg, #0000, #ffffffa6, #0000);
  animation: 1.4s infinite shimmer;
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

.sidebar-backdrop {
  display: none;
}

.shell-error, .page-error, .page-notice {
  margin: 0;
  padding: 11px 14px;
  font-size: 12.5px;
}

.shell-error, .page-error {
  color: #a52319;
  background: #fff1f0;
}

.page-error, .page-notice {
  border: 1px solid #f6d8d5;
  border-radius: 10px;
  margin-bottom: 17px;
}

.page-notice {
  color: #087659;
  background: #e8f7f1;
  border-color: #c9ecdf;
}

.success-banner {
  color: #087659;
  background: #e8f7f1;
  border: 1px solid #c9ecdf;
  border-radius: 10px;
  margin: 0 0 17px;
  padding: 13px 16px;
  font-size: 12.5px;
  font-weight: 600;
}

.notice-card {
  color: #93630c;
  background: #fff8e7;
  border: 1px solid #f3e2ba;
  border-radius: 12px;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 20px;
  padding: 14px 16px;
  display: flex;
}

.notice-card > strong {
  color: #7c5207;
  font-size: 12.5px;
  font-weight: 800;
}

.notice-card > span {
  color: #a4762a;
  font-size: 12px;
  line-height: 1.55;
}

.notice-card-success {
  color: #087659;
  background: #e8f7f1;
  border-color: #c9ecdf;
}

.notice-card-success > strong {
  color: #065f46;
}

.notice-card-success > span {
  color: #52856f;
}

.settings-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: #fff;
  border: 1px solid #e8edf4;
  margin-top: 18px;
  overflow: hidden;
}

.settings-heading {
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  gap: 12px;
  padding: 19px 24px;
  display: flex;
}

.settings-heading > span {
  color: #2865d3;
  background: linear-gradient(135deg, #eef4ff, #dce9ff);
  border-radius: 11px;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
}

.settings-heading svg {
  width: 21px;
}

.settings-heading h2 {
  font: 750 17.5px var(--font-manrope), var(--font-inter), sans-serif;
  margin: 0;
}

.settings-heading p {
  color: var(--muted);
  margin: 5px 0 0;
  font-size: 12px;
}

.settings-form {
  padding: 22px;
}

.form-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  display: grid;
}

.settings-form label, .wide-field {
  color: #46546a;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  display: grid;
}

.settings-form input, .settings-form textarea, .season-create input, .table-input {
  color: #26354c;
  width: 100%;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
  background: #fbfcfe;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  outline: 0;
  padding: 11px 12px;
  font-size: 13px;
}

.settings-form input:hover, .settings-form textarea:hover, .season-create input:hover, .table-input:hover {
  border-color: #c9d4e3;
}

.settings-form input:focus, .settings-form textarea:focus, .season-create input:focus, .table-input:focus {
  background: #fff;
  border-color: #5d8ff0;
  box-shadow: 0 0 0 4px #edf3ff;
}

.settings-form input:disabled, .settings-form textarea:disabled, .table-input:disabled {
  color: #647084;
  background: #f2f4f7;
}

.wide-field {
  margin-top: 16px;
}

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

.save-button, .season-create button, .row-save {
  color: #fff;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), filter .16s var(--ease);
  background: linear-gradient(135deg, #3373e0, #2458c4);
  border: 0;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 750;
  display: flex;
  box-shadow: 0 6px 14px #2563eb2e;
}

.save-button:hover:not(:disabled), .season-create button:hover:not(:disabled), .row-save:hover:not(:disabled) {
  filter: saturate(1.08);
  transform: translateY(-1px);
  box-shadow: 0 9px 18px #2563eb3d;
}

.save-button:active:not(:disabled), .season-create button:active:not(:disabled), .row-save:active:not(:disabled) {
  transform: translateY(0)scale(.99);
}

.save-button {
  margin: 18px 0 0 auto;
  padding: 11px 16px;
}

.save-button:disabled, .season-create button:disabled, .row-save:disabled {
  cursor: wait;
  opacity: .6;
}

.season-create {
  border-bottom: 1px solid var(--line-soft);
  background: #fafbfd;
  grid-template-columns: 180px 1fr 130px 145px;
  gap: 11px;
  padding: 18px 24px;
  display: grid;
}

.season-create button {
  padding: 0 13px;
}

.table-input {
  min-width: 190px;
  padding: 9px 10px;
  font-size: 12px;
}

.period-input {
  min-width: 90px;
  max-width: 120px;
}

.row-save {
  padding: 9px 12px;
}

.level-create, .class-create {
  border-bottom: 1px solid var(--line-soft);
  background: #fafbfd;
  gap: 11px;
  padding: 18px 24px;
  display: grid;
}

.level-create {
  grid-template-columns: 100px 1fr 100px 90px 110px;
}

.class-create {
  grid-template-columns: repeat(6, minmax(110px, 1fr)) 120px;
}

.level-create input, .class-create input, .class-create select {
  color: #26354c;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  outline: 0;
  min-width: 0;
  padding: 11px 12px;
  font-size: 12.5px;
}

.level-create input:focus, .class-create input:focus, .class-create select:focus {
  border-color: #5d8ff0;
  box-shadow: 0 0 0 4px #edf3ff;
}

.level-create label {
  color: #536176;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  display: flex;
}

.level-create label input {
  width: auto;
}

.level-create button, .class-create button {
  color: #fff;
  background: linear-gradient(135deg, #3373e0, #2458c4);
  border: 0;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 750;
  display: flex;
}

.scope-warning {
  color: #93630c;
  background: #fff8e7;
  border-bottom: 1px solid #f3e6bf;
  margin: 0;
  padding: 13px 24px;
  font-size: 12px;
}

.module-tabs {
  background: #e9eef5;
  border-radius: 12px;
  gap: 5px;
  width: fit-content;
  margin: 18px 0 22px;
  padding: 4px;
  display: flex;
}

.module-tabs a, .module-tabs button {
  color: #68778c;
  white-space: nowrap;
  transition: color .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease);
  background: none;
  border: 0;
  border-radius: 9px;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  display: flex;
}

.module-tabs a:hover, .module-tabs button:hover {
  color: #3d5c86;
}

.module-tabs a.active, .module-tabs button.active {
  color: #245fc9;
  background: #fff;
  box-shadow: 0 2px 8px #192d4b1f;
}

.module-tabs svg {
  flex: none;
}

.compact-create {
  border-bottom: 1px solid var(--line-soft);
  background: #fafbfd;
  gap: 10px;
  padding: 16px 24px;
  display: grid;
}

.compact-create input, .catalog-search input, .catalog-search select {
  color: #26354c;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  outline: 0;
  min-width: 0;
  padding: 10px 11px;
  font-size: 12.5px;
}

.compact-create input:focus, .catalog-search input:focus, .catalog-search select:focus {
  border-color: #5d8ff0;
  box-shadow: 0 0 0 4px #edf3ff;
}

.compact-create button, .catalog-search > button {
  color: #fff;
  background: linear-gradient(135deg, #3373e0, #2458c4);
  border: 0;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 750;
  display: flex;
}

.group-create {
  grid-template-columns: 180px 1fr 140px;
}

.course-create {
  grid-template-columns: 130px 1fr 150px 130px 100px 120px;
}

.topic-create {
  grid-template-columns: 120px 130px 1.2fr 1fr 120px;
}

.short-input {
  min-width: 105px;
  max-width: 160px;
}

.number-input {
  min-width: 70px;
  max-width: 95px;
}

.catalog-search {
  border-bottom: 1px solid var(--line-soft);
  gap: 10px;
  padding: 13px 24px;
  display: flex;
}

.catalog-search select {
  width: 240px;
}

.catalog-search label {
  color: #8490a3;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  width: 280px;
  padding: 0 10px;
  display: flex;
}

.catalog-search label input {
  border: 0;
  width: 100%;
  padding: 10px 0;
}

.catalog-search > button {
  padding: 0 18px;
}

.pagination {
  color: #748096;
  border-top: 1px solid var(--line-soft);
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
  padding: 13px 24px;
  font-size: 11px;
  display: flex;
}

.pagination span {
  margin-right: 7px;
}

.pagination button {
  color: #526077;
  width: 32px;
  height: 32px;
  transition: border-color .16s var(--ease), color .16s var(--ease), background .16s var(--ease);
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  place-items: center;
  display: grid;
}

.pagination button:hover:not(:disabled) {
  color: #245fc9;
  background: #f4f8ff;
  border-color: #bcd2f6;
}

.pagination button:disabled {
  cursor: default;
  opacity: .4;
}

.pagination svg {
  width: 15px;
}

.primary-link {
  color: #fff;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
  background: linear-gradient(135deg, #3373e0, #2458c4);
  border-radius: 10px;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  display: flex;
  box-shadow: 0 6px 14px #2563eb2e;
}

.primary-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 18px #2563eb42;
}

.student-list-card {
  margin-top: 0;
}

.student-filters {
  border-bottom: 1px solid var(--line-soft);
  background: #fafbfd;
  grid-template-columns: minmax(240px, 1.5fr) repeat(4, minmax(120px, 1fr)) 105px;
  gap: 9px;
  padding: 16px 20px;
  display: grid;
}

.filter-row {
  border-bottom: 1px solid var(--line-soft);
  background: #fafbfd;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  display: flex;
}

.filter-row > .filter-search {
  flex: 220px;
}

.filter-row select, .filter-row .filter-search {
  min-width: 0;
}

.student-filters select, .student-filters input {
  color: #354259;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  outline: 0;
  min-width: 0;
  padding: 10px 11px;
  font-size: 12px;
}

.student-filters select:focus, .student-filters input:focus {
  border-color: #5d8ff0;
  box-shadow: 0 0 0 4px #edf3ff;
}

.filter-search {
  color: #8995a7;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  display: flex;
}

.filter-search input {
  border: 0;
  width: 100%;
  padding: 10px 0;
}

.student-filters > button {
  color: #fff;
  background: linear-gradient(135deg, #3373e0, #2458c4);
  border: 0;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 750;
  display: flex;
}

.student-link {
  text-decoration: none;
}

.card-loading {
  color: #748096;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 160px;
  font-size: 12px;
  display: flex;
}

.card-loading .loader {
  width: 25px;
  height: 25px;
}

.list-pagination {
  color: #748096;
  border-top: 1px solid var(--line-soft);
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
  padding: 13px 20px;
  font-size: 11px;
  display: flex;
}

.list-pagination span {
  margin-right: 8px;
}

.list-pagination button {
  color: #536176;
  width: 32px;
  height: 32px;
  transition: border-color .16s var(--ease), color .16s var(--ease), background .16s var(--ease);
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  place-items: center;
  display: grid;
}

.list-pagination button:hover:not(:disabled) {
  color: #245fc9;
  background: #f4f8ff;
  border-color: #bcd2f6;
}

.list-pagination button:disabled {
  cursor: default;
  opacity: .4;
}

.list-pagination svg {
  width: 15px;
}

.record-toolbar {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  display: flex;
}

.record-toolbar > a {
  color: #607087;
  transition: color .16s var(--ease);
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
}

.record-toolbar > a:hover {
  color: #245fc9;
}

.record-actions {
  align-items: center;
  gap: 10px;
  display: flex;
}

.toolbar-save {
  margin: 0;
}

.student-hero {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: linear-gradient(120deg, #fff, #f7faff);
  border: 1px solid #e3e9f1;
  align-items: center;
  gap: 18px;
  padding: 22px;
  display: flex;
}

.student-hero h1 {
  font: 750 26px var(--font-manrope), var(--font-inter), sans-serif;
  letter-spacing: -.02em;
  margin: 0;
}

.student-hero p:last-of-type {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 12px;
}

.student-photo {
  color: #7691b6;
  background: linear-gradient(135deg, #eef4fb, #e0eaf8);
  border-radius: 20px;
  flex: none;
  place-items: center;
  width: 84px;
  height: 84px;
  display: grid;
  position: relative;
}

.student-photo > svg {
  width: 38px;
  height: 38px;
}

.student-photo img {
  object-fit: cover;
  border-radius: 20px;
  width: 100%;
  height: 100%;
}

.student-photo label {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #3373e0, #2458c4);
  border: 3px solid #fff;
  border-radius: 50%;
  place-items: center;
  width: 33px;
  height: 33px;
  display: grid;
  position: absolute;
  bottom: -6px;
  right: -6px;
  box-shadow: 0 4px 10px #2563eb59;
}

.student-photo label svg {
  width: 14px;
}

.student-photo input {
  display: none;
}

.photo-remove {
  color: #a23d42;
  transition: background .16s var(--ease);
  background: none;
  border: 0;
  border-radius: 7px;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding: 6px 8px;
  font-size: 11px;
  display: flex;
}

.photo-remove:hover {
  background: #fff0f1;
}

.record-tabs {
  background: #e9eef5;
  border-radius: 12px;
  gap: 5px;
  margin: 18px 0 12px;
  padding: 4px;
  display: flex;
  overflow-x: auto;
}

.record-tabs a, .record-tabs button {
  color: #68778c;
  white-space: nowrap;
  transition: color .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease);
  background: none;
  border: 0;
  border-radius: 9px;
  flex: none;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  display: flex;
}

.record-tabs a:hover, .record-tabs button:hover {
  color: #3d5c86;
}

.record-tabs a.active, .record-tabs button.active {
  color: #245fc9;
  background: #fff;
  box-shadow: 0 2px 8px #192d4b1f;
}

.record-tabs svg {
  flex: none;
}

@media (min-width: 801px) {
  .record-tabs {
    scrollbar-width: thin;
  }
}

.student-form-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: #fff;
  border: 1px solid #e3e9f1;
  padding: 22px;
}

.student-field-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  display: grid;
}

.student-field {
  color: #46546a;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  display: grid;
}

.student-field > span {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.student-field code {
  color: #98a3b3;
  font: 500 9px monospace;
}

.student-field input, .student-field select, .student-field textarea {
  color: #26354c;
  width: 100%;
  min-width: 0;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
  background: #fbfcfe;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  outline: 0;
  padding: 11px 12px;
  font-size: 12.5px;
}

.student-field textarea {
  resize: vertical;
  min-height: 78px;
}

.student-field input:focus, .student-field select:focus, .student-field textarea:focus {
  background: #fff;
  border-color: #5d8ff0;
  box-shadow: 0 0 0 4px #edf3ff;
}

.student-field input:disabled, .student-field select:disabled, .student-field textarea:disabled {
  background: #f1f4f7;
}

.student-form-card > .student-field {
  max-width: 440px;
  margin-bottom: 16px;
}

.form-hint {
  color: #6e788a;
  background: #f5f7fa;
  border-radius: 9px;
  margin: 18px 0 0;
  padding: 11px 13px;
  font-size: 11.5px;
}

.related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  display: grid;
}

.related-error {
  grid-column: 1 / -1;
}

.related-card {
  min-width: 0;
  box-shadow: var(--shadow-sm);
  background: #fff;
  border: 1px solid #e3e9f1;
  border-radius: 14px;
  overflow: hidden;
}

.related-card h3 {
  color: #34435a;
  border-bottom: 1px solid var(--line-soft);
  font: 750 13.5px var(--font-manrope), var(--font-inter), sans-serif;
  background: #fafbfd;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 15px 17px;
  display: flex;
}

.related-card h3 svg {
  color: #3471de;
  width: 17px;
}

.inline-add {
  border-bottom: 1px solid #edf0f4;
  gap: 7px;
  padding: 11px 13px;
  display: flex;
}

.inline-add input, .inline-add select {
  color: #354259;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  outline: 0;
  flex: 1;
  min-width: 0;
  padding: 9px 10px;
  font-size: 11.5px;
}

.inline-add input:focus, .inline-add select:focus {
  border-color: #5d8ff0;
  box-shadow: 0 0 0 3px #edf3ff;
}

.inline-add button {
  color: #fff;
  background: #2865d3;
  border: 0;
  border-radius: 8px;
  place-items: center;
  width: 36px;
  display: grid;
}

.inline-add button svg {
  width: 14px;
}

.empty-related {
  color: #929dac;
  text-align: center;
  margin: 0;
  padding: 20px;
  font-size: 11.5px;
}

.compact-rows {
  max-height: 310px;
  overflow: auto;
}

.compact-rows > div {
  border-top: 1px solid #edf0f4;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  display: flex;
}

.compact-rows > div:first-child {
  border-top: 0;
}

.compact-rows span {
  color: #4a586d;
  overflow-wrap: anywhere;
  flex: 1;
  min-width: 0;
  font-size: 11px;
  display: grid;
}

.compact-rows small {
  color: #9aa4b3;
  text-transform: uppercase;
  margin-bottom: 3px;
  font-size: 9px;
}

.compact-rows button {
  color: #a23d42;
  width: 30px;
  height: 30px;
  transition: background .16s var(--ease);
  background: #fff0f1;
  border: 0;
  border-radius: 8px;
  flex: none;
  place-items: center;
  display: grid;
}

.compact-rows button:hover {
  background: #ffe4e3;
}

.compact-rows button svg {
  width: 12px;
}

.finance-mini {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 13px;
  display: grid;
}

.finance-mini span {
  color: #7a8799;
  background: #f7f9fc;
  border-radius: 9px;
  gap: 5px;
  padding: 12px;
  font-size: 10.5px;
  display: grid;
}

.finance-mini strong {
  color: #27364c;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
}

.heading-actions {
  align-items: center;
  gap: 8px;
  display: flex;
}

.secondary-link {
  color: #526177;
  box-shadow: var(--shadow-sm);
  transition: border-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  display: flex;
}

.secondary-link:hover {
  color: #245fc9;
  border-color: #bcd2f6;
  transform: translateY(-1px);
}

.teacher-filters {
  grid-template-columns: minmax(300px, 1fr) 180px 110px;
}

.teacher-related-grid {
  grid-template-columns: 1fr;
}

.teacher-related-card {
  overflow: visible;
}

.relation-form {
  background: #fafbfd;
  border-bottom: 1px solid #edf0f4;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
  padding: 12px 14px;
  display: grid;
}

.relation-form + .relation-form {
  padding-top: 0;
}

.relation-form input, .relation-form select {
  color: #354259;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 9px;
  outline: 0;
  min-width: 0;
  padding: 10px 11px;
  font-size: 11.5px;
}

.relation-form input:focus, .relation-form select:focus {
  border-color: #5d8ff0;
  box-shadow: 0 0 0 3px #edf3ff;
}

.relation-form button {
  color: #fff;
  min-height: 38px;
  transition: background .16s var(--ease);
  background: #2865d3;
  border: 0;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  font-size: 11.5px;
  font-weight: 750;
  display: flex;
}

.relation-form button:hover:not(:disabled) {
  background: #2458c4;
}

.relation-form button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.relation-form button svg {
  width: 14px;
}

.relation-form-wide {
  grid-template-columns: repeat(4, minmax(145px, 1fr));
}

.check-field {
  color: #536176;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 9px;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 10px;
  font-size: 11.5px;
  display: flex;
}

.check-field input {
  width: auto;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.teacher-rows {
  max-height: 380px;
}

.teacher-rows > div {
  min-width: 700px;
}

.finance-record-link {
  color: #2865d3;
  transition: background .16s var(--ease);
  background: #f8faff;
  border-top: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;
  padding: 11px 13px;
  font-size: 11.5px;
  font-weight: 750;
  text-decoration: none;
  display: block;
}

.finance-record-link:hover {
  background: #eff4ff;
}

.finance-tabs {
  margin-bottom: 22px;
}

.finance-tabs a {
  align-items: center;
  gap: 7px;
  display: flex;
}

.finance-export-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.finance-stat-grid {
  margin-bottom: 18px;
}

.finance-overview-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, .55fr);
  gap: 18px;
  display: grid;
}

.finance-overview-grid .data-card {
  margin-top: 0;
}

.finance-bars {
  align-items: end;
  gap: 13px;
  height: 245px;
  padding: 28px 24px 19px;
  display: flex;
}

.finance-bars > div {
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-width: 17px;
  height: 100%;
  display: flex;
}

.finance-bars > div > span {
  width: 100%;
  max-width: 34px;
  min-height: 5px;
  transition: filter .18s var(--ease);
  background: linear-gradient(#4e83eb, #2563c9);
  border-radius: 6px 6px 2px 2px;
  box-shadow: 0 5px 12px #2563c92e;
}

.finance-bars > div:hover > span {
  filter: saturate(1.2) brightness(1.05);
}

.finance-bars small {
  color: #8c98aa;
  font-size: 10px;
}

.finance-type-list {
  padding: 10px 20px;
}

.finance-type-list > div {
  color: #46546a;
  border-top: 1px solid #edf0f4;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 13px 2px;
  font-size: 12px;
  display: flex;
}

.finance-type-list > div:first-child {
  border-top: 0;
}

.finance-type-list span {
  gap: 3px;
  font-weight: 700;
  display: grid;
}

.finance-type-list small {
  color: #929dac;
  font-size: 10.5px;
  font-weight: 500;
}

.finance-type-list strong {
  color: #26354c;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.finance-account-filters {
  grid-template-columns: minmax(300px, 1fr) 220px 110px;
}

.finance-list-filters {
  grid-template-columns: minmax(250px, 1.4fr) repeat(3, minmax(130px, .7fr)) 110px;
}

.finance-list-card, .finance-accounts-card {
  margin-top: 18px;
}

.finance-danger {
  color: #b42318 !important;
}

.finance-hero {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  display: grid;
}

.finance-hero-icon {
  color: #2c66ce;
  background: linear-gradient(135deg, #eef4ff, #dce9ff);
  border-radius: 20px;
  place-items: center;
  width: 74px;
  height: 74px;
  display: grid;
}

.finance-hero-icon svg {
  width: 33px;
  height: 33px;
}

.finance-hero-totals {
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 10px;
  display: grid;
}

.finance-hero-totals > span {
  color: #7a8799;
  background: #f6f8fb;
  border: 1px solid #e8edf3;
  border-radius: 11px;
  gap: 7px;
  min-width: 120px;
  padding: 13px 15px;
  font-size: 10.5px;
  display: grid;
}

.finance-hero-totals strong {
  color: #27364c;
  font: 750 15px var(--font-manrope), var(--font-inter), sans-serif;
  font-variant-numeric: tabular-nums;
}

.finance-section-heading {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  display: flex;
}

.finance-section-heading h2 {
  font: 750 18px var(--font-manrope), var(--font-inter), sans-serif;
  letter-spacing: -.01em;
  margin: 0;
}

.finance-section-heading p {
  color: #7a8799;
  margin: 5px 0 0;
  font-size: 11px;
}

.finance-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  display: grid;
}

.finance-detail-grid .related-card {
  overflow: auto;
}

.compact-finance-table th, .compact-finance-table td {
  white-space: nowrap;
  padding: 10px 13px;
}

.finance-plan-list {
  gap: 9px;
  display: grid;
}

.finance-plan-header {
  color: #637188;
  grid-template-columns: minmax(170px, 1fr) repeat(4, minmax(125px, .7fr)) 38px;
  gap: 9px;
  padding: 0 2px 1px;
  font-size: 11px;
  font-weight: 800;
  display: grid;
}

.finance-plan-header span {
  padding: 0 4px;
}

.finance-plan-row {
  grid-template-columns: minmax(170px, 1fr) repeat(4, minmax(125px, .7fr)) 38px;
  gap: 9px;
  display: grid;
}

.finance-discount-section {
  border-top: 1px solid #edf0f4;
  margin-top: 18px;
  padding: 18px 0 4px;
}

.finance-discount-section .finance-section-heading {
  margin-bottom: 10px;
}

.finance-discount-section h3 {
  color: #34435a;
  font: 750 14px var(--font-manrope), var(--font-inter), sans-serif;
  margin: 0;
}

.finance-discount-row {
  grid-template-columns: minmax(180px, 1fr) 150px 170px minmax(180px, 1fr) 38px;
  gap: 9px;
  margin-top: 9px;
  display: grid;
}

.finance-discount-row input, .finance-discount-row select {
  color: #26354c;
  background: #fbfcfe;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  outline: 0;
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  font-size: 12px;
}

.finance-plan-row input, .finance-plan-row select, .finance-form-grid input, .finance-form-grid select, .invoice-lines input, .finance-definition-form input, .finance-definition-form select, .finance-registration-form input {
  color: #26354c;
  width: 100%;
  min-width: 0;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
  background: #fbfcfe;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  outline: 0;
  padding: 11px 12px;
  font-size: 12px;
}

.finance-plan-row input:focus, .finance-plan-row select:focus, .finance-form-grid input:focus, .finance-form-grid select:focus, .invoice-lines input:focus, .finance-definition-form input:focus, .finance-definition-form select:focus, .finance-registration-form input:focus {
  background: #fff;
  border-color: #5d8ff0;
  box-shadow: 0 0 0 4px #edf3ff;
}

.finance-plan-row input:disabled, .finance-plan-row select:disabled {
  background: #f1f4f7;
}

.danger-icon, .table-danger-button {
  color: #a23d42;
  transition: background .16s var(--ease);
  background: #fff0f1;
  border: 0;
  border-radius: 9px;
  place-items: center;
  display: grid;
}

.danger-icon:hover:not(:disabled), .table-danger-button:hover:not(:disabled) {
  background: #ffe4e3;
}

.danger-icon {
  min-height: 38px;
}

.danger-icon svg, .table-danger-button svg {
  width: 14px;
}

.table-danger-button {
  width: 32px;
  height: 32px;
}

.finance-add-row {
  width: fit-content;
  margin-top: 12px;
}

.finance-notes {
  margin-top: 15px;
}

.finance-form-grid {
  border-bottom: 1px solid #edf0f4;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  display: grid;
}

.finance-form-grid label, .finance-registration-form label {
  color: #46546a;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  display: grid;
}

.finance-form-grid .finance-wide-field {
  grid-column: span 2;
}

.finance-form-grid .save-button {
  align-self: end;
  min-height: 40px;
  margin: 0;
}

.finance-collection-assist {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
  display: grid;
}

.finance-collection-assist > div {
  background: #f7f9fc;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  display: grid;
}

.finance-collection-assist span, .finance-allocation-preview span {
  color: #6f7d91;
  text-transform: uppercase;
  font-size: 10.5px;
  font-weight: 800;
}

.finance-collection-assist strong {
  color: #27364c;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.finance-collection-assist .finance-collection-actions {
  align-items: center;
  gap: 8px;
  display: flex;
}

.finance-collection-actions .secondary-link {
  white-space: normal;
  min-height: 34px;
  padding: 0 10px;
  font-size: 11px;
}

.finance-allocation-preview {
  color: #2d3a50;
  background: #fdf8ec;
  border: 1px solid #f1dfb8;
  border-radius: 8px;
  gap: 6px;
  margin: -2px 0 14px;
  padding: 11px 12px;
  display: grid;
}

.finance-allocation-preview strong {
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.invoice-lines {
  background: #f8fafc;
  border: 1px solid #e8edf3;
  border-radius: 11px;
  gap: 8px;
  padding: 15px;
  display: grid;
}

.invoice-lines > div {
  grid-template-columns: minmax(200px, 1fr) 100px 140px 100px 38px;
  gap: 8px;
  display: grid;
}

.finance-definition-tabs {
  margin-bottom: 0;
}

.finance-definition-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.finance-definition-grid .data-card {
  min-width: 0;
}

.finance-definition-card .card-heading h2 {
  align-items: center;
  gap: 8px;
  display: flex;
}

.finance-definition-card .card-heading h2 svg {
  color: #3471de;
  width: 19px;
}

.finance-definition-form {
  border-bottom: 1px solid var(--line-soft);
  background: #fafbfd;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 9px;
  padding: 16px 20px;
  display: grid;
}

.finance-definition-form-wide {
  grid-template-columns: repeat(4, minmax(100px, 1fr));
}

.finance-definition-form button, .finance-registration-form > button {
  color: #fff;
  min-height: 40px;
  transition: background .16s var(--ease);
  background: #2865d3;
  border: 0;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 750;
  display: flex;
}

.finance-definition-form button:hover:not(:disabled), .finance-registration-form > button:hover:not(:disabled) {
  background: #2458c4;
}

.finance-definition-form button svg, .finance-registration-form > button svg {
  width: 14px;
}

.finance-definition-form button:disabled, .finance-registration-form > button:disabled {
  opacity: .55;
}

.finance-registration-form {
  border-bottom: 1px solid var(--line-soft);
  background: #fafbfd;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  padding: 18px 20px;
  display: grid;
}

.finance-registration-form > button {
  align-self: end;
}

.finance-card-form {
  grid-template-columns: repeat(4, minmax(130px, 1fr));
}

.finance-counter-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 18px 20px;
  display: grid;
}

.finance-counter-grid span, .finance-cash-stats span {
  color: #7a8799;
  background: #f7f9fc;
  border-radius: 10px;
  gap: 6px;
  padding: 14px;
  font-size: 10.5px;
  display: grid;
}

.finance-counter-grid strong, .finance-cash-stats strong {
  color: #27364c;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
}

.finance-cash-stats {
  border-bottom: 1px solid #edf0f4;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 15px 20px;
  display: grid;
}

.system-page .primary-link {
  border: 0;
}

.system-tabs {
  margin-bottom: 20px;
}

.system-tabs a {
  align-items: center;
  gap: 7px;
  display: flex;
}

.system-create-card {
  margin: 0 0 18px;
}

.system-create-card .card-heading h2 {
  align-items: center;
  gap: 8px;
  display: flex;
}

.system-create-card .card-heading h2 svg {
  color: #2d67d1;
}

.system-mode-buttons {
  background: #edf1f6;
  border-radius: 10px;
  gap: 5px;
  padding: 4px;
  display: flex;
}

.system-mode-buttons button {
  color: #68778c;
  transition: color .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease);
  background: none;
  border: 0;
  border-radius: 8px;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  font-size: 11.5px;
  font-weight: 750;
  display: flex;
}

.system-mode-buttons button:hover {
  color: #3d5c86;
}

.system-mode-buttons button.active {
  color: #245fc9;
  background: #fff;
  box-shadow: 0 2px 8px #192d4b1f;
}

.system-user-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  padding: 20px 22px;
  display: grid;
}

.system-user-form > label:not(.system-active-toggle) {
  color: #46546a;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  display: grid;
}

.system-user-form input, .system-user-form select, .role-main-fields input, .audit-filters input, .audit-filters select {
  color: #26354c;
  width: 100%;
  min-width: 0;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
  background: #fbfcfe;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  outline: 0;
  padding: 11px 12px;
  font-size: 12px;
}

.system-user-form input:focus, .system-user-form select:focus, .role-main-fields input:focus, .audit-filters input:focus, .audit-filters select:focus {
  background: #fff;
  border-color: #5d8ff0;
  box-shadow: 0 0 0 4px #edf3ff;
}

.system-user-form .role-checks {
  grid-column: 1 / -1;
}

.system-user-form > .save-button {
  grid-column: 1 / -1;
  width: fit-content;
  margin: 0 0 0 auto;
}

.role-checks {
  border: 1px solid #e3e8ef;
  border-radius: 11px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0 0;
  padding: 13px;
  display: grid;
}

.role-checks legend {
  color: #637087;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 800;
}

.role-checks > label {
  cursor: pointer;
  transition: border-color .16s var(--ease), background .16s var(--ease);
  background: #f8fafc;
  border: 1px solid #edf0f4;
  border-radius: 9px;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  display: flex;
}

.role-checks > label:hover {
  background: #f5f8fc;
  border-color: #d5dde8;
}

.role-checks input {
  width: auto;
  box-shadow: none;
  margin: 2px 0 0;
  padding: 0;
}

.role-checks span {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.role-checks strong {
  color: #3d4b60;
  font-size: 11px;
}

.role-checks small {
  color: #8d98a8;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9.5px;
  overflow: hidden;
}

.system-user-layout {
  grid-template-columns: minmax(620px, 1.5fr) minmax(360px, .7fr);
  align-items: start;
  gap: 18px;
  display: grid;
}

.system-user-layout > .data-card {
  min-width: 0;
  margin-top: 0;
}

.system-user-filters {
  grid-template-columns: minmax(230px, 1fr) 170px 130px 90px;
}

.system-user-list table {
  min-width: 700px;
}

.system-user-list th, .system-user-list td {
  padding-inline: 10px;
}

.system-user-list .student-cell > span:last-child {
  max-width: 165px;
}

.system-user-list .student-cell strong, .system-user-list .student-cell small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.selected-row td {
  background: #f5f8ff;
}

.student-cell > span:last-child {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.student-cell > span:last-child small {
  color: #929dac;
  font-size: 9.5px;
}

.role-chip-list {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}

.role-chip-list span {
  color: #315f9f;
  white-space: nowrap;
  background: #edf4ff;
  border-radius: 20px;
  padding: 5px 8px;
  font-size: 9.5px;
  font-weight: 700;
}

.system-user-editor {
  position: sticky;
  top: 88px;
}

.system-empty-editor {
  color: #8c98aa;
  text-align: center;
  place-content: center;
  place-items: center;
  min-height: 310px;
  padding: 35px;
  display: grid;
}

.system-empty-editor > svg {
  color: #92a8c9;
  width: 38px;
  height: 38px;
}

.system-empty-editor h2 {
  color: #405069;
  font: 750 17px var(--font-manrope), var(--font-inter), sans-serif;
  margin: 14px 0 6px;
}

.system-empty-editor p {
  max-width: 300px;
  margin: 0;
  font-size: 11.5px;
  line-height: 1.6;
}

.system-edit-form {
  display: block;
}

.system-edit-form > label:not(.system-active-toggle) {
  margin-bottom: 12px;
}

.system-edit-form label span small {
  color: #98a3b3;
  margin-left: 5px;
  font-weight: 500;
}

.system-active-toggle {
  color: #425067;
  background: #f8fafc;
  border: 1px solid #e5eaf0;
  border-radius: 9px;
  align-items: center;
  gap: 8px;
  margin: 5px 0 13px;
  padding: 11px 12px;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
}

.system-active-toggle input {
  width: auto;
  margin: 0;
  padding: 0;
}

.system-editor-actions {
  justify-content: space-between;
  gap: 9px;
  margin-top: 16px;
  display: flex;
}

.system-editor-actions .save-button {
  margin: 0;
}

.system-editor-actions button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.system-edit-form > .form-hint {
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
  display: flex;
}

.legacy-user-card {
  margin-top: 18px;
}

.legacy-user-card .secondary-link {
  border: 1px solid #dfe5ec;
}

.role-management-layout {
  grid-template-columns: minmax(260px, .45fr) minmax(650px, 1.55fr);
  align-items: start;
  gap: 18px;
  display: grid;
}

.role-management-layout > .data-card {
  min-width: 0;
  margin-top: 0;
}

.role-list {
  display: grid;
}

.role-list > button {
  color: #435168;
  text-align: left;
  transition: background .14s var(--ease);
  background: #fff;
  border: 0;
  border-top: 1px solid #edf0f4;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  display: grid;
}

.role-list > button:first-child {
  border-top: 0;
}

.role-list > button:hover, .role-list > button.active {
  background: #f5f8ff;
}

.role-list > button.active {
  box-shadow: inset 3px 0 #2d67d1;
}

.role-list-icon {
  color: #3268c9;
  background: linear-gradient(135deg, #eef4ff, #dce9ff);
  border-radius: 9px;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.role-list-icon svg {
  width: 16px;
}

.role-list > button > span:nth-child(2) {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.role-list strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.5px;
  overflow: hidden;
}

.role-list small {
  color: #929dac;
  font-size: 9.5px;
}

.role-user-count {
  color: #758197;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  display: flex;
}

.system-role-badge, .custom-role-badge {
  border-radius: 20px;
  padding: 5px 9px;
  font-size: 9.5px;
  font-weight: 800;
}

.system-role-badge {
  color: #315f9f;
  background: #edf4ff;
}

.custom-role-badge {
  color: #6b4aaa;
  background: #f3efff;
}

.role-editor-form {
  padding: 20px 22px;
}

.role-main-fields {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}

.role-main-fields label {
  color: #46546a;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  display: grid;
}

.role-main-fields .role-description {
  grid-column: 1 / -1;
}

.role-main-fields input:disabled {
  color: #768397;
  background: #f1f4f7;
}

.permission-matrix {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 17px;
  display: grid;
}

.permission-matrix > section {
  border: 1px solid #e3e8ef;
  border-radius: 11px;
  overflow: hidden;
}

.permission-matrix > section > div {
  border-bottom: 1px solid var(--line-soft);
  background: #f7f9fc;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  display: flex;
}

.permission-matrix label {
  color: #405069;
  cursor: pointer;
  transition: background .14s var(--ease);
  border-top: 1px solid #edf0f4;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 12px;
  display: flex;
}

.permission-matrix label:hover {
  background: #f8fafd;
}

.permission-matrix > section > div label {
  border: 0;
  padding: 0;
}

.permission-matrix > section > label:first-of-type {
  border-top: 0;
}

.permission-matrix input {
  width: auto;
  margin: 2px 0 0;
}

.permission-matrix span {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.permission-matrix strong {
  font-size: 10.5px;
}

.permission-matrix small {
  color: #8d98a8;
  font-size: 9.5px;
}

.permission-matrix > section > div > small {
  white-space: nowrap;
}

.role-editor-actions {
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  display: flex;
}

.role-editor-actions .save-button {
  margin: 0;
}

.danger-button {
  color: #a23d42;
  transition: background .16s var(--ease);
  background: #fff0f1;
  border: 1px solid #f6d8d5;
  border-radius: 9px;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  font-size: 11.5px;
  font-weight: 750;
  display: flex;
}

.danger-button:hover:not(:disabled) {
  background: #ffe4e3;
}

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

.audit-card {
  margin-top: 0;
}

.audit-filters {
  border-bottom: 1px solid var(--line-soft);
  background: #fafbfd;
  grid-template-columns: minmax(250px, 1.4fr) 150px 180px 135px 135px 90px;
  gap: 9px;
  padding: 16px 20px;
  display: grid;
}

.audit-filters .filter-search {
  min-width: 0;
}

.audit-filters .filter-search input {
  box-shadow: none;
  background: none;
  border: 0;
  padding: 10px 0;
}

.audit-date {
  color: #7d899c;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 700;
  display: grid;
}

.audit-date input {
  padding: 7px 9px;
}

.audit-filters > button {
  color: #fff;
  background: #2865d3;
  border: 0;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 750;
}

.audit-user > span:first-child {
  flex: none;
}

.audit-action {
  color: #315f9f;
  white-space: nowrap;
  background: #edf4ff;
  border-radius: 20px;
  padding: 5px 9px;
  font-size: 9.5px;
  font-weight: 750;
}

.action-delete, .action-cancel {
  color: #9b424a;
  background: #fff0f1;
}

.action-create, .action-link {
  color: #087659;
  background: #e8f7f1;
}

.audit-metadata {
  position: relative;
}

.audit-metadata summary {
  color: #2865d3;
  cursor: pointer;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  list-style: none;
  display: flex;
}

.audit-metadata pre {
  color: #d7e2f1;
  white-space: pre-wrap;
  word-break: break-word;
  background: #16263d;
  border-radius: 9px;
  width: min(520px, 70vw);
  max-height: 280px;
  margin: 8px 0 0;
  padding: 12px;
  font: 10px / 1.55 monospace;
  overflow: auto;
}

.audit-card td code {
  font-size: 9.5px;
}

.attendance-tabs {
  margin-bottom: 20px;
}

.attendance-stat-grid {
  margin-bottom: 18px;
}

.attendance-trend-card, .attendance-record-card {
  margin-top: 18px;
}

.attendance-bars {
  align-items: flex-end;
  gap: 12px;
  height: 225px;
  padding: 25px 22px 18px;
  display: flex;
}

.attendance-bars > div {
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  min-width: 24px;
  height: 100%;
  display: flex;
}

.attendance-bars > div > strong {
  color: #4a586d;
  font-size: 10px;
}

.attendance-bars > div > span {
  background: linear-gradient(#6b97ed, #2865d3);
  border-radius: 6px 6px 2px 2px;
  width: 100%;
  max-width: 38px;
  min-height: 7px;
  box-shadow: 0 5px 12px #2563c929;
}

.attendance-bars > div > small {
  color: #8c98aa;
  white-space: nowrap;
  transform-origin: center;
  font-size: 9px;
  transform: rotate(-28deg);
}

.attendance-bars > .empty-related {
  align-self: center;
  width: 100%;
}

.attendance-filters {
  grid-template-columns: minmax(220px, 1.5fr) repeat(5, minmax(125px, 1fr)) 90px;
}

.table-subline {
  color: #929dac;
  margin-top: 4px;
  font-size: 9.5px;
  display: block;
}

.attendance-row-actions {
  gap: 5px;
  display: flex;
}

.attendance-row-actions button {
  color: #3268c9;
  width: 32px;
  height: 32px;
  transition: background .16s var(--ease);
  background: #edf4ff;
  border: 0;
  border-radius: 8px;
  place-items: center;
  display: grid;
}

.attendance-row-actions button:hover {
  background: #dfeaff;
}

.attendance-row-actions button.danger {
  color: #a23d42;
  background: #fff0f1;
}

.attendance-row-actions button.danger:hover {
  background: #ffe4e3;
}

.attendance-row-actions svg {
  width: 14px;
}

.attendance-slot-form {
  border-bottom: 1px solid var(--line-soft);
  background: #fafbfd;
  grid-template-columns: 160px repeat(2, minmax(180px, 1fr)) 130px 150px;
  gap: 12px;
  padding: 18px 20px;
  display: grid;
}

.attendance-slot-form label, .attendance-report-filters label {
  color: #46546a;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  display: grid;
}

.attendance-slot-form input, .attendance-slot-form select, .attendance-report-filters input, .attendance-report-filters select {
  color: #26354c;
  width: 100%;
  min-width: 0;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  outline: 0;
  padding: 11px 12px;
  font-size: 12px;
}

.attendance-slot-form input:focus, .attendance-slot-form select:focus, .attendance-report-filters input:focus, .attendance-report-filters select:focus {
  border-color: #5d8ff0;
  box-shadow: 0 0 0 4px #edf3ff;
}

.attendance-slot-form > button, .attendance-report-filters > button {
  color: #fff;
  background: #2865d3;
  border: 0;
  border-radius: 10px;
  justify-content: center;
  align-self: end;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  font-size: 11.5px;
  font-weight: 750;
  display: flex;
}

.attendance-entry-empty, .attendance-report-empty {
  color: #8b98aa;
  text-align: center;
  place-content: center;
  place-items: center;
  min-height: 280px;
  padding: 40px;
  display: grid;
}

.attendance-entry-empty svg, .attendance-report-empty svg {
  color: #9cb0cd;
  width: 42px;
  height: 42px;
}

.attendance-entry-empty h2 {
  color: #435168;
  font: 750 17px var(--font-manrope), var(--font-inter), sans-serif;
  margin: 14px 0 5px;
}

.attendance-entry-empty p, .attendance-report-empty p {
  max-width: 390px;
  margin: 0;
  font-size: 11.5px;
  line-height: 1.6;
}

.attendance-roster-heading {
  border-bottom: 1px solid var(--line-soft);
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  display: flex;
}

.attendance-roster-heading h2 {
  font: 750 17.5px var(--font-manrope), var(--font-inter), sans-serif;
  margin: 0;
}

.attendance-roster-heading p {
  color: #7b8799;
  margin: 5px 0 0;
  font-size: 11px;
}

.attendance-roster-heading > div:last-child {
  gap: 8px;
  display: flex;
}

.attendance-roster-heading .save-button {
  margin: 0;
}

.attendance-roster {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 20px;
  display: grid;
}

.attendance-roster article {
  transition: border-color .16s var(--ease);
  background: #f8fafc;
  border: 1px solid #e5eaf0;
  border-radius: 11px;
  overflow: hidden;
}

.attendance-roster article.absent {
  background: #fff8f8;
  border-color: #f0cfd2;
}

.roster-student {
  color: #3d4b60;
  text-align: left;
  background: none;
  border: 0;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  display: flex;
}

.student-avatar {
  color: #3568b8;
  background: linear-gradient(135deg, #edf4ff, #ddeafc);
  border-radius: 9px;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 10px;
  font-weight: 800;
  display: grid;
}

.roster-student > span:nth-child(2) {
  flex: 1;
  gap: 3px;
  min-width: 0;
  display: grid;
}

.roster-student strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.5px;
  overflow: hidden;
}

.roster-student small {
  color: #8d98a8;
  font-size: 9.5px;
}

.roster-student i {
  color: #17765b;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 800;
  display: flex;
}

.roster-student i svg {
  width: 13px;
}

.absent .roster-student i {
  color: #b0444d;
}

.attendance-roster article > input {
  color: #5a3e42;
  background: #fff;
  border: 1px solid #efcfd2;
  border-radius: 8px;
  outline: 0;
  width: calc(100% - 20px);
  margin: 0 10px 10px;
  padding: 9px 10px;
  font-size: 11px;
}

.attendance-roster article > input:focus {
  border-color: #e0959c;
  box-shadow: 0 0 0 3px #fde9ea;
}

.attendance-report-filters {
  border-bottom: 1px solid var(--line-soft);
  background: #fafbfd;
  grid-template-columns: 150px repeat(4, minmax(150px, 1fr)) 110px;
  gap: 11px;
  padding: 18px 20px;
  display: grid;
}

.exam-tabs {
  margin-bottom: 20px;
}

.exam-stat-grid {
  margin-bottom: 18px;
}

.exam-list-card, .exam-result-card {
  margin-top: 18px;
}

.exam-filters {
  grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(125px, 1fr)) 90px;
}

.exam-archive-filters {
  grid-template-columns: minmax(240px, 1.6fr) repeat(2, minmax(140px, 1fr)) 90px;
}

.exam-link {
  color: #2b61bd;
  transition: color .16s var(--ease);
  gap: 3px;
  text-decoration: none;
  display: grid;
}

.exam-link:hover {
  color: #1d4ed8;
}

.exam-link strong {
  font-size: 11.5px;
}

.exam-link small {
  color: #929dac;
  font-size: 9.5px;
}

.exam-link.disabled {
  color: #435168;
  pointer-events: none;
}

.exam-create-card {
  margin-bottom: 18px;
}

.exam-create-form {
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 13px;
  padding: 20px 22px;
  display: grid;
}

.exam-create-form > label:not(.check-field) {
  color: #46546a;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  display: grid;
}

.exam-create-form input, .exam-create-form select, .exam-inline-form input, .exam-inline-form select, .exam-result-form input {
  color: #26354c;
  width: 100%;
  min-width: 0;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
  background: #fbfcfe;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  outline: 0;
  padding: 11px 12px;
  font-size: 12px;
}

.exam-create-form input:focus, .exam-create-form select:focus, .exam-inline-form input:focus, .exam-inline-form select:focus, .exam-result-form input:focus {
  background: #fff;
  border-color: #5d8ff0;
  box-shadow: 0 0 0 4px #edf3ff;
}

.exam-create-form .exam-wide {
  grid-column: span 2;
}

.exam-create-form > .check-field {
  align-self: end;
  min-height: 40px;
}

.exam-create-form > .save-button {
  grid-column: 1 / -1;
  width: fit-content;
  margin-left: auto;
}

.exam-course-fields {
  border: 1px solid #e3e8ef;
  border-radius: 11px;
  grid-column: 1 / -1;
  padding: 14px;
}

.exam-course-fields legend {
  color: #637087;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 800;
}

.exam-course-fields > div {
  grid-template-columns: 25px minmax(200px, 1fr) 130px 34px;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  display: grid;
}

.exam-course-fields > div > strong {
  color: #78869a;
  text-align: center;
  font-size: 10px;
}

.exam-course-fields > div > button, .danger-icon {
  color: #a23d42;
  width: 34px;
  height: 34px;
  transition: background .16s var(--ease);
  background: #fff0f1;
  border: 0;
  border-radius: 8px;
  place-items: center;
  display: grid;
}

.exam-course-fields > div > button:hover, .danger-icon:hover:not(:disabled) {
  background: #ffe4e3;
}

.exam-course-fields svg, .danger-icon svg {
  width: 14px;
}

.exam-course-fields > button {
  color: #2865d3;
  transition: background .16s var(--ease);
  background: #edf4ff;
  border: 0;
  border-radius: 8px;
  align-items: center;
  gap: 5px;
  padding: 9px 11px;
  font-size: 10.5px;
  font-weight: 750;
  display: flex;
}

.exam-course-fields > button:hover {
  background: #dfeaff;
}

.exam-hero {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: linear-gradient(120deg, #fff, #f3f7ff);
  border: 1px solid #e1e7ef;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  padding: 20px 22px;
  display: flex;
}

.exam-hero > span:first-child {
  color: #2d67d1;
  background: linear-gradient(135deg, #eef4ff, #dce9ff);
  border-radius: 12px;
  flex: none;
  place-items: center;
  width: 47px;
  height: 47px;
  display: grid;
}

.exam-hero > div {
  flex: 1;
  min-width: 0;
}

.exam-hero h1 {
  color: #27364c;
  font: 800 23px var(--font-manrope), var(--font-inter), sans-serif;
  letter-spacing: -.02em;
  margin: 2px 0 5px;
}

.exam-hero p {
  color: #78869a;
  margin: 0;
  font-size: 11.5px;
}

.record-toolbar > div {
  gap: 8px;
  display: flex;
}

.record-toolbar .secondary-link svg, .record-toolbar .danger-button svg {
  width: 15px;
}

.exam-detail-tabs {
  margin-bottom: 18px;
}

.exam-detail-tabs button {
  align-items: center;
  gap: 6px;
  display: flex;
}

.exam-detail-tabs button svg {
  width: 15px;
}

.exam-result-filters {
  grid-template-columns: minmax(230px, 1.5fr) 180px 180px 90px;
}

.exam-result-form {
  background: #f8fafe;
  border-bottom: 1px solid #e7ecf2;
  padding: 18px 20px;
}

.exam-result-main {
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  align-items: end;
  gap: 10px;
  display: grid;
}

.exam-result-main > label:not(.check-field) {
  color: #46546a;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
}

.exam-course-results {
  gap: 7px;
  margin-top: 15px;
  display: grid;
}

.exam-course-results > strong {
  color: #46546a;
  font-size: 11px;
}

.exam-course-results > div {
  grid-template-columns: minmax(150px, .8fr) minmax(180px, 1.3fr) repeat(3, 100px);
  align-items: center;
  gap: 7px;
  display: grid;
}

.exam-course-results > div > span {
  color: #536176;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 700;
  overflow: hidden;
}

.exam-result-form .form-actions {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
  display: flex;
}

.exam-result-form .save-button {
  margin: 0;
}

.exam-result-form .secondary-link {
  border: 1px solid #dfe5ec;
}

.exam-content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  display: grid;
}

.exam-content-grid > .data-card {
  min-width: 0;
  margin-top: 0;
}

.exam-inline-form {
  border-bottom: 1px solid var(--line-soft);
  background: #fafbfd;
  gap: 9px;
  padding: 16px 20px;
  display: grid;
}

.exam-inline-form > label {
  color: #536176;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
}

.exam-inline-form > button {
  color: #fff;
  background: #2865d3;
  border: 0;
  border-radius: 9px;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 9px 12px;
  font-size: 10.5px;
  font-weight: 750;
  display: flex;
}

.exam-inline-form > button svg {
  width: 14px;
}

.exam-inline-form.compact {
  grid-template-columns: repeat(2, minmax(120px, 1fr));
}

.exam-inline-form.compact > button {
  align-self: center;
}

.exam-chip-list {
  gap: 9px;
  padding: 16px 20px;
  display: grid;
}

.exam-chip-list article {
  transition: border-color .16s var(--ease);
  background: #f8fafc;
  border: 1px solid #e7ebf0;
  border-radius: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  padding: 12px 13px;
  display: grid;
}

.exam-chip-list article:hover {
  border-color: #d5dde8;
}

.exam-chip-list article strong {
  color: #3f4d62;
  font-size: 11px;
}

.exam-chip-list article span, .exam-chip-list article small {
  color: #7f8b9d;
  grid-column: 1;
  font-size: 9.5px;
  line-height: 1.5;
}

.exam-chip-list article button {
  color: #9a4249;
  background: none;
  border: 0;
  grid-area: 1 / 2 / 3;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 750;
  display: flex;
}

.exam-chip-list article button svg {
  width: 13px;
}

.exam-analysis-buttons {
  gap: 5px;
  display: flex;
}

.exam-analysis-buttons button {
  color: #607088;
  transition: color .16s var(--ease), background .16s var(--ease);
  background: #f1f4f8;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 9.5px;
  font-weight: 750;
}

.exam-analysis-buttons button:hover {
  color: #245fc9;
}

.exam-analysis-buttons button.active {
  color: #fff;
  background: #2865d3;
}

.exam-analysis-card table {
  min-width: 760px;
}

.archive-badge {
  color: #785b26;
  background: #fff6df;
  border: 1px solid #f3e2ba;
  border-radius: 9px;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
}

.archive-badge svg {
  width: 16px;
}

.bottom-nav {
  z-index: 30;
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  background: #ffffffe6;
  grid-template-columns: repeat(5, 1fr);
  display: none;
  position: fixed;
  inset: auto 0 0;
  box-shadow: 0 -8px 24px #0c1b3014;
}

.bottom-nav-item {
  color: #7c8aa0;
  min-height: 52px;
  transition: color .16s var(--ease), background .16s var(--ease);
  background: none;
  border: 0;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
}

.bottom-nav-item:hover {
  color: #3d5c86;
}

.bottom-nav-item.active {
  color: #1d4ed8;
  background: linear-gradient(135deg, #eef4ff, #e0ebff);
}

@media (max-width: 1250px) {
  .student-filters {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .relation-form-wide {
    grid-template-columns: repeat(3, 1fr);
  }

  .attendance-slot-form, .attendance-report-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .exam-course-results > div {
    grid-template-columns: minmax(150px, 1fr) repeat(4, minmax(90px, 1fr));
  }

  .system-user-layout, .role-management-layout {
    grid-template-columns: 1fr;
  }

  .system-user-editor {
    position: static;
  }

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

  .audit-filters .filter-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1200px) {
  .course-create, .topic-create {
    grid-template-columns: repeat(3, 1fr);
  }

  .finance-overview-grid, .finance-detail-grid {
    grid-template-columns: 1fr;
  }

  .finance-collection-assist, .finance-form-grid, .finance-registration-form, .finance-card-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finance-plan-header {
    display: none;
  }

  .finance-plan-row, .finance-discount-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 38px;
  }

  .finance-plan-row .danger-icon, .finance-discount-row .danger-icon {
    grid-area: 1 / 3 / 3;
  }
}

@media (max-width: 1100px) {
  .class-create, .level-create {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1050px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 950px) {
  .exam-content-grid {
    grid-template-columns: 1fr;
  }

  .exam-result-main, .exam-archive-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exam-archive-filters .filter-search {
    grid-column: 1 / -1;
  }

  .finance-definition-grid {
    grid-template-columns: 1fr;
  }

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

  .finance-list-filters .filter-search, .finance-account-filters .filter-search {
    grid-column: 1 / -1;
  }

  .finance-hero {
    grid-template-columns: auto 1fr;
  }

  .finance-hero-totals {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .season-create {
    grid-template-columns: 1fr 1fr;
  }

  .system-user-form, .role-checks, .permission-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-user-filters {
    grid-template-columns: 1fr 1fr;
  }

  .system-user-filters .filter-search {
    grid-column: 1 / -1;
  }

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

@media (max-width: 800px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-story {
    display: none;
  }

  .login-panel {
    min-height: 100dvh;
    padding: 28px 22px;
  }

  .login-card {
    gap: 20px;
  }

  .login-card h2 {
    font-size: clamp(25px, 7vw, 30px);
  }

  .sidebar {
    width: min(312px, 88vw);
    box-shadow: var(--shadow-lg);
    transition: transform .26s var(--ease);
    border-radius: 0 22px 22px 0;
    transform: translateX(-105%);
  }

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

  .mobile-close, .menu-button {
    display: grid;
  }

  .sidebar-backdrop {
    z-index: 15;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    animation: fadeIn .2s var(--ease) both;
    background: #07101f8c;
    border: 0;
    display: block;
    position: fixed;
    inset: 0;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
  }

  .workspace {
    width: 100%;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
    margin: 0;
  }

  .topbar {
    gap: 12px;
    height: auto;
    min-height: 64px;
    padding: 10px 14px;
    position: sticky;
  }

  .menu-button {
    flex: none;
  }

  .context-filter {
    scrollbar-width: none;
    flex: 1;
    gap: 8px;
    padding-bottom: 2px;
    overflow-x: auto;
  }

  .context-filter::-webkit-scrollbar {
    display: none;
  }

  .context-filter label, .context-filter label:first-child {
    flex: none;
    min-width: 120px;
  }

  .context-filter > i {
    display: none;
  }

  .context-filter select {
    font-size: 12.5px;
  }

  .top-actions {
    gap: 6px;
  }

  .top-avatar {
    width: 36px;
    height: 36px;
  }

  .content {
    padding: 22px 16px 28px;
  }

  .page-heading {
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .page-heading > div:first-child {
    flex: 1;
    min-width: 220px;
  }

  .date-chip {
    display: none;
  }

  .bottom-nav {
    display: grid;
  }

  .inline-loading {
    min-height: calc(100vh - 64px);
  }

  .table-wrap {
    margin: 0 -1px;
  }
}

@media (max-width: 700px) {
  .compact-create {
    grid-template-columns: 1fr;
  }

  .catalog-search {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-search select, .catalog-search label {
    width: 100%;
  }

  .catalog-search > button {
    min-height: 40px;
  }

  .relation-form, .relation-form-wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form-grid, .season-create, .class-create, .level-create, .student-filters, .teacher-filters, .student-field-grid, .finance-list-filters, .finance-account-filters, .finance-form-grid, .finance-registration-form, .finance-card-form, .finance-plan-row, .finance-discount-row, .finance-hero-totals, .finance-counter-grid, .finance-cash-stats, .finance-collection-assist, .system-user-form, .role-checks, .permission-matrix, .role-main-fields, .audit-filters, .attendance-slot-form, .attendance-report-filters, .attendance-roster, .exam-create-form, .exam-result-main, .exam-archive-filters {
    grid-template-columns: 1fr;
  }

  .card-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .table-search {
    width: 100%;
  }

  .page-heading h1 {
    font-size: clamp(23px, 6.5vw, 26px);
  }

  .record-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

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

  .student-hero h1 {
    font-size: 21px;
  }

  .heading-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .finance-hero {
    display: flex;
  }

  .finance-hero-totals {
    grid-column: auto;
  }

  .finance-plan-row .danger-icon, .finance-discount-row .danger-icon {
    grid-area: auto;
  }

  .finance-form-grid .finance-wide-field, .role-main-fields .role-description, .system-user-form .role-checks, .system-user-form > .save-button, .audit-filters .filter-search, .exam-create-form .exam-wide, .exam-archive-filters .filter-search {
    grid-column: auto;
  }

  .invoice-lines > div {
    grid-template-columns: 1fr 1fr;
  }

  .invoice-lines .danger-icon {
    min-height: 38px;
  }

  .finance-bars {
    gap: 7px;
    padding-inline: 12px;
  }

  .system-editor-actions, .role-editor-actions, .attendance-roster-heading, .attendance-roster-heading > div:last-child {
    flex-direction: column;
    align-items: stretch;
  }

  .system-editor-actions .save-button, .role-editor-actions .save-button {
    width: 100%;
  }

  .system-mode-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .module-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .module-tabs a {
    flex: none;
  }

  .attendance-bars {
    overflow-x: auto;
  }

  .attendance-bars > div {
    flex: 0 0 42px;
  }

  .exam-course-fields > div {
    grid-template-columns: 22px 1fr 70px 32px;
  }

  .exam-course-results {
    overflow-x: auto;
  }

  .exam-course-results > div {
    min-width: 650px;
  }

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

  .exam-inline-form.compact {
    grid-template-columns: 1fr;
  }

  .stat-card {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    position: relative;
  }

  .stat-card p {
    margin: 0 44px 8px 0;
  }

  .stat-card strong {
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(17px, 5.2vw, 22px);
    display: block;
    overflow: hidden;
  }

  .stat-card div {
    min-width: 0;
  }

  .stat-card div > span {
    margin-top: 7px;
    font-size: 10px;
  }

  .stat-icon {
    border-radius: 10px;
    width: 34px;
    height: 34px;
    position: absolute;
    top: 14px;
    right: 14px;
  }

  .stat-icon svg {
    width: 17px;
    height: 17px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .content {
    padding: 18px 14px 26px;
  }

  .settings-heading {
    padding: 16px 18px;
  }

  .settings-form {
    padding: 18px;
  }

  .data-card, .settings-card {
    border-radius: 14px;
  }

  .page-heading > div:first-child {
    min-width: 100%;
  }
}

@media (max-width: 380px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
}

@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
}

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