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

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #525c66;
  background: #f5f7f9;
  min-height: 100vh;
}

a {
  color: #3d82c4;
  text-decoration: none;
}
a:hover {
  color: #1d65a5;
}

h1, h2, h3, h4 {
  line-height: 1.3;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.app-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
  background-color: #3f95e0;
  background-image: url("../img/app-bg.jpg"), linear-gradient(180deg, #3f95e0 0%, #6fb6ee 52%, #79c08b 74%, #4f9b57 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
}

.app-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(29, 101, 165, 0.32) 0%, rgba(0, 174, 239, 0.18) 100%);
}

[v-cloak] {
  display: none;
}

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

.app-col {
  flex: 1;
  min-width: 0;
  margin-left: 64px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
@media (min-width: 992px) {
  .app-col {
    margin-left: 230px;
  }
}

.app-main {
  flex: 1;
  width: 100%;
  padding: 16px 14px 24px;
  transition: opacity 0.12s;
}
.app-main.is-loading {
  opacity: 0.45;
}
@media (min-width: 768px) {
  .app-main {
    padding: 24px 28px 32px;
  }
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  width: 64px;
  padding: 0 8px;
  color: #fff;
  background: rgba(20, 74, 132, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sidebar .sidebar__logo {
  justify-content: center;
}
.sidebar .sidebar__logo span,
.sidebar .sidebar__link span,
.sidebar .sidebar__group-toggle span,
.sidebar .sidebar__settings span,
.sidebar .sidebar__user-name {
  display: none;
}
.sidebar .sidebar__link,
.sidebar .sidebar__group-toggle {
  justify-content: center;
  gap: 0;
}
.sidebar .sidebar__group-toggle > i:first-child {
  margin-right: 0;
}
.sidebar .sidebar__group-arrow {
  display: none;
}
.sidebar .sidebar__group-body,
.sidebar .sidebar__group.is-open .sidebar__group-body {
  display: none;
}
.sidebar .sidebar__settings {
  font-size: 0;
  gap: 0;
}
.sidebar .sidebar__footer {
  align-items: center;
}
.sidebar .sidebar__user {
  justify-content: center;
}
@media (min-width: 992px) {
  .sidebar {
    width: 230px;
    padding: 0 12px;
  }
  .sidebar .sidebar__logo {
    justify-content: flex-start;
  }
  .sidebar .sidebar__logo span,
  .sidebar .sidebar__link span,
  .sidebar .sidebar__group-toggle span,
  .sidebar .sidebar__settings span,
  .sidebar .sidebar__user-name {
    display: inline;
  }
  .sidebar .sidebar__link,
  .sidebar .sidebar__group-toggle {
    justify-content: flex-start;
    gap: 12px;
  }
  .sidebar .sidebar__group-arrow {
    display: block;
  }
  .sidebar .sidebar__group.is-open .sidebar__group-body {
    display: flex;
  }
  .sidebar .sidebar__settings {
    font-size: 13px;
    gap: 8px;
  }
  .sidebar .sidebar__footer {
    align-items: stretch;
  }
  .sidebar .sidebar__user {
    justify-content: flex-start;
  }
}
.sidebar__header {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 6px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.sidebar__toggle {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 17px;
  padding: 10px;
  border-radius: 7px;
  line-height: 1;
}
.sidebar__toggle:hover {
  background: rgba(255, 255, 255, 0.22);
}
.sidebar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
.sidebar__logo i {
  font-size: 18px;
  color: #00aeef;
}
.sidebar__logo:hover {
  color: #fff;
}
.sidebar__nav {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar__nav::-webkit-scrollbar {
  width: 6px;
}
.sidebar__nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
}
.sidebar__link {
  display: flex;
  align-items: center;
  padding: 0 12px;
  height: 34px;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.15s;
}
.sidebar__link i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  opacity: 0.95;
  flex-shrink: 0;
}
.sidebar__link:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.sidebar__link.is-active {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 600;
}
.sidebar__link.is-disabled {
  opacity: 0.72;
  cursor: default;
}
.sidebar__link.is-disabled:hover {
  background: transparent;
}
.sidebar__link .sidebar__badge {
  margin-left: auto;
}
.sidebar__group.is-open .sidebar__group-arrow {
  transform: rotate(180deg);
}
.sidebar__group-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 12px;
  height: 34px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  text-align: left;
  border-radius: 9px;
}
.sidebar__group-toggle > i:first-child {
  width: 18px;
  text-align: center;
  font-size: 14px;
  flex-shrink: 0;
}
.sidebar__group-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
}
.sidebar__group-arrow {
  margin-left: auto;
  font-size: 11px;
  transition: transform 0.2s;
}
.sidebar__group-body {
  display: none;
  flex-direction: column;
  gap: 2px;
  margin: 2px 0 2px 18px;
}
.sidebar__footer {
  padding: 12px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.sidebar__user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  padding: 4px 8px;
  border-radius: 9px;
}
.sidebar__user:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.sidebar__user-name {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar__settings {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  border: none;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.sidebar__settings:hover {
  background: rgba(255, 255, 255, 0.22);
}

body.sidebar-collapsed .sidebar {
  width: 64px;
  padding: 0 8px;
}
body.sidebar-collapsed .sidebar .sidebar__logo {
  display: none;
}
body.sidebar-collapsed .sidebar .sidebar__link span,
body.sidebar-collapsed .sidebar .sidebar__group-toggle span,
body.sidebar-collapsed .sidebar .sidebar__settings span,
body.sidebar-collapsed .sidebar .sidebar__user-name {
  display: none;
}
body.sidebar-collapsed .sidebar .sidebar__link,
body.sidebar-collapsed .sidebar .sidebar__group-toggle {
  justify-content: center;
  gap: 0;
}
body.sidebar-collapsed .sidebar .sidebar__group-toggle > i:first-child {
  margin-right: 0;
}
body.sidebar-collapsed .sidebar .sidebar__group-arrow {
  display: none;
}
body.sidebar-collapsed .sidebar .sidebar__group-body,
body.sidebar-collapsed .sidebar .sidebar__group.is-open .sidebar__group-body {
  display: none;
}
body.sidebar-collapsed .sidebar .sidebar__settings {
  font-size: 0;
  gap: 0;
}
body.sidebar-collapsed .sidebar .sidebar__footer {
  align-items: center;
}
body.sidebar-collapsed .sidebar .sidebar__user {
  justify-content: center;
}
body.sidebar-collapsed .app-col {
  margin-left: 64px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 110;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
@media (min-width: 768px) {
  .topbar {
    padding: 0 20px;
  }
}
.topbar__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
}
.topbar__nav::-webkit-scrollbar {
  height: 4px;
}
.topbar__nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}
.topbar__nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  height: 30px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
}
.topbar__nav a i {
  font-size: 13px;
}
.topbar__nav a:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.topbar__nav a.is-active {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 600;
}
.topbar__nav .topbar__tab {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.topbar__nav .topbar__tab:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.topbar__nav .topbar__tab.is-active {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 600;
}
.topbar__more {
  position: relative;
}
.topbar__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
}
.topbar__more-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .topbar__actions {
    gap: 12px;
  }
}
.topbar__search {
  display: none;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}
