:root {
  /* Common */
  --font-family: "Nunito", sans-serif;
  --font-size: 13px;
  --header-height: 50px;
  --footer-height: 50px;

  /* Base Colors */
  --accent-blue: #109cf1;
  --blue: #1a73e8;
  --green: #56b623;
  --red: #eb5757;
  --yellow: #ffb946;
  --orange: #f98b29;
  --gray-5: #e0e0e0;
  --white: #fff;

  --hover-color: #8cbdfd;

  /* spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-l: var(--spacing-lg);
  --spacing-xl: 32px;
  --spacing-xxl: 40px;
  --spacing-xxxl: 48px;

  /* radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-xxl: 32px;
  --radius-xxxl: 40px;

  /* font size */
  --font-size-xxs: 10px;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-xxl: 22px;

  --table-mobile-column-min-size: 80px;

  --font-size-headings-xxl: 32px;
  --font-size-headings-xl: 28px;
  --font-size-headings-lg: 24px;
  --font-size-headings-md: 20px;
  --font-size-headings-sm: 18px;
  --font-size-headings-xs: 16px;
  --font-size-headings-xxs: 14px;
}

html[theme="light"] {
  --font-color: #334d6e;
  --font-color-secondary: #667892;
  --text-secondary: var(--font-color-secondary);
  --bg-fill: #fff;
  --bg-main: #eef3f8;
  --icon-grey: #9eb0c8;
  --dark-blue: #334d6e;
  --surface-1: #ffffff;
  --surface-2: #f8fbff;
  --surface-3: #f1f6fc;
  --surface-elevated: rgba(255, 255, 255, 0.94);
  --surface-overlay: rgba(15, 23, 42, 0.62);
  --border-subtle: rgba(148, 163, 184, 0.24);
  --border-strong: rgba(100, 116, 139, 0.34);
  --focus-ring: color-mix(in srgb, var(--accent-blue) 28%, transparent);
  --accent-soft: color-mix(in srgb, var(--accent-blue) 14%, white);
  --success-soft: color-mix(in srgb, var(--green) 14%, white);
  --danger-soft: color-mix(in srgb, var(--red) 12%, white);
  --shadow-sm: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.12);
  --button-primary-bg: #2563eb;
  --button-primary-bg-hover: #1d4ed8;
  --button-primary-bg-active: #1e40af;
  --button-primary-border: rgba(37, 99, 235, 0.6);
  --button-primary-fg: #ffffff;
  --button-secondary-fg: #17324d;
  --button-secondary-bg: #eef4fb;
  --button-secondary-bg-hover: #e3edf8;
  --button-secondary-border: rgba(51, 77, 110, 0.18);
  --gradient-bg-1: linear-gradient(#ffffff, #e3efff, #c1d7f3);

  /* Optional */
  --input-bg: var(--surface-2);
  --input-border: rgba(148, 163, 184, 0.38);
  --table-border: rgba(148, 163, 184, 0.24);
  --hover-row-color: color-mix(in srgb, var(--accent-blue) 10%, white);
  --frame-border: var(--border-subtle);

  /* Table */
  --table-head: var(--surface-3);

  /* Skeleton */
  --skeleton-base: #eaecef;
  --skeleton-shimmer: rgba(255, 255, 255, 0.85);
}

