@charset "UTF-8";
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100%;
  font-family: "Source Sans 3", sans-serif;
  color: #333;
}
body.is-locked {
  overflow: hidden;
}

a {
  text-decoration: none;
}

figure {
  margin: 0;
}

img {
  max-width: 100%;
}

code {
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
  color: #333;
  background-color: #f6f9fc;
  padding: 1px 5px;
}

input:focus,
textarea:focus {
  outline: 0;
}

.m-main {
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  padding-bottom: 40px;
}

.m-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  color: #333;
  border: 1px solid #e2e2e2;
  border-radius: 32px;
  background-color: #fff;
  -webkit-transition: color 0.2s, background-color 0.2s, border-color 0.2s;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
  padding: 9px 18px;
  cursor: pointer;
}
.m-btn.is-dirty:after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ffc800;
}
.m-btn:hover {
  color: #333;
  border-color: #333;
}
.m-btn:disabled, .m-btn[aria-disabled=true] {
  opacity: 0.45;
  border-color: #e2e2e2;
  cursor: default;
}
.m-btn--primary {
  color: #fff;
  border-color: #ed1b24;
  background-color: #ed1b24;
  padding: 9px 24px;
}
.m-btn--primary:hover {
  color: #fff;
  border-color: #cf1018;
  background-color: #cf1018;
}
.m-btn--primary:disabled:hover {
  border-color: #ed1b24;
  background-color: #ed1b24;
}
.m-btn--dark {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  color: #fff;
  border-color: #333;
  border-radius: 0;
  background-color: #333;
}
.m-btn--dark:hover {
  color: #fff;
  border-color: #333;
  background-color: #4d4d4d;
}
.m-btn--ghost {
  color: #ed1b24;
  border-color: transparent;
  background-color: transparent;
}
.m-btn--ghost:visited {
  color: #ed1b24;
}
.m-btn--ghost:hover {
  color: #333;
}
.m-btn--ghost:active {
  color: #333;
}
.m-btn--ghost:hover {
  border-color: #e2e2e2;
}
.m-btn--danger {
  color: #ed1b24;
  border-color: transparent;
  background-color: transparent;
}
.m-btn--danger:hover {
  color: #ed1b24;
  border-color: #ed1b24;
}
.m-btn--small {
  font-size: 13px;
  line-height: 18px;
  padding: 6px 12px;
}
.m-btn--icon {
  padding: 6px 9px;
}

.m-btns {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 4px;
}
.m-btns--stacked {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 8px;
}

.m-badge {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  white-space: nowrap;
  color: #4d4d4d;
  border-radius: 20px;
  background-color: #e2e2e2;
  padding: 3px 10px;
}
.m-badge--success {
  color: #1b7a36;
  background-color: #e5f3e9;
}
.m-badge--warning {
  color: #7a5d00;
  background-color: #fff4cc;
}
.m-badge--danger {
  color: #ed1b24;
  background-color: #fde8e9;
}
.m-badge--muted {
  color: #898989;
  background-color: #f6f9fc;
}

.m-chips {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 6px;
}

.m-chip {
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
  line-height: 16px;
  color: #333;
  border: 1px solid #e2e2e2;
  border-radius: 20px;
  background-color: #fff;
  padding: 3px 10px;
  cursor: pointer;
}
.m-chip.is-active {
  color: #fff;
  border-color: #ed1b24;
  background-color: #ed1b24;
}
.m-chip:hover {
  border-color: #333;
}
.m-chip--warning {
  border-color: #f1d77a;
  background-color: #fff4cc;
}

.m-tag {
  display: inline-block;
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
  line-height: 18px;
  color: #fff;
  border-radius: 20px;
  background-color: #333;
  padding: 2px 10px;
}

.m-count {
  display: inline-block;
  min-width: 22px;
  font-family: "Source Code Pro", monospace;
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  color: #4d4d4d;
  border-radius: 20px;
  background-color: #e2e2e2;
  padding: 1px 7px;
}

.m-flag {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
}

.m-dot {
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #1b7a36;
}
.m-dot--warning {
  background-color: #ffc800;
}
.m-dot--danger {
  background-color: #ed1b24;
}

.m-input {
  width: 100%;
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  line-height: 18px;
  color: #333;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  background-color: #fff;
  padding: 10px 12px;
}
.m-input.is-invalid {
  border-color: #ed1b24;
  background-color: #fff6f6;
}
.m-input.is-warning {
  border-color: #f1d77a;
  background-color: #fffbea;
}
.m-input:focus {
  border-color: #898989;
}
.m-input--small {
  width: 96px;
  font-size: 13px;
  padding: 5px 8px;
}
.m-input--mono {
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
}
.m-input--qty {
  width: 56px;
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
  text-align: center;
  padding: 5px 8px;
}
.m-input--ref {
  font-family: "Source Code Pro", monospace;
  font-size: 20px;
  font-weight: 600;
}

.m-form__field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.m-form__label {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: #4d4d4d;
  margin: 0;
}
.m-form__label sup {
  top: 0;
  color: #dc143c;
}
.m-form__inline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}
.m-form__hint {
  font-size: 12px;
  line-height: 16px;
  color: #898989;
}
.m-form__hint.error {
  color: #dc143c;
}