@media (min-width: 576px) {
  .topbar__search {
    display: inline-flex;
  }
}
.topbar__search:hover {
  background: rgba(255, 255, 255, 0.22);
}
.topbar__user-name {
  display: none;
  font-size: 13px;
  font-weight: 500;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 768px) {
  .topbar__user-name {
    display: inline;
  }
}
.topbar__account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 5px 3px 8px;
  border: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  height: 34px;
}
.topbar__account-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}
.topbar__account-btn .topbar__time {
  font-size: 12px;
  font-weight: 600;
  min-width: 42px;
  text-align: center;
}
.topbar__invite {
  position: relative;
}
.topbar__invite-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.topbar__invite-btn span {
  display: none;
}
@media (min-width: 576px) {
  .topbar__invite-btn span {
    display: inline;
  }
}
.topbar__invite-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.account-pop__user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
}
.account-pop__user .avatar {
  width: 44px;
  height: 44px;
  font-size: 16px;
}
.account-pop__name {
  font-weight: 600;
  font-size: 14px;
}
.account-pop__pos {
  font-size: 12px;
  color: #8a949e;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar--sm {
  width: 26px;
  height: 26px;
  font-size: 11px;
}
.avatar--lg {
  width: 44px;
  height: 44px;
  font-size: 18px;
}
.avatar--green {
  background: #19b86b;
}
.avatar--purple {
  background: #9b4ddb;
}
.avatar--cyan {
  background: #29b5e8;
}
.avatar--primary {
  background: #3d82c4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn--primary {
  background: #3d82c4;
  color: #fff;
}
.btn--primary:hover {
  background: #1d65a5;
  color: #fff;
}
.btn--green {
  background: #19b86b;
  color: #fff;
}
.btn--green:hover {
  background: #159d5b;
  color: #fff;
}
.btn--secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: #e6eaef;
  color: #525c66;
}
.btn--secondary:hover {
  background: #fff;
  border-color: #3d82c4;
}
.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.22);
}
.btn--danger {
  background: #f04444;
  color: #fff;
}
.btn--danger:hover {
  background: #ed1e1e;
  color: #fff;
}
.btn--sm {
  padding: 5px 10px;
  font-size: 13px;
  border-radius: 5px;
}
.btn--pill {
  border-radius: 20px;
}

