@charset "UTF-8";
@import url('/fonts/Clother/style.css');
:root {
  --Radius-s: 24px;
  --Radius-2xs: 8px;
  --Spacing-3xs: 4px;
  --Text-Primary: #252424;
  --Primary: #0f161e;
  --ye: #ff9124;
  --red: #e80a25;
  --Colors-Primary-600: #8c31ac;
  --Colors-Primary-50: #fcf3ff;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
    background-color: rgba(246, 246, 246, 1);
    font-family: 'Clother', sans-serif;
}
.dashboard-container {
    background-color: #F6F6F6;
    padding: 24px;
    min-height: 100vh;
    position: relative;
}
.bg-image {
    position: absolute;
}
.bg-1 {
    right: 0;
    top: 83px;
}
.bg-2 {
    left: 0;
    top: 200px;
}
.bg-3 {
    right: 0;
    top: 500px;
}
.bg-4 {
    left: 145px;
    top: 730px
}
.bg-hidden {
    position: relative;
}
.bg-hidden:before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    background-color: #b1b1b1b3;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
}
.bg-hidden-error {
    position: relative;
}
.bg-hidden-error:before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    background-color: #b1b1b1b3;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
}
.top-navigation {
    justify-content: space-between;
    align-items: center;
    display: flex;
    width: 100%;
    gap: 32px;
    padding: 12px 32px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.40);
    box-shadow: 0 8px 24px 0 rgba(149, 157, 165, 0.20);
    backdrop-filter: blur(12.5px);
    max-height: 93.7px;
}
.nav-menu {
    top: 148px;
    position: absolute;
    left: 24px;
    z-index: 2;
}
.navigation-left {
    align-items: center;
    display: flex;
    gap: 32px;
}

