/*!***************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!../../packages/ui/src/components/AppShell/AppShell.module.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************/
.AppShell_shell__Kc36h {
  display: grid;
  grid-template-columns: 244px 1fr;
  min-height: 100vh;
}

.AppShell_sidebar__j0Dql {
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  display: flex;
  flex-direction: column;
  padding: var(--space-5) var(--space-3);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
}

.AppShell_brand__3Gjrc {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-2) var(--space-6);
  color: var(--sidebar-text-active);
}

.AppShell_brandMark__Yic04 {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.AppShell_brandName__NoYLH {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.AppShell_moduleLabel__ca1zd {
  font-size: 11px;
  color: var(--sidebar-text-muted);
  font-weight: 400;
}

.AppShell_nav__LEkpb {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1 1;
  overflow-y: auto;
}

.AppShell_navSection__nhfSJ {
  margin-top: var(--space-5);
}

.AppShell_navSectionLabel__MsJru {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sidebar-text-muted);
  padding: 0 var(--space-3);
  margin-bottom: var(--space-2);
}

.AppShell_navItem__wl2ki {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 7px var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--sidebar-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.1s ease, color 0.1s ease;
}

.AppShell_navItem__wl2ki:hover {
  background: var(--sidebar-active-bg);
  color: var(--sidebar-text-active);
}

.AppShell_navItemActive__9yu_L {
  background: var(--sidebar-active-bg);
  color: var(--sidebar-text-active);
}

.AppShell_navItemActive__9yu_L::before {
  content: "";
}

.AppShell_navIcon__GeWKX {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.85;
}

.AppShell_sidebarFooter__5xf2H {
  border-top: 1px solid var(--sidebar-border);
  padding-top: var(--space-3);
  margin-top: var(--space-3);
}

.AppShell_main__CA9OR {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.AppShell_topbar__0ZK4F {
  height: 56px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.AppShell_topbarTitle__flKub {
  font-size: 14px;
  font-weight: 600;
}

.AppShell_topbarRight__3K_Q8 {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.AppShell_tenantSwitcher__3Ba5l {
  font-size: 12.5px;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  background: var(--color-surface);
}

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

.AppShell_avatar__Fs_rN {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--color-accent-soft-border);
}

.AppShell_content___rdoN {
  padding: var(--space-8);
  flex: 1 1;
  max-width: 1240px;
  width: 100%;
}

/*!**************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!../../packages/ui/src/components/Card.module.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************/
.Card_card__YyERh {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.Card_header__lQ7aP {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--space-5) var(--space-5) 0;
}

.Card_title__8oHbP {
  font-size: 13.5px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

.Card_description__zzlwE {
  font-size: 12.5px;
  color: var(--color-text-muted);
  margin: 4px 0 0;
}

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

.Card_bodyPadded__pQWE_ {
  padding: var(--space-5);
}

.Card_body__q7BhG {
  padding: 0;
}

/*!******************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!../../packages/ui/src/components/StatCard.module.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************/
.StatCard_stat__eM_tt {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.StatCard_label__1WIZg {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.StatCard_value__VlIlO {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.StatCard_footer__fwa6a {
  margin-top: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
}

.StatCard_delta__qNKbl {
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
}

.StatCard_positive__nRwyv {
  color: var(--color-success);
  background: var(--color-success-soft);
}

.StatCard_negative__F_JsZ {
  color: var(--color-danger);
  background: var(--color-danger-soft);
}

.StatCard_neutral__Np0O_ {
  color: var(--color-text-muted);
  background: var(--color-neutral-soft);
}

.StatCard_hint__pzApH {
  color: var(--color-text-faint);
}

/*!***************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!../../packages/ui/src/components/Badge.module.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************/
.Badge_badge__LdmX9 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.6;
  white-space: nowrap;
}

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

.Badge_success__Ic4WE {
  color: var(--color-success);
  background: var(--color-success-soft);
}

.Badge_warning__PIKhZ {
  color: var(--color-warning);
  background: var(--color-warning-soft);
}

.Badge_danger__cyaT6 {
  color: var(--color-danger);
  background: var(--color-danger-soft);
}

.Badge_neutral__jP2XJ {
  color: var(--color-text-muted);
  background: var(--color-neutral-soft);
}

.Badge_accent__5TigM {
  color: var(--color-accent);
  background: var(--color-accent-soft);
}

/*!****************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!../../packages/ui/src/components/Button.module.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************/
.Button_button__nNuJ_ {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.1s ease, border-color 0.1s ease, color 0.1s ease;
  white-space: nowrap;
}

.Button_button__nNuJ_:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.Button_md__AsJLv {
  padding: 7px 14px;
  font-size: 13px;
}

.Button_sm__dwCI0 {
  padding: 4px 10px;
  font-size: 12.5px;
}

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

.Button_primary__GCtQm:hover:not(:disabled) {
  background: var(--color-accent-hover);
}

.Button_secondary__1AVfZ {
  background: var(--color-surface);
  border-color: var(--color-border-strong);
  color: var(--color-text);
}

.Button_secondary__1AVfZ:hover:not(:disabled) {
  background: var(--color-surface-sunken);
}

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

.Button_ghost__OC11f:hover:not(:disabled) {
  background: var(--color-surface-sunken);
  color: var(--color-text);
}

.Button_danger___6Az_ {
  background: var(--color-danger-soft);
  color: var(--color-danger);
}

.Button_danger___6Az_:hover:not(:disabled) {
  background: #f6d5d5;
}

/*!***************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!../../packages/ui/src/components/Table.module.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************/
.Table_table__1EA1Z {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.Table_table__1EA1Z thead th {
  text-align: left;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-faint);
  font-weight: 600;
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.Table_table__1EA1Z tbody td {
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

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

.Table_clickable__0ksQ8 {
  cursor: pointer;
}

.Table_clickable__0ksQ8:hover {
  background: var(--color-surface-sunken);
}

.Table_empty__sw_O7 {
  padding: var(--space-8);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
}

/*!***************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!../../packages/ui/src/components/Field.module.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************/
.Field_wrapper__AZXey {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.Field_label__U0QWs {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-text);
}

.Field_hint__SrffG {
  font-size: 12px;
  color: var(--color-text-faint);
}

.Field_input__9JZTd,
.Field_select__zMEpq,
.Field_textarea__7080o {
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  background: var(--color-surface);
  outline: none;
}

.Field_input__9JZTd:focus,
.Field_select__zMEpq:focus,
.Field_textarea__7080o:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.Field_textarea__7080o {
  min-height: 92px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

.Field_switchWrapper__Y98II {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
}

.Field_switchTrack__JTX7o {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: var(--color-border-strong);
  border: none;
  position: relative;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}

.Field_switchOn__iLHSr {
  background: var(--color-accent);
}

.Field_switchThumb__UH6FC {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}

.Field_switchOn__iLHSr .Field_switchThumb__UH6FC {
  transform: translateX(14px);
}

.Field_switchLabel__m_Pqo {
  font-size: 13px;
}

/*!**************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!../../packages/ui/src/components/Tabs.module.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************/
.Tabs_tabs__UUcXp {
  display: flex;
  gap: var(--space-1);
  border-bottom: 1px solid var(--color-border);
}

.Tabs_tab__7WDlh {
  background: none;
  border: none;
  padding: var(--space-3) var(--space-3);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.Tabs_tab__7WDlh:hover {
  color: var(--color-text);
}

.Tabs_active__oei4v {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/*!********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!../../packages/ui/src/components/EmptyState.module.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************/
.EmptyState_wrap__cZujp {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-10) var(--space-6);
  color: var(--color-text-muted);
}

.EmptyState_iconWrap__6TfF2 {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-surface-sunken);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-text-faint);
}

.EmptyState_title__oQXnU {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
}

.EmptyState_description__Yt5RA {
  font-size: 12.5px;
  margin-top: 4px;
  max-width: 320px;
}

.EmptyState_action__k0twv {
  margin-top: var(--space-4);
}

/*!***************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!../../packages/ui/src/components/Modal.module.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************/
.Modal_backdrop__Bff2W {
  position: fixed;
  inset: 0;
  background: rgba(15, 16, 20, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.Modal_dialog__5ta8Y {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  width: 460px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

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

.Modal_title__6WdmU {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.Modal_close__ORDGK {
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 4px;
}

.Modal_body__owesA {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.Modal_footer__kOheb {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
}

/*!**********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./src/app/login/login.module.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************/
.login_wrap__tILCg {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.login_panel__6_Z8z {
  background: var(--sidebar-bg);
  color: var(--sidebar-text-active);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
}

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

.login_mark__R9R3H {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.login_panelTitle__r8NA_ {
  font-weight: 600;
  font-size: 15px;
}

.login_panelQuote__VeRoa {
  max-width: 380px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.login_panelFoot__HUQt2 {
  font-size: 12.5px;
  color: var(--sidebar-text-muted);
}

.login_formSide___5JEg {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
}

.login_formBox__IVujy {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login_formTitle__kP7mX {
  font-size: 18px;
  font-weight: 650;
  margin: 0 0 4px;
}

.login_formSubtitle__U8s4o {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
}

.login_error__wxSLK {
  font-size: 12.5px;
  color: var(--color-danger);
  background: var(--color-danger-soft);
  padding: 8px 10px;
  border-radius: 6px;
}

.login_hint__Ggj7y {
  font-size: 12px;
  color: var(--color-text-faint);
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
}