.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  background: rgba(138, 148, 158, 0.16);
  color: #525c66;
}
.badge--primary, .badge--in_progress {
  background: rgba(61, 130, 196, 0.14);
  color: #3d82c4;
}
.badge--success, .badge--completed, .badge--prio-low {
  background: rgba(25, 184, 107, 0.14);
  color: #17a661;
}
.badge--green-outline {
  background: #fff;
  border: 1px solid #50e79e;
  color: #17a661;
}
.badge--danger, .badge--rejected {
  background: rgba(240, 68, 68, 0.14);
  color: #f04444;
}
.badge--warning {
  background: rgba(245, 184, 46, 0.2);
  color: #b48009;
}
.badge--info, .badge--new, .badge--prio-medium {
  background: rgba(41, 181, 232, 0.14);
  color: #19aee4;
}
.badge--purple {
  background: rgba(155, 77, 219, 0.14);
  color: #9b4ddb;
}
.badge--muted {
  background: rgba(138, 148, 158, 0.16);
  color: #8a949e;
}
.badge--review {
  background: rgba(245, 184, 46, 0.2);
  color: #ab7908;
}
.badge--prio-high {
  background: rgba(245, 184, 46, 0.2);
  color: #9c6e07;
}
.badge--prio-urgent {
  background: rgba(240, 68, 68, 0.16);
  color: #f04444;
}
.badge--counter {
  background: #f04444;
  color: #ffffff;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  line-height: 18px;
  text-align: center;
  font-size: 11px;
}

.form-control {
  padding: 8px 12px;
  border: 1px solid #e6eaef;
  border-radius: 9px;
  font-size: 14px;
  background: #fff;
  color: #525c66;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control::placeholder {
  color: #8a949e;
  font-size: 13px;
}
.form-control:focus {
  outline: none;
  border-color: #3d82c4;
  box-shadow: 0 0 0 3px rgba(61, 130, 196, 0.14);
}
.form-control--pill {
  border-radius: 20px;
  background: #f5f7f9;
}
.form-control--sm {
  display: inline-block;
  width: auto;
  padding: 5px 10px;
}
.form-control--file {
  display: inline-block;
  width: auto;
}
.form-control--color {
  width: 48px;
  padding: 4px;
  height: 38px;
}
.form-control.is-invalid {
  border-color: #f04444;
}
.form-control.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(240, 68, 68, 0.14);
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #525c66;
}
.form-group .form-control {
  max-width: 100%;
}

.field-error {
  color: #f04444;
  font-size: 13px;
  margin-top: 4px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  cursor: pointer;
}

.card,
.panel {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
  padding: 20px;
}

.card {
  margin-bottom: 16px;
}
.card h2 {
  font-size: 16px;
  margin-bottom: 16px;
}

.card__subtitle {
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 8px;
}

.alert {
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 9px;
  border: 1px solid transparent;
}
.alert--success {
  background: rgba(25, 184, 107, 0.1);
  border-color: rgba(25, 184, 107, 0.25);
  color: #149456;
}
.alert--error {
  background: rgba(240, 68, 68, 0.08);
  border-color: rgba(240, 68, 68, 0.25);
  color: #ee2828;
}
.alert--info {
  background: rgba(41, 181, 232, 0.08);
  border-color: rgba(41, 181, 232, 0.25);
  color: #1699c8;
}

.page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.page__header h1 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.page__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filter-bar .form-control {
  flex: 1;
  min-width: 140px;
}

.table-wrap {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .table {
    display: table;
    overflow-x: visible;
  }
}
.table th, .table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eeeeee;
  white-space: nowrap;
  font-size: 13px;
}
.table th {
  background: transparent;
  font-weight: 600;
  font-size: 12px;
  color: #8a949e;
}
.table td {
  color: #525c66;
}
.table tr:last-child td {
  border-bottom: none;
}
.table tr:hover td {
  background: rgba(61, 130, 196, 0.03);
}
.table th.is-sortable {
  cursor: pointer;
  user-select: none;
}
.table th.is-sortable:hover {
  color: #525c66;
}
.table .actions {
  display: flex;
  gap: 6px;
}
.table .actions .inline-form {
  display: inline-flex;
}

.table__sort-icon {
  margin-left: 6px;
  font-size: 11px;
  color: #8a949e;
}
.table__sort-icon.is-active {
  color: #3d82c4;
}

.table__state {
  text-align: center;
  padding: 32px 16px;
  color: #8a949e;
}
.table__state .spinner {
  vertical-align: middle;
}

.table__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.table__empty i {
  font-size: 26px;
  color: #8a949e;
  opacity: 0.6;
}

.pagination {
  display: flex;
  gap: 6px;
  margin-top: 16px;
  justify-content: flex-end;
}
.pagination__link {
  padding: 6px 12px;
  border: 1px solid #e6eaef;
  border-radius: 7px;
  background: #fff;
  color: #525c66;
}
.pagination__link.is-active {
  background: #3d82c4;
  color: #fff;
  border-color: #3d82c4;
}

.muted {
  color: #8a949e;
}

.strong {
  font-weight: 600;
}

.tabbar {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  overflow-x: auto;
  flex-wrap: nowrap;
}

.tabbar__tab {
  padding: 8px 16px;
  border: none;
  background: transparent;
  border-radius: 9px;
  color: #525c66;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.tabbar__tab:hover {
  background: rgba(61, 130, 196, 0.08);
}
.tabbar__tab.is-active {
  background: #3d82c4;
  color: #fff;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
}
.checklist-item.is-done span {
  text-decoration: line-through;
  color: #8a949e;
}