.hamburger-menu {
  align-self: stretch;
  min-height: 24px;
  width: 24px;
  margin: auto 0;
  padding: 4px 2px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger-line {
  display: flex;
  min-height: 3px;
  width: 20px;
  background-color: var(--Text-Primary, #252424);
  margin-bottom: 4px;
}

.hamburger-line:last-child {
  margin-bottom: 0;
}

.hamburger-line-short {
  width: 14px;
}

.navigation-menu {
  align-self: stretch;
  display: flex;
  min-width: 240px;
  min-height: 48px;
  align-items: start;
  gap: 24px;
  color: var(--Primary, #0f161e);
  justify-content: start;
  margin: auto 0;
  font: 400 18px/1 TRY Clother, -apple-system, Roboto, Helvetica, sans-serif;
}

.menu-wrapper {
  display: flex;
  min-width: 240px;
  align-items: center;
  gap: 12px;
  justify-content: start;
}

.menu-buttons {
    display: flex;
    gap: 12px;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 8px;
    background: none;
    border: none;
    color: #0f161e;
    font-family: 'Clother', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
}
.nav-button.nav-button-small {
    gap: 8px;
    font-size: 18px;
}
.button-content {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto 0;
}

.content-phone {
    position: absolute;
    top: 128px;
    left: 800px;
    z-index: 2;
}

.button-label {
  color: var(--Primary, #0f161e);
  leading-trim: both;
  text-edge: cap;
  align-self: stretch;
  margin: auto 0;
}
.search-container {
    display: flex;
}
.search-button {
    background: none;
    border: none;
    width: 42px;
    height: 42px;
}

.search-icon-wrapper {
  align-self: stretch;
  display: flex;
  width: 20px;
  align-items: center;
  gap: 10px;
  justify-content: start;
  margin: auto 0;
}

.main-content {
  display: flex;
  margin-top: 24px;
  width: 100%;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.content-left {
  align-self: start;
  display: flex;
  padding-top: 154px;
  flex-direction: column;
  align-items: stretch;
  font-family: 'Clother', -apple-system, Roboto, Helvetica, sans-serif;
  position: relative;
}

.side-menu-panel {
    border-radius: 24px;
    box-shadow: 0 8px 24px 0 rgba(149, 157, 165, 0.2);
    backdrop-filter: blur(12.5px);
    background-color: rgba(255, 255, 255, 0.6);
    align-self: center;
    width: 308px;
    padding: 24px;
}

.menu-header {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    color: #252424;
    justify-content: start;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
}

.product-logo {
  align-self: stretch;
  display: flex;
  width: 42px;
  flex-shrink: 0;
  height: 48px;
  margin: auto 0;
}

.app-title {
    align-self: stretch;
    flex: 1;
    flex-shrink: 1;
    flex-basis: 0%;
    margin: auto 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.menu-toggle {
  align-self: stretch;
  display: flex;
  width: 24px;
  flex-shrink: 0;
  height: 24px;
  margin: auto 0;
}

.menu-options {
    width: 100%;
}

.menu-item {
  align-items: center;
  border-radius: var(--Radius-2xs, 8px);
  display: flex;
  min-height: 40px;
  width: 100%;
  font-size: 20px;
  color: var(--Text-Primary, #333);
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
  justify-content: start;
}


.menu-item + .menu-item {
  margin-top: 10px;
}

.menu-item-secondary {
  font-weight: 700;
}

.menu-item-content {
    align-items: center;
    align-self: stretch;
    display: flex;
    min-height: 40px;
    justify-content: start;
    margin: auto 0;
    padding: 8px 12px 8px 4px;
}

.menu-item-content-minor {
  padding: 8px 12px 8px 4px;
}
.menu-item .menu-item-content {
    width: 100%;
    border-radius: 12px;
    border: 0.773px solid transparent;
    transition: all 0.3s;
}

.menu-item:hover .menu-item-content {
    position: relative;
    padding-left: 12px;
    padding-right: 12px;
    width: 100%;
    border-radius: 12px;
    border: 0.773px solid #D2AAE0;
    background: #FFF;
    box-shadow: 0 30px 14px 0 rgba(194, 138, 214, 0.01), 0 33px 13px 0 rgba(194, 138, 214, 0.06), 0 18px 11px 0 rgba(194, 138, 214, 0.20), 0 8px 8px 0 rgba(194, 138, 214, 0.34), 0 2px 5px 0 rgba(194, 138, 214, 0.39);
}
.menu-item .menu-item-content a {
    transition: all 0.3s;
}
.menu-item:hover .menu-item-content a {
    color: #8C31AC;
    transition: all 0.3s;
}

.menu-item.active .menu-item-content {
    position: relative;
    display: block;
    padding-left: 12px;
    width: 100%;
    border-radius: 12px;
    border: 0.773px solid var(--Colors-Primary-300, #D2AAE0);
    background: var(--Colors-Neutral-100, #FFF);
    box-shadow: 0 30px 14px 0 rgba(194, 138, 214, 0.01), 0 33px 13px 0 rgba(194, 138, 214, 0.06), 0 18px 11px 0 rgba(194, 138, 214, 0.20), 0 8px 8px 0 rgba(194, 138, 214, 0.34), 0 2px 5px 0 rgba(194, 138, 214, 0.39);
}
.menu-item.active .menu-item-content a {
    color: #8C31AC;
}
.menu-item-with-tag {
  justify-content: space-between;
}

.menu-item-content-with-tag {
  justify-content: space-between;
  align-items: center;
  border-radius: var(--Radius-2xs, 8px);
  align-self: stretch;
  display: flex;
  min-width: 240px;
  min-height: 48px;
  width: 100%;
  gap: 19px;
  flex: 1;
  flex-shrink: 1;
  flex-basis: 0%;
  margin: auto 0;
  padding: 7px 0 7px 4px;
}

.menu-title {
    color: #333;
    align-self: stretch;
    margin: auto 0;
    text-decoration: none;
    font-family: 'Clother', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
}

.status-tag {
    justify-content: center;
    align-items: center;
    border-radius: 60px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    color: #8c31ac;
    font-weight: 400;
    white-space: nowrap;
    line-height: 1;
    background-color: #fcf3ff;
    margin: auto 0;
    padding: 12px;
    font-family: 'Clother', sans-serif;
}

.tag-text {
  color: var(--Colors-Primary-600, #8c31ac);
  leading-trim: both;
  text-edge: cap;
}

.content-right {
  display: flex;
  flex-direction: column;
  align-self: end;
  position: relative;
  min-height: 1026px;
  margin-top: 34px;
  align-items: stretch;
  justify-content: center;
  padding: 102px 34px;
}




.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 320px;
}
.image-container .phone-image {
    max-width: 100%;
}
.image-container .phone-content {
    position: absolute;
    top: 37px;
    left: 20px;
    width: 282px;
    height: 565px;
}
.background-overlay {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.content-image {
  aspect-ratio: 0.5;
  object-fit: contain;
  object-position: center;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hint {
    position: absolute;
    top: 1000px;
    z-index: 14;
    padding: 32px 24px 24px;
    left: 24px;
    border-radius: 24px;
    background: #FFF;
    box-shadow: 0 8px 24px 0 rgba(149, 157, 165, 0.20);
    backdrop-filter: blur(12.5px);
    max-width: 446px;
}
.hint__head {
    display: flex;
    align-items: center;
    width: 100%;
    color: #313131;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 34px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
}
.hint__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hint__close {
    flex: 0 0 auto;
    padding: 0;
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    margin-left: auto;
    cursor: pointer;
}
.hint__body {
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    color: #96A6C2;
}
/* Контейнер стрелки */
.hint-arrow{
    position: absolute;
    left: calc(24px + 422px + 24px);
    top: 796px;
    height: 313px;
    display: flex;
    align-items: flex-start;
    right: 1186px;
    z-index: 2;
    pointer-events: none;
}

/* Фиксированный “угол” */
.hint-arrow__corner{
  flex: 0 0 auto;
  display:block;
}

/* 3-я линия — растягивается */
.hint-arrow__line{
  flex: 1 1 auto;
  height: 3px;
  background: #E80A25;
  border-radius: 999px;

  /* высота выхода на верхнюю линию (в твоём SVG это ~7px) */
  margin-top: 5px;

  position: relative;
  min-width: 20px;
}

/* наконечник стрелки */
.hint-arrow__line::after{
  content:"";
  position:absolute;
  right:-1px;
  top:50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid #E80A25;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.button-lesson {
    position: absolute;
}
.button-lesson img {
    width: 239px;
}
.arrows-layer {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
  overflow:visible;
  z-index: 1; /* выше фона/телефона/подсказки — подстрой */
}
.arrow { display:none; }
.arrow.is-active { display:block; }
.number {
    position: absolute;
}
.number span {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    width: 32px;
    height: 32px;
    display: flex;
    border-radius: 50%;
    background: #FFF;
    justify-content: center;
    align-items: center;
    border: 1px solid #E0C2E;
}
/* якорные точки можно сделать невидимыми */
.arrow-point{
  position:absolute;
  width:0;
  height:0;
  /* для отладки можно включить: */
  /* width:3px; height:3px;
  background:black;
  border-radius:50%;
  z-index: 6; */
}

.phone-lesson {
    position: absolute;
    right: 24px;
    top: 269px;
}
.phone-lesson .image-container {
    max-width: 400px;
}
.phone-lesson .image-container .phone-image {
    max-width: 100%;
}
.phone-lesson .image-container .scan {
    position: absolute;
    top: -250px;
    left: 34px;
    width: 211px;
    z-index: -1;
}
.phone-lesson .image-container .phone-content {
	top: 45px;
    left: 32px;
    width: 337px;
    height: 544px;
}
.phone-lesson .scan-container {
    position: absolute;
    top: -244px;
    width: 346px;
    height: 235px;
    left: 21px;
    border-radius: 24px;
    border: 1px solid #BA26DC;
    background: #FFF;
    box-shadow: 0 8px 24px 0 rgba(149, 157, 165, 0.20);
    backdrop-filter: blur(12.5px);
    overflow: hidden;
}
.hint__head.text-center {
    justify-content: center;
}
.text-center {
    text-align: center!important;
}
.phone-lesson .image-container.bg-hidden-image:before {
    content: "";
    position: absolute;
    width: 338px;
    height: 545px;
    display: block;
    background-color: #b1b1b1b3;
    z-index: 2;
    top: 45px;
    left: 32px;
}

.phone-lesson .button-more{
    position: absolute;
    top: 623px;
    left: 25px;
}
.phone-lesson span{
        position: absolute;
    width: 316px;
    height: 154px;
    background: #f5f5f5;
    left: 25px;
    top: 544px;
}
.phone-lesson .scan-container .milk {
    width: 100%;
}
.hint__body img {
    margin-top: 24px;
    max-width: 100%;
}
.hint__body .image-block {
    border-radius: 16px;
    overflow: hidden;
}

/* ===== Layout ===== */
.container{
    width: min(calc(100% - (var(--container-pad) * 2)), var(--container-max));
    margin: 24px auto;
    z-index: 1;
    position: relative;
}
.cart-pills {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.pill {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    gap: 12px;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    color: #777;
}
.pill.active {
    border-radius: 8px;
    background: #FFF;
}
.card {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid #E8E8E8;
    background: #FFF;
    box-shadow: 0 7px 29px 0 rgba(100, 100, 111, 0.20);
}

.title{
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 51px;
    color: #252424;
}

/* ===== Top head row (title + right tools) ===== */
.head-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}
.system-name {
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

.tools-bar {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    align-items: center;
}

.search{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--soft);
  border-radius: 12px;
  width: 100%;
}
.search .icon{
  width: 18px;
  height: 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: var(--muted);
  flex: 0 0 auto;
  user-select:none;
}
.search input{
  border:0;
  outline:0;
  background:transparent;
  width: 100%;
  font-size: 14px;
  min-width: 0;
}
.icon {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    gap: 14px;
}
.icon img {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}
.icon-btn {
    display: flex;
    align-items: center;
}
.icon-btn img {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

/* ===== Update row ===== */
.actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    border-radius: 16px;
    background: #F0F0F0;
    height: 53px;
    padding: 0 24px;
}
.reload {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}


/* ===== “Meta table” block ===== */
.meta-wrap {
    margin-bottom: 24px;
    border-radius: 16px;
    background: rgba(255, 223, 34, 0.1);
    box-shadow: 0 7px 29px 0 rgba(100, 100, 111, 0.20);
    padding: 32px 24px;
}

.grid-row {
    display:grid;
    gap: 12px;
    align-items:center;

}

.meta-head {
    background: transparent;
    border-bottom: 1px solid #D2D2D2;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

.meta-row {
    margin-top: 24px;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

/* Сетка: фикс слева + резина справа (как твоя выделенная зона) */
.meta-grid {
    grid-template-columns:
        minmax(100px, 0.6fr)
        minmax(100px, 0.8fr)
        minmax(150px, 1.2fr)
        minmax(200px, 1.5fr)
        minmax(120px, 0.7fr)
        minmax(150px, 0.9fr)
        minmax(150px, 1.5fr)
        minmax(120px, 1fr)
}

/* чтобы длинный текст не ломал сетку */
.grid-row > div{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.grid-row > div.barcode {
    display: flex;
    flex-direction: column;
}
.muted {
    color: #A4A4A4;
}
/* где нужно — разрешаем перенос */
.meta-row > div:nth-child(6),
.meta-row > div:nth-child(7){
  white-space:normal;
  line-height:1.25;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    white-space: nowrap;
    height: 30px;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    border-radius: 100px;
    border: 1px solid #F9B877;
    background: #FEF5ED;
    color: #D57B21;
}

/* ===== Items “table” ===== */
.items-wrap {
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0 7px 29px 0 rgba(100, 100, 111, 0.20);
    padding: 14px 24px;
}

.items-head {
    background: #fff;
    border-bottom: 1px solid #D2D2D2;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

.items-row {
    border-bottom: 1px solid #f0f0f0;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    align-items: start;
    padding: 14px 0;
}
.items-row:last-child{ border-bottom:0; }

.items-grid {
    grid-template-columns: 44px 263px 237px 185px minmax(140px, 0.7fr) minmax(260px, 3fr);
}

.checkbox{
  display:flex;
  align-items:center;
  justify-content:center;
}

.num{
  text-align:left;
}

.barcode{
  white-space:normal;
  line-height:1.2;
}
.logo {
    width: 42px;
}
.nav-button-small .logo {
    width: 24px;
}
.row-selected {
    background: #F6F1D4;
}
.action-button {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    gap: 12px;
}
.btn {
    border-radius: 60px;
    height: 60px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 32px;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    color: #FFF;
    text-decoration: none;
}
.btn-next {
    background: linear-gradient(91deg, #FFA940 0%, #FF6A00 100%);
    box-shadow: 2px 4px 20px rgba(255, 106, 0, 0.4);
    color: #FFF;
}
.btn-succsess {
    background: linear-gradient(91deg, #BA26DC 0%, #5F1075 211.82%);
    box-shadow: 2px 4px 16px 0 rgba(115, 123, 132, 0.18);
    color: #FFF;
}
.fade {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 250ms ease, transform 250ms ease;
  pointer-events: none;
}

.fade.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dog {
    position: absolute;
    bottom: 108px;
    right: 60px;
    width: 156px;
}
.box-shadow {
    box-shadow: 0 0 28px 6px rgba(207, 0, 255, 0.85);
    animation: buttonPulseGlow 1.25s ease-in-out infinite;
}

@keyframes buttonPulseGlow {
    0% {
        box-shadow: 0 0 18px 3px rgba(207, 0, 255, 0.65);
    }

    50% {
        box-shadow: 0 0 46px 14px rgba(207, 0, 255, 1);
    }

    100% {
        box-shadow: 0 0 18px 3px rgba(207, 0, 255, 0.65);
    }
}
.shadow-purple {
    /*position: absolute;
    background: linear-gradient(135deg, #ffffff 0%, #f4ecff 100%);
    border: 2px solid rgba(150, 90, 255, 0.6);

    box-shadow:
        0 0 0 6px rgba(150, 90, 255, 0.15),
        0 0 25px rgba(150, 90, 255, 0.6),
        0 20px 50px rgba(80, 0, 180, 0.45),
        0 35px 80px rgba(80, 0, 180, 0.35);

    animation: glowPulse 2.5s ease-in-out infinite;*/
    border-radius: 24px;
    border: 1px solid #E0C2EA;
    box-shadow: -7px 40px 30px 0 rgba(216, 77, 255, 0.01), -4px 25px 20px 0 rgba(216, 77, 255, 0.10), 10px 20px 9px 0 rgba(216, 77, 255, 0.20), -1px 6px 6px 0 rgba(216, 77, 255, 0.34), 0 2px 4px 0 rgba(216, 77, 255, 0.39);
}

@keyframes glowPulse {
    0% {
        box-shadow:
            0 0 20px rgba(160, 100, 255, 0.4),
            0 20px 50px rgba(80, 0, 180, 0.35);
    }

    50% {
        box-shadow:
            0 0 40px rgba(180, 120, 255, 0.8),
            0 30px 80px rgba(80, 0, 180, 0.5);
    }

    100% {
        box-shadow:
            0 0 20px rgba(160, 100, 255, 0.4),
            0 20px 50px rgba(80, 0, 180, 0.35);
    }
}
#button-lesson-2 {
    transition: all 0.3s;
}
#button-lesson-2:hover, #button-lesson-22:hover, #button-lesson-23:hover, #button-lesson-24:hover {

box-shadow: -7px 40px 30px 0 rgba(216, 77, 255, 0.01), -4px 25px 20px 0 rgba(216, 77, 255, 0.10), 10px 20px 9px 0 rgba(216, 77, 255, 0.20), -1px 6px 6px 0 rgba(216, 77, 255, 0.34), 0 2px 4px 0 rgba(216, 77, 255, 0.39);
}
@media (min-height: 0px) { /* desktop coordinates are scaled by JS */
    #button-login {
        top: 383px;
        left: 35px;
        z-index: 2;
        cursor: pointer;
        width: 213px;
        height: 32px;
        cursor: pointer;
        border-radius: 24px;
        overflow: hidden;
    }
    #button-login img {
        width: 222px;
    }
    #hint-lesson-1 {
		top: 563px;
        left: 314px;
        max-width: 446px;
    }
    #hint-lesson-2 {
        top: 673px;
        left: 24px;
        max-width: 446px;
    }
    #button-lesson-2 {
        position: absolute;
        top: 178px;
        left: 38px;
        width: 142px;
        height: 93px;
        z-index: 2;
        background: transparent;
        cursor: pointer;
        border-radius: 16px;
    }
    #button-lesson-22 {
        position: absolute;
        top: 280px;
        left: 188px;
        width: 143px;
        height: 93px;
        z-index: 2;
        background: transparent;
        cursor: pointer;
        border-radius: 20px;
    }
    #button-lesson-23 {
        position: absolute;
        top: 280px;
        left: 35px;
        width: 144px;
        height: 93px;
        z-index: 2;
        background: transparent;
        cursor: pointer;
        border-radius: 20px;
    }
    #button-lesson-24 {
        position: absolute;
        top: 179px;
        left: 188px;
        width: 143px;
        height: 92px;
        z-index: 2;
        background: transparent;
        cursor: pointer;
        border-radius: 20px;
    }
    #button-lesson, #button-lesson-1-2, #button-lesson-2-2, #button-lesson-3-2, #button-lesson-4-2, #button-lesson-5-2, #button-lesson-6-2 {
        top: 814px;
        right: 46px;
        z-index: 2;
        cursor: pointer;
        height: 37px;
        border-radius: 24px;
        overflow: hidden;
    }
    .demo_02 #button-lesson, .demo_02 #button-lesson-1-2, .demo_02 #button-lesson-2-2, .demo_02 #button-lesson-3-2, .demo_02 #button-lesson-4-2, .demo_02 #button-lesson-5-2, .demo_02 #button-lesson-6-2 {
        top: 801px;
        right: 67px;
        z-index: 2;
        cursor: pointer;
        height: 44px;
        border-radius: 24px;
        overflow: hidden;
    }
    #button-lesson img, #button-lesson-1-2 img, #button-lesson-2-2 img, #button-lesson-3-2 img, #button-lesson-4-2 img, #button-lesson-5-2 img, #button-lesson-6-2 img {
        width: 314px;
    }
    .demo_02 #button-lesson img, .demo_02 #button-lesson-1-2 img, .demo_02 #button-lesson-2-2 img, .demo_02 #button-lesson-3-2 img, .demo_02 #button-lesson-4-2 img, .demo_02 #button-lesson-5-2 img, .demo_02 #button-lesson-6-2 img {
        width: 315px;
    }
    .demo_02 #button-lesson-11 {
        top: 801px;
        right: 66px;
        z-index: 2;
        cursor: pointer;
        height: 44px;
        border-radius: 24px;
        overflow: hidden;
    }
    .demo_02 #button-lesson-11 img {
        width: 315px;
    }
    #button-lesson-6 {
        top: 304px;
        right: 41px;
        z-index: 2;
        height: 39px;
    }
    #button-lesson-10 {
        top: 304px;
        right: 40px;
        z-index: 2;
        height: 39px
    }
    #button-lesson-10 img {
        width: 338px;
    }
    #button-lesson-11 {
        top: 814px;
        right: 47px;
        z-index: 2;
        cursor: pointer;
        height: 40px;
        border-radius: 24px;
        overflow: hidden;
    }
    #button-lesson-11 img {
        width: 258px;
    }
    #button-lesson-12 {
		top: 314px;
        right: 55px;
        z-index: 2;
        overflow: hidden;
        height: 38px;
    }
    #button-lesson-12 img {
        width: 337px;
    }
    #number {
		left: 584px;
        top: 688px;
        z-index: 2;
    }
    #hint-lesson-3 {
        top: 50%;left: 50%;margin-right: -50%;transform: translate(-50%, -50%);max-width: 884px;
    }
    #hint-lesson-4 {
        top: 687px;
        right: 463px;
        left: auto;
        max-width: 443px;
    }
    #hint-lesson-5 {
        top: 457px;
        left: 424px;
        max-width: 350px;
    }
    #hint-lesson-6 {
        top: 236px;
        left: auto;
        right: 490px;
        max-width: 425px;
    }
    #hint-lesson-8 {
		top: 236px;
        left: auto;
        right: 468px;
        max-width: 425px;
    }
    #hint-lesson-11 {
        top: 116px;
        right: 518px;
        max-width: 884px;
        left: auto;
    }
    #hint-lesson-12 {
        top: 50%;left: 50%;margin-right: -50%;transform: translate(-50%, -50%);max-width: 884px;
    }
    #a1-start {
        top: 779px;left: 471px;
    }
    #a1-end {
        top: 544px;left: 797px;
    }
    #a2-start {
        top: 761px;left: 470px;
    }
    #a2-end {
        top: 290px;
        left: 797px;
    }
    #b2-start {
        top: 671px;left: 398px;
    }
    #b2-end {
        top: 254px;
        left: 332px;
    }
    #a3-start {
        right: 599px;top: 835px;
    }
    #a3-end {
        top: 835px;
        right: 337px;
    }
    #a5-start {
        top: 479px;left: 656px;
    }
    #a5-end {
        top: 725px;
        left: 656px;
    }
    #a6-start {
        right: 528px;
        top: 328px;
    }
    #a6-end {
        top: 328px;
        right: 338px;
    }
    #a11-start {
        right: 517px;top: 476px;
    }
    #a11-end {
        top: 834px;
        right: 336px;
    }
    #button-lesson-6 img {
        width: 338px;
    }
}
@media (max-width: 0px) { /* disabled: replaced by whole-scene scale */
    .menu-item + .menu-item {
        margin-top: 6px;
    }
    .content-phone {
        left: 700px;
    }
    .image-container {
        max-width: 264px;
    }
    .image-container .phone-content {
        top: 30px;
        left: 16px;
        width: 233px;
        height: 466px;
    }
    .app-title {
        font-size: 16px;
    }
    .logo img {
        width: 34px;
    }
    .menu-title {
        font-size: 16px;
    }
    .menu-item {
        min-height: 26px;
    }
    .menu-item .menu-item-content {
        min-height: 26px;
        padding: 6px 6px 6px 4px;
    }
    .status-tag {
        padding: 6px;
        font-size: 14px;
    }
    .hint {
        padding: 24px;
    }
    .hint__icon {
        width: 20px;
        height: 20px;
    }
    .hint__icon img {
        width: 100%;
    }
    .hint__head,.hint__title {
        margin-bottom: 8px;
        line-height: 28px;
        font-size: 24px;
    }
    .hint__body, .hint__body p {
        font-size: 18px;
        line-height: 1.2;
    }
    .menu-item.active .menu-item-content {
        padding: 6px 6px 6px 4px;
    }
    .container {
        margin: 12px auto;
    }
    .pill {
        height: 34px;
        font-size: 16px;
        line-height: 1.2;
    }
    .card {
        padding: 12px;
    }
    .title {
        font-size: 16px;
        line-height: 1.2;
    }
    .system-name {
        font-size: 16px;
        line-height: 1.2;
    }
    .actions-row {
        margin-bottom: 16px;
        border-radius: 8px;
        height: 34px;
        padding: 0 12px;
    }
    .reload {
        font-size: 16px;
        line-height: 1.2;
    }
    .icon {
        font-size: 16px;
        line-height: 1.2;
    }
    .meta-wrap {
        margin-bottom: 16px;
        border-radius: 8px;
        padding: 12px;
    }
    .meta-head {
        font-size: 16px;
        line-height: 1.2;
    }
    .meta-row {
        margin-top: 12px;
        font-size: 16px;
        line-height: 1.2;
    }
    .chip {
        font-size: 12px;
        line-height: 1.2;
    }
    .items-wrap {
        border-radius: 8px;
        padding: 12px;
    }
    .items-head {
        font-size: 16px;
        line-height: 1.2;
    }
    .items-row {
        font-size: 14px;
        line-height: 1.2;
    }
    .items-grid{
      grid-template-columns: 13px minmax(190px, 0.7fr) minmax(160px, 0.7fr) minmax(130px, 0.6fr) minmax(140px, 0.6fr) minmax(260px, 2fr);
    }
    .phone-lesson {
        top: 186px;
    }
    .phone-lesson .image-container {
        max-width: 200px;
    }
    .phone-lesson .image-container.bg-hidden-image:before {
        position: absolute;
        width: 176px;
        height: 354px;
        top: 23px;
        left: 13px;
    }
    .phone-lesson .image-container .phone-content {
        top: 23px;
        left: 13px;
        width: 176px;
        height: 353px;
    }
    .phone-lesson .scan-container {
        top: -154px;
        width: 192px;
        height: 135px;
    }
    #button-login {
        top: 455px;
        left: 726px;
        z-index: 2;
        cursor: pointer;
        width: 177px;
        height: 30px;
        cursor: pointer;
        border-radius: 24px;
        overflow: hidden;
    }
    #button-login img {
        width: 181px;
    }
    #hint-lesson-1 {
        top: 530px;
        left: 24px;
        max-width: 314px;
    }
    #hint-lesson-2 {
        top: 530px;
        left: 24px;
        max-width: 314px;
    }
    #button-lesson-2 {
        position: absolute;
        top: 224px;
        left: 723px;
        width: 107px;
        height: 77px;
        z-index: 2;
        background: transparent;
        cursor: pointer;
        border-radius: 16px;
    }
    #button-lesson-22 {
        position: absolute;
        top: 312px;
        left: 163px;
        width: 130px;
        height: 92px;
        z-index: 2;
        background: transparent;
        cursor: pointer;
        border-radius: 20px;
    }
    #button-lesson-23 {
        position: absolute;
        top: 312px;
        left: 27px;
        width: 131px;
        height: 91px;
        z-index: 2;
        background: transparent;
        cursor: pointer;
        border-radius: 20px;
    }
    #button-lesson-24 {
        position: absolute;
        top: 216px;
        left: 29px;
        width: 129px;
        height: 91px;
        z-index: 2;
        background: transparent;
        cursor: pointer;
        border-radius: 20px;
    }
    #button-lesson, #button-lesson-1-2, #button-lesson-2-2, #button-lesson-3-2, #button-lesson-4-2, #button-lesson-5-2, #button-lesson-6-2 {
        top: 536px;
        right: 38px;
        z-index: 2;
        cursor: pointer;
        height: 29px;
        border-radius: 24px;
        overflow: hidden;
    }
    .phone-lesson .image-container .scan {
        position: absolute;
        top: -171px;
        left: 24px;
        width: 179px;
        z-index: -1;
    }
    .dog {
        position: absolute;
        bottom: 94px;
        right: 53px;
        width: 119px;
    }
    #button-lesson img, #button-lesson-1-2 img, #button-lesson-2-2 img, #button-lesson-3-2 img, #button-lesson-4-2 img, #button-lesson-5-2 img, #button-lesson-6-2 img {
        width: 170px;
    }
    #button-lesson-6 {
        top: 209px;
        right: 35px;
        z-index: 2;
        height: 29px;
    }
    #button-lesson-6 img {
        width: 176px;
    }
    #button-lesson-10 {
        top: 209px;
        right: 35px;
        z-index: 2;
        height: 28px;
    }
    #button-lesson-10 img {
        width: 176px;
    }
    #button-lesson-11 {
        top: 536px;
        right: 37px;
        z-index: 2;
        cursor: pointer;
        height: 30px;
        border-radius: 24px;
        overflow: hidden;
    }
    #button-lesson-11 img {
        width: 171px;
    }
    #button-lesson-12 {
        top: 209px;
        right: 35px;
        z-index: 2;
        height: 26px;
    }
    #button-lesson-12 img {
        width: 177px;
    }
    #number {
        left: 438px;
        top: 490px;
        z-index: 2;
    }
    .number span {
        font-size: 16px;
        line-height: 1.2;
        width: 24px;
        height: 24px;
    }
    #hint-lesson-3 {
        top: 50%;left: 50%;margin-right: -50%;transform: translate(-50%, -50%);max-width: 684px;
    }
    #hint-lesson-4 {
        top: 435px;
        right: 500px;
        left: auto;
        max-width: 443px;
    }
    #hint-lesson-5 {
        top: 153px;
        left: 322px;
        max-width: 279px;
    }
    #hint-lesson-6 {
        top: 151px;
        left: auto;
        right: 440px;
        max-width: 300px;
    }
    #hint-lesson-8 {
        top: 149px;
        left: auto;
        right: 440px;
        max-width: 300px;
    }
    #hint-lesson-11 {
        top: 100px;
        right: 388px;
        max-width: 569px;
        left: auto;
    }
    #hint-lesson-12 {
        top: 50%;left: 50%;margin-right: -50%;transform: translate(-50%, -50%);max-width: 869px;
    }
    #a1-start {
        top: 607px;
        left: 337px;
    }
    #a1-end {
        top: 469px;
        left: 698px;
    }
    #a2-start {
        top: 607px;
        left: 337px;
    }
    #a2-end {
        top: 261px;
        left: 700px;
    }
    #b2-start {
        top: 580px;
        left: 338px;
    }
    #b2-end {
        top: 230px;
        left: 332px;
    }
    #a3-start {
        right: 499px;
        top: 550px;
    }
    #a3-end {
        top: 550px;
        right: 223px;
    }
    #a5-start {
        top: 292px;
        left: 449px;
    }
    #a5-end {
        top: 490px;
        left: 449px;
    }
    #a6-start {
        right: 439px;
        top: 222px;
    }
    #a6-end {
        top: 222px;
        right: 224px;
    }
    #a11-start {
        right: 387px;
        top: 276px;
    }
    #a11-end {
        top: 550px;
        right: 225px;
    }




    /* родитель для абсолютных оверлеев */
        #main{
        --fact-end-x: 0px;
        --fact-end-y: 0px;
        --fact-start-x: 0px;
        --fact-start-y: 0px;
        --end-dx: 0px;
        --end-dy: -10px;
        --start-dx: 0px;
        --start-dy: -146px;
        --hint-dx: -140px;
        --hint-dy: -284px;
        --num-dx: -12px;
        --num-dy: -10px;
      }

      /* hint: ты подгоняешь */
      #hint-lesson-5{
        left: calc(var(--fact-end-x) + var(--hint-dx));
        top:  calc(var(--fact-end-y) + var(--hint-dy));
        transform: none;
      }

      /* number: рядом с концом */
      #number{
        left: calc(var(--fact-end-x) + var(--num-dx));
        top:  calc(var(--fact-end-y) + var(--num-dy));
        transform: none;
      }

      /* точки стрелки */
      #a5-start{
        left: calc(var(--fact-start-x) + var(--start-dx));
        top:  calc(var(--fact-start-y) + var(--start-dy));
        transform: translate(-50%, -50%);
      }

      #a5-end{
        left: calc(var(--fact-end-x) + var(--end-dx));
        top:  calc(var(--fact-end-y) + var(--end-dy));
        transform: translate(-50%, -50%);
      }


}

