/* [project]/src/styles/tokens.css [app-client] (css) */
:root {
  --fac-primary: #005172;
  --fac-primary-deep: #0a3e56;
  --fac-primary-mid: #006b97;
  --fac-primary-tint: #ddebf1;
  --fac-accent: #a85622;
  --fac-accent-mid: #c46a35;
  --fac-accent-deep: #7a3b15;
  --fac-accent-tint: #f5e4d8;
  --fac-secondary: #4b471a;
  --fac-secondary-mid: #6e6a28;
  --fac-secondary-tint: #f0eed8;
  --fac-ink: #13262d;
  --fac-neutral: #d9d6ca;
  --fac-neutral-soft: #f4f3ee;
  --fac-neutral-line: #e7e4da;
  --fac-success: #1f6e43;
  --fac-success-tint: #dfefe5;
  --fac-warning: #7e5200;
  --fac-warning-tint: #f6e8c6;
  --fac-danger: #a32a22;
  --fac-danger-tint: #f8ddd9;
  --fac-info: var(--fac-primary);
  --fac-info-tint: var(--fac-primary-tint);
  --fac-text: var(--fac-ink);
  --fac-text-sub: #4c6169;
  --fac-text-mute: #6c7b80;
  --fac-t-micro: 10.5px;
  --fac-t-cap: 11px;
  --fac-t-sm: 12px;
  --fac-t-base: 13px;
  --fac-t-body: 14px;
  --fac-t-h3: 16px;
  --fac-t-h2: 20px;
  --fac-t-h1: 22px;
  --fac-t-display: 27px;
  --fac-r-xs: 8px;
  --fac-r-sm: 12px;
  --fac-r-md: 16px;
  --fac-r-lg: 24px;
  --fac-r-pill: 999px;
  --fac-ctl-h: 40px;
  --fac-ctl-h-sm: 30px;
  --fac-icon-btn: 42px;
  --fac-elev-1: 0 1px 2px #13262d0a, 0 10px 28px #13262d0f;
  --fac-elev-2: 0 2px 4px #13262d0d, 0 16px 40px #13262d1a;
  --fac-elev-primary: 0 2px 10px #a8562240;
  --fac-ring: 0 0 0 3px #00517229;
  --fac-mod: var(--fac-primary);
  --fac-mod-tint: var(--fac-primary-tint);
}

body.dark {
  --fac-text: #e9eff0;
  --fac-text-sub: #b7c6ca;
  --fac-text-mute: #8fa3a8;
  --fac-neutral: #04090b;
  --fac-neutral-soft: #0c1d23;
  --fac-neutral-line: #1e3740;
  --fac-primary-tint: #00517247;
  --fac-accent-tint: #a8562247;
  --fac-success-tint: #1f6e4340;
  --fac-warning-tint: #7e52004d;
  --fac-danger-tint: #a32a2240;
  --fac-elev-primary: 0 2px 10px #00000080;
  --fac-ring: 0 0 0 3px #78bedc38;
}