.inline-add {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.inline-add > .form-control,
.inline-add > textarea {
  flex: 1;
}

.popover__sep {
  height: 1px;
  background: #e6eaef;
  margin: 6px 0;
}

.dropdown__panel a,
.dropdown__panel button.popover__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: none;
  background: transparent;
  border-radius: 7px;
  color: #525c66;
  font-size: 13px;
  text-align: left;
  width: 100%;
}
.dropdown__panel a i,
.dropdown__panel button.popover__item i {
  width: 18px;
  text-align: center;
  color: #8a949e;
  flex-shrink: 0;
}
.dropdown__panel a:hover,
.dropdown__panel button.popover__item:hover {
  background: #f5f7f9;
  color: #525c66;
}
.dropdown__panel a.is-danger,
.dropdown__panel button.popover__item.is-danger {
  color: #f04444;
}
.dropdown__panel a.is-danger i,
.dropdown__panel button.popover__item.is-danger i {
  color: #f04444;
}

.bell-wrap {
  position: relative;
}

.bell,
#notifications-bell {
  position: relative;
  cursor: pointer;
  font-size: 16px;
  color: #fff;
  padding: 8px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bell:hover,
#notifications-bell:hover {
  background: rgba(255, 255, 255, 0.22);
}

.bell .badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #f04444;
  color: #ffffff;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  line-height: 18px;
  text-align: center;
  font-size: 11px;
}

.bell-item {
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid #e6eaef;
  color: #525c66;
  cursor: pointer;
}
.bell-item:hover {
  background: #f5f7f9;
}
.bell-item.is-unread {
  border-left: 3px solid #3d82c4;
  background: rgba(61, 130, 196, 0.04);
}
.bell-item__title {
  display: block;
  font-weight: 600;
  font-size: 13px;
}
.bell-item__body {
  display: block;
  color: #8a949e;
  font-size: 13px;
}
.bell-item__date {
  display: block;
  color: #8a949e;
  font-size: 11px;
  margin-top: 4px;
}

.bell-empty {
  padding: 20px;
  text-align: center;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
}
.stat-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(61, 130, 196, 0.1);
  color: #3d82c4;
  font-size: 22px;
}
.stat-card__value {
  font-size: 24px;
  font-weight: 700;
}
.stat-card__label {
  color: #8a949e;
}

.dashboard__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .dashboard__cards {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

.detail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 16px;
  margin-bottom: 16px;
}
@media (min-width: 992px) {
  .detail-list {
    grid-template-columns: 160px 1fr;
  }
}
.detail-list dt {
  color: #8a949e;
  font-weight: 500;
}
.detail-list dd {
  margin: 0;
}

.history-list {
  list-style: none;
}
.history-list li {
  padding: 6px 0;
  border-bottom: 1px solid #e6eaef;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.history-list li:last-child {
  border-bottom: none;
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.plain-list li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(16, 24, 40, 0.06);
}
.plain-list li:last-child {
  border-bottom: none;
}

.task-description {
  margin-top: 16px;
}
.task-description h3 {
  margin-bottom: 10px;
}
.task-description p {
  margin-bottom: 8px;
}
.task-description blockquote {
  border-left: 3px solid #3d82c4;
  padding-left: 12px;
  color: #8a949e;
  margin: 8px 0;
}
.task-description pre {
  background: #f5f7f9;
  padding: 12px;
  border-radius: 9px;
  overflow-x: auto;
  margin: 8px 0;
}
.task-description img {
  max-width: 100%;
  border-radius: 9px;
}

.comment-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(16, 24, 40, 0.06);
}
.comment-item:last-child {
  border-bottom: none;
}

.comment-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 13px;
}

.comment-body {
  font-size: 14px;
  color: #344054;
  white-space: pre-wrap;
}

.participant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
}

.participant-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.timer-display {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #525c66;
}
.timer-display i {
  font-size: 20px;
  color: #3d82c4;
}

.timer-value {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #101828;
}

.timer-actions {
  display: flex;
  gap: 8px;
}

.stage-dot,
.kanban__col-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stage-dot {
  margin-right: 8px;
  vertical-align: middle;
}

.pipeline-stages .stage-dot {
  width: 8px;
  height: 8px;
  margin-right: 5px;
}