.m-secret {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.m-secret .m-input {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.m-check {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
  cursor: pointer;
}
.m-check input[type=checkbox] {
  width: 15px;
  height: 15px;
  accent-color: #ed1b24;
}
.m-check--range {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  width: 100%;
  font-size: 12px;
  color: #898989;
  margin: 12px 0;
}
.m-check--range input[type=range] {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  accent-color: #ed1b24;
}

.m-card {
  background-color: #fff;
  -webkit-box-shadow: 0 20px 20px -20px #0000001f;
  box-shadow: 0 20px 20px -20px #0000001f;
  padding: 24px;
  margin-bottom: 24px;
}
.m-card__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.m-card__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  margin: 0;
}
.m-card__text {
  font-size: 13px;
  line-height: 18px;
  color: #898989;
}
.m-card__text p {
  margin: 0;
}
.m-card--compact {
  padding: 16px 18px;
  margin-bottom: 16px;
}
.m-card--compact .m-card__head {
  margin-bottom: 12px;
}
.m-card--compact .m-card__title {
  font-size: 16px;
}

.m-empty {
  text-align: center;
  background-color: #fff;
  -webkit-box-shadow: 0 20px 20px -20px #0000001f;
  box-shadow: 0 20px 20px -20px #0000001f;
  padding: 56px 24px;
}
.m-empty__title {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.m-empty__text {
  font-size: 14px;
  color: #898989;
  margin-bottom: 16px;
}
.m-empty__text p {
  margin: 0;
}

.m-kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  font-size: 14px;
  line-height: 20px;
  margin: 0;
}
.m-kv dt {
  font-weight: 400;
  color: #898989;
}
.m-kv dd {
  font-weight: 600;
  margin: 0;
}
.m-kv__mono {
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
  word-break: break-all;
}
.m-kv--spread {
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: 13px;
  line-height: 18px;
}
.m-kv--spread dd {
  text-align: right;
}

.m-grid {
  display: grid;
  gap: 24px;
}
.m-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media screen and (max-width: 767px) {
  .m-grid--cols-2 {
    grid-template-columns: 1fr;
  }
}
.m-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media screen and (max-width: 991px) {
  .m-grid--cols-3 {
    grid-template-columns: 1fr;
  }
}
.m-grid--auto {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.m-grid--fit {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.m-list {
  max-height: 38vh;
  overflow: auto;
  margin: 0 -8px;
}
.m-list__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 18px;
  padding: 6px 8px;
  cursor: pointer;
}
.m-list__item.is-active {
  background-color: #fdeeee;
}
.m-list__item:hover {
  background-color: #f6f9fc;
}
.m-list__ref {
  min-width: 38px;
  font-family: "Source Code Pro", monospace;
  font-weight: 600;
}
.m-list__code {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
  color: #898989;
}
.m-list__note {
  font-size: 12px;
  color: #898989;
}

.m-history {
  list-style-type: none;
  padding: 0;
  margin: 0;
  max-height: 260px;
  overflow: auto;
}
.m-history__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  border-top: 1px solid #e2e2e2;
  padding: 6px 0;
}
.m-history__action {
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  text-transform: capitalize;
}
.m-history__meta {
  font-size: 12px;
  line-height: 16px;
  color: #898989;
}
.m-history__note {
  font-size: 13px;
  line-height: 18px;
  color: #4d4d4d;
  margin-top: 2px;
}

.m-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.m-table__scroll {
  max-height: calc(100vh - 330px);
  overflow: auto;
}
.m-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  font-size: 13px;
  line-height: 18px;
  text-align: left;
  background-color: #fff;
  padding: 8px 12px;
}
.m-table th.m-table__num {
  text-align: right;
}
.m-table th.m-table__center {
  text-align: center;
}
.m-table td {
  vertical-align: middle;
  padding: 4px 12px;
}
.m-table__qty {
  width: 96px;
  text-align: center;
  white-space: nowrap;
}
.m-table__model {
  font-family: "Source Code Pro", monospace;
  font-size: 10px;
  white-space: nowrap;
  color: #4d4d4d;
}
.m-table__actions {
  width: 40px;
}
.m-table__code {
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
  white-space: nowrap;
}
.m-table__code a:not(.m-badge) {
  color: inherit;
  text-decoration: none;
}
.m-table__code a:not(.m-badge):visited {
  color: inherit;
}
.m-table__code a:not(.m-badge):hover {
  color: #333;
}
.m-table__code a:not(.m-badge):active {
  color: #333;
}
.m-table__code a:not(.m-badge):hover {
  text-decoration: underline;
}
.m-table__chain {
  display: block;
  font-size: 11px;
  color: #898989;
}
.m-table__muted {
  font-size: 12px;
  color: #4d4d4d;
}
.m-table__num {
  width: 1%;
  text-align: right;
  white-space: nowrap;
}
.m-table__center {
  width: 1%;
  text-align: center;
  white-space: nowrap;
}
.m-table__ok {
  font-size: 16px;
  color: #1b7a36;
}
.m-table__ko {
  font-size: 16px;
  color: #ed1b24;
}
.m-table__models {
  min-width: 180px;
  max-width: 320px;
  font-family: "Source Code Pro", monospace;
  font-size: 11px;
  line-height: 16px;
  color: #4d4d4d;
}
.m-table__models span {
  white-space: nowrap;
}
.m-table__models a {
  color: inherit;
  text-decoration: none;
}
.m-table__models a:visited {
  color: inherit;
}
.m-table__models a:hover {
  color: #333;
}
.m-table__models a:active {
  color: #333;
}
.m-table__models a:hover {
  text-decoration: underline;
}
.m-table__title {
  color: #333;
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}
.m-table__title:visited {
  color: #333;
}
.m-table__title:hover {
  color: #ed1b24;
}
.m-table__title:active {
  color: #ed1b24;
}
.m-table__scroll.dialog {
  max-height: 45vh;
  margin-top: 8px;
}
.m-table tr.is-duplicate td {
  background-color: #fff8e0;
}
.m-table tr.is-conflict td {
  background-color: #fde8e9;
}
.m-table tr.is-absent td {
  background-color: #f6f9fc;
}
.m-table tr.is-orphan td:first-child {
  -webkit-box-shadow: inset 3px 0 0 #ffc800;
  box-shadow: inset 3px 0 0 #ffc800;
}
.m-table--list td {
  border-top: 1px solid #e2e2e2;
  padding: 8px 12px;
}
.m-table--compact {
  width: auto;
}
.m-table__meter {
  width: 35%;
  min-width: 140px;
}
.m-table__meter .m-meter {
  display: inline-block;
  width: calc(100% - 48px);
  vertical-align: middle;
}
.m-table__meter .m-table__muted {
  display: inline-block;
  width: 40px;
  text-align: right;
  vertical-align: middle;
}
.m-table--legend > thead > tr > th {
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #898989;
  padding: 0 12px 8px 0;
}
.m-table--legend .m-table__view {
  width: 150px;
  font-size: 12px;
  font-weight: 600;
  color: #4d4d4d;
}
.m-table--legend > tbody > tr > th {
  position: static;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #898989;
  padding: 16px 0 6px;
}
.m-table--legend > tbody > tr > td {
  font-size: 13px;
  line-height: 18px;
  vertical-align: middle;
  border-top: 1px solid #e2e2e2;
  padding: 8px 12px 8px 0;
}
.m-table--legend > tbody > tr > td:first-child {
  width: 210px;
}
.m-table--legend .m-table {
  width: auto;
}
.m-table--meters th,
.m-table--meters td {
  position: static;
  font-size: 13px;
  font-weight: 600;
  background-color: transparent;
  padding: 6px 12px 6px 0;
}
.m-table--meters .m-table__meter {
  width: 70%;
}
.m-table--meters .m-table__meter .m-meter {
  width: 100%;
}
.m-table--panel {
  font-size: 14px;
}
.m-table--panel th {
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #898989;
  padding: 10px 12px;
}
.m-table--panel th:first-child,
.m-table--panel td:first-child {
  padding-left: 20px;
}
.m-table--panel th:last-child,
.m-table--panel td:last-child {
  padding-right: 20px;
}

