:root {
  --ts-site-ink: #132033;
  --ts-site-muted: #67758a;
  --ts-site-line: #dbe3ee;
  --ts-site-soft: #f5f8fc;
  --ts-site-primary: #3157d5;
  --ts-site-primary-dark: #2445b8;
  --ts-site-shadow: 0 24px 70px rgba(15, 28, 53, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ts-site-ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(49, 87, 213, 0.32);
  outline-offset: 3px;
}

.btn-primary,
.btn.btn-primary {
  border-color: var(--ts-site-primary) !important;
  background: var(--ts-site-primary) !important;
  box-shadow: 0 12px 26px rgba(49, 87, 213, 0.22);
}

.btn-primary:hover,
.btn.btn-primary:hover {
  border-color: var(--ts-site-primary-dark) !important;
  background: var(--ts-site-primary-dark) !important;
}

.form-control {
  border-color: var(--ts-site-line);
  border-radius: 7px;
}

.form-control:focus {
  border-color: var(--ts-site-primary);
  box-shadow: 0 0 0 3px rgba(49, 87, 213, 0.14);
}

body.pg-auth {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(49, 87, 213, 0.09), rgba(15, 159, 110, 0.06)),
    var(--ts-site-soft) !important;
}

body.pg-auth .nk-content {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 16px;
}

body.pg-auth .nk-block-middle {
  margin-top: 0 !important;
}

body.pg-auth .nk-auth-body {
  width: min(456px, 100%);
  max-width: none;
}

body.pg-auth.ts-page-dmca .nk-auth-body {
  width: min(780px, 100%);
}

body.pg-auth .brand-logo {
  padding-bottom: 18px !important;
}

body.pg-auth .logo-img-lg {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

body.pg-auth .card {
  border: 1px solid rgba(219, 227, 238, 0.92) !important;
  border-radius: 8px !important;
  box-shadow: var(--ts-site-shadow);
}

body.pg-auth .card-inner-lg,
body.pg-auth .card-inner {
  padding: 32px !important;
}

body.pg-auth .nk-block-head {
  padding-bottom: 18px;
}

body.pg-auth .nk-block-title {
  color: var(--ts-site-ink);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0;
}

body.pg-auth .nk-block-des,
body.pg-auth .nk-block-des p,
body.pg-auth .text-soft {
  color: var(--ts-site-muted) !important;
}

body.pg-auth .form-label {
  color: #40516a;
  font-weight: 800;
}

body.pg-auth .form-control-lg {
  min-height: 48px;
  font-size: 0.98rem;
}

body.pg-auth .form-group {
  margin-bottom: 16px;
}

body.pg-auth .btn-block,
body.pg-auth button.btn-primary {
  min-height: 48px;
  border-radius: 7px;
  font-weight: 900;
}

body.pg-auth .form-note-s2 {
  color: var(--ts-site-muted);
}

body.pg-auth .overline-title-sap::before,
body.pg-auth .overline-title-sap::after {
  border-color: #e2e8f1;
}

body.pg-auth .card-inner > ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

body.pg-auth .card-inner > ul .nav-item {
  margin: 0 !important;
}

body.pg-auth .card-inner > ul .btn {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-weight: 800;
}

body.pg-auth .cf-turnstile {
  margin: 8px 0 18px;
}

body.pg-auth .cf-turnstile:empty {
  display: none;
}

body.pg-auth .nk-footer {
  width: 100%;
  color: var(--ts-site-muted);
}

body.pg-error {
  min-height: 100vh;
  background: var(--ts-site-soft) !important;
}

body.pg-error .nk-content {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 16px;
}

body.pg-error .nk-error-gfx {
  max-width: min(360px, 72vw);
  margin-bottom: 24px;
}

body.pg-error .nk-error-title {
  color: var(--ts-site-ink);
  font-weight: 900;
}

body.pg-error .nk-error-text {
  color: var(--ts-site-muted);
}

body.ts-page-privacy,
body.ts-page-terms,
body.ts-page-download {
  background: var(--ts-site-soft) !important;
}

body.ts-page-privacy .section,
body.ts-page-terms .section,
body.ts-page-download .section {
  background: #ffffff;
}

body.ts-page-privacy .nk-block,
body.ts-page-terms .nk-block {
  max-width: 980px;
  margin-inline: auto;
}

body.ts-page-privacy .card,
body.ts-page-terms .card,
body.ts-page-download .card,
body.npc-apps .card {
  border: 1px solid rgba(219, 227, 238, 0.92) !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 48px rgba(15, 28, 53, 0.08);
}

body.ts-page-privacy h2,
body.ts-page-terms h2,
body.ts-page-privacy h5,
body.ts-page-terms h5 {
  letter-spacing: 0;
}

body.ts-page-privacy p,
body.ts-page-terms p,
body.ts-page-privacy li,
body.ts-page-terms li {
  color: #34445d;
  line-height: 1.72;
}

body.npc-apps {
  background: var(--ts-site-soft) !important;
}

body.npc-apps .nk-content {
  background: transparent;
}

body.npc-apps .nk-block-title {
  color: var(--ts-site-ink);
  font-weight: 900;
}

body.npc-apps .nk-block-des,
body.npc-apps .nk-block-des p {
  color: var(--ts-site-muted);
}

body.ts-page-privacy .header.has-header-main-s1.bg-dark,
body.ts-page-terms .header.has-header-main-s1.bg-dark,
body.ts-page-download .header.has-header-main-s1.bg-dark {
  display: block !important;
  height: auto !important;
  min-height: auto !important;
  padding-top: 0 !important;
  background: #13213b !important;
  color: #ffffff;
  overflow: hidden;
}

.header.has-header-main-s1.bg-dark .ts-hero-canvas {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
}

body.ts-page-privacy .header.has-header-main-s1.bg-dark::before,
body.ts-page-terms .header.has-header-main-s1.bg-dark::before,
body.ts-page-download .header.has-header-main-s1.bg-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(11, 24, 49, 0.98), rgba(25, 47, 96, 0.94)),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
}

