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

:root {
  --color-primary: #5A5AFF;
  --color-primary-dark: #3D3DE8;
  --color-primary-light: #EBEBFF;
  --color-accent: #F5A623;
  --sidebar-width: 240px;
}

html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #212529;
  background-color: #F8F9FA;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: #212529;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 12px;
}

p {
  margin-bottom: 16px;
}

a {
  color: #5A5AFF;
  text-decoration: none;
}
a:hover {
  color: #3D3DE8;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
}

.app-combobox {
  position: relative;
}
.app-combobox .app-combobox-input {
  width: 100%;
  height: 36px;
  padding: 0 52px 0 10px;
  border: 1px solid #DEE2E6;
  border-radius: 4px;
  font-size: 13px;
  color: #212529;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.app-combobox .app-combobox-input::placeholder {
  color: #CED4DA;
}
.app-combobox .app-combobox-input:focus {
  outline: none;
  border-color: #5A5AFF;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.12);
}
.app-combobox .app-combobox-input:disabled {
  background: #F1F3F5;
  color: #CED4DA;
  cursor: not-allowed;
}
.app-combobox .app-combobox-clear {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(90, 90, 255, 0.18);
  color: #3D3DE8;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}
.app-combobox .app-combobox-clear:hover {
  background: #5A5AFF;
  color: #fff;
}
.app-combobox .app-combobox-chevron {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #CED4DA;
  pointer-events: none;
  display: flex;
  align-items: center;
  transition: transform 0.15s;
}
.app-combobox.is-open .app-combobox-chevron {
  transform: translateY(-50%) rotate(180deg);
}
.app-combobox.is-selected .app-combobox-input {
  border-color: #5A5AFF;
  background: #EBEBFF;
  color: #3D3DE8;
  font-weight: 500;
  padding-right: 72px;
}
.app-combobox .app-combobox-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.06);
  max-height: 260px;
  overflow-y: auto;
  z-index: 200;
}
.app-combobox .app-combobox-empty {
  padding: 16px;
  font-size: 13px;
  color: #CED4DA;
  text-align: center;
  font-style: italic;
}
.app-combobox .app-combobox-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 13px;
  color: #343A40;
  border-bottom: 1px solid #F1F3F5;
  transition: background 0.08s;
}
.app-combobox .app-combobox-option:last-child {
  border-bottom: none;
}
.app-combobox .app-combobox-option:hover {
  background: #F8F9FA;
}
.app-combobox .app-combobox-option.is-selected {
  background: #EBEBFF;
}
.app-combobox .app-combobox-option.is-selected .app-combobox-option-name {
  font-weight: 600;
  color: #3D3DE8;
}
.app-combobox .app-combobox-option-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-drp {
  position: relative;
}
.app-drp .app-drp-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #DEE2E6;
  border-radius: 4px;
  background: #fff;
  color: #ADB5BD;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.app-drp .app-drp-trigger:focus {
  outline: none;
  border-color: #5A5AFF;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.12);
}
.app-drp .app-drp-trigger-icon {
  flex-shrink: 0;
  color: #CED4DA;
}
.app-drp .app-drp-trigger-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-drp .app-drp-trigger-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: rgba(90, 90, 255, 0.18);
  color: #3D3DE8;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.app-drp .app-drp-trigger-clear:hover {
  background: #5A5AFF;
  color: #fff;
}
.app-drp .app-drp-chevron {
  flex-shrink: 0;
  color: #CED4DA;
  transition: transform 0.15s;
}
.app-drp.is-open .app-drp-trigger {
  border-color: #5A5AFF;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.12);
}
.app-drp.is-open .app-drp-chevron {
  transform: rotate(180deg);
}
.app-drp.is-active .app-drp-trigger {
  border-color: #5A5AFF;
  background: #EBEBFF;
  color: #3D3DE8;
  font-weight: 500;
}
.app-drp.is-active .app-drp-trigger .app-drp-trigger-icon {
  color: #5A5AFF;
}
.app-drp .app-drp-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid #E9ECEF;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 200;
  overflow: hidden;
}
.app-drp .app-drp-quick {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-drp .app-drp-quick-btn {
  display: block;
  width: 100%;
  padding: 7px 8px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #495057;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}
.app-drp .app-drp-quick-btn:hover {
  background: #F8F9FA;
}
.app-drp .app-drp-quick-btn.is-active {
  background: #EBEBFF;
  color: #3D3DE8;
  font-weight: 600;
}
.app-drp .app-drp-divider {
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  color: #CED4DA;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-top: 1px solid #F1F3F5;
  border-bottom: 1px solid #F1F3F5;
  background: #F8F9FA;
}
.app-drp .app-drp-custom {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
}
.app-drp .app-drp-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.app-drp .app-drp-field-label {
  font-size: 10px;
  font-weight: 600;
  color: #ADB5BD;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.app-drp .app-drp-input {
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #DEE2E6;
  border-radius: 4px;
  font-size: 12px;
  color: #343A40;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.app-drp .app-drp-input:focus {
  outline: none;
  border-color: #5A5AFF;
  box-shadow: 0 0 0 2px rgba(90, 90, 255, 0.1);
}
.app-drp .app-drp-sep {
  color: #CED4DA;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 16px;
}
.app-drp .app-drp-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  border-top: 1px solid #F1F3F5;
  background: #F8F9FA;
}
.app-drp .app-drp-action-reset {
  background: none;
  border: 1px solid #DEE2E6;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 12px;
  color: #6C757D;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.app-drp .app-drp-action-reset:hover {
  border-color: #ADB5BD;
  color: #343A40;
}
.app-drp .app-drp-action-apply {
  background: #5A5AFF;
  border: none;
  border-radius: 4px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}
.app-drp .app-drp-action-apply:hover:not(:disabled) {
  background: #3D3DE8;
}
.app-drp .app-drp-action-apply:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#app-inner {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 240px;
  background: #16123a;
  display: flex;
  flex-direction: column;
  z-index: 100;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 16px 16px;
}
.sidebar-logo img {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.95;
}

.sidebar-nav {
  flex: 1;
  padding: 4px 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.sidebar-nav-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-bottom: 4px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sidebar-nav-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-nav-group-label {
  padding: 6px 8px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  user-select: none;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding: 8px 8px;
  margin: 0 2px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  font-weight: 450;
  text-decoration: none;
  transition: background-color color 0.2s ease;
}
.sidebar-nav-item svg {
  flex-shrink: 0;
  opacity: 0.8;
}
.sidebar-nav-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
}
.sidebar-nav-item:hover svg {
  opacity: 1;
}
.sidebar-nav-item--active, .sidebar-nav-item.router-link-active {
  background: rgba(255, 255, 255, 0.93);
  color: #3D3DE8;
  font-weight: 600;
}
.sidebar-nav-item--active svg, .sidebar-nav-item.router-link-active svg {
  opacity: 1;
  color: #5A5AFF;
}
.sidebar-nav-item--active:hover, .sidebar-nav-item.router-link-active:hover {
  background: rgba(255, 255, 255, 0.98);
  color: #3D3DE8;
}

.sidebar-footer {
  padding: 8px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sidebar-user {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.sidebar-user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar-user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sidebar-user-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
}

.sidebar-user-email {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.3;
}

.sidebar-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background-color color 0.2s ease;
}
.sidebar-logout:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.main-wrapper {
  flex: 1;
  margin-left: 240px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
}

.topbar {
  height: 56px;
  background: #FFFFFF;
  border-bottom: 1px solid #E9ECEF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.topbar-title {
  font-size: 16px;
  font-weight: 600;
  color: #212529;
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.topbar-user-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 99px;
  background: #EBEBFF;
  color: #5A5AFF;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.topbar-user-name {
  font-size: 12px;
  font-weight: 500;
  color: #6C757D;
}

.topbar-search {
  position: relative;
  flex: 1;
  max-width: 360px;
  margin: 0 24px;
}

.topbar-search-inner {
  display: flex;
  align-items: center;
  background: #F1F3F5;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  padding: 0 8px;
  gap: 4px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.topbar-search-inner:focus-within {
  border-color: #5A5AFF;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.12);
  background: #FFFFFF;
}

.topbar-search-icon {
  color: #CED4DA;
  flex-shrink: 0;
}

.topbar-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 12px;
  color: #212529;
  padding: 7px 0;
  outline: none;
  min-width: 0;
}
.topbar-search-input::placeholder {
  color: #CED4DA;
}

.topbar-search-clear {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #CED4DA;
  padding: 2px;
  flex-shrink: 0;
}
.topbar-search-clear:hover {
  color: #6C757D;
}

.topbar-search-drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 200;
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}

.topbar-search-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.1s;
}
.topbar-search-item:hover, .topbar-search-item--focused {
  background: #F8F9FA;
}

.topbar-search-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.topbar-search-dot--active {
  background: #27AE60;
}
.topbar-search-dot--inactive {
  background: #DEE2E6;
}

.topbar-search-name {
  font-size: 12px;
  font-weight: 500;
  color: #212529;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-search-label {
  font-size: 11px;
  color: #ADB5BD;
  background: #F1F3F5;
  border-radius: 3px;
  padding: 1px 5px;
  flex-shrink: 0;
}

.topbar-search-empty {
  padding: 16px;
  font-size: 12px;
  color: #ADB5BD;
  font-style: italic;
  text-align: center;
}

.page-content {
  padding: 24px;
  flex: 1;
}

.page-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E9ECEF;
}

.page-title {
  font-size: 22px;
  font-weight: 700;
  color: #212529;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 12px;
  color: #ADB5BD;
  margin: 0;
}

.dashboard-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 48px;
  border: 1px dashed #DEE2E6;
  border-radius: 10px;
  color: #CED4DA;
  text-align: center;
}
.dashboard-placeholder p {
  margin: 0;
  font-size: 12px;
}

.placeholder-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #F1F3F5;
  color: #CED4DA;
}

.login-page {
  min-height: 100vh;
  background-color: #F8F9FA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
}

.login-card {
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 32px 32px;
  width: 100%;
  max-width: 420px;
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}
.login-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.login-header {
  margin-bottom: 24px;
  text-align: center;
}

.login-title {
  font-size: 20px;
  font-weight: 700;
  color: #212529;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.login-subtitle {
  font-size: 12px;
  color: #ADB5BD;
  margin: 0;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  font-weight: 500;
  color: #495057;
}

.form-input {
  width: 100%;
  height: 40px;
  padding: 0 8px;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  font-size: 14px;
  color: #212529;
  background: #FFFFFF;
  transition: border-color box-shadow 0.2s ease;
}
.form-input::placeholder {
  color: #CED4DA;
}
.form-input:focus {
  outline: none;
  border-color: #5A5AFF;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.12);
}
.form-input--error {
  border-color: #E74C3C;
}
.form-input--error:focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}
.form-input--with-action {
  padding-right: 40px;
}
.form-input:disabled {
  background: #F8F9FA;
  color: #CED4DA;
  cursor: not-allowed;
}

.input-wrapper {
  position: relative;
}

.input-action {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  color: #CED4DA;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.input-action:hover {
  color: #6C757D;
}

.login-error {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 10px 8px;
  border-radius: 6px;
  background: rgb(252.2383561644, 234.402739726, 232.5616438356);
  border: 1px solid rgb(244.9726027397, 180.2123287671, 173.5273972603);
  color: rgb(213.698630137, 43.8356164384, 26.301369863);
  font-size: 12px;
}
.login-error svg {
  flex-shrink: 0;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
  width: 100%;
  border: none;
  border-radius: 6px;
  background: #5A5AFF;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn-primary:hover:not(:disabled) {
  background: #3D3DE8;
}
.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.25);
}
.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.login-footer {
  margin-top: 24px;
  font-size: 12px;
  color: #CED4DA;
  text-align: center;
}

@keyframes shimmer {
  0% {
    background-position: -600px 0;
  }
  100% {
    background-position: 600px 0;
  }
}
.skel-filters .skel-filter, .skel-page-header .skel-subtitle, .skel-page-header .skel-title, .skel {
  background: linear-gradient(90deg, #F1F3F5 25%, #E9ECEF 50%, #F1F3F5 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
}

.skel {
  height: 14px;
  width: 100%;
}
.skel--xs {
  width: 40px;
}
.skel--sm {
  width: 80px;
}
.skel--md {
  width: 140px;
}
.skel--lg {
  width: 200px;
}
.skel--xl {
  width: 260px;
}
.skel--full {
  width: 100%;
}
.skel--thin {
  height: 8px;
}
.skel--badge {
  height: 20px;
  width: 60px;
  border-radius: 100px;
}
.skel--circle {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}
.skel--bar {
  height: 6px;
  border-radius: 100px;
  width: 100%;
}
.skel--sub {
  height: 11px;
  margin-top: 5px;
  width: 60%;
  opacity: 0.7;
}

.skel-row td {
  padding: 8px 16px;
  border-bottom: 1px solid #F1F3F5;
  vertical-align: middle;
}
.skel-row:nth-child(1) .skel {
  animation-delay: 0s;
}
.skel-row:nth-child(2) .skel {
  animation-delay: 0.06s;
}
.skel-row:nth-child(3) .skel {
  animation-delay: 0.12s;
}
.skel-row:nth-child(4) .skel {
  animation-delay: 0.18s;
}
.skel-row:nth-child(5) .skel {
  animation-delay: 0.24s;
}
.skel-row:nth-child(6) .skel {
  animation-delay: 0.3s;
}
.skel-row:nth-child(7) .skel {
  animation-delay: 0.36s;
}
.skel-row:nth-child(8) .skel {
  animation-delay: 0.42s;
}
.skel-row:nth-child(9) .skel {
  animation-delay: 0.48s;
}
.skel-row:nth-child(10) .skel {
  animation-delay: 0.54s;
}
.skel-row:nth-child(11) .skel {
  animation-delay: 0.6s;
}
.skel-row:nth-child(12) .skel {
  animation-delay: 0.66s;
}

.skel-page-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}
.skel-page-header .skel-title {
  height: 22px;
  width: 180px;
}
.skel-page-header .skel-subtitle {
  height: 13px;
  width: 300px;
  margin-top: 8px;
  opacity: 0.7;
}