.m-datatable__loading {
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
  min-height: 320px;
  font-size: 14px;
  color: #898989;
}
.m-datatable.is-loading > * {
  display: none;
}
.m-datatable.is-loading > .m-datatable__loading {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.m-datatable table {
  font-size: 14px;
}
.m-datatable .dt-layout-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e2e2e2;
  padding: 12px 20px;
  margin: 0;
}
.m-datatable .dt-layout-row:last-child {
  border-top: 1px solid #e2e2e2;
  border-bottom: 0;
}
.m-datatable .dt-layout-row.dt-layout-table {
  border: 0;
  padding: 0;
}
.m-datatable .dt-layout-table {
  display: block;
  overflow-x: auto;
}
.m-datatable .dt-layout-cell {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px 20px;
}
.m-datatable .dt-layout-full {
  width: 100%;
}
.m-datatable .dt-search,
.m-datatable .dt-length,
.m-datatable .dt-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4d4d4d;
}
.m-datatable .dt-input {
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  line-height: 18px;
  color: #333;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  background-color: #fff;
  padding: 7px 10px;
}
.m-datatable .dt-search .dt-input {
  width: 320px;
  max-width: 70vw;
}
.m-datatable .dt-paging nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 4px;
}
.m-datatable .dt-paging-button {
  min-width: 32px;
  font-size: 13px;
  line-height: 18px;
  color: #333;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  background-color: #fff;
  padding: 5px 9px;
  cursor: pointer;
}
.m-datatable .dt-paging-button.current {
  color: #fff;
  border-color: #333;
  background-color: #333;
}
.m-datatable .dt-paging-button.disabled {
  color: #b6b6b6;
  cursor: default;
}
.m-datatable .dt-empty {
  color: #898989;
  text-align: center;
  padding: 24px;
}

.m-facets {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px 20px;
}
.m-facets__group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
}
.m-facets__label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #898989;
}

.m-search {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 320px;
  flex: 1 1 320px;
  max-width: 520px;
}
.m-search .m-input {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 7px 10px;
}

.m-chain {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.m-chain__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
}
.m-chain__item + .m-chain__item:before {
  content: "→";
  color: #898989;
}
.m-chain__code {
  font-family: "Source Code Pro", monospace;
  font-size: 13px;
  line-height: 18px;
  color: #4d4d4d;
  border: 1px solid #e2e2e2;
  border-radius: 20px;
  padding: 3px 10px;
}
.m-chain__code.before {
  border-style: dashed;
}
.m-chain__code.is-active {
  font-weight: 700;
  color: #333;
  border-color: #333;
}
.m-chain__code.current {
  color: #fff;
  border-color: #1b7a36;
  background-color: #1b7a36;
}
.m-chain__code.current:hover {
  color: #fff;
}
.m-chain__code:hover {
  border-color: #4d4d4d;
}