/* =========================================
   DEMO DEBUG OVERLAY
========================================= */
.demo-debug-layer {
    position: fixed;
    inset: 0;
    z-index: 999998;
    pointer-events: none;
    font-family: Arial, sans-serif;
}

.demo-debug-rect {
    position: fixed;
    border: 1px dashed rgba(232, 10, 37, 0.95);
    background: transparent;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75);
    pointer-events: none;
}

.demo-debug-rect--large {
    border-color: rgba(232, 10, 37, 0.55);
    box-shadow: none;
}

.demo-debug-point {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E80A25;
    box-shadow:
        0 0 0 3px rgba(232, 10, 37, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.9);
    pointer-events: none;
}

.demo-debug-label {
    position: fixed;
    max-width: 420px;
    padding: 3px 6px;
    border-radius: 6px;
    background: rgba(15, 22, 30, 0.92);
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

.demo-debug-label--large {
    opacity: 0.72;
}

.demo-debug-panel {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1000000;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(15, 22, 30, 0.92);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .24);
    backdrop-filter: blur(8px);
}

.demo-debug-panel__title {
    padding: 0 4px;
    font-weight: 700;
    opacity: .78;
}

.demo-debug-panel button {
    height: 28px;
    border: 0;
    border-radius: 8px;
    padding: 0 10px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font: inherit;
    cursor: pointer;
    transition: background .16s ease, color .16s ease;
}