html[theme="dark"] {
  --font-color: #f5f6f8;
  --font-color-secondary: #a9b4c4;
  --text-secondary: var(--font-color-secondary);
  --bg-fill: #1d2938;
  --bg-main: #15202d;
  --dark-blue: #f5f6f8;
  --icon-grey: #6e89ab;
  --surface-1: #1d2938;
  --surface-2: #233244;
  --surface-3: #2a3a4d;
  --surface-elevated: rgba(29, 41, 56, 0.94);
  --surface-overlay: rgba(2, 6, 23, 0.74);
  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.28);
  --focus-ring: color-mix(in srgb, var(--accent-blue) 30%, transparent);
  --accent-soft: color-mix(in srgb, var(--accent-blue) 18%, transparent);
  --success-soft: color-mix(in srgb, var(--green) 20%, transparent);
  --danger-soft: color-mix(in srgb, var(--red) 18%, transparent);
  --shadow-sm: 0 12px 28px rgba(2, 6, 23, 0.36);
  --shadow-md: 0 22px 44px rgba(2, 6, 23, 0.42);
  --button-primary-bg: color-mix(in srgb, var(--accent-blue) 88%, var(--blue));
  --button-primary-bg-hover: color-mix(in srgb, var(--accent-blue) 96%, var(--blue));
  --button-primary-bg-active: color-mix(in srgb, var(--accent-blue) 78%, #0f172a);
  --button-primary-border: color-mix(in srgb, var(--accent-blue) 72%, transparent);
  --button-primary-fg: var(--white);
  --button-secondary-fg: var(--font-color);
  --button-secondary-bg: var(--surface-2);
  --button-secondary-bg-hover: var(--surface-3);
  --button-secondary-border: var(--border-subtle);
  --frame-border: var(--border-subtle);
  --gradient-bg-1: linear-gradient(#2c3e50, #34495e, #3a506b);

  /* Optional */
  --input-bg: var(--surface-2);
  --input-border: rgba(148, 163, 184, 0.28);
  --table-border: rgba(148, 163, 184, 0.18);
  --card-border: rgba(148, 163, 184, 0.18);
  --hover-row-color: color-mix(in srgb, var(--accent-blue) 20%, transparent);
  --framer-border: var(--gray-5);

  /* Table */
  --table-head: var(--surface-3);

  /* Skeleton */
  --skeleton-base: #2d3f52;
  --skeleton-shimmer: rgba(255, 255, 255, 0.07);
}

/* Global Zoom Support for Modal Portals */

.ReactModalPortal,
[data-table-context-menu],
#headlessui-portal-root,
[data-headlessui-portal] {
  zoom: var(--app-zoom, 1);
}

:root {
  font-family: var(--font-family);
  line-height: 1.5;
  font-weight: 500;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

html {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  letter-spacing: 0.5px;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  width: 100%;
  background-color: #f2f2f2;
  display: flex;
  color: var(--font-color);
  background-color: var(--bg-main);
}

#root {
  width: 100%;
  height: 100%;

  background-color: var(--bg-main);
}

* {
  box-sizing: border-box;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

/* TODO: Remove this style after completed Reusable SignatureTableComponent */

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}
.Fqx9BFT6nPY- {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  text-align: center;
  background-color: var(--background);
}

.uOWcp7BVW-0- {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-fill);
  border-radius: var(--radius-lg);
  min-width: 40vw;
  min-height: 40vh;
}

.uNjiqawgYv4- {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

._0tkPlnYQeL0- {
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 80%;
}

._75GbswiCbLY- {
  padding: 12px 24px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

._75GbswiCbLY-:hover {
  background-color: var(--primary-dark);
}
._1S-llr3lJhI- {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  white-space: nowrap;
}

.ZnnHRaS5Fb4- {
  width: 43px;
  height: 35px;
  flex-shrink: 0;
  object-fit: contain;
}

.FcmGF--pc58- {
  font-size: var(--font-size-lg);
  font-weight: 700;
  white-space: nowrap;
}

._1jncB7Wibvg- {
  color: #19a101;
}

.OItWEsBfyuo- {
  color: var(--font-color);
}
.c7uqzvcEX2E- {
  font-weight: 700;
  font-size: var(--font-size-sm);
  text-decoration: none;
  color: var(--font-color);

  &:hover {
    opacity: 0.8;
  }

  @media (max-width: 900px) {
    font-size: var(--font-size-xs);
  }
}
._4O1D4R47AP8- {
  width: 100%;
  min-height: 100%;
  margin: 0 auto;
  padding: 32px 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      circle at top left,
      color-mix(in srgb, var(--accent-blue) 18%, transparent),
      transparent 38%
    ),
    radial-gradient(
      circle at bottom right,
      color-mix(in srgb, var(--green) 16%, transparent),
      transparent 34%
    );

  @media (max-width: 900px) {
    padding: var(--spacing-md);
    align-items: stretch;
  }
}

.gaLVfoHMoSY- {
  width: min(100%, 520px);
  min-height: auto;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 28px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-elevated) 96%, transparent),
    var(--surface-1)
  );
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);

  @media (max-width: 900px) {
    padding: 22px 18px 24px;
    border-radius: 24px;
  }
}