.kanban__col-dot {
  background: var(--stage-color, #8a949e);
}

.pipeline-stages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pipeline-stage-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.pipeline-stage-row > *:first-child {
  flex: 1;
}

.stage-color-input {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

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

.notification {
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
}
.notification.is-unread {
  border-left: 3px solid #3d82c4;
}
.notification__title {
  font-weight: 600;
  margin-bottom: 4px;
}
.notification__body {
  color: #8a949e;
  margin-bottom: 6px;
}
.notification__link {
  font-size: 13px;
}
.notification__date {
  color: #8a949e;
  font-size: 12px;
  margin-top: 6px;
}

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

.chat-list--scroll {
  overflow-y: auto;
  max-height: calc(70vh - 120px);
}

.chat-list__name {
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  color: #525c66;
}
.chat-item:hover {
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
}
.chat-item__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(61, 130, 196, 0.1);
  color: #3d82c4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
}
.chat-item__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chat-item__body {
  flex: 1;
  min-width: 0;
}
.chat-item__title {
  font-weight: 600;
}
.chat-item__last {
  color: #8a949e;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.chat-item__time {
  color: #8a949e;
  font-size: 12px;
}
.chat-item.is-active {
  background: #00aeef;
  color: #fff;
}
.chat-item.is-active .chat-item__title, .chat-item.is-active .chat-item__last, .chat-item.is-active .chat-item__time {
  color: #fff;
}
.chat-item.is-active .chat-item__last, .chat-item.is-active .chat-item__time {
  opacity: 0.9;
}

.chat-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
  min-height: 70vh;
  overflow: hidden;
}
.chat-layout__sidebar {
  padding: 16px;
  background: rgba(245, 247, 249, 0.72);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid #e6eaef;
}
@media (min-width: 768px) {
  .chat-layout__sidebar {
    border-right: 1px solid #e6eaef;
    border-bottom: none;
  }
}
.chat-layout__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
@media (min-width: 768px) {
  .chat-layout {
    grid-template-columns: 320px 1fr;
  }
}
@media (min-width: 992px) {
  .chat-layout {
    grid-template-columns: 360px 1fr;
  }
}

.message {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f5f7f9;
  align-self: flex-start;
}
.message--own {
  background: rgba(61, 130, 196, 0.1);
  align-self: flex-end;
}
.message__meta {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}
.message__author {
  font-weight: 600;
  font-size: 12px;
}
.message__time {
  color: #8a949e;
  font-size: 11px;
}
.message__body {
  word-break: break-word;
}
.message__attachment {
  font-size: 13px;
}
.message__attachment .message__img {
  max-width: 260px;
  max-height: 220px;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  display: block;
  margin-top: 6px;
}
.message__actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.message__actions button {
  border: none;
  background: transparent;
  color: #8a949e;
  font-size: 12px;
  padding: 2px 4px;
  cursor: pointer;
}
.message__actions button:hover {
  color: #3d82c4;
}
.message__actions button.is-fav {
  color: #f59e0b;
}
.message__reactions {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.message__reactions--add {
  opacity: 0;
  transition: opacity 0.15s;
}
.message__reactions .reaction {
  border: 1px solid #e6eaef;
  background: #fff;
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 12px;
  cursor: pointer;
}
.message__reactions .reaction.is-mine {
  background: rgba(0, 174, 239, 0.15);
  border-color: #00aeef;
}

.message:hover .message__reactions--add {
  opacity: 1;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 32, 0.55);
}
.modal__box {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e6eaef;
}
.modal__head h3 {
  font-size: 16px;
  font-weight: 600;
  color: #525c66;
  margin: 0;
}
.modal__close {
  border: none;
  background: transparent;
  font-size: 16px;
  color: #8a949e;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
}
.modal__close:hover {
  background: #f5f7f9;
  color: #525c66;
}
.modal__body {
  padding: 16px;
  overflow-y: auto;
}
.modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 1.5rem 0 0;
  border-top: none;
  background: transparent;
}
.modal__message {
  margin: 0;
  color: #525c66;
}

.spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(61, 130, 196, 0.2);
  border-top-color: #3d82c4;
  animation: spinner-rotate 0.7s linear infinite;
}
.spinner--sm {
  width: 15px;
  height: 15px;
  border-width: 2px;
}
.spinner--lg {
  width: 34px;
  height: 34px;
  border-width: 4px;
}

@keyframes spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}
.dropdown {
  position: relative;
}
.dropdown__trigger {
  display: inline-flex;
  cursor: pointer;
}
.dropdown__panel {
  position: absolute;
  top: calc(100% + 8px);
  z-index: 200;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  padding: 10px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dropdown__panel--account {
  padding: 10px;
  min-width: 240px;
}
.dropdown__panel--bell {
  width: 340px;
  padding: 0;
  max-height: 460px;
  overflow: hidden;
}
.dropdown--left .dropdown__panel {
  left: 0;
}
.dropdown--right .dropdown__panel {
  right: 0;
}
.dropdown__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #e6eaef;
}
.dropdown__panel-body {
  overflow-y: auto;
  max-height: 320px;
}

.dropdown-enter-active,
.dropdown-leave-active {
  transition: opacity 0.15s, transform 0.15s;
}

.dropdown-enter-from,
.dropdown-leave-to {
  opacity: 0;
  transform: translateY(-6px);
}