.demo-debug-panel button:hover {
    background: rgba(255, 255, 255, .22);
}

.demo-debug-panel button.is-active {
    background: #E80A25;
    color: #fff;
}

.demo-debug-toast {
    position: fixed;
    left: 50%;
    bottom: 66px;
    z-index: 1000001;
    transform: translateX(-50%) translateY(8px);
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 22, 30, .92);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.demo-debug-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

body[data-demo-debug] .arrow-point {
    width: 8px;
    height: 8px;
    margin-left: -4px;
    margin-top: -4px;
    background: #E80A25;
    border-radius: 50%;
    z-index: 999997;
}

@media (max-width: 767.98px) {
    .demo-debug-panel {
        right: 8px;
        bottom: 8px;
        left: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .demo-debug-panel__title {
        width: 100%;
        text-align: center;
    }

    .demo-debug-panel button {
        flex: 1 1 auto;
    }
}


/* Debug viewport size */
.demo-debug-panel__viewport {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: #9DDAFF;
    font-weight: 700;
    white-space: nowrap;
}

.demo-debug-panel__viewport span {
    margin-left: 4px;
    color: #fff;
}

@media (max-width: 767.98px) {
    .demo-debug-panel__viewport {
        flex: 1 1 100%;
        justify-content: center;
    }
}


/* =========================================
   DEMO WHOLE-SCENE SCALE
   Базовая сцена: 1920×919. Адаптивные сдвиги отключены,
   вся демка уменьшается целиком через transform: scale().
========================================= */
html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    min-width: 0;
    min-height: 0;
}