.m-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border-bottom: 2px solid #e2e2e2;
  margin-bottom: 12px;
}
.m-tabs__tab {
  border: 0;
  background: transparent;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  white-space: nowrap;
  color: #4d4d4d;
  border-bottom: 2px solid transparent;
  padding: 10px 16px;
  margin-bottom: -2px;
  cursor: pointer;
}
.m-tabs__tab:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: 0;
}
.m-tabs__tab.is-active {
  color: #ed1b24;
  border-bottom-color: #ed1b24;
}
.m-tabs__tab:hover {
  color: #333;
}

.m-modelpick {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #e2e2e2;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.m-modelpick__label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #898989;
}
.m-modelpick__select {
  max-width: 100%;
  font-family: "Source Code Pro", monospace;
  font-size: 13px;
  line-height: 18px;
  color: #333;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23898989' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 10px center;
  background-repeat: no-repeat;
  padding: 6px 32px 6px 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}
.m-modelpick__select:focus {
  border-color: #898989;
  outline: 0;
}
.m-modelpick__hint {
  font-size: 12px;
  color: #898989;
}

.m-notice {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 18px;
  color: #6b5200;
  background-color: #fff4cc;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.m-log {
  max-height: 240px;
  overflow: auto;
  font-family: "Source Code Pro", monospace;
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
  background-color: #f6f9fc;
  padding: 10px;
  margin: 0;
}

.m-dropzone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #4d4d4d;
  border: 1px dashed #b6b6b6;
  padding: 20px;
  margin: 0;
  cursor: pointer;
}
.m-dropzone i {
  font-size: 22px;
  color: #ed1b24;
}
.m-dropzone.is-over {
  border-color: #ed1b24;
  background-color: #fff6f6;
}

.m-dialog {
  width: min(480px, 92vw);
  border: 0;
  -webkit-box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  padding: 20px;
}
.m-dialog__title {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ed1b24;
  border-bottom: 1px solid #e2e2e2;
  padding: 16px 20px;
  margin: -20px -20px 20px;
}
.m-dialog__text {
  font-size: 14px;
  line-height: 20px;
}
.m-dialog__text p {
  margin: 0;
}
.m-dialog__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid #e2e2e2;
  padding: 12px 20px;
  margin: 20px -20px -20px;
}
.m-dialog:not([open]) {
  display: none;
}
.m-dialog::-ms-backdrop {
  background-color: rgba(0, 0, 0, 0.4);
}
.m-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.4);
}
.m-dialog--wide {
  width: min(760px, 92vw);
}
.m-dialog--viewer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 96vw;
  max-width: 96vw;
  height: 94vh;
  max-height: 94vh;
  overflow: hidden;
  padding: 0;
}
.m-dialog--split {
  width: 96vw;
  max-width: 96vw;
  height: 94vh;
  max-height: 94vh;
  overflow: hidden;
  padding: 0;
}
.m-dialog--split form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
}
.m-dialog--split .m-dialog__title,
.m-dialog--split .m-dialog__actions {
  margin: 0;
}
.m-dialog--split .m-dialog__body {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-height: 0;
}
.m-dialog--split .m-dialog__pane {
  height: 100%;
  overflow: auto;
  padding: 20px;
}
.m-dialog--split .m-dialog__pane.pdf {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid #e2e2e2;
  padding: 0;
}
@media (max-width: 991px) {
  .m-dialog--split .m-dialog__body {
    overflow: auto;
  }
  .m-dialog--split .m-dialog__pane {
    height: auto;
    overflow: visible;
  }
  .m-dialog--split .m-dialog__pane.pdf {
    height: 50vh;
    border-right: 0;
    border-bottom: 1px solid #e2e2e2;
  }
}

.m-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 8px;
}
.m-toast__item {
  max-width: 440px;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  border-left: 4px solid #898989;
  background-color: #333;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  -webkit-animation: toastIn 0.15s ease-out;
  animation: toastIn 0.15s ease-out;
}
.m-toast__item.ok {
  border-left-color: #3cc26a;
}
.m-toast__item.error {
  border-left-color: #ed1b24;
}

@-webkit-keyframes toastIn {
  from {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
    opacity: 0;
  }
}