.skel-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.skel-filters .skel-filter {
  height: 36px;
  border-radius: 6px;
}
.skel-filters .skel-filter--search {
  width: 240px;
  flex: 1;
}
.skel-filters .skel-filter--select {
  width: 140px;
}

[data-tooltip] {
  position: relative;
}
[data-tooltip]::before, [data-tooltip]::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 250;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  bottom: calc(100% + 6px);
  background: #212529;
  color: #FFFFFF;
  font-size: 12px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  padding: 8px 12px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  white-space: normal;
  min-width: 160px;
  max-width: 300px;
  width: max-content;
  word-wrap: break-word;
  text-align: left;
}
[data-tooltip]::before {
  content: "";
  bottom: calc(100% + 1px);
  border: 5px solid transparent;
  border-top-color: #212529;
  transform: translateX(-50%) translateY(4px);
}
[data-tooltip]:hover::before, [data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
[data-tooltip][data-tooltip-pos=left]::before, [data-tooltip][data-tooltip-pos=left]::after {
  left: auto;
  right: calc(100% + 6px);
  bottom: 50%;
  transform: translateY(50%) translateX(4px);
}
[data-tooltip][data-tooltip-pos=left]::after {
  right: calc(100% + 6px);
  bottom: 50%;
}
[data-tooltip][data-tooltip-pos=left]::before {
  right: calc(100% + 1px);
  bottom: 50%;
  border-top-color: transparent;
  border-left-color: #212529;
  transform: translateY(50%) translateX(4px);
}
[data-tooltip][data-tooltip-pos=left]:hover::before, [data-tooltip][data-tooltip-pos=left]:hover::after {
  transform: translateY(50%) translateX(0);
}

.storage-tooltip-wrap {
  position: relative;
}
.storage-tooltip-wrap:hover .storage-tooltip-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.storage-tooltip-panel {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #212529;
  color: #FFFFFF;
  border-radius: 6px;
  padding: 8px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s;
}
.storage-tooltip-panel::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 20px;
  border: 5px solid transparent;
  border-top-color: #212529;
}

.stp-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 3px 0;
  font-size: 12px;
}
.stp-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stp-key {
  color: rgba(255, 255, 255, 0.7);
  text-transform: capitalize;
  white-space: nowrap;
}

.stp-val {
  font-weight: 500;
  color: #FFFFFF;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.stp-total {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
}
.stp-total .stp-key {
  color: rgba(255, 255, 255, 0.9);
}

.settings-layout {
  display: flex;
  gap: 32px;
  padding: 32px;
  min-height: calc(100vh - 56px);
  align-items: flex-start;
}

.settings-sidebar {
  flex-shrink: 0;
  width: 220px;
}

.settings-sidebar-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ADB5BD;
  margin: 0 0 8px;
  padding: 0 8px;
}

.settings-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.settings-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  color: #495057;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.settings-nav-item svg {
  flex-shrink: 0;
  color: #ADB5BD;
  transition: color 0.15s;
}
.settings-nav-item:hover {
  background: #F1F3F5;
  color: #212529;
}
.settings-nav-item:hover svg {
  color: #495057;
}
.settings-nav-item--active {
  background: #EBEBFF;
  color: #5A5AFF;
  font-weight: 500;
}
.settings-nav-item--active svg {
  color: #5A5AFF;
}

.settings-content {
  flex: 1;
  min-width: 0;
}

.settings-card {
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.settings-card-header {
  margin-bottom: 32px;
}
.settings-card-header h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: #212529;
}
.settings-card-header p {
  margin: 0;
  font-size: 12px;
  color: #6C757D;
}
.settings-card-header--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-row {
  display: flex;
  gap: 16px;
}
.form-row .form-group {
  flex: 1;
}
.form-row--checks {
  flex-wrap: wrap;
  gap: 16px;
}

.form-label {
  font-size: 12px;
  font-weight: 500;
  color: #495057;
}

.form-required {
  color: #E74C3C;
}

.form-hint {
  font-size: 12px;
  color: #ADB5BD;
}

.form-hint-inline {
  font-weight: 400;
  font-size: 12px;
  color: #ADB5BD;
  margin-left: 4px;
}

.form-input {
  height: 38px;
  padding: 0 16px;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  font-size: 14px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #212529;
  background: #FFFFFF;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.form-input:focus {
  border-color: #5A5AFF;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.12);
}
.form-input--readonly {
  background: #F8F9FA;
  color: #6C757D;
  cursor: default;
}
.form-input--readonly:focus {
  border-color: #DEE2E6;
  box-shadow: none;
}
.form-input--error {
  border-color: #E74C3C;
}
.form-input--error:focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

select.form-input {
  cursor: pointer;
}

.form-error {
  font-size: 12px;
  color: #E74C3C;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #495057;
  cursor: pointer;
}
.form-check input[type=checkbox] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #5A5AFF;
}

.form-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn--primary {
  background: #5A5AFF;
  color: #FFFFFF;
  border-color: #5A5AFF;
}
.btn--primary:hover:not(:disabled) {
  background: #3D3DE8;
  border-color: #3D3DE8;
}
.btn--ghost {
  background: transparent;
  color: #495057;
  border-color: #DEE2E6;
}
.btn--ghost:hover:not(:disabled) {
  background: #F1F3F5;
}
.btn--danger {
  background: #E74C3C;
  color: #FFFFFF;
  border-color: #E74C3C;
}
.btn--danger:hover:not(:disabled) {
  background: rgb(222.7808219178, 45.698630137, 27.4191780822);
  border-color: rgb(222.7808219178, 45.698630137, 27.4191780822);
}
.btn--secondary {
  background: #F1F3F5;
  color: #495057;
  border-color: #E9ECEF;
}
.btn--secondary:hover:not(:disabled) {
  background: #E9ECEF;
  border-color: #DEE2E6;
}
.btn--success {
  background: rgba(39, 174, 96, 0.12);
  color: rgb(29.661971831, 132.338028169, 73.014084507);
  border-color: rgba(39, 174, 96, 0.3);
}
.btn--success:hover:not(:disabled) {
  background: rgba(39, 174, 96, 0.2);
}
.btn--warning {
  background: rgba(243, 156, 18, 0.12);
  color: #B7770D;
  border-color: rgba(243, 156, 18, 0.3);
}
.btn--warning:hover:not(:disabled) {
  background: rgba(243, 156, 18, 0.2);
}
.btn--sm {
  height: 32px;
  padding: 0 8px;
  font-size: 12px;
}

.log-labels-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.log-labels-search {
  position: relative;
  display: flex;
  align-items: center;
  background: #F8F9FA;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  padding: 0 8px;
  gap: 4px;
  flex: 1;
  min-width: 200px;
  max-width: 320px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.log-labels-search:focus-within {
  border-color: #5A5AFF;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.1);
  background: #FFFFFF;
}

.log-labels-search-icon {
  color: #CED4DA;
  flex-shrink: 0;
}

.log-labels-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 12px;
  color: #212529;
  padding: 7px 0;
  outline: none;
  min-width: 0;
}
.log-labels-search-input::placeholder {
  color: #CED4DA;
}

.log-labels-search-clear {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #CED4DA;
  padding: 2px;
  flex-shrink: 0;
}
.log-labels-search-clear:hover {
  color: #6C757D;
}

.log-labels-pills {
  display: flex;
  align-items: center;
  gap: 4px;
}

.log-labels-count {
  font-size: 12px;
  color: #ADB5BD;
  margin-left: auto;
  white-space: nowrap;
}

.log-label-unmanaged-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(243, 156, 18, 0.15);
  color: #B7770D;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #ADB5BD;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  padding: 0;
}
.btn-icon:hover {
  background: #F1F3F5;
  color: #343A40;
}
.btn-icon--danger:hover {
  background: rgba(231, 76, 60, 0.1);
  color: #E74C3C;
}
.btn-icon:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.alert {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
}
.alert--success {
  background: rgba(39, 174, 96, 0.1);
  color: rgb(29.661971831, 132.338028169, 73.014084507);
  border: 1px solid rgba(39, 174, 96, 0.3);
}
.alert--error {
  background: rgba(231, 76, 60, 0.08);
  color: rgb(213.698630137, 43.8356164384, 26.301369863);
  border: 1px solid rgba(231, 76, 60, 0.3);
}

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

.filters-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}

.search-icon {
  position: absolute;
  left: 10px;
  color: #CED4DA;
  flex-shrink: 0;
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 34px;
  padding: 0 16px 0 32px;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  font-size: 12px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #212529;
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-input::placeholder {
  color: #CED4DA;
}
.search-input:focus {
  border-color: #5A5AFF;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.1);
}

.filter-select {
  height: 34px;
  padding: 0 28px 0 8px;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  font-size: 12px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #495057;
  background: #FFFFFF;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236C757D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: border-color 0.15s;
}
.filter-select:focus {
  border-color: #5A5AFF;
}

.filter-date {
  height: 34px;
  padding: 0 8px;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  font-size: 12px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #495057;
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.15s;
}
.filter-date:focus {
  border-color: #5A5AFF;
}

.date-range-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.date-range-label {
  font-size: 12px;
  color: #ADB5BD;
  white-space: nowrap;
}

.btn--icon-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.table-wrapper {
  overflow-x: auto;
  margin: 0 -32px;
  padding: 0 32px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table thead th {
  padding: 8px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6C757D;
  border-bottom: 2px solid #E9ECEF;
  white-space: nowrap;
}
.data-table tbody td {
  padding: 8px 16px;
  color: #212529;
  font-size: 14px;
  border-bottom: 1px solid #F1F3F5;
  vertical-align: middle;
}
.data-table tbody tr:last-child td {
  border-bottom: none;
}
.data-table tbody tr:hover td {
  background: #F8F9FA;
}
.data-table tbody tr.tr--expanded td {
  background: #F8F9FA;
}
.data-table tbody tr.tr--detail td {
  padding: 0;
  background: #F8F9FA;
}
.data-table tbody tr.tr--detail td:hover {
  background: #F8F9FA;
}
.data-table tbody tr.tr--faded td {
  opacity: 0.5;
}

.table-actions {
  display: flex;
  gap: 4px;
  text-align: right;
  justify-content: flex-end;
}

.table-empty {
  text-align: center;
  color: #ADB5BD;
  padding: 32px !important;
  font-style: italic;
}

.table-loading {
  text-align: center;
  color: #ADB5BD;
  padding: 32px;
  font-size: 12px;
}

.text-muted {
  color: #ADB5BD !important;
}

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

.user-name {
  font-weight: 500;
  margin-right: 4px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.badge--super {
  background: rgba(245, 166, 35, 0.15);
  color: rgb(170.2608695652, 109.1217391304, 7.7391304348);
}
.badge--admin {
  background: #EBEBFF;
  color: #5A5AFF;
}
.badge--operator {
  background: #F1F3F5;
  color: #6C757D;
}
.badge--active {
  background: rgba(39, 174, 96, 0.12);
  color: rgb(34.3309859155, 153.1690140845, 84.5070422535);
}
.badge--inactive {
  background: rgba(231, 76, 60, 0.1);
  color: #E74C3C;
}
.badge--warning {
  background: rgba(243, 156, 18, 0.15);
  color: #B7770D;
}
.badge--secondary {
  background: #F1F3F5;
  color: #6C757D;
}
.badge--info {
  background: rgba(41, 128, 185, 0.12);
  color: rgb(31.7477876106, 99.1150442478, 143.2522123894);
}
.badge--success {
  background: rgba(39, 174, 96, 0.12);
  color: rgb(31.5295774648, 140.6704225352, 77.6112676056);
}
.badge--primary {
  background: #EBEBFF;
  color: #5A5AFF;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.commercial-modal {
  width: min(90vw, 1100px);
  max-width: none;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow-y: visible;
}
.modal.commercial-modal .modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #212529;
}
.modal.commercial-modal .modal-header {
  flex-shrink: 0;
}
.modal.commercial-modal .modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: auto;
  gap: 0;
  padding: 16px 32px 32px;
}
.modal.commercial-modal .data-table {
  min-width: 700px;
  width: 100%;
}
.modal.commercial-modal .data-table th, .modal.commercial-modal .data-table td {
  white-space: nowrap;
}
.modal.commercial-modal .data-table th:first-child, .modal.commercial-modal .data-table td:first-child {
  white-space: normal;
  min-width: 180px;
}
.modal.commercial-modal .data-table td {
  vertical-align: middle;
}
.modal.commercial-modal .text-danger {
  color: #E74C3C;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal--sm {
  max-width: 400px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid #E9ECEF;
}
.modal-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #212529;
}

.modal-close {
  background: none;
  border: none;
  font-size: 22px;
  color: #CED4DA;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.15s;
}
.modal-close:hover {
  color: #495057;
}

.modal-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-body p {
  margin: 0;
  color: #495057;
  line-height: 1.6;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 32px;
  border-top: 1px solid #E9ECEF;
}

.password-rules {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.password-rules li {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.password-rules .rule--ok {
  background: rgba(39, 174, 96, 0.12);
  color: rgb(34.3309859155, 153.1690140845, 84.5070422535);
}
.password-rules .rule--ko {
  background: #F1F3F5;
  color: #ADB5BD;
}

.front-rules-card .front-rules-table-wrap {
  overflow: visible;
  margin: 0 -32px;
  padding: 0 32px;
}

.front-rules-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filter-pills {
  display: flex;
  gap: 4px;
}

.filter-pill {
  padding: 4px 12px;
  border: 1px solid #DEE2E6;
  border-radius: 100px;
  background: #FFFFFF;
  font-size: 12px;
  color: #6C757D;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.filter-pill:hover {
  border-color: #5A5AFF;
  color: #5A5AFF;
}
.filter-pill--active {
  background: #5A5AFF;
  border-color: #5A5AFF;
  color: #FFFFFF;
  font-weight: 500;
}

.filter-select-sm {
  padding: 5px 10px;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  font-size: 12px;
  color: #495057;
  background: #FFFFFF;
  outline: none;
  cursor: pointer;
}
.filter-select-sm:focus {
  border-color: #5A5AFF;
}

.filter-count {
  font-size: 12px;
  color: #CED4DA;
  margin-left: auto;
}

.td-email {
  font-size: 12px;
  color: #212529;
  word-break: break-all;
  max-width: 220px;
}

.td-name {
  font-size: 12px;
  color: #6C757D;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.td-association {
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.th-center {
  text-align: center !important;
}

.conv-count-badge {
  display: inline-block;
  min-width: 28px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #495057;
  background: #F1F3F5;
  border-radius: 100px;
  padding: 2px 7px;
}

.tr--spam td {
  opacity: 0.5;
}

.match-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.match-badge--auto {
  background: rgba(39, 174, 96, 0.1);
  color: rgb(29.661971831, 132.338028169, 73.014084507);
}
.match-badge--manual {
  background: rgba(90, 90, 255, 0.1);
  color: #5A5AFF;
}
.match-badge--spam {
  background: #F1F3F5;
  color: #ADB5BD;
}

.association-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.saving-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5A5AFF;
  flex-shrink: 0;
  animation: dot-pulse 1s infinite;
}

@keyframes dot-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}
.td-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 24px;
  border-top: 1px solid #F1F3F5;
}