/* [project]/src/app/globals.css [app-client] (css) */
@font-face {
  font-family: FuturaCyrillic;
  src: url("/fonts/FuturaCyrillicLight.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: FuturaCyrillic;
  src: url("/fonts/FuturaCyrillicBook.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: FuturaCyrillic;
  src: url("/fonts/FuturaCyrillicMedium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: FuturaCyrillic;
  src: url("/fonts/FuturaCyrillicDemi.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: FuturaCyrillic;
  src: url("/fonts/FuturaCyrillicBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: FuturaCyrillic;
  src: url("/fonts/FuturaCyrillicHeavy.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: FuturaCyrillic;
  src: url("/fonts/FuturaCyrillicExtraBold.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --canvas: #d9d6ca;
  --shell: #f3f2ed;
  --side: #fff;
  --card-2: #f4f3ee;
  --hero: #0a3e56;
  --hero-2: #06526f;
  --s1: #005172;
  --s2: #c9c5b6;
  --sh: 0 1px 2px #13262d0a,0 10px 28px #13262d0f;
  --sh-lg: 0 24px 70px #13262d24;
  --good: #1f6e43;
  --good-bg: #dfefe5;
  --warn: #7e5200;
  --warn-bg: #f6e8c6;
  --crit: #a32a22;
  --crit-bg: #f8ddd9;
  --flat: #4d5f64;
  --flat-bg: #e7e4da;
  --f-display: "FuturaCyrillic",var(--font-inter, "Segoe UI"),system-ui,sans-serif;
  --f-body: "FuturaCyrillic",var(--font-inter, "Segoe UI"),system-ui,sans-serif;
  --f-mono: ui-monospace,"SFMono-Regular",Consolas,monospace;
  --ocean-blue: #005172;
  --ocean-lt: #ddebf1;
  --ocean-mid: #006b97;
  --ocean-dk: #0a3e56;
  --desert-sunset: #a85622;
  --sunset-lt: #f5e4d8;
  --sunset-mid: #c46a35;
  --sunset-dk: #7a3b15;
  --mountain-green: #2e6b4f;
  --green-lt: #dfefe5;
  --green-mid: #3f8a66;
  --night-sky: #13262d;
  --desert-sand: #c2a96b;
  --sand-lt: #f4f3ee;
  --sand-dk: #c9c5b6;
  --morning-mist: #dad7cb;
  --mist-lt: #edece6;
  --mist-dk: #c4c0b2;
  --white: #fff;
  --red: #a32a22;
  --red-lt: #f8ddd9;
  --green: #1f6e43;
  --green-bg: #dfefe5;
  --blue: #005172;
  --blue-lt: #ddebf1;
  --blue-mid: #006b97;
  --blue-dk: #0a3e56;
  --accent: #a85622;
  --accent-lt: #f5e4d8;
  --accent-mid: #c46a35;
  --accent-dk: #7a3b15;
  --burnt: #a85622;
  --burnt-lt: #f5e4d8;
  --olive: #7e5200;
  --olive-lt: #f6e8c6;
  --olive-mid: #9a6a12;
  --sand: #dad7cb;
  --slate: #4d5f64;
  --muted: #6c7b80;
  --teal: #005172;
  --teal-dark: #0a3e56;
  --teal-light: #006b97;
  --rust: #a85622;
  --rust-light: #c7712f;
  --sand-soft: #f4f3ee;
  --text-dark: #13262d;
  --text-mid: #4c6169;
  --text-soft: #6c7b80;
  --success: #1f6e43;
  --warning: #7e5200;
  --danger: #a32a22;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 14px;
  --card: #fff;
  --bg: #d9d6ca;
  --sidebar-bg: #fff;
  --sidebar-text: #4c6169;
  --sidebar-text-active: #13262d;
  --header-bg: transparent;
  --text-main: #13262d;
  --text-sub: #4c6169;
  --text-muted: #6c7b80;
  --card-bg: #fff;
  --card-border: #e7e4da;
  --card-shadow: 0 1px 2px #13262d0a,0 10px 28px #13262d0f;
  --card-hover-shadow: 0 2px 4px #13262d0d,0 16px 40px #13262d1a;
  --card-radius: 24px;
  --border: #e7e4da;
  --row-hover: #eceae2;
  --table-head: #005172;
  --input-bg: #f4f3ee;
  --primary-gradient: linear-gradient(90deg,#a85622,#c7712f);
  --accent-gradient: linear-gradient(90deg,#a85622,#c7712f);
  --brand-gradient: linear-gradient(150deg,#0a3e56,#06526f);
  --shadow-sm: 0 1px 2px #13262d0a,0 10px 28px #13262d0f;
  --shadow-md: 0 2px 4px #13262d0d,0 16px 40px #13262d1a;
}

body.dark {
  --canvas: #04090b;
  --shell: #091419;
  --side: #0d1b21;
  --card: #112329;
  --card-2: #0c1d23;
  --row-hover: #173038;
  --text-main: #e9eff0;
  --text-sub: #b7c6ca;
  --text-muted: #8fa3a8;
  --text-dark: #e9eff0;
  --text-mid: #b7c6ca;
  --text-soft: #8fa3a8;
  --header-bg: #091419cc;
  --border: #1e3740;
  --card-bg: #112329;
  --card-border: #1e3740;
  --input-bg: #0c1d23;
  --card-shadow: 0 1px 2px #0000004d,0 10px 28px #00000047;
  --card-hover-shadow: 0 2px 4px #0006,0 16px 40px #00000059;
  --sand-soft: #0c1d23;
  --sand: #35505a;
  --sand-lt: #173038;
  --sand-dk: #28424b;
  --sidebar-bg: #0d1b21;
  --sidebar-text: #8fa3a8;
  --sidebar-text-active: #e9eff0;
  --ocean-blue: #3e9fc4;
  --ocean-lt: #153847;
  --ocean-mid: #3e9fc4;
  --ocean-dk: #0f4660;
  --desert-sunset: #e0894a;
  --sunset-lt: #3a2518;
  --sunset-mid: #efa267;
  --rust: #e0894a;
  --rust-light: #efa267;
  --burnt: #e0894a;
  --burnt-lt: #3a2518;
  --red: #f09088;
  --red-lt: #3e1a17;
  --green: #6ccb93;
  --green-bg: #123424;
  --good: #6ccb93;
  --good-bg: #123424;
  --warn: #e3b456;
  --warn-bg: #3a2d10;
  --crit: #f09088;
  --crit-bg: #3e1a17;
  --flat: #9db1b6;
  --flat-bg: #1b3139;
  --success: #6ccb93;
  --warning: #e3b456;
  --danger: #f09088;
  --morning-mist: #35505a;
  --mist-lt: #173038;
  --mist-dk: #28424b;
  --night-sky: #0d1b21;
  --mountain-green: #3f8a66;
  --green-lt: #123424;
  --table-head: #3e9fc4;
  --primary-gradient: linear-gradient(90deg,#e0894a,#efa267);
  --brand-gradient: linear-gradient(150deg,#0f4660,#0b5878);
  --sh: 0 1px 2px #0000004d,0 10px 28px #00000047;
  --sh-lg: 0 24px 70px #00000080;
}

body {
  font-family: var(--f-body);
  background: var(--canvas);
  height: 100vh;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

body:before, body:after {
  display: none;
}

#app {
  background: var(--shell, #f3f2ed);
  max-width: 1680px;
  height: calc(100vh - 32px);
  box-shadow: var(--sh-lg);
  border-radius: 30px;
  margin: 0 auto;
  display: flex;
  overflow: hidden;
}

.sidebar {
  background: var(--side, #fff);
  width: 272px;
  min-width: 272px;
  color: var(--text-main, #13262d);
  z-index: 50;
  border-radius: 30px 0 0 30px;
  flex-direction: column;
  height: calc(100vh - 32px);
  transition: width .25s, min-width .25s;
  display: flex;
  position: sticky;
  top: 16px;
  overflow: visible;
}

.sidebar.collapsed {
  width: 84px;
  min-width: 84px;
}

.sidebar.collapsed .brand-text, .sidebar.collapsed .nav-label, .sidebar.collapsed .nav-chevron, .sidebar.collapsed .nav-section-title, .sidebar.collapsed .profile-info {
  display: none;
}

.sidebar.collapsed .brand {
  justify-content: center;
  height: 60px;
  padding: 0 10px;
}

.sidebar.collapsed .nav-item {
  justify-content: center;
  padding: 11px;
}

.sidebar-pattern-wrap, .sidebar-pattern, .sidebar-scrim {
  display: none;
}

.sidebar > :not(.sidebar-pattern-wrap) {
  z-index: 1;
  position: relative;
}

.module-nav {
  background: var(--card, #fff);
  border: 1px solid var(--border, #e7e4da);
  width: 236px;
  box-shadow: var(--sh);
  border-radius: 4px;
  flex-shrink: 0;
  align-self: flex-start;
  height: fit-content;
  padding: 14px 12px;
}

.mn-label {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted, #6c7b80);
  padding: 2px 6px 6px;
  font-size: 10px;
  font-weight: 700;
}

.mn-item {
  color: var(--text-sub, #4c6169);
  cursor: pointer;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  transition: background .15s, color .15s;
  display: flex;
  position: relative;
}

.mn-item svg {
  stroke: currentColor;
  opacity: .85;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

.mn-item:hover {
  background: var(--card-2, #f4f3ee);
  color: var(--text-main, #13262d);
}

.mn-item.active {
  background: var(--ocean-blue, #005172);
  color: #fff;
  box-shadow: none;
}

.mn-item.active:before {
  display: none;
}

.mn-item.active svg {
  stroke: #fff;
  opacity: 1;
}

.mn-count {
  background: var(--rust);
  color: #fff;
  border: 0;
  border-radius: 999px;
  margin-left: auto;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 700;
}

.mn-item.active .mn-count {
  color: #fff;
  background: #fff3;
}

.brand {
  border-bottom: 0;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 12px;
  display: flex;
}

.brand-mark {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.brand-text {
  white-space: nowrap;
  flex-direction: column;
  line-height: 1.15;
  display: flex;
  overflow: hidden;
}

.brand-name {
  font-family: var(--f-display);
  letter-spacing: -.01em;
  color: var(--text-main, #13262d);
  font-size: 16px;
  font-weight: 700;
}

.brand-tagline {
  letter-spacing: .08em;
  color: var(--text-muted, #6c7b80);
  text-transform: uppercase;
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 600;
}

.sidebar-toggle {
  background: var(--card-2, #f4f3ee);
  width: 32px;
  height: 32px;
  color: var(--text-muted, #6c7b80);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  display: flex;
}

.sidebar-toggle:hover {
  background: var(--row-hover, #eceae2);
  color: var(--text-main, #13262d);
}

.sidebar.collapsed .sidebar-toggle {
  margin-left: 0;
}

.nav-scroll {
  flex: 1;
  padding: 8px 16px 12px;
  overflow-y: auto;
}

.nav-scroll::-webkit-scrollbar {
  width: 5px;
}

.nav-scroll::-webkit-scrollbar-thumb {
  background: var(--sand-dk, #c9c5b6);
  border-radius: 10px;
}

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

.nav-section-title {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted, #6c7b80);
  padding: 14px 14px 6px;
  font-size: 11px;
  font-weight: 700;
}

.nav-item {
  color: var(--text-sub, #4c6169);
  white-space: nowrap;
  cursor: pointer;
  border-radius: 999px;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background .15s, color .15s;
  display: flex;
  position: relative;
}

.nav-item svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted, #6c7b80);
  flex-shrink: 0;
}

.nav-item:hover {
  background: var(--card-2, #f4f3ee);
  color: var(--text-main, #13262d);
}

.nav-item:hover svg {
  color: var(--text-sub, #4c6169);
}

.nav-item.active {
  background: var(--ocean-blue, #005172);
  color: #fff;
  box-shadow: none !important;
}

.nav-item.active svg {
  color: #fff;
}

.nav-label {
  text-overflow: ellipsis;
  flex: 1;
  overflow: hidden;
}

.nav-chevron {
  opacity: .5;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  transition: transform .2s;
}

.nav-badge {
  background: var(--rust);
  color: #fff;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 10.5px;
  font-weight: 700;
}

.nav-item.active .nav-badge {
  background: #ffffff38;
}

.sidebar-footer {
  border-top: 0;
  padding: 12px 16px 18px;
}

.profile-row {
  background: var(--card-2, #f4f3ee);
  border-radius: 20px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  display: flex;
}

.profile-avatar {
  background: var(--rust);
  color: #fff;
  border: 0;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
}

.profile-info {
  overflow: hidden;
}

.profile-name {
  color: var(--text-main, #13262d);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}

.profile-role {
  color: var(--text-muted, #6c7b80);
  align-items: center;
  gap: 5px;
  margin-top: 1px;
  font-size: 11.5px;
  display: flex;
}

.status-dot {
  background: var(--good, #1f6e43);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  display: inline-block;
}

.topbar {
  z-index: 40;
  background: none;
  border-bottom: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 18px clamp(16px, 2.4vw, 32px) 6px;
  display: flex;
  position: sticky;
  top: 0;
}

.search-box {
  background: var(--card, #fff);
  min-width: 180px;
  max-width: 420px;
  height: 42px;
  color: var(--text-soft, #6c7b80);
  box-shadow: var(--sh);
  border: 0;
  border-radius: 999px;
  flex: 1;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  display: flex;
}

.search-box svg {
  width: 17px;
  height: 17px;
  color: var(--text-soft, #6c7b80);
  flex-shrink: 0;
}

.search-box input {
  width: 100%;
  color: var(--text-main, #13262d);
  font-size: 13px;
  font-family: var(--f-body);
  background: none;
  border: none;
  outline: none;
}

.search-box input::placeholder {
  color: var(--text-soft, #6c7b80);
}

.topbar-spacer {
  flex: 1;
}

.icon-btn {
  width: 42px;
  height: 42px;
  color: var(--text-sub, #4c6169);
  background: var(--card, #fff);
  box-shadow: var(--sh);
  border: 0;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.icon-btn:hover {
  background: var(--card-2, #f4f3ee);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.notif-dot {
  background: var(--rust);
  color: #fff;
  border: 0;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  position: absolute;
  top: -3px;
  right: -3px;
}

.lang-select {
  background: var(--card, #fff);
  height: 42px;
  box-shadow: var(--sh);
  color: var(--text-sub, #4c6169);
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
}

.topbar-profile {
  align-items: center;
  gap: 10px;
  padding-left: 6px;
  display: flex;
}

.topbar-avatar {
  background: var(--rust);
  color: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
}

.topbar-name {
  font-size: 13.5px;
  font-weight: 600;
}

.topbar-role {
  color: var(--text-soft, #6c7b80);
  font-size: 11.5px;
}

.btn-primary {
  background: var(--rust);
  color: #fff;
  cursor: pointer;
  height: 42px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--f-body);
  white-space: nowrap;
  border: none;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  display: inline-flex;
  box-shadow: 0 6px 16px #a8562247;
}

.btn-primary:hover {
  background: var(--rust-light, #c7712f);
  filter: brightness(1.06);
}

.btn-secondary {
  background: var(--card, #fff);
  height: 42px;
  color: var(--text-main, #13262d);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--f-body);
  box-shadow: var(--sh);
  white-space: nowrap;
  border: 0;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  transition: background .15s;
  display: inline-flex;
}

.btn-secondary:hover {
  background: var(--card-2, #f4f3ee);
  transform: none;
}

.btn-primary svg {
  width: 16px;
  height: 16px;
}

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

#content {
  flex-direction: column;
  flex: 1;
  gap: 20px;
  padding: 16px clamp(16px, 2.4vw, 32px) 36px;
  display: flex;
  position: relative;
  overflow-y: auto;
}

#content:before {
  display: none;
}

#content::-webkit-scrollbar {
  width: 12px;
}

#content::-webkit-scrollbar-track {
  background: none;
  border-radius: 6px;
}

#content::-webkit-scrollbar-thumb {
  background: var(--sand-dk, #c9c5b6);
  background-clip: content-box;
  border: 3px solid #0000;
  border-radius: 6px;
  min-height: 40px;
}

#content::-webkit-scrollbar-thumb:hover {
  background: var(--muted, #6c7b80);
  background-clip: content-box;
}

body.dark #content::-webkit-scrollbar-track {
  background: none;
}

.dept-hero {
  border-radius: var(--card-radius);
  color: #fff;
  background: linear-gradient(150deg,var(--hero),var(--hero-2));
  padding: 26px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 34px #0a3e5638;
}

.dept-hero:before {
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, #ffffff0d 0%, #0000 70%);
  border-radius: 50%;
  width: 180px;
  height: 180px;
  position: absolute;
  top: -40px;
  right: -40px;
}

.dept-hero:after {
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, #ffffff08 0%, #0000 70%);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  position: absolute;
  bottom: -20px;
  left: -20px;
}

.dept-hero-title {
  letter-spacing: -.02em;
  font-family: FuturaCyrillic, sans-serif;
  font-size: 27px;
  font-weight: 900;
}

.dept-hero-sub {
  opacity: .85;
  margin-top: 5px;
  font-size: 15px;
}

.dept-hero-stats {
  gap: 28px;
  margin-top: 18px;
  display: flex;
}

.dept-hero-stat {
  border-left: 2px solid #ffffff40;
  padding-left: 16px;
}

.dept-hero-stat-val {
  font-size: 25px;
  font-weight: 800;
}

.dept-hero-stat-lbl {
  opacity: .7;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 2px;
  font-size: 13px;
}

.card {
  background: var(--card);
  box-shadow: var(--sh);
  border: 1px solid #0000;
  border-radius: 24px;
  padding: 20px;
  position: static;
}

.card-sm {
  background: var(--card);
  box-shadow: var(--sh);
  border: 1px solid #0000;
  border-radius: 24px;
  padding: 16px;
  position: static;
}

.card-title {
  font-family: var(--f-display);
  color: var(--text-main);
  letter-spacing: -.005em;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 600;
  display: flex;
}

.card-header {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  display: flex;
}

.card-header > .card-title, .card-header > div:first-child {
  flex: auto;
  min-width: 0;
}

.card-header > .btn, .card-header > button, .card-header > .card-header-action {
  flex: none;
}

.stat-grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  display: grid;
}

.stat-tile {
  background: var(--card);
  border: 1px solid var(--border, #e7e4da);
  text-align: left;
  box-shadow: var(--sh);
  -webkit-backdrop-filter: none;
  border-radius: 4px;
  padding: 16px;
  position: static;
  overflow: visible;
}

.stat-tile:hover {
  box-shadow: var(--sh);
  transform: none;
}

.stat-tile-stripe {
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.stat-icon-wrap {
  background: var(--card-2);
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  margin: 0 0 10px;
  display: flex;
  box-shadow: 0 2px 8px #13262d0f;
}

.stat-icon {
  color: var(--ocean-blue);
  font-size: 16px;
}

.stat-val {
  font-family: var(--f-display);
  letter-spacing: -.015em;
  font-variant-numeric: tabular-nums;
  color: var(--text-dark);
  margin-bottom: 2px;
  font-size: 26px;
  font-weight: 700;
}

.stat-lbl {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--f-body);
}

.stat-trend {
  color: var(--text-muted);
  margin-top: 4px;
  font-size: 12px;
}

.section-label {
  color: var(--text-muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  border-top: 2px solid var(--border);
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-top: 16px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  position: relative;
}

.section-label:before {
  content: "";
  opacity: .7;
  background: url("/fac-logo.png") center / contain no-repeat;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.section-label:after {
  content: "";
  background: linear-gradient(90deg,var(--border),transparent);
  flex: 1;
  height: 1px;
}

.charts-row {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  display: grid;
}

.charts-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  display: grid;
}

.bar-chart {
  align-items: flex-end;
  gap: 5px;
  height: 110px;
  display: flex;
}

.bar-group {
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 2px;
  height: 100%;
  display: flex;
}

.bar-pair {
  flex: 1;
  align-items: flex-end;
  gap: 2px;
  width: 100%;
  display: flex;
}

.bar {
  border-radius: 4px 4px 0 0;
  flex: 1;
  transition: opacity .2s;
}

.bar:hover {
  opacity: .8;
}

.bar-actual {
  background: linear-gradient(180deg,var(--accent-mid),var(--accent));
}

.bar-target {
  background: #00517233;
}

.bar-label {
  color: var(--text-sub);
  font-size: 11px;
}

.chart-legend {
  gap: 14px;
  margin-top: 10px;
  display: flex;
}

.legend-dot {
  border-radius: 2px;
  width: 10px;
  height: 10px;
}

.legend-text {
  color: var(--text-sub);
  font-size: 13px;
}

.prog-wrap {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.prog-row {
  width: 100%;
}

.prog-header {
  justify-content: space-between;
  margin-bottom: 5px;
  display: flex;
}

.prog-label {
  color: var(--text-sub);
  font-size: 14px;
}

.prog-val {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
}

.prog-bg {
  background: #0000000f;
  border-radius: 6px;
  width: 100%;
  height: 6px;
  overflow: hidden;
}

body.dark .prog-bg {
  background: #ffffff14;
}

.prog-fill {
  border-radius: 6px;
  height: 100%;
  transition: width .6s;
}

.alert-list {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.alert-item {
  background: var(--row-hover);
  border: 1px solid var(--border);
  border-radius: 9px;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  display: flex;
}

.alert-msg {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.5;
}

.alert-time {
  color: var(--muted);
  margin-top: 2px;
  font-size: 12px;
}

.ai-panel {
  background: linear-gradient(160deg,var(--night-sky) 0%,var(--desert-sunset) 70%,var(--mountain-green) 100%);
  border-radius: var(--card-radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px #0000001f;
}

.ai-panel:before {
  content: "";
  background: radial-gradient(circle, #ffffff0a 0%, #0000 70%);
  border-radius: 50%;
  width: 140px;
  height: 140px;
  position: absolute;
  top: -30px;
  right: -30px;
}

.ai-panel:after {
  content: "";
  background: radial-gradient(circle, #ffffff05 0%, #0000 70%);
  border-radius: 50%;
  width: 160px;
  height: 160px;
  position: absolute;
  bottom: -40px;
  left: -40px;
}

.ai-insights {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.ai-insight {
  color: #ffffffe6;
  background: #dad7cb1a;
  border: 1px solid #ffffff1a;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
}

.table-wrap {
  background: var(--card);
  box-shadow: var(--sh);
  border: 1px solid #0000;
  border-radius: 24px;
  overflow: hidden;
}

.table-header {
  border-bottom: 0;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px 4px;
  display: flex;
}

.table-title {
  font-family: var(--f-display);
  color: var(--text-main);
  font-size: 17px;
  font-weight: 600;
}

table {
  border-collapse: separate;
  border-spacing: 0 7px;
  width: 100%;
}

th {
  text-align: left;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  background: none;
  border-bottom: 0;
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 500;
  position: static;
}

th:not(:last-child):after {
  display: none;
}

td {
  color: var(--text-main);
  background: var(--card-2);
  vertical-align: middle;
  border-top: 0;
  padding: 11px 12px;
  font-size: 13px;
  transition: background .15s;
}

td:first-child {
  border-radius: 14px 0 0 14px;
}

td:last-child {
  border-radius: 0 14px 14px 0;
}

tbody tr:hover td {
  background: var(--row-hover);
}

.td-mono {
  font-family: var(--f-mono);
  color: var(--desert-sunset);
  font-size: 13px;
  font-weight: 600;
}

.td-sub {
  color: var(--text-sub);
  font-size: 13px;
}

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

.td-red {
  color: var(--crit);
  font-weight: 700;
}

.badge {
  letter-spacing: .01em;
  white-space: nowrap;
  border: 0;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

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

.badge-blue {
  background: var(--ocean-lt);
  color: var(--ocean-blue);
}

.badge-gold {
  background: var(--accent-lt);
  color: var(--desert-sunset);
}

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

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

.badge-purple {
  background: var(--ocean-lt);
  color: var(--ocean-dk);
}

.badge-burnt {
  background: var(--accent-lt);
  color: var(--desert-sunset);
}

.badge-teal {
  background: var(--ocean-lt);
  color: var(--ocean-dk);
}

.tab-btn {
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-sub);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #fff6;
  border-radius: 9px;
  padding: 8px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: all .15s;
}

.tab-btn:hover {
  color: var(--text-main);
  background: #ffffffb3;
}

.tab-btn.active {
  background: var(--ocean-blue);
  color: #fff;
  border-color: var(--ocean-blue);
  box-shadow: 0 4px 12px #00517240;
}

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

.fin-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--desert-sunset);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
}

.fin-val {
  letter-spacing: -.4px;
  margin-top: 4px;
  font-family: Poppins, sans-serif;
  font-size: 22px;
  font-weight: 900;
}

.fin-sub {
  color: var(--text-sub);
  margin-top: 4px;
  font-size: 12px;
}

.critical-banner {
  background: linear-gradient(90deg,var(--red-lt),#a856220f);
  border: 1px solid #b8303033;
  border-radius: 12px;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  display: flex;
}

.critical-banner-text {
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
}

.proj-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  transition: transform .15s, box-shadow .15s;
}

.proj-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.proj-top {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  display: flex;
}

.proj-name {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
}

.proj-meta {
  color: var(--text-sub);
  margin-top: 2px;
  font-size: 13px;
}

.proj-bars {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
  display: grid;
}

.course-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  transition: transform .15s, box-shadow .15s;
}

.course-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.course-top {
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  display: flex;
}

.course-bars {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}

.course-rev {
  color: var(--olive);
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
}

.emp-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  display: grid;
}

.emp-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  padding: 12px 14px;
  transition: transform .15s, box-shadow .15s;
}

.emp-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.emp-avatar {
  color: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  box-shadow: 0 2px 6px #0000001f;
}

.emp-name {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
}

.emp-role {
  color: var(--text-sub);
  margin-top: 2px;
  font-size: 12px;
}

.emp-dept {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
}

.emp-status {
  margin-top: 8px;
}

.oracle-banner {
  background: var(--brand-gradient);
  border-radius: var(--card-radius);
  color: #fff;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px #0000001f;
}

.oracle-banner:before {
  content: "";
  background: radial-gradient(circle, #ffffff0a 0%, #0000 70%);
  border-radius: 50%;
  width: 200px;
  height: 200px;
  position: absolute;
  top: -60px;
  right: -60px;
}

.oracle-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  display: grid;
}

.oracle-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  transition: transform .15s, box-shadow .15s;
  display: flex;
}

.oracle-tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.oracle-icon {
  flex-shrink: 0;
  font-size: 28px;
}

.ai-window {
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  flex-direction: column;
  width: 430px;
  height: 590px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 24px 64px #00000059;
}

.ai-header {
  background: linear-gradient(160deg, #2a2510, #a85622, #4b471a);
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  display: flex;
}

.ai-title {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.ai-sub {
  color: #ffffffb3;
  margin-top: 2px;
  font-size: 13px;
}

.ai-close {
  color: #fff;
  cursor: pointer;
  background: #ffffff26;
  border: none;
  border-radius: 8px;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 18px;
}

.ai-messages {
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 16px;
  display: flex;
  overflow-y: auto;
}

.ai-messages::-webkit-scrollbar {
  width: 3px;
}

.ai-messages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.msg-wrap {
  display: flex;
}

.msg-wrap.user {
  justify-content: flex-end;
}

.msg-bubble {
  max-width: 82%;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.5;
}

.msg-bubble.assistant {
  background: var(--row-hover);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
}

.msg-bubble.user {
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 14px 14px 4px;
}

.typing {
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  display: flex;
}

.dot {
  background: var(--accent);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  animation: 1s infinite bounce;
}

.dot:nth-child(2) {
  animation-delay: .2s;
}

.dot:nth-child(3) {
  animation-delay: .4s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-7px);
  }
}

.ai-input-row {
  border-top: 1px solid var(--card-border);
  gap: 8px;
  padding: 12px 16px;
  display: flex;
}

.ai-input {
  border: 1px solid var(--card-border);
  background: var(--input-bg);
  color: var(--text-main);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  outline: none;
  flex: 1;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .15s;
}

.ai-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #a856221a;
}

.trail-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
  overflow: hidden;
}

.trail-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.trail-header {
  color: #fff;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 16px;
  display: flex;
}

.trail-body {
  padding: 14px 16px;
}

.trail-name {
  font-size: 14px;
  font-weight: 700;
}

.trail-type {
  opacity: .8;
  margin-top: 2px;
  font-size: 12px;
}

.trail-stats {
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
  display: grid;
}

.trail-stat {
  text-align: center;
  background: var(--row-hover);
  border-radius: 6px;
  padding: 6px;
}

.trail-stat-val {
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 800;
}

.trail-stat-lbl {
  color: var(--text-sub);
  font-size: 11px;
}

.ticket-list {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.ticket-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  transition: transform .15s, box-shadow .15s;
  display: flex;
}

.ticket-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.ticket-id {
  color: var(--text-sub);
  margin-bottom: 2px;
  font-family: monospace;
  font-size: 12px;
}

.ticket-title {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
}

.ticket-meta {
  color: var(--text-sub);
  margin-top: 2px;
  font-size: 12px;
}

.placeholder {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
  padding: 36px 24px;
}

.ph-icon {
  margin-bottom: 12px;
  font-size: 40px;
}

.ph-title {
  color: var(--text-sub);
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
}

.ph-desc {
  color: var(--text-sub);
  max-width: 360px;
  margin: 0 auto;
  font-size: 13px;
}

.kpi-scorecard {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  display: grid;
}

.kpi-score-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
}

.kpi-score-top {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  display: flex;
}

.kpi-score-val {
  letter-spacing: -.4px;
  font-family: Poppins, sans-serif;
  font-size: 26px;
  font-weight: 900;
}

.kpi-score-goal {
  color: var(--text-sub);
  font-size: 12px;
}

.modal-overlay {
  z-index: 1000;
  background: #0814198c;
  justify-content: center;
  align-items: center;
  animation: .15s fadeIn;
  display: flex;
  position: fixed;
  inset: 0;
}

.modal-overlay-end {
  z-index: 1000;
  background: #0814198c;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 24px;
  animation: .15s fadeIn;
  display: flex;
  position: fixed;
  inset: 0;
}

.modal {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  max-width: 92vw;
  max-height: 85vh;
  padding: 28px;
  animation: .25s modalIn;
  overflow-y: auto;
  box-shadow: 0 32px 80px #08141966;
}

.emp-modal-window {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  flex-direction: column;
  width: 520px;
  max-height: 80vh;
  animation: .2s modalIn;
  display: flex;
  overflow: hidden;
  box-shadow: 0 32px 80px #08141966;
}

.emp-modal-head {
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 18px;
  padding: 24px 24px 16px;
  display: flex;
}

.emp-modal-avatar {
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  font-size: 25px;
  font-weight: 800;
  display: flex;
}

.emp-modal-info {
  flex: 1;
}

.emp-modal-name {
  color: var(--text-main);
  font-size: 19px;
  font-weight: 800;
}

.emp-modal-role {
  color: var(--text-sub);
  margin-top: 2px;
  font-size: 14px;
}

.emp-modal-meta {
  color: var(--muted);
  gap: 16px;
  margin-top: 6px;
  font-size: 13px;
  display: flex;
}

.emp-modal-close {
  background: var(--input-bg);
  cursor: pointer;
  color: var(--text-sub);
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 18px;
}

.emp-modal-body {
  flex: 1;
  padding: 20px 24px 24px;
  overflow-y: auto;
}

.emp-modal-body::-webkit-scrollbar {
  width: 3px;
}

.emp-modal-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.emp-modal-section {
  margin-bottom: 18px;
}

.emp-modal-section:last-child {
  margin-bottom: 0;
}

.emp-modal-section-title {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
}

.emp-modal-details {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}

.emp-detail-item {
  background: var(--input-bg);
  border-radius: 8px;
  justify-content: space-between;
  padding: 6px 10px;
  font-size: 14px;
  display: flex;
}

.emp-detail-label {
  color: var(--text-sub);
}

.emp-detail-value {
  color: var(--text-main);
  font-weight: 600;
}

.access-grid {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  display: grid;
}

.access-item {
  background: var(--input-bg);
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  font-size: 14px;
  display: flex;
}

.access-module {
  color: var(--text-main);
  align-items: center;
  gap: 6px;
  font-weight: 500;
  display: flex;
}

.access-lvl {
  text-transform: uppercase;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
}

.access-admin {
  background: var(--accent);
  color: #fff;
}

.access-edit {
  background: var(--blue);
  color: #fff;
}

.access-view {
  color: var(--text-sub);
  background: #0000000f;
}

.access-none {
  background: var(--row-hover);
  color: var(--muted);
}

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

::-webkit-scrollbar-track {
  background: #e8e4db;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: #a85622;
  border-radius: 6px;
  min-height: 40px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c96f34;
}

.form-window {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  flex-direction: column;
  width: min(420px, 94vw);
  max-height: 82vh;
  display: flex;
  overflow: hidden;
  box-shadow: 0 32px 80px #08141966;
}

.modal-dialog {
  width: 90vw;
  max-width: 1100px;
  margin: 5vh auto;
}

.modal-dialog .modal-content {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: 0 24px 64px #00000059;
}

.modal-dialog .modal-body {
  padding: 24px;
  overflow: visible;
}

.modal-dialog .modal-footer {
  border-top: 1px solid var(--border);
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  display: flex;
}

@media (max-width: 768px) {
  .modal-dialog {
    width: 96vw;
    margin: 2vh auto;
  }

  .modal-dialog .modal-body > div {
    grid-template-columns: 1fr !important;
  }
}

.form-head {
  border-bottom: 1px solid var(--border);
  background: var(--row-hover);
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  display: flex;
}

.form-title {
  color: var(--text-main);
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  display: flex;
}

.form-close {
  background: var(--input-bg);
  cursor: pointer;
  color: var(--text-sub);
  border: none;
  border-radius: 6px;
  padding: 3px 8px;
  font-family: inherit;
  font-size: 16px;
}

.form-body {
  flex: 1;
  padding: 14px 18px 18px;
  overflow-y: auto;
}

.form-body::-webkit-scrollbar {
  width: 8px;
}

.form-body::-webkit-scrollbar-track {
  background: #e8e4db;
  border-radius: 4px;
}

.form-body::-webkit-scrollbar-thumb {
  background: #a85622;
  border-radius: 4px;
  min-height: 30px;
}

.form-body::-webkit-scrollbar-thumb:hover {
  background: #c96f34;
}

.form-group {
  margin-bottom: 12px;
}

.form-label {
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  display: block;
}

.form-input {
  border: 1px solid var(--card-border);
  background: var(--input-bg);
  width: 100%;
  color: var(--text-main);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 8px;
  outline: none;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color .15s;
}

.form-input:focus {
  border-color: var(--desert-sunset);
  box-shadow: 0 0 0 4px #a856221a;
}

.form-select {
  border: 1px solid var(--card-border);
  background: var(--input-bg);
  width: 100%;
  color: var(--text-main);
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  border-radius: 8px;
  outline: none;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 14px;
}

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

.form-actions {
  border-top: 1px solid var(--border);
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  display: flex;
}

.btn-cancel {
  border: 1px solid var(--border);
  color: var(--text-sub);
  cursor: pointer;
  background: #ffffff80;
  border-radius: 8px;
  padding: 7px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: all .15s;
}

.btn-cancel:hover {
  background: var(--row-hover);
}

.btn-submit {
  background: var(--primary-gradient);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 7px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  transition: all .2s;
  box-shadow: 0 2px 8px #00517240;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px #00517259;
}

.btn-danger {
  background: var(--red);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  transition: all .15s;
}

.btn-danger:hover {
  background: #9b2c2c;
  transform: translateY(-1px);
}

.btn-primary-alt {
  background: var(--desert-sunset);
  color: #fff;
  cursor: pointer;
  letter-spacing: .02em;
  border: none;
  border-radius: 12px;
  padding: 9px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: all .2s;
  box-shadow: 0 4px 12px #a8562240;
}

.btn-primary-alt:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #a8562259;
}

.btn-outline {
  border: 1.5px solid var(--ocean-blue);
  color: var(--ocean-blue);
  cursor: pointer;
  background: none;
  border-radius: 12px;
  padding: 9px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: all .18s;
}

.btn-outline:hover {
  background: #0051720f;
  transform: translateY(-1px);
}

.login-overlay {
  z-index: 9999;
  background: var(--card);
  width: 100vw;
  height: 100vh;
  font-family: var(--f-body);
  display: flex;
  position: fixed;
  inset: 0;
}

.login-left {
  background: var(--card);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  padding: 48px 64px;
  display: flex;
  position: relative;
}

.login-left:before {
  content: "";
  opacity: .06;
  pointer-events: none;
  background: url("/login-pattern.png") center / cover no-repeat;
  position: absolute;
  inset: 0;
}

.login-right {
  background: url("/login-bg.png") center/cover no-repeat var(--sand-dk);
  justify-content: center;
  align-items: center;
  width: 50%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.login-right svg {
  width: 100%;
  height: 100%;
  display: block;
}

.login-wrap {
  z-index: 2;
  opacity: 0;
  width: 100%;
  max-width: 360px;
  animation: .8s cubic-bezier(.16, 1, .3, 1) .15s forwards fadeSlideUp;
  position: relative;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

.login-logo {
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  display: flex;
}

.login-logo img {
  width: auto;
  height: 56px;
}

.login-brand {
  justify-content: center;
  margin-bottom: 20px;
  display: flex;
}

.login-brand-img {
  object-fit: contain;
  width: auto;
  height: 84px;
}

.login-brand-fallback {
  background: linear-gradient(135deg,var(--sunset-mid),var(--desert-sunset));
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 72px;
  font-size: 34px;
  display: none;
}

.login-card h2 {
  color: var(--text-main);
  margin-bottom: 6px;
  font-size: 24px;
  font-weight: 700;
}

.login-card .login-desc {
  color: var(--desert-sunset);
  margin-bottom: 28px;
  font-size: 13.5px;
  font-weight: 500;
}

.login-card .field {
  margin-bottom: 18px;
}

.login-card .field label {
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
  display: block;
}

.login-card .field input, .login-card .field select {
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--card-2);
  width: 100%;
  color: var(--text-main);
  outline: none;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color .2s, background .2s;
}

.login-card .field input:focus, .login-card .field select:focus {
  border-color: var(--desert-sunset);
  background: var(--card);
  box-shadow: var(--ring);
}

.login-card .field input::placeholder {
  color: var(--text-muted);
}

.login-card .field select {
  cursor: pointer;
}

.login-row {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 12.5px;
  display: flex;
}

.login-row .remember {
  color: var(--text-sub);
  cursor: pointer;
  align-items: center;
  gap: 6px;
  display: flex;
}

.login-row .remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--desert-sunset);
  cursor: pointer;
}

.login-row .forgot {
  color: var(--desert-sunset);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}

.login-row .forgot:hover {
  text-decoration: underline;
}

.login-btn-primary {
  background: var(--desert-sunset);
  color: #fff;
  border-radius: var(--r-pill);
  letter-spacing: .5px;
  cursor: pointer;
  border: none;
  width: 100%;
  padding: 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 14px #a8562247;
}

.login-btn-primary:hover {
  background: var(--sunset-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px #a8562252;
}

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

.login-error-new {
  color: var(--crit);
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
}

.login-forgot-center {
  text-align: center;
  margin-top: 12px;
}

.login-forgot-center a {
  color: var(--desert-sunset);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
}

.login-divider {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  font-size: 11px;
  display: flex;
}

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

.alt-logins {
  gap: 10px;
  margin-bottom: 32px;
  display: flex;
}

.alt-logins .alt-btn {
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--text-main);
  cursor: pointer;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 11px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  transition: all .2s;
  display: flex;
}

.alt-logins .alt-btn:hover {
  border-color: var(--desert-sunset);
  color: var(--desert-sunset);
  background: var(--card-2);
}

.login-foot-strip {
  border-top: 1px solid var(--border);
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  display: flex;
}

.login-foot-strip img {
  opacity: .85;
  width: auto;
  height: 34px;
}

.login-foot-strip .sep {
  background: var(--border);
  width: 1px;
  height: 28px;
}

.login-foot-strip .foot-text {
  color: var(--text-muted);
  font-size: 10.5px;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .login-right {
    display: none;
  }

  .login-left {
    width: 100%;
    max-width: none;
    padding: 40px 28px;
  }
}

body.dark .login-divider {
  color: var(--text-muted);
}

body.dark .login-divider:before, body.dark .login-divider:after {
  background: var(--border);
}

.user-dropdown {
  display: inline-block;
  position: relative;
}

.sidebar-overlay {
  display: none;
}

.toast {
  color: #fff;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  transition: all .3s;
  position: fixed;
  bottom: 24px;
  right: 24px;
  transform: translateY(20px);
  box-shadow: 0 4px 20px #0003;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background: var(--green);
}

.toast.error {
  background: var(--red);
}

.toast.info {
  background: var(--blue);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

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

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(.96)translateY(12px);
  }

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .6;
  }
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: scale(4);
  }
}

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

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

#content {
  animation: .25s fadeIn;
}

.card, .card-sm, .kpi-card, .stat-tile, .proj-card, .course-card, .emp-card, .oracle-tile, .trail-card, .ticket-item {
  animation: .3s both slideUp;
}

.card:nth-child(2), .kpi-card:nth-child(2), .stat-tile:nth-child(2) {
  animation-delay: 50ms;
}

.card:nth-child(3), .kpi-card:nth-child(3), .stat-tile:nth-child(3) {
  animation-delay: .1s;
}

.card:nth-child(4), .kpi-card:nth-child(4), .stat-tile:nth-child(4) {
  animation-delay: .15s;
}

.card:nth-child(5), .kpi-card:nth-child(5), .stat-tile:nth-child(5) {
  animation-delay: .2s;
}

.card:nth-child(6), .kpi-card:nth-child(6), .stat-tile:nth-child(6) {
  animation-delay: .25s;
}

.card:nth-child(7), .kpi-card:nth-child(7), .stat-tile:nth-child(7) {
  animation-delay: .3s;
}

.card:nth-child(8), .kpi-card:nth-child(8), .stat-tile:nth-child(8) {
  animation-delay: .35s;
}

@media (max-width: 900px) {
  .charts-row, .charts-row-3, .stat-grid-4, .fin-grid, .oracle-grid, .proj-bars, .course-bars {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-window {
    border-radius: 12px;
    width: 96vw;
    max-height: 88vh;
  }
}

@media (max-width: 500px) {
  .charts-row, .charts-row-3, .fin-grid, .kpi-scorecard {
    grid-template-columns: 1fr;
  }

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

  #content {
    gap: 14px;
    padding: 10px 12px;
  }

  .dept-hero {
    padding: 14px 16px;
  }

  .dept-hero-title {
    font-size: 19px;
  }

  .dept-hero-sub {
    font-size: 13px;
  }

  .dept-hero-stats {
    flex-wrap: wrap;
    gap: 12px;
  }

  .ai-window {
    border-radius: 14px 14px 0 0;
    width: 100vw;
    height: 80vh;
  }

  .btn-primary {
    padding: 6px 12px;
    font-size: 13px;
  }

  .tab-btn {
    padding: 6px 10px;
    font-size: 12px;
  }

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

  .form-window {
    border-radius: 0;
    width: 100vw;
    max-height: 94vh;
  }

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

  .login-overlay {
    flex-direction: column;
  }

  .card {
    padding: 14px;
  }

  .dept-hero-stat {
    padding-left: 8px;
  }

  .dept-hero-stat-val {
    font-size: 18px;
  }

  .dept-hero-stat-lbl {
    font-size: 12px;
  }

  .stat-tile {
    padding: 14px 12px;
  }

  .proj-card {
    padding: 14px;
  }

  .emp-card {
    padding: 12px;
  }
}

.mdash {
  flex-direction: column;
  gap: 18px;
  animation: .35s fadeIn;
  display: flex;
}

.welcome-row {
  color: var(--text-dark);
  box-shadow: none;
  background: none;
  border-radius: 0;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
  padding: 0;
  display: flex;
  position: static;
  overflow: visible;
}

.welcome-row:before, .welcome-row:after {
  display: none;
}

.welcome-title {
  letter-spacing: -.3px;
  color: var(--text-dark);
  font-size: 20px;
  font-weight: 700;
  position: static;
}

.welcome-sub {
  color: var(--text-mid);
  opacity: 1;
  margin-top: 4px;
  font-size: 13px;
  position: static;
}

.date-chip {
  color: var(--teal);
  background: var(--sand-soft);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-radius: 20px;
  margin-top: 6px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
  position: static;
}

.quick-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 18px;
  display: grid;
}

.quick-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  transition: transform .15s, box-shadow .15s;
  display: flex;
  position: static;
  overflow: visible;
}

.quick-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.quick-card:before {
  display: none;
}

.quick-icon {
  border-radius: 9px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  display: flex;
}

.quick-icon svg {
  width: 18px;
  height: 18px;
}

.quick-title {
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 700;
}

.quick-sub {
  color: var(--text-soft);
  margin-top: 1px;
  font-size: 10.5px;
}

.q1 .quick-icon, .qic1 {
  color: var(--success);
  background: #e4f2ea;
}

.q2 .quick-icon, .qic2 {
  color: var(--rust);
  background: #f1e6dc;
}

.q3 .quick-icon, .qic3 {
  color: var(--teal);
  background: #dfeef3;
}

.q4 .quick-icon, .qic4 {
  color: #b96a2c;
  background: #f7e9de;
}

.q5 .quick-icon, .qic5 {
  color: var(--teal-light);
  background: #e4eef0;
}

.q6 .quick-icon, .qic6 {
  color: var(--danger);
  background: #f3e3dc;
}

.kpi-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
  display: grid;
}

.kpi-card {
  background: var(--card);
  border: 1px solid var(--border, #e7e4da);
  box-shadow: var(--sh);
  -webkit-backdrop-filter: none;
  border-radius: 4px;
  padding: 16px;
  transition: none;
  position: static;
  overflow: visible;
}

.kpi-card:hover {
  box-shadow: var(--sh);
  transform: none;
}

.kpi-top {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  display: flex;
}

.kpi-icon {
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  display: flex;
  box-shadow: 0 2px 8px #13262d0f;
}

.kpi-icon svg {
  width: 20px;
  height: 20px;
}

.kpi-label {
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--f-body);
  margin-top: 0;
}

.kpi-value {
  font-family: var(--f-display);
  letter-spacing: -.015em;
  font-variant-numeric: tabular-nums;
  color: var(--text-dark);
  margin-top: 1px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.kpi-trend {
  color: var(--text-soft);
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.trend-up {
  color: var(--success);
}

.trend-down {
  color: var(--danger);
}

.k1 .kpi-icon {
  color: var(--success);
  background: #e4f2ea;
}

.k2 .kpi-icon {
  color: var(--teal);
  background: #dfeef3;
}

.k3 .kpi-icon {
  color: var(--rust);
  background: #f3e3dc;
}

.k4 .kpi-icon {
  color: var(--warning);
  background: #f7efdd;
}

.k5 .kpi-icon {
  color: var(--teal-light);
  background: #e4eef0;
}

.k6 .kpi-icon {
  color: var(--success);
  background: #e4f2ea;
}

.panel-row {
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
  display: grid;
}

.panel {
  background: var(--card);
  border: 1px solid var(--border, #e7e4da);
  box-shadow: var(--sh);
  -webkit-backdrop-filter: none;
  border-radius: 4px;
  padding: 18px;
  transition: none;
  position: static;
}

.panel:hover {
  box-shadow: var(--sh);
}

.panel-head {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  display: flex;
}

.panel-title {
  font-family: var(--f-display);
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 600;
}

.panel-sub {
  color: var(--text-soft);
  margin-top: 2px;
  font-size: 12px;
}

.panel-select {
  color: var(--teal);
  background: var(--sand-soft);
  border: 1px solid var(--border);
  cursor: pointer;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

.panel-link {
  color: var(--rust);
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.panel-link:hover {
  color: var(--rust);
  text-decoration: underline;
}

.legend-row {
  border-bottom: 1px dashed var(--border);
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  display: flex;
}

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

.legend-left {
  color: var(--text-dark);
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

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

.legend-val {
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 700;
}

.donut-wrap {
  align-items: center;
  gap: 14px;
  display: flex;
}

.dept-row {
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
}

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

.dept-top {
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  display: flex;
}

.dept-icon {
  border-radius: 7px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  display: flex;
}

.dept-icon svg {
  width: 14px;
  height: 14px;
}

.dept-name {
  color: var(--text-dark);
  flex: 1;
  font-size: 12px;
  font-weight: 600;
}

.dept-pct {
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
}

.dept-count {
  color: var(--text-soft);
  font-size: 10px;
}

.bar-track {
  background: var(--sand-soft);
  border-radius: 6px;
  height: 5px;
  overflow: hidden;
}

.bar-fill {
  background: linear-gradient(90deg,var(--teal),var(--teal-light));
  border-radius: 6px;
  height: 100%;
  transition: width .6s;
}

.bottom-row {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  display: grid;
}

.list-item {
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  display: flex;
}

.list-item:last-child {
  border-bottom: none;
}

.list-icon {
  border-radius: 7px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  display: flex;
}

.list-icon svg {
  width: 15px;
  height: 15px;
}

.list-title {
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.list-meta {
  color: var(--text-soft);
  margin-top: 2px;
  font-size: 10.5px;
}

.status-tag {
  white-space: nowrap;
  border-radius: 20px;
  height: fit-content;
  margin-left: auto;
  padding: 2px 8px;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.4;
  display: inline-block;
}

.tag-new {
  color: var(--teal);
  background: #dfeef3;
}

.tag-approved {
  color: var(--success);
  background: #e4f2ea;
}

.tag-completed {
  color: var(--rust);
  background: #f1e6dc;
}

.project-row {
  padding: 9px 0;
}

.project-top {
  justify-content: space-between;
  margin-bottom: 5px;
  display: flex;
}

.project-name {
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 600;
}

.project-pct {
  color: var(--text-mid);
  font-size: 11px;
  font-weight: 700;
}

.footer {
  text-align: center;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding: 18px 24px;
  font-size: 11px;
}

.footer b {
  color: var(--teal);
}

.status-tag {
  white-space: nowrap;
  border-radius: 999px;
  height: fit-content;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  display: inline-block;
}

.tag-pending {
  background: var(--warn-bg);
  color: var(--warn);
}

.tag-progress {
  background: var(--ocean-lt);
  color: var(--ocean-blue);
}

.tag-approved {
  background: var(--good-bg);
  color: var(--good);
}

.tag-rejected {
  background: var(--crit-bg);
  color: var(--crit);
}

.tag-completed {
  background: var(--good-bg);
  color: var(--good);
}

.tag-cancelled, .tag-draft {
  background: var(--flat-bg);
  color: var(--flat);
}

.tag-processing {
  background: var(--ocean-lt);
  color: var(--ocean-blue);
}

.tag-overdue {
  background: var(--crit-bg);
  color: var(--crit);
}

.tag-closed {
  background: var(--flat-bg);
  color: var(--flat);
}

.tag-new {
  background: var(--accent-lt);
  color: var(--desert-sunset);
}

.btn-sm {
  cursor: pointer;
  border: none;
  border-radius: 8px;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  transition: all .15s;
  display: inline-flex;
}

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

.btn-ghost {
  color: var(--text-sub);
  border: 1px solid var(--border);
  background: none;
}

.btn-ghost:hover {
  background: var(--sand-lt);
}

.btn-icon {
  cursor: pointer;
  width: 30px;
  height: 30px;
  color: var(--text-sub);
  background: none;
  border: none;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  transition: all .15s;
  display: flex;
}

.btn-icon:hover {
  background: var(--sand-lt);
}

.btn-icon svg {
  width: 14px;
  height: 14px;
}

.btn-xs {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  transition: all .15s;
  display: inline-flex;
}

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

.btn-success {
  background: var(--success, #2e8b57);
  color: #fff;
}

.btn-success:hover {
  background: #1f6b40;
}

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

.btn-danger:hover {
  background: #8f3523;
}

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

.btn-warning:hover {
  background: #a06e14;
}

.filter-bar {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  display: flex;
}

.filter-pill {
  border: 1px solid var(--border);
  cursor: pointer;
  background: var(--card-bg);
  color: var(--text-sub);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  transition: all .15s;
}

.filter-pill:hover {
  background: var(--card-2);
  color: var(--text-main);
}

.filter-pill.active {
  background: var(--ink, #13262d);
  color: var(--card);
  border-color: var(--ink, #13262d);
}

.filter-select {
  border: 1px solid var(--line, var(--border));
  background: var(--card);
  height: 38px;
  color: var(--text-main);
  cursor: pointer;
  border-radius: 999px;
  outline: none;
  padding: 0 34px 0 16px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color .15s;
}

.filter-select:focus {
  border-color: var(--ocean-blue);
}

.filter-input {
  border: 1px solid var(--line, var(--border));
  background: var(--card);
  height: 38px;
  color: var(--text-main);
  border-radius: 999px;
  outline: none;
  padding: 0 16px;
  font-family: inherit;
  font-size: 12.5px;
  transition: border-color .15s;
}

.filter-input:focus {
  border-color: var(--ocean-blue);
}

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

.tab-bar {
  background: var(--card-2);
  border: 0;
  border-radius: 999px;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  margin-bottom: 16px;
  padding: 4px;
  display: flex;
}

.tab-item {
  cursor: pointer;
  color: var(--text-sub);
  white-space: nowrap;
  background: none;
  border: none;
  border-radius: 999px;
  padding: 7px 16px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  transition: all .15s;
}

.tab-item:hover {
  background: var(--card);
  color: var(--text-main);
}

.tab-item.active {
  background: var(--ink, #13262d);
  color: var(--card);
  box-shadow: none;
}

.empty-state {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 24px;
  display: flex;
}

.empty-icon {
  background: var(--sand-lt);
  width: 48px;
  height: 48px;
  color: var(--text-muted);
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
  display: flex;
}

.empty-icon svg {
  width: 24px;
  height: 24px;
}

.empty-title {
  color: var(--text-sub);
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
}

.empty-desc {
  color: var(--text-muted);
  max-width: 320px;
  font-size: 13px;
  line-height: 1.5;
}

.section-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  display: flex;
}

.section-header-left {
  align-items: center;
  gap: 10px;
  display: flex;
}

.section-header-icon {
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  display: flex;
}

.section-header-icon svg {
  width: 16px;
  height: 16px;
}

.section-header-title {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.section-header-sub {
  color: var(--text-sub);
  margin-top: 2px;
  font-family: Inter, sans-serif;
  font-size: 12px;
}

.section-header-action {
  align-items: center;
  gap: 8px;
  display: flex;
}

.section-title {
  color: var(--text-dark);
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.section-sub {
  color: var(--text-sub);
  margin-top: 2px;
  font-family: Inter, sans-serif;
  font-size: 12px;
}

.activity-feed {
  flex-direction: column;
  gap: 0;
  display: flex;
}

.activity-item {
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  display: flex;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 5px;
}

.activity-line {
  flex: 1;
}

.activity-text {
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.4;
}

.activity-time {
  color: var(--text-muted);
  margin-top: 3px;
  font-size: 11px;
}

.activity-action {
  color: var(--rust, #a85622);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
}

.card-list {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.card-list-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 12px 14px;
  transition: transform .15s, box-shadow .15s;
}

.card-list-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-list-top {
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
  display: flex;
}

.card-list-title {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
}

.card-list-sub {
  color: var(--text-sub);
  margin-top: 2px;
  font-size: 12px;
}

.card-list-meta {
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  display: flex;
}

.grid-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  padding: 14px 16px;
  transition: transform .15s, box-shadow .15s;
}

.grid-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.grid-card-top {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  display: flex;
}

.grid-card-title {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
}

.grid-card-sub {
  color: var(--text-sub);
  margin-top: 2px;
  font-size: 12px;
}

.grid-card-badge {
  background: var(--sand-lt);
  color: var(--text-sub);
  white-space: nowrap;
  border-radius: 12px;
  height: fit-content;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
}

.progress-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 16px;
}

.progress-card-header {
  justify-content: space-between;
  margin-bottom: 6px;
  display: flex;
}

.progress-card-label {
  font-size: 13px;
  font-weight: 600;
}

.progress-card-value {
  font-size: 13px;
  font-weight: 700;
}

.progress-bar {
  background: var(--input-bg);
  border-radius: 6px;
  height: 6px;
  overflow: hidden;
}

.progress-fill {
  border-radius: 6px;
  height: 100%;
  transition: width .6s;
}

.stat-row {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.stat-mini {
  text-align: center;
  background: var(--input-bg);
  border-radius: 8px;
  flex: 1;
  min-width: 100px;
  padding: 10px;
}

.stat-mini-value {
  font-size: 16px;
  font-weight: 800;
}

.stat-mini-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 2px;
  font-size: 10px;
}

.cal-nav {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  display: flex;
}

.cal-nav-left {
  align-items: center;
  gap: 8px;
  display: flex;
}

.cal-nav-title {
  font-size: 16px;
  font-weight: 700;
}

.cal-nav-arrows {
  gap: 4px;
  display: flex;
}

.flex {
  display: flex;
}

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

.flex-center {
  justify-content: center;
  align-items: center;
}

.flex-between {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

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

.gap-4 {
  gap: 4px;
}

.gap-6 {
  gap: 6px;
}

.gap-8 {
  gap: 8px;
}

.gap-10 {
  gap: 10px;
}

.gap-12 {
  gap: 12px;
}

.gap-14 {
  gap: 14px;
}

.gap-16 {
  gap: 16px;
}

.gap-20 {
  gap: 20px;
}

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

.text-uppercase {
  text-transform: uppercase;
}

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

.text-9 {
  font-size: 9px;
}

.text-10 {
  font-size: 10px;
}

.text-11 {
  font-size: 11px;
}

.text-12 {
  font-size: 12px;
}

.text-13 {
  font-size: 13px;
}

.text-14 {
  font-size: 14px;
}

.text-16 {
  font-size: 16px;
}

.text-22 {
  font-size: 22px;
}

.text-28 {
  font-size: 28px;
}

.text-32 {
  font-size: 32px;
}

.fw-500 {
  font-weight: 500;
}

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

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

.fw-800 {
  font-weight: 800;
}

.fw-900 {
  font-weight: 900;
}

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

.text-teal {
  color: var(--teal, #005172);
}

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

.text-success {
  color: var(--success, #2e8b57);
}

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

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

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

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

.bg-teal {
  background: var(--teal, #005172);
}

.bg-accent {
  background: var(--accent, #a85622);
}

.bg-success {
  background: var(--success, #2e8b57);
}

.bg-danger {
  background: var(--danger, #b4432e);
}

.bg-warning {
  background: var(--warning, #c98a1b);
}

.border-left-success {
  border-left: 4px solid var(--success, #2e8b57);
}

.border-left-warning {
  border-left: 4px solid var(--warning, #c98a1b);
}

.border-left-danger {
  border-left: 4px solid var(--danger, #b4432e);
}

.w-full {
  width: 100%;
}

.stat-mini-sub {
  color: var(--text-sub);
  margin-top: 2px;
  font-size: 11px;
}

.card-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  display: grid;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-12 {
  margin-bottom: 12px;
}

.mb-14 {
  margin-bottom: 14px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mt-8 {
  margin-top: 8px;
}

.p-16 {
  padding: 16px;
}

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

  .panel-row, .bottom-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .sidebar {
    height: 100%;
    position: fixed;
    left: -272px;
  }

  .sidebar.mobile-open {
    left: 0;
  }

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

  .content {
    padding: 20px 16px 40px;
  }

  .topbar {
    padding: 14px 16px;
  }

  .search-box {
    max-width: none;
  }

  .lang-select, .topbar-name, .topbar-role {
    display: none;
  }
}

.app-loading {
  z-index: 9999;
  background: #faf9f5;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}

.app-loading-spinner {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  display: flex;
}

.spinner-ring {
  border: 3px solid var(--mist-dk);
  border-top-color: var(--ocean-blue);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: .7s linear infinite spin;
}

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

.app-loading-text {
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 500;
}

.nav-search {
  padding: 2px 0 8px;
  position: relative;
}

.nav-search-box {
  background: #ffffff12;
  border: 1px solid #ffffff1f;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  display: flex;
}

.nav-search-box svg {
  opacity: .75;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.nav-search-box input {
  color: #eaf4f7;
  background: none;
  border: 0;
  outline: none;
  flex: 1;
  min-width: 0;
  font-size: 13px;
}

.nav-search-box input::placeholder {
  color: #8fb0bd;
}

.nav-search-results {
  z-index: 40;
  background: #0e3a4a;
  border: 1px solid #ffffff24;
  border-radius: 10px;
  max-height: 320px;
  margin-top: 4px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  overflow-y: auto;
  box-shadow: 0 12px 28px #00000073;
}

.nav-search-hit {
  text-align: left;
  color: #dcebf1;
  cursor: pointer;
  background: none;
  border: 0;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 8px 10px;
  font-size: 12.5px;
  display: flex;
}

.nav-search-hit:hover, .nav-search-hit.active {
  color: #fff;
  background: #ffffff1a;
}

.nav-search-hit small {
  opacity: .65;
  font-size: 10.5px;
}

.nav-search-empty {
  opacity: .7;
  padding: 10px;
  font-size: 12px;
}

.nav-dept-head {
  color: #7fa3b3;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px 12px 6px;
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
}

.nav-dept-head span {
  text-align: left;
  text-overflow: ellipsis;
  flex: 1;
  overflow: hidden;
}

.nav-dept-head .nav-caret {
  opacity: .7;
  width: 12px;
  height: 12px;
  transition: transform .2s;
}

.nav-dept-head.open .nav-caret {
  transform: rotate(90deg);
}

.nav-subitem {
  color: #b9d3dc;
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  gap: 9px;
  margin-bottom: 1px;
  padding: 7px 12px 7px 26px;
  font-size: 12.5px;
  display: flex;
  position: relative;
}

.nav-subitem:hover {
  color: #fff;
  background: #ffffff12;
}

.nav-subitem.active {
  color: #fff;
  background: #a856228c;
}

.nav-subitem:before {
  content: "";
  background: #ffffff24;
  width: 1px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px;
}

.nav-subitem span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.nav-count {
  opacity: .6;
  margin-left: auto;
  font-size: 10px;
}

:root {
  --font-sans: "FuturaCyrillic", var(--font-inter, "Segoe UI"), "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --control-h: 40px;
  --control-h-sm: 32px;
  --control-px: 14px;
  --elev-1: 0 1px 2px #13262d0a, 0 10px 28px #13262d0f;
  --elev-2: 0 2px 4px #13262d0d, 0 16px 40px #13262d1a;
  --elev-3: 0 8px 24px #13262d1a;
  --ring: 0 0 0 3px #0051722e;
  --ring-danger: 0 0 0 3px #a32a222e;
  --primary: var(--rust, #a85622);
  --primary-hover: var(--rust-light, #c7712f);
  --accent: var(--ocean-blue, #005172);
}

body.dark {
  --elev-1: 0 1px 2px #0006, 0 10px 28px #00000047;
  --elev-2: 0 2px 8px #00000073;
  --elev-3: 0 10px 28px #0000008c;
  --ring: 0 0 0 3px #3e9fc447;
  --control-h: 40px;
  --control-h-sm: 32px;
}

body, button, input, select, textarea, optgroup, table, th, td, label, .brand-name, .stat-val, .stat-lbl, .fin-val, .kpi-value, .kpi-label, .kpi-score-val, .section-title, .section-sub, .section-header-title, .section-header-sub, .dept-hero-title, .dept-hero-sub, .dept-hero-stat-val, .dept-hero-stat-lbl, .ai-input, .ai-close, .form-input, .form-select, .login-overlay, .login-card .field input, .login-card .field select, .login-btn-primary, .alt-logins .alt-btn, .search-box input, .lang-select, .tab-btn, .tab-item, [style*="Poppins"], [style*="Futura"], [style*="Arial"], [style*="Georgia"], [style*="Times New Roman"], [style*="Verdana"], [style*="Tahoma"] {
  font-family: var(--font-sans) !important;
}

.td-mono, .ticket-id, code, pre, kbd, samp, .mono {
  font-family: var(--font-mono) !important;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]), select, textarea {
  color: var(--text-main, var(--text-dark, #1e2a2f));
  background: var(--input-bg, #fff);
  border: 1px solid var(--card-border, var(--border, #e7e4d9));
  padding: 7px var(--control-px);
  min-height: var(--control-h);
  transition: border-color .15s, box-shadow .15s, background .15s;
  font-family: var(--font-sans) !important;
  border-radius: var(--r-sm) !important;
  font-size: 13px !important;
}

input::placeholder, textarea::placeholder {
  color: var(--text-soft, #8c9a9e);
  opacity: 1;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]):focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ocean-blue, #005172) !important;
  box-shadow: var(--ring) !important;
}

select {
  cursor: pointer;
  border-radius: var(--r-pill) !important;
}

textarea {
  resize: vertical;
  min-height: 86px;
}

button, .btn, [role="button"], input[type="submit"], input[type="button"], input[type="reset"] {
  font-weight: 600;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .12s;
  font-family: var(--font-sans) !important;
  border-radius: var(--r-pill) !important;
}

button:focus-visible, .btn:focus-visible, [role="button"]:focus-visible {
  box-shadow: var(--ring) !important;
  outline: none !important;
}

button:disabled, .btn:disabled, [aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.15);
}

.badge, .filter-pill, [class*="pill"], [class*="-chip"], [class*="switch"], button[style*="999px"], button[style*="50%"], button[style*="1e3"], .notif-dot, [class*="avatar"], [class*="Avatar"] {
  border-radius: var(--r-pill) !important;
}

button:not([class]) {
  background: var(--card-bg, #fff);
  border: 1px solid var(--card-border, var(--border, #e7e4d9));
  color: var(--text-main, #1e2a2f);
  padding: 7px 14px;
  font-size: 13px !important;
}

button:not([class]):hover {
  background: var(--row-hover, #0000000a);
}

.card, .card-sm, .table-wrap, .stat-tile, .fin-tile, .proj-card, [class$="-card"], [class$="Card"], [class$="-tile"], [class$="Tile"], [class$="-panel"], [class$="Panel"], [class$="-box"], [class$="-box-sm"] {
  border-radius: var(--r-lg) !important;
}

.card, .card-sm, .stat-tile, .fin-tile {
  box-shadow: var(--elev-1);
  border: 1px solid var(--border, #e7e4d9);
}

table {
  font-family: var(--font-sans);
}

th {
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font-sans) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

td {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
}

.table-wrap {
  border-radius: var(--r-lg) !important;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--text-dark, var(--text-main));
  letter-spacing: -.01em;
}

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

:root {
  --elev-primary: 0 2px 10px #a8562240;
}

body.dark {
  --elev-primary: 0 2px 10px #00000080;
}

button, .btn, [role="button"], input[type="submit"], input[type="button"], input[type="reset"] {
  font-size: 13px !important;
}

.btn-sm {
  font-size: 12px !important;
}

.btn-xs {
  font-size: 11px !important;
}

.btn-primary, .btn-submit, .btn-primary-alt, .btn-danger, [class*="btn-primary" i], [class*="primary-btn" i] {
  box-shadow: var(--elev-primary) !important;
}

.card, .card-sm, [class*="card" i], [class*="tile" i] {
  border-radius: var(--r-lg) !important;
}

.card, .card-sm, [class*="card" i], [class*="tile" i]:not([class*="login" i]) {
  box-shadow: var(--elev-1) !important;
}

[class*="panel" i] {
  border-radius: var(--r-lg) !important;
}

[class*="badge" i], [class*="chip" i], [class*="tag" i], [class*="pill" i] {
  border-radius: var(--r-pill) !important;
}

.nav-item.active {
  box-shadow: none !important;
}

nav.module-nav {
  border-radius: var(--r-lg) !important;
  box-shadow: var(--elev-1) !important;
}

[class$="-icon" i], [class*="icon-wrap" i] {
  border-radius: var(--r-md) !important;
}

[style*="border-radius: 6px"] {
  border-radius: var(--r-sm) !important;
}

[style*="border-radius: 7px"], [style*="border-radius: 8px"], [style*="border-radius: 9px"], [style*="border-radius: 10px"], [style*="border-radius: 11px"] {
  border-radius: var(--r-md) !important;
}

[style*="border-radius: 12px"], [style*="border-radius: 13px"], [style*="border-radius: 14px"], [style*="border-radius: 16px"] {
  border-radius: var(--r-lg) !important;
}

[style*="border-radius: 18px"], [style*="border-radius: 20px"] {
  border-radius: var(--r-pill) !important;
}

body.dark {
  --card: #112329;
  --text-dark: #e9eff0;
  --text-mid: #b7c6ca;
  --text-soft: #8fa3a8;
  --sand: #35505a;
  --sand-soft: #0c1d23;
  --card-shadow: 0 1px 2px #0000004d, 0 10px 28px #00000047;
}

body.dark .card, body.dark .card-sm, body.dark .table-wrap, body.dark .stat-tile, body.dark .fin-tile, body.dark th {
  background: var(--card) !important;
}

body.dark td {
  background: var(--card) !important;
  color: var(--text-dark) !important;
}

body.dark .card-title, body.dark .table-title, body.dark .section-label {
  color: var(--text-dark);
}

.sidebar-toggle {
  min-width: 36px !important;
  min-height: 36px !important;
}

.btn-sm {
  min-height: 30px !important;
}

.btn-xs {
  min-height: 26px !important;
}

a.panel-link {
  align-items: center;
  min-height: 30px;
  display: inline-flex;
}

@media (max-width: 640px) {
  button, .btn, a.btn, [role="button"] {
    min-height: 40px;
  }

  .btn-sm, .btn-xs {
    min-height: 34px !important;
  }
}

@media (max-width: 959px) {
  body {
    padding: 0;
  }

  #app {
    box-shadow: none;
    border-radius: 0;
    max-width: none;
    height: 100vh;
  }

  .sidebar {
    z-index: 999;
    border-radius: 0 28px 28px 0;
    width: 280px;
    max-width: 86vw;
    height: 100vh;
    transition: transform .22s;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-104%);
    box-shadow: 0 24px 70px #00000059;
  }

  .sidebar.mobile-open {
    transform: none;
  }

  .sidebar-overlay {
    z-index: 998;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: #0814198c;
    display: block;
    position: fixed;
    inset: 0;
  }

  .module-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  #content {
    padding: 12px 14px 30px;
  }

  .topbar {
    gap: 8px;
    padding: 12px 14px 4px;
  }

  .search-box {
    flex: 1;
    min-width: 0;
  }

  .stat-grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .table-wrap {
    overflow-x: auto;
  }
}

#content table, .modal table, .emp-modal-window table {
  border-spacing: 0 7px;
  border-collapse: separate !important;
}

#content th, .modal th {
  color: var(--text-muted) !important;
  background: none !important;
  border-bottom: 0 !important;
}

#content td, .modal td {
  background: var(--card-2) !important;
  border-top: 0 !important;
}

#content td:first-child, .modal td:first-child {
  border-radius: 14px 0 0 14px;
}

#content td:last-child, .modal td:last-child {
  border-radius: 0 14px 14px 0;
}

#content tbody tr:hover td, .modal tbody tr:hover td {
  background: var(--row-hover) !important;
}

.search-box {
  border-radius: var(--r-pill) !important;
}

.badge {
  line-height: 1.5;
  font-size: 11px !important;
}

[dir="rtl"] #content td:first-child, [dir="rtl"] .modal td:first-child, [dir="rtl"] .emp-modal-window td:first-child {
  border-radius: 0 14px 14px 0 !important;
}

[dir="rtl"] #content td:last-child, [dir="rtl"] .modal td:last-child, [dir="rtl"] .emp-modal-window td:last-child {
  border-radius: 14px 0 0 14px !important;
}

@media (max-width: 640px) {
  .topbar-spacer {
    display: none;
  }

  .search-box {
    flex: auto;
    min-width: 120px;
    max-width: none;
  }

  #content th, #content td {
    white-space: normal !important;
  }

  #content .card, #content .card-sm, #content .table-wrap {
    overflow-x: auto;
  }
}

.cc {
  --brand-soft: #ddebf1;
  --accent-soft: #f5e4d8;
  --sand: #dad7cb;
  --ink: #13262d;
  --line: #e7e4da;
  --hero: #0a3e56;
  --hero-2: #06526f;
  --s1: #005172;
  --s2: #c9c5b6;
  --r1: #005172;
  --r2: #a85622;
  --r3: #c2a96b;
  --r4: #9db9c0;
  --k1: #a85622;
  --k2: #005172;
  --k3: #13262d;
  --k4: #c2a96b;
  --k5: #2e8b57;
  --good: #1f6e43;
  --good-bg: #dfefe5;
  --warn: #7e5200;
  --warn-bg: #f6e8c6;
  --crit: #a32a22;
  --crit-bg: #f8ddd9;
  --flat: #4d5f64;
  --flat-bg: #e7e4da;
  --orange: #a85622;
  --f-display: FuturaCyrillic,var(--font-inter, "Segoe UI"),system-ui,sans-serif;
  --f-body: FuturaCyrillic,var(--font-inter, "Segoe UI"),system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --f-mono: ui-monospace,"Cascadia Mono",Menlo,Consolas,monospace;
  --sh-cc: 0 1px 2px #13262d0a,0 10px 28px #13262d0f;
  color: var(--ink);
  font-family: var(--f-body);
  flex-direction: column;
  gap: 20px;
  font-size: 14px;
  line-height: 1.45;
  display: flex;
}

body.dark .cc {
  --brand-soft: #153847;
  --accent-soft: #3a2518;
  --sand: #35505a;
  --ink: #e9eff0;
  --line: #1e3740;
  --hero: #0f4660;
  --hero-2: #0b5878;
  --s1: #3e9fc4;
  --s2: #35505a;
  --r1: #3e9fc4;
  --r2: #e0894a;
  --r3: #cdb878;
  --r4: #5b7f8b;
  --k1: #e0894a;
  --k2: #3e9fc4;
  --k3: #e9eff0;
  --k4: #cdb878;
  --k5: #6ccb93;
  --good: #6ccb93;
  --good-bg: #123424;
  --warn: #e3b456;
  --warn-bg: #3a2d10;
  --crit: #f09088;
  --crit-bg: #3e1a17;
  --flat: #9db1b6;
  --flat-bg: #1b3139;
  --orange: #e0894a;
  --sh-cc: 0 1px 2px #0000004d,0 10px 28px #00000047;
}

.cc .mono {
  font-family: var(--f-mono);
  font-size: 12.5px;
}

.cc .num {
  font-variant-numeric: tabular-nums;
}

.cc .head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  display: flex;
}

.cc .hello {
  color: var(--muted);
  font-size: 13px;
}

.cc .head h1 {
  font-family: var(--f-display);
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
  margin: 2px 0 0;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.1;
}

.cc .head p {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 13.5px;
}

.cc .head-acts {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.cc .btn {
  background: var(--card);
  height: 42px;
  box-shadow: var(--sh-cc);
  white-space: nowrap;
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
}

.cc .btn:hover {
  background: var(--card-2);
}

.cc .btn.accent {
  background: var(--orange);
  color: #fff;
  box-shadow: none;
}

.cc .btn.accent:hover {
  filter: brightness(1.08);
}

.cc .btn.wide {
  background: linear-gradient(90deg,var(--orange),#c7712f);
  color: #fff;
  width: 100%;
  box-shadow: none;
  justify-content: center;
}

.cc .btn.sm {
  height: 34px;
  padding: 0 14px;
  font-size: 12.5px;
}

.cc .link {
  color: var(--brand);
  background: none;
  border: 0;
  align-self: flex-start;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 600;
}

.cc .link:hover {
  text-decoration: underline;
}

.cc .kpis {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  display: grid;
}

.cc .kpi {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--sh-cc);
  aspect-ratio: 1;
  border-radius: 4px;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 16px;
  display: flex;
  overflow: hidden;
}

.cc .kpi-top {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  display: flex;
}

.cc .kpi-ic {
  background: var(--card-2);
  width: 44px;
  height: 44px;
  color: var(--brand);
  border-radius: 10px;
  flex: none;
  place-items: center;
  display: grid;
  box-shadow: 0 2px 8px #13262d0f;
}

.cc .kpi-ic svg {
  width: 20px;
  height: 20px;
}

.cc .kpi-d {
  color: var(--muted);
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
}

.cc .kpi-d.good {
  color: var(--good);
}

.cc .kpi-d.warn {
  color: var(--warn);
}

.cc .kpi-d.crit {
  color: var(--crit);
}

.cc .kpi-d svg {
  fill: currentColor;
  width: 10px;
  height: 10px;
}

.cc .kpi-v {
  font-family: var(--f-display);
  letter-spacing: -.015em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: clamp(23px, 2.1vw, 30px);
  font-weight: 700;
  line-height: 1.1;
}

.cc .kpi-l {
  color: var(--ink);
}

.cc .kpi-v .u {
  font-family: var(--f-body);
  opacity: .7;
  letter-spacing: 0;
  font-size: .5em;
  font-weight: 600;
}

.cc .kpi-l {
  font-size: 13px;
  font-weight: 600;
}

.cc .kpi-c {
  color: var(--muted);
  font-size: 12px;
}

.cc .kpi svg.spark {
  width: 100%;
  height: 36px;
  margin-top: auto;
  display: block;
}

.cc .kpi.hero {
  background: linear-gradient(150deg,var(--hero),var(--hero-2));
  color: #fff;
  border: 0;
}

.cc .kpi.hero .kpi-v, .cc .kpi.hero .kpi-l {
  color: #fff;
}

.cc .kpi.hero .kpi-ic {
  color: #fff;
  box-shadow: none;
  background: #ffffff24;
}

.cc .kpi.hero .kpi-c {
  color: #ffffffb8;
}

.cc .kpi.hero .kpi-d {
  color: #fff;
}

.cc .kpi.act {
  cursor: pointer;
  text-align: left;
  justify-content: flex-start;
  align-items: flex-start;
  border-radius: 4px !important;
}

.cc .kpi.act .qa-ic {
  border-radius: 10px;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  display: grid;
}

.cc .kpi.act .qa-ic svg {
  width: 22px;
  height: 22px;
}

.cc .kpi.act b {
  color: var(--ink);
  overflow-wrap: anywhere;
  font-size: 13.5px;
  font-weight: 600;
  display: block;
}

.cc .kpi.act small {
  color: var(--muted);
  margin-top: 2px;
  font-size: 12px;
  display: block;
}

.cc .kpi.act:hover {
  background: var(--card-2);
}

.cc .pill {
  white-space: nowrap;
  background: var(--flat-bg);
  color: var(--flat);
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
}

.cc .pill.good {
  background: var(--good-bg);
  color: var(--good);
}

.cc .pill.warn {
  background: var(--warn-bg);
  color: var(--warn);
}

.cc .pill.crit {
  background: var(--crit-bg);
  color: var(--crit);
}

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

.cc .grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  display: grid;
}

.cc .grid > * {
  grid-column: span 12;
  min-width: 0;
}

@media (min-width: 760px) {
  .cc .grid > .h {
    grid-column: span 6;
  }
}

@media (min-width: 1180px) {
  .cc .grid > .w3 {
    grid-column: span 3;
  }

  .cc .grid > .w4 {
    grid-column: span 4;
  }

  .cc .grid > .w5 {
    grid-column: span 5;
  }

  .cc .grid > .w6 {
    grid-column: span 6;
  }

  .cc .grid > .w7 {
    grid-column: span 7;
  }

  .cc .grid > .w8 {
    grid-column: span 8;
  }
}

.cc .card {
  background: var(--card);
  box-shadow: var(--sh-cc);
  border: 0;
  border-radius: 24px;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  display: flex;
}

.cc .card-h {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px 14px;
  display: flex;
}

.cc .card-h h2 {
  font-family: var(--f-display);
  letter-spacing: -.005em;
  color: var(--ink);
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.cc .card-h p {
  color: var(--muted);
  margin: 3px 0 0;
  font-size: 12.5px;
}

.cc .legend {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 12.5px;
  display: flex;
}

.cc .legend i {
  border-radius: 50%;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  display: inline-block;
}

.cc .seg {
  background: var(--card-2);
  border-radius: 999px;
  padding: 3px;
  display: inline-flex;
}

.cc .seg button {
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
}

.cc .seg button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--card);
}

.cc .chart {
  position: relative;
}

.cc .chart svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.cc .axis {
  fill: var(--muted);
  font-family: var(--f-body);
  font-size: 11.5px;
}

.cc .tip {
  background: var(--ink);
  color: var(--card);
  pointer-events: none;
  white-space: nowrap;
  z-index: 5;
  border-radius: 14px;
  padding: 7px 12px;
  font-size: 12px;
  line-height: 1.45;
  position: absolute;
  transform: translate(-50%, -100%);
  box-shadow: 0 6px 18px #0003;
}

.cc .tip b {
  font-size: 13px;
  font-weight: 700;
}

.cc .tip span {
  opacity: .75;
}

.cc .ring-wrap {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  display: flex;
}

.cc .ring {
  flex: none;
  width: 164px;
  height: 164px;
  position: relative;
}

.cc .ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.cc .ring-c {
  text-align: center;
  place-content: center;
  display: grid;
  position: absolute;
  inset: 0;
}

.cc .ring-c b {
  font-family: var(--f-display);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.cc .ring-c span {
  color: var(--muted);
  margin-top: 4px;
  font-size: 12px;
}

.cc .ring-list {
  flex-direction: column;
  gap: 9px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.cc .ring-list li {
  align-items: center;
  gap: 9px;
  font-size: 13px;
  display: flex;
}

.cc .ring-list i {
  border-radius: 50%;
  flex: none;
  width: 9px;
  height: 9px;
}

.cc .ring-list em {
  font-variant-numeric: tabular-nums;
  margin-left: auto;
  font-style: normal;
  font-weight: 600;
}

.cc .ap-list {
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.cc .ap {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  display: grid;
}

.cc .ap + .ap {
  border-top: 1px solid var(--line);
}

.cc .ap b {
  overflow-wrap: anywhere;
  font-weight: 600;
  display: block;
}

.cc .ap .meta {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-top: 3px;
  font-size: 12px;
  display: flex;
}

.cc .ap .acts {
  gap: 6px;
  display: flex;
}

.cc .round {
  border: 1px solid var(--line);
  background: var(--card);
  width: 34px;
  height: 34px;
  color: var(--muted);
  border-radius: 50%;
  place-items: center;
  display: grid;
}

.cc .round:hover {
  background: var(--card-2);
}

.cc .round.ok {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink, #fff);
}

.cc .round.ok:hover {
  filter: brightness(1.1);
}

.cc .round svg {
  width: 16px;
  height: 16px;
}

.cc .av {
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 12px;
  font-weight: 700;
  display: grid;
}

.cc .av0 {
  background: var(--brand-soft);
  color: var(--brand);
}

.cc .av1 {
  background: var(--accent-soft);
  color: var(--orange);
}

.cc .av2 {
  background: var(--sand);
  color: var(--ink);
}

.cc .av3 {
  background: var(--good-bg);
  color: var(--good);
}

.cc .av4 {
  background: var(--warn-bg);
  color: var(--warn);
}

.cc .steps {
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 14px;
  display: grid;
}

.cc .step {
  background: var(--card-2);
  border-radius: 20px;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  display: flex;
  position: relative;
}

.cc .step.first {
  background: linear-gradient(150deg,var(--hero),var(--hero-2));
  color: #fff;
}

.cc .step-ic {
  color: #fff;
  border-radius: 10px;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
  position: absolute;
  top: 16px;
  right: 16px;
}

.cc .step-ic svg {
  width: 18px;
  height: 18px;
}

.cc .step-l {
  padding-right: 44px;
  font-size: 13px;
  font-weight: 600;
}

.cc .step-v {
  font-family: var(--f-display);
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
  font-size: 28px;
  font-weight: 700;
}

.cc .step-r {
  color: var(--muted);
  justify-content: space-between;
  font-size: 12px;
  display: flex;
}

.cc .step.first .step-r {
  color: #ffffffbf;
}

.cc .step-r b {
  color: inherit;
  font-weight: 700;
}

.cc .bar-t {
  background: #7f8c9138;
  border-radius: 3px;
  height: 5px;
  overflow: hidden;
}

.cc .bar-t span {
  border-radius: 3px;
  height: 100%;
  display: block;
}

.cc .filters {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.cc .sel {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--card);
  height: 38px;
  color: var(--ink);
  border-radius: 999px;
  padding: 0 34px 0 16px;
  font-size: 12.5px;
  font-weight: 600;
}

.cc .filters input[type="search"], .cc .filters input[type="text"] {
  border: 1px solid var(--line);
  background: var(--card);
  min-width: 180px;
  height: 38px;
  color: var(--ink);
  border-radius: 999px;
  outline: 0;
  flex: 180px;
  padding: 0 16px;
}

.cc .filters input:focus, .cc .sel:focus {
  border-color: var(--brand);
}

.cc .tbl {
  margin-inline: -6px;
  padding-inline: 6px;
  overflow-x: auto;
}

.cc table {
  border-collapse: separate;
  border-spacing: 0 7px;
  width: 100%;
  min-width: 640px;
}

.cc th {
  color: var(--muted);
  text-align: left;
  white-space: nowrap;
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 500;
}

.cc td {
  background: var(--card-2);
  vertical-align: middle;
  color: var(--ink);
  padding: 11px 12px;
  font-size: 13.5px;
}

.cc td:first-child {
  border-radius: 14px 0 0 14px;
}

.cc td:last-child {
  border-radius: 0 14px 14px 0;
}

.cc tbody tr:hover td {
  background: var(--row-hover);
}

.cc td.r, .cc th.r {
  text-align: right;
}

.cc td.nw {
  white-space: nowrap;
}

.cc td .ent {
  align-items: center;
  gap: 10px;
  font-weight: 600;
  display: flex;
}

.cc td .ent .av {
  width: 30px;
  height: 30px;
  font-size: 11px;
}

.cc input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

.cc .empty {
  text-align: center;
  color: var(--muted);
  padding: 26px 10px;
}

.cc .tfoot {
  color: var(--muted);
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  display: flex;
}

.cc .banner {
  color: #fff;
  background: linear-gradient(145deg,var(--hero),var(--hero-2));
  border-radius: 24px;
  flex-direction: column;
  gap: 8px;
  min-height: 190px;
  padding: 22px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.cc .banner small {
  opacity: .8;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

.cc .banner h3 {
  font-family: var(--f-display);
  text-wrap: balance;
  color: #fff;
  max-width: 16ch;
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.cc .banner p {
  opacity: .8;
  max-width: 30ch;
  margin: 0;
  font-size: 13px;
}

.cc .banner .btn {
  z-index: 1;
  align-self: flex-start;
  margin-top: 8px;
  position: relative;
}

.cc .banner svg.ridge {
  opacity: .9;
  pointer-events: none;
  width: 62%;
  height: auto;
  position: absolute;
  bottom: -4px;
  right: -10px;
}

.cc .sched {
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  display: grid;
}

.cc .sched + .sched {
  margin-top: 12px;
}

.cc .date {
  background: var(--card-2);
  text-align: center;
  border-radius: 14px;
  padding: 6px 0;
  line-height: 1.1;
}

.cc .date small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 11px;
  display: block;
}

.cc .date b {
  font-family: var(--f-display);
  color: var(--ink);
  font-size: 20px;
}

.cc .sched b.t {
  overflow-wrap: anywhere;
  font-weight: 600;
  display: block;
}

.cc .sched span.s {
  color: var(--muted);
  font-size: 12px;
}

.cc .chat {
  flex-direction: column;
  flex: 1;
  gap: 10px;
  min-height: 120px;
  max-height: 260px;
  padding: 2px;
  display: flex;
  overflow-y: auto;
}

.cc .msg {
  white-space: pre-line;
  border-radius: 16px;
  max-width: 92%;
  padding: 10px 14px;
  font-size: 13px;
}

.cc .msg.bot {
  background: var(--card-2);
  border-bottom-left-radius: 4px;
}

.cc .msg.me {
  background: var(--brand);
  color: var(--brand-ink, #fff);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.cc .chips {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.cc .chip {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 500;
}

.cc .chip:hover {
  background: var(--card-2);
}

.cc .ask {
  background: var(--card-2);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 5px 5px 5px 16px;
  display: flex;
}

.cc .ask input {
  min-width: 0;
  height: 34px;
  color: var(--ink);
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
}

.cc .ask button {
  background: var(--orange);
  color: #fff;
  border: 0;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
}

.cc .ask button svg {
  width: 16px;
  height: 16px;
}

.cc .note {
  color: var(--muted);
  font-size: 11.5px;
}

.cc .feed {
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.cc .feed li {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  display: grid;
}

.cc .feed li + li {
  border-top: 1px solid var(--line);
}

.cc .feed time {
  font-family: var(--f-mono);
  color: var(--muted);
  font-size: 12px;
}

.cc .foot {
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.cc .toast {
  background: var(--ink);
  color: var(--card);
  z-index: 80;
  border-radius: 999px;
  max-width: calc(100vw - 32px);
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 500;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}

.cc .welcome-row {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  display: flex;
}

.cc .welcome-title {
  font-family: var(--f-display);
  letter-spacing: -.015em;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
}

.cc .welcome-sub {
  color: var(--muted);
  margin-top: 6px;
  font-size: 13.5px;
}

.cc .date-chip {
  background: var(--card-2);
  height: 34px;
  color: var(--brand);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
}

.cc .dept-list {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.cc .dept-row {
  cursor: pointer;
}

.cc .dept-top {
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  display: flex;
}

.cc .dept-icon {
  border-radius: 12px;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
}

.cc .dept-icon svg {
  width: 19px;
  height: 19px;
}

.cc .dept-name {
  min-width: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
}

.cc .dept-pct {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
}

.cc .dept-count {
  color: var(--muted);
  font-size: 11.5px;
}

.cc .bar-track {
  background: var(--card-2);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.cc .bar-fill {
  border-radius: 999px;
  height: 100%;
}

.cc .list-item {
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  display: flex;
}

.cc .list-item + .list-item {
  border-top: 1px solid var(--line);
}

.cc .list-icon {
  border-radius: 12px;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
}

.cc .list-icon svg {
  width: 18px;
  height: 18px;
}

.cc .list-title {
  color: var(--ink);
  overflow-wrap: anywhere;
  font-size: 13.5px;
  font-weight: 600;
}

.cc .list-meta {
  color: var(--muted);
  margin-top: 2px;
  font-size: 12px;
}

.cc .project-row {
  cursor: pointer;
  padding: 9px 0;
}

.cc .project-row + .project-row {
  border-top: 1px solid var(--line);
}

.cc .project-top {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  display: flex;
}

.cc .project-name {
  min-width: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
}

.cc .project-pct {
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  font-weight: 700;
}

.cc .panel-link {
  color: var(--brand);
  cursor: pointer;
  background: none;
  border: 0;
  margin-top: 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.cc .panel-link:hover {
  text-decoration: underline;
}

.cc .empty-state {
  min-height: 150px;
  color: var(--muted);
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.cc .empty-state svg {
  opacity: .5;
  width: 30px;
  height: 30px;
}

[style*="blur(10px)"] {
  background: var(--card) !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--border, #e7e4da) !important;
  box-shadow: var(--sh) !important;
  border-radius: 4px !important;
}

[style*="blur(10px)"] [style*="Poppins"], [style*="blur(10px)"] [style*="font-family"] {
  font-family: var(--f-body) !important;
}

[style*="blur(10px)"] [style*="border-radius: 7"], [style*="blur(10px)"] [style*="border-radius:7"] {
  border-radius: 10px !important;
}

.kpi-card, .stat-tile, .panel, nav.module-nav {
  border-radius: 4px !important;
}

.kpi-icon, .stat-icon-wrap {
  border-radius: 10px !important;
}

.dash-card {
  background: var(--card);
  border: 1px solid var(--border, #e7e4da);
  box-shadow: var(--sh);
  padding: 20px;
  position: static;
  border-radius: 4px !important;
}

.corr {
  --c-or: #a85622;
  --c-teal: #005172;
  --c-line: var(--border, #e6e2d6);
  --c-head: var(--bg2, #f7f5ee);
  --c-hov: var(--hover-bg, #fbf9f3);
}

.corr.rtl {
  text-align: right;
  direction: rtl;
}

.corr.ltr {
  text-align: left;
  direction: ltr;
}

.corr * {
  box-sizing: border-box;
}

.corr-kpis {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  display: grid;
}

.corr-kpi {
  background: var(--card);
  border: 1px solid var(--c-line);
  border-inline-start: 4px solid var(--c-teal);
  border-radius: 12px;
  padding: 12px 16px;
}

.corr-kpi:nth-child(2) {
  border-inline-start-color: #2e8b57;
}

.corr-kpi:nth-child(3) {
  border-inline-start-color: var(--c-or);
}

.corr-kpi:nth-child(4) {
  border-inline-start-color: #8a6d3b;
}

.corr-kpi b {
  color: var(--text-dark, var(--text-main));
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
  display: block;
}

.corr-kpi span {
  color: var(--text-sub);
  font-size: 11.5px;
  font-weight: 600;
}

.corr-card {
  background: var(--card);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px #0000000d;
}

.corr-bar {
  border-bottom: 1px solid var(--c-line);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  display: flex;
}

.corr-bar .corr-search {
  flex: 220px;
  min-width: 200px;
}

.corr-bar select {
  min-width: 130px;
}

.corr-scroll {
  overflow-x: hidden;
}

.corr-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.corr-table thead th {
  z-index: 2;
  background: var(--c-head);
  color: var(--text-sub);
  border-bottom: 2px solid var(--c-or);
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  text-align: inherit;
  padding: 11px 14px;
  position: sticky;
  top: 0;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.corr-table thead th.sortable {
  cursor: pointer;
}

.corr-table thead th.sortable:hover {
  color: var(--c-teal);
}

.corr-arrow {
  opacity: .35;
  margin-inline-start: 4px;
  font-size: 9px;
}

.corr-table thead th.on .corr-arrow {
  opacity: 1;
  color: var(--c-or);
}

.corr-table tbody td {
  border-bottom: 1px solid var(--c-line);
  vertical-align: middle;
  text-align: inherit;
  padding: 12px 14px !important;
  font-size: 12.5px !important;
}

.corr-table tbody tr {
  transition: background .12s;
}

.corr-table tbody tr:hover {
  background: var(--c-hov);
}

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

.corr-table tbody tr.corr-open {
  background: var(--c-hov);
}

.corr-n {
  color: var(--text-sub);
  width: 44px;
}

.corr-subj {
  color: var(--text-main);
  word-break: break-word;
  overflow-wrap: anywhere;
  font-weight: 700;
  line-height: 1.4;
}

.corr-ref {
  background: var(--c-head);
  border: 1px solid var(--c-line);
  color: var(--text-sub);
  direction: ltr;
  border-radius: 6px;
  padding: 2px 8px;
  font-family: Consolas, ui-monospace, monospace;
  font-size: 11.5px;
  display: inline-block;
}

.corr-date {
  color: var(--text-sub);
  white-space: nowrap;
  direction: ltr;
  font-size: 11.5px;
  display: inline-block;
}

.corr-org {
  color: var(--text-main);
}

.corr-due-late {
  color: #b3392b;
  font-weight: 700;
}

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

.corr-badge {
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  border: 0 !important;
}

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

.corr-st-approved {
  color: #1d7a46;
  background: #e3f4ea;
}

.corr-st-pending {
  color: #9a6a0a;
  background: #fdf0d9;
}

.corr-st-rejected {
  color: #b3392b;
  background: #fbe4e1;
}

.corr-st-sent {
  color: #005172;
  background: #e1eff5;
}

.corr-st-draft {
  color: #5a6b74;
  background: #eceff1;
}

.corr-st-archived {
  color: #5b4b8a;
  background: #edeaf5;
}

.corr-pri-low {
  color: #4c6572;
  background: #e8eef1;
}

.corr-pri-medium {
  color: #005172;
  background: #e1eff5;
}

.corr-pri-high {
  color: #a85622;
  background: #fbe6d9;
}

.corr-pri-urgent {
  color: #b3392b;
  background: #fbe1e1;
}

.corr-clip {
  border: 1px solid var(--border);
  cursor: pointer;
  width: 30px;
  height: 30px;
  color: var(--text-sub);
  background: none;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-size: 13px;
  line-height: 1;
  transition: all .15s;
  display: inline-flex;
}

.corr-clip:hover {
  background: var(--sand-lt, #f4f3ee);
  color: var(--text-main);
}

.corr-acts {
  justify-content: center;
  gap: 4px;
  display: flex;
}

.corr-ic {
  border: 1px solid var(--border);
  width: 30px;
  height: 30px;
  color: var(--text-sub);
  cursor: pointer;
  background: none;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-size: 13px;
  line-height: 1;
  transition: all .15s;
  display: inline-flex;
}

.corr-ic:hover {
  background: var(--ocean-blue, #005172);
  color: #fff;
  border-color: var(--ocean-blue, #005172);
}

.corr-ic.corr-danger:hover {
  background: var(--danger, #b4432e);
  border-color: var(--danger, #b4432e);
  color: #fff;
}

.corr-foot {
  border-top: 1px solid var(--c-line);
  color: var(--text-sub);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 12px;
  display: flex;
}

.corr-pg {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}

.corr-pg button {
  border: 1px solid var(--c-line);
  background: var(--card);
  min-width: 32px;
  height: 32px;
  color: var(--text-main);
  cursor: pointer;
  border-radius: 8px;
  padding: 0 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
}

.corr-pg button:hover:not(:disabled) {
  border-color: var(--c-teal);
  color: var(--c-teal);
}

.corr-pg button.on {
  background: var(--c-teal);
  color: #fff;
  border-color: var(--c-teal);
}

.corr-pg button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.corr-empty {
  text-align: center;
  color: var(--text-sub);
  padding: 44px 20px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .corr-st-approved {
    color: #6fd69b;
    background: #18382a;
  }

  :root:not([data-theme="light"]) .corr-st-pending {
    color: #e8bd5f;
    background: #3a2f14;
  }

  :root:not([data-theme="light"]) .corr-st-rejected {
    color: #f08b7e;
    background: #3d1d19;
  }

  :root:not([data-theme="light"]) .corr-st-sent {
    color: #74c4e2;
    background: #15343f;
  }

  :root:not([data-theme="light"]) .corr-pri-low {
    color: #a8bfcb;
    background: #25323a;
  }

  :root:not([data-theme="light"]) .corr-pri-medium {
    color: #74c4e2;
    background: #15343f;
  }

  :root:not([data-theme="light"]) .corr-pri-high {
    color: #f0a070;
    background: #3d2616;
  }

  :root:not([data-theme="light"]) .corr-pri-urgent {
    color: #f08b7e;
    background: #3d1d19;
  }
}

@media (max-width: 900px) {
  .corr-table {
    font-size: 11px;
  }

  .corr-bar {
    padding: 10px;
  }

  .corr-kpi b {
    font-size: 19px;
  }

  .corr-table thead th, .corr-table tbody td {
    padding: 8px 6px !important;
  }
}

/* [project]/src/styles/components.css [app-client] (css) */
.btn-md {
  min-height: var(--fac-ctl-h, 36px);
  border-radius: var(--fac-r-md, 10px);
  cursor: pointer;
  border: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .12s;
  display: inline-flex;
}

.btn-md svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.btn-md:hover {
  transform: translateY(-1px);
}

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

.btn-loading {
  pointer-events: none;
  position: relative;
}

.btn-spinner {
  border: 2px solid #ffffff59;
  border-top-color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  animation: .7s linear infinite fac-spin;
}

.btn-secondary .btn-spinner, .btn-outline .btn-spinner, .btn-ghost .btn-spinner {
  border-color: #00517240;
  border-top-color: var(--fac-primary, #005172);
}

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

.btn-primary:disabled, .btn-secondary:disabled, .btn-outline:disabled, .btn-danger:disabled, .btn-ghost:disabled, .btn-icon:disabled, .btn-submit:disabled, .btn-cancel:disabled, .btn-sm:disabled, .btn-xs:disabled, .btn-md:disabled {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(.15);
  transform: none;
}

.btn-icon {
  min-width: 30px;
}

.stat-tile {
  position: relative;
}

.stat-chip {
  white-space: nowrap;
  border-radius: 999px;
  height: fit-content;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
}

.module-hero {
  border-radius: var(--fac-r-lg, 24px);
  color: #fff;
  background: linear-gradient(150deg, var(--hero, #0a3e56), var(--hero-2, #06526f));
  margin-bottom: 16px;
  padding: 22px 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 34px #0a3e5638;
}

.module-hero:before {
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, #ffffff0f 0%, #0000 70%);
  border-radius: 50%;
  width: 180px;
  height: 180px;
  position: absolute;
  top: -40px;
  right: -40px;
}

.module-hero-title {
  letter-spacing: -.01em;
  font-size: 20px;
  font-weight: 800;
}

.module-hero-sub {
  opacity: .85;
  margin-top: 4px;
  font-size: 13px;
}

.module-hero-actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  display: flex;
}

.module-hero .btn-ghost, .module-hero .btn-outline {
  color: #fff;
  background: #ffffff1f;
  border-color: #ffffff59;
}

.module-hero .btn-ghost:hover, .module-hero .btn-outline:hover {
  color: #fff;
  background: #ffffff38;
}

.modal-sm {
  width: min(420px, 94vw);
}

.modal-md {
  width: min(640px, 94vw);
}

.modal-lg {
  width: min(960px, 94vw);
}

.modal-head {
  border-bottom: 1px solid var(--border);
  background: var(--row-hover);
  border-radius: 26px 26px 0 0;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  display: flex;
}

.modal-title {
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  display: flex;
}

.modal-body {
  padding: 18px 20px;
  overflow-y: auto;
}

.modal-foot {
  border-top: 1px solid var(--border);
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  display: flex;
}

@media (max-width: 900px) {
  .form-window {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  .modal-overlay > div, .modal-overlay-end > div {
    max-width: calc(100vw - 24px) !important;
  }
}

@media (max-width: 640px) {
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-overlay > div {
    max-width: 100vw !important;
  }
}

.crumbs {
  margin-bottom: 12px;
}

.crumbs ol {
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.crumb {
  align-items: center;
  gap: 2px;
  font-size: 12px;
  display: inline-flex;
}

.crumb-sep {
  color: var(--fac-text-mute, #5c6b70);
  display: inline-flex;
}

.crumb-link {
  cursor: pointer;
  color: var(--fac-primary, #005172);
  background: none;
  border: none;
  border-radius: 4px;
  padding: 2px 4px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
}

.crumb-link:hover {
  text-decoration: underline;
}

.crumb-current {
  color: var(--fac-text-sub, #5a5640);
  padding: 2px 4px;
  font-weight: 600;
}

[dir="rtl"] .crumb-sep svg {
  transform: scaleX(-1);
}

.back-btn {
  margin-bottom: 12px;
}

[dir="rtl"] .sidebar {
  order: 1;
}

[dir="rtl"] #main {
  order: 0;
}

[dir="rtl"] .module-hero:before, [dir="rtl"] .dept-hero:before {
  left: -40px;
  right: auto;
}

[dir="rtl"] .dept-hero:after {
  left: auto;
  right: -20px;
}

[dir="rtl"] .mn-item.active:before {
  border-radius: 3px 0 0 3px;
  left: auto;
  right: -4px;
}

[dir="rtl"] .modal-foot, [dir="rtl"] .form-actions {
  justify-content: flex-start;
}

[dir="rtl"] .stat-chip, [dir="rtl"] .status-tag {
  margin-left: 0;
  margin-right: auto;
}

/*# sourceMappingURL=src_0ewf1wx._.css.map*/