@charset "UTF-8";

.left_col {
  background: var(--de-bgr-menu); 
}
.loading {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    height: 100vh; /* fallback */
    font-size: 3em;
    color: gray;
    flex-grow: 1;
}
.container {
  width: 100%;
  padding: 0;
  max-width: 100%; }

.form-switch.form-switch-lg {
  margin-bottom: 2rem; /* JUST FOR STYLING PURPOSE */
  font-size: 1rem;
  margin-right: 30px;
}
.form-switch.form-switch-lg .form-check-input {
  height: 1.2rem;
  width: 2.5rem;
  border-radius: 2rem;
  margin-right: 10px;
  margin-top: 1px;
}
.nav-sm .container.body .col-md-3.left_col {
  min-height: 100%;
  width: 70px;
  padding: 0;
  z-index: 50;
  position: absolute; }

.nav-sm .container.body .col-md-3.left_col.menu_fixed {
  position: fixed;
  height: 100%; }

.nav-sm .container.body .col-md-3.left_col .mCSB_container,
.nav-sm .container.body .col-md-3.left_col .mCustomScrollBox {
  overflow: visible; }

.nav-sm .hidden-small {
  visibility: hidden; }

.nav-sm .container.body .right_col {
  padding: 57px 20px;
  margin-left: 70px;
}

.nav-sm .navbar.nav_title {
  width: 70px; }

.nav-sm .navbar.nav_title a span {
  display: none; 
}
.nav-sm .navbar.nav_title a i {
  font-size: 27px;
  margin: 13px 0 0 3px; }
.nav-sm .side-menu span.fa,.nav-sm .menu_section h3 {
    display: none
}
.site_title i {
  border: 1px solid #EAEAEA;
  padding: 5px 6px;
  border-radius: 50%; }

.nav-sm .nav.side-menu li a {
  text-align: center !important;
  font-weight: 400;
  font-size: 10px;
  padding: 10px 5px; }