.pagination-info {
  font-size: 12px;
  color: #ADB5BD;
  white-space: nowrap;
}
.pagination-info strong {
  color: #343A40;
  font-weight: 600;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 3px;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border: 1px solid #DEE2E6;
  border-radius: 4px;
  background: #FFFFFF;
  color: #495057;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.1s, border-color 0.1s, color 0.1s;
  text-decoration: none;
}
.pagination-btn:hover:not(:disabled):not(.is-active) {
  background: #F8F9FA;
  border-color: #CED4DA;
}
.pagination-btn.is-active {
  background: #5A5AFF;
  border-color: #5A5AFF;
  color: #FFFFFF;
  font-weight: 600;
}
.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.pagination-btn--dots {
  border-color: transparent;
  background: transparent;
  cursor: default;
  color: #CED4DA;
  pointer-events: none;
}

.agency-select {
  position: relative;
  width: 100%;
  max-width: 280px;
}
.agency-select--disabled {
  opacity: 0.5;
  pointer-events: none;
}

.agency-select-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  background: #FFFFFF;
  cursor: pointer;
  font-size: 12px;
  color: #343A40;
  transition: border-color 0.15s;
  min-height: 32px;
}
.agency-select-trigger:hover {
  border-color: #5A5AFF;
}
.agency-select--open .agency-select-trigger {
  border-color: #5A5AFF;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.1);
}

.agency-select-val {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #212529;
}

.agency-select-placeholder {
  flex: 1;
  color: #CED4DA;
  font-style: italic;
  font-size: 12px;
}

.agency-select-caret {
  flex-shrink: 0;
  color: #CED4DA;
  transition: transform 0.15s;
}
.agency-select--open .agency-select-caret {
  transform: rotate(180deg);
}

.agency-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 260px;
  width: max-content;
  max-width: 360px;
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 250;
  overflow: hidden;
}

.agency-select-search-wrap {
  padding: 4px;
  border-bottom: 1px solid #F1F3F5;
}

.agency-select-search {
  width: 100%;
  padding: 5px 10px;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  font-size: 12px;
  outline: none;
  box-sizing: border-box;
}
.agency-select-search:focus {
  border-color: #5A5AFF;
}

.agency-select-options {
  max-height: 200px;
  overflow-y: auto;
  padding: 4px 0;
}

.agency-select-option {
  padding: 6px 12px;
  font-size: 12px;
  color: #343A40;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.1s;
}
.agency-select-option:hover {
  background: #F8F9FA;
}
.agency-select-option--active {
  background: rgba(90, 90, 255, 0.07);
  color: #5A5AFF;
  font-weight: 500;
}
.agency-select-option--none {
  color: #CED4DA;
  font-style: italic;
}

.agency-select-empty {
  padding: 12px;
  text-align: center;
  font-size: 12px;
  color: #CED4DA;
}

.agency-label--xs {
  font-size: 10px;
  padding: 1px 5px;
  line-height: 1.5;
}

.cron-job-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px 24px;
}

.cron-job-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  padding: 16px 24px;
}
.cron-job-card__left {
  flex: 1 1 0;
  min-width: 0;
}
.cron-job-card__meta {
  flex: 0 0 220px;
}
.cron-job-card__actions {
  flex: 0 0 auto;
}

.cron-job-name {
  font-size: 14px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 3px;
}

.cron-job-desc {
  font-size: 12px;
  color: #ADB5BD;
}

.cron-job-schedule {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #ADB5BD;
  font-family: monospace;
  margin-bottom: 4px;
}

.cron-job-last {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #6C757D;
}
.cron-job-last--never {
  color: #CED4DA;
  font-style: italic;
}

.cron-job-duration {
  color: #CED4DA;
}

.cron-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cron-status-dot--success {
  background: #27AE60;
}
.cron-status-dot--error {
  background: #E74C3C;
}
.cron-status-dot--running {
  background: #F39C12;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.cron-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.cron-toast--success {
  background: #27AE60;
  color: #fff;
}
.cron-toast--error {
  background: #E74C3C;
  color: #fff;
}

.toast-fade-enter-active,
.toast-fade-leave-active {
  transition: opacity 0.3s, transform 0.3s;
}

.toast-fade-enter-from,
.toast-fade-leave-to {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
}

.spin {
  animation: spin 0.8s linear infinite;
}

.cron-job-wrap {
  display: flex;
  flex-direction: column;
}

.cron-job-card--open {
  border-radius: 6px 6px 0 0;
  border-bottom-color: transparent;
}

.cron-backfill-panel {
  background: #F8F9FA;
  border: 1px solid #E9ECEF;
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cron-backfill-title {
  font-size: 12px;
  font-weight: 600;
  color: #495057;
  white-space: nowrap;
}

.cron-backfill-field {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #6C757D;
}
.cron-backfill-field input[type=date] {
  padding: 4px 8px;
  border: 1px solid #DEE2E6;
  border-radius: 4px;
  font-size: 12px;
  color: #343A40;
  background: #FFFFFF;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}
.cron-backfill-field input[type=date]:focus {
  outline: none;
  border-color: #5A5AFF;
  box-shadow: 0 0 0 2px rgba(90, 90, 255, 0.15);
}

.cron-backfill-hint {
  font-size: 11px;
  color: #CED4DA;
  font-style: italic;
  white-space: nowrap;
}

.cron-backfill-error {
  width: 100%;
  font-size: 12px;
  color: #E74C3C;
  padding: 4px 0 0;
}

.page-agencies {
  padding: 32px;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}

.page-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 600;
  color: #212529;
}

.page-subtitle {
  margin: 0;
  font-size: 12px;
  color: #6C757D;
}

.page-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-count {
  font-size: 12px;
  font-weight: 500;
  color: #6C757D;
  background: #F1F3F5;
  border: 1px solid #E9ECEF;
  border-radius: 100px;
  padding: 3px 10px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.meta-count--filtered {
  background: rgba(90, 90, 255, 0.08);
  color: #5A5AFF;
  border-color: rgba(90, 90, 255, 0.25);
}

.meta-count-sep {
  font-weight: 400;
  opacity: 0.7;
}

.agencies-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.filter-input {
  height: 36px;
  padding: 0 16px;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  font-size: 14px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #212529;
  background: #FFFFFF;
  outline: none;
  min-width: 240px;
  flex: 1;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.filter-input:focus {
  border-color: #5A5AFF;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.12);
}

.filter-select {
  height: 36px;
  padding: 0 32px 0 16px;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  font-size: 12px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #495057;
  background: #FFFFFF;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236C757D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.filter-select:focus {
  border-color: #5A5AFF;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.12);
}

.page-agencies .table-wrapper {
  overflow: visible;
  margin: 0;
  padding: 0;
}

.table-card {
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.table-card .data-table thead tr th:first-child {
  border-radius: 10px 0 0 0;
}
.table-card .data-table thead tr th:last-child {
  border-radius: 0 10px 0 0;
}

.agencies-table {
  width: 100%;
}
.agencies-table .td-agency {
  min-width: 160px;
}
.agencies-table .td-agency-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
.agencies-table .td-license {
  min-width: 140px;
}
.agencies-table .td-storage {
  min-width: 150px;
}
.agencies-table .td-limit-bar {
  min-width: 110px;
  max-width: 150px;
}
.agencies-table .td-priority {
  width: 80px;
  white-space: nowrap;
}
.agencies-table .td-status {
  width: 80px;
  white-space: nowrap;
}
.agencies-table .th-links {
  width: 80px;
  text-align: center;
}
.agencies-table .td-links {
  width: 80px;
  vertical-align: middle;
  text-align: center;
}

.td-logo {
  width: 56px;
  padding-right: 0 !important;
  vertical-align: middle;
}

.agency-logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid #E9ECEF;
  background: #F8F9FA;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.agency-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.agency-logo-fallback {
  font-size: 13px;
  font-weight: 700;
  color: #CED4DA;
  letter-spacing: -0.5px;
  user-select: none;
}

.agency-name {
  display: block;
  font-weight: 500;
  color: #212529;
}

.agency-label {
  display: inline-block;
  margin-top: 3px;
  font-size: 11px;
  font-family: monospace;
  background: #F1F3F5;
  color: #6C757D;
  border-radius: 4px;
  padding: 1px 6px;
}

.agency-server-name {
  margin-top: 3px;
  font-size: 10px;
  color: #CED4DA;
  font-weight: 400;
}

.license-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
  align-items: center;
}

.date-range {
  font-size: 12px;
  color: #ADB5BD;
}

.badge--license-basic {
  background: #F1F3F5;
  color: #6C757D;
}

.badge--license-start {
  background: rgba(41, 128, 185, 0.12);
  color: rgb(31.7477876106, 99.1150442478, 143.2522123894);
}

.badge--license-pro {
  background: rgba(90, 90, 255, 0.12);
  color: #2727ff;
}

.badge--license-premium {
  background: rgba(245, 166, 35, 0.15);
  color: rgb(170.2608695652, 109.1217391304, 7.7391304348);
}

.badge--expired {
  background: rgba(231, 76, 60, 0.1);
  color: #E74C3C;
}

.badge--expiring {
  background: rgba(243, 156, 18, 0.15);
  color: rgb(175.6084337349, 111.1445783133, 8.8915662651);
}

.storage-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.storage-bar {
  height: 6px;
  background: #E9ECEF;
  border-radius: 100px;
  overflow: hidden;
  min-width: 100px;
}

.storage-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.4s ease;
}
.storage-bar-fill--ok {
  background: #27AE60;
}
.storage-bar-fill--warning {
  background: #F39C12;
}
.storage-bar-fill--danger {
  background: #E74C3C;
}

.storage-label {
  font-size: 12px;
  color: #6C757D;
  white-space: nowrap;
}

.storage-pct {
  color: #ADB5BD;
}

.limit-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #495057;
}
.limit-row svg {
  color: #CED4DA;
  flex-shrink: 0;
}
.limit-row + .limit-row {
  margin-top: 3px;
}

.td-links-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.page-agency-detail {
  padding: 32px;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #ADB5BD;
  margin-bottom: 24px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6C757D;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.detail-back:hover {
  color: #5A5AFF;
}

.detail-breadcrumb-sep {
  color: #DEE2E6;
}

.detail-breadcrumb-current {
  color: #343A40;
  font-weight: 500;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 400px;
}

.agency-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 24px 32px;
  margin-bottom: 24px;
}

.agency-detail-logo-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid #E9ECEF;
  background: #F8F9FA;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.agency-detail-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.agency-detail-logo-fallback {
  font-size: 20px;
  font-weight: 700;
  color: #CED4DA;
  letter-spacing: -0.5px;
  user-select: none;
}

.agency-detail-identity {
  flex: 1;
  min-width: 0;
}

.agency-detail-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.agency-detail-name {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #212529;
  line-height: 1.2;
}

.agency-detail-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.detail-server-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #ADB5BD;
}

.detail-link-tag {
  font-size: 12px;
}
.detail-link-tag a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #5A5AFF;
  text-decoration: none;
}
.detail-link-tag a:hover {
  text-decoration: underline;
}

.detail-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid #E9ECEF;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.detail-tabs::-webkit-scrollbar {
  display: none;
}

.detail-tab {
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #6C757D;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
  font-weight: 400;
}
.detail-tab:hover {
  color: #212529;
}
.detail-tab--active {
  color: #5A5AFF;
  border-color: #5A5AFF;
  font-weight: 600;
}

.info-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 992px) {
  .info-sections {
    grid-template-columns: 1fr;
  }
}

.info-section {
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.info-section--full {
  grid-column: 1/-1;
}

.info-section-title {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: #212529;
  padding-bottom: 8px;
  border-bottom: 1px solid #F1F3F5;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.info-item--storage {
  grid-column: 1/-1;
}

.info-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #CED4DA;
}

.info-value {
  font-size: 14px;
  color: #343A40;
  word-break: break-word;
}
.info-value a {
  color: #5A5AFF;
  text-decoration: none;
}
.info-value a:hover {
  text-decoration: underline;
}
.info-value--danger {
  color: #E74C3C;
}
.info-value--warning {
  color: rgb(175.6084337349, 111.1445783133, 8.8915662651);
}
.info-value--color {
  display: flex;
  align-items: center;
  gap: 4px;
}

.info-value-sub {
  font-size: 12px;
  color: #ADB5BD;
  margin-left: 4px;
}

.color-swatch {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.priority-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  flex-shrink: 0;
  vertical-align: middle;
}
.priority-dot--high {
  background: #E74C3C;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}
.priority-dot--medium {
  background: #F39C12;
  box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.2);
}
.priority-dot--low {
  background: #27AE60;
  box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.2);
}

.module-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.module-search-wrap svg {
  position: absolute;
  left: 10px;
  color: #CED4DA;
  pointer-events: none;
}

.module-search-input {
  padding: 6px 10px 6px 30px;
  border: 1px solid #E9ECEF;
  border-radius: 4px;
  font-size: 13px;
  color: #343A40;
  background: #FFFFFF;
  width: 220px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.module-search-input:focus {
  outline: none;
  border-color: #5A5AFF;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.12);
}
.module-search-input::placeholder {
  color: #CED4DA;
}

.module-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

.module-section {
  display: flex;
  flex-direction: column;
}

.module-section-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #CED4DA;
  padding: 6px 0;
  margin-bottom: 2px;
  border-bottom: 1px solid #F1F3F5;
}