body.ts-page-privacy .header-main.header-main-s1,
body.ts-page-terms .header-main.header-main-s1,
body.ts-page-download .header-main.header-main-s1 {
  position: relative;
  z-index: 1;
  padding: 18px 0 !important;
  background: rgba(18, 31, 56, 0.82) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

body.ts-page-privacy .header-wrap,
body.ts-page-terms .header-wrap,
body.ts-page-download .header-wrap,
body.ts-page-privacy .header-logo,
body.ts-page-terms .header-logo,
body.ts-page-download .header-logo,
body.ts-page-privacy .header-logo .logo-link,
body.ts-page-terms .header-logo .logo-link,
body.ts-page-download .header-logo .logo-link,
body.ts-page-privacy .header-menu,
body.ts-page-terms .header-menu,
body.ts-page-download .header-menu,
body.ts-page-privacy .header-menu .menu-list,
body.ts-page-terms .header-menu .menu-list,
body.ts-page-download .header-menu .menu-list,
body.ts-page-privacy .header-menu .menu-item,
body.ts-page-terms .header-menu .menu-item,
body.ts-page-download .header-menu .menu-item,
body.ts-page-privacy .header-menu .menu-link,
body.ts-page-terms .header-menu .menu-link,
body.ts-page-download .header-menu .menu-link {
  display: flex !important;
  align-items: center !important;
}

body.ts-page-privacy .header-logo .logo-link,
body.ts-page-terms .header-logo .logo-link,
body.ts-page-download .header-logo .logo-link {
  gap: 10px !important;
  line-height: 1 !important;
}

body.ts-page-privacy .header-logo .logo-link img,
body.ts-page-terms .header-logo .logo-link img,
body.ts-page-download .header-logo .logo-link img {
  display: block !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 !important;
  float: none !important;
  object-fit: contain;
}

body.ts-page-privacy .header-logo .logo-link > span,
body.ts-page-terms .header-logo .logo-link > span,
body.ts-page-download .header-logo .logo-link > span,
body.ts-page-privacy .header-logo .customFonts,
body.ts-page-terms .header-logo .customFonts,
body.ts-page-download .header-logo .customFonts {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  font-family: "Nunito", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1.12rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

body.ts-page-privacy .header-main.on-dark img.logo-light,
body.ts-page-terms .header-main.on-dark img.logo-light,
body.ts-page-download .header-main.on-dark img.logo-light,
body.ts-page-privacy .header-main.on-dark span.logo-light,
body.ts-page-terms .header-main.on-dark span.logo-light,
body.ts-page-download .header-main.on-dark span.logo-light {
  display: inline-flex !important;
}

body.ts-page-privacy .header-main.on-dark .logo-dark,
body.ts-page-terms .header-main.on-dark .logo-dark,
body.ts-page-download .header-main.on-dark .logo-dark {
  display: none !important;
}

body.ts-page-privacy .header-menu .menu-link,
body.ts-page-terms .header-menu .menu-link,
body.ts-page-download .header-menu .menu-link {
  min-height: 46px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  color: #ffffff !important;
  font-weight: 850;
}

body.ts-page-privacy .header-content,
body.ts-page-terms .header-content,
body.ts-page-download .header-content {
  position: relative;
  z-index: 1;
  display: block !important;
  min-height: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 34px 0 64px !important;
  transform: none !important;
}

body.ts-page-privacy .header-content > .container,
body.ts-page-terms .header-content > .container,
body.ts-page-download .header-content > .container {
  position: relative;
  z-index: 1;
}

body.ts-page-privacy .header-content .row,
body.ts-page-terms .header-content .row,
body.ts-page-download .header-content .row {
  margin-top: 0 !important;
  transform: none !important;
}

body.ts-page-privacy .header-caption,
body.ts-page-terms .header-caption,
body.ts-page-download .header-caption {
  width: min(980px, 100%);
  margin: 0 auto !important;
}

body.ts-page-privacy .nk-block-head,
body.ts-page-terms .nk-block-head {
  padding-bottom: 20px !important;
}

body.ts-page-privacy .nk-block-title,
body.ts-page-terms .nk-block-title {
  color: #ffffff !important;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 950;
  letter-spacing: 0;
}

body.ts-page-privacy .nk-block-des .text-soft,
body.ts-page-terms .nk-block-des .text-soft {
  color: rgba(255, 255, 255, 0.72) !important;
}

body.ts-page-download .header-title {
  max-width: 680px;
  margin: 0 auto 12px !important;
  color: #ffffff !important;
  font-size: clamp(2rem, 4.4vw, 3.4rem) !important;
  font-weight: 950;
  line-height: 1.06 !important;
  letter-spacing: 0 !important;
}

body.ts-page-download .header-title + p {
  max-width: 600px;
  margin: 0 auto 26px !important;
  color: rgba(255, 255, 255, 0.76) !important;
  line-height: 1.55;
}

body.ts-page-download #downloadBox {
  width: min(680px, 100%) !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 70px rgba(7, 16, 37, 0.26);
}

body.ts-page-download #downloadBox .card-inner {
  padding: 28px !important;
}