.nav-sm .nav.child_menu li.active,
.nav-sm .nav.side-menu li.active-sm {
  border-right: 5px solid #1ABB9C; }

.nav-sm ul.nav.child_menu ul,
.nav-sm .nav.side-menu li.active-sm ul ul {
  position: static;
  width: 200px;
  background: none; }

.nav-sm > .nav.side-menu > li.active-sm > a {
  color: #1ABB9C !important; }

.nav-sm .nav.side-menu li a i.toggle-up {
  display: none !important; }

.nav-sm .nav.side-menu li a i {
  font-size: 25px !important;
  text-align: center;
  width: 100% !important;
  margin-bottom: 5px; }

.nav-sm ul.nav.child_menu {
  left: 100%;
  position: absolute;
  top: 0;
  width: 210px;
  z-index: 4000;
  background: #3E5367;
  display: none;
  max-height: calc(100vh - 16px);
  overflow-x: hidden;
  overflow-y: auto; }

/* В свёрнутом меню: открывать flyout вверх, если снизу не хватает места */
.nav-sm ul.nav.child_menu.dropup {
  top: auto;
  bottom: 0; }

.nav-sm ul.nav.child_menu li {
  padding: 0 10px; }

.nav-sm ul.nav.child_menu li a {
  text-align: left !important; }

.nav-sm .profile {
  display: none; }

.menu_section {
  margin-bottom: 35px; }

.menu_section h3 {
  padding-left: 23px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: bold;
  font-size: 11px;
  margin-bottom: 0;
  margin-top: 0;
  text-shadow: 1px 1px #000; }

.menu_section > ul {
  margin-top: 10px;
  display: block; }

.profile_pic {
  width: 35%;
  float: left; }

.img-circle.profile_img {
  width: 70%;
  background: #fff;
  margin-left: 15%;
  z-index: 1000;
  position: inherit;
  margin-top: 20px;
  border: 1px solid rgba(52, 73, 94, 0.44);
  padding: 4px; }

.profile_info {
  padding: 25px 10px 10px;
  width: 65%;
  float: left; }

.profile_info span {
  font-size: 13px;
  line-height: 30px;
  color: #BAB8B8; }

.profile_info h2 {
  font-size: 14px;
  color: #ECF0F1;
  margin: 0;
  font-weight: 300; }

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

.profile.img_2 .profile_pic {
  width: 100%; }

.profile.img_2 .profile_pic .img-circle.profile_img {
  width: 50%;
  margin: 10px 0 0; }

.profile.img_2 .profile_info {
  padding: 15px 10px 0;
  width: 100%;
  margin-bottom: 10px;
  float: left; }

.main_menu span.fa {
  float: right;
  text-align: center;
  margin-top: 5px;
  font-size: 10px;
  min-width: inherit;
  color: #C4CFDA; }

.menu_section .active a span.fa {
  text-align: right !important;
  margin-right: 4px; }

.nav-sm .menu_section { margin: 0; }
.nav-sm .menu_section h3 { display: none; } /* Скрывает заголовки в сыернутом меню */

.nav-sm li li span.fa {
  display: inline-block; }

.nav_menu {
  float: left;
  background: var(--de-bgr-nav-menu);
  border-bottom: 1px solid var(--de-line);
  margin-bottom: 10px;
  width: 100%;
  position: relative; }

.email-unsubscribed-banner {
  display: flex;
  align-items: center;
  margin: 0 12px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #7a3e00;
  background: #fff3cd;
  border: 1px solid #f5a800;
  border-radius: 4px;
  white-space: nowrap;
}

@media (min-width: 480px) {
  .nav_menu {
    position: static; }
  .item {
    display: block; } }

.nav-md .container.body .col-md-3.left_col {
  min-height: 100%;
  width: 230px;
  padding: 0;
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  z-index: 5; }

.nav-md .container.body .col-md-3.left_col.menu_fixed {
  height: 100%;
  position: fixed; }

body {
  display: flex;
  flex-grow: 1;
}

body .container.body .right_col {
  background: var(--de-bgr-container); 
  display: flex;
  flex: auto;
  flex-direction: column;
}

.left_col .mCSB_scrollTools {
  width: 6px; }

.left_col .mCSB_dragger {
  max-height: 400px !important; }

.container {
  flex-direction: column;
  flex-grow: 1;
  display: flex;
  width: 100%;
  padding: 0;
  max-width: 100%; 
}

.navbar-nav > li > a, .navbar-brand, .navbar-nav > li > a {
  color: #fff !important; }

body {
  color: #73879C;
  background: var(--de-bgr-body);
  font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.471; }

.main_container {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* fallback */
  min-height: calc(var(--vh, 1vh) * 100);
}

.no-padding {
  padding: 0 !important; }
.nav-md .container.body .right_col {
  padding: 10px 20px 40px;
  margin-left: 230px; }

.nav_title {
  width: 230px;
  float: left;
  background: var(--de-bgr-nav-title);
  border-radius: 0;
  height: 57px;
  padding: 0px; }

@media (max-width: 991px) {
  .nav-md .container.body .col-md-3.left_col {
    display: none; }

  .item {
    display: block; } 
}
.navbar {
  margin-bottom: 0; }

.navbar-header {
  background: #34495E; }

.navbar-right {
  margin-right: 0; }

.sidebar-header {
  border-bottom: 0;
  margin-top: 46px; }

.sidebar-header:first-of-type {
  margin-top: 0; }

.nav > li {
  position: relative;
  display: block; }

.nav.side-menu > li {
  position: relative;
  display: block;
  cursor: pointer; }

.nav.side-menu > li > a {
  margin-bottom: 6px; }

.nav.side-menu > li > a:hover {
  color: #F2F5F7 !important; }

.nav.side-menu > li > a:hover, .nav > li > a:focus {
  text-decoration: none;
  background: transparent; }

.nav.child_menu {
  display: none; }

.nav.child_menu li:hover,
.nav.child_menu li.active {
  background-color: rgba(255, 255, 255, 0.06); }

.nav.child_menu li {
  padding-left: 36px; }

.nav-md ul.nav.child_menu li:before {
  background: #425668;
  bottom: auto;
  content: "";
  height: 8px;
  left: 23px;
  margin-top: 15px;
  position: absolute;
  right: auto;
  width: 8px;
  z-index: 1;
  border-radius: 50%; }

.nav-md ul.nav.child_menu li:after {
  border-left: 1px solid #425668;
  bottom: 0;
  content: "";
  left: 27px;
  position: absolute;
  top: 0; }

.nav-md ul.nav.child_menu li:last-child::after {
  bottom: 50%; }

.nav.side-menu > li > a, .nav.child_menu > li > a {
  color: #E7E7E7;
  font-weight: 500; }

.nav.child_menu li li:hover,
.nav.child_menu li li.active {
  background: none; }

.nav.child_menu li li a:hover,
.nav.child_menu li li a.active {
  color: #fff; }

.nav > li > a {
  position: relative;
  display: block;
  padding: 13px 15px 12px; }

.nav.side-menu > li.current-page, .nav.side-menu > li.active {
  border-right: 5px solid #1ABB9C; }

.nav li.current-page {
  background: rgba(255, 255, 255, 0.05); }

.nav li li li.current-page {
  background: none; }

.nav li li.current-page a {
  color: #fff; }

.nav.side-menu > li.active > a {
  text-shadow: rgba(0, 0, 0, 0.25) 0 -1px 0;
  background: -webkit-gradient(linear, left top, left bottom, from(#334556), to(#2C4257)), #2A3F54;
  background: linear-gradient(#334556, #2C4257), #2A3F54;
  -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0 1px 0, inset rgba(255, 255, 255, 0.16) 0 1px 0;
  box-shadow: rgba(0, 0, 0, 0.25) 0 1px 0, inset rgba(255, 255, 255, 0.16) 0 1px 0; }

.navbar-brand, .navbar-nav > li > a {
  font-weight: 500;
  color: #ECF0F1 !important;
  margin-left: 0 !important;
  line-height: 32px; }

.site_title {
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: 400;
  font-size: 22px;
  width: 100%;
  color: #ECF0F1 !important;
  margin-left: 0 !important;
  line-height: 59px;
  display: block;
  height: 55px;
  margin: 0;
  padding-left: 10px; }

.site_title:hover, .site_title:focus {
  text-decoration: none; }

.nav.navbar-nav > li > a {
  color: #515356 !important; }

.nav.top_menu > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;
  color: #34495E !important; }

.nav > li > a:hover, .nav > li > a:focus {
  background-color: transparent; }

.top_search {
  padding: 0; }

.top_search .form-control {
  border-right: 0;
  -webkit-box-shadow: inset 0 1px 0px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 0px rgba(0, 0, 0, 0.075);
  border-radius: 25px 0px 0px 25px;
  padding-left: 20px;
  border: 1px solid rgba(221, 226, 232, 0.49); }

.top_search .form-control:focus {
  border: 1px solid rgba(221, 226, 232, 0.49);
  border-right: 0; }

.top_search .input-group-btn button {
  border-radius: 0px 25px 25px 0px;
  border: 1px solid rgba(221, 226, 232, 0.49);
  border-left: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  color: #93A2B2;
  margin-bottom: 0 !important; }


  .toggle {
    float: left;
    margin: 0;
    width: 70px; 
    height: 55px; 
  }
  
  .toggle a {
    padding: 8px 15px 0;
    margin: 0;
    cursor: pointer; }
  
  .toggle a i {
    font-size: 26px; }
  
  .nav.child_menu > li > a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    padding: 9px; }
  
  .panel_toolbox {
    float: right;
    min-width: 70px; }
  
  .panel_toolbox > li {
    float: left;
    cursor: pointer; }
  
  .panel_toolbox > li > a {
    padding: 5px;
    color: #C5C7CB;
    font-size: 14px; }
  
  .panel_toolbox > li > a:hover {
    background: #F5F7FA; }
  
  .line_30 {
    line-height: 30px; }
  
  .main_menu_side {
    padding: 0; }
  
  .bs-docs-sidebar .nav > li > a {
    display: block;
    padding: 4px 6px; }
  
  footer {
    background: var(--de-bgr-footer);
    padding: 10px 20px;
    display: block; 
    user-select: none;
  }
  /* Место под fixed-кнопку alert (кнопка в body, не в потоке footer) */
  footer .pull-right {
    padding-right: 28px;
  }
  footer .de-user-alert-btn {
    display: inline-block;
    margin-left: 10px;
    padding: 0 4px;
    color: #c9a227;
    font-size: 15px;
    line-height: 1;
    vertical-align: middle;
    text-decoration: none;
    cursor: pointer;
  }
  footer .de-user-alert-btn:hover,
  footer .de-user-alert-btn:focus {
    color: #a88400;
    text-decoration: none;
  }
  /* Вынесена в body: поверх модалок/шторки, ниже собственного диалога и service-guard */
  #de-user-alert-btn.de-user-alert-floating {
    position: fixed;
    right: 8px;
    bottom: 6px;
    z-index: 110000;
    margin: 0;
    padding: 4px 6px;
    color: #c9a227;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border: 0;
    border-radius: 4px;
  }
  #de-user-alert-btn.de-user-alert-floating:hover,
  #de-user-alert-btn.de-user-alert-floating:focus {
    color: #a88400;
    text-decoration: none;
  }
  .nav-sm footer {
    margin-left: 70px; }
  
  .footer_fixed footer {
    position: fixed;
    z-index: 3;
    left: 0px;
    bottom: 0px;
    width: 100%; }
  
  @media (min-width: 768px) {
    .footer_fixed footer {
      margin-left: 0; } }
  
  @media (min-width: 768px) {
    .footer_fixed .nav-sm footer {
      margin-left: 0; } }

  /* <768px сброс nav-sm margin не действовал — footer width:100% + margin-left:70px
     сдвигал copyright под fixed-кнопку alert */
  @media (max-width: 767px) {
    .nav-sm footer,
    .footer_fixed .nav-sm footer,
    body.nav-sm.footer_fixed footer {
      margin-left: 0;
      width: 100%;
    }
  }
  
  .tile-stats.sparkline {
    padding: 10px;
    text-align: center; }
  
  .jqstooltip {
    background: #34495E !important;
    width: 30px !important;
    height: 22px !important;
    text-decoration: none; }
  
  .tooltip {
    display: block !important; }
  
  .tiles {
    border-top: 1px solid #ccc;
    margin-top: 15px;
    padding-top: 5px;
    margin-bottom: 0; }
  
  .tile {
    overflow: hidden; }
  
  .top_tiles {
    margin-bottom: 0; }
  
  .top_tiles .tile h2 {
    font-size: 30px;
    line-height: 30px;
    margin: 3px 0 7px;
    font-weight: bold; }

  h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 10px;
    margin-bottom: 10px; }
  
  a {
    color: var(--de-link);
    text-decoration: none; 
  }
  
  a, a:visited, a:focus, a:active, :visited, :focus, :active, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
    outline: 0; }
  
  a:hover, a:focus { 
    color: var(--de-link-hover);
    text-decoration: none;
  }

  article.media { width: 100%; }

/* top nav */
.main_container .top_nav {
    margin-left: 230px; 
    margin-bottom: -10px;
}
.navbar-static-top {
    position: fixed;
    top: 0;
    width: 100%; 
}
    
.top_nav .navbar-right {
    margin: 13px;
    width: auto;
    float: right; }
  
  .top_nav .navbar-right li {
    display: block;
    float: right;
    position: static; }
  
@media (min-width: 480px) {
    .top_nav .navbar-right li {
      position: relative; }
    .item { display: block; } 
}
  
  .top_nav .dropdown-menu li {
    width: 100%; }
  
  .dropdown-item {
    width: 100%;
    padding: 12px 20px; }

.top_nav .nav>div:has(a):focus,
.top_nav .nav>div:has(a):hover,
.top_nav .nav .open,
.top_nav .nav .open:focus,
.top_nav .nav .open:hover {
    background: var(--de-bgr-nav-hover);
}
.navbar-brand,
.navbar-nav>ul>li>a,
.navbar-nav>ul>li>div {
    font-weight: 500;
    /* color: #ECF0F1 !important; */
    margin-left: 0 !important;
    line-height: 32px;
}
.main_container .top_nav {
    display: block;
    margin-left: 230px;
}
.nav>.nav-item>.nav-link {
    position: relative;
    padding: 13px 15px 12px;
    line-height: 32px;
}
.top_nav .nav-item a i, .top_nav .nav-item div i{
  font-size: 15px; 
}
.top_nav .navbar-right {
    margin: 0;
    float: right;
}
.navbar-right {
  margin: 0; 
  padding: 0;
}
.nav-sm .main_container .top_nav {
    display: block;
    margin-left: 70px;
}
.top_nav .navbar-right {
  margin: 0px;
  width: auto;
  float: right; }

.nav.toggle>a:hover {
    color: #23527c;
}
.nav-item form {
  height: 57px;
  justify-content: center;
  padding: 8px 5px 8px;
}
.nav-item form input {
  height: 38px;
}
.nav-md .container.body .right_col {
  padding-top: 57px;
}
/* top nav */

.info-number .badge {
    font-size: 10px;
    font-weight: normal;
    line-height: 10px;
    padding: 2px 5px;
    position: absolute;
    right: 1px;
    top: 4px; }
  
  @media (min-width: 768px) and (max-width: 1024px) {
    .info-number .badge {
      font-size: 10px;
      font-weight: normal;
      position: absolute;
    } 
  }
  @media (max-width: 991px) {
    .nav-md .container.body .right_col, .nav-md .container.body .top_nav {
      width: 100%;
      margin: 0; 
    }
    .nav-md .container.body .right_col {
        width: 100%;
        padding-right: 0; 
        margin-top: -10px;
    }
  }
  @media (max-width: 768px) {
    .container.body .top_nav .search {
        display: none;
    } 
  }

  /** /top tiles **/
.dashboard_graph {
  background: #fff;
  padding: 7px 10px; }

.dashboard_graph .col-md-9, .dashboard_graph .col-md-3 {
  padding: 0; }

a.user-profile {
  color: #5E6974 !important; }

.user-profile img {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 0 2px var(--user-color, transparent);
}

a.user-profile ~ .dropdown-menu .dropdown-item {
  user-select: none;
  cursor: default;
}

ul.top_profiles {
  width: 100%; }

ul.top_profiles li {
  margin: 0;
  padding: 3px 5px; }

ul.top_profiles li:nth-child(odd) {
  background-color: #eee; }

.media .profile_thumb {
  border: 1px solid;
  width: 50px;
  height: 50px;
  margin: 5px 10px 5px 0;
  border-radius: 50%;
  padding: 9px 12px; }

.media .profile_thumb i {
  font-size: 30px; }

.media .date {
  background: #ccc;
  width: 52px;
  margin-right: 10px;
  border-radius: 10px;
  padding: 5px; }

.media .date .month {
  margin: 0;
  text-align: center;
  color: #fff; }

.media .date .day {
  text-align: center;
  color: #fff;
  font-size: 27px;
  margin: 0;
  line-height: 27px;
  font-weight: bold; }

.event .media-body a.title {
  font-weight: bold; }

.event .media-body p {
  margin-bottom: 0; }

h4.graph_title {
  margin: 7px;
  text-align: center; }

  .tile_info a {
    text-overflow: ellipsis; }
  
  .sidebar-footer {
    bottom: 0px;
    padding: 5px 0 0 0;
    position: fixed;
    width: 230px;
    background: #2A3F54; 
  }
  
  .sidebar-footer a {
    padding: 10px 0 5px;
    text-align: center;
    width: 33%;
    font-size: 17px;
    display: block;
    float: left;
    background: #172D44; }
  
.sidebar-footer a:hover {
  background: #425567; }

.img-circle {
  border-radius: 50%; }

.display-layout {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; }

ul.msg_list li {
  background: #f7f7f7;
  padding: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 6px 6px 0;
  width: 96% !important; }

ul.msg_list li:last-child {
  margin-bottom: 6px;
  padding: 10px; }

ul.msg_list li a {
  padding: 3px 5px !important; }

ul.msg_list li a .image img {
  border-radius: 2px 2px 2px 2px;
  -webkit-border-radius: 2px 2px 2px 2px;
  float: left;
  margin-right: 10px;
  width: 30px; }

ul.msg_list li a .time {
  font-size: 11px;
  font-style: italic;
  font-weight: bold;
  position: absolute;
  right: 35px; }

ul.msg_list li a .message {
  display: block !important;
  font-size: 11px; }

.dropdown-menu.msg_list span {
  white-space: normal; }

.dropdown-menu {
  border: medium none;
  -webkit-box-shadow: none;
          box-shadow: none;
  display: none;
  float: left;
  font-size: 12px;
  left: 0;
  list-style: none outside none;
  padding: 0;
  position: absolute;
  text-shadow: none;
  top: 100%;
  z-index: 9998;
  border: 1px solid var(--de-line);
  border-top-left-radius: 0;
  border-top-right-radius: 0; 
  background-color: var(--de-bgr-nav-menu);
  overflow: hidden;
}
.dropdown-item {
  color: var(--de-menu-font);
}
.dropdown-menu > li > a {
  color: #5A738E; 
}
.dropdown-item:focus, .dropdown-item:hover {
  background-color: var(--de-bgr-nav-hover);
  color: var(--de-menu-font);
}
.navbar-nav .open .dropdown-menu {
  position: absolute;
  background: #fff;
  margin-top: 0;
  border: 1px solid #D9DEE4;
  -webkit-box-shadow: none;
  box-shadow: none;
  right: 0;
  left: auto;
  width: 220px; }
      
.navbar-nav .open .dropdown-menu.msg_list {
  width: 300px !important; }
.dropdown {
  padding-right: 1px;
}
.pull-right {
  float: right;
}
.pull-left {
  float: left;
}
img.logo {
  height: 57px;
  padding: 8px;
}
.ver {
  text-align: right;
  padding-right: 5px;
  font-size: 10px;
}
.ver span {
  color: var(--de-red);
}
.text-center {
  align-items: center;
  justify-content: center;
}
.page {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
}
.content-center {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
}
.has-feedback {
  position: relative;
}
.form-group {
  margin-bottom: 16px;
}
.form-control {
  background-color: var(--de-bgr-input);
  border: solid 1px var(--de-line);
  color: var(--de-font-dark);
}
.form-control:focus {
  background-color: var(--de-bgr-input);
  border: solid 1px var(--de-line);
  color: var(--de-font-dark);
}
.form-control::placeholder {
  color: var(--de-font-dark);
}
.form-control:disabled,
.form-control[readonly] {
  background-color: var(--de-input-disabled);
  border-color: var(--de-input-disabled-border);
  color: var(--de-font-disabled);
  -webkit-text-fill-color: var(--de-font-disabled);
  cursor: not-allowed;
  opacity: 1;
  box-shadow: inset 0 1px 2px color-mix(in srgb, var(--de-font-black) 14%, transparent);
}
.form-control:disabled + .form-control-feedback,
.form-control[readonly] + .form-control-feedback {
  color: var(--de-font-disabled);
  opacity: 0.5;
  border-color: var(--de-input-disabled-border);
}

.color-picker-field,
.clr-field {
  display: block;
  width: 100%;
}
.clr-field button {
  width: 28px;
  height: calc(100% - 8px);
  right: 4px;
  border-radius: 4px;
}
.clr-field input.color-picker-input {
  padding-right: 40px;
}
.clr-picker {
  z-index: 110000;
}

/* Feedback icons */
.form-control-feedback {
    margin-top: 5px;
    color: #bbb;
    font-size: 15px;
    position: absolute;
    top: 16px;
    right: 0;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none;
}
.form-control-feedback.left {
    border-right: 1px solid #ccc;
    left: 13px
}
.form-control-feedback.right {
    border-left: 1px solid #ccc;
    right: 13px
}
.form-control.has-feedback-left {
    padding-left: 45px
}
.form-control.has-feedback-right {
    padding-right: 45px
}
.has-feedback .chosen-choices {
    padding-left: 45px
}
/* Fidback icons */

.x_panel {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px 17px;
  display: inline-block;
  background: var(--de-bgr-panel);
  border: 1px solid var(--de-line);
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  opacity: 1;
  -webkit-transition: all .2s ease;
  transition: all .2s ease; 
  border-radius: 5px;
}

.x_title {
  border-bottom: 2px solid var(--de-sep-panel);
  padding: 1px 5px 6px;
  margin-bottom: 10px; }

.x_title .filter {
  width: 40%;
  float: right; }

.x_title h2 {
  margin: 5px 0 6px;
  float: left;
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 1.8em;
}

.x_title h2 small {
  margin-left: 10px; }

.x_title span {
  color: #BDBDBD; 
}

.x_content {
  padding: 0 3px 6px;
  position: relative;
  width: 100%;
  float: left;
  clear: both;
  margin-top: 5px; }

.x_content h4 {
  font-size: 16px;
  font-weight: 500; }

/* CONSOLE */
body:has(.console) {
  overflow: hidden;
}
.page:has(.console) {
  min-height: 0;
  overflow: hidden;
  height: calc(var(--vh, 1vh) * 100 - 57px - 48px);
  max-height: calc(var(--vh, 1vh) * 100 - 57px - 48px);
}
.page:has(.console) #path_line {
  flex-shrink: 0;
  margin-bottom: 4px;
}
.console {
  margin-top: 0;
  margin-bottom: 0;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  overflow: hidden;
  border: solid 2px var(--de-sep-panel);
  flex-direction: column;
  font-size: 1.2em;
}
.console .menu {
  flex-shrink: 0;
  margin: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.console .menu .btn {
  margin: 2px;
}
.console .menu .js-log-filter:not(.active) {
  opacity: 0.55;
}
.console .text_window {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #555 #333;
  padding: 10px 10px 16px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.45;
  background: rgba(0, 0, 0, 0.18);
}
.console .log-line {
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #8b98a8;
}
.console .log-rest {
  color: #8b98a8;
}
.console .log-src {
  display: inline-block;
  min-width: 4.8em;
  margin-right: 8px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
}
.console .log-src-admin { color: #1ABB9C; }
.console .log-src-auditor { color: #5dade2; }
.console .log-src-client { color: #e8a838; }
.console .log-src-system { color: #bdc3c7; }
.console .log-src-cowork { color: #9B59B6; }
.console .log-level {
  font-weight: 700;
}
.console .log-level-debug { color: #5dade2; }
.console .log-level-info { color: #58d68d; }
.console .log-level-warning { color: #f4d03f; }
.console .log-level-error,
.console .log-level-critical { color: #e74c3c; }
.console .log-line.is-hidden {
  display: none;
}
.console .log-empty {
  opacity: 0.6;
  font-style: italic;
}
.console .input_line {
  flex-shrink: 0;
  border: solid 1px #23527c;
}
.console .input_line input {
  width: 100%;
  border: none;
  background-color: #2A3F54;
  color: #C4CFDA;
  padding: 10px;
}

/* CONSOLE END*/

/*MODAL*/
/* Bootstrap прячет скролл и компенсирует body, но пропускает наши fixed-элементы не на всю ширину */
body.modal-open .top_nav.fixed-top .nav_menu,
body.modal-open .footer_fixed footer {
  padding-right: var(--de-scrollbar-width, 0px);
}
body.modal-open #de-user-alert-btn.de-user-alert-floating {
  right: calc(8px + var(--de-scrollbar-width, 0px));
}

.fade2 {
    transform: scale(0.9);
    opacity: 0;
    transition: all .2s linear;
}

.fade2.show {
    opacity: 1;
    transform: scale(1);
}

.modal .form-control:disabled,
.modal .form-control[readonly] {
    background-color: var(--de-input-disabled);
    border-color: var(--de-input-disabled-border);
    color: var(--de-font-disabled);
    -webkit-text-fill-color: var(--de-font-disabled);
    box-shadow: none;
}
/* Скролл модалки идёт по краю экрана — полосу прячем, прокрутка колёсиком/тачем остаётся */
.modal {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.modal::-webkit-scrollbar {
  display: none;
}
/*MODAL END*/

/* pathline */
#path_line {
    display: block;
    width: 100%;
    margin: 10px;
}
#path_line .item {
    padding: 3px 5px;
}
#path_line i {
    padding: 0 3px;
}
#path_line a{
    font-size: 1.2em;
    margin-top: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 3px 5px;
}
/* pathline */


/* Статус меню */
.status {
    text-align: center;
    display: inline-block;
    width: 120px;
    line-height: 13px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.state {
    width: 12px;
}
/* STATUS Sub menu */
.status_wrap {
    display: inline-block;
    position: relative;
}
.status_wrap.disabled a {
  background: #C5C7CB;
}
.status_wrap.disabled a:hover{
  background: #C5C7CB;
}
.status-submenu {
    border-radius: 2px;
    position: absolute;
    display: none;
    z-index: 10;
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    padding: 0px;
    width: 120px;
    list-style-type: none;
    border: 1px black solid;
    background-color: #73879C;
    border-radius: 4px;
  }
.status-submenu a{
    padding: 0px !important;
    background-color: rgb(241, 255, 239);
    color: var(--ra-indigo);
    width: 117px;
    display: block;
    margin: 2px 1px;
    text-align: center;
    list-style-type: none;
}
.status-submenu a:hover,
.status-submenu a:focus {
    color: var(--ra-indigo);
}
.status-menu:focus ~ .status-submenu, 
.status-menu:active ~ .status-submenu, 
.status-submenu:hover 
{ 
   display: block; 
} 
#request .status-menu {
    margin: -12px;
    padding: 8px;
}
#request .status-submenu {
    right: -24px;
    top: 30px;
    width: 130px;
}
#request .status-submenu a{
    width: 118px;
    padding: 4px;
    border-radius: 2px;
    border: solid 1px #BBB;
}
#request .status-submenu a:hover{
    background: #efcb00;
}
/* STATUS Sub menu */

.icon-selector .fa {
  display: none;
}
.icon-selector .fa.active{
  display: inline-block;
}
.sound-toggle {
  cursor: pointer;
}
.badge {
  transition: border-color 1.5s, opacity 1.5s, background-color 1.5s ease-in-out;
}
div.checkbox {
  padding-top: 5px;
  padding-bottom: 5px;
}
.chosen-container {
  border: solid 1px var(--de-line);
  border-radius: var(--bs-border-radius);
  min-height: 34px;
}
.chosen-container-active .chosen-choices {
  box-shadow: none;
  -webkit-box-shadow: none;
  min-height: 34px;
}
.chosen-container-multi .chosen-choices {
  background: none;
  border: none;
}

.chosen-container-multi .chosen-choices li.search-choice {
  line-height: inherit;
}
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
  min-height: 32px;
}
.status {
    width: 120px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.state {
    width: 12px;
}

/* Parsley */
.validate {
    margin-top: 10px
}

.invalid-form-error-message {
    margin-top: 10px;
    padding: 5px
}
.invalid-form-error-message.filled {
    border-left: 2px solid #E74C3C
}
p.parsley-success {
    color: #468847;
    background-color: #DFF0D8;
    border: 1px solid #D6E9C6
}
p.parsley-error {
    color: #B94A48;
    background-color: #F2DEDE;
    border: 1px solid #EED3D7
}
ul.parsley-errors-list {
    list-style: none;
    color: #E74C3C;
    padding-left: 0;
    position: absolute;
    font-size: 0.8em;
    right: 10px;
}
input.parsley-error,
textarea.parsley-error,
select.parsley-error {
    background: #FAEDEC;
    border: 1px solid #E85445
}
.btn-group .parsley-errors-list {
    display: none
}
.bad input,
.bad select,
.bad textarea {
    border: 1px solid #CE5454;
    box-shadow: 0 0 4px -2px #CE5454;
    position: relative;
    left: 0;
    animation: .7s 1 shake linear;
    -moz-animation: .7s 1 shake linear;
    -webkit-animation: 0.7s 1 shake linear
}


/* Pnotify */
.pnotify-closer, .pnotify-sticker {
    z-index: 99999; /* A value higher than your modal and backdrop */
}

/* Скнытый контент */
.hidden { display:none; }

/* Clipboard */
.dropdown-menu .select_all {
  width: 96%;
  margin: 2%;
  color: var(--de-font-light);
}
.dropdown-menu .select_all input{
    appearance: none;
    position: relative;
    width: 12px;
    height: 12px;
    border: 1px solid;
    border-radius: 3px;
    vertical-align: middle;
    margin-top: -2px;
    margin-right: 10px;
    margin-left: 8px;
    color: inherit;
    font-size: 20px;
    line-height: 1em;
}
.dropdown-menu .select_all input:checked:after {
    display: block;
    content: "✓";
    margin-top: -8px;
}

.dropdown-menu.clipboard-menu {
  width: 420px;
  border: solid 1px var(--de-font-dark);
}
.dropdown-menu.clipboard-menu h3 {
  font-size: 1em;
  color: var(--de-font-light);
  width: 100%;
  text-align: center;
  line-height: 10px;
}
.dropdown-menu.clipboard-menu .clipboard-items {
  max-height: min(500px, calc(100vh - 180px));
  max-height: min(500px, calc(100dvh - 180px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--de-scroll-1) var(--de-scroll-2);
}
.dropdown-menu.clipboard-menu .clipboard-items::-webkit-scrollbar {
  width: 8px;
}
.dropdown-menu.clipboard-menu .clipboard-items::-webkit-scrollbar-track {
  background: var(--de-scroll-2);
  border-radius: 4px;
}
.dropdown-menu.clipboard-menu .clipboard-items::-webkit-scrollbar-thumb {
  background: var(--de-scroll-1);
  border-radius: 4px;
}
.dropdown-menu.clipboard-menu .clipboard-items::-webkit-scrollbar-thumb:hover {
  filter: brightness(0.85);
}
.dropdown-menu.clipboard-menu .clipboard, .dropdown-menu.clipboard-menu .clipboard_inactive {
  width: 96%;
  margin: 2%;
  border-radius: 5px;
  border: solid var(--de-clip-bgr) 1px;
}
.dropdown-menu.clipboard-menu .clipboard div.name, .dropdown-menu.clipboard-menu .clipboard_inactive div.name {
  width: 300px; /* или любая другая ширина */
  white-space: nowrap; /* запрет переноса строк */
  overflow: hidden; /* скрытие лишнего текста */
  text-overflow: ellipsis; /* добавление троеточия */
}
.dropdown-menu.clipboard-menu .buttons {
  align-items: center;
  justify-content : space-around  ;
  display: flex;
  margin: 10px;
}
.dropdown-menu.clipboard-menu ul {
  padding: 1px;
  margin: 2px;
}
.dropdown-menu.clipboard-menu li {
  display: flex;
  border-radius: 4px;
  border: solid 1px var(--de-clip-bgr);
  color: var(--de-font-black);
  background-color: var(--de-area-background);
  list-style: none;
  margin-top: 4px;
  align-items: center;
}
.dropdown-menu.clipboard-menu .clipboard_inactive li {
  color: var(--de-font-light);
  background-color: var(--de-bgr-disabled);
}
.dropdown-menu.clipboard-menu li * {
  margin: 4px;
}
.dropdown-menu.clipboard-menu ul li input {
    appearance: none;
    position: relative;
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 1px solid;
    border-radius: 3px;
    vertical-align: middle;
    margin-top: 1px;
    color: inherit;
    font-size: 20px;
    line-height: 1em;
}
.dropdown-menu.clipboard-menu ul li input:checked:after {
    display: block;
    content: "✓";
    margin-top: -8px;
}
.dropdown-menu.clipboard-menu ul li {
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}
.dropdown-menu.clipboard-menu ul li div.name{
  flex-grow: 1;
}
.dropdown-menu.clipboard-menu ul div.cl_alert{
  flex-grow: 1;
  color: var(--de-font-dark);
  text-align: center;
}
.dropdown-menu.clipboard-menu ul li.clip-draggable {
  cursor: grab;
}
.dropdown-menu.clipboard-menu ul li.clip-draggable.is-dragging {
  cursor: grabbing;
  opacity: 0.55;
}
table.datatable.clipboard-drop-target {
  outline: 2px dashed var(--de-clip-bgr);
  outline-offset: -2px;
  transition: outline-color 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
table.datatable.clipboard-dragover {
  outline: 2px solid #2a9d8f;
  outline-offset: -2px;
  box-shadow: inset 0 0 0 3px rgba(42, 157, 143, 0.25);
  filter: brightness(1.03);
}
.clipboard-link-picker {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.clipboard-link-picker__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 63, 84, 0.28);
}
.clipboard-link-picker__panel {
  --clip-link-bg: #ffffff;
  --clip-link-panel: #f7f7f7;
  --clip-link-border: #d9dee4;
  --clip-link-item-bg: #ffffff;
  --clip-link-item-border: #2a3f54;
  --clip-link-text: #2a3f54;
  --clip-link-muted: #73879c;
  --clip-link-hover: #e8f5f3;
  --clip-link-hover-border: #2a9d8f;

  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 420px;
  max-width: 100%;
  max-height: min(70vh, 480px);
  margin: 0;
  padding: 10px 0 8px;
  border: 1px solid var(--clip-link-border);
  border-radius: 6px;
  background-color: var(--clip-link-bg);
  box-shadow: 0 10px 28px rgba(42, 63, 84, 0.22);
  color: var(--clip-link-text);
  overflow: hidden;
}
.clipboard-link-picker__panel h3 {
  flex: 0 0 auto;
  margin: 0 0 8px;
  padding: 0 12px;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--clip-link-text);
}
.clipboard-link-picker__panel .clipboard {
  flex: 1 1 auto;
  width: auto;
  margin: 0 10px;
  padding: 4px;
  border: 1px solid var(--clip-link-border);
  border-radius: 5px;
  background-color: var(--clip-link-panel);
  overflow: auto;
  min-height: 0;
}
.clipboard-link-picker__panel .clipboard ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.clipboard-link-picker__panel .clip-link-item {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 4px;
  padding: 2px 4px;
  border: 1px solid var(--clip-link-item-border);
  border-radius: 4px;
  background-color: var(--clip-link-item-bg);
  color: var(--clip-link-text);
  cursor: pointer;
  list-style: none;
}
.clipboard-link-picker__panel .clip-link-item:first-child {
  margin-top: 0;
}
.clipboard-link-picker__panel .clip-link-item > * {
  margin: 4px;
}
.clipboard-link-picker__panel .clip-link-item > i {
  flex: 0 0 auto;
  width: 1.1em;
  text-align: center;
  color: var(--clip-link-muted);
}
.clipboard-link-picker__panel .clip-link-item .name {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clipboard-link-picker__panel .clip-link-item:hover {
  background-color: var(--clip-link-hover);
  border-color: var(--clip-link-hover-border);
}
.clipboard-link-picker__panel .clip-link-item:hover > i {
  color: var(--clip-link-hover-border);
}
.clipboard-link-picker__panel .buttons {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 10px 4px;
}
.clipboard-link-picker__panel .buttons .btn {
  min-width: 120px;
}
/* Малое окно выбора */
.mini_modal {
    display: none;
    min-width: 400px;
    position: absolute;
    top: calc(50% - 100px);
    left: 50%;
    z-index: 10000;
    transform: translate(-50%, -50%);
}
.mini_modal .content{
    padding: 2em;
    background-color: #FFF;
    position: relative;
    text-align: center;
    border: #5d5d5d solid 1px;
    border-radius: 10px;
}
.mini_modal .content .btn{
    margin-top: 1em;
}
.rights-select > [name=all].selected {
    background-color: #398439;
    color: #FFFFFF;
}
.rights-select > [name=none].selected {
    background-color: #ff9090;
    color: #000000
}
.rights-select > [name=custom].selected {
    background-color: #f9f785;
    color: #000000;
}
.btn-xs {
    --bs-btn-padding-y: 0.05rem;
    --bs-btn-padding-x: 0.4rem;
    --bs-btn-font-size: 0.775rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm) 0.25rem;
}

/* Summernote tables */
.note-editable table {
  width: 100%;
  border-collapse: collapse;
}

.note-editable th,
.note-editable td {
  border: 1px solid #505579;
  padding: 8px;
  text-align: left;
}

.note-editable th {
  background-color: #f8ffdc;
  font-weight: bold;
}

.note-editable tr:nth-child(even) {
  background-color: #eeeeee;
}
/* Request text */
.request_text {
  background-color: var(--de-input);
  color:#000;
  border-radius: 0.375rem;
  border: solid 1px #000;
  min-height: 350px;
}

/* User card */
.user_card {
    margin-top: 0px;
    margin-bottom: 0px;
    display: inline-block;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 5px;
    border-radius: 5px;
    border: #000000 solid 1px;
    color: #000000;
    background-color: #ffffe4;
    user-select: none;
}
.user_card p {
  margin-bottom: 5px;
}
/* Выбор проектов */

.project_select {
  color: #9e9e9e;
}
.project_select.selected {
  color: rgb(0, 0, 0);
}
.request_inner {
  padding: 10px;
}
/* Поправка кнопки закрытия в modals */
.modal-header {
  padding-bottom: 2px;
  align-items: start;
}
.modal-header h3{
  font-weight: bold;
  font-size: large;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.modal-header-block {
  display: flex;
  flex-direction: column;
  width: calc(100% - 20px);
}
/* Кнопки и контролы */
.button_card {
  margin: 10px;
  min-width: 100px;
  display: inline-block;
  height: 100%;
}
.padding-10 {
  padding: 10px;
}
.login-check {
  text-align: left;
}
.login-check label{
  color: var(--de-font-light);
  padding-left: 10px;
}
.centered_input {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 20px;
}

/* Кроссбраузерный вариант «как Bootstrap»: свои кнопки в input-group */
.number-input-group input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
  text-align: center;
  padding-right: 0.75rem;
}

.number-input-group input[type="number"]::-webkit-inner-spin-button,
.number-input-group input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.number-input-group .input-group-text {
  color: #bbb;
  background-color: var(--de-input-focus);
  border: solid 1px var(--de-line);
  border-right: 0;
}

.number-input-group .btn.number-step {
  min-width: 2.25rem;
  padding: 0.375rem 0.5rem;
  line-height: 1;
  font-weight: 600;
  color: var(--de-font-dark);
  background-color: var(--de-input);
  border-color: var(--de-line);
}

.number-input-group .form-control {
  border-left: 0;
  border-right: 0;
  z-index: 1;
}

.number-input-group .form-control:focus {
  z-index: 2;
}

.tagify-input-group {
  flex-wrap: nowrap;
  align-items: stretch;
}

.tagify-input-group > .tagify {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius);
}

.tagify-input-group > .tagify.tagify--focus {
  z-index: 3;
}

.tagify-input-group > .tagify-count-cell {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  min-width: 0;
  margin: 0;
  padding: 0;
  background-color: var(--de-input);
  border: solid 1px var(--de-line);
  border-left: 0;
  border-radius: 0;
}

.tagify-input-group > .tagify-count-cell .tagify-count-input {
  width: 2.2rem;
  min-width: 2.2rem;
  margin: 0;
  padding: 0.25rem 0.1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--de-font-dark);
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
  box-shadow: none;
}

.tagify-input-group > .tagify-count-cell .tagify-count-input::-webkit-inner-spin-button,
.tagify-input-group > .tagify-count-cell .tagify-count-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.tagify-input-group > .tagify-count-cell .tagify-count-input:focus {
  outline: 0;
  box-shadow: none;
  z-index: 2;
}

.tagify-input-group > .tagify-count-cell:focus-within {
  z-index: 3;
  border-color: var(--bs-border-color, #86b7fe);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.tagify-input-group > .tagify-count-cell .tagify-count-arrows {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  border-left: solid 1px var(--de-line);
}

.tagify-input-group > .tagify-count-cell .tagify-count-arrows .btn.number-step {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  margin: 0;
  padding: 0;
  line-height: 1;
  border: 0;
  border-radius: 0;
  color: var(--de-font-dark);
  background-color: var(--de-input);
}

.tagify-input-group > .tagify-count-cell .tagify-count-arrows .btn.number-step + .btn.number-step {
  border-top: solid 1px var(--de-line);
}

.tagify-input-group > .tagify-count-cell .tagify-count-arrows .btn.number-step .fa {
  font-size: 0.55rem;
  line-height: 1;
}

.tagify-input-group > .btn {
  flex: 0 0 auto;
}

.dt-upload-toolbar-group {
  display: inline-flex;
  align-items: stretch;
  vertical-align: middle;
  margin-right: 0.25em;
}

.dt-upload-tagify-cell {
  flex: 0 1 auto;
  min-width: 10rem;
  max-width: 18rem;
  margin: 0;
}

.dt-upload-tagify-cell > .tagify {
  height: 100%;
  min-height: 2.125rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right-width: 0;
}

.dt-upload-toolbar-group > .btn-upload-files {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  align-self: stretch;
}

/* Контекстное меню — стиль Microsoft Edge / Windows 11 */
.table_context_menu {
  --ctx-menu-bg: #f9f9f9;
  --ctx-menu-border: rgba(0, 0, 0, 0.0578);
  --ctx-menu-shadow: 0 8px 16px rgba(0, 0, 0, 0.14);
  --ctx-menu-text: #1a1a1a;
  --ctx-menu-icon: #424242;
  --ctx-menu-shortcut: #5c5c5c;
  --ctx-menu-hover: rgba(0, 0, 0, 0.0373);
  --ctx-menu-hover-accent: rgba(0, 103, 192, 0.08);
  --ctx-menu-separator: rgba(0, 0, 0, 0.08);
  --ctx-menu-radius: 8px;
  --ctx-menu-min-width: 220px;

  display: none;
  position: fixed;
  z-index: 10000;
  min-width: var(--ctx-menu-min-width);
  padding: 4px;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: var(--ctx-menu-text);
  background-color: var(--ctx-menu-bg);
  border: 1px solid var(--ctx-menu-border);
  border-radius: var(--ctx-menu-radius);
  box-shadow: var(--ctx-menu-shadow);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  user-select: none;
}

@media (prefers-color-scheme: dark) {
  .table_context_menu {
    --ctx-menu-bg: #2d2d2d;
    --ctx-menu-border: rgba(255, 255, 255, 0.08);
    --ctx-menu-shadow: 0 8px 16px rgba(0, 0, 0, 0.48);
    --ctx-menu-text: #f3f3f3;
    --ctx-menu-icon: #c8c8c8;
    --ctx-menu-shortcut: #9a9a9a;
    --ctx-menu-hover: rgba(255, 255, 255, 0.06);
    --ctx-menu-hover-accent: rgba(96, 169, 255, 0.12);
    --ctx-menu-separator: rgba(255, 255, 255, 0.1);
  }
}

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

.table_context_menu .ctx-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  padding: 4px 10px 4px 8px;
  border-radius: 4px;
  cursor: default;
  white-space: nowrap;
}

.table_context_menu .ctx-menu-item:hover,
.table_context_menu .ctx-menu-item:focus-visible {
  background-color: var(--ctx-menu-hover-accent);
  outline: none;
}

.table_context_menu .ctx-menu-item:active {
  background-color: var(--ctx-menu-hover);
}

.table_context_menu .ctx-menu-item.ctx-menu-disabled {
  color: var(--ctx-menu-shortcut);
  pointer-events: none;
}

.table_context_menu .ctx-menu-item.ctx-menu-disabled .ctx-menu-icon {
  opacity: 0.45;
}

.table_context_menu .ctx-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  font-size: 14px;
  color: var(--ctx-menu-icon);
}

.table_context_menu .ctx-menu-icon.is-pinned {
  color: var(--de-red);
}

.table_context_menu .ctx-menu-icon.is-subscribed {
  color: var(--de-accent, #996633);
}

.table_context_menu .ctx-menu-label {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table_context_menu .ctx-menu-shortcut {
  flex-shrink: 0;
  margin-left: 24px;
  font-size: 11px;
  color: var(--ctx-menu-shortcut);
  letter-spacing: 0.02em;
}

.table_context_menu .ctx-menu-separator {
  height: 1px;
  margin: 4px 8px;
  background-color: var(--ctx-menu-separator);
  list-style: none;
}

/* совместимость со старым селектором */
.table_context_menu .menu-item:hover {
  background-color: var(--ctx-menu-hover-accent);
}
.nopmargin {
  margin: 0 !important;
}

/* Подсказки горячих клавиш под кнопками модальных окон (водяной знак, −30%) */
.modal-cancel-hint,
.modal-save-hint,
.modal-continue-hint,
.modal-clear-hint,
.modal-wizard-prev-hint,
.modal-wizard-next-hint {
  font-size: 7.7px;
  line-height: 1.45;
  color: var(--de-font-dark);
  opacity: 0.42;
  user-select: none;
}

.modal-cancel-hint .key-hint,
.modal-save-hint .key-hint,
.modal-continue-hint .key-hint,
.modal-clear-hint .key-hint,
.modal-wizard-prev-hint .key-hint,
.modal-wizard-next-hint .key-hint {
  display: inline-block;
  min-width: 1.45em;
  padding: 0 4px;
  font-family: inherit;
  font-size: 7px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--de-font-dark);
  text-align: center;
  vertical-align: baseline;
  background: color-mix(in srgb, var(--de-bgr-disabled-l) 38%, transparent);
  border: 1px solid color-mix(in srgb, var(--de-line) 50%, transparent);
  border-radius: 3px;
  box-shadow: none;
}

.modal-cancel-hint .key-hint-plus,
.modal-save-hint .key-hint-plus,
.modal-continue-hint .key-hint-plus,
.modal-clear-hint .key-hint-plus,
.modal-wizard-prev-hint .key-hint-plus,
.modal-wizard-next-hint .key-hint-plus {
  margin: 0 2px;
  font-size: 7px;
  color: var(--de-font-dark);
  opacity: 0.65;
}

.modal-cancel-hint .key-hint-text,
.modal-save-hint .key-hint-text,
.modal-continue-hint .key-hint-text,
.modal-clear-hint .key-hint-text,
.modal-wizard-prev-hint .key-hint-text,
.modal-wizard-next-hint .key-hint-text {
  margin-left: 4px;
  color: var(--de-font-dark);
  opacity: 0.75;
}

/* Project team */
.button_card .form-group, .button_card .form-check {
  margin-bottom: 0 !important;
}

/* Project phases block */
.project_phases_box {
  padding: 5px;
}
.project_phases_section {
  padding: 5px;
}
.project_phases_label {
  display: block;
  margin-bottom: 5px;
}
.project_phases_row + .project_phases_row {
  border-top: 1px solid var(--de-line);
}
@media (min-width: 992px) {
  .project_phases_row:first-child .project_phases_section + .project_phases_section {
    border-left: 1px solid var(--de-line);
  }
}
@media (max-width: 991.98px) {
  .project_phases_row:first-child .project_phases_section + .project_phases_section {
    border-top: 1px solid var(--de-line);
  }
}
.project_phases_box .form-group,
.project_phases_box .form-check {
  margin-bottom: 0 !important;
}
.project_phases_box .phase_1_end_at {
  margin-top: 0;
}

/* Compact request control bar */
.request_control_bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 12px;
  margin-bottom: 10px;
  background: var(--de-bgr-panel);
  border: 1px solid var(--de-line);
  border-radius: 5px;
}
.request_control_stats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--de-font-dark);
}
.request_control_item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.request_control_label {
  color: var(--de-font-light);
  font-weight: 600;
}
.request_control_value {
  font-weight: 700;
}
.request_control_sep {
  color: var(--de-font-light);
}
.request_control_actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Мастер вкладок в модальном окне */
.modal-wizard.x_panel {
  margin-bottom: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.modal-wizard .x_title.modal-wizard__titlebar {
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 0.65rem;
  padding: 0;
}
.modal-wizard .x_title.modal-wizard__titlebar h2 {
  display: none;
}
.modal-wizard__nav {
  border-bottom: 1px solid #e5e5e5;
  gap: 0;
}
.modal-wizard__nav .nav-item {
  margin-bottom: -1px;
}
.modal-wizard__nav .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #73879c;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.25;
  padding: 5px 0.85rem;
}
.modal-wizard__nav .nav-link:hover {
  color: #2a3f54;
  background: transparent;
  border-bottom-color: transparent;
}
.modal-wizard__nav .nav-link.active {
  color: #2a3f54;
  background: transparent;
  border-bottom-color: #26b99a;
}
.modal-wizard__content {
  padding: 0.25rem 0 0;
}
.modal-wizard__content .tab-pane {
  outline: none;
}
.import-summary__file {
  font-weight: 600;
  color: #2a3f54;
}
.import-summary__columns {
  line-height: 1.5;
  word-break: break-word;
}

/* Уведомления — прокрутка списка оповещений */
.notifications-alerts-scroll {
  max-height: min(42vh, 360px);
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: #aab2bd #eef1f5;
}
.notifications-alerts-scroll::-webkit-scrollbar {
  width: 8px;
}
.notifications-alerts-scroll::-webkit-scrollbar-track {
  background: #eef1f5;
  border-radius: 4px;
}
.notifications-alerts-scroll::-webkit-scrollbar-thumb {
  background: #aab2bd;
  border-radius: 4px;
}
.notifications-alerts-scroll::-webkit-scrollbar-thumb:hover {
  background: #8a94a1;
}
.notifications-alerts-scroll option.alert-sub-default {
  font-weight: 700;
}
.notifications-alert-time {
  column-gap: 0.75rem;
  row-gap: 0.5rem;
}
.notifications-alert-time .notifications-alert-time-group {
  flex: 0 0 auto;
  gap: 0.35rem !important;
}
.notifications-alert-time .notifications-alert-time-input {
  width: 5.5rem;
  min-width: 5.5rem;
  max-width: 5.5rem;
  padding-left: 0.35rem;
  padding-right: 0.2rem;
  flex: 0 0 auto;
}
.notifications-alert-time .notifications-alert-delay-input {
  width: 3.25rem;
  min-width: 3.25rem;
  max-width: 3.25rem;
  padding-left: 0.35rem;
  padding-right: 0.2rem;
  flex: 0 0 auto;
}
/* Убрать стрелки number — иначе поле раздувается */
.notifications-alert-time .notifications-alert-delay-input::-webkit-outer-spin-button,
.notifications-alert-time .notifications-alert-delay-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.notifications-alert-time .notifications-alert-delay-input {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Импорт запросов — компактная модалка */
.modal-import-requests.modal-dialog {
  max-width: 720px;
}
.modal-import-requests .modal-body {
  padding: 0.75rem 1rem 0.85rem;
}
.modal-import-requests .modal-header,
.modal-import-requests .modal-footer {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.modal-import-requests .modal-title {
  font-size: 1.05rem;
}

/* Сопоставление столбцов Excel */
.column-mapping__main {
  align-items: stretch;
}
.column-mapping__main > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.column-mapping__hint {
  margin: 0 0 0.65rem;
  font-size: 12px;
  color: #73879c;
  line-height: 1.45;
}
.column-mapping__panel {
  border: 1px solid #e5e5e5;
  border-radius: 0.375rem;
  background: #fff;
  padding: 0.6rem 0.75rem 0.7rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.column-mapping__panel_unused {
  margin-top: 0.65rem;
}
.column-mapping__heading {
  font-size: 13px;
  font-weight: 600;
  color: #2a3f54;
  margin-bottom: 0.45rem;
}
.column-mapping__targets {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.column-mapping__pair {
  display: flex;
  width: 100%;
  min-height: 32px;
}
.column-mapping__field-name {
  flex: 0 0 50%;
  max-width: 50%;
  box-sizing: border-box;
  border: 1px solid #c5d0e0;
  border-right: none;
  border-radius: 999px 0 0 999px;
  padding: 0.35rem 0.7rem;
  font-size: 12px;
  font-weight: 600;
  color: #2a3f54;
  line-height: 1.25;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.column-mapping__field-name_type_int {
  background: #e3f5ea;
  border-color: #a8d4b8;
  color: #1f5f3f;
}
.column-mapping__field-name_type_date {
  background: #fff8e1;
  border-color: #e6d49a;
  color: #6b5a1a;
}
.column-mapping__field-name_type_text {
  background: #e9eef5;
  border-color: #c5d0e0;
  color: #2a3f54;
}
.column-mapping__field-name_type_number {
  background: #fff0e6;
  border-color: #e8c4a8;
  color: #6b4226;
}
.column-mapping__field-name_type_boolean {
  background: #f3e8ff;
  border-color: #d4b8e8;
  color: #5b3480;
}
.column-mapping__field-name_type_enum {
  background: #e8f4fc;
  border-color: #a8cce0;
  color: #1a4a6b;
}
.column-mapping__drop {
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.column-mapping__source,
.column-mapping__unused {
  border: 1px dashed #d2d6de;
  border-radius: 0.375rem;
  background: #fafbfc;
  padding: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-content: flex-start;
}
.column-mapping__source {
  flex: 1 1 auto;
  min-height: 150px;
}
.column-mapping__unused {
  min-height: 48px;
}
.column-mapping__field-drop {
  flex: 0 0 50%;
  max-width: 50%;
  box-sizing: border-box;
  background: #f0f2f5;
  border: 1px solid #d2d6de;
  border-left: 1px solid #c5cad3;
  border-radius: 0 999px 999px 0;
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 0.2rem 0.65rem 0.2rem 0.55rem;
}
.column-mapping__field-drop_type_int {
  background: #dff5e8;
  border-color: #9fd4b5;
}
.column-mapping__field-drop_type_date {
  background: #fff8dc;
  border-color: #e6d080;
}
.column-mapping__field-drop_type_text {
  background: #edf4fb;
  border-color: #c5d9ef;
}
.column-mapping__field-drop_type_number {
  background: #fff0e6;
  border-color: #e8c4a8;
}
.column-mapping__field-drop_type_boolean {
  background: #f0e4fa;
  border-color: #c9a8e0;
}
.column-mapping__field-drop_type_enum {
  background: #dff0fa;
  border-color: #9fc8e0;
}
.column-mapping__field-drop_type_empty {
  background: #f0f2f5;
  border-color: #d2d6de;
}
.column-mapping__field-slot {
  width: 100%;
  min-height: 20px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.column-mapping__field-drop.dragover,
.column-mapping__field-drop.column-mapping__drop.dragover {
  background: #d4f0df;
  border-color: #26b99a;
  box-shadow: inset 0 0 0 1px rgba(38, 185, 154, 0.25);
}
.column-mapping__pair:has(.column-mapping__field-drop.has-chips) .column-mapping__field-name {
  filter: saturate(1.05);
}
.column-mapping__pair:has(.column-mapping__field-drop.has-chips) .column-mapping__field-drop:not([class*="column-mapping__field-drop_type_"]) {
  background: #d9f0e3;
}
.column-mapping__source.dragover,
.column-mapping__unused.dragover {
  border-color: #337ab7;
  background: #e8f4ff;
}
.column-mapping__drop.has-chips .column-mapping__empty {
  display: none;
}
.column-mapping__empty {
  width: 100%;
  font-size: 11px;
  color: #73879c;
  text-align: center;
  padding: 0.35rem 0.25rem;
}
.column-mapping__empty_muted {
  opacity: 0.85;
}
.column-mapping__chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #c5d9ef;
  background: #edf4fb;
  color: #2a3f54;
  font-size: 11px;
  font-weight: 600;
  cursor: grab;
  user-select: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35;
}
.column-mapping__chip_type_int {
  background: #dff5e8;
  border-color: #9fd4b5;
  color: #1f5f3f;
}
.column-mapping__chip_type_date {
  background: #fff8dc;
  border-color: #e6d080;
  color: #6b5a1a;
}
.column-mapping__chip_type_text {
  background: #edf4fb;
  border-color: #c5d9ef;
  color: #2a3f54;
}
.column-mapping__chip_type_number {
  background: #fff0e6;
  border-color: #e8c4a8;
  color: #6b4226;
}
.column-mapping__chip_type_boolean {
  background: #f0e4fa;
  border-color: #c9a8e0;
  color: #5b3480;
}
.column-mapping__chip_type_enum {
  background: #dff0fa;
  border-color: #9fc8e0;
  color: #1a4a6b;
}
.column-mapping__chip_type_empty {
  background: #f0f2f5;
  border-color: #d2d6de;
  color: #73879c;
}
.column-mapping__field-slot .column-mapping__chip {
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 12px;
  border-radius: 0;
}
.column-mapping__field-slot .column-mapping__chip_type_int { color: #1f5f3f; }
.column-mapping__field-slot .column-mapping__chip_type_date { color: #6b5a1a; }
.column-mapping__field-slot .column-mapping__chip_type_text { color: #2a3f54; }
.column-mapping__field-slot .column-mapping__chip_type_number { color: #6b4226; }
.column-mapping__field-slot .column-mapping__chip_type_boolean { color: #5b3480; }
.column-mapping__field-slot .column-mapping__chip_type_enum { color: #1a4a6b; }
.column-mapping__field-slot .column-mapping__chip_type_empty { color: #73879c; }
.column-mapping__chip.is-dragging {
  opacity: 0.55;
  cursor: grabbing;
}

/* Client / admin instruction pages */
.instruction-page h2 {
  margin-top: 0;
}
.instruction-page h3 {
  margin-top: 1.6em;
  scroll-margin-top: 80px;
}
.instruction-page h4 {
  scroll-margin-top: 80px;
}
.instruction-page h3.center,
.instruction-toc-title {
  text-align: center;
}
.instruction-page .instruction-toc {
  margin-bottom: 1.5em;
}
.instruction-page .instruction-note {
  border-left: 3px solid var(--ra-amber, #F5A800);
  padding: 0.4em 0.8em;
  margin: 0.8em 0;
  background: color-mix(in srgb, var(--ra-amber, #F5A800) 12%, transparent);
}
.instruction-page .instruction-icon {
  height: 1.15em;
  width: auto;
  vertical-align: text-bottom;
  margin: 0 0.15em;
}
.instruction-page i.instruction-icon {
  display: inline-block;
  height: auto;
  width: 1.15em;
  font-size: 1.15em;
  line-height: 1;
  text-align: center;
  color: inherit;
}
.instruction-page .instruction-icon-lg {
  height: 1.6em;
}
.instruction-page i.instruction-icon-lg {
  width: 1.6em;
  font-size: 1.6em;
  height: auto;
}
.instruction-page figure.instruction-figure {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 0.9em auto 1.2em;
  padding: 0.5em;
  background: #ffffff;
  border: 1px solid var(--de-sep-panel, #E6E9ED);
  border-radius: 4px;
  box-sizing: border-box;
  text-align: center;
}
.instruction-page figure.instruction-figure-diagram {
  background: transparent;
  border: none;
  padding: 0;
}
.instruction-page figure.instruction-figure img,
.instruction-page img.instruction-shot {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;
}
.instruction-page figure.instruction-figure figcaption {
  margin-top: 0.5em;
  text-align: center;
  color: var(--de-font-dark, #73879C);
  font-size: 0.92em;
}
.instruction-page table.instruction-table {
  width: 100%;
  margin: 0.8em 0 1.2em;
  border-collapse: collapse;
}
.instruction-page table.instruction-table th,
.instruction-page table.instruction-table td {
  border: 1px solid var(--de-sep-panel, #E6E9ED);
  padding: 0.45em 0.6em;
  vertical-align: top;
}
.instruction-page table.instruction-table th {
  background: var(--de-table-bgr-search, #EDEDED);
  font-weight: 600;
}
.instruction-page .scenario {
  margin: 1em 0 1.4em;
  padding-left: 0.2em;
}
.instruction-page .scenario h4 {
  margin-bottom: 0.4em;
}
.instruction-page ol.steps {
  margin-bottom: 0.4em;
}
/* Envelope alerts dropdown (как буфер обмена) */
.dropdown-menu.envelope-menu {
  width: 360px;
  border: solid 1px var(--de-font-dark);
}
.dropdown-menu.envelope-menu .envelope-list {
  width: 96%;
  margin: 2%;
  border-radius: 5px;
  border: solid var(--de-clip-bgr) 1px;
}
.dropdown-menu.envelope-menu ul.envelope-alerts-list {
  list-style: none;
  padding: 1px;
  margin: 2px;
}
.dropdown-menu.envelope-menu ul.envelope-alerts-list .cl_alert {
  flex-grow: 1;
  color: var(--de-font-dark);
  text-align: center;
}
.dropdown-menu.envelope-menu li.envelope-alert-card {
  display: flex;
  align-items: center;
  margin-top: 4px;
  border-radius: 4px;
  border: solid 1px var(--de-clip-bgr);
  background-color: var(--de-area-background);
  color: var(--de-font-black);
  list-style: none;
}
.dropdown-menu.envelope-menu li.envelope-alert-card:first-child {
  margin-top: 0;
}
.dropdown-menu.envelope-menu .envelope-alert-item {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  white-space: normal;
  line-height: 1.3;
  color: var(--de-font-black);
  text-decoration: none;
  cursor: pointer;
}
.dropdown-menu.envelope-menu .envelope-alert-item > * {
  margin: 4px;
}
.dropdown-menu.envelope-menu li.envelope-alert-card.unread .envelope-alert-item {
  font-weight: 600;
}
.dropdown-menu.envelope-menu .envelope-alert-item .fa {
  flex: 0 0 auto;
  opacity: 0.8;
  color: var(--de-font-dark);
}
.dropdown-menu.envelope-menu .envelope-alert-item .envelope-alert-text {
  flex: 1 1 auto;
  min-width: 0;
}
.dropdown-menu.envelope-menu .envelope-alert-item .envelope-alert-text a {
  color: var(--de-font-link, #0d6efd);
  text-decoration: underline;
}
.dropdown-menu.envelope-menu li.envelope-alert-more {
  text-align: center;
  margin-top: 4px;
}
.dropdown-menu.envelope-menu li.envelope-alert-more a {
  display: block;
  padding: 0.15rem;
  color: var(--de-font-light);
  text-decoration: none;
}
.dropdown-menu.envelope-menu .buttons {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 10px;
}
.dropdown-menu.envelope-menu .buttons .btn {
  flex: 1 1 0;
  min-width: 0;
  margin: 0 4px;
}
.dropdown-menu.envelope-menu .buttons .envelope-mark-read.disabled,
.dropdown-menu.envelope-menu .buttons .envelope-mark-read[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
  background-color: var(--de-bgr-disabled);
  border-color: var(--de-bgr-disabled);
  color: var(--de-font-light);
}

/* Отменённые atomic_events / события */
table.datatable tr.canceled td {
  opacity: 0.55;
  text-decoration: line-through;
}

/* Просмотр скрина и лога обращения */
.de-ticket-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--de-sep-panel, #ddd);
  background: transparent;
  cursor: zoom-in;
}
.de-ticket-thumb img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.de-ticket-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  flex-direction: column;
  background: rgba(16, 16, 20, 0.92);
  color: #eee;
  pointer-events: auto;
}
.de-ticket-overlay.is-open,
.de-ticket-overlay.is-open[hidden] {
  display: flex !important;
}
.de-ticket-overlay-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  flex: 0 0 auto;
}
.de-ticket-overlay-title {
  font-weight: 600;
  margin-right: auto;
}
.de-ticket-overlay-tools {
  display: flex;
  gap: 6px;
}
.de-ticket-overlay-body {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
}
.de-ticket-overlay.is-shot .de-ticket-log-view,
.de-ticket-overlay.is-log .de-ticket-shot-stage {
  display: none;
}
.de-ticket-shot-stage,
.de-ticket-log-view {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.4) rgba(255, 255, 255, 0.08);
}
.de-ticket-shot-stage::-webkit-scrollbar,
.de-ticket-log-view::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.de-ticket-shot-stage::-webkit-scrollbar-track,
.de-ticket-log-view::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
.de-ticket-shot-stage::-webkit-scrollbar-thumb,
.de-ticket-log-view::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.de-ticket-shot-stage::-webkit-scrollbar-thumb:hover,
.de-ticket-log-view::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.58);
  border: 2px solid transparent;
  background-clip: padding-box;
}
.de-ticket-shot-stage::-webkit-scrollbar-corner,
.de-ticket-log-view::-webkit-scrollbar-corner {
  background: transparent;
}
.de-ticket-shot-stage {
  width: 100%;
  height: 100%;
  overflow: auto;
  cursor: grab;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.de-ticket-shot-stage.is-dragging {
  cursor: grabbing;
}
.de-ticket-shot-stage img {
  width: 100%;
  max-width: 100%;
  height: auto;
  transform-origin: center top;
  user-select: none;
  pointer-events: none;
}
.de-ticket-log-view {
  margin: 0;
  height: 100%;
  overflow: auto;
  padding: 16px 20px 24px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 13px;
  line-height: 1.45;
  background: #111;
  color: #d8d8d8;
}
.maintaince-update-log {
  max-height: 240px;
  overflow: auto;
  margin-bottom: 12px;
  padding: 8px 10px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.4;
  background: #111;
  color: #d8d8d8;
}