.module-section-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.module-section-dot--on {
  background: #27AE60;
}
.module-section-dot--off {
  background: #DEE2E6;
}

.module-section-count {
  margin-left: auto;
  font-weight: 500;
  color: #ADB5BD;
  font-variant-numeric: tabular-nums;
}

.module-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 8px;
  border-radius: 4px;
  transition: background 0.12s;
}
.module-row:hover {
  background: #F8F9FA;
}
.module-row--off {
  opacity: 0.55;
}

.module-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.module-dot--on {
  background: #27AE60;
}
.module-dot--off {
  background: #DEE2E6;
}

.module-name {
  font-size: 14px;
  color: #343A40;
  flex: 1;
  min-width: 0;
}

.module-key {
  font-size: 11px;
  color: #CED4DA;
  background: #F1F3F5;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  font-family: ui-monospace, "Cascadia Code", "Fira Code", monospace;
  white-space: nowrap;
}

.note-composer {
  margin-bottom: 24px;
}

.note-composer-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.note-composer-label {
  font-size: 12px;
  font-weight: 500;
  color: #495057;
}

.note-textarea {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  font-size: 14px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #212529;
  resize: vertical;
  min-height: 80px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.note-textarea:focus {
  border-color: #5A5AFF;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.12);
}
.note-textarea:disabled {
  background: #F8F9FA;
  cursor: not-allowed;
}

.note-composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.note-char-count {
  font-size: 12px;
  color: #CED4DA;
}
.note-char-count--warn {
  color: #F39C12;
}

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

.note-empty {
  text-align: center;
  padding: 32px 0;
  color: #CED4DA;
}
.note-empty svg {
  margin-bottom: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.note-empty p {
  font-size: 12px;
  margin: 0;
}

.note-card {
  display: flex;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 10px;
  padding: 16px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.note-card--system {
  background: #f8fafc;
  border-color: #e2e8f0;
  border-left: 3px solid #6366f1;
}

.note-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #EBEBFF;
  color: #5A5AFF;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  user-select: none;
}
.note-avatar--me {
  background: #5A5AFF;
  color: #FFFFFF;
}
.note-avatar--system {
  background: #eef2ff;
  color: #4f46e5;
}

.note-system-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  background: #eef2ff;
  color: #4338ca;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.note-system-tag--submit {
  background: #dcfce7;
  color: #166534;
}
.note-system-tag--edit {
  background: #fef3c7;
  color: #92400e;
}
.note-system-tag--draft {
  background: #eef2ff;
  color: #4338ca;
}

.note-body {
  flex: 1;
  min-width: 0;
}

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

.note-author {
  font-size: 12px;
  font-weight: 600;
  color: #212529;
}

.note-date {
  font-size: 12px;
  color: #CED4DA;
  flex: 1;
}

.note-delete {
  opacity: 0;
  transition: opacity 0.15s;
}

.note-card:hover .note-delete {
  opacity: 1;
}

.note-content {
  margin: 0;
  font-size: 14px;
  color: #495057;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
}

.tab-empty-state {
  text-align: center;
  padding: 48px 0;
  color: #CED4DA;
}
.tab-empty-state svg {
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.tab-empty-state p {
  font-size: 12px;
  margin: 0;
}
.tab-empty-state p strong {
  color: #6C757D;
}

.conv-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid #F1F3F5;
}

.conv-page-info {
  font-size: 12px;
  color: #ADB5BD;
}

.agency-name--link {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s;
}
.agency-name--link:hover {
  color: #5A5AFF;
  text-decoration: underline;
}

.agency-quick-actions {
  position: relative;
  flex-shrink: 0;
  align-self: flex-start;
}

.agency-quick-actions-btn {
  gap: 6px;
}
.agency-quick-actions-btn .agency-quick-chevron {
  transition: transform 0.2s;
}
.agency-quick-actions-btn.is-open .agency-quick-chevron {
  transform: rotate(180deg);
}

.agency-quick-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 280px;
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 200;
  overflow: hidden;
}

.agency-quick-popover-title {
  padding: 10px 16px 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #CED4DA;
  border-bottom: 1px solid #F1F3F5;
}

.agency-quick-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  text-decoration: none;
  color: #343A40;
  transition: background 0.1s;
  cursor: pointer;
}
.agency-quick-item:hover {
  background: #F8F9FA;
}
.agency-quick-item:hover .agency-quick-item-arrow {
  opacity: 1;
  transform: translateX(2px);
}
.agency-quick-item + .agency-quick-item {
  border-top: 1px solid #F1F3F5;
}

.agency-quick-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  flex-shrink: 0;
}
.agency-quick-item-icon--log {
  background: rgba(90, 90, 255, 0.1);
  color: #5A5AFF;
}
.agency-quick-item-icon--fruition {
  background: rgba(41, 128, 185, 0.1);
  color: #2980B9;
}
.agency-quick-item-icon--live {
  background: rgba(39, 174, 96, 0.1);
  color: #27AE60;
}

.agency-quick-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.agency-quick-item-label {
  font-size: 12px;
  font-weight: 600;
  color: #212529;
  line-height: 1.3;
}

.agency-quick-item-desc {
  font-size: 11px;
  color: #ADB5BD;
  line-height: 1.3;
}

.agency-quick-item-arrow {
  color: #CED4DA;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
}

.kpi-card {
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 16px 24px;
  margin-bottom: 16px;
}

.kpi-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.kpi-card-title {
  font-size: 12px;
  font-weight: 600;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-stats-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.kpi-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 90px;
}

.kpi-stat-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6C757D;
}

.kpi-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #212529;
  line-height: 1.1;
}

.kpi-stat-trend {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.kpi-stat-prev {
  font-weight: 400;
  color: #6C757D;
  margin-left: 3px;
}

.trend--up {
  color: #27AE60;
}

.trend--down {
  color: #E74C3C;
}

.trend--neutral {
  color: #6C757D;
}

.kpi-stat-divider {
  width: 1px;
  height: 44px;
  background: #E9ECEF;
  flex-shrink: 0;
}

.commercial-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #F1F3F5;
  border-bottom: 1px solid #F1F3F5;
  margin: 8px 0 16px;
}
@media (max-width: 900px) {
  .commercial-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.commercial-kpi {
  padding: 16px 24px;
  border-right: 1px solid #F1F3F5;
  transition: background 0.12s;
}
.commercial-kpi:last-child {
  border-right: none;
}
.commercial-kpi--danger .commercial-kpi-value {
  color: #E74C3C;
}
.commercial-kpi--clickable {
  cursor: pointer;
}
.commercial-kpi--clickable:hover {
  background: #F8F9FA;
}

.commercial-kpi-label {
  font-size: 11px;
  font-weight: 600;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.commercial-kpi-value {
  font-size: 30px;
  font-weight: 700;
  color: #212529;
  line-height: 1;
  margin-bottom: 8px;
}

.commercial-kpi-compare {
  display: flex;
  align-items: center;
  gap: 8px;
}

.commercial-kpi-compare-prev {
  font-size: 12px;
  font-weight: 500;
  color: #495057;
  cursor: pointer;
  border-bottom: 1px dashed #CED4DA;
  transition: color 0.12s;
}
.commercial-kpi-compare-prev:hover {
  color: #212529;
}

.commercial-kpi-delta {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.commercial-kpi-delta.trend--up {
  background: rgba(39, 174, 96, 0.1);
  color: rgb(31.5295774648, 140.6704225352, 77.6112676056);
}
.commercial-kpi-delta.trend--down {
  background: rgba(231, 76, 60, 0.1);
  color: #E74C3C;
}
.commercial-kpi-delta.trend--neutral {
  background: #F1F3F5;
  color: #ADB5BD;
}

.commercial-quarters-title {
  font-size: 11px;
  font-weight: 600;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.commercial-quarters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 700px) {
  .commercial-quarters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.commercial-quarter {
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  padding: 8px 16px;
}

.commercial-quarter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.commercial-quarter-label {
  font-size: 12px;
  font-weight: 700;
  color: #495057;
  letter-spacing: 0.06em;
}

.commercial-quarter-delta {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}
.commercial-quarter-delta.trend--up {
  background: rgba(39, 174, 96, 0.1);
  color: rgb(31.5295774648, 140.6704225352, 77.6112676056);
}
.commercial-quarter-delta.trend--down {
  background: rgba(231, 76, 60, 0.1);
  color: #E74C3C;
}
.commercial-quarter-delta.trend--neutral {
  background: #F1F3F5;
  color: #ADB5BD;
}

.commercial-quarter-body {
  display: flex;
  align-items: center;
  gap: 10px;
}

.commercial-quarter-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border-radius: 4px;
  padding: 3px 6px;
  transition: background 0.12s;
}
.commercial-quarter-col:hover {
  background: #F1F3F5;
}
.commercial-quarter-col--prev {
  opacity: 1;
}

.commercial-quarter-year-lbl {
  font-size: 10px;
  font-weight: 600;
  color: #6C757D;
  line-height: 1;
  margin-bottom: 3px;
  letter-spacing: 0.03em;
}

.commercial-quarter-num {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: #212529;
}
.commercial-quarter-num--prev {
  font-size: 20px;
  color: #495057;
}
.commercial-quarter-num.trend--up {
  color: rgb(31.5295774648, 140.6704225352, 77.6112676056);
}
.commercial-quarter-num.trend--down {
  color: #E74C3C;
}
.commercial-quarter-num.trend--neutral {
  color: #212529;
}

.commercial-quarter-arrow {
  font-size: 16px;
  color: #DEE2E6;
  flex-shrink: 0;
  margin-bottom: 0;
  align-self: center;
  margin-top: 14px;
}

.kpi-chart-wrap {
  flex: 1;
  min-width: 160px;
  height: 60px;
  position: relative;
}
.kpi-chart-wrap canvas {
  display: block;
  width: 100% !important;
  height: 60px !important;
}

.kpi-card-header--split {
  justify-content: space-between;
}

.dash-an-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #F1F3F5;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .dash-an-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dash-an-kpi {
  padding: 16px 24px;
  border-right: 1px solid #F1F3F5;
  border-bottom: 1px solid #F1F3F5;
}
.dash-an-kpi:nth-child(4n) {
  border-right: none;
}
.dash-an-kpi:nth-child(n+5) {
  border-bottom: none;
}
@media (max-width: 900px) {
  .dash-an-kpi:nth-child(4n) {
    border-right: 1px solid #F1F3F5;
  }
  .dash-an-kpi:nth-child(2n) {
    border-right: none;
  }
  .dash-an-kpi:nth-child(n+5) {
    border-bottom: 1px solid #F1F3F5;
  }
  .dash-an-kpi:nth-child(n+7) {
    border-bottom: none;
  }
}

.dash-an-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #6C757D;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.dash-an-value {
  font-size: 28px;
  font-weight: 700;
  color: #212529;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.dash-an-trend {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  line-height: 1.3;
}
.dash-an-trend.trend--up {
  color: #27AE60;
}
.dash-an-trend.trend--down {
  color: #E74C3C;
}
.dash-an-trend.trend--neutral {
  color: #ADB5BD;
}

.dash-an-prev {
  font-weight: 400;
  color: #ADB5BD;
}

.cc-period-selector {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .cc-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cc-kpi-card {
  background: #F8F9FA;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  padding: 16px;
}

.cc-kpi-label {
  font-size: 12px;
  color: #6C757D;
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cc-kpi-value {
  font-size: 28px;
  font-weight: 700;
  color: #212529;
  line-height: 1.1;
  margin-bottom: 4px;
}
.cc-kpi-value--neutral {
  color: #2980B9;
}
.cc-kpi-value--warning {
  color: #F39C12;
}

.cc-kpi-trend {
  font-size: 12px;
  font-weight: 600;
}
.cc-kpi-trend.trend--up {
  color: #27AE60;
}
.cc-kpi-trend.trend--down {
  color: #E74C3C;
}
.cc-kpi-trend.trend--neutral {
  color: #ADB5BD;
}

.cc-kpi-prev {
  font-weight: 400;
  color: #ADB5BD;
  margin-left: 4px;
}

.cc-kpi-sublabel {
  font-size: 12px;
  color: #ADB5BD;
}

.cc-chart-section {
  margin-bottom: 24px;
}

.cc-chart-title {
  font-size: 12px;
  font-weight: 600;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.cc-chart-wrap {
  position: relative;
  width: 100%;
}

.cc-chart-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 800px) {
  .cc-chart-row {
    grid-template-columns: 1fr;
  }
}

.cc-chart-card {
  background: #F8F9FA;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  padding: 16px;
}

.cc-empty {
  font-size: 12px;
  color: #ADB5BD;
  font-style: italic;
  padding: 8px 0;
}

.cc-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.cc-bar-row:last-child {
  margin-bottom: 0;
}

.cc-bar-label {
  font-size: 12px;
  color: #495057;
  flex-shrink: 0;
  width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cc-bar-label--tenant {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cc-tenant-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.cc-bar-track {
  flex: 1;
  background: #E9ECEF;
  border-radius: 3px;
  height: 8px;
  overflow: hidden;
}

.cc-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}
.cc-bar-fill--primary {
  background: #5A5AFF;
}
.cc-bar-fill--accent {
  background: #F5A623;
}
.cc-bar-fill--success {
  background: #27AE60;
}

.cc-bar-count {
  font-size: 12px;
  font-weight: 600;
  color: #495057;
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

.cc-channel-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 4px;
}
.cc-channel-dot.cc-channel--email {
  background: #5A5AFF;
}
.cc-channel-dot.cc-channel--chat {
  background: #27AE60;
}
.cc-channel-dot.cc-channel--whatsapp {
  background: #25D366;
}
.cc-channel-dot.cc-channel--sms {
  background: #F5A623;
}
.cc-channel-dot.cc-channel--social {
  background: #1DA1F2;
}
.cc-channel-dot.cc-channel--other {
  background: #CED4DA;
}

.cc-team-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.cc-team-table th {
  text-align: left;
  padding: 4px 8px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #6C757D;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #E9ECEF;
}
.cc-team-table td {
  padding: 8px 8px;
  border-bottom: 1px solid #F1F3F5;
  vertical-align: middle;
}
.cc-team-table td:last-child {
  text-align: right;
}
.cc-team-table tr:last-child td {
  border-bottom: none;
}

.cc-member-name {
  font-weight: 500;
  color: #212529;
}

.cc-member-email {
  font-size: 11px;
  color: #ADB5BD;
  margin-top: 2px;
}

.cc-member-count {
  font-weight: 700;
  color: #212529;
  text-align: right;
}

.cc-member-pct {
  color: #ADB5BD;
  text-align: right;
  min-width: 40px;
}

.cc-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cc-status-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cc-status-count {
  font-size: 12px;
  font-weight: 600;
  color: #495057;
}

.cc-chart-skeleton {
  padding-top: 8px;
}

.conv-insight-box {
  display: flex;
  align-items: stretch;
  gap: 24px;
  background: #EBEBFF;
  border: 1px solid rgba(90, 90, 255, 0.2);
  border-radius: 10px;
  padding: 16px 24px;
  margin-bottom: 16px;
}

.conv-insight-stats {
  display: flex;
  gap: 32px;
  flex-shrink: 0;
}

.conv-insight-stat {
  text-align: center;
}

.conv-insight-val {
  font-size: 22px;
  font-weight: 700;
  color: #3D3DE8;
  line-height: 1.1;
}

.conv-insight-lbl {
  font-size: 12px;
  color: #5A5AFF;
  font-weight: 500;
  margin-top: 2px;
}

.conv-insight-chart-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
}

.li-heat-floattip {
  position: fixed;
  z-index: 250;
  background: #212529;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  padding: 5px 9px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  white-space: nowrap;
}

.li-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.li-forecast-section .cc-chart-title {
  margin-bottom: 16px;
}

.li-forecast-box {
  display: flex;
  align-items: stretch;
  gap: 24px;
  background: #F8F9FA;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  padding: 16px 24px;
}
@media (max-width: 800px) {
  .li-forecast-box {
    flex-direction: column;
  }
}

.li-forecast-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  min-width: 140px;
  padding-right: 16px;
  border-right: 1px solid #E9ECEF;
}
@media (max-width: 800px) {
  .li-forecast-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    border-right: none;
    border-bottom: 1px solid #E9ECEF;
    padding-right: 0;
    padding-bottom: 16px;
  }
}

.li-forecast-chart-block {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.li-forecast-chart-label {
  font-size: 12px;
  font-weight: 600;
  color: #6C757D;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.li-forecast-today-val {
  color: #5A5AFF !important;
}

.li-kpi-value--success {
  color: #27AE60;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}

.li-kpi-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 18px;
}

.li-kpi-link {
  background: none;
  border: none;
  color: #5A5AFF;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.li-kpi-link:hover {
  text-decoration: underline;
}

.li-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .li-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.li-type-pct {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #ADB5BD;
  margin-top: 8px;
  padding-top: 4px;
  border-top: 1px solid #F1F3F5;
}

.li-heatmap {
  display: grid;
  grid-template-columns: 36px repeat(24, 1fr);
  gap: 2px;
  min-width: 600px;
}

.li-hm-hour-label {
  font-size: 9px;
  color: #ADB5BD;
  text-align: center;
  line-height: 1;
  padding: 2px 0 4px;
}

.li-hm-day-label {
  font-size: 11px;
  font-weight: 500;
  color: #6C757D;
  display: flex;
  align-items: center;
  padding-right: 4px;
}

.li-hm-cell {
  height: 16px;
  border-radius: 2px;
  background: #F1F3F5;
  transition: background-color 0.15s;
  cursor: default;
}

.li-heatmap-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 11px;
  color: #ADB5BD;
}

.li-hm-legend-scale {
  display: flex;
  gap: 2px;
}

.li-hm-legend-step {
  width: 20px;
  height: 10px;
  border-radius: 2px;
  background-color: #5A5AFF;
}

.li-hm-legend-label {
  flex-shrink: 0;
}

.li-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.li-table th {
  text-align: left;
  padding: 4px 8px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #6C757D;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #E9ECEF;
  white-space: nowrap;
}
.li-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #F1F3F5;
  vertical-align: middle;
}
.li-table tr:last-child td {
  border-bottom: none;
}