.-I8a9n4rQO8- {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.k7Y2Nx7-Sek- {
  color: var(--accent-blue);
  font-weight: 600;
  text-decoration: none;
}
.zHA7txImTtU- {
  all: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  animation: h8PwCU5vFi0- 0.18s ease-out;
}

@keyframes h8PwCU5vFi0- {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.m2V0gXz3Ydo- {
  position: relative;
  height: 100%;
}
.Rd3yOMI3iKk- {
  height: var(--footer-height);
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10;
  background-color: var(--bg-fill);
  /* fix #5: sync with sidebar transition */
  transition:
    left 0.05s linear,
    width 0.05s linear;

  &:not(.dkgSuNP-Sh0-) {
    left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
  }

  @media (max-width: 900px) {
    transition: none;

    &:not(.dkgSuNP-Sh0-) {
      left: 0;
      width: 100%;
    }
  }
}

._-61f3Hjvek8- {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: var(--spacing-md);
}

.gZM4ql-4ioQ- {
  text-decoration: underline;

  @media (max-width: 900px) {
    font-size: 8px;
  }
}
.HS6SBM1uGtk- {
  display: flex;
  background-color: var(--bg-fill);
  border: 1px solid var(--table-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-right: var(--spacing-sm);
}

.vwHq4fI91oo- {
  padding: var(--spacing-xs) var(--spacing-sm);
  background-color: transparent;
  border: none;
  border-right: 1px solid var(--table-border);
  color: var(--font-color);
  cursor: pointer;
  font-size: var(--font-size-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.vwHq4fI91oo-:last-child {
  border-right: none;
}

.vwHq4fI91oo-:hover {
  background-color: var(--hover-row-color);
  color: var(--accent-blue);
}

.vwHq4fI91oo-.aLEcEdOEwh4- {
  background-color: var(--accent-blue);
  color: white;
}

.vwHq4fI91oo-.aLEcEdOEwh4-:hover {
  background-color: var(--dark-blue);
  color: white;
}

@media screen and (max-width: 900px) {
  .vwHq4fI91oo- {
    padding: var(--spacing-xs) 8px;
    font-size: var(--font-size-xs);
  }
}
.gwXR-NK-8O0- {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--orange) 0%,
    color-mix(in srgb, var(--orange) 82%, #7c2d12) 100%
  );
  color: var(--white);
  padding: var(--spacing-xs) var(--spacing-md);
  text-align: center;
  z-index: 11;
  font-size: var(--font-size-sm);
  font-weight: 600;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
}

.hzAvIlwixBU- {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.Ftj9KigLOFM- {
  background-color: color-mix(in srgb, var(--white) 92%, transparent);
  color: var(--orange);
  border: 1px solid color-mix(in srgb, var(--white) 40%, transparent);
  border-radius: var(--radius-md);
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: var(--font-size-xs);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}

.Ftj9KigLOFM-:hover {
  opacity: 0.96;
  transform: translateY(-1px);
}

@media screen and (max-width: 900px) {
  .gwXR-NK-8O0- {
    font-size: var(--font-size-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    min-height: 28px;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
  }

  .hzAvIlwixBU- {
    white-space: normal;
    word-break: break-word;
  }

  .Ftj9KigLOFM- {
    font-size: 10px;
    padding: 2px var(--spacing-xs);
  }
}

.cuqsAantWaY- {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  /* Desktop: content starts after the logo slot (196px) or sidebar width, whichever is wider */
  padding-left: max(196px, calc(var(--sidebar-width) + 10px));
  padding-right: 10px;

  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: color-mix(in srgb, var(--surface-elevated) 96%, transparent);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  /* Above sidebar (1001) so the logo slot is always visible */
  z-index: 1002;
  transition:
    top 0.2s ease,
    padding-left 0.2s ease;

  @media screen and (max-width: 900px) {
    padding-left: 10px;
    transition: top 0.2s ease;
  }
}

/* Desktop logo: absolutely positioned at left, always full logo+text, no animation */
._4TL3Zjsyxb8- {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 196px; /* fixed: img(43) + gap(8) + text(~105) + padding(16×2) + buffer */
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding-inline: var(--spacing-md);
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  background: color-mix(in srgb, var(--surface-elevated) 98%, transparent);
  border-right: 1px solid var(--border-subtle);
  transition:
    opacity 0.15s ease,
    background-color 0.2s ease;
}

._4TL3Zjsyxb8-:hover {
  opacity: 1;
  background: color-mix(in srgb, var(--surface-2) 92%, transparent);
}

.dtHgJ6DnXdI- {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--font-color);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition:
    color 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.dtHgJ6DnXdI-:hover {
  color: var(--accent-blue);
  background-color: var(--surface-2);
  border-color: var(--border-subtle);
}

.xWmwMly9f2k- {
  top: 32px;

  @media screen and (max-width: 900px) {
    top: 28px;
  }
}

.j8598aQkYls- {
  width: 100%;
  height: 100%;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}
.NoyJsRSmHWw- {
  margin-right: auto;
  display: flex;
  align-items: center;
  min-width: 0;
  width: min(440px, 100%);
  padding: 0 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--surface-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.NoyJsRSmHWw- svg {
  margin-right: 10px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.Z2R2D8UF-Ys- {
  color: var(--font-color);
  border: none;
  outline: none;
  height: 34px;
  width: 100%;
  background-color: transparent;
  font-size: var(--font-size-sm);
}

.W4bOWgOJ3bE- {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-secondary);
}

.W4bOWgOJ3bE- svg {
  margin-right: 10px;
}

.k2V-IECPUtU- {
  display: flex;
  align-items: center;
}

.DjOIN580Jdo- {
  white-space: nowrap;

  @media screen and (max-width: 900px) {
    display: none;
  }
}

.DHmiQGi5g9g- {
  color: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-decoration: none;
  background-color: transparent;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.DHmiQGi5g9g-:hover {
  color: var(--accent-blue);
  background: var(--surface-2);
  border-color: var(--border-subtle);
}

.DHmiQGi5g9g-:hover svg {
  stroke: currentColor;
}
.fhFAEEfTNRk- {
  --padding: var(--spacing-md);

  width: calc(100% - var(--padding));
  padding-top: calc(var(--header-height) + var(--emulation-banner-height, 0px));
  padding-left: calc(var(--sidebar-width) + var(--padding));
  padding-bottom: calc(var(--footer-height) + var(--padding));
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent-blue) 6%, transparent) 0%, transparent 32%),
    linear-gradient(180deg, var(--bg-main) 0%, color-mix(in srgb, var(--bg-main) 92%, var(--surface-2)) 100%);
  height: 100%;
  /* fix #5: sync with sidebar width transition */
  transition: padding-left 0.05s linear;

  @media (max-width: 900px) {
    --padding: var(--spacing-xs);
    transition: none;
  }
}

._0Jy6NayRZLE- {
  width: 100%;
  height: 100%;
  padding-top: 12px;
  overflow-y: auto;
  scrollbar-gutter: stable;

  /* Стилизация скроллбара для Webkit браузеров */
  scrollbar-width: thin;
  scrollbar-color: var(--icon-grey) transparent;
}

/* Стилизация скроллбара для Webkit браузеров (Chrome, Safari, Edge) */
._0Jy6NayRZLE-::-webkit-scrollbar {
  width: 8px;
}

._0Jy6NayRZLE-::-webkit-scrollbar-track {
  background: transparent;
  border-radius: var(--radius-sm);
}

._0Jy6NayRZLE-::-webkit-scrollbar-thumb {
  background: var(--icon-grey);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

._0Jy6NayRZLE-::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* Стилизация скроллбара для Firefox */
._0Jy6NayRZLE- {
  scrollbar-width: thin;
  scrollbar-color: var(--icon-grey) transparent;
}
.M2xi8of-wUY- {
  display: flex;
  flex-direction: column;
  /* Desktop: starts below the topbar (topbar has z-index: 1002 and contains the logo) */
  top: calc(var(--header-height) + var(--emulation-banner-height, 0px));
  height: calc(100% - var(--header-height) - var(--emulation-banner-height, 0px));
  position: fixed;
  width: var(--sidebar-width);
  overflow: hidden;
  padding: 0 var(--spacing-xs);
  background: linear-gradient(
    180deg,
    var(--surface-1) 0%,
    color-mix(in srgb, var(--surface-2) 70%, var(--surface-1)) 100%
  );
  border-right: 1px solid var(--border-subtle);
  z-index: 1001;
  transition: width 0.05s linear;

  &:not(._2wNicmL6h-8-) {
    ._7an-Uov3mT8- {
      /* center 16px icon: (sidebar_inner - icon) / 2 = (52px - 16px) / 2 = 18px */
      padding-inline: calc(var(--sidebar-width) / 2 - var(--spacing-sm) - var(--spacing-xs));
      gap: 0;
    }

    .NXBb6MzNqjY- {
      padding-inline: calc(var(--sidebar-width) / 2 - var(--spacing-sm) - var(--spacing-xs));
      gap: 0;
    }

    @media (max-width: 900px) {
      ._7an-Uov3mT8- {
        padding-inline: var(--spacing-sm);
        gap: var(--spacing-md);
      }
      .NXBb6MzNqjY- {
        padding-inline: var(--spacing-sm);
        gap: var(--spacing-md);
      }
    }
  }

  /* Mobile: full-height sidebar */
  @media (max-width: 900px) {
    top: 0;
    height: 100%;
    width: 250px;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: none;
  }
}

/* Desktop auto-hide overlay (visual expand via inline style, layout stays at 60px) */
.GLuvX6HOlTI- {
  box-shadow: var(--shadow-md);
}

/* Mobile open state */
._3pEGHbetqxs- {
  transform: translateX(0);
  box-shadow: var(--shadow-md);
}

._2wNicmL6h-8- {
  /* Text slides in after sidebar width starts expanding */
  .eS9EoDW9Yr0-,
  .curOBLzLtfo-,
  .gBAtMANf9-Y- {
    max-width: 200px;
    opacity: 1;
    transform: translateX(0);
    transition:
      opacity 0.18s ease 0.08s,
      max-width 0.2s ease 0.05s,
      transform 0.2s ease 0.05s;
    pointer-events: auto;
  }

  /* Chevron fades in */
  ._0QBDowmh9FQ- {
    max-width: 20px;
    opacity: 0.5;
    transition:
      max-width 0.2s ease 0.05s,
      opacity 0.15s ease 0.1s;
    pointer-events: auto;
  }

  .K4XU8ljOPfw-:hover ._0QBDowmh9FQ- {
    opacity: 1;
    color: var(--accent-blue);
  }
}

/* Mobile backdrop */
.NXMZWOX6VDw- {
  position: fixed;
  inset: 0;
  background-color: var(--surface-overlay);
  backdrop-filter: blur(4px);
  z-index: 1000;
}

/* ── Header ────────────────────────────────────────────────── */

.mqzXe4gRPoU- {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}

._2g7FxTG9JMY- {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  text-decoration: none;
  color: inherit;
  transition:
    opacity 0.2s ease,
    gap 0.2s ease;
}

._2g7FxTG9JMY-:hover {
  opacity: 0.8;
}

._80tcacb5YjE- {
  width: 43px;
  height: 35px;
}

/* Text takes no space when hidden — slides in on open */
.avFzq6vgnPQ- {
  font-size: var(--font-size-lg);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.1s ease,
    max-width 0.15s ease,
    transform 0.1s ease;
  pointer-events: none;
}

.uzTHwqWAmx4- {
  color: #19a101;
}

.Kyx6b3FRGsc- {
  color: var(--font-color);
}

/* ── Body ──────────────────────────────────────────────────── */

.z-5FRogjUlQ- {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;

  &::-webkit-scrollbar {
    display: none;
  }
}

.z-5FRogjUlQ- svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Footer ────────────────────────────────────────────────── */

.lEi7s89anUU- {
  flex-shrink: 0;
  display: flex;
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--spacing-xs);
  margin-top: var(--spacing-xs);
}

.NXBb6MzNqjY- {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  width: 100%;
  padding: 8px var(--spacing-sm);
  border-radius: var(--radius-md);
  color: var(--font-color);
  font-size: var(--font-size-sm);
  background: none;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    padding-inline 0.2s ease,
    gap 0.2s ease;
  text-align: left;
}

.NXBb6MzNqjY-:hover {
  background-color: var(--surface-3);
  color: var(--accent-blue);
}

.NXBb6MzNqjY-:hover svg path {
  stroke: var(--accent-blue);
}

.k-Ed0vpjcJM- {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Text takes no space when hidden */
.gBAtMANf9-Y- {
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.1s ease,
    max-width 0.15s ease,
    transform 0.1s ease;
  pointer-events: none;
}

/* ── Menu items ────────────────────────────────────────────── */

.cObJ73LTLnk- {
  position: relative;
  display: none;
}

.G-FPnSK4asE- {
  display: block;
}

._7an-Uov3mT8- {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--font-color);
  min-height: 40px;
  padding-inline: var(--spacing-sm);
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  transition:
    color 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease;
}

._7an-Uov3mT8-:hover {
  color: var(--accent-blue);
  background-color: var(--surface-3);
  border-color: var(--border-subtle);
}

._7an-Uov3mT8-:hover svg path {
  stroke: var(--accent-blue);
}

.q38V2pc-l-s- {
  color: var(--accent-blue);
  background-color: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent-blue) 24%, transparent);
}

.q38V2pc-l-s- svg path {
  stroke: var(--accent-blue);
}

.nFT5c8tggo8- {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Text takes no space when hidden */
.eS9EoDW9Yr0- {
  color: inherit;
  font-size: var(--font-size-sm);
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.1s ease,
    max-width 0.15s ease,
    transform 0.1s ease;
  pointer-events: none;
}

/* ── Section headers (items with submenu) ──────────────────── */

.K4XU8ljOPfw- {
  color: var(--font-color);
}

.K4XU8ljOPfw-:hover {
  color: var(--accent-blue);
  background-color: var(--bg-main);
}

.n4Jg-hGXpXg- {
  color: var(--accent-blue);
}

.n4Jg-hGXpXg- svg path {
  stroke: var(--accent-blue);
}

/* Text takes no space when hidden */
.curOBLzLtfo- {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: inherit;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.1s ease,
    max-width 0.15s ease,
    transform 0.1s ease;
  pointer-events: none;
}

/* Chevron takes no space when hidden */
._0QBDowmh9FQ- {
  display: flex;
  align-items: center;
  color: var(--font-color);
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition:
    transform 0.2s ease,
    max-width 0.15s ease,
    opacity 0.1s ease;
  pointer-events: none;
}

.K4XU8ljOPfw-:hover ._0QBDowmh9FQ- {
  color: var(--accent-blue);
}

.wcFHqDRmP84- {
  transform: rotate(180deg);
}

/* ── Inline accordion submenu ──────────────────────────────── */

.YK8anwdmX4Q- {
  overflow: hidden;
  max-height: 0;
}

.vJS-8y6z6TQ- {
  max-height: 2000px;
}

._4Ba-J-Gysyo- {
  position: relative;
  padding: 6px var(--spacing-sm) 6px 40px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease;

  &::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: currentColor;
    opacity: 0;
    transition: opacity 0.15s ease 0.08s;
  }

  & a {
    display: block;
    color: var(--dark-blue);
    text-decoration: none;
    font-size: var(--font-size-sm);
    line-height: 20px;
    white-space: pre-line;
    /* Fade in with sidebar — hidden by default */
    opacity: 0;
    transform: translateX(-6px);
  }
}

._4Ba-J-Gysyo-:hover {
  background-color: var(--surface-3);

  &::before {
    opacity: 1;
  }

  & a {
    color: var(--accent-blue);
  }
}

.q7yDppIzjnM- {
  &::before {
    opacity: 1;
    background-color: var(--accent-blue);
  }

  & a {
    color: var(--accent-blue);
    font-weight: 500;
  }
}

/* When sidebar is open — reveal submenu text and bullet */
._2wNicmL6h-8- ._4Ba-J-Gysyo- {
  &::before {
    opacity: 0.4;
  }

  & a {
    opacity: 1;
    transform: translateX(0);
  }
}

._2wNicmL6h-8- .q7yDppIzjnM- {
  &::before {
    opacity: 1;
  }
}

/* ── Utility ───────────────────────────────────────────────── */

.conSiZ3y-EE- {
  text-decoration: none;
  width: 100%;
}

/* ── Width measurement (hidden, for auto-sizing open width) ── */

/* 1×1 px reference element: getBoundingClientRect().width == page zoom factor */
._5rYYZ5MiYDE- {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  visibility: hidden;
  pointer-events: none;
}

/* position: fixed escapes parent overflow:hidden and clips */
.xFzS-dj5g7Y- {
  position: fixed;
  left: -9999px;
  top: 0;
  visibility: hidden;
  pointer-events: none;
  width: max-content;
  display: flex;
  flex-direction: column;
  padding: 0 var(--spacing-xs);
}

/* Items render at natural width — no centering, no collapsed-state overrides */
._3edGlgCKU6I- {
  padding-inline: var(--spacing-sm) !important;
  gap: var(--spacing-md) !important;
  justify-content: flex-start !important;
}

/* Make text/chevron/submenu links fully visible inside the probe */
.xFzS-dj5g7Y- .eS9EoDW9Yr0-,
.xFzS-dj5g7Y- ._0QBDowmh9FQ-,
.xFzS-dj5g7Y- ._4Ba-J-Gysyo- a {
  max-width: none;
  overflow: visible;
  opacity: 1;
  transform: none;
  transition: none;
  pointer-events: none;
}

.xFzS-dj5g7Y- ._4Ba-J-Gysyo-::before {
  display: none;
}
.r1leFDXImig- {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  overflow-x: hidden;
}
.trmKVqnf9tw- {
  background-color: var(--bg-fill);
  border-radius: 15px;
  padding: 12px 24px;

  @media (max-width: 900px) {
    padding: 6px 12px;
  }
}

.fG06thpUWaA- {
  display: flex;
  align-items: center;
  column-gap: var(--spacing-md);
  margin-bottom: 15px;

  a {
    flex-shrink: 0;
  }

  @media (max-width: 900px) {
    flex-direction: column;
    gap: var(--spacing-md);
  }
}

/* UserWithAvatar */
.Q2J93R-XnbE- {
  width: 100%;
  display: grid;
  grid-template-columns: 70px 1fr;
}

.nEDZWQo3Fgo- {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: fill;
}

.W50umlalRbo- {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  white-space: nowrap;
}

.uYwDm65FI-g- {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.sTTCVDcZ3V8- {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;

  color: #90a0b7;
}

/* Widgets settings button */
.q6mpUNCIObM- {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-md, 6px);
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--text-secondary, #9ca3af);
  font-size: 12px;
  cursor: pointer;
  transition:
    color 0.1s,
    border-color 0.1s,
    background 0.1s;
}

.q6mpUNCIObM-:hover {
  color: var(--text-primary, inherit);
  border-color: var(--accent-blue);
  background: var(--bg-hover, rgba(255, 255, 255, 0.04));
}

.sov5n5wns4s- {
  background: var(--bg-fill);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg, 8px);
  padding: 12px;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 200;
  zoom: var(--app-zoom, 1);
}

.QHRi9dubWXk- {
  font-size: 12px;
  color: var(--text-secondary, #9ca3af);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.jxnRWWYUF3U- {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mjMPd45S7U8- {
  display: flex;
}
@keyframes oQpjuNkV7Bo- {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.25;
  }
}

/* ── UserProjects skeleton ─────────────────────────── */

.AP8Fh56N6sI- {
  display: flex;
  gap: 10px;

  @media (max-width: 900px) {
    flex-direction: column;
  }
}

.w-MC99IbzWw- {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.vjlxTGGEz9E- {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-main);
  animation: oQpjuNkV7Bo- 1.5s ease-in-out infinite;
  margin-right: 10px;
  flex-shrink: 0;

  @media (max-width: 900px) {
    width: 30px;
    height: 30px;
  }
}

.lcMMy4RsIvE- {
  width: 90px;
  height: 14px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-main);
  animation: oQpjuNkV7Bo- 1.5s ease-in-out infinite;
}

/* ── DashboardWidgets skeleton ─────────────────────── */

.mdKbYwPTMCM- {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;

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

.oC9ZSxqza6Q- {
  height: 336px;
  border-radius: var(--radius-lg);
  background-color: var(--bg-fill);
  animation: oQpjuNkV7Bo- 1.5s ease-in-out infinite;
}
.lyMVblvb-ig- {
  display: flex;

  @media (max-width: 900px) {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
}

.I3tvnlfqCdc- {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.I3tvnlfqCdc-:last-child {
  margin-right: 0;
}

.m0XRnzqj76k- {
  width: 50px;
  height: 50px;
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-size-xxl);

  margin-right: 10px;

  color: #fff;

  &:hover {
    box-shadow: 0 0 18px 0 #06080b;
  }

  @media (max-width: 900px) {
    width: 30px;
    height: 30px;
    font-size: var(--font-size-xs);
  }
}

.oaqVOkx-1Zg- {
  text-wrap: nowrap;
}
.Kne2Mu9MDJ8- {
  width: 100%;
  position: relative;
}

/* Fade in the grid after layout is positioned to avoid flash */
.Kne2Mu9MDJ8-:not([data-layout-ready="true"]) .zfxgqfW8kGs- {
  opacity: 0;
  pointer-events: none;
}

.Kne2Mu9MDJ8-[data-layout-ready="true"] .zfxgqfW8kGs- {
  opacity: 1;
  transition: opacity 0.2s ease-out;
}

.zfxgqfW8kGs- {
  width: 100%;
}

/* Disable all transitions while width is stabilising (initial mount + any layout shift) */
.Kne2Mu9MDJ8-[data-suppress-transitions="true"] .sCqV3RLvvDc-,
.Kne2Mu9MDJ8-[data-suppress-transitions="true"] .react-grid-item {
  transition: none !important;
}

/* Also keep wrapper transitions off before grid is visible */
.Kne2Mu9MDJ8-:not([data-layout-ready="true"]) .sCqV3RLvvDc- {
  transition: none !important;
}

.sCqV3RLvvDc- {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-fill);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: box-shadow 0.15s ease-out;
}

.sCqV3RLvvDc-:hover {
  box-shadow: 0 0 14px 0 #06080b;
}

.sCqV3RLvvDc-[data-dragging="true"] {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 100;
}


.eY7y7Vi69NI- {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 12px;
  cursor: grab;
  background-color: var(--bg-fill);
  min-height: 32px;
}

.eY7y7Vi69NI-:active {
  cursor: grabbing;
}

.z15m8phENJU- {
  display: flex;
  width: 24px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16' viewBox='0 0 24 16'%3E%3Ccircle cx='4' cy='4' r='2' fill='%239ca3af'/%3E%3Ccircle cx='12' cy='4' r='2' fill='%239ca3af'/%3E%3Ccircle cx='20' cy='4' r='2' fill='%239ca3af'/%3E%3Ccircle cx='4' cy='12' r='2' fill='%239ca3af'/%3E%3Ccircle cx='12' cy='12' r='2' fill='%239ca3af'/%3E%3Ccircle cx='20' cy='12' r='2' fill='%239ca3af'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.4;
  transition: opacity 0.1s ease-out;
}

.sCqV3RLvvDc-:hover .z15m8phENJU- {
  opacity: 1;
}

._7n09cQqX-Hg- {
  flex: 1;
  padding: 20px;
  overflow: auto;
  min-height: 0;
}

/* Override default react-grid-layout placeholder */
.react-grid-placeholder {
  background-color: var(--accent-blue) !important;
  opacity: 0.15 !important;
  border-radius: var(--radius-lg);
  transition: none !important;
}

/* Faster transitions for grid items during interaction */
.react-grid-item {
  transition: transform 0.1s ease-out !important;
}

.react-grid-item.react-draggable-dragging {
  transition: none !important;
  z-index: 100;
}

.react-grid-item.resizing {
  transition: none !important;
}

/* Resize handle styling */
.react-resizable-handle {
  position: absolute;
  width: 20px;
  height: 20px;
  bottom: 0;
  right: 0;
  cursor: se-resize;
  opacity: 0;
  transition: opacity 0.1s ease-out;
}

.sCqV3RLvvDc-:hover .react-resizable-handle {
  opacity: 1;
}

.react-resizable-handle::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--icon-grey);
  border-bottom: 2px solid var(--icon-grey);
}

