:root {
	/* Цвета */
	--primary-color: #2e2e2f;
	--secondary-color: #6c7886;
	--neutral-color: #7c7c7c;
	--negative-color: #ef733e;
	--positive-color: #00ca62;

	--white: #ffffff;
	--black: #000000;

	/* Типография */
	--font-family-base: 'Montserrat', Helvetica, sans-serif;

	--font-size-small: 12px;
	--font-size-medium: 14px;
	--font-size-large: 17px;
	--font-size-huge: 20px;

	--font-weight-base: 400;
	
	/* Размеры */
	--border-radius: 45.55px;
	--box-shadow: 3.49px 4.88px 7.05px 0 #e6e9f2;
	--transition: all 0.5s ease;
}
/* Сброс стилей по умолчанию */
*,
*:before,
*:after {
  box-sizing: border-box;
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
}

body {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

hr {
  box-sizing: content-box;
  height: 0;
}

input:not([type=checkbox]):not([type=radio]),
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

button {
  overflow: visible;
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  background-color: transparent;
  cursor: pointer;
  outline: none;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

a {
  text-decoration: none;
  color: currentColor;
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

b,
strong {
  font-weight: bold;
}

main {
  min-width: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}
/* Общие стили */
.tab-wrapper {
  border-radius: 9px;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
}

.text_huge {
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-base);
  font-size: var(--font-size-huge);
  line-height: 18.4px;
  text-align: center;

  color: var(--primary-color);
}

.text_large {
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-base);
  font-size: var(--font-size-large);
  line-height: 18.4px;
  text-align: center;

  color: var(--primary-color);
}

.text_medium {
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-base);
  font-size: var(--font-size-medium);
  line-height: 18.4px;
  text-align: center;

  color: var(--primary-color);
}

.text_small {
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-base);
  font-size: var(--font-size-small);
  line-height: 18.4px;
  text-align: center;

  color: var(--primary-color);
}

.text-line {
  padding: 5px;
}

.fw-600 {
  font-weight: 600 !important;
}

.fw-500 {
  font-weight: 500 !important;
}

.fw-400 {
  font-weight: 400 !important;
}

.color_primary {
  color: var(--primary-color) !important;
}

.color_secondary {
  color: var(--secondary-color) !important;
}

.neutral {
  color: var(--neutral-color) !important;
}

.negative {
  color: var(--negative-color) !important;
}

.positive {
  color: var(--positive-color) !important;
}

.tilesWidget > .pane > ._dwp_scrollPane > .items > .tile {
  justify-content: flex-start;
}

.tilesWidget > .pane > ._dwp_scrollPane > .items > .tile > .elt {
  width: 100%;
}
.grid-container {
    display: grid;
    grid-template: 1fr / repeat(3, 1fr);
    gap: 12px;
}

.grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    
    width: 100%;
    height: 100%;
    padding: 16px;

    border: 1px solid brown;
}

.col-2 {
    grid-column: 1 / 3;
}
/* Кнопка */
.button_medium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  height: auto;
  padding: 8px 15px;

  font-family: var(--font-family-base);
  font-weight: var(--font-weight-base);
  font-size: var(--font-size-small);
  white-space: nowrap;

  border: 1px solid transparent;
  border-radius: 9.07px;

  color: var(--white);
  background-color: #0b1f35;

  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1);

  transition: var(--transition);
}

.button_medium:hover {
  border: 1px solid #e9eef5;

  color: #0b1f35;
  background-color: #f7f9fc;
}

.button-reset {
  color: var(--primary-color);
  background-color: #F1F5F9;

  transition: var(--transition);
}

.button-reset:hover {
  opacity: 0.8;
}

.button-reset:disabled {
  opacity: 0.6;
  pointer-events: none;
}
/* Фильтр */
.filter {
  display: flex;
  align-items: center;
  gap: 8px;

  font-family: var(--font-family-base);
}

.filter__title {
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-base);
  font-size: var(--font-size-small);

  color: var(--secondary-color);
}

.filter__select {
  position: relative;
  display: inline-block;
  border: 1px solid #e9eef5;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--white);
}

.filter__select::after {
  content: '▼';
  font-size: var(--font-size-small);
  color: #666;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.filter__select select {
  padding: 8px 30px 8px 12px;
  font-family: var(--font-family-base);
  font-size: var(--font-size-small);
  border: none;
  color: black;
  background-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  min-width: 200px;
}

.filter__select select::-ms-expand {
  display: none;
}

.filter__select option {
  font-family: var(--font-family-base);
  font-size: var(--font-size-small);
}