#main.dashboard-container {
    width: 1920px;
    height: 919px;
    min-height: 919px;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    transform-origin: 0 0;
    will-change: transform;
}

html.demo-viewport-too-small,
body.demo-viewport-too-small {
    overflow: hidden;
}


/* =========================================
   FULL VIEWPORT DIM OVERLAY FOR SCALED DEMO
   Затемняет не только сцену, но и поля вокруг неё
========================================= */

/* внутренняя накладка теперь покрывает всю базовую сцену */
#main.bg-hidden::before,
#main.bg-hidden-error::before {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
}

/* внешняя накладка затемняет поля вокруг масштабированной сцены */
body:has(#main.bg-hidden)::before,
body:has(#main.bg-hidden-error)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #b1b1b1b3;
}

/* сама демка остается выше внешней накладки */
body:has(#main.bg-hidden) #main,
body:has(#main.bg-hidden-error) #main {
    position: relative;
    z-index: 1;
}
/* =========================================
   RESOLUTION WARNING — FIGMA 3272:25745
   Единая модалка для главной и всех демо.
========================================= */

#hint-error.resolution-warning,
#hint-error {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1000003;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 360px;
    max-width: calc(100vw - 32px);
    padding: 24px;
    margin: 0;
    overflow: visible;
    border-radius: 24px;
    background: #FFF;
    box-shadow: 2px 3px 60px 0 rgba(0, 0, 0, 0.07);
    transform: translate(-50%, -50%);
}

#hint-error .hint__head,
#hint-error .resolution-warning__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0 0 16px;
    color: #323232;
}