@keyframes toastIn {
  from {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
    opacity: 0;
  }
}
.m-select {
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  background-color: #fff;
}
.m-select__chips {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  border-bottom: 1px solid #e2e2e2;
  padding: 10px 12px;
}
.m-select__chip {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4px;
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
  line-height: 18px;
  color: #fff;
  border-radius: 20px;
  background-color: #333;
  padding: 3px 4px 3px 10px;
}
.m-select__remove {
  border: 0;
  background: transparent;
  font-size: 15px;
  line-height: 1;
  color: #fff;
  opacity: 0.7;
  padding: 0 5px;
  cursor: pointer;
}
.m-select__remove:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: 0;
}
.m-select__remove:hover {
  opacity: 1;
}
.m-select__none {
  font-size: 13px;
  color: #898989;
}
.m-select__tools {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}
.m-select__search {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-size: 13px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  padding: 6px 10px;
}
.m-select__link {
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: #4d4d4d;
  text-decoration: underline;
  padding: 0 4px;
  cursor: pointer;
}
.m-select__link:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: 0;
}
.m-select__list {
  max-height: 300px;
  overflow: auto;
  padding: 0 4px 6px;
}
.m-select__option {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  font-family: "Source Code Pro", monospace;
  font-size: 13px;
  line-height: 18px;
  padding: 7px 8px;
  margin: 0;
  cursor: pointer;
}
.m-select__option input {
  width: 15px;
  height: 15px;
  accent-color: #ed1b24;
}
.m-select__option.is-active {
  font-weight: 600;
}
.m-select__option:hover {
  background-color: #f6f9fc;
}
.m-select__code {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.m-select__name {
  overflow: hidden;
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #898989;
}
.m-select__flag {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  font-family: "Source Sans 3", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #898989;
  margin-left: auto;
}
.m-select__more {
  font-size: 12px;
  color: #898989;
  border-top: 1px solid #e2e2e2;
  padding: 8px 8px 2px;
  margin: 4px 0 0;
}
.m-select__empty {
  font-size: 13px;
  color: #898989;
  padding: 8px;
}

.m-segmented {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #e2e2e2;
  border-radius: 32px;
  background-color: #fff;
}
.m-segmented__option {
  border: 0;
  background: transparent;
  color: #4d4d4d;
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: #4d4d4d;
  padding: 8px 14px;
  cursor: pointer;
}
.m-segmented__option:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: 0;
}
.m-segmented__option:visited {
  color: #4d4d4d;
}
.m-segmented__option:hover {
  color: #333;
}
.m-segmented__option:active {
  color: #333;
}
.m-segmented__option.is-active {
  font-weight: 700;
  color: #333;
  background-color: #e9ebee;
}
.m-segmented__option + .m-segmented__option {
  border-left: 1px solid #e2e2e2;
}

.m-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid #e2e2e2;
  background-color: #fff;
}
.m-nav__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
@media screen and (max-width: 991px) {
  .m-nav__inner {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }
  .m-nav .m-usermenu {
    margin-left: 0;
  }
}

.m-usermenu {
  position: relative;
  margin-left: auto;
}
.m-usermenu__toggle {
  border: 0;
  background: transparent;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  color: #898989;
  border: 1px solid transparent;
  border-radius: 32px;
  padding: 6px 12px;
  cursor: pointer;
  -webkit-transition: color 0.15s, border-color 0.15s;
  transition: color 0.15s, border-color 0.15s;
}
.m-usermenu__toggle:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: 0;
}
.m-usermenu__toggle:hover, .m-usermenu__toggle[aria-expanded=true] {
  color: #333;
  border-color: #e2e2e2;
}
.m-usermenu__caret {
  font-size: 11px;
}
.m-usermenu__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  min-width: 220px;
  border: 1px solid #e2e2e2;
  background-color: #fff;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 6px 0;
}
.m-usermenu__name {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: #4d4d4d;
  border-bottom: 1px solid #e2e2e2;
  padding: 6px 16px 10px;
  margin: 0 0 6px;
}
.m-usermenu__list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.m-usermenu__list form {
  margin: 0;
}
.m-usermenu__divider {
  border-top: 1px solid #e2e2e2;
  padding-top: 6px;
  margin-top: 6px;
}
.m-usermenu__link {
  border: 0;
  background: transparent;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  text-align: left;
  color: #333;
  padding: 7px 16px;
  cursor: pointer;
}
.m-usermenu__link:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: 0;
}
.m-usermenu__link:visited {
  color: #333;
}
.m-usermenu__link:hover {
  color: #ed1b24;
}
.m-usermenu__link:active {
  color: #ed1b24;
}
.m-usermenu__link i {
  width: 16px;
  color: #898989;
  text-align: center;
}
.m-usermenu__link.is-active {
  font-weight: 600;
  color: #ed1b24;
}
.m-usermenu__link:hover {
  background-color: #f6f9fc;
}
@media screen and (max-width: 991px) {
  .m-usermenu__panel {
    right: auto;
    left: 0;
  }
}

.m-brand {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 16px;
}
.m-brand__logo {
  width: 150px;
}
.m-brand__name {
  font-family: "Source Code Pro", monospace;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4d4d4d;
  border-left: 1px solid #e2e2e2;
  padding-left: 16px;
}
@media screen and (max-width: 575px) {
  .m-brand {
    gap: 10px;
  }
  .m-brand__logo {
    width: 110px;
  }
  .m-brand__name {
    padding-left: 10px;
  }
}