.li-th-num {
  text-align: right !important;
}

.li-td-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #495057;
}

.li-td-bold {
  font-weight: 700;
  color: #212529;
}

.li-ok {
  color: #27AE60;
  font-weight: 600;
}

.li-tenant-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.li-tenant-logo-wrap {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #E9ECEF;
  background: #F8F9FA;
  display: flex;
  align-items: center;
  justify-content: center;
}

.li-tenant-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.li-tenant-logo-fb {
  font-size: 11px;
  font-weight: 700;
  color: #5A5AFF;
  line-height: 1;
}

.li-tenant-name {
  font-weight: 500;
  color: #212529;
  font-size: 12px;
}

.li-room-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #F1F3F5;
}
.li-room-row:last-child {
  border-bottom: none;
}

.li-room-info {
  flex: 1;
  min-width: 0;
}

.li-room-name {
  font-weight: 500;
  color: #212529;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.li-room-meta {
  margin-top: 2px;
}

.li-room-stats {
  text-align: center;
  flex-shrink: 0;
  min-width: 50px;
}

.li-room-stat-val {
  font-weight: 700;
  font-size: 15px;
  color: #212529;
  font-variant-numeric: tabular-nums;
}

.li-room-stat-lbl {
  font-size: 10px;
  color: #ADB5BD;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.conv-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #5A5AFF;
  background: #EBEBFF;
  border-radius: 3px;
  padding: 1px 6px;
  margin-right: 3px;
  white-space: nowrap;
}
.conv-tag--more {
  color: #ADB5BD;
  background: #F1F3F5;
}

.an-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.an-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.an-header h3 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 600;
}
.an-header p {
  margin: 0;
  font-size: 12px;
  color: #6C757D;
}
.an-header-left {
  flex: 1 1 300px;
  min-width: 0;
}
.an-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 260px;
}
.an-header-days {
  color: #ADB5BD;
  margin-left: 6px;
}
.an-header-prev {
  display: block;
  margin-top: 2px;
  color: #ADB5BD;
  font-size: 11px;
}
.an-header-prev strong {
  color: #495057;
}

.an-quick-ranges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.an-section {
  background: #fff;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  padding: 16px 24px;
}

.an-section-title {
  margin: 0 0 16px 0;
  font-size: 12px;
  font-weight: 600;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.an-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.an-kpi-card {
  border: 1px solid #E9ECEF;
  border-radius: 4px;
  padding: 16px;
  background: #fff;
}
.an-kpi-card--highlight {
  background: #EBEBFF;
  border-color: #5A5AFF;
}

.an-kpi-label {
  font-size: 11px;
  color: #6C757D;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.an-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #E9ECEF;
  color: #6C757D;
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: none;
  letter-spacing: 0;
  cursor: help;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}
.an-info-icon:hover {
  background: #EBEBFF;
  color: #5A5AFF;
}

.an-kpi-value {
  font-size: 24px;
  font-weight: 700;
  color: #212529;
  line-height: 1.1;
  margin-bottom: 6px;
  min-height: 30px;
}

.an-kpi-skel {
  width: 70%;
  height: 24px;
  display: inline-block;
}

.an-kpi-trend {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: baseline;
}
.an-kpi-trend.trend--up {
  color: #27AE60;
}
.an-kpi-trend.trend--down {
  color: #E74C3C;
}
.an-kpi-trend.trend--neutral {
  color: #ADB5BD;
}

.an-kpi-prev {
  font-weight: 400;
  color: #ADB5BD;
}

.an-chart-section {
  background: #fff;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  padding: 16px 24px;
}

.an-chart-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.an-chart-card {
  background: #fff;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  padding: 16px 24px;
}

.an-chart-title {
  font-size: 12px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.an-chart-title-sub {
  font-size: 11px;
  font-weight: 400;
  color: #ADB5BD;
}

.an-chart-wrap {
  position: relative;
  width: 100%;
}

.an-chart-skeleton {
  padding: 8px 0;
}

.an-empty {
  padding: 16px;
  text-align: center;
  color: #ADB5BD;
  font-size: 12px;
}

.an-bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 110px;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 12px;
}

.an-bar-label {
  color: #495057;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.an-bar-track {
  height: 6px;
  background: #F1F3F5;
  border-radius: 3px;
  overflow: hidden;
}

.an-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}
.an-bar-fill--primary {
  background: #5A5AFF;
}
.an-bar-fill--accent {
  background: #5dade2;
}
.an-bar-fill--success {
  background: #27AE60;
}

.an-bar-count {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #343A40;
  font-weight: 500;
}

.an-bar-pct {
  color: #ADB5BD;
  font-weight: 400;
  font-size: 11px;
}

.an-adoption-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.an-adoption-card {
  border: 1px solid #E9ECEF;
  border-radius: 4px;
  padding: 16px;
}

.an-adoption-label {
  font-size: 11px;
  color: #6C757D;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.an-adoption-value {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.an-adoption-pct {
  font-size: 20px;
  font-weight: 700;
  color: #212529;
}

.an-adoption-count {
  font-size: 11px;
  color: #ADB5BD;
}

.an-adoption-track {
  height: 4px;
  background: #F1F3F5;
  border-radius: 2px;
  overflow: hidden;
}

.an-adoption-fill {
  height: 100%;
  background: linear-gradient(90deg, #5A5AFF, rgb(166.5, 166.5, 255));
  border-radius: 2px;
  transition: width 0.3s ease;
}

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

.an-tenant-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.an-tenant-table thead th {
  position: sticky;
  top: 0;
  background: #F8F9FA;
  border-bottom: 1px solid #E9ECEF;
  color: #6C757D;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 8px 8px;
  text-align: left;
}
.an-tenant-table thead th.tar {
  text-align: right;
}
.an-tenant-table tbody td {
  border-bottom: 1px solid #F1F3F5;
  padding: 8px 8px;
  vertical-align: middle;
  color: #343A40;
}
.an-tenant-table tbody td.tar {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.an-tenant-table tbody tr:hover {
  background: #F8F9FA;
}

.an-tenant-rank {
  color: #ADB5BD;
  font-weight: 600;
  width: 32px;
  text-align: center;
}

.an-tenant-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.an-tenant-logo-wrap {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #F1F3F5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E9ECEF;
}

.an-tenant-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.an-tenant-logo-fb {
  font-size: 11px;
  font-weight: 600;
  color: #5A5AFF;
  background: #EBEBFF;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.an-tenant-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.an-tenant-name {
  font-weight: 500;
  color: #212529;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.an-tenant-name-link {
  font-weight: 500;
  color: #212529;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
  transition: color 0.15s ease;
}
.an-tenant-name-link:hover {
  color: #5A5AFF;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .an-header {
    flex-direction: column;
  }
  .an-header-right {
    align-items: flex-start;
    width: 100%;
  }
  .an-bar-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .an-bar-label, .an-bar-count {
    text-align: left;
  }
}
.plan-type-cell {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.plan-type-edit-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #CED4DA;
  padding: 2px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  transition: color background-color 0.2s ease;
}
.plan-type-edit-btn:hover {
  color: #495057;
  background: #F1F3F5;
}

.plan-type-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 200;
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-type-opt {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 6px 10px;
  font-size: 12px;
  color: #495057;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color color 0.2s ease;
}
.plan-type-opt:hover {
  background: #F1F3F5;
}
.plan-type-opt--active {
  background: #EBEBFF;
  color: #5A5AFF;
  font-weight: 500;
}

.expire--danger {
  color: #E74C3C;
  font-weight: 600;
}

.expire--warning {
  color: #B7770D;
  font-weight: 500;
}

.live-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .live-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.live-summary-card {
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  padding: 16px 24px;
}
.live-summary-card--warning {
  border-color: rgba(243, 156, 18, 0.4);
  background: rgba(243, 156, 18, 0.05);
}
.live-summary-card--danger {
  border-color: rgba(231, 76, 60, 0.35);
  background: rgba(231, 76, 60, 0.04);
}
.live-summary-card--ok {
  border-color: rgba(39, 174, 96, 0.35);
  background: rgba(39, 174, 96, 0.04);
}

.live-summary-value,
.live-summary-val {
  font-size: 28px;
  font-weight: 700;
  color: #212529;
  line-height: 1.1;
  margin-bottom: 4px;
}

.live-summary-label {
  font-size: 12px;
  color: #ADB5BD;
  line-height: 1.3;
}

.live-slot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}
.live-slot--free {
  color: #27AE60;
}
.live-slot--partial {
  color: #B7770D;
}
.live-slot--full {
  color: #E74C3C;
}

.live-slot-expired {
  margin-left: 6px;
  font-size: 11px;
  color: #CED4DA;
  font-weight: 500;
}

.live-slot-bar {
  display: flex;
  gap: 2px;
  align-items: center;
}
.live-slot-bar .live-slot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E9ECEF;
}
.live-slot-bar .live-slot-dot--used {
  background: #5A5AFF;
}

.live-room-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.live-room-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  background: #EBEBFF;
  color: #5A5AFF;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-detail-panel {
  background: #F8F9FA;
  border-top: 1px solid #E9ECEF;
  padding: 8px 16px;
}
.live-detail-panel table {
  width: 100%;
  font-size: 12px;
  color: #495057;
  border-collapse: collapse;
}
.live-detail-panel table th {
  font-weight: 600;
  color: #ADB5BD;
  padding: 4px 8px;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.live-detail-panel table td {
  padding: 6px 8px;
  border-top: 1px solid #E9ECEF;
}

.live-expand-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #CED4DA;
  padding: 2px 4px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  transition: color background-color 0.2s ease;
}
.live-expand-btn:hover {
  background: #F1F3F5;
  color: #495057;
}
.live-expand-btn svg {
  transition: transform 0.2s ease;
}
.live-expand-btn--open svg {
  transform: rotate(180deg);
}

.live-participants--big {
  color: rgb(199.8795180723, 126.5060240964, 10.1204819277);
  font-weight: 700;
}

.live-big-lessons-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #495057;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E9ECEF;
}

.live-charts-layout {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin-top: 8px;
}

.live-charts-stats {
  display: flex;
  flex-direction: column;
  min-width: 110px;
  flex-shrink: 0;
  padding-right: 8px;
  border-right: 1px solid #E9ECEF;
}