#hint-error .hint__title {
    margin: 0;
    color: #323232;
    font-size: 24px;
    font-weight: 400;
    line-height: 38px;
    letter-spacing: -0.48px;
    white-space: nowrap;
}

#hint-error .resolution-warning__close,
#hint-error .hint__close {
    position: relative;
    flex: 0 0 24px;
    display: block;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

#hint-error .resolution-warning__close::before,
#hint-error .resolution-warning__close::after,
#hint-error .hint__close::before,
#hint-error .hint__close::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 1px;
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: #FE000E;
    transform-origin: center;
}

#hint-error .resolution-warning__close::before,
#hint-error .hint__close::before {
    transform: rotate(45deg);
}

#hint-error .resolution-warning__close::after,
#hint-error .hint__close::after {
    transform: rotate(-45deg);
}

#hint-error .resolution-warning__close svg,
#hint-error .resolution-warning__close img,
#hint-error .hint__close svg,
#hint-error .hint__close img {
    display: none;
}

#hint-error .hint__body,
#hint-error .resolution-warning__body {
    width: 100%;
    margin: 0;
    color: #8F9294;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    word-break: break-word;
}

/* =========================================
   SHARED DEMO HEADER
   Единая шапка из главной страницы DMdemo.
========================================= */
.demo-site-header {
    position: relative;
    z-index: 0;
    height: 99px;
    max-height: none;
    padding: 12px 64px;
}