body.ts-page-download #dlFiles {
  gap: 0;
  max-height: 260px;
  margin: 14px 0;
  padding: 0;
  border: 1px solid #e1e7f0;
  border-radius: 8px;
}

body.ts-page-download #dlFiles > li {
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: #172033;
}

body.ts-page-download #dlFiles > li .betterText {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

body.ts-page-download #dlFiles > li span:last-child {
  flex: 0 0 auto;
  white-space: nowrap;
}

body.ts-page-privacy .content-page,
body.ts-page-terms .content-page {
  width: min(980px, 100%);
}

body.ts-page-privacy .card,
body.ts-page-terms .card {
  background: #ffffff !important;
  box-shadow: 0 24px 70px rgba(7, 16, 37, 0.22);
}

body.ts-page-privacy .entry,
body.ts-page-terms .entry {
  color: #26364d;
}

body.ts-authenticated #loginTab,
body.ts-authenticated #registerTab {
  display: none !important;
}

body.ts-authenticated #manageTab {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.ts-anonymous #manageTab {
  display: none !important;
}

@media (max-width: 575px) {
  body.pg-auth .nk-content,
  body.pg-error .nk-content {
    padding: 28px 12px;
  }

  body.pg-auth .card-inner-lg,
  body.pg-auth .card-inner {
    padding: 24px !important;
  }

  body.pg-auth .nk-block-title {
    font-size: 1.48rem;
  }

  body.ts-page-privacy .header-main.header-main-s1,
  body.ts-page-terms .header-main.header-main-s1,
  body.ts-page-download .header-main.header-main-s1 {
    padding: 14px 0 !important;
  }

  body.ts-page-privacy .header-logo .logo-link img,
  body.ts-page-terms .header-logo .logo-link img,
  body.ts-page-download .header-logo .logo-link img {
    width: 42px !important;
    height: 42px !important;
  }

  body.ts-page-privacy .header-content,
  body.ts-page-terms .header-content,
  body.ts-page-download .header-content {
    padding: 28px 0 40px !important;
  }

  body.ts-page-download .header-title {
    font-size: clamp(1.72rem, 8vw, 2.2rem) !important;
  }

  body.ts-page-download #downloadBox .card-inner {
    padding: 22px !important;
  }

  body.ts-page-privacy .card-inner-xl,
  body.ts-page-terms .card-inner-xl {
    padding: 24px !important;
  }
}