.filter__btn-reset {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  border: 1px solid #e9eef5;
  border-radius: 10px;
}

.filter__btn-reset::after {
  content: '';
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4L12 12' stroke='%23000000' stroke-width='1' stroke-linecap='round'/%3E%3Cpath d='M12 4L4 12' stroke='%23000000' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}
/* Плашка показателей */
.indicators {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  min-width: 500px;
  padding: 1.5rem;
}

.indicators__title {
  font-family: var(--font-family-base);
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 18.4px;

  color: var(--primary-color);
}

.indicators__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.indicator__title {
  flex-shrink: 0;

  width: 150px;

  font-family: var(--font-family-base);
  font-weight: 500;
  font-size: 10px;

  color: var(--primary-color);
}

.indicator__progress {
  position: relative;

  flex: 1 1 0%;
  height: 0.75rem;

  border-radius: var(--border-radius);

  background-color: #6c78861a;
}

.indicator__progress-thumb {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 0.75rem;

  border-radius: var(--border-radius);
  background-color: var(--neutral-color);
}

.indicator__progress-thumb.negative {
  background-color: var(--negative-color);
}

.indicator__progress-thumb.positive {
  background-color: var(--positive-color);
}

.indicator__progress-value {
  font-family: var(--font-family-base);
  font-weight: 500;
  font-size: 7.8px;

  color: var(--white);
}

.indicator__icon {
  width: 0.375rem;
  height: 5px;
}
/* Легенда карты */
.legend {
  gap: 12px;
}

.legend--progressbar {
  display: grid;
  grid-template: auto / repeat(2, 1fr);
}

.legend--circles {
  display: flex;
  flex-direction: column;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-item__title {
  flex-shrink: 0;

  width: 85px;

  font-family: var(--font-family-base);
  font-weight: 500;
  font-size: var(--font-size-small);

  color: var(--primary-color);
}

.legend-item__circle {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 14px;
  height: 14px;

  border-radius: 50%;
}

.legend-item__progress {
  position: relative;

  width: 100%;
  height: 14px;

  border-radius: var(--border-radius);

  background-color: rgba(108, 120, 134, 0.1);
}

.legend-item__progress-thumb {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  border-radius: var(--border-radius);
}
/* Блок загруженности */
.load-block {
  display: flex;
  flex-direction: column;
  gap: 10px;

  padding: 14px 18px;
}

.load-block__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.load-block__link {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  border: 0.7px solid #e9eef5;
  border-radius: 50%;
}

.load-block__link::before {
  content: '';
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='9' height='9' viewBox='0 0 9 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.07806 0.686921L7.84107 0.763221C7.84368 0.763206 7.8465 0.763031 7.84912 0.763066C7.85687 0.763172 7.86447 0.765403 7.87216 0.765937C7.97486 0.771909 8.07049 0.815132 8.14335 0.88578C8.14803 0.890178 8.15425 0.893095 8.15874 0.897801L8.159 0.898744L8.21171 0.966425C8.25868 1.03829 8.28681 1.12438 8.28668 1.21727C8.28699 1.23552 8.28372 1.25349 8.28203 1.27114L8.38772 7.30661C8.39191 7.55472 8.20569 7.75247 7.97033 7.74937C7.73489 7.74627 7.54112 7.54331 7.5368 7.29509L7.44991 2.29354L1.56008 8.54124C1.34604 8.76823 1.03516 8.80858 0.866305 8.63187C0.697497 8.45492 0.734215 8.12654 0.948337 7.89947L6.84374 1.64621L2.09327 1.58422C1.85802 1.58088 1.66499 1.37776 1.66068 1.12969C1.65656 0.881656 1.84277 0.683845 2.07806 0.686921Z' fill='%232E2E2F'/%3E%3C/svg%3E%0A");
  background-position: center;
  background-repeat: no-repeat;
}

.load-block__tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.load-block__bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.load-block__bottom-title {
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-base);
  font-size: 10px;

  color: var(--secondary-color);
}

.load-block__progress-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.load-block__progress-title {
  flex-shrink: 0;

  font-family: var(--font-family-base);
  font-weight: 500;
  font-size: var(--font-size-small);

  color: var(--positive-color);
}

.load-block__progress {
  position: relative;

  width: 100%;
  height: 5px;

  border-radius: var(--border-radius);

  background-color: rgba(108, 120, 134, 0.1);
}

.load-block__progress-thumb {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 100%;

  border-radius: var(--border-radius);
  background-color: var(--positive-color);
}
/* Карта */
.map {
  display: flex;
  flex-direction: column;
  gap: 16px;

  width: 100%;
}
/* Статистика */
.statistics {
  padding: 1.5rem;
}

.statistics__list {
  display: flex;
  flex-direction: column;
}

.statistics__row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;

  padding-block: 0.5rem;

  border-bottom: 1px solid #e9eef5;
}