.demo-site-header__left,
.demo-site-header__actions,
.demo-site-header__brand {
    display: flex;
    align-items: center;
}

.demo-site-header__left {
    flex: 1 1 auto;
    gap: 32px;
}

.demo-site-header__brand {
    flex: 0 0 auto;
    gap: 12px;
    min-width: 160px;
    color: #252424;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    text-decoration: none;
}

.demo-site-header__brand-logo {
    width: 42px;
    height: 48px;
    object-fit: contain;
}

.demo-site-header__docs {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 8px;
    color: #252424;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}

.demo-site-header__brand:hover,
.demo-site-header__docs:hover {
    color: #8C31AC;
}

.demo-site-header__actions {
    flex: 0 0 auto;
    gap: 16px;
}

.demo-site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 16px 20px;
    border: 0;
    border-radius: 999px;
    color: #FFF;
    font-family: inherit;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.demo-site-header__cta:hover {
    transform: translateY(-1px);
}

.demo-site-header__cta--trial {
    background: linear-gradient(95deg, #FF9023 0%, #E80A24 211.82%);
    box-shadow: 2px 4px 8px rgba(115, 123, 132, .18);
}

.demo-site-header__cta--buy {
    background: linear-gradient(115deg, #4426A8 4.36%, #C6469D 91.49%);
}

/* =========================================
   FACT VALUE HINT MARKER — FIGMA 48×48
   Круг является отдельным абсолютным слоем:
   он накладывается поверх цифры и не меняет
   размеры или раскладку ячейки таблицы.
========================================= */

/* Сохраняем центр прежнего маркера 32×32 при увеличении до 48×48. */
.demo_02 #number,
.demo-inventory #number,
.demo-order .order-hint-count-badge,
.demo-aggregation .aggregation-hint-count-badge {
    position: absolute;
    z-index: 3;
    margin-top: -8px;
    margin-left: -8px;
    pointer-events: none;
}

/* Единый внешний вид числового маркера во всех процессах. */
.demo_02 #number > span,
.demo-inventory #number > span,
.demo-order .order-hint-count-badge.order-fact-badge,
.demo-aggregation .aggregation-hint-count-badge.aggregation-fact-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    box-sizing: border-box;
    border: 1px solid #E0C2EA;
    border-radius: 50%;
    background: #FFF;
    color: #252424;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    box-shadow:
        0 2px 4px rgba(216, 77, 255, 0.18),
        0 6px 12px rgba(216, 77, 255, 0.16);
}

/*
   В приёмке фактическая цифра остаётся обычным текстом.
   Отдельный #number располагается поверх неё, поэтому
   ширина колонки и положение соседних элементов не меняются.
*/
.demo_02 .items-row .receiving-fact-highlight {
    display: inline;
    width: auto;
    min-width: 0;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
}

/* =========================================
   PROCESS LIST HOME LINK — FIGMA STATES
   Figma 3274:56437:
   default — прозрачный фон, текст #777;
   hover — белый фон, текст #252424;
   pressed — фон #DEDEDE, текст #252424.
========================================= */
.demo-processes-home {
    color: #777;
    text-decoration: none;
    cursor: pointer;
    border-radius: 8px;
    transition:
        color 0.16s ease,
        background-color 0.16s ease;
    -webkit-tap-highlight-color: transparent;
}

.demo-processes-home img {
    display: block;
    width: 24px;
    height: 24px;
    transition: filter 0.16s ease;
}

.demo-processes-home:hover {
    color: #252424;
    background: #FFF;
}

.demo-processes-home:hover img,
.demo-processes-home:active img,
.demo-processes-home:focus-visible img {
    filter: brightness(0) saturate(100%);
}

.demo-processes-home:active {
    color: #252424;
    background: #DEDEDE;
}

.demo-processes-home:focus-visible {
    color: #252424;
    background: #FFF;
    outline: 2px solid #8C31AC;
    outline-offset: 2px;
}

/* =========================================
   RECEIVING FACT MARKER — FIGMA 3365:34558
   Пустой круг 48×48 накладывается поверх
   реальной цифры в колонке «Факт. кол-во».
========================================= */
.demo_02 #number {
    left: 576px;
    top: 680px;
    margin: 0;
    z-index: 3;
    pointer-events: none;
}

.demo_02 #number > span {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border: 1px solid #E0C2EA;
    border-radius: 50%;
    background: transparent;
    color: transparent;
    font-size: 20px;
    line-height: 0;
    box-shadow:
        10px 40px 25px rgba(216, 77, 255, 0.01),
        -4px 25px 10px rgba(216, 77, 255, 0.10),
        10px 20px 4.5px rgba(216, 77, 255, 0.20),
        -1px 6px 3px rgba(216, 77, 255, 0.34),
        0 2px 2px rgba(216, 77, 255, 0.39);
}