.toast-container {
  position: fixed;
  top: 64px;
  right: 16px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  border-left: 4px solid #3d82c4;
  font-size: 13px;
  color: #525c66;
  pointer-events: auto;
  cursor: pointer;
}
.toast > i {
  font-size: 15px;
}
.toast--success {
  border-left-color: #19b86b;
}
.toast--success > i {
  color: #19b86b;
}
.toast--error {
  border-left-color: #f04444;
}
.toast--error > i {
  color: #f04444;
}
.toast--info {
  border-left-color: #29b5e8;
}
.toast--info > i {
  color: #29b5e8;
}
.toast span {
  flex: 1;
}
.toast__close {
  border: none;
  background: transparent;
  color: #8a949e;
  font-size: 13px;
  padding: 2px;
  cursor: pointer;
}
.toast__close:hover {
  color: #525c66;
}

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

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

.form-section-title {
  margin: 16px 0 8px;
  font-size: 14px;
  color: #525c66;
}

.form-row {
  margin: 12px 0;
}

.link {
  color: #3d82c4;
  font-weight: 500;
  cursor: pointer;
}
.link:hover {
  color: #1d65a5;
  text-decoration: underline;
}

.btn--tariff {
  background: linear-gradient(90deg, #ff7d8c, #b64de2);
  color: #fff;
  border-radius: 7px;
}
.btn--tariff:hover {
  background: linear-gradient(90deg, #ff7d8c, #b64de2);
  color: #fff;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
}

body.theme-image .app-bg {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
body.theme-image .app-bg::after {
  background: rgba(0, 0, 0, 0.28);
}

body.theme-color .app-bg::after {
  background: none;
}

body.theme-text-light .topbar__nav a,
body.theme-text-light .topbar__nav .topbar__tab,
body.theme-text-light .topbar__search,
body.theme-text-light .topbar__invite-btn,
body.theme-text-light .topbar__account-btn,
body.theme-text-light .topbar__time,
body.theme-text-light .page__header h1 {
  color: #fff;
}
body.theme-text-light .topbar__nav a:hover,
body.theme-text-light .topbar__nav .topbar__tab:hover {
  color: rgba(255, 255, 255, 0.85);
}

body.theme-text-dark .topbar__nav a,
body.theme-text-dark .topbar__nav .topbar__tab,
body.theme-text-dark .topbar__search,
body.theme-text-dark .topbar__invite-btn,
body.theme-text-dark .topbar__account-btn,
body.theme-text-dark .topbar__time {
  color: #1c2733;
}
body.theme-text-dark .topbar__nav a:hover,
body.theme-text-dark .topbar__nav .topbar__tab:hover {
  color: #000000;
}

.theme-modal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.theme-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.theme-modal__swatch {
  position: relative;
  height: 64px;
  border: 2px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 6px 8px;
  background-size: cover;
  background-position: center;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.theme-modal__swatch.is-active {
  border-color: #3d82c4;
  box-shadow: 0 0 0 3px rgba(61, 130, 196, 0.18);
}
.theme-modal__swatch-name {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 20px;
  padding: 1px 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.theme-modal__row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.d-flex {
  display: flex;
}

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

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

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

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

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

.gap-1 {
  gap: 4px;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.m-0 {
  margin: 0;
}

.mt-0 {
  margin-top: 0;
}

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

.mt-3 {
  margin-top: 12px;
}

.mt-4 {
  margin-top: 16px;
}

.mb-1 {
  margin-bottom: 4px;
}

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

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

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

.p-3 {
  padding: 12px;
}

.p-4 {
  padding: 16px;
}

.py-1 {
  padding-top: 4px;
  padding-bottom: 4px;
}

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

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

.text-nowrap {
  white-space: nowrap;
}

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

.fs-md {
  font-size: 14px;
}

.fs-xl {
  font-size: 20px;
}

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

.cursor-pointer {
  cursor: pointer;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: 1fr 320px;
  }
}

.auto-fit {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .auto-fit {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

.d-inline-flex {
  display: inline-flex;
}

.pb-2 {
  padding-bottom: 8px;
}

.text-primary {
  color: #3d82c4;
}

.ellipsis,
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.max-w-md {
  max-width: 480px;
}

.dashboard__welcome {
  margin-bottom: 24px;
  color: #fff;
}
.dashboard__welcome h1 {
  font-size: 24px;
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.dashboard__welcome p {
  color: rgba(255, 255, 255, 0.9);
}

.mchat-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  color: #8a949e;
}
.mchat-empty__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 174, 239, 0.12);
  color: #00aeef;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.mchat-empty h2 {
  color: #525c66;
  margin-bottom: 4px;
}
.mchat-empty p {
  max-width: 320px;
  margin-bottom: 12px;
}

.mchat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #e6eaef;
  flex-shrink: 0;
}
.mchat-header__info {
  flex: 1;
  min-width: 0;
}
.mchat-header__title {
  font-weight: 600;
  font-size: 15px;
}
.mchat-header__sub {
  font-size: 12px;
  color: #8a949e;
}
.mchat-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mchat-header__icon {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #8a949e;
  font-size: 14px;
}
.mchat-header__icon:hover {
  background: #f5f7f9;
  color: #3d82c4;
}

.mchat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #ddf3fb;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.4) 0 1px, transparent 1px 22px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 30px), radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.5) 0 2px, transparent 2px), radial-gradient(circle at 40px 34px, rgba(255, 255, 255, 0.35) 0 3px, transparent 3px), linear-gradient(135deg, #c3e9f8, #ddf3fb 40%, #a9dcf2 72%, #8fd0f0);
}
.mchat-body__empty {
  text-align: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.9);
}
.mchat-body .message {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}
.mchat-body .message--own {
  background: rgba(255, 255, 255, 0.95);
}

.mchat-body__date {
  align-self: center;
  padding: 4px 16px;
  border-radius: 20px;
  background: rgba(29, 101, 165, 0.35);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.mchat-card {
  align-self: center;
  width: 100%;
  max-width: 570px;
  display: flex;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
}
.mchat-card__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 174, 239, 0.12);
  color: #00aeef;
  font-size: 30px;
}
.mchat-card__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.mchat-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #525c66;
}
.mchat-card__list i {
  width: 16px;
  color: #00aeef;
  margin-right: 6px;
}