.statistics__row.head {
  padding-block: 0 0.5rem;
}

.statistics__cell {
  font-family: 'Inter', Helvetica;
  font-weight: var(--font-weight-base);
  font-size: 8px;
  white-space: nowrap;
  text-align: center;

  color: var(--primary-color);
}

.statistics__cell.head {
  text-align: left;
}

.statistics__row.head .statistics__cell {
  text-align: center;

  color: var(--secondary-color);
}
/* Мини таб */
.tab-mini {
  display: flex;
  flex-direction: column;
  gap: 4px;

  width: 100%;
  padding: 5px 18px;

  border-radius: 9px;

  box-shadow: var(--box-shadow);
}

.tab-mini__value{
  margin: 0;
  padding: 0;

  font-family: var(--font-family-base);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
  text-align: start;

  color: var(--primary-color);
}

.tab-mini__text {
  font-family: var(--font-family-base);
  font-weight: 600;
  font-size: var(--font-size-small);

  color: var(--secondary-color);
}
/* ТАБЫ */
.tab {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  width: 100%;
  padding: 10px 16px;
}

.tab__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tab__title {
  font-family: var(--font-family-base);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-color);
}

.tab--secondary .tab__title {
  margin: 0;
  padding: 0;

  font-family: var(--font-family-base);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
  text-align: start;

  color: var(--primary-color);
}

.tab__value-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tab__value {
  margin: 0;
  padding: 0;

  font-family: var(--font-family-base);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  text-align: start;

  color: var(--primary-color);
}

.tab__diff {
  display: flex;
  gap: 12px;
}
.tab__diff-l {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  min-width: 46px;
  padding: 4px;

  font-family: var(--font-family-base);
  font-weight: 600;
  font-size: 12px;

  border-radius: 8px;

  box-shadow: var(--box-shadow);
}

.tab__diff-l.neutral {
  background-color: var(--white);
}
.tab__diff-l.positive {
  background-color: rgba(0, 202, 98, 0.08);
}

.tab__diff-l.negative {
  background-color: rgba(239, 115, 62, 0.08);
}

.tab__diff-r {
  display: flex;
  align-items: center;

  font-family: var(--font-family-base);
  font-weight: 400;
  font-size: 12px;

  color: var(--primary-color);
}

.tab__right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tab__periodicity,
.tab__date {
  font-family: var(--font-family-base);
  font-weight: 400;
  font-size: 10px;

  color: var(--secondary-color);
}

.tab__link {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  border: 0.7px solid #e9eef5;
  border-radius: 50%;
}

.tab__link::before {
  content: '';
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='9' height='9' viewBox='0 0 9 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.07806 0.686921L7.84107 0.763221C7.84368 0.763206 7.8465 0.763031 7.84912 0.763066C7.85687 0.763172 7.86447 0.765403 7.87216 0.765937C7.97486 0.771909 8.07049 0.815132 8.14335 0.88578C8.14803 0.890178 8.15425 0.893095 8.15874 0.897801L8.159 0.898744L8.21171 0.966425C8.25868 1.03829 8.28681 1.12438 8.28668 1.21727C8.28699 1.23552 8.28372 1.25349 8.28203 1.27114L8.38772 7.30661C8.39191 7.55472 8.20569 7.75247 7.97033 7.74937C7.73489 7.74627 7.54112 7.54331 7.5368 7.29509L7.44991 2.29354L1.56008 8.54124C1.34604 8.76823 1.03516 8.80858 0.866305 8.63187C0.697497 8.45492 0.734215 8.12654 0.948337 7.89947L6.84374 1.64621L2.09327 1.58422C1.85802 1.58088 1.66499 1.37776 1.66068 1.12969C1.65656 0.881656 1.84277 0.683845 2.07806 0.686921Z' fill='%232E2E2F'/%3E%3C/svg%3E%0A");
  background-position: center;
  background-repeat: no-repeat;
}

.tab__block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tab__block-title {
  font-family: var(--font-family-base);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-color);
}

.tab__block-value {
  margin: 0;
  padding: 0;

  font-family: var(--font-family-base);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
  text-align: start;

  color: var(--positive-color);
}