/* tradeadapter: bundled for main_layout_platform.html only (Bootstrap/icons/fonts via @import below) */
@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600&display=swap');

/* --- Landing header (excerpt home_page.css) --- */

/* Shared top nav: same chrome as main_layout_header (glass bar, buttons, mobile stack). */

/* Tighten header vertical empty space without resizing logo */
.landing-header {
  padding-top: 0.46rem;
  padding-bottom: 0.46rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(6, 12, 26, 0.72) 0%, rgba(8, 16, 32, 0.72) 100%) !important;
  backdrop-filter: blur(8px);
  font-family: "Figtree", sans-serif;
}

.landing-header__container {
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  gap: 1.35rem;
}

.landing-header__logo {
  height: 34px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transform-origin: left center;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.landing-header .navbar-brand:hover .landing-header__logo {
  transform: scale(1.045);
  filter: drop-shadow(0 0 10px rgba(74, 242, 142, 0.24)) drop-shadow(0 0 16px rgba(69, 173, 255, 0.18));
}

.landing-header__menu {
  gap: 0.9rem;
}

.landing-header__menu .nav-link {
  color: rgba(225, 236, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.45rem 0.35rem;
  border-radius: 8px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.landing-header__menu .nav-link:hover {
  color: rgba(248, 252, 255, 0.9);
  text-shadow: 0 0 8px rgba(69, 173, 255, 0.12);
}

.landing-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

@media (max-width: 1399.98px) {
  .landing-header__menu {
    gap: 0.62rem;
  }

  .landing-header__menu .nav-link {
    font-size: 0.9rem;
    padding-left: 0.28rem;
    padding-right: 0.28rem;
  }

  .landing-header__actions {
    gap: 0.45rem;
  }
}

.landing-header__btn {
  border-radius: 10px;
  font-weight: 500;
  padding: 0.44rem 0.75rem;
}

.landing-header__btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(233, 242, 255, 0.92);
  background: rgba(255, 255, 255, 0.04);
}

.landing-header__btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.landing-header__btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(238, 244, 255, 0.9);
  background: transparent;
}

.landing-header__btn--outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.landing-header__btn--login {
  border: 1px solid rgba(138, 169, 212, 0.26);
  background: linear-gradient(180deg, rgba(22, 32, 54, 0.72) 0%, rgba(12, 20, 37, 0.76) 100%);
  color: rgba(230, 239, 252, 0.93);
  font-weight: 600;
  letter-spacing: 0.005em;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 8px 18px rgba(0, 0, 0, 0.28);
  transition: all 0.22s ease;
}

.landing-header__btn--login:hover {
  color: #ffffff;
  border-color: rgba(176, 203, 238, 0.4);
  background: linear-gradient(180deg, rgba(28, 40, 66, 0.84) 0%, rgba(14, 24, 42, 0.86) 100%);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 10px 20px rgba(0, 0, 0, 0.32);
}

.landing-header__btn--cta {
  border: 1px solid rgba(130, 198, 255, 0.36);
  color: rgba(223, 243, 255, 0.95);
  background: linear-gradient(180deg, rgba(62, 130, 191, 0.32) 0%, rgba(28, 82, 132, 0.3) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 8px 18px rgba(14, 52, 86, 0.28);
  padding-left: 0.9rem;
  padding-right: 0.9rem;
  font-weight: 600;
  transition: all 0.22s ease;
}

.landing-header__btn--cta:hover {
  color: #fff;
  border-color: rgba(160, 216, 255, 0.55);
  background: linear-gradient(180deg, rgba(79, 154, 222, 0.42) 0%, rgba(34, 102, 164, 0.4) 100%);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 10px 20px rgba(20, 70, 115, 0.34);
}

/* Same glassy weight as Join Telegram (.btn--cta), rose/red tint */
.landing-header__btn--logout {
  border: 1px solid rgba(230, 150, 165, 0.38);
  color: rgba(255, 236, 238, 0.94);
  background: linear-gradient(180deg, rgba(200, 95, 110, 0.3) 0%, rgba(150, 55, 72, 0.28) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 8px 18px rgba(90, 28, 40, 0.22);
  padding-left: 0.9rem;
  padding-right: 0.9rem;
  font-weight: 600;
  transition: all 0.22s ease;
}

.landing-header__btn--logout:hover {
  color: #fff;
  border-color: rgba(240, 175, 188, 0.48);
  background: linear-gradient(180deg, rgba(215, 110, 125, 0.38) 0%, rgba(170, 65, 82, 0.36) 100%);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 10px 20px rgba(100, 32, 45, 0.28);
}

@media (max-width: 1199.98px) {
  .landing-header__menu {
    margin-top: 0.45rem;
    margin-bottom: 0.45rem;
    gap: 0;
  }

  .landing-header__menu .nav-link {
    display: block;
    width: 100%;
    padding: 0.54rem 0;
  }

  .landing-header__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .landing-header__actions .landing-header__btn {
    width: 100%;
  }
}

/* --- Legacy helpers (style.css) --- */

.content{
    display: grid;
    grid-template-columns: 12fr;
    grid-template-rows: 1fr;
    width: 100vw;
    height: 100vh;
  }
  
  .c-text{
    display:block;
    float:left;
    color: rgb(210, 27, 27);
    font-weight: bold;
  }
  
  .m-text{
    display:block;
    float:left;
    color: rgb(0, 163, 44);
    font-weight: bold;
  }
  
  .beta-text{
    display:block;
    float:left;
    color: cornflowerblue;
    font-size: 12px;
  }
  
  .prfile-text{
    display:block;
    float:left;
    padding: 7px 20px 0px 0px;
  }
  
  .prfile-text a{
    text-decoration: none;
    color: white;
  }
  
  .prfile-text a:hover{
    text-decoration: none;
    color: orange;
  }
  
  .right-block{
    position: relative;
  }
  
  .blur_img{
    opacity: 0.5;
  }

  .green-text{
    color:rgb(47, 135, 0);
  }

  .yellow-text{
    color:rgb(255, 187, 59);
  }
  
  .above_img{
    float: left;
    position: absolute;
    left: 0px;
    top: 10px;
    z-index: 1000;
  }
  
  .main_section{
    grid-column: 2;
    grid-row: 1;
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    padding: 30px 30px 30px 30px;
  }
  
  #text-white{
    color:rgb(222, 222, 222);
    float:left; 
    padding: 5px 20px 5px 5px;
  }
  
  .left-menu{
    display: none;
  }

  .banner-img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .right-menu{
    text-align: left;
  }

  .text-offcan-menu{
    display: block;
    color:rgb(0, 0, 0);
    text-align: left;
    text-decoration: none;

    margin: 20px 10px 10px 10px;
    
  }
  
  @media only screen and (min-width: 600px) {
    .content{
      grid-template-columns: 2fr 8fr 2fr;
    }
  
    .sidebar{
      grid-column: 1;
      grid-row: 1;
      background: rgb(222, 222, 222);
      box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
      color: rgb(0, 0, 0);
      padding: 30px 0px 1px 0px;
    }
  
    .left-menu{
      display: block;
    }
  
    ul.left-menu{
      list-style-type: none;
    }
  
    .sub-menu{
      display: none;
    }
  
    .nav-group{
      color: black;
      font-weight: bold;
      margin: 10px 0px 5px 0px;
      cursor: pointer;
      font-size: 16px;
    }
  
    .nav-item{
      color: black;
      font-size: 13px;
      margin: 2px 0px 0px 0px;
    }
  
    .nav-item a:hover{
      color: orange;
      font-weight: bold;
    }
  
  }

/* Yandex Metrika noscript fallback image (avoid inline styles in layouts) */
.ta-metrika-noscript-img {
  position: absolute;
  left: -9999px;
}


/* --- Platform shell --- */

html:has(body.ta-app-body) {
  height: 100%;
}

body.ta-app-body {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box
}

body.ta-app-body>nav.landing-header {
  flex-shrink: 0
}

html[data-app-theme="light"] body.ta-app-body {
  --ta-app-canvas: #eef1f6;
  --ta-app-main-surface: #f7f8fb;
  --ta-app-sidebar-bg: #ffffff;
  --ta-app-sidebar-border: #e2e8f0;
  --ta-brand-green: #4af28e;
  --ta-brand-green-mid: #37d67a;
  --ta-brand-green-deep: #1fa463;
  --ta-app-primary: #0d9488;
  --ta-app-primary-soft: #ecfdf5;
  background: var(--ta-app-canvas)
}

html[data-app-theme="light"] body.ta-app-body .landing-header__btn--logout {
  border: 1px solid rgba(220, 68, 55, 0.55);
  color: #b42318;
  background: linear-gradient(180deg, #ffffff 0%, #fff5f4 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 2px 10px rgba(180, 35, 24, 0.1)
}

html[data-app-theme="light"] body.ta-app-body .landing-header__btn--logout:hover {
  color: #7f1d1d;
  border-color: rgba(200, 50, 40, 0.75);
  background: linear-gradient(180deg, #fff1f0 0%, #ffe4e1 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.98) inset, 0 4px 14px rgba(180, 35, 24, 0.14)
}

html[data-app-theme="light"] body.ta-app-body nav.landing-header.navbar-dark {
  --bs-navbar-color: #334155;
  --bs-navbar-hover-color: #0f172a;
  --bs-navbar-active-color: #0f172a;
  background: #ffffff !important;
  border-bottom: 1px solid var(--ta-app-sidebar-border, #e8ecf0);
  backdrop-filter: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05)
}

html[data-app-theme="light"] body.ta-app-body .landing-header .navbar-toggler {
  border-color: rgba(30, 41, 59, 0.18)
}

html[data-app-theme="light"] body.ta-app-body .landing-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830, 41, 59, 0.78%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
}

html[data-app-theme="light"] body.ta-app-body .landing-header__menu .nav-link {
  color: #475569
}

html[data-app-theme="light"] body.ta-app-body .landing-header__menu .nav-link:hover {
  color: #0f172a;
  text-shadow: none;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 8px
}

html[data-app-theme="light"] body.ta-app-body .landing-header__btn--ghost {
  border: 1px solid rgba(30, 41, 59, 0.14);
  color: #334155;
  background: rgba(255, 255, 255, 0.95)
}

html[data-app-theme="light"] body.ta-app-body .landing-header__btn--ghost:hover {
  color: #0f172a;
  background: #fff;
  border-color: rgba(30, 41, 59, 0.22)
}

html[data-app-theme="light"] body.ta-app-body .platform-sidebar {
  background: var(--ta-app-sidebar-bg, #ffffff);
  border-right-color: var(--ta-app-sidebar-border, #e8ecf0)
}

body.ta-app-body .platform-shell {
  flex: 1 1 0;
  display: flex;
  min-height: 0;
  overflow: hidden
}

body.ta-app-body .platform-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  overflow: hidden
}

body.ta-app-body .platform-content .content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden
}

body.ta-app-body .platform-content .main_section {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain
}

.platform-shell {
  display: flex;
  min-height: 0;
  align-items: stretch
}

.platform-sidebar {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  padding: 1.35rem 1rem 1.5rem;
  align-self: stretch;
  min-height: 0;
  overflow: hidden
}

.platform-sidebar__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  padding: 0.78rem 0.9rem;
  margin-bottom: 0;
  border: 1px solid rgba(22, 163, 74, 0.36);
  border-radius: 13px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: #064e3b !important;
  background: linear-gradient(165deg, #f0fdf4 0%, #dcfce7 52%, #d1fae5 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset, 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 20px -10px rgba(22, 163, 74, 0.28), 0 0 0 1px rgba(22, 163, 74, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease
}

.platform-sidebar__cta:hover {
  color: #065f46 !important;
  border-color: rgba(22, 163, 74, 0.56);
  transform: translateY(-1px);
  background: linear-gradient(165deg, #ecfdf5 0%, #bbf7d0 50%, #86efac 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 3px 10px rgba(22, 163, 74, 0.14), 0 12px 28px -8px rgba(22, 163, 74, 0.3)
}

.platform-sidebar__cta.platform-sidebar__cta--onboarding {
  border-color: rgba(220, 68, 55, 0.42);
  color: #7f1d1d !important;
  background: linear-gradient(165deg, #fff5f4 0%, #ffe4e1 48%, #fecaca 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset, 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 20px -10px rgba(220, 68, 55, 0.28), 0 0 0 1px rgba(220, 68, 55, 0.08)
}

.platform-sidebar__cta.platform-sidebar__cta--onboarding:hover {
  color: #7f1d1d !important;
  transform: translateY(-1px);
  border-color: rgba(220, 68, 55, 0.52);
  background: linear-gradient(165deg, #fff4f3 0%, #ffe6e3 50%, #fdcfc7 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 2px 8px rgba(180, 35, 24, 0.12), 0 10px 22px -12px rgba(220, 68, 55, 0.22)
}

.platform-sidebar__cta-ico {
  flex-shrink: 0;
  font-size: 0.92rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 0.9
}

.platform-sidebar__nav {
  margin-top: 1.25rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e2e8f0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden
}

.platform-sidebar__group {
  margin-bottom: 0.15rem
}

.platform-sidebar__group+.platform-sidebar__group {
  margin-top: 1.2rem;
  padding-top: 1.15rem;
  border-top: 1px solid #e2e8f0
}

.platform-sidebar__group-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0.35rem 0.55rem;
  padding-left: 0.15rem
}

.platform-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.65rem;
  border-radius: 12px;
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0.2rem;
  transition: background 0.15s ease, color 0.15s ease
}

.platform-sidebar__ico {
  flex-shrink: 0;
  font-size: 0.82rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: color 0.15s ease
}

.platform-sidebar__link-text {
  flex: 1;
  min-width: 0
}

.platform-sidebar__kit-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.45rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #166534;
  background: rgba(74, 242, 142, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.35);
  vertical-align: middle
}

.platform-sidebar__kit-badge--new {
  color: #7c2d12;
  background: linear-gradient(180deg, #fde68a 0%, #fca5a5 100%);
  border-color: rgba(220, 38, 38, 0.42)
}

.platform-sidebar__kit-badge--soon {
  color: #7f1d1d;
  background: linear-gradient(180deg, #fef08a 0%, #fca5a5 100%);
  border-color: rgba(220, 38, 38, 0.45)
}

.platform-sidebar__link--disabled {
  opacity: 0.68;
  cursor: not-allowed;
  pointer-events: none
}

.platform-sidebar__link--disabled .platform-sidebar__ico {
  color: #f59e0b
}

.platform-sidebar__link:hover {
  background: #f6fdf9;
  color: #0f5132
}

.platform-sidebar__link:hover .platform-sidebar__ico {
  color: currentColor
}

.platform-sidebar__link.is-active {
  background: rgba(74, 242, 142, 0.14);
  color: #065f46;
  font-weight: 600
}

.platform-sidebar__link.is-active .platform-sidebar__ico {
  color: currentColor
}

.platform-sidebar__link--danger:hover {
  background: #fef2f2;
  color: #dc2626
}

.platform-sidebar__link--danger:hover .platform-sidebar__ico {
  color: currentColor
}

.platform-sidebar__footer {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0
}

.platform-sidebar__support-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.85rem;
  gap: 0.35rem;
  text-decoration: none;
  border-radius: 9px;
  padding: 0.45rem 0.72rem;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid rgba(74, 242, 142, 0.42);
  background: linear-gradient(180deg, rgba(74, 242, 142, 0.18), rgba(74, 242, 142, 0.08));
  color: #4af28e;
  box-shadow: 0 0 0 1px rgba(74, 242, 142, 0.08) inset;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease
}

.platform-sidebar__support-cta i {
  font-size: 0.78rem;
  line-height: 1;
  display: inline-flex;
  align-items: center
}

.platform-sidebar__support-cta:hover {
  color: #6ef9a8;
  border-color: rgba(74, 242, 142, 0.55);
  background: linear-gradient(180deg, rgba(74, 242, 142, 0.26), rgba(74, 242, 142, 0.12))
}

.platform-sidebar__account-chip {
  margin: 0.65rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  font-size: 0.72rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid transparent;
  line-height: 1.35
}

.platform-sidebar__account-chip i {
  flex-shrink: 0;
  opacity: 0.8
}

.platform-sidebar__logout {
  margin-top: 0.65rem
}

.platform-content {
  flex: 1;
  min-width: 0;
  min-height: 0
}

.platform-content .content {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  width: auto;
  overflow: hidden
}

.platform-content .main_section {
  grid-column: auto;
  grid-row: auto;
  padding: 32px 36px 40px;
  background: #eef1f6;
  color: #0f172a;
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain
}

html[data-app-theme="light"] body.ta-app-body .platform-content .main_section {
  background: var(--ta-app-main-surface, #f7f8fb);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.65)
}

html[data-app-theme="dark"] body.ta-app-body {
  --ta-app-main-surface: #0c1018;
  background: #070b12
}

html[data-app-theme="dark"] .platform-sidebar {
  background: #121826;
  border-right-color: rgba(255, 255, 255, 0.1)
}

html[data-app-theme="dark"] .platform-sidebar__nav {
  border-top-color: rgba(255, 255, 255, 0.1)
}

html[data-app-theme="dark"] .platform-sidebar__group+.platform-sidebar__group {
  border-top-color: rgba(255, 255, 255, 0.1)
}

html[data-app-theme="dark"] .platform-sidebar__ico {
  color: #8b9cb3
}

html[data-app-theme="dark"] .platform-sidebar__link:hover .platform-sidebar__ico,
html[data-app-theme="dark"] .platform-sidebar__link.is-active .platform-sidebar__ico,
html[data-app-theme="dark"] .platform-sidebar__link--danger:hover .platform-sidebar__ico {
  color: currentColor
}

html[data-app-theme="dark"] .platform-sidebar__cta {
  border-color: rgba(74, 242, 142, 0.34);
  color: #bbf7d0 !important;
  background: linear-gradient(165deg, rgba(34, 197, 94, 0.18) 0%, rgba(15, 23, 42, 0.88) 62%, rgba(6, 78, 59, 0.35) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 4px 18px rgba(0, 0, 0, 0.32), 0 0 22px rgba(74, 242, 142, 0.08)
}

html[data-app-theme="dark"] .platform-sidebar__cta:hover {
  color: #bbf7d0 !important;
  border-color: rgba(74, 242, 142, 0.38);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.16) 0%, rgba(15, 23, 42, 0.92) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 6px 24px rgba(0, 0, 0, 0.36), 0 0 24px rgba(74, 242, 142, 0.1)
}

html[data-app-theme="dark"] .platform-sidebar__cta.platform-sidebar__cta--onboarding {
  border-color: rgba(248, 113, 113, 0.38);
  color: #fecaca !important;
  background: linear-gradient(165deg, rgba(220, 38, 38, 0.22) 0%, rgba(15, 23, 42, 0.88) 58%, rgba(127, 29, 29, 0.4) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 4px 18px rgba(0, 0, 0, 0.32), 0 0 22px rgba(248, 113, 113, 0.1)
}

html[data-app-theme="dark"] .platform-sidebar__cta.platform-sidebar__cta--onboarding:hover {
  color: #fecaca !important;
  transform: translateY(-1px);
  border-color: rgba(252, 165, 165, 0.42);
  background: linear-gradient(165deg, rgba(220, 38, 38, 0.2) 0%, rgba(15, 23, 42, 0.9) 58%, rgba(127, 29, 29, 0.34) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 5px 18px -8px rgba(0, 0, 0, 0.4), 0 0 18px rgba(248, 113, 113, 0.1)
}

.platform-sidebar__cta.platform-sidebar__cta--onboarding.is-active {
  transform: translateY(-1px);
  border-color: rgba(220, 68, 55, 0.55);
  background: linear-gradient(165deg, #fff5f4 0%, #ffe4e1 48%, #fecaca 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset, 0 3px 10px rgba(180, 35, 24, 0.14), 0 12px 24px -12px rgba(220, 68, 55, 0.2)
}

html[data-app-theme="dark"] .platform-sidebar__cta.platform-sidebar__cta--onboarding.is-active {
  transform: translateY(-1px);
  border-color: rgba(252, 165, 165, 0.45);
  background: linear-gradient(165deg, rgba(220, 38, 38, 0.22) 0%, rgba(15, 23, 42, 0.9) 58%, rgba(127, 29, 29, 0.38) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 6px 20px -8px rgba(0, 0, 0, 0.42), 0 0 20px rgba(248, 113, 113, 0.1)
}

html[data-app-theme="dark"] .platform-sidebar__cta-ico {
  opacity: 0.95
}

html[data-app-theme="dark"] .platform-sidebar__group-label {
  color: #8b98ad
}

html[data-app-theme="dark"] .platform-sidebar__link--danger:hover {
  background: rgba(220, 38, 38, 0.12);
  color: #fca5a5
}

html[data-app-theme="dark"] .platform-sidebar__link {
  color: #dce3ef
}

html[data-app-theme="dark"] .platform-sidebar__link:hover {
  background: rgba(55, 214, 122, 0.1);
  color: #86efac
}

html[data-app-theme="dark"] .platform-sidebar__link.is-active {
  background: rgba(55, 214, 122, 0.16);
  color: #bbf7d0
}

html[data-app-theme="dark"] .platform-sidebar__kit-badge {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(74, 242, 142, 0.34)
}

html[data-app-theme="dark"] .platform-sidebar__kit-badge--new {
  color: #fff7ed;
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.24), rgba(239, 68, 68, 0.25));
  border-color: rgba(248, 113, 113, 0.5)
}

html[data-app-theme="dark"] .platform-sidebar__kit-badge--soon {
  color: #fee2e2;
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.2), rgba(239, 68, 68, 0.22));
  border-color: rgba(248, 113, 113, 0.5)
}

html[data-app-theme="light"] .platform-sidebar__support-cta {
  color: #047857;
  border-color: rgba(22, 163, 74, 0.38);
  background: linear-gradient(180deg, rgba(74, 242, 142, 0.2), rgba(74, 242, 142, 0.09));
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.08) inset
}

html[data-app-theme="light"] .platform-sidebar__support-cta:hover {
  color: #065f46;
  border-color: rgba(22, 163, 74, 0.5);
  background: linear-gradient(180deg, rgba(74, 242, 142, 0.28), rgba(74, 242, 142, 0.14))
}

html[data-app-theme="light"] .platform-sidebar__account-chip {
  color: #334155;
  background: rgba(248, 250, 252, 0.9);
  border-color: rgba(15, 23, 42, 0.1)
}

html[data-app-theme="dark"] .platform-sidebar__footer {
  border-top-color: rgba(255, 255, 255, 0.1)
}

html[data-app-theme="dark"] .platform-sidebar__support-cta {
  color: #4af28e;
  border-color: rgba(74, 242, 142, 0.42);
  background: linear-gradient(180deg, rgba(74, 242, 142, 0.18), rgba(74, 242, 142, 0.08));
  box-shadow: 0 0 0 1px rgba(74, 242, 142, 0.08) inset
}

html[data-app-theme="dark"] .platform-sidebar__support-cta:hover {
  color: #6ef9a8;
  border-color: rgba(74, 242, 142, 0.55);
  background: linear-gradient(180deg, rgba(74, 242, 142, 0.26), rgba(74, 242, 142, 0.12))
}

html[data-app-theme="dark"] .platform-sidebar__account-chip {
  color: #cbd5e1;
  background: rgba(2, 6, 23, 0.45);
  border-color: rgba(148, 163, 184, 0.2)
}

html[data-app-theme="dark"] .platform-content .main_section {
  background: var(--ta-app-main-surface, #0c1018);
  color: #e8ecf3;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.04)
}

html[data-app-theme="light"] .ta-theme-toggle .ta-theme-icon--sun {
  display: none !important
}

html[data-app-theme="light"] .ta-theme-toggle .ta-theme-icon--moon {
  display: inline-block !important
}

html[data-app-theme="dark"] .ta-theme-toggle .ta-theme-icon--moon {
  display: none !important
}

html[data-app-theme="dark"] .ta-theme-toggle .ta-theme-icon--sun {
  display: inline-block !important
}

@media (max-width:991.98px) {
  body.ta-app-body .platform-shell {
    flex-direction: column
  }

  body.ta-app-body .landing-header .landing-header__container {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px))
  }

  .platform-content .main_section {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: max(clamp(1.1rem, 4.5vw, 1.85rem), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(1.1rem, 4.5vw, 1.85rem), env(safe-area-inset-right, 0px))
  }

  .platform-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e8ecf0
  }

  html[data-app-theme="dark"] .platform-sidebar {
    border-bottom-color: rgba(255, 255, 255, 0.08)
  }
}