.mchat-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: none;
  border-radius: 20px;
  background: #29b5e8;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.mchat-video-btn:hover {
  background: #18a7db;
  color: #fff;
}

.mchat-unread {
  position: sticky;
  top: 8px;
  z-index: 5;
  display: block;
  margin: 0 auto 8px;
  padding: 4px 12px;
  border: 1px solid #e6eaef;
  border-radius: 20px;
  background: #fff;
  color: #3d82c4;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}
.mchat-unread:hover {
  background: rgba(61, 130, 196, 0.08);
}

.mchat-composer {
  flex-shrink: 0;
  padding: 12px 16px;
  border-top: 1px solid #e6eaef;
  background: #fff;
}
.mchat-composer__field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #e6eaef;
  border-radius: 14px;
  background: #fff;
}
.mchat-composer__field:focus-within {
  border-color: #00aeef;
}
.mchat-composer__input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13px;
  color: #525c66;
}
.mchat-composer__input::placeholder {
  color: #8a949e;
}
.mchat-composer__input:focus {
  outline: none;
}
.mchat-composer__icons {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8a949e;
  font-size: 14px;
  padding: 0 4px;
}
.mchat-composer__icons i {
  cursor: pointer;
}
.mchat-composer__icons i:hover {
  color: #3d82c4;
}
.mchat-composer__send {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #00aeef;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}
.mchat-composer__send:hover {
  background: #0098d0;
}

.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.auth-body,
.error-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: radial-gradient(ellipse 420px 180px at 20% 20%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #3f95e0 0%, #6fb6ee 55%, #4f9b57 100%);
}

.auth-box {
  width: 100%;
  max-width: 400px;
  padding: 32px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
}
.auth-box__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}
.auth-box__logo i {
  color: #3d82c4;
}
.auth-box h1 {
  font-size: 20px;
  margin-bottom: 16px;
  text-align: center;
}

.auth-form .auth-submit {
  width: 100%;
  margin-top: 8px;
}

.auth-captcha-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(61, 130, 196, 0.1);
  color: #3d82c4;
  font-size: 13px;
  vertical-align: middle;
  cursor: pointer;
}
.auth-captcha-refresh:hover {
  background: rgba(61, 130, 196, 0.2);
}
.auth-captcha-refresh:disabled {
  opacity: 0.5;
  cursor: default;
}

.auth-links {
  margin-top: 16px;
  text-align: center;
}
.auth-links a {
  font-size: 13px;
  color: #8a949e;
}

.auth-note {
  color: #8a949e;
  margin-bottom: 16px;
  text-align: center;
}

.error-page {
  text-align: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
}
.error-page i {
  font-size: 64px;
  color: #f5b82e;
  margin-bottom: 16px;
}
.error-page h1 {
  font-size: 56px;
  margin-bottom: 8px;
}
.error-page p {
  color: #8a949e;
  margin-bottom: 20px;
}