.m-menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-item-align: stretch;
  align-self: stretch;
  overflow-x: auto;
  overflow-y: hidden;
}
.m-menu__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.m-menu__item.is-active .m-menu__link {
  color: #ed1b24;
  border-bottom-color: #ed1b24;
}
.m-menu__item.is-active .m-menu__num {
  color: #fff;
  background-color: #ed1b24;
}
.m-menu__link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  color: #4d4d4d;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  padding: 0 16px;
  -webkit-transition: border-color 0.15s, color 0.15s;
  transition: border-color 0.15s, color 0.15s;
}
.m-menu__link:visited {
  color: #4d4d4d;
}
.m-menu__link:hover {
  color: #333;
}
.m-menu__link:active {
  color: #333;
}
.m-menu__link i {
  font-size: 16px;
}
.m-menu__link:hover {
  border-bottom-color: #e2e2e2;
}
.m-menu__num {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  font-family: "Source Code Pro", monospace;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  border-radius: 50%;
  background-color: #e2e2e2;
}
.m-menu__current {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
  max-width: 32ch;
  border-right: 1px solid #e2e2e2;
  padding: 0 16px 0 0;
  margin-right: 8px;
}
.m-menu__current a {
  color: #898989;
}
.m-menu__current a:visited {
  color: #898989;
}
.m-menu__current a:hover {
  color: #333;
}
.m-menu__current a:active {
  color: #333;
}
.m-menu__current span {
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #4d4d4d;
}
@media screen and (min-width: 1200px) {
  .m-menu__link {
    padding: 0 24px;
  }
}
@media screen and (max-width: 991px) {
  .m-menu__link {
    padding: 10px;
  }
  .m-menu__current {
    padding: 10px 10px 10px 0;
  }
}

.m-board {
  min-height: 100%;
  background-color: #f6f9fc;
  padding-bottom: 8px;
}

.m-tiles {
  overflow: hidden;
  background-color: #fff;
  margin-bottom: 24px;
}
.m-tiles__inner {
  margin: -1px 0 0 -1px;
}

.m-tile {
  height: 100%;
  border-top: 1px solid #e2e2e2;
  border-left: 1px solid #e2e2e2;
  padding: 20px 24px;
}
.m-tile__label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #898989;
  margin-bottom: 12px;
}
.m-tile__codes {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 4px;
  font-family: "Source Code Pro", monospace;
  font-size: 13px;
  line-height: 18px;
}
.m-tile__codes li {
  white-space: nowrap;
}
.m-tile__note {
  font-size: 12px;
  color: #ed1b24;
  margin: 12px 0 0;
}
.m-tile__media {
  display: block;
  height: 100%;
  min-height: 240px;
}
.m-tile__media img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  -o-object-fit: contain;
  object-fit: contain;
}
.m-tile__empty {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  min-height: 240px;
  font-size: 14px;
  color: #898989;
}
.m-tile--media {
  padding: 16px;
}

.m-stat__value {
  font-size: 32px;
  line-height: 38px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px;
}
.m-stat__of {
  font-size: 18px;
  font-weight: 400;
  color: #898989;
}
.m-stat__note {
  font-size: 12px;
  line-height: 16px;
  color: #898989;
  margin: 8px 0 0;
}

.m-numlink {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed #b6b6b6;
}
.m-numlink:visited {
  color: inherit;
}
.m-numlink:hover {
  color: #ed1b24;
}
.m-numlink:active {
  color: #ed1b24;
}
.m-numlink:hover {
  border-bottom-color: #ed1b24;
}

.m-meter {
  overflow: hidden;
  height: 8px;
  border-radius: 4px;
  background-color: #e9ebee;
}
.m-meter__fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background-color: #4d4d4d;
}
.m-meter__fill.low {
  background-color: #d98a84;
}
.m-meter__fill.mid {
  background-color: #e3c56f;
}
.m-meter__fill.high {
  background-color: #a9cf94;
}
.m-meter__fill.full {
  background-color: #4f9466;
}

.m-panel {
  background-color: #fff;
  margin-bottom: 24px;
}
.m-panel__title {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ed1b24;
  border-bottom: 1px solid #e2e2e2;
  padding: 16px 20px;
  margin: 0;
}
.m-panel__row {
  padding: 16px 20px;
}
.m-panel__row + .m-panel__row {
  border-top: 1px solid #e2e2e2;
}
.m-panel__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.m-panel__bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 12px 20px;
  border-bottom: 1px solid #e2e2e2;
  padding: 12px 20px;
}
.m-panel__bar.foot {
  border-top: 1px solid #e2e2e2;
  border-bottom: 0;
}
.m-panel__subtitle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  margin: 0 0 10px;
}
.m-panel__head .m-panel__subtitle {
  margin: 0;
}
.m-panel__hint {
  font-size: 12px;
  color: #898989;
}
.m-panel__num {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50%;
  background-color: #e2e2e2;
}
.m-panel__num.is-done {
  color: #fff;
  background-color: #1b7a36;
}
.m-panel__text {
  font-size: 13px;
  line-height: 18px;
  color: #4d4d4d;
}
.m-panel__text p {
  margin: 0;
}

.m-header {
  padding: 36px 0 28px;
}
.m-header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 24px;
}
.m-header__label {
  font-family: "Source Code Pro", monospace;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ed1b24;
  margin-bottom: 4px;
}
.m-header__title {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  margin: 0;
}
.m-header__text {
  max-width: 85ch;
  font-size: 16px;
  line-height: 24px;
  color: #4d4d4d;
  margin-top: 8px;
}
.m-header__text p {
  margin: 0;
}
.m-header__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
}
@media screen and (max-width: 767px) {
  .m-header {
    padding: 24px 0 20px;
  }
  .m-header__title {
    font-size: 26px;
    line-height: 32px;
  }
}