.live-chart-block {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.live-chart-label {
  font-size: 11px;
  color: #ADB5BD;
  font-weight: 500;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }
}

.exp-card {
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 10px;
  padding: 16px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.exp-card-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}

.exp-card-icon {
  color: #CED4DA;
  flex-shrink: 0;
}

.exp-card-title {
  font-size: 12px;
  font-weight: 600;
  color: #495057;
}

.exp-counters {
  display: flex;
  gap: 24px;
  margin-bottom: 8px;
}

.exp-counter {
  flex: 1;
}
.exp-counter--warning .exp-counter-val {
  color: #B7770D;
}
.exp-counter--danger .exp-counter-val {
  color: #E74C3C;
}
.exp-counter--clickable {
  cursor: pointer;
  border-radius: 4px;
  padding: 4px 8px;
  margin: -4px -8px;
  transition: background 0.12s;
}
.exp-counter--clickable:hover {
  background: #F8F9FA;
}
.exp-counter--clickable .exp-counter-val {
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
  text-decoration-color: currentColor;
}

.exp-counter-val {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  display: block;
}

.exp-counter-label {
  font-size: 11px;
  color: #ADB5BD;
  margin-top: 2px;
  display: block;
  line-height: 1.3;
}

.exp-detail {
  border-top: 1px solid #E9ECEF;
  margin-top: 8px;
  padding-top: 8px;
}

.exp-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 11px;
  color: #5A5AFF;
  padding: 2px 0;
  font-weight: 500;
}
.exp-toggle:hover {
  text-decoration: underline;
}

.exp-list {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 200px;
  overflow-y: auto;
}

.exp-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  border-top: 1px solid #F1F3F5;
  gap: 8px;
}

.exp-list-name {
  font-size: 12px;
  font-weight: 500;
  color: #5A5AFF;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.exp-list-name:hover {
  text-decoration: underline;
}

.exp-list-room {
  font-size: 11px;
  color: #ADB5BD;
  display: block;
}

.exp-list-date {
  font-size: 11px;
  font-weight: 600;
  color: #ADB5BD;
  white-space: nowrap;
  flex-shrink: 0;
}
.exp-list-date--warning {
  color: #B7770D;
}
.exp-list-date--danger {
  color: #E74C3C;
}

.zoom-report-btn {
  color: #ADB5BD;
  border: 1px solid #E9ECEF;
}
.zoom-report-btn:hover {
  color: #2D8CFF;
  border-color: #2D8CFF;
  background: rgba(45, 140, 255, 0.06);
}

.modal.zoom-report-modal {
  width: min(96vw, 1140px);
  max-width: none;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow-y: visible;
}
.modal.zoom-report-modal .modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px;
}

.zoom-report-modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #212529;
}
.zoom-report-modal-title em {
  font-style: normal;
  font-weight: 500;
  color: #6C757D;
  margin-left: 4px;
}

.zoom-report-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 32px 0;
  justify-content: center;
  color: #ADB5BD;
  font-size: 12px;
}

.zoom-report-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 24px;
  background: rgba(231, 76, 60, 0.06);
  border: 1px solid rgba(231, 76, 60, 0.2);
  border-radius: 6px;
  color: #E74C3C;
  font-size: 12px;
}
.zoom-report-error svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.zoom-report-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  margin-bottom: 24px;
  overflow: hidden;
}
@media (max-width: 700px) {
  .zoom-report-summary {
    grid-template-columns: repeat(3, 1fr);
  }
}

.zoom-report-kpi {
  padding: 16px;
  border-right: 1px solid #F1F3F5;
  background: #F8F9FA;
}
.zoom-report-kpi:last-child {
  border-right: none;
}
.zoom-report-kpi--accent {
  background: rgba(45, 140, 255, 0.04);
}

.zoom-report-kpi-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ADB5BD;
  margin-bottom: 4px;
}

.zoom-report-kpi-value {
  font-size: 22px;
  font-weight: 700;
  color: #212529;
  line-height: 1.1;
}
.zoom-report-kpi-value--sm {
  font-size: 12px;
  font-weight: 500;
  word-break: break-all;
  line-height: 1.4;
}

.zoom-report-agency-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #F8F9FA;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  margin-bottom: 16px;
}

.zoom-report-agency-name {
  font-size: 13px;
  font-weight: 600;
  color: #343A40;
}

.zoom-report-agency-label {
  font-size: 11px;
  color: #6C757D;
  background: #E9ECEF;
  padding: 1px 6px;
  border-radius: 3px;
  font-family: monospace;
}

.zoom-report-participants-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.zoom-report-search {
  width: 220px;
  font-size: 12px;
  padding: 5px 10px;
}

.zoom-report-participants-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #495057;
}

.zoom-report-participants-count {
  font-weight: 400;
  color: #ADB5BD;
  margin-left: 4px;
}

.zoom-report-table th, .zoom-report-table td {
  padding: 6px 10px;
}
.zoom-report-table th {
  font-size: 11px;
}
.zoom-report-table td {
  font-size: 12px;
}

.zoom-att {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}
.zoom-att--good {
  background: rgba(39, 174, 96, 0.1);
  color: rgb(31.5295774648, 140.6704225352, 77.6112676056);
}
.zoom-att--mid {
  background: rgba(243, 156, 18, 0.15);
  color: rgb(151.3373493976, 95.7831325301, 7.6626506024);
}
.zoom-att--low {
  background: rgba(231, 76, 60, 0.1);
  color: #E74C3C;
}

.zoom-quality {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}
.zoom-quality--good {
  background: rgba(39, 174, 96, 0.1);
  color: rgb(31.5295774648, 140.6704225352, 77.6112676056);
}
.zoom-quality--fair {
  background: rgba(243, 156, 18, 0.15);
  color: rgb(151.3373493976, 95.7831325301, 7.6626506024);
}
.zoom-quality--poor {
  background: rgba(231, 76, 60, 0.1);
  color: #E74C3C;
}

.zoom-host-badge {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(45, 140, 255, 0.12);
  color: #1a6fd8;
  flex-shrink: 0;
}
.zoom-host-badge--warn {
  background: rgba(243, 156, 18, 0.15);
  color: rgb(141.6289156627, 89.6385542169, 7.1710843373);
  cursor: default;
}

.btn-spinner--dark {
  border-color: #DEE2E6;
  border-top-color: #495057;
}

.log-cf-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.log-filter-panel {
  display: grid;
  grid-template-columns: 1.8fr 1.4fr 1.4fr 1.8fr 1fr;
  gap: 8px 16px;
  align-items: start;
  padding: 24px;
  background: #F8F9FA;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
}
@media (max-width: 900px) {
  .log-filter-panel {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .log-filter-panel {
    grid-template-columns: 1fr;
  }
}

.log-filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.log-filter-group--wide { /* no-op */ }

.log-filter-label {
  font-size: 11px;
  font-weight: 600;
  color: #ADB5BD;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.log-filter-required {
  color: #E53E3E;
  margin-left: 2px;
}

.log-filter-hint {
  font-size: 11px;
  color: #CED4DA;
}

.log-input,
.log-select {
  height: 36px;
  padding: 0 8px;
  border: 1px solid #DEE2E6;
  border-radius: 4px;
  font-size: 13px;
  color: #212529;
  background: #fff;
  transition: border-color 0.15s;
}
.log-input:focus,
.log-select:focus {
  outline: none;
  border-color: #5A5AFF;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.12);
}
.log-input:disabled,
.log-select:disabled {
  background: #F1F3F5;
  color: #CED4DA;
}

.log-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
}

.log-filter-actions {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #E9ECEF;
  margin-top: 4px;
}

.log-spin {
  animation: spin 0.8s linear infinite;
}

.log-hint-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: 4px;
  font-size: 13px;
  color: #92400E;
}
.log-hint-bar svg {
  flex-shrink: 0;
}

.log-result-inline {
  font-size: 13px;
  color: #6C757D;
}
.log-result-inline strong {
  color: #212529;
  font-weight: 600;
}

.log-result-count strong {
  color: #212529;
}

.log-result-more {
  font-size: 12px;
  color: #5A5AFF;
  margin-left: 4px;
}

.log-result-tenant {
  display: flex;
  align-items: center;
  gap: 6px;
}

.log-table-wrap {
  display: flex;
  flex-direction: column;
}

.log-table-scroll {
  overflow-x: auto;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
}

.log-table {
  min-width: 900px;
}
.log-table th, .log-table td {
  padding: 8px 16px;
  font-size: 12px;
  white-space: nowrap;
}
.log-table .col-action {
  width: 170px;
}
.log-table .col-user {
  width: 65px;
}
.log-table .col-lesson {
  width: 130px;
  white-space: normal;
}
.log-table .col-moment {
  width: 130px;
}
.log-table .col-created {
  width: 130px;
}
.log-table .col-progress {
  width: 72px;
}
.log-table .col-device {
  width: 48px;
  text-align: center;
}
.log-table .col-browser {
  width: 75px;
}
.log-table .col-os {
  width: 75px;
}
.log-table .col-info {
  width: 44px;
  text-align: center;
}

.log-id {
  color: #CED4DA;
  font-size: 11px;
}

.log-id-code {
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  font-size: 11px;
  padding: 2px 5px;
  background: #F1F3F5;
  border-radius: 3px;
  color: #495057;
}

.log-mono {
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  font-size: 11px;
  color: #6C757D;
}

.log-lesson-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.log-lesson-type {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #F1F3F5;
  color: #6C757D;
}
.log-lesson-type--scorm {
  background: #EDE9FE;
  color: #5B21B6;
}
.log-lesson-type--video {
  background: #DCFCE7;
  color: #166534;
}
.log-lesson-type--quiz {
  background: #FEF9C3;
  color: #854D0E;
}
.log-lesson-type--media {
  background: #DBEAFE;
  color: #1E40AF;
}
.log-lesson-type--live {
  background: #FFE4E6;
  color: #9F1239;
}
.log-lesson-type--other {
  background: #F1F3F5;
  color: #ADB5BD;
}

.log-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #DEE2E6;
  border-radius: 4px;
  background: #fff;
  color: #ADB5BD;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.log-info-btn:hover {
  border-color: #5A5AFF;
  color: #5A5AFF;
  background: #EBEBFF;
}

.log-device-icon {
  font-size: 16px;
  cursor: default;
}

.log-pill {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  background: #F1F3F5;
  color: #495057;
}
.log-pill--browser {
  background: #EBF4FF;
  color: #1A56DB;
}
.log-pill--os {
  background: #F0FFF4;
  color: #276749;
}

.log-action-badge {
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.log-action--start-video {
  background: #DCFCE7;
  color: #166534;
}

.log-action--end-video {
  background: #F1F5F9;
  color: #475569;
}

.log-action--quiz {
  background: #FEF9C3;
  color: #854D0E;
}

.log-action--quiz-end {
  background: #D1FAE5;
  color: #065F46;
}

.log-action--presence {
  background: #EDE9FE;
  color: #5B21B6;
}

.log-action--download {
  background: #DBEAFE;
  color: #1E40AF;
}

.log-action--pause {
  background: #FEE2E2;
  color: #991B1B;
}

.log-action--media {
  background: #FEF3C7;
  color: #92400E;
}

.log-action--sponsor {
  background: #FCE7F3;
  color: #9D174D;
}

.log-action--console {
  background: #FEE2E2;
  color: #7F1D1D;
}

.log-placeholder,
.log-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 64px;
  color: #CED4DA;
  font-size: 14px;
  text-align: center;
}
.log-placeholder svg,
.log-empty svg {
  color: #DEE2E6;
}
.log-placeholder p,
.log-empty p {
  margin: 0;
}

.log-analysis-modal {
  max-width: min(96vw, 720px);
  max-height: 85vh;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
}

.log-analysis-body {
  overflow-y: auto;
  padding: 24px;
  flex: 1;
}

.modal-subtitle {
  font-size: 12px;
  color: #ADB5BD;
  margin: 4px 0 0;
}

.log-analysis-debug {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: #1E1E2E;
  border-radius: 4px;
  font-size: 11px;
  color: #A8FF68;
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  margin-bottom: 8px;
}
.log-analysis-debug--info {
  color: #89DCEB;
}
.log-analysis-debug strong {
  color: #F38BA8;
}

.log-analysis-error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 6px;
  font-size: 13px;
  color: #991B1B;
  margin: 16px 0;
}
.log-analysis-error svg {
  flex-shrink: 0;
  color: #DC2626;
}

.log-analysis-loading {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 0;
}

.log-analysis-skel-row {
  padding: 16px;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
}

.log-analysis-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.log-analysis-item {
  padding: 16px;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  background: #F8F9FA;
  transition: border-color 0.15s;
}
.log-analysis-item:hover {
  border-color: #EBEBFF;
  background: #fff;
}

.log-analysis-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.log-analysis-item-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.log-analysis-name {
  font-size: 13px;
  font-weight: 600;
  color: #343A40;
}

.log-analysis-type {
  font-size: 10px;
  padding: 2px 6px;
}

.log-analysis-item-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #ADB5BD;
  white-space: nowrap;
  flex-shrink: 0;
}

.log-analysis-time {
  font-weight: 600;
  color: #5A5AFF;
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
}

.log-analysis-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.log-analysis-progress-track {
  height: 8px;
  background: #E9ECEF;
  border-radius: 4px;
  overflow: hidden;
}

.log-analysis-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}
.log-analysis-progress-fill--success {
  background: #22C55E;
}
.log-analysis-progress-fill--warning {
  background: #F59E0B;
}
.log-analysis-progress-fill--danger {
  background: #EF4444;
}
.log-analysis-progress-fill--neutral {
  background: #DEE2E6;
}

.log-analysis-progress-label {
  font-size: 12px;
  color: #6C757D;
}
.log-analysis-progress-label strong {
  color: #212529;
}

.log-analysis-duration-hint {
  margin-left: 4px;
  color: #CED4DA;
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  font-size: 11px;
}

.log-analysis-no-duration {
  color: #CED4DA;
  font-size: 11px;
  font-style: italic;
}

.log-analysis-scorm-compare {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  background: #F5F3FF;
  border: 1px solid #DDD6FE;
  border-radius: 4px;
  flex-wrap: wrap;
}

.log-analysis-scorm-sep {
  font-size: 11px;
  font-weight: 600;
  color: #CED4DA;
  flex-shrink: 0;
}