.calendar {
  background: #fff;
  border: 1px solid #e6eaef;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
  overflow: visible;
}
.calendar__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid #e6eaef;
  background: #fafbfc;
}
.calendar__toolbar .btn {
  min-width: 34px;
}
.calendar__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.calendar__month {
  font-size: 16px;
  font-weight: 700;
  color: #525c66;
  text-transform: capitalize;
  min-width: 170px;
  text-align: center;
}
.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(88px, 1fr));
  grid-auto-rows: minmax(92px, auto);
  background: #e6eaef;
  gap: 1px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.calendar__dow {
  padding: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a949e;
  background: #f0f4f7;
}
.calendar__cell {
  background: #fff;
  padding: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.12s;
}
.calendar__cell:hover {
  background: #f8fbfd;
}
.calendar__cell.is-empty {
  background: #f7f8f9;
}
.calendar__cell.is-empty:hover {
  background: #f7f8f9;
}
.calendar__cell.is-outside {
  background: #f1f3f5;
}
.calendar__cell.is-outside .calendar__day {
  color: #8a949e;
}
.calendar__cell.is-today {
  background: rgba(61, 130, 196, 0.06);
  box-shadow: inset 0 0 0 2px rgba(61, 130, 196, 0.45);
}
.calendar__cell.is-today .calendar__day {
  color: #fff;
  background: #3d82c4;
}
.calendar__day {
  align-self: flex-start;
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #525c66;
  background: transparent;
}
.calendar__add {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(61, 130, 196, 0.12);
  color: #3d82c4;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s, background 0.15s;
}
.calendar__add:hover {
  background: #3d82c4;
  color: #fff;
}
.calendar__cell:hover .calendar__add {
  opacity: 1;
}
.calendar__items {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}
.calendar__item {
  display: block;
  font-size: 12px;
  line-height: 1.25;
  color: #525c66;
  padding: 2px 5px;
  border-radius: 4px;
  background: #f5f7f9;
  border-left: 3px solid #3d82c4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.calendar__item:hover {
  background: rgba(61, 130, 196, 0.14);
}
.calendar__item.badge--new {
  color: #17a0d2;
  border-left-color: #29b5e8;
}
.calendar__item.badge--in_progress {
  color: #3d82c4;
  border-left-color: #3d82c4;
}
.calendar__item.badge--completed {
  color: #159d5b;
  border-left-color: #19b86b;
}
.calendar__item.badge--rejected {
  color: #f04444;
  border-left-color: #f04444;
}
.calendar__item-time {
  font-weight: 700;
  margin-right: 4px;
  color: #8a949e;
}
.calendar__event--blue {
  background: #3d82c4;
}
.calendar__event--green {
  background: #22c55e;
}
.calendar__legend {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 16px;
  border-top: 1px solid #e6eaef;
  font-size: 12px;
  color: #8a949e;
  background: #fff;
}
.calendar__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.calendar__legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.kanban {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  align-items: flex-start;
  padding-bottom: 12px;
}
.kanban__pipeline .form-control {
  min-width: 200px;
}
.kanban__col {
  flex: 0 0 260px;
  width: 260px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 180px);
  overflow: hidden;
}
@media (min-width: 992px) {
  .kanban__col {
    flex-basis: 280px;
    width: 280px;
  }
}
.kanban__col.is-drag-over {
  background: rgba(61, 130, 196, 0.12);
  outline: 2px dashed rgba(61, 130, 196, 0.5);
}
.kanban__col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 13px;
  color: #525c66;
  border-bottom: 1px solid #e6eaef;
}
.kanban__col-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kanban__col-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: rgba(138, 148, 158, 0.2);
  color: #8a949e;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}
.kanban__col-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kanban__card {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  padding: 10px 12px;
  cursor: grab;
  transition: box-shadow 0.15s, transform 0.15s;
}
.kanban__card:hover {
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
}
.kanban__card.is-dragging {
  opacity: 0.92;
  transform: rotate(2deg) scale(1.02);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  cursor: grabbing;
}
.kanban__card.is-drag-src {
  opacity: 0.35;
}
.kanban__card-title {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: #525c66;
  margin-bottom: 6px;
}
.kanban__card-title:hover {
  color: #3d82c4;
}
.kanban__card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.kanban__card-amount {
  font-size: 12px;
  color: #3d82c4;
  font-weight: 600;
}
.kanban__card-amount i {
  margin-right: 4px;
}
.kanban__card-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #8a949e;
}
.kanban__card-company {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kanban__card-responsible {
  white-space: nowrap;
}
.kanban__card-responsible i {
  margin-right: 4px;
}
.kanban__empty {
  padding: 14px;
  text-align: center;
  color: #8a949e;
  font-size: 12px;
  border: 1px dashed #e6eaef;
  border-radius: 9px;
}

body.is-dragging-board {
  user-select: none;
  cursor: grabbing;
}

.deals-filter {
  max-width: 320px;
}

.mchat-body--limited {
  max-height: 60vh;
}

.task-card__participants {
  max-width: 180px;
}

.project-form__select {
  width: 150px;
}

.pipeline-form__select {
  width: 110px;
}

.webhook-list__url {
  max-width: 280px;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.web-form-list__name {
  max-width: 180px;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-row-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.items-editor {
  margin-bottom: 16px;
}
.items-editor__table .form-control {
  min-width: 70px;
}
.items-editor__col-product {
  min-width: 180px;
}
.items-editor__col-num {
  width: 96px;
  text-align: right;
}
.items-editor__col-act {
  width: 48px;
}
.items-editor__sum {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}
.items-editor__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}
.items-editor__total {
  font-size: 14px;
  color: #525c66;
}

.quote-card__status,
.invoice-card__status {
  max-width: 200px;
}

.entity-chat__state {
  padding: 12px 0;
}
.entity-chat__body {
  max-height: 320px;
  overflow-y: auto;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #e6eaef;
  border-radius: 9px;
  background: #fafbfc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.entity-chat__empty {
  padding: 12px;
  text-align: center;
  font-size: 13px;
}
.entity-chat .mchat-composer {
  padding: 0;
  border-top: none;
  background: transparent;
}

/*# sourceMappingURL=app.css.map */