.m-section {
  padding: 0 0 32px;
}
.m-section__title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.m-diagram {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  color: inherit;
  background-color: #fff;
  -webkit-box-shadow: 0 20px 20px -20px #0000001f;
  box-shadow: 0 20px 20px -20px #0000001f;
  -webkit-transition: -webkit-box-shadow 0.15s;
  transition: -webkit-box-shadow 0.15s;
  transition: box-shadow 0.15s;
  transition: box-shadow 0.15s, -webkit-box-shadow 0.15s;
}
.m-diagram__thumb {
  display: grid;
  place-items: center;
  height: 180px;
  font-size: 13px;
  color: #898989;
  border-bottom: 1px solid #e2e2e2;
  background-color: #f6f9fc;
}
.m-diagram__image {
  width: 100%;
  height: 180px;
  -o-object-fit: contain;
  object-fit: contain;
}
.m-diagram__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 20px;
}
.m-diagram__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 8px;
}
.m-diagram__title {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  margin: 0;
}
.m-diagram__title a {
  color: #333;
}
.m-diagram__title a:visited {
  color: #333;
}
.m-diagram__title a:hover {
  color: #333;
}
.m-diagram__title a:active {
  color: #333;
}
.m-diagram__title a:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}
.m-diagram__meta {
  font-size: 13px;
  line-height: 18px;
  color: #898989;
  margin: 0;
}
.m-diagram__counts {
  font-size: 13px;
  line-height: 18px;
  margin: 0;
}
.m-diagram:hover {
  color: inherit;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.m-step {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
.m-step__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  margin: 0;
}
.m-step__num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  font-family: "Source Code Pro", monospace;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50%;
  background-color: #e2e2e2;
}
.m-step__thumb {
  height: 130px;
  border: 1px solid #e2e2e2;
  background-color: #f6f9fc;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.m-step__action {
  -ms-flex-item-align: start;
  align-self: flex-start;
  margin-top: auto;
}
.m-step.is-done .m-step__num {
  color: #fff;
  background-color: #ed1b24;
}

.m-checkblock__title {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}
.m-checkblock__row {
  font-size: 13px;
  line-height: 18px;
}

.m-pages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  max-height: calc(100vh - 330px);
  overflow: auto;
  padding: 2px;
}
.m-pages--small {
  grid-template-columns: repeat(auto-fill, minmax(min(var(--thumb-min, 96px), 100%), 1fr));
  min-height: 260px;
  max-height: calc(100vh - 360px);
}

.m-page {
  position: relative;
  text-align: center;
  font-family: "Source Code Pro", monospace;
  font-size: 11px;
  line-height: 16px;
  color: #4d4d4d;
  border: 2px solid #e2e2e2;
  background-color: #fff;
  padding: 6px;
  cursor: pointer;
}
.m-page__canvas {
  display: block;
  width: 100%;
  min-height: 60px;
  background-color: #fff;
  margin-bottom: 6px;
}
.m-page__label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  font-family: "Source Code Pro", monospace;
  font-size: 11px;
  margin: 0;
  cursor: pointer;
}
.m-page__label input {
  accent-color: #ed1b24;
}
.m-page__zoom {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 13px;
  color: #333;
  border: 1px solid #e2e2e2;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  -webkit-transition: opacity 0.12s;
  transition: opacity 0.12s;
  padding: 0;
  cursor: -webkit-zoom-in;
  cursor: zoom-in;
}
.m-page__zoom:hover {
  border-color: #333;
}
.m-page.is-selected {
  border-color: #ed1b24;
}
.m-page.is-current {
  -webkit-box-shadow: inset 0 0 0 2px #002eff;
  box-shadow: inset 0 0 0 2px #002eff;
}
.m-page.is-checked {
  border-color: #ed1b24;
  background-color: #fff6f6;
}
.m-page:hover {
  border-color: #b6b6b6;
}
.m-page:hover .m-page__zoom {
  opacity: 1;
}
@media (hover: none) {
  .m-page__zoom {
    opacity: 1;
  }
}

.m-imagebox {
  display: grid;
  place-items: center;
  min-height: 320px;
  max-height: calc(100vh - 330px);
  overflow: auto;
  background-color: #f6f9fc;
}
.m-imagebox img,
.m-imagebox canvas {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 360px);
  margin: auto;
}
.m-imagebox__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
}

.m-crop {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 0;
  margin: auto;
  -ms-touch-action: none;
  touch-action: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: crosshair;
}
.m-crop__box {
  position: absolute;
  border: 1px dashed #fff;
  -webkit-box-shadow: 0 0 0 1px #ed1b24, 0 0 0 9999px rgba(0, 0, 0, 0.45);
  box-shadow: 0 0 0 1px #ed1b24, 0 0 0 9999px rgba(0, 0, 0, 0.45);
  cursor: move;
}
.m-crop__handle {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid #ed1b24;
  background-color: #fff;
}
.m-crop__handle.nw {
  top: -6px;
  left: -6px;
  cursor: nwse-resize;
}
.m-crop__handle.ne {
  top: -6px;
  right: -6px;
  cursor: nesw-resize;
}
.m-crop__handle.sw {
  bottom: -6px;
  left: -6px;
  cursor: nesw-resize;
}
.m-crop__handle.se {
  right: -6px;
  bottom: -6px;
  cursor: nwse-resize;
}
.m-crop__size {
  position: absolute;
  top: 6px;
  left: 6px;
  font-family: "Source Code Pro", monospace;
  font-size: 11px;
  line-height: 16px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1px 6px;
  pointer-events: none;
}