.log-analysis-scorm-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 120px;
}
.log-analysis-scorm-col--highlight .log-analysis-scorm-value {
  color: #5B21B6;
}

.log-analysis-scorm-label {
  font-size: 10px;
  font-weight: 600;
  color: #ADB5BD;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.log-analysis-scorm-value {
  font-size: 16px;
  font-weight: 700;
  color: #343A40;
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
}

.log-info-modal {
  max-width: min(96vw, 640px);
  max-height: 85vh;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
}

.log-info-body {
  overflow-y: auto;
  padding: 24px;
  flex: 1;
}

.log-info-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.log-info-section--full {
  grid-column: 1/-1;
}

.log-info-section-title {
  font-size: 11px;
  font-weight: 700;
  color: #ADB5BD;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #E9ECEF;
}

.log-info-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.log-info-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.log-info-row--full {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.log-info-key {
  font-size: 11px;
  font-weight: 600;
  color: #ADB5BD;
  min-width: 140px;
  flex-shrink: 0;
}

.log-info-val {
  font-size: 12px;
  color: #343A40;
  word-break: break-word;
}
.log-info-val--code {
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  background: #F1F3F5;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 11px;
}
.log-info-val--ua {
  font-size: 11px;
  color: #6C757D;
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  line-height: 1.6;
  word-break: break-all;
}

.log-info-json {
  background: #212529;
  color: #A8FF68;
  padding: 16px;
  border-radius: 4px;
  font-size: 11px;
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  overflow-x: auto;
  white-space: pre;
  line-height: 1.6;
  max-height: 260px;
  overflow-y: auto;
}

.log-platform-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.log-platform-filter-panel {
  grid-template-columns: repeat(6, 1fr);
}
.log-platform-filter-panel .lpf-s6 {
  grid-column: span 6;
}
.log-platform-filter-panel .lpf-s3 {
  grid-column: span 3;
}
.log-platform-filter-panel .lpf-s2 {
  grid-column: span 2;
}
.log-platform-filter-panel .lpf-s1 {
  grid-column: span 1;
}
@media (max-width: 1000px) {
  .log-platform-filter-panel {
    grid-template-columns: 1fr 1fr;
  }
  .log-platform-filter-panel .lpf-s6, .log-platform-filter-panel .lpf-s3, .log-platform-filter-panel .lpf-s2, .log-platform-filter-panel .lpf-s1 {
    grid-column: span 1;
  }
}
@media (max-width: 600px) {
  .log-platform-filter-panel {
    grid-template-columns: 1fr;
  }
}

.log-plat-action-text {
  font-size: 13px;
  color: #212529;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
}

.log-plat-user {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.log-plat-user-name {
  font-size: 13px;
  font-weight: 500;
  color: #212529;
}

.log-plat-user-meta {
  display: flex;
  align-items: center;
  gap: 5px;
}

.log-plat-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 600;
  background: #EBEBFF;
  color: #3D3DE8;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge--primary {
  background: rgba(90, 90, 255, 0.12);
  color: #3D3DE8;
}

.badge--info {
  background: rgba(41, 128, 185, 0.12);
  color: rgb(33.5982300885, 104.8920353982, 151.6017699115);
}

.badge--success {
  background: rgba(39, 174, 96, 0.12);
  color: rgb(31.5295774648, 140.6704225352, 77.6112676056);
}

.badge--warning {
  background: rgba(243, 156, 18, 0.14);
  color: #B7770D;
}

.badge--danger {
  background: rgba(231, 76, 60, 0.12);
  color: rgb(222.7808219178, 45.698630137, 27.4191780822);
}

.badge--secondary {
  background: #F1F3F5;
  color: #6C757D;
}

.log-json-viewer {
  background: #F8F9FA;
  border: 1px solid #E9ECEF;
  border-radius: 4px;
  padding: 16px;
  overflow-y: auto;
  max-height: 340px;
  width: 100%;
}

.jv-node {
  display: block;
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  font-size: 12.5px;
  line-height: 1.75;
}

.jv-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #CED4DA;
  padding: 0;
  margin-right: 3px;
  vertical-align: middle;
  flex-shrink: 0;
  border-radius: 2px;
}
.jv-toggle:hover {
  color: #495057;
  background: #E9ECEF;
}
.jv-toggle svg {
  display: block;
}

.jv-key {
  color: rgb(64.5, 64.5, 255);
  font-weight: 600;
}

.jv-colon {
  color: #ADB5BD;
  font-weight: 400;
  margin-right: 4px;
}

.jv-bracket {
  color: #CED4DA;
  font-weight: 500;
}

.jv-collapsed {
  color: #ADB5BD;
  cursor: pointer;
  font-style: italic;
  font-size: 11.5px;
  padding: 1px 6px;
  border-radius: 3px;
  background: #F1F3F5;
}
.jv-collapsed:hover {
  background: #E9ECEF;
  color: #495057;
}

.jv-children {
  padding-left: 18px;
  border-left: 2px solid #E9ECEF;
  margin-left: 5px;
  margin-top: 1px;
  margin-bottom: 1px;
}

.jv-entry {
  display: block;
}

.jv-val--string {
  color: #22863A;
}
.jv-val--number {
  color: #005CC5;
}
.jv-val--boolean {
  color: #D73A49;
  font-weight: 600;
}
.jv-val--null {
  color: #CED4DA;
  font-style: italic;
}

.cs-tab {
  padding: 0;
}

.cs-top-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 16px;
}
@media (max-width: 900px) {
  .cs-top-row {
    grid-template-columns: 1fr;
  }
}

.cs-health-card {
  min-height: 180px;
}

.cs-health-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-top: 4px;
}

.cs-score-gauge {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 3px solid #E9ECEF;
  background: #F8F9FA;
}
.cs-score-gauge.cs-score--healthy {
  border-color: #22c55e;
  background: #f0fdf4;
}
.cs-score-gauge.cs-score--monitor {
  border-color: #f59e0b;
  background: #fffbeb;
}
.cs-score-gauge.cs-score--risk {
  border-color: #f97316;
  background: #fff7ed;
}
.cs-score-gauge.cs-score--critical {
  border-color: #ef4444;
  background: #fef2f2;
}

.cs-score-value {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #343A40;
}

.cs-score-max {
  font-size: 10px;
  color: #ADB5BD;
}

.cs-health-details {
  flex: 1;
  min-width: 0;
}

.cs-score-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.cs-score-label.cs-score--healthy {
  color: #16a34a;
}
.cs-score-label.cs-score--monitor {
  color: #d97706;
}
.cs-score-label.cs-score--risk {
  color: #ea580c;
}
.cs-score-label.cs-score--critical {
  color: #dc2626;
}

.cs-score-date {
  font-size: 11px;
  margin-top: 6px;
}

.cs-sub-scores {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-sub-score {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.cs-sub-label {
  width: 70px;
  flex-shrink: 0;
  color: #6C757D;
}

.cs-sub-bar-wrap {
  flex: 1;
  height: 6px;
  background: #F1F3F5;
  border-radius: 3px;
  overflow: hidden;
}

.cs-sub-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
  background: #DEE2E6;
}
.cs-sub-bar.cs-sub-bar--healthy {
  background: #22c55e;
}
.cs-sub-bar.cs-sub-bar--monitor {
  background: #f59e0b;
}
.cs-sub-bar.cs-sub-bar--risk {
  background: #f97316;
}
.cs-sub-bar.cs-sub-bar--critical {
  background: #ef4444;
}

.cs-sub-val {
  width: 24px;
  text-align: right;
  color: #495057;
  font-weight: 500;
}

.cs-profile-card {
  min-height: 180px;
}

.cs-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
  padding-top: 4px;
}
@media (max-width: 640px) {
  .cs-profile-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cs-profile-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cs-profile-field.cs-profile-field--full {
  grid-column: 1/-1;
}

.cs-profile-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ADB5BD;
}

.cs-profile-notes {
  font-size: 13px;
  color: #495057;
  white-space: pre-wrap;
  margin: 0;
  line-height: 1.5;
}

.cs-risk-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.cs-risk-badge.cs-risk--low {
  background: #f0fdf4;
  color: #166534;
}
.cs-risk-badge.cs-risk--medium {
  background: #fffbeb;
  color: #92400e;
}
.cs-risk-badge.cs-risk--high {
  background: #fff7ed;
  color: #9a3412;
}
.cs-risk-badge.cs-risk--critical {
  background: #fef2f2;
  color: #991b1b;
}

.cs-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}
.cs-toggle input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: #5A5AFF;
  cursor: pointer;
}

.cs-auto-badge {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #F1F3F5;
  color: #ADB5BD;
  margin-left: 4px;
  vertical-align: middle;
}

.cs-urgency {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}
.cs-urgency.cs-urgency--at_risk {
  background: #fff7ed;
  color: #c2410c;
}
.cs-urgency.cs-urgency--urgent {
  background: #fef2f2;
  color: #b91c1c;
}

.cs-sheet-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cs-actions-section {
  border-top: 1px solid #F1F3F5;
  padding-top: 16px;
}

.cs-actions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
}

.cs-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.cs-action-remove {
  flex-shrink: 0;
  color: #CED4DA;
}
.cs-action-remove:hover {
  color: #E74C3C;
}

.form-control,
.form-select {
  height: 38px;
  padding: 0 16px;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  font-size: 14px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #212529;
  background: #FFFFFF;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  display: block;
}
.form-control:focus,
.form-select:focus {
  border-color: #5A5AFF;
  box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.12);
}

textarea.form-control {
  height: auto;
  padding: 8px 16px;
  resize: vertical;
}

.form-control--sm,
.form-select--sm {
  height: 32px;
  font-size: 12px;
  padding: 0 8px;
}

.cs-form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 640px) {
  .cs-form-row {
    grid-template-columns: 1fr;
  }
}

.cs-sheet-readonly {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cs-sheet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 8px 16px;
  background: #f9fafb;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  font-size: 12px;
  color: #495057;
}
.cs-sheet-meta strong {
  color: #212529;
  font-weight: 600;
}

.cs-sheet-section + .cs-sheet-section {
  margin-top: 0;
}

.cs-sheet-section-title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #ADB5BD;
}

.cs-sheet-text {
  margin: 0;
  white-space: pre-line;
  line-height: 1.5;
  color: #343A40;
}

.cs-actions-readonly {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cs-actions-readonly li {
  padding: 6px 0;
  border-bottom: 1px solid #E9ECEF;
  font-size: 12px;
}
.cs-actions-readonly li:last-child {
  border-bottom: none;
}

.cs-audit-log {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
}
.cs-audit-log li {
  padding: 4px 0;
}

.cs-agency-picker {
  position: relative;
}

.cs-agency-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.cs-agency-result {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #E9ECEF;
  cursor: pointer;
}
.cs-agency-result:last-child {
  border-bottom: none;
}
.cs-agency-result:hover {
  background: #EBEBFF;
}
.cs-agency-result strong {
  display: block;
  font-size: 12px;
  color: #212529;
  margin-bottom: 2px;
}

.tp-type-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #495057;
}

.tp-type-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tp-type-dot--onboarding {
  background: #6366f1;
}
.tp-type-dot--adoption {
  background: #0ea5e9;
}
.tp-type-dot--pre {
  background: #f59e0b;
}
.tp-type-dot--post {
  background: #10b981;
}
.tp-type-dot--trigger {
  background: #ef4444;
}
.tp-type-dot--manual {
  background: #6b7280;
}

.cs-dashboard-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .cs-dashboard-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .cs-dashboard-row {
    grid-template-columns: 1fr;
  }
}

.cs-kpi-card {
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cs-kpi-card__label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ADB5BD;
}
.cs-kpi-card__value {
  font-size: 28px;
  font-weight: 700;
  color: #343A40;
  line-height: 1;
}
.cs-kpi-card__sub {
  font-size: 12px;
  color: #ADB5BD;
}

.cs-churn-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

.cs-churn-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.cs-churn-bar-label {
  width: 60px;
  color: #6C757D;
}

.cs-churn-bar-wrap {
  flex: 1;
  height: 8px;
  background: #F1F3F5;
  border-radius: 4px;
  overflow: hidden;
}

.cs-churn-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}

.cs-churn-bar--low {
  background: #22c55e;
}

.cs-churn-bar--medium {
  background: #f59e0b;
}

.cs-churn-bar--high {
  background: #f97316;
}

.cs-churn-bar--critical {
  background: #ef4444;
}

.cs-churn-bar-count {
  width: 24px;
  text-align: right;
  color: #495057;
  font-weight: 600;
}

.cs-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid #E9ECEF;
  border-radius: 6px;
  overflow: hidden;
  background: #FFFFFF;
}

.cs-cal-header {
  background: #F8F9FA;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ADB5BD;
  padding: 8px 0;
  text-align: center;
  border-bottom: 1px solid #E9ECEF;
}

.cs-cal-cell {
  min-height: 100px;
  border-right: 1px solid #F1F3F5;
  border-bottom: 1px solid #F1F3F5;
  padding: 6px;
  vertical-align: top;
}
.cs-cal-cell:nth-child(7n) {
  border-right: none;
}
.cs-cal-cell--empty {
  background: #F8F9FA;
}
.cs-cal-cell--today {
  background: #EBEBFF;
}
.cs-cal-cell--has-events {
  background: #FFFFFF;
}

.cs-cal-day-num {
  font-size: 12px;
  font-weight: 500;
  color: #6C757D;
  margin-bottom: 4px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
}
.cs-cal-day-num--today {
  background: #5A5AFF;
  color: #FFFFFF;
  font-weight: 700;
}

.cs-cal-events {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cs-cal-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 12px;
}

.cs-cal-legend-title {
  font-weight: 600;
  color: #ADB5BD;
}

.cs-cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6C757D;
}
.cs-cal-legend-item::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.cs-cal-legend-item--onboarding::before {
  background: #6366f1;
}
.cs-cal-legend-item--adoption::before {
  background: #0ea5e9;
}
.cs-cal-legend-item--pre::before {
  background: #f59e0b;
}
.cs-cal-legend-item--post::before {
  background: #10b981;
}
.cs-cal-legend-item--trigger::before {
  background: #ef4444;
}
.cs-cal-legend-item--manual::before {
  background: #6b7280;
}