/* =========================================
   UNIFIED FACT CHANGE MARKERS — 48×48
   Внешний вид общий для всех процессов.
   Координаты задаются только в сценарных CSS.
========================================= */
.demo_02 #number,
.demo-inventory #number,
.demo-order .order-hint-count-badge,
.demo-aggregation .aggregation-hint-count-badge {
    position: absolute;
    z-index: 8;
    margin: 0;
    pointer-events: none;
}

.demo_02 #number > span,
.demo-inventory #number > span,
.demo-order .order-hint-count-badge.order-fact-badge,
.demo-aggregation .aggregation-hint-count-badge.aggregation-fact-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    box-sizing: border-box;
    border: 1px solid #E0C2EA;
    border-radius: 50%;
    background: #FFF;
    color: #252424;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;    
}

/* =========================================
   DMDEMO COOKIE CONSENT — SITE NATIVE UI
   Визуал повторяет собственный интерфейс DMdemo:
   Clother, 24px, glass panels, demo gradients.
   Баннер находится вне #main и не масштабируется.
========================================= */
.demo-cookie-consent {
    box-sizing: border-box;
    font-family: 'Clother', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.demo-cookie-consent * {
    box-sizing: border-box;
}

.demo-cookie-consent {
    position: fixed;
    z-index: 2147483000;
    left: 50%;
    bottom: 24px;
    width: min(1040px, calc(100% - 48px));
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 24px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 8px 24px 0 rgba(149, 157, 165, .20);
    color: #252424;
    backdrop-filter: blur(12.5px);
    -webkit-backdrop-filter: blur(12.5px);
}

.demo-cookie-consent__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 104px;
    padding: 24px 28px;
}

.demo-cookie-consent__content {
    flex: 1 1 auto;
    min-width: 0;
}

.demo-cookie-consent__title {
    margin: 0 0 8px;
    color: #252424;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
}

.demo-cookie-consent__text {
    max-width: 690px;
    margin: 0;
    color: #252424;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.demo-cookie-consent__text a {
    color: #8C31AC;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .2s ease;
}

.demo-cookie-consent__text a:hover {
    color: #5F1075;
}

.demo-cookie-consent__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    padding-right: 24px;
}

.demo-cookie-consent__button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.demo-cookie-consent__button {
    display: inline-flex;
    min-width: 142px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 60px;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.demo-cookie-consent__button:hover {
    transform: translateY(-1px);
}

.demo-cookie-consent__button--accept {
    background: linear-gradient(95deg, #FF9023 0%, #E80A24 211.82%);
    box-shadow: 2px 4px 8px rgba(115, 123, 132, .18);
    color: #FFF;
}

.demo-cookie-consent__button--accept:hover {
    box-shadow: 0 6px 22px rgba(246, 92, 35, .28);
}








@media (max-width: 900px) {
    .demo-cookie-consent {
        bottom: 16px;
        width: calc(100% - 32px);
    }

    .demo-cookie-consent__inner {
        display: block;
        padding: 24px;
    }

    .demo-cookie-consent__content {
        padding-right: 30px;
    }

    .demo-cookie-consent__actions {
        display: flex;
        margin-top: 20px;
        padding-right: 0;
    }
}

@media (max-width: 565.98px) {
    .demo-cookie-consent {
        bottom: 10px;
        width: calc(100% - 20px);
        border-radius: 20px;
    }

    .demo-cookie-consent__inner {
        padding: 20px 18px 18px;
    }

    .demo-cookie-consent__title {
        font-size: 20px;
        line-height: 24px;
    }

    .demo-cookie-consent__text {
        font-size: 14px;
        line-height: 20px;
    }

    .demo-cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 16px;
    }

    .demo-cookie-consent__button {
        width: 100%;
        min-height: 48px;
        font-size: 16px;
        line-height: 20px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .demo-cookie-consent__button {
        transition: none;
    }
}