.m-viewer__bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px 24px;
  border-bottom: 1px solid #e2e2e2;
  background-color: #fff;
  padding: 12px 20px;
}
.m-viewer__group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
}
.m-viewer__pos {
  min-width: 92px;
  font-family: "Source Code Pro", monospace;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.m-viewer__zoom {
  min-width: 48px;
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
  text-align: center;
  color: #4d4d4d;
}
.m-viewer__select {
  border: 1px solid #e2e2e2;
  border-radius: 32px;
  padding: 6px 14px;
}
.m-viewer__close {
  margin-left: auto;
}
.m-viewer__scroll {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow: auto;
  text-align: center;
  background-color: #e9e9e9;
  padding: 24px;
  cursor: -webkit-grab;
  cursor: grab;
}
.m-viewer__scroll canvas {
  display: inline-block;
  background-color: #fff;
  -webkit-box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}
.m-viewer__scroll.is-dragging {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: -webkit-grabbing;
  cursor: grabbing;
}
.m-viewer--embed {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 0;
  outline: 0;
}
.m-viewer--embed .m-viewer__bar {
  gap: 8px 16px;
  padding: 8px 12px;
}
.m-viewer--embed .m-viewer__scroll {
  padding: 16px;
}
.m-viewer.is-selected .m-viewer__select {
  color: #ed1b24;
  border-color: #ed1b24;
  background-color: #fff6f6;
}

.m-toolbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px 20px;
  border-bottom: 1px solid #e2e2e2;
  background-color: #fff;
  padding: 10px 20px;
}
.m-toolbar__group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
}
.m-toolbar__group.right {
  margin-left: auto;
}
.m-toolbar__zoom {
  min-width: 48px;
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
  text-align: center;
  color: #4d4d4d;
}
.m-toolbar__padding {
  width: 58px;
}

.m-mapping {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-height: 0;
}
.m-mapping__canvas {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.m-mapping__side {
  overflow: auto;
  border-left: 1px solid #e2e2e2;
  background-color: #fff;
}
.m-mapping__side .m-panel {
  border-bottom: 1px solid #e2e2e2;
  margin: 0;
}
@media screen and (max-width: 1100px) {
  .m-mapping {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

.m-stage {
  position: relative;
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
  background-color: #fff;
  -webkit-box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  margin: 20px;
}
.m-stage__scroll {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow: auto;
  background-color: #e9e9e9;
}
.m-stage__scroll.is-panning, .m-stage__scroll.is-panning svg {
  cursor: -webkit-grab;
  cursor: grab;
}
.m-stage__status {
  font-size: 12px;
  line-height: 16px;
  color: #4d4d4d;
  border-top: 1px solid #e2e2e2;
  background-color: #fff;
  padding: 7px 20px;
}
.m-stage img {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}
.m-stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -ms-touch-action: none;
  touch-action: none;
  cursor: crosshair;
}

.m-area rect.body {
  fill: rgba(0, 46, 255, 0.08);
  stroke: #002eff;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  cursor: move;
}
.m-area rect.label {
  fill: #002eff;
}
.m-area text {
  font-family: "Source Code Pro", monospace;
  font-weight: 600;
  fill: #fff;
  pointer-events: none;
}
.m-area.is-auto rect.body {
  fill: rgba(0, 46, 255, 0.05);
  stroke-dasharray: 5 3;
}
.m-area.is-missing rect.body {
  fill: rgba(255, 200, 0, 0.14);
  stroke: #d9a800;
}
.m-area.is-missing rect.label {
  fill: #d9a800;
}
.m-area.is-noref rect.body {
  fill: rgba(237, 27, 36, 0.06);
  stroke: #ed1b24;
  stroke-dasharray: 4 3;
}
.m-area.is-noref rect.label {
  fill: #4d4d4d;
}
.m-area.is-selected rect.body {
  fill: rgba(237, 27, 36, 0.14);
  stroke: #ed1b24;
  stroke-width: 2.5;
  stroke-dasharray: none;
}
.m-area.is-selected rect.label {
  fill: #ed1b24;
}

.m-handle {
  fill: #fff;
  stroke: #ed1b24;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.m-draft {
  fill: rgba(237, 27, 36, 0.06);
  stroke: #ed1b24;
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  vector-effect: non-scaling-stroke;
}

.m-textbox rect {
  fill: rgba(255, 200, 0, 0.22);
  stroke: rgba(200, 150, 0, 0.8);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.m-textbox rect.ref {
  fill: rgba(0, 46, 255, 0.12);
  stroke: #002eff;
}

.m-choice {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e2e2e2;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.m-choice__info {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 18px;
}
.m-choice__columns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.m-choice__column {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #898989;
  margin: 0;
}
.m-choice__column select {
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  background-color: #fff;
  padding: 5px 8px;
}

.m-preview {
  display: block;
  margin: 0 auto;
}

.m-footer {
  margin-top: auto;
}

body.diagram-mapping {
  height: 100vh;
  overflow: hidden;
}
body.diagram-mapping .m-main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
}