/* Shared marketing/legal/download navigation */
body.ts-page-home .header-main.header-main-s1,
body.ts-page-privacy .header-main.header-main-s1,
body.ts-page-terms .header-main.header-main-s1,
body.ts-page-download .header-main.header-main-s1 {
  position: relative !important;
  z-index: 5 !important;
  padding: 0 !important;
  background: rgba(18, 31, 56, 0.82) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}

body.ts-page-home .header-wrap,
body.ts-page-privacy .header-wrap,
body.ts-page-terms .header-wrap,
body.ts-page-download .header-wrap {
  min-height: 88px !important;
  align-items: center !important;
  padding: 0 !important;
}

body.ts-page-home .header-logo,
body.ts-page-privacy .header-logo,
body.ts-page-terms .header-logo,
body.ts-page-download .header-logo,
body.ts-page-home .header-logo .logo-link,
body.ts-page-privacy .header-logo .logo-link,
body.ts-page-terms .header-logo .logo-link,
body.ts-page-download .header-logo .logo-link {
  display: flex !important;
  align-items: center !important;
}

body.ts-page-home .header-logo .logo-link,
body.ts-page-privacy .header-logo .logo-link,
body.ts-page-terms .header-logo .logo-link,
body.ts-page-download .header-logo .logo-link {
  gap: 10px !important;
  line-height: 1 !important;
}

body.ts-page-home .header-logo .logo-link img,
body.ts-page-privacy .header-logo .logo-link img,
body.ts-page-terms .header-logo .logo-link img,
body.ts-page-download .header-logo .logo-link img {
  display: block !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 !important;
  float: none !important;
  object-fit: contain;
}