.cs-cal-event {
  display: block;
  padding: 4px 6px;
  border-radius: 4px;
  border-left: 3px solid #DEE2E6;
  background: #F8F9FA;
  cursor: pointer;
  margin-bottom: 2px;
  min-width: 0;
}
.cs-cal-event:hover {
  filter: brightness(0.95);
}
.cs-cal-event--type-onboarding {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.08);
}
.cs-cal-event--type-adoption {
  border-color: #0ea5e9;
  background: rgba(14, 165, 233, 0.08);
}
.cs-cal-event--type-pre {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}
.cs-cal-event--type-post {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.08);
}
.cs-cal-event--type-trigger {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}
.cs-cal-event--type-manual {
  border-color: #6b7280;
  background: rgba(107, 114, 128, 0.08);
}
.cs-cal-event--urgent {
  outline: 1px solid #ef4444;
}

.cs-cal-event-type {
  font-size: 10px;
  font-weight: 600;
  color: #ADB5BD;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.cs-cal-event-name {
  font-size: 11px;
  font-weight: 600;
  color: #343A40;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.cs-cal-event-reason {
  font-size: 10px;
  color: #ADB5BD;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  font-style: italic;
}

.cs-cal-event-more {
  font-size: 11px;
  color: #5A5AFF;
  cursor: pointer;
  padding: 2px 4px;
  font-weight: 500;
}
.cs-cal-event-more:hover {
  text-decoration: underline;
}

.cs-score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 24px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}
.cs-score-pill--monitor {
  background: #fffbeb;
  color: #92400e;
}
.cs-score-pill--risk {
  background: #fff7ed;
  color: #9a3412;
}
.cs-score-pill--critical {
  background: #fef2f2;
  color: #991b1b;
}

.cs-tp-filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 16px;
  align-items: end;
}
@media (max-width: 1200px) {
  .cs-tp-filter-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .cs-tp-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .cs-tp-filter-panel {
    grid-template-columns: 1fr;
  }
}

.cs-tp-filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.cs-tp-filter-group--wide {
  grid-column: span 2;
}

.cs-tp-filter-label {
  font-size: 12px;
  font-weight: 600;
  color: #495057;
}

.cs-tp-filter-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  grid-column: -2/-1;
}
@media (max-width: 560px) {
  .cs-tp-filter-actions {
    grid-column: 1/-1;
  }
}

.btn--primary.btn--outline {
  background: transparent;
  color: #5A5AFF;
  border: 1px solid #5A5AFF;
}
.btn--primary.btn--outline:hover:not(:disabled) {
  background: #EBEBFF;
  color: #3D3DE8;
}

.strategy-tab {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.strategy-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.strategy-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-left: 4px solid #CED4DA;
  border-radius: 10px;
  padding: 16px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.strategy-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.strategy-card.strat-sev--info {
  border-left-color: #2980B9;
}
.strategy-card.strat-sev--warning {
  border-left-color: #F39C12;
  background: rgb(254.0602409639, 247.2469879518, 236.4397590361);
}
.strategy-card.strat-sev--critical {
  border-left-color: #E74C3C;
  background: rgb(252.2383561644, 234.402739726, 232.5616438356);
}

.strategy-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.strategy-card-cat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #495057;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.strategy-cat-icon {
  font-size: 16px;
  line-height: 1;
}

.strategy-cat-label {
  color: #495057;
}

.strategy-date {
  font-size: 12px;
  color: #ADB5BD;
  white-space: nowrap;
}

.strategy-title {
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  margin: 0 0 4px;
  line-height: 1.4;
}

.strategy-message {
  font-size: 14px;
  color: #495057;
  line-height: 1.55;
  margin: 0 0 16px;
}

.strategy-data {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 4px 16px;
  padding: 8px 16px;
  margin-bottom: 16px;
  background: rgba(241, 243, 245, 0.6);
  border-radius: 6px;
  font-size: 12px;
}

.strategy-data-kv {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.strategy-data-k {
  font-size: 11px;
  color: #ADB5BD;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.strategy-data-v {
  font-size: 13px;
  color: #343A40;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strategy-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.strategy-history {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #E9ECEF;
}

.strategy-history-title {
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.strategy-skel-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.strategy-skel-card {
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-left: 4px solid #DEE2E6;
  border-radius: 10px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-footer-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.sidebar-notif-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background-color color 0.2s ease;
}
.sidebar-notif-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}
.sidebar-notif-btn--active {
  background: rgba(90, 90, 255, 0.22);
  color: #FFFFFF;
}
.sidebar-notif-btn--active:hover {
  background: rgba(90, 90, 255, 0.32);
}

.sidebar-notif-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #E74C3C;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  border: 2px solid #16123a;
  box-sizing: content-box;
  letter-spacing: 0;
}

.notif-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: transparent;
}

.notif-panel {
  position: fixed;
  top: 0;
  left: 240px;
  bottom: 0;
  width: 380px;
  max-width: calc(100vw - 240px);
  background: #FFFFFF;
  border-right: 1px solid #E9ECEF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 101;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.notif-panel-slide-enter-active,
.notif-panel-slide-leave-active {
  transition: transform 0.22s ease-out, opacity 0.22s ease-out;
}

.notif-panel-slide-enter-from,
.notif-panel-slide-leave-to {
  transform: translateX(-20px);
  opacity: 0;
}

.notif-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #E9ECEF;
  background: #F8F9FA;
  flex-shrink: 0;
}

.notif-panel-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #212529;
}
.notif-panel-title svg {
  color: #5A5AFF;
}

.notif-panel-badge {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 10px;
  background: #5A5AFF;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.notif-panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: #ADB5BD;
  cursor: pointer;
  transition: background-color color 0.2s ease;
}
.notif-panel-close:hover {
  background: #E9ECEF;
  color: #212529;
}

.notif-panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 24px;
  border-bottom: 1px solid #E9ECEF;
  background: #FFFFFF;
  flex-shrink: 0;
}

.notif-panel-tabs {
  display: flex;
  gap: 4px;
}

.notif-panel-tab {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: #6C757D;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color color 0.2s ease;
}
.notif-panel-tab:hover {
  background: #F1F3F5;
  color: #212529;
}
.notif-panel-tab--active {
  background: #EBEBFF;
  color: #3D3DE8;
}
.notif-panel-tab--active:hover {
  background: #EBEBFF;
}

.notif-panel-tab-badge {
  min-width: 16px;
  padding: 0 5px;
  border-radius: 8px;
  background: #5A5AFF;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
}

.notif-panel-mark-all {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #E9ECEF;
  background: #FFFFFF;
  color: #495057;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color border-color color 0.2s ease;
}
.notif-panel-mark-all:hover:not(:disabled) {
  background: #F8F9FA;
  border-color: #CED4DA;
  color: #212529;
}
.notif-panel-mark-all:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.notif-panel-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: #F8F9FA;
}

.notif-panel-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.notif-panel-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 48px 16px;
  color: #ADB5BD;
  text-align: center;
}
.notif-panel-empty svg {
  opacity: 0.4;
}
.notif-panel-empty p {
  margin: 0;
  font-size: 12px;
}

.notif-card {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-left: 3px solid #CED4DA;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: border-color box-shadow 0.2s ease;
}
.notif-card:hover {
  border-color: #CED4DA;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.notif-card--info {
  border-left-color: #2980B9;
}
.notif-card--warning {
  border-left-color: #F39C12;
}
.notif-card--critical {
  border-left-color: #E74C3C;
}
.notif-card--unread {
  background: #FAFAFF;
}
.notif-card--skel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 1px solid #E9ECEF;
}

.notif-card-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: #F1F3F5;
  border: 1px solid #E9ECEF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.notif-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.notif-card-avatar-fallback {
  font-size: 13px;
  font-weight: 700;
  color: #495057;
  letter-spacing: 0.03em;
}

.notif-card-avatar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.notif-card-avatar-icon[data-severity=info] {
  color: #2980B9;
}
.notif-card-avatar-icon[data-severity=warning] {
  color: #F39C12;
}
.notif-card-avatar-icon[data-severity=critical] {
  color: #E74C3C;
}

.notif-card-agency {
  margin: 2px 0 6px;
}

.notif-card-agency-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px 2px 6px;
  border-radius: 10px;
  background: #F1F3F5;
  color: #343A40;
  text-decoration: none;
  font-size: 11px;
  line-height: 1.4;
  transition: background-color color 0.2s ease;
}
.notif-card-agency-link:hover {
  background: #EBEBFF;
  color: #3D3DE8;
}

.notif-card-agency-name {
  font-weight: 600;
}

.notif-card-agency-label {
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 10px;
  color: #6C757D;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.notif-card-agency-label::before {
  content: "(";
}
.notif-card-agency-label::after {
  content: ")";
}
.notif-card-agency-link:hover .notif-card-agency-label {
  color: #3D3DE8;
}

.notif-card-body {
  flex: 1;
  min-width: 0;
}

.notif-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}

.notif-card-title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #212529;
  min-width: 0;
  word-wrap: break-word;
}
.notif-card-title a {
  color: inherit;
  text-decoration: none;
}
.notif-card-title a:hover {
  color: #5A5AFF;
  text-decoration: underline;
}
.notif-card--unread .notif-card-title {
  font-weight: 700;
}

.notif-card-time {
  flex-shrink: 0;
  font-size: 11px;
  color: #ADB5BD;
  white-space: nowrap;
}

.notif-card-message {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #495057;
  word-wrap: break-word;
}

.notif-card-actions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.notif-card-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #E9ECEF;
  background: #FFFFFF;
  color: #6C757D;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color border-color color 0.2s ease;
}
.notif-card-btn:hover {
  background: #F8F9FA;
  border-color: #CED4DA;
  color: #212529;
}
.notif-card-btn--danger:hover {
  background: rgba(231, 76, 60, 0.08);
  border-color: rgba(231, 76, 60, 0.4);
  color: #E74C3C;
}

@media (max-width: 768px) {
  .notif-panel {
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 299;
  }
  .notif-panel-backdrop {
    background: rgba(0, 0, 0, 0.3);
  }
}
@media (max-width: 575px) {
  .hide-sm {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .hide-md {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 310;
  }
  .sidebar--open {
    transform: translateX(0);
  }
  .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 309;
  }
  .main-wrapper {
    margin-left: 0;
  }
  .topbar {
    padding: 0 16px;
    gap: 8px;
  }
  .topbar-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #6C757D;
    cursor: pointer;
    border-radius: 6px;
  }
  .topbar-hamburger:hover {
    background: #F1F3F5;
  }
  .topbar-search {
    display: none;
  }
  .topbar-user-name {
    display: none;
  }
  .topbar-user-badge {
    display: none;
  }
  .page-content {
    padding: 16px;
  }
  .topbar-title {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100vw - 80px);
  }
}
@media (min-width: 768px) {
  .topbar-hamburger {
    display: none;
  }
}
@media (max-width: 767px) {
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .data-table {
    min-width: 480px;
  }
}
@media (max-width: 767px) {
  .page-agencies {
    padding: 16px;
  }
  .page-header {
    margin-bottom: 16px;
    align-items: center;
  }
  .page-subtitle {
    display: none;
  }
  .page-title {
    font-size: 18px;
    margin-bottom: 0;
  }
}
@media (max-width: 767px) {
  .agencies-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .filter-input {
    grid-column: 1/-1;
    min-width: 0;
  }
  .filter-select {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 575px) {
  .td-storage,
  .th-storage,
  .td-limit-bar,
  .th-limit-bar {
    display: none;
  }
  .td-links,
  .th-links {
    display: none;
  }
  .td-logo {
    padding: 8px 6px !important;
  }
  .agency-logo-img,
  .agency-logo-initials {
    width: 36px !important;
    height: 36px !important;
    font-size: 11px !important;
  }
  .data-table td,
  .data-table th {
    padding: 8px 10px;
  }
}
@media (max-width: 767px) {
  .settings-layout {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }
  .settings-sidebar {
    width: 100%;
  }
  .settings-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .settings-nav-item {
    padding: 6px 8px;
    font-size: 12px;
    border-radius: 20px;
    background: #F1F3F5;
    color: #495057;
  }
  .settings-nav-item--active, .settings-nav-item.router-link-active {
    background: #EBEBFF;
    color: #5A5AFF;
    font-weight: 500;
  }
  .settings-sidebar-title {
    display: none;
  }
}
@media (max-width: 767px) {
  .log-platform-filter-panel {
    grid-template-columns: 1fr 1fr !important;
  }
  .log-platform-filter-panel > * {
    grid-column: auto !important;
  }
  .lpf-s6,
  .log-filter-actions {
    grid-column: 1/-1 !important;
  }
}
@media (max-width: 575px) {
  .log-platform-filter-panel {
    grid-template-columns: 1fr !important;
  }
  .log-platform-filter-panel > * {
    grid-column: 1/-1 !important;
  }
}
@media (max-width: 575px) {
  .cc-chart-card,
  .li-chart-wrap,
  .li-forecast-charts,
  .li-heatmap-wrap,
  .cc-chart-wrap {
    display: none !important;
  }
  .cc-kpi-grid,
  .li-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .cc-kpi-grid,
  .li-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cc-filters,
  .li-filters {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 575px) {
  .modal {
    max-width: 100vw !important;
    width: 100vw !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    margin: 0;
  }
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
}
@media (max-width: 767px) {
  .live-filters,
  .ll-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .live-filters .btn,
  .ll-filters .btn {
    grid-column: 1/-1;
  }
}
@media (max-width: 575px) {
  .live-filters,
  .ll-filters {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .agency-detail-header {
    flex-direction: column;
    gap: 16px;
  }
  .agency-detail-meta {
    grid-template-columns: 1fr 1fr;
  }
  .agency-tab-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 767px) {
  .cron-job-card {
    flex-wrap: wrap;
  }
  .cron-job-card__meta {
    flex: 1 0 100%;
    order: 3;
  }
  .cron-job-card__actions {
    flex: 0 0 auto;
  }
}
@media (max-width: 575px) {
  .table-pagination {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .pagination-info {
    font-size: 11px;
  }
}
.loading-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  flex-direction: column;
  gap: 16px;
  background: #F8F9FA;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #E9ECEF;
  border-top-color: #5A5AFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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