/* Widget specific table adjustments */
._7n09cQqX-Hg- [data-table-min-width] {
  height: 100%;
  max-height: none;
}
.SuAStr8ZBBw- {
  margin: 0;
  margin-bottom: 10px;
}

.DXlkbRZRebE- {
  h3 {
    margin: 0;
  }
}
._3agbKflJGVw- {
  margin: 0;
  margin-bottom: 10px;
}

.Vb9g16Br8zM- {
  color: inherit;
  text-decoration: none;
}
.cG9Zh905NTo- {
  width: 100%;
}

.Z3nTFaGqEjo- {
  text-align: left;
}
.ajPA51aAhjw- {
  color: var(--red);
}
._-6Fa86rUqVM- {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  text-align: center;
  background-color: var(--background);
}

.lOgbARwmtf4- {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-fill);
  border-radius: var(--radius-lg);
  padding: 48px 64px;
  min-width: 40vw;
  min-height: 40vh;
}

.Z0rmMJM-VXs- {
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 8px;
}

.JqZLd3S6NpA- {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

._9DY0wBYyCJc- {
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.c1SkQImyUvc- {
  background-color: var(--bg-fill);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);

  @media screen and (max-width: 900px) {
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
  }

  h2 {
    padding: 0;
    margin: 0;
  }
}

.y0u2XJERU60- {
  padding: 0;
  margin: 0;
  list-style: none;
}

.AroNTzVGGF0- {
  display: flex;
  font-size: var(--font-size-xl);

  @media screen and (max-width: 900px) {
    flex-direction: column;
  }
}

.AroNTzVGGF0- div:first-child {
  margin-right: var(--spacing-sm);
  font-weight: bold;
}
.SlNb1F8muEk- {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  min-width: 320px;
  max-width: 440px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--accent-blue) 60%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: bGnU6TGZ04E- 0.3s ease-out;
}

.MroENiyVYng- {
  display: flex;
  gap: var(--spacing-sm);
}

.qSzBFdR-t-Y- {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.qSzBFdR-t-Y- svg {
  width: 18px;
  height: 18px;
}

.V0x9DTV7phU- {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.Dl77FUThbmM- {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #ffffff;
}

._5mJzYMz5FG8- {
  margin: 0;
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.GOkFfDg7Iwc- {
  align-self: center;
  background-color: #ffffff;
  color: var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.12s ease,
    border-color 0.12s ease;
}

.GOkFfDg7Iwc-:hover {
  color: var(--hover-color);
}

._4tUMPFblpZY- {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

._4tUMPFblpZY-:hover {
  color: #ffffff;
}

@keyframes bGnU6TGZ04E- {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .SlNb1F8muEk- {
    min-width: auto;
    max-width: calc(100vw - var(--spacing-lg) * 2);
  }
}