body.ts-page-home .header-logo .logo-link > span,
body.ts-page-privacy .header-logo .logo-link > span,
body.ts-page-terms .header-logo .logo-link > span,
body.ts-page-download .header-logo .logo-link > span,
body.ts-page-home .header-logo .customFonts,
body.ts-page-privacy .header-logo .customFonts,
body.ts-page-terms .header-logo .customFonts,
body.ts-page-download .header-logo .customFonts {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  color: #ffffff !important;
  font-family: "Nunito", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1.12rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

body.ts-page-home .header-main.on-dark img.logo-light,
body.ts-page-privacy .header-main.on-dark img.logo-light,
body.ts-page-terms .header-main.on-dark img.logo-light,
body.ts-page-download .header-main.on-dark img.logo-light,
body.ts-page-home .header-main.on-dark span.logo-light,
body.ts-page-privacy .header-main.on-dark span.logo-light,
body.ts-page-terms .header-main.on-dark span.logo-light,
body.ts-page-download .header-main.on-dark span.logo-light {
  display: inline-flex !important;
}

body.ts-page-home .header-main.on-dark .logo-dark,
body.ts-page-privacy .header-main.on-dark .logo-dark,
body.ts-page-terms .header-main.on-dark .logo-dark,
body.ts-page-download .header-main.on-dark .logo-dark {
  display: none !important;
}

body.ts-page-home .header-menu,
body.ts-page-privacy .header-menu,
body.ts-page-terms .header-menu,
body.ts-page-download .header-menu,
body.ts-page-home .header-menu .menu-list,
body.ts-page-privacy .header-menu .menu-list,
body.ts-page-terms .header-menu .menu-list,
body.ts-page-download .header-menu .menu-list,
body.ts-page-home .menu-btns,
body.ts-page-privacy .menu-btns,
body.ts-page-terms .menu-btns,
body.ts-page-download .menu-btns {
  align-items: center !important;
}

@media (min-width: 992px) {
  body.ts-page-home .header-menu,
  body.ts-page-privacy .header-menu,
  body.ts-page-terms .header-menu,
  body.ts-page-download .header-menu {
    position: static !important;
    display: flex !important;
    flex: 1 1 auto !important;
    justify-content: flex-end !important;
    width: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  body.ts-page-home .header-menu .menu-list,
  body.ts-page-privacy .header-menu .menu-list,
  body.ts-page-terms .header-menu .menu-list,
  body.ts-page-download .header-menu .menu-list {
    display: flex !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.ts-page-home .header-menu .menu-link,
  body.ts-page-privacy .header-menu .menu-link,
  body.ts-page-terms .header-menu .menu-link,
  body.ts-page-download .header-menu .menu-link {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 0 14px !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  body.ts-page-home .header-menu .menu-link:hover,
  body.ts-page-privacy .header-menu .menu-link:hover,
  body.ts-page-terms .header-menu .menu-link:hover,
  body.ts-page-download .header-menu .menu-link:hover,
  body.ts-page-home .header-menu .current-page > .menu-link,
  body.ts-page-privacy .header-menu .current-page > .menu-link,
  body.ts-page-terms .header-menu .current-page > .menu-link,
  body.ts-page-download .header-menu .current-page > .menu-link {
    color: #ffffff !important;
  }

  body.ts-page-home .menu-btns,
  body.ts-page-privacy .menu-btns,
  body.ts-page-terms .menu-btns,
  body.ts-page-download .menu-btns {
    display: flex !important;
    gap: 10px !important;
    margin: 0 0 0 24px !important;
    padding: 0 !important;
  }

  body.ts-page-home .menu-btns li,
  body.ts-page-privacy .menu-btns li,
  body.ts-page-terms .menu-btns li,
  body.ts-page-download .menu-btns li {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
  }

  body.ts-page-home #registerTab,
  body.ts-page-home #manageTab,
  body.ts-page-privacy #registerTab,
  body.ts-page-privacy #manageTab,
  body.ts-page-terms #registerTab,
  body.ts-page-terms #manageTab,
  body.ts-page-download #registerTab,
  body.ts-page-download #manageTab {
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 26px !important;
    border-radius: 6px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    font-weight: 900 !important;
  }

  body.ts-page-home .header-toggle,
  body.ts-page-privacy .header-toggle,
  body.ts-page-terms .header-toggle,
  body.ts-page-download .header-toggle {
    display: none !important;
  }
}

.ts-site-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  background: rgba(5, 12, 28, 0.45);
  backdrop-filter: blur(2px);
}

body.ts-nav-open .ts-site-nav-overlay {
  display: block;
}

body.ts-nav-open.ts-page-home .header-main.header-main-s1,
body.ts-nav-open.ts-page-privacy .header-main.header-main-s1,
body.ts-nav-open.ts-page-terms .header-main.header-main-s1,
body.ts-nav-open.ts-page-download .header-main.header-main-s1 {
  z-index: 1005 !important;
}

@media (max-width: 991px) {
  body.ts-page-home .header-main.header-main-s1,
  body.ts-page-privacy .header-main.header-main-s1,
  body.ts-page-terms .header-main.header-main-s1,
  body.ts-page-download .header-main.header-main-s1 {
    padding: 0 !important;
    background: rgba(18, 31, 56, 0.94) !important;
  }

  body.ts-page-home .header-wrap,
  body.ts-page-privacy .header-wrap,
  body.ts-page-terms .header-wrap,
  body.ts-page-download .header-wrap {
    min-height: 72px !important;
  }

  body.ts-page-home .header-logo .logo-link img,
  body.ts-page-privacy .header-logo .logo-link img,
  body.ts-page-terms .header-logo .logo-link img,
  body.ts-page-download .header-logo .logo-link img {
    width: 42px !important;
    height: 42px !important;
  }

  body.ts-page-home .header-toggle,
  body.ts-page-privacy .header-toggle,
  body.ts-page-terms .header-toggle,
  body.ts-page-download .header-toggle {
    position: relative !important;
    z-index: 1003 !important;
    display: flex !important;
    align-items: center !important;
  }

  body.ts-page-home .menu-toggler,
  body.ts-page-privacy .menu-toggler,
  body.ts-page-terms .menu-toggler,
  body.ts-page-download .menu-toggler {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.09) !important;
    color: #ffffff !important;
    font-size: 1.45rem !important;
    line-height: 1 !important;
  }

  body.ts-page-home .menu-toggler .menu-off,
  body.ts-page-privacy .menu-toggler .menu-off,
  body.ts-page-terms .menu-toggler .menu-off,
  body.ts-page-download .menu-toggler .menu-off {
    display: none !important;
  }

  body.ts-page-home .menu-toggler.active .menu-on,
  body.ts-page-privacy .menu-toggler.active .menu-on,
  body.ts-page-terms .menu-toggler.active .menu-on,
  body.ts-page-download .menu-toggler.active .menu-on {
    display: none !important;
  }

  body.ts-page-home .menu-toggler.active .menu-off,
  body.ts-page-privacy .menu-toggler.active .menu-off,
  body.ts-page-terms .menu-toggler.active .menu-off,
  body.ts-page-download .menu-toggler.active .menu-off {
    display: inline-flex !important;
  }

  body.ts-page-home .header-menu,
  body.ts-page-privacy .header-menu,
  body.ts-page-terms .header-menu,
  body.ts-page-download .header-menu {
    position: fixed !important;
    top: 84px !important;
    right: 16px !important;
    left: 16px !important;
    z-index: 1006 !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    height: min(281px, calc(100vh - 108px)) !important;
    min-height: 0 !important;
    max-height: calc(100vh - 108px) !important;
    padding: 12px !important;
    border: 1px solid #d7e0ef !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 28px 70px rgba(5, 12, 28, 0.28) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-14px) !important;
    overflow-y: auto !important;
    pointer-events: none !important;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease !important;
  }

  body.ts-page-home .header-menu.active,
  body.ts-page-privacy .header-menu.active,
  body.ts-page-terms .header-menu.active,
  body.ts-page-download .header-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  body.ts-page-home .header-menu .menu-list,
  body.ts-page-privacy .header-menu .menu-list,
  body.ts-page-terms .header-menu .menu-list,
  body.ts-page-download .header-menu .menu-list {
    display: grid !important;
    gap: 2px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.ts-page-home .header-menu .menu-link,
  body.ts-page-privacy .header-menu .menu-link,
  body.ts-page-terms .header-menu .menu-link,
  body.ts-page-download .header-menu .menu-link {
    display: flex !important;
    align-items: center !important;
    min-height: 46px !important;
    width: 100% !important;
    padding: 0 14px !important;
    border-radius: 7px !important;
    color: #172033 !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
  }

  body.ts-page-home .header-menu .menu-link:hover,
  body.ts-page-privacy .header-menu .menu-link:hover,
  body.ts-page-terms .header-menu .menu-link:hover,
  body.ts-page-download .header-menu .menu-link:hover,
  body.ts-page-home .header-menu .current-page > .menu-link,
  body.ts-page-privacy .header-menu .current-page > .menu-link,
  body.ts-page-terms .header-menu .current-page > .menu-link,
  body.ts-page-download .header-menu .current-page > .menu-link {
    background: #f0f4ff !important;
    color: #3157d5 !important;
  }

  body.ts-page-home .menu-btns,
  body.ts-page-privacy .menu-btns,
  body.ts-page-terms .menu-btns,
  body.ts-page-download .menu-btns {
    display: grid !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 10px 0 0 !important;
    border-top: 1px solid #e2e8f3 !important;
  }

  body.ts-page-home .menu-btns li,
  body.ts-page-privacy .menu-btns li,
  body.ts-page-terms .menu-btns li,
  body.ts-page-download .menu-btns li {
    width: 100% !important;
    padding: 0 !important;
  }

  body.ts-page-home #registerTab,
  body.ts-page-home #manageTab,
  body.ts-page-privacy #registerTab,
  body.ts-page-privacy #manageTab,
  body.ts-page-terms #registerTab,
  body.ts-page-terms #manageTab,
  body.ts-page-download #registerTab,
  body.ts-page-download #manageTab {
    width: 100% !important;
    min-height: 46px !important;
    border-radius: 7px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.96rem !important;
    font-weight: 900 !important;
  }
}

/* Download page viewport and preview layering */
body.ts-page-download .header,
body.ts-page-download .header.has-header-main-s1.bg-dark {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
  height: 100vh !important;
}

body.ts-page-download .header-content {
  display: flex !important;
  align-items: center !important;
  flex: 1 0 auto !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 48px 0 76px !important;
}

body.ts-page-download .header-content > .container {
  width: 100% !important;
}

body.ts-page-download .section-cta,
body.ts-page-download .footer {
  position: relative;
  z-index: 0;
}

body.ts-page-download.ts-preview-open {
  overflow: hidden !important;
}

body.ts-page-download #docPreviewModal {
  z-index: 2147483000 !important;
}

@media (max-width: 575px) {
  body.ts-page-download .header {
    min-height: 100svh !important;
    height: 100svh !important;
  }

  body.ts-page-download .header-content {
    align-items: flex-start !important;
    padding: 34px 0 48px !important;
  }

  body.ts-page-download #docPreviewModal {
    padding: 0 !important;
  }

  body.ts-page-download #docPreviewModal .modal-card {
    width: 100vw !important;
    height: 100svh !important;
    max-height: none !important;
    border-radius: 0 !important;
  }
}
