@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --wrap: min(1440px, calc(100vw - 48px));
  --footer-wrap: min(1344px, calc(100vw - 96px));
  --shell-wrap: var(--wrap);
  --shell-bg: #040a14;
  --shell-text: #f8fbff;
  --shell-text-soft: #cbd5e1;
  --shell-text-muted: #93a4bf;
  --text-soft: var(--shell-text-soft);
  --text-muted: var(--shell-text-muted);
  --shell-line: rgba(148, 163, 184, 0.14);
  --shell-line-strong: rgba(148, 163, 184, 0.24);
  --shell-accent: #2c64d5;
  --shell-accent-2: #5ea7ff;
  --brand-gradient: linear-gradient(135deg, #046ff3 0%, #0c1c50 100%);
  --shell-page-background:
    radial-gradient(circle at 16% 14%, rgba(44, 100, 213, 0.16), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(94, 167, 255, 0.06), transparent 20%),
    radial-gradient(circle at 72% 78%, rgba(20, 184, 166, 0.05), transparent 20%),
    linear-gradient(180deg, #030915 0%, #050b16 44%, #060d19 100%);
  --shell-font: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-ui: var(--shell-font);
}

html[data-theme="light"] {
  color-scheme: light;
  --shell-bg: #f4f7fb;
  --shell-text: #102033;
  --shell-text-soft: #334155;
  --shell-text-muted: #64748b;
  --text-soft: var(--shell-text-soft);
  --text-muted: var(--shell-text-muted);
  --shell-line: rgba(100, 116, 139, 0.2);
  --shell-line-strong: rgba(71, 85, 105, 0.3);
  --shell-accent: #2162d6;
  --shell-accent-2: #046ff3;
  --brand-gradient: linear-gradient(135deg, #046ff3 0%, #123f91 100%);
  --shell-page-background:
    radial-gradient(circle at 16% 12%, rgba(4, 111, 243, 0.12), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(20, 184, 166, 0.08), transparent 22%),
    linear-gradient(180deg, #fbfdff 0%, #f4f7fb 44%, #eef3f9 100%);
  --bg: #f4f7fb;
  --bg-soft: #eef3f9;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-2: rgba(255, 255, 255, 0.94);
  --panel-3: rgba(241, 245, 249, 0.98);
  --line: rgba(100, 116, 139, 0.2);
  --line-strong: rgba(71, 85, 105, 0.3);
  --text: #102033;
  --accent: #2162d6;
  --accent-2: #046ff3;
  --accent-3: #2a91ff;
  --shadow: 0 24px 62px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.09);
  --clr-card-bg: rgba(255, 255, 255, 0.94);
  --clr-text-main: #102033;
  --clr-text-muted: #475569;
  --clr-text-subtle: #64748b;
  --clr-link: #2162d6;
  --clr-input-bg: #ffffff;
  --clr-placeholder: #94a3b8;
  --clr-social-bg: #ffffff;
  --clr-social-hover: #eef4ff;
  --clr-badge-bg: #d7263d;
}

html {
  min-height: 100%;
  height: auto;
  font-family: var(--shell-font);
  background-color: var(--shell-bg);
  background: var(--shell-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  height: auto;
  overflow-x: hidden;
  font-family: var(--shell-font);
  color: var(--shell-text);
  background-color: var(--shell-bg);
  background: var(--shell-page-background);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

html.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.menu-open {
  position: fixed;
  top: var(--menu-scroll-y, 0);
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

html.menu-open [data-band-modal].overlay {
  z-index: 1 !important;
}

.site-header,
.site-header *,
.site-drawer,
.site-drawer *,
.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-header a,
.site-drawer a,
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-header img,
.site-drawer img,
.site-footer img {
  display: block;
  max-width: 100%;
}

.site-header button,
.site-drawer button {
  font: inherit;
}

.site-header {
  display: block;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0;
  font-family: var(--shell-font);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(4, 10, 20, 0.78);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  box-shadow: none;
}

.site-header__bar {
  width: var(--wrap);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 0 0 auto;
}

.brand__logo {
  width: auto;
  height: 42px;
  max-width: min(100%, 248px);
  object-fit: contain;
}

.brand__logo--drawer {
  height: 48px;
  max-width: min(100%, 280px);
}

.nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav__link {
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--shell-text-soft);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(148, 163, 184, 0.12);
  outline: none;
}

.nav__link.is-active,
.nav__link[aria-current="page"] {
  color: #fff;
  background: rgba(4, 111, 243, 0.14);
  border-color: rgba(4, 111, 243, 0.36);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(4, 111, 243, 0.12);
}

.auth,
.shell-auth {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.auth--desktop,
.shell-auth--desktop {
  display: inline-flex;
}

.site-theme-switch,
.site-theme-switch * {
  box-sizing: border-box;
}

.site-theme-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  flex: 0 0 auto;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-theme-switch__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  min-width: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--shell-text-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.site-theme-switch__button:hover,
.site-theme-switch__button:focus-visible {
  color: var(--shell-text);
  background: rgba(255, 255, 255, 0.055);
  outline: none;
}

.site-theme-switch__button.is-active {
  color: #ffffff;
  background: #2162d6;
  box-shadow: 0 8px 18px rgba(33, 98, 214, 0.2);
}

.site-theme-switch__icon {
  display: inline-block;
  width: 1em;
  text-align: center;
  font-size: 13px;
  line-height: 1;
}

.site-theme-switch--desktop .site-theme-switch__button {
  width: 34px;
  height: 32px;
  padding: 0;
}

.site-theme-switch--desktop .site-theme-switch__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-theme-switch--drawer {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: auto;
  background: rgba(255, 255, 255, 0.04);
}

.site-theme-switch--drawer .site-theme-switch__button {
  min-height: 40px;
}

.btn,
.btn-ghost,
.shell-btn,
.shell-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn,
.shell-btn {
  padding: 14px 20px;
  font-weight: 800;
  border: 1px solid rgba(33, 98, 214, 0.34);
  color: #fff;
  background: #2162D6;
  box-shadow: 0 16px 30px rgba(33, 98, 214, 0.18);
}

.btn-ghost,
.shell-btn-ghost {
  padding: 13px 18px;
  color: #e2ebff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.site-header .shell-btn {
  color: #fff;
}

.site-header .shell-btn-ghost {
  color: #e2ebff;
}

.btn:hover,
.btn-ghost:hover,
.btn:focus-visible,
.btn-ghost:focus-visible,
.shell-btn:hover,
.shell-btn-ghost:hover,
.shell-btn:focus-visible,
.shell-btn-ghost:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn:hover,
.btn:focus-visible,
.shell-btn:hover,
.shell-btn:focus-visible {
  background: #1d56bd;
  box-shadow: 0 22px 34px rgba(33, 98, 214, 0.24);
}

.btn-ghost:hover,
.btn-ghost:focus-visible,
.shell-btn-ghost:hover,
.shell-btn-ghost:focus-visible {
  background: rgba(4, 111, 243, 0.05);
  border-color: rgba(4, 111, 243, 0.18);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #f8fbff;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(148, 163, 184, 0.26);
  outline: none;
}

.site-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(380px, 88vw);
  z-index: 1000001;
  pointer-events: none;
  font-family: var(--shell-font);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.site-drawer__panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 18px;
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-left: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(8, 16, 31, 0.97);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.38);
  transform: translateX(100%);
  transition: transform 0.24s ease;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-drawer.is-open {
  pointer-events: auto;
}

.site-drawer.is-open .site-drawer__panel {
  transform: translateX(0);
}

.site-drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background: rgba(2, 6, 23, 0.54);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.site-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-drawer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-drawer__close {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.site-drawer__close:hover,
.site-drawer__close:focus-visible {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(148, 163, 184, 0.26);
  outline: none;
}

.site-drawer__nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.site-drawer__link {
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: #eef5ff;
  font-weight: 700;
  line-height: normal;
}

.site-drawer__link:hover,
.site-drawer__link:focus-visible {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(148, 163, 184, 0.22);
  outline: none;
}

.site-drawer__link.is-active,
.site-drawer__link[aria-current="page"] {
  color: #fff;
  background: rgba(4, 111, 243, 0.16);
  border-color: rgba(4, 111, 243, 0.38);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 26px rgba(4, 111, 243, 0.14);
}

.site-drawer__auth {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.site-footer {
  margin-top: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 9, 18, 0.88);
  box-shadow: none;
  color: var(--shell-text);
  font-family: var(--shell-font);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.site-footer__inner {
  width: var(--footer-wrap);
  max-width: none;
  margin: 0 auto;
  padding: 28px 0 36px;
  display: grid;
  flex-wrap: nowrap;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.7fr));
  gap: 24px;
  align-items: start;
}

.footer-brand {
  max-width: 48ch;
}

.footer-brand__logo {
  width: auto;
  height: 46px;
  max-width: min(100%, 270px);
  object-fit: contain;
  margin-bottom: 12px;
}

.footer-title {
  margin: 0 0 10px;
  color: #eef4ff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-text,
.footer-list,
.footer-bottom {
  color: #a7b4c7;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.footer-text {
  margin: 0;
}

.footer-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a {
  color: inherit;
  transition: color 0.18s ease;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #79b5ff;
  outline: none;
}

.footer-list--contacts {
  gap: 10px;
}

.footer-list--docs {
  margin-top: 14px;
}

.footer-chat-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: #dceaff;
  font-weight: 700;
}

.footer-chat-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.footer-social:hover,
.footer-social:focus-visible {
  opacity: 0.88;
  transform: translateY(-1px);
  outline: none;
}

.footer-social img {
  width: 22px;
  height: 22px;
  max-width: none;
  object-fit: contain;
}

.footer-bottom {
  width: var(--footer-wrap);
  margin: 0 auto;
  padding: 24px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  color: rgba(147, 164, 191, 0.92);
  font-size: 12px;
  line-height: 1.6;
}

.footer-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 760px;
}

.footer-age {
  flex: 0 0 auto;
  min-width: 36px;
  padding: 2px 7px;
  border: 1px solid rgba(255, 66, 66, 0.86);
  border-radius: 4px;
  color: #fff;
  background: rgba(148, 16, 16, 0.32);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.footer-trademark {
  max-width: 46ch;
  text-align: right;
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .site-header .brand,
html[data-theme="light"] .site-drawer__brand {
  padding: 0;
  margin-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .footer-brand__logo {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .nav__link {
  color: #334155;
}

html[data-theme="light"] .nav__link:hover,
html[data-theme="light"] .nav__link:focus-visible {
  color: #102033;
  background: rgba(33, 98, 214, 0.07);
  border-color: rgba(33, 98, 214, 0.16);
}

html[data-theme="light"] .nav__link.is-active,
html[data-theme="light"] .nav__link[aria-current="page"] {
  color: #0f2e62;
  background: rgba(33, 98, 214, 0.1);
  border-color: rgba(33, 98, 214, 0.24);
  box-shadow: 0 10px 24px rgba(33, 98, 214, 0.1);
}

html[data-theme="light"] .btn-ghost,
html[data-theme="light"] .shell-btn-ghost {
  color: #143257;
  border-color: rgba(100, 116, 139, 0.24);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

html[data-theme="light"] .site-header .shell-btn-ghost {
  color: #143257;
}

html[data-theme="light"] .btn-ghost:hover,
html[data-theme="light"] .btn-ghost:focus-visible,
html[data-theme="light"] .shell-btn-ghost:hover,
html[data-theme="light"] .shell-btn-ghost:focus-visible {
  background: rgba(33, 98, 214, 0.08);
  border-color: rgba(33, 98, 214, 0.2);
}

html[data-theme="light"] .nav-toggle,
html[data-theme="light"] .site-drawer__close {
  color: #102033;
  border-color: rgba(100, 116, 139, 0.24);
  background: rgba(255, 255, 255, 0.74);
}

html[data-theme="light"] .nav-toggle span {
  background: #102033;
}

html[data-theme="light"] .site-drawer__panel {
  border-left-color: rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.14);
}

html[data-theme="light"] .site-drawer__backdrop {
  background: rgba(15, 23, 42, 0.22);
}

html[data-theme="light"] .site-drawer__link {
  color: #1e293b;
  border-color: rgba(100, 116, 139, 0.18);
  background: rgba(248, 250, 252, 0.8);
}

html[data-theme="light"] .site-drawer__link:hover,
html[data-theme="light"] .site-drawer__link:focus-visible {
  background: rgba(33, 98, 214, 0.08);
  border-color: rgba(33, 98, 214, 0.2);
}

html[data-theme="light"] .site-drawer__link.is-active,
html[data-theme="light"] .site-drawer__link[aria-current="page"] {
  color: #0f2e62;
  background: rgba(33, 98, 214, 0.1);
  border-color: rgba(33, 98, 214, 0.26);
  box-shadow: 0 10px 24px rgba(33, 98, 214, 0.1);
}

html[data-theme="light"] .site-theme-switch {
  border-color: rgba(100, 116, 139, 0.2);
  background: rgba(226, 232, 240, 0.68);
}

html[data-theme="light"] .site-theme-switch__button:hover,
html[data-theme="light"] .site-theme-switch__button:focus-visible {
  background: rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .site-footer {
  border-top-color: rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.86);
  color: #102033;
}

html[data-theme="light"] .footer-title {
  color: #102033;
}

html[data-theme="light"] .footer-text,
html[data-theme="light"] .footer-list,
html[data-theme="light"] .footer-bottom {
  color: #64748b;
}

html[data-theme="light"] .footer-chat-link {
  color: #0f4fa8;
}

html[data-theme="light"] .footer-chat-link:hover,
html[data-theme="light"] .footer-chat-link:focus-visible {
  color: #0f2e62;
}

html[data-theme="light"] .footer-chat-link span {
  color: inherit;
}

html[data-theme="light"] .footer-chat-icon {
  width: 24px;
  height: 24px;
  padding: 3px;
  border: 1px solid rgba(33, 98, 214, 0.28);
  border-radius: 999px;
  background: #2162d6;
  box-shadow: 0 8px 18px rgba(33, 98, 214, 0.18);
  object-fit: contain;
}

html[data-theme="light"] .footer-bottom {
  border-top-color: rgba(148, 163, 184, 0.24);
}

html[data-theme="light"] .footer-age,
html[data-theme="light"] .top-compliance-note__age {
  border-color: rgba(185, 28, 28, 0.34);
  background: #fff5f5;
  color: #b91c1c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] body.page-shell .login_cntnr_bc {
  background-color: transparent !important;
}

html[data-theme="light"] body.page-shell .title_box {
  color: #102033;
}

html[data-theme="light"] body.page-shell .register-box {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.94);
  color: #102033;
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] body.page-shell .register-box h1,
html[data-theme="light"] body.page-shell .register-box h2,
html[data-theme="light"] body.page-shell .form-group label {
  color: #102033;
}

html[data-theme="light"] body.page-shell .form-group label,
html[data-theme="light"] body.page-shell .social-login,
html[data-theme="light"] body.page-shell .field-msg,
html[data-theme="light"] body.page-shell .hint {
  color: #64748b;
}

html[data-theme="light"] body.page-shell #signup-form .field-msg.is-visible {
  color: #b42318;
}

html[data-theme="light"] body.page-shell #signup-form .agreement input[type='checkbox'].is-invalid {
  outline-color: #b42318;
}

html[data-theme="light"] body.page-shell .form-group input {
  border-color: rgba(148, 163, 184, 0.36);
  background: #ffffff;
  color: #102033;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] body.page-shell .form-group input::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] body.page-shell .form-group input:focus {
  border-color: rgba(33, 98, 214, 0.56);
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 98, 214, 0.13);
}

html[data-theme="light"] body.page-shell .sub-actions a,
html[data-theme="light"] body.page-shell .agreement a {
  color: #2162d6;
}

html[data-theme="light"] body.page-shell .oauth-btn {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #ffffff;
}

html[data-theme="light"] body.page-shell .oauth-btn:hover:not(.is-disabled) {
  border-color: rgba(33, 98, 214, 0.26);
  background: #eef4ff;
}

html[data-theme="light"] .page-main .lk-menu,
html[data-theme="light"] .page-main .lk-content > .card,
html[data-theme="light"] .page-main .service-group,
html[data-theme="light"] .page-main .history-table-wrap,
html[data-theme="light"] .page-main .support-thread,
html[data-theme="light"] .page-main .support-empty,
html[data-theme="light"] .page-main .support-card,
html[data-theme="light"] .page-main .support-new {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .page-main .lk-page-heading h1,
html[data-theme="light"] .page-main .history-title h2,
html[data-theme="light"] .page-main .support-card__header .card-title,
html[data-theme="light"] .page-main .card-s h3,
html[data-theme="light"] .page-main .price {
  color: #102033;
}

html[data-theme="light"] .page-main .lk-page-heading p,
html[data-theme="light"] .page-main .support-card__header .card-subtitle,
html[data-theme="light"] .page-main .support-user,
html[data-theme="light"] .page-main .history-note,
html[data-theme="light"] .page-main .card-s .card-desc,
html[data-theme="light"] .page-main .state,
html[data-theme="light"] .page-main .next-charge,
html[data-theme="light"] .page-main .hint {
  color: #64748b;
}

html[data-theme="light"] .page-main .card-s,
html[data-theme="light"] .page-main .history-table th {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(248, 250, 252, 0.9);
}

html[data-theme="light"] #modalAuthRequired.overlay {
  background: rgba(15, 23, 42, 0.16);
}

html[data-theme="light"] #modalAuthRequired .modal {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.96);
  color: #102033;
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.18);
}

html[data-theme="light"] #modalAuthRequired .modal p,
html[data-theme="light"] #modalAuthRequired .legal {
  color: #475569 !important;
}

html[data-theme="light"] #modalAuthRequired .btn-ghost {
  color: #143257;
  border-color: rgba(100, 116, 139, 0.28);
  background: #ffffff;
}

@media (max-width: 1320px) {
  .nav {
    gap: 4px;
  }

  .nav__link {
    padding-inline: 10px;
    font-size: 12.5px;
  }

  .auth .btn,
  .auth .btn-ghost,
  .shell-auth .shell-btn,
  .shell-auth .shell-btn-ghost {
    padding-inline: 16px;
  }
}

@media (max-width: 1180px) {
  .site-header__bar {
    min-height: 78px;
    padding: 0;
  }

  .nav {
    width: auto;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .nav,
  .auth--desktop,
  .shell-auth--desktop,
  .site-theme-switch--desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-header__bar {
    min-height: 74px;
    padding: 14px 0;
  }
}

@media (max-width: 840px) {
  :root {
    --wrap: min(100vw - 24px, 1440px);
  }

  .brand__logo {
    height: 38px;
    max-width: min(100%, 220px);
  }

  .brand__logo--drawer {
    height: 42px;
    max-width: min(100%, 240px);
  }

  .footer-brand__logo {
    height: 40px;
    max-width: min(100%, 230px);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 22px;
  }
}

@media (min-width: 701px) and (max-width: 1180px) {
  .page-strategies .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    column-gap: clamp(32px, 6vw, 72px);
  }

  .page-strategies .footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: 20px;
  }

  .page-strategies .footer-disclaimer {
    max-width: none;
  }
}

@media (max-width: 700px) {
  :root {
    --footer-wrap: var(--wrap);
  }

  .site-header__bar {
    position: relative;
    justify-content: flex-end;
  }

  .site-header__bar > .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .site-header__bar > .nav-toggle {
    position: relative;
    z-index: 1;
  }

  .footer-brand {
    margin-inline: auto;
    text-align: center;
  }

  .site-footer__inner {
    justify-items: center;
    text-align: center;
  }

  .site-footer__inner > * {
    width: 100%;
    max-width: 42ch;
    text-align: center;
  }

  .footer-brand__logo,
  .footer-chat-link {
    margin-inline: auto;
  }

  .footer-list {
    justify-items: center;
  }

  .footer-socials {
    justify-content: center;
    gap: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .footer-disclaimer {
    flex-direction: column;
    align-items: center;
    max-width: 42ch;
  }

  .footer-trademark {
    max-width: 42ch;
    text-align: center;
  }
}

@media (max-width: 560px) {
  :root {
    --wrap: min(100vw - 20px, 1440px);
  }

  .brand__logo {
    height: 34px;
    max-width: min(100%, 190px);
  }

  .brand__logo--drawer {
    height: 38px;
    max-width: min(100%, 210px);
  }

  .footer-brand__logo {
    height: 36px;
    max-width: min(100%, 210px);
  }

  .footer-text,
  .footer-list {
    line-height: 1.62;
  }

  .footer-socials {
    margin: 14px 0 0;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
}

@media (max-width: 360px) {
  :root {
    --wrap: min(100vw - 18px, 1320px);
  }
}

/* LK pages: shared visual layer for profile, subscription, history and support */
.page-main .lk-flex {
  gap: 24px;
  align-items: stretch;
}

.page-main .lk-content {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.page-main .lk-menu {
  width: 230px;
  min-width: 180px;
  flex-shrink: 0;
  align-self: stretch;
  padding: 26px 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(8, 15, 34, 0.98));
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
}

.page-main .lk-content > .card {
  width: 100%;
  max-width: 900px;
  box-sizing: border-box;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(8, 15, 34, 0.98));
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
}

.page-main .lk-page-heading {
  margin: 0 0 18px;
}

.page-main .lk-page-heading h1,
.page-main .history-title h2,
.page-main .support-card__header .card-title {
  margin: 0;
  color: #f8fbff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-main .lk-page-heading p,
.page-main .support-card__header .card-subtitle,
.page-main .support-user,
.page-main .history-note {
  color: #b6c6e3;
}

.page-main .service-group,
.page-main .history-table-wrap,
.page-main .support-thread,
.page-main .support-empty {
  background: radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.18), transparent 70%) #071324;
  border: 1px solid #12244d;
  border-radius: 14px;
}

.page-main .service-group {
  margin: 0 0 12px;
  padding: 16px;
}

.page-main .service-group > :is(h2, h3) {
  margin: 0 0 14px;
  color: #e5edff;
  font-size: 14px;
  font-weight: 700;
}

.page-main .cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.page-main .card-s {
  max-width: none;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(13, 31, 45, 0.72);
  box-shadow: none;
}

.page-main .card-s h3,
.page-main .price {
  color: #f8fbff;
}

.page-main .card-s .card-desc,
.page-main .state,
.page-main .next-charge,
.page-main .hint {
  color: #b6c6e3;
}

.page-main .history-title {
  gap: 14px;
  margin-bottom: 14px;
}

.page-main .history-table-wrap {
  box-shadow: none;
}

.page-main .history-table th {
  background: rgba(20, 40, 80, 0.75);
}

.page-main .support-card,
.page-main .support-new {
  margin-bottom: 0;
}

.page-main .support-thread {
  max-width: 900px;
  margin-bottom: 12px;
  box-shadow: none;
}

.page-main .support-thread__header {
  background: rgba(26, 51, 92, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.page-main input:not([type="checkbox"]):not([type="file"]),
.page-main select,
.page-main textarea {
  border-color: #1a3254;
  background: radial-gradient(circle at 0 0, rgba(30, 64, 175, 0.35), transparent 60%) #112744;
}

.page-main input[type="file"] {
  width: 100%;
  color: #dbeafe;
}

.page-main .support-more-btn {
  max-width: 900px;
}

@media (max-width: 800px) {
  .page-main .lk-flex {
    flex-direction: column;
    gap: 0;
  }

  .page-main .lk-menu {
    width: 100%;
    min-width: 0;
    margin: 0 0 18px;
    padding: 14px 0;
  }

  .page-main .lk-content > .card {
    max-width: none;
  }
}

/* LK parity pass */
.lk-page {
  background:
    radial-gradient(circle at 16% 8%, rgba(44, 100, 213, 0.16), transparent 18rem),
    radial-gradient(circle at 84% 10%, rgba(94, 167, 255, 0.06), transparent 18rem),
    radial-gradient(circle at 72% 72%, rgba(20, 184, 166, 0.05), transparent 18rem),
    linear-gradient(180deg, #030915 0%, #050b16 44%, #060d19 100%);
}

.lk-page .page-main {
  background: transparent;
  min-height: calc(100vh - 78px);
}

.lk-page .page-main .wrapper {
  max-width: 1180px;
  padding: 28px 18px;
}

.lk-page .page-main .lk-flex {
  align-items: stretch;
  gap: 24px;
}

.lk-page .page-main .lk-menu {
  width: 230px;
  min-width: 230px;
  min-height: 640px;
  border: 1px solid rgba(18, 36, 77, 0.28);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(8, 15, 34, 0.98));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

  .lk-page .page-main .lk-menu__item a {
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #b6c6e3;
    white-space: nowrap;
  }

.lk-page .page-main .lk-menu__item a:hover,
.lk-page .page-main .lk-menu__item a:focus {
  border-color: rgba(65, 141, 255, 0.28);
  background: rgba(12, 45, 91, 0.45);
  color: #ecf4ff;
}

.lk-page .page-main .lk-menu__item--active a {
  border-color: rgba(65, 141, 255, 0.42);
  background: linear-gradient(90deg, rgba(30, 80, 156, 0.74), rgba(10, 38, 80, 0.42));
  color: #ecf4ff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.16);
}

.lk-page .page-main .lk-menu__item--active .lk-menu__icon {
  color: #8fc6ff;
}

.lk-page .page-main .lk-content > .card {
  width: 100%;
  max-width: 890px;
  min-height: 640px;
  padding: 32px;
  border: 1px solid rgba(18, 36, 77, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(8, 15, 34, 0.98));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
}

.lk-page .page-main .profile2-grid {
  display: grid;
  grid-template-columns: minmax(0, 499px) minmax(0, 309px);
  gap: 18px;
  align-items: start;
}

.lk-page .page-main .profile-block,
.lk-page .page-main .service-group,
.lk-page .page-main .history-table-wrap,
.lk-page .page-main .support-thread,
.lk-page .page-main .support-empty {
  border: 1px solid #12244d;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.18), rgba(19, 50, 118, 0.09) 35%, transparent 70%),
    #071324;
  box-shadow: none;
}

.lk-page .page-main .profile-block {
  padding: 14px 16px 16px;
}

.lk-page .page-main .profile-block + .profile-block {
  margin-top: 12px;
}

.lk-page .page-main .field {
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.lk-page .page-main input:not([type="checkbox"]):not([type="file"]),
.lk-page .page-main select,
.lk-page .page-main textarea {
  min-height: 35px;
  border-color: #1a3254;
  background: #112744;
  color: #e5edff;
}

.lk-page .page-main .fg-email {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 10px;
}

.lk-page .page-main .fg-email input {
  grid-column: 1 / -1;
}

.lk-page .page-main .fg-email > .field-msg {
  grid-column: 1 / 2;
  margin-left: 0;
}

.lk-page .page-main .fg-email > #sendMailBtn {
  grid-column: 2 / 3;
  min-height: 22px;
}

.lk-page .page-main .social-row-header {
  align-items: flex-start;
  gap: 10px;
}

.lk-page .page-main .badge-tag {
  min-width: 104px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
}

.lk-page .page-main .social-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lk-page .page-main .social-icons a,
.lk-page .page-main .social-icons button {
  min-height: 47px;
  border-radius: 7px;
}

.lk-page .page-main #export-data,
.lk-page .page-main #delete-account {
  width: min(100%, 230px);
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #e2ebff;
}

.lk-page .page-main .switch .slider {
  background: #27446f;
}

.lk-page .page-main .switch input:checked + .slider {
  background: #2a66d6;
}

.lk-profile-page .page-main .switch-row .hint {
  margin-left: 0;
}

.lk-page .page-main .legal,
.lk-page .page-main .lk-mini-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin: 24px auto 0;
  color: #7d8aac;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  flex-wrap: wrap;
}

.lk-page .page-main .legal a,
.lk-page .page-main .lk-mini-legal a {
  color: #2a91ff;
  text-decoration: none;
}

.lk-page .page-main .legal a:hover,
.lk-page .page-main .lk-mini-legal a:hover {
  text-decoration: underline;
}

.lk-page .page-main .lk-page-heading + div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.lk-page .page-main .lk-page-heading + div .service-group {
  min-height: 260px;
  margin: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.lk-page .page-main .service-group > :is(h2, h3) {
  margin: 0 0 20px;
  color: #7fb8ff;
  font-size: 14px;
  line-height: 1.25;
}

.lk-page .page-main .service-group .cards-row {
  display: block;
  flex: 1 1 auto;
}

.lk-page .page-main .service-group .card-s {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 204px;
  height: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.lk-page .page-main .service-group .card-s > h3 {
  order: 1;
  margin: 0 0 16px;
  color: #f8fbff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.lk-page .page-main .service-group .card-desc {
  order: 2;
  min-height: 58px;
  margin: 0;
  color: #b6c6e3;
  line-height: 1.5;
}

.lk-page .page-main .service-group .card-s::after {
  content: "";
  order: 3;
  height: 1px;
  width: 100%;
  margin: 20px 0 14px;
  background: #12244d;
}

.lk-page .page-main .service-group .price {
  order: 4;
  color: #f8fbff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.lk-page .page-main .service-group .price::before {
  content: "Стоимость";
  display: block;
  margin-bottom: 4px;
  color: #8fa3c2;
  font-size: 12px;
  font-weight: 500;
}

.lk-page .page-main .service-group .switch {
  position: absolute;
  right: 0;
  bottom: 48px;
  width: 52px;
  height: 28px;
}

.lk-page .page-main .service-group .switch::before {
  content: "Автопродление";
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  color: #8fa3c2;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.lk-page .page-main .service-group .btn-primary {
  order: 8;
  width: 100%;
  min-height: 38px;
  margin-top: 14px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lk-page .page-main .service-group .state {
  position: absolute;
  top: -1px;
  right: 0;
  min-height: 22px;
  padding: 4px 10px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 4px;
  color: #9fb3d9;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.56);
}

.lk-page .page-main .service-group .hint,
.lk-page .page-main .service-group .next-charge {
  display: none !important;
}

.lk-page .page-main .history-filter-btn.active,
.lk-page .page-main .pager-btn.active {
  border: 1px solid rgba(65, 141, 255, 0.42);
  background: linear-gradient(90deg, rgba(30, 80, 156, 0.74), rgba(10, 38, 80, 0.42));
  color: #ecf4ff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.16);
}

.lk-page .page-main .support-card,
.lk-page .page-main .support-new {
  min-height: 0;
  margin-bottom: 16px;
  padding: 24px 32px;
}

.lk-page .page-main .lk-content > .card.support-card,
.lk-page .page-main .lk-content > .card.support-new {
  min-height: 0;
}

.lk-page .page-main .support-card__header {
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 0;
}

.lk-page .page-main .support-card__header > div:first-child {
  display: block;
  min-width: 0;
}

.lk-page .page-main .support-user {
  overflow-wrap: anywhere;
}

.lk-page .page-main .support-new .section-title {
  margin: 0 0 18px;
  color: #e5edff;
  font-size: 18px;
}

.lk-page .page-main .support-empty,
.lk-page .page-main .support-more-btn {
  max-width: 100%;
}

@media (max-width: 1023px) {
  .lk-page .page-main .profile2-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .lk-page .page-main .wrapper {
    width: min(100%, 390px);
    max-width: 100%;
    padding: 8px 6px 24px;
  }

  .lk-page .page-main .lk-flex {
    flex-direction: column;
    gap: 18px;
  }

  .lk-page .page-main .lk-menu {
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 14px 0;
    border-radius: 12px;
  }

  .lk-page .page-main .lk-menu__item a {
    min-height: 41px;
    padding: 10px 18px;
    font-size: 15px;
  }

  .lk-page .page-main .lk-content > .card {
    max-width: none;
    min-height: 0;
    padding: 24px 16px 22px;
    border-radius: 14px;
  }

  .lk-page .page-main .profile-block {
    padding: 14px 16px 16px;
  }

  .lk-page .page-main .field {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }

  .lk-page .page-main #export-data,
  .lk-page .page-main #delete-account {
    width: 100%;
    min-height: 42px;
  }

  .lk-page .page-main .legal,
  .lk-page .page-main .lk-mini-legal {
    flex-direction: column;
    gap: 8px;
    margin-top: 28px;
  }

  .lk-page .page-main .lk-page-heading + div {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lk-page .page-main .lk-page-heading + div .service-group {
    min-height: 0;
  }

  .lk-page .page-main .service-group .card-s {
    min-height: 220px;
  }

  .lk-page .page-main .history-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .lk-page .page-main .history-filters {
    width: 100%;
    margin-left: 0;
  }

  .lk-page .page-main .history-filter-btn {
    flex: 1 1 auto;
    padding: 8px 10px;
  }

  .lk-page .page-main .history-export {
    margin-left: 0;
  }

  .lk-page .page-main .history-table-wrap {
    overflow-x: auto;
  }

  .lk-page .page-main .history-table {
    min-width: 620px;
  }

  .lk-page .page-main .support-card,
  .lk-page .page-main .support-new {
    padding: 22px 16px;
  }

  .lk-page .page-main .support-card__header {
    flex-direction: column;
    gap: 12px;
  }

  .lk-page .page-main .support-meta {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .lk-page .page-main .wrapper {
    width: min(100%, 375px);
    padding-inline: 4px;
  }

  .lk-page .page-main .lk-content > .card {
    padding-inline: 12px;
  }

  .lk-page .page-main .social-row-header {
    position: relative;
    padding-right: 112px;
  }

  .lk-page .page-main .badge-tag {
    position: absolute;
    top: 0;
    right: 0;
  }

  .lk-page .page-main .table-scroll {
    overflow: hidden;
  }

  .lk-page .page-main .table-scroll > table {
    min-width: 0;
    width: 100%;
    display: table;
    table-layout: fixed;
  }

  .lk-page .page-main #login-table tr.logins-head {
    display: none;
  }

  .lk-page .page-main #login-table tr {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) 72px;
    gap: 8px;
    align-items: center;
    padding: 7px 8px;
  }

  .lk-page .page-main #login-table td,
  .lk-page .page-main #login-table th {
    padding: 0;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
  }

  .lk-page .page-main #login-table .badge-device {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .lk-page .page-main .service-group .switch {
    right: 6px;
    bottom: 54px;
  }

  .lk-page .page-main .service-group .switch::before {
    right: 62px;
  }
}

/* LK subscription card alignment fix */
.lk-page .page-main .service-group .card-s > h3 {
  padding-right: 96px;
}

.lk-page .page-main .service-group .switch {
  position: relative;
  right: auto;
  bottom: auto;
  order: 5;
  align-self: flex-end;
  margin-top: -28px;
  margin-bottom: 14px;
}

.lk-page .page-main .service-group .switch::before {
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
}

.lk-page .page-main .service-group .btn-primary {
  margin-top: 0;
}

@media (max-width: 800px) {
  .lk-page .page-main .legal,
  .lk-page .page-main .lk-mini-legal {
    display: block;
    line-height: 1.9;
  }

  .lk-page .page-main .legal a,
  .lk-page .page-main .lk-mini-legal a {
    display: inline-block;
    margin: 0 4px;
  }
}

@media (max-width: 420px) {
  .lk-page .page-main .service-group .switch {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: flex-end;
    margin-top: -28px;
    margin-bottom: 14px;
  }
}

/* LK subscription desktop parity with Figma */
@media (min-width: 801px) {
  .lk-services-page .page-main {
    min-height: 1064px;
  }

  .lk-services-page .page-main .lk-content > .card {
    max-width: 890px;
    min-height: 464px;
    padding: 32px;
  }

  .lk-services-page .page-main .lk-page-heading {
    margin: 0 0 18px;
  }

  .lk-services-page .page-main .lk-page-heading h1 {
    font-size: 20px;
    line-height: 24px;
  }

  .lk-services-page .page-main .lk-page-heading p {
    font-size: 10px;
    line-height: 13px;
  }

  .lk-services-page .page-main .lk-page-heading + div {
    display: grid;
    grid-template-columns: repeat(3, 258px);
    gap: 26px;
    align-items: start;
  }

  .lk-services-page .page-main .lk-page-heading + div .service-group {
    width: 258px;
    height: 300px;
    min-height: 300px;
    margin: 0;
    padding: 17px;
    border-color: rgba(36, 64, 97, 0.62);
    border-radius: 18px;
    background: rgba(7, 20, 38, 0.96);
    box-shadow: 0 18px 42px rgba(0, 8, 20, 0.18);
  }

  .lk-services-page .page-main .service-group > :is(h2, h3) {
    width: 222px;
    min-height: 18px;
    margin: 0;
    padding-inline: 4px;
    color: #71afff;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
  }

  .lk-services-page .page-main .service-group .cards-row {
    display: block;
    margin-top: 22px;
  }

  .lk-services-page .page-main .service-group .card-s {
    position: relative;
    display: block;
    width: 222px;
    height: 224px;
    min-width: 0;
    min-height: 224px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .lk-services-page .page-main .service-group .card-s > h3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 222px;
    height: 24px;
    margin: 0;
    padding: 0;
    color: #f3f8ff;
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
  }

  .lk-services-page .page-main .service-group .card-desc {
    position: absolute;
    top: 36px;
    left: 0;
    width: 222px;
    min-height: 64px;
    margin: 0;
    color: #afc2e4;
    font-size: 12px;
    line-height: 17.4px;
  }

  .lk-services-page .page-main .service-group .card-s::after {
    position: absolute;
    top: 118px;
    left: 0;
    width: 222px;
    height: 1px;
    margin: 0;
    background: rgba(36, 64, 97, 0.62);
  }

  .lk-services-page .page-main .service-group .price {
    position: absolute;
    top: 148px;
    left: 0;
    width: 96px;
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
  }

  .lk-services-page .page-main .service-group .price::before {
    position: absolute;
    top: -16px;
    left: 0;
    margin: 0;
    color: rgba(134, 167, 202, 0.88);
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    content: "Стоимость";
  }

  .lk-services-page .page-main .service-group .switch {
    position: absolute;
    top: 150px;
    left: auto;
    right: 8px;
    bottom: auto;
    width: 52px;
    height: 28px;
    margin: 0;
  }

  .lk-services-page .page-main .service-group .switch::before {
    position: absolute;
    top: -18px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    color: rgba(134, 167, 202, 0.88);
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    white-space: nowrap;
    content: "Автопродление";
  }

  .lk-services-page .page-main .service-group .btn-primary {
    position: absolute;
    top: 184px;
    left: 0;
    width: 222px;
    min-height: 36px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid rgba(109, 160, 255, 0.24);
    border-radius: 10px;
    background: #2162d6;
    box-shadow: 0 8px 18px rgba(11, 78, 184, 0.24);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
  }

  .lk-services-page .page-main .service-group .state {
    display: none !important;
  }
}

/* LK support desktop parity with Figma */
.lk-support-page .page-main .lk-content {
  width: min(100%, 890px);
}

.lk-support-page .page-main .lk-content > .card.support-layout-card {
  max-width: 890px;
  min-height: 648px;
  padding: 32px;
}

.lk-support-page .page-main .support-layout-card,
.lk-support-page .page-main .support-form-card,
.lk-support-page .page-main .support-info-card,
.lk-support-page .page-main .support-hero-card {
  box-sizing: border-box;
}

.lk-support-page .page-main .support-hero-card {
  min-height: 118px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 21px;
  border: 1px solid rgba(36, 64, 97, 0.62);
  border-radius: 18px;
  background: rgba(7, 20, 38, 0.96);
  box-shadow: 0 12px 30px rgba(0, 8, 20, 0.14);
}

.lk-support-page .page-main .support-eyebrow {
  margin: 0 0 7px;
  color: #64b5ff;
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
}

.lk-support-page .page-main .support-hero-card .card-title {
  margin: 0;
  color: #f4f7fb;
  font-size: 28px;
  font-weight: 700;
  line-height: 32px;
}

.lk-support-page .page-main .support-hero-card .card-subtitle {
  max-width: 560px;
  margin: 4px 0 0;
  color: #aebbd0;
  font-size: 15px;
  line-height: 21px;
}

.lk-support-page .page-main .support-status-pill {
  width: 144px;
  min-height: 46px;
  margin-top: 16px;
  padding: 7px 15px;
  border: 1px solid rgba(42, 70, 104, 0.62);
  border-radius: 12px;
  background: rgba(14, 32, 56, 0.96);
}

.lk-support-page .page-main .support-status-pill span {
  display: block;
  color: #86a7ca;
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
}

.lk-support-page .page-main .support-status-pill strong {
  display: block;
  margin-top: 2px;
  color: #d9e5f4;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.lk-support-page .page-main .support-layout-grid {
  display: grid;
  grid-template-columns: 536px 266px;
  gap: 24px;
  margin-top: 24px;
}

.lk-support-page .page-main .support-form-card,
.lk-support-page .page-main .support-info-card {
  min-height: 396px;
  border: 1px solid rgba(36, 64, 97, 0.62);
  border-radius: 18px;
  background: rgba(7, 20, 38, 0.96);
  box-shadow: 0 18px 42px rgba(0, 8, 20, 0.18);
}

.lk-support-page .page-main .support-form-card.support-new {
  margin: 0;
  padding: 21px 23px;
}

.lk-support-page .page-main .support-form-card .section-title,
.lk-support-page .page-main .support-info-card h2 {
  margin: 0;
  color: #f4f7fb;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.lk-support-page .page-main .support-form-lead {
  margin: 6px 0 18px;
  color: #9fb0c7;
  font-size: 13px;
  line-height: 18px;
}

.lk-support-page .page-main .support-form-card .form-group {
  margin: 0 0 12px;
}

.lk-support-page .page-main .support-form-card label,
.lk-support-page .page-main .support-file-group > label:first-child {
  margin: 0 0 8px;
  color: #86a7ca;
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
}

.lk-support-page .page-main #supportCategory,
.lk-support-page .page-main #supportMessageText {
  width: 100%;
  border: 1px solid rgba(42, 70, 104, 0.62);
  border-radius: 10px;
  background: rgba(16, 33, 59, 0.96);
  color: #c9d5e6;
  font-size: 14px;
  line-height: 18px;
  box-shadow: none;
}

.lk-support-page .page-main #supportCategory {
  min-height: 42px;
  padding: 0 13px;
}

.lk-support-page .page-main #supportCategory option {
  background: #13233c;
  color: #d9e5f4;
}

.lk-support-page .page-main #supportCategory option:checked {
  background: #123a70;
  color: #ffffff;
  box-shadow: 0 0 0 100vmax #123a70 inset;
}

.lk-support-page .page-main #supportMessageText {
  min-height: 116px;
  height: 116px;
  padding: 13px;
  resize: vertical;
}

.lk-support-page .page-main #supportMessageText::placeholder {
  color: #c9d5e6;
  opacity: 1;
}

.lk-support-page .page-main .support-form-actions {
  display: grid;
  grid-template-columns: 238px 230px;
  gap: 20px;
  align-items: end;
  margin-top: 14px;
}

.lk-support-page .page-main .support-file-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.lk-support-page .page-main .support-file-control {
  width: 238px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(42, 70, 104, 0.62);
  border-radius: 10px;
  background: rgba(16, 33, 59, 0.96);
  cursor: pointer;
}

.lk-support-page .page-main .support-form-card .support-file-control {
  margin: 0;
}

.lk-support-page .page-main .support-file-control span {
  color: #d9e5f4;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
}

.lk-support-page .page-main .support-file-control em {
  min-width: 0;
  overflow: hidden;
  color: #7d8ca2;
  font-size: 12px;
  font-style: normal;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lk-support-page .page-main .support-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.lk-support-page .page-main #supportNewTicketSubmit {
  width: 230px;
  height: 42px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(43, 95, 159, 0.62);
  border-radius: 10px;
  background: rgba(18, 58, 112, 0.96);
  box-shadow: 0 6px 14px rgba(6, 21, 42, 0.24);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

.lk-support-page .page-main .support-info-card {
  padding: 21px 19px;
}

.lk-support-page .page-main .support-info-card > p {
  margin: 8px 0 18px;
  color: #9fb0c7;
  font-size: 13px;
  line-height: 19px;
}

.lk-support-page .page-main .support-info-item {
  min-height: 76px;
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(35, 59, 89, 0.62);
  border-radius: 12px;
  background: rgba(13, 26, 46, 0.96);
}

.lk-support-page .page-main .support-info-item strong,
.lk-support-page .page-main .support-info-item span {
  display: block;
}

.lk-support-page .page-main .support-info-item strong {
  color: #e8eef7;
  font-size: 14px;
  line-height: 18px;
}

.lk-support-page .page-main .support-info-item span {
  margin-top: 6px;
  color: #9fb0c7;
  font-size: 13px;
  line-height: 18px;
  overflow-wrap: anywhere;
}

.lk-support-page .page-main .support-layout-card .lk-mini-legal {
  margin-top: 31px;
}

.lk-support-page .page-main .support-threads {
  width: min(100%, 890px);
  margin-top: 16px;
}

.lk-support-page .page-main .support-empty,
.lk-support-page .page-main .support-more-btn,
.lk-support-page .page-main .support-thread {
  max-width: 100%;
  box-sizing: border-box;
}

.lk-support-page .page-main .support-empty {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #9fb0c7;
  font-size: 13px;
  line-height: 18px;
}

.lk-support-page .page-main .support-more-btn {
  min-height: 38px;
  margin-top: 8px;
}

.lk-support-page .page-main .support-thread {
  padding: 12px;
  border-color: rgba(36, 64, 97, 0.62);
  border-radius: 14px;
  background: rgba(7, 20, 38, 0.96);
}

.lk-support-page .page-main .support-thread__header {
  border: 1px solid rgba(42, 70, 104, 0.62);
  border-radius: 10px;
  background: rgba(16, 33, 59, 0.96);
}

.lk-support-page .page-main .support-chat__messages {
  border: 1px solid rgba(42, 70, 104, 0.62);
  border-radius: 10px;
  background: rgba(4, 12, 24, 0.72);
}

.lk-support-page .page-main .support-message {
  display: flex;
  margin: 10px 0;
}

.lk-support-page .page-main .support-message--user {
  justify-content: flex-end;
}

.lk-support-page .page-main .support-message--agent {
  justify-content: flex-start;
}

.lk-support-page .page-main .support-message__bubble {
  max-width: min(78%, 360px);
  padding: 10px 12px;
  border: 1px solid rgba(42, 70, 104, 0.62);
  border-radius: 10px;
  background: rgba(14, 32, 56, 0.96);
  color: #d9e5f4;
}

.lk-support-page .page-main .support-message--user .support-message__bubble {
  border-color: rgba(43, 95, 159, 0.56);
  background: linear-gradient(135deg, rgba(23, 76, 145, 0.92), rgba(13, 52, 102, 0.94));
  box-shadow: 0 8px 18px rgba(5, 22, 52, 0.28);
}

.lk-support-page .page-main .support-message__header {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  color: #9fb0c7;
  font-size: 11px;
  line-height: 1.3;
}

.lk-support-page .page-main .support-message__text {
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.45;
}

.lk-support-page .page-main .support-chat__form {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.lk-support-page .page-main .support-thread__input {
  min-height: 64px;
}

.lk-support-page .page-main .support-thread__file-control {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(42, 70, 104, 0.62);
  border-radius: 10px;
  background: rgba(16, 33, 59, 0.96);
  color: #d9e5f4;
  cursor: pointer;
}

.lk-support-page .page-main .support-thread__file-control span {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.lk-support-page .page-main .support-thread__file-control em {
  min-width: 0;
  overflow: hidden;
  color: #9fb0c7;
  font-size: 13px;
  font-style: normal;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lk-support-page .page-main .support-thread__attachments-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.lk-support-page .page-main .support-thread__send {
  min-width: 124px;
  min-height: 42px;
  margin-left: auto;
  border: 1px solid rgba(43, 95, 159, 0.62);
  border-radius: 10px;
  background: rgba(18, 58, 112, 0.96);
}

@media (min-width: 801px) {
  .lk-support-page .page-main .lk-menu {
    min-height: 648px;
  }
}

@media (max-width: 900px) {
  .lk-support-page .page-main .support-layout-grid {
    grid-template-columns: 1fr;
  }

  .lk-support-page .page-main .support-form-actions {
    grid-template-columns: 1fr;
  }

  .lk-support-page .page-main .support-file-control,
  .lk-support-page .page-main #supportNewTicketSubmit {
    width: 100%;
  }
}

@media (max-width: 800px) {
  .lk-support-page .page-main .support-layout-card {
    padding: 16px;
  }

  .lk-support-page .page-main .support-hero-card {
    flex-direction: column;
    min-height: 0;
  }

  .lk-support-page .page-main .support-status-pill {
    width: 100%;
    margin-top: 0;
  }
}

/* LK mobile parity with Figma */
@media (max-width: 800px) {
  .lk-page {
    min-width: 0;
    background:
      radial-gradient(circle at 16% 4%, rgba(44, 100, 213, 0.16), transparent 15rem),
      radial-gradient(circle at 88% 8%, rgba(94, 167, 255, 0.07), transparent 14rem),
      linear-gradient(180deg, #030915 0%, #050b16 46%, #060d19 100%);
  }

  .lk-page .page-main {
    min-height: auto;
    padding-top: 8px;
  }

  .lk-page .site-header__bar {
    min-height: 75px;
    padding: 0;
  }

  .lk-page .brand__logo {
    width: 185px;
    height: 34px;
    max-width: 185px;
  }

  .lk-page .page-main .wrapper {
    width: 100%;
    max-width: 375px;
    padding: 0 4px 28px;
  }

  .lk-page .page-main .lk-flex {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .lk-page .page-main .lk-menu {
    width: min(100%, 367px);
    min-width: 0;
    min-height: 192px;
    margin: 0 auto;
    padding: 14px 0;
    border-color: rgba(18, 36, 77, 0.28);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(8, 15, 34, 0.98));
  }

  .lk-page .page-main .lk-menu ul {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  .lk-page .page-main .lk-menu__item a {
    min-height: 41px;
    padding: 10px 18px;
    gap: 13px;
    border-radius: 9px;
    font-size: 15px;
    line-height: 20px;
  }

  .lk-page .page-main .lk-menu__icon {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
  }

  .lk-page .page-main .lk-menu__item--active a {
    background: linear-gradient(90deg, rgba(30, 80, 156, 0.74), rgba(10, 38, 80, 0.42));
  }

  .lk-page .page-main .lk-content {
    width: min(100%, 367px);
  }

  .lk-page .page-main .lk-content > .card {
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 24px 8px;
    border-color: rgba(18, 36, 77, 0.18);
    border-radius: 14px;
    box-sizing: border-box;
  }

  .lk-page .page-main .card-header--split {
    min-height: 40px;
    margin: 0 0 16px;
    align-items: center;
    gap: 12px;
  }

  .lk-page .page-main .card-header__right {
    flex-shrink: 0;
  }

  .lk-page .page-main .profile2-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .lk-page .page-main .profile2-grid > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .lk-profile-page .page-main .profile-block {
    width: 100%;
    margin: 0;
    padding: 14px 16px 16px;
    border-color: rgba(36, 64, 97, 0.62);
    border-radius: 14px;
    box-sizing: border-box;
  }

  .lk-profile-page .page-main .profile-block + .profile-block {
    margin-top: 0;
  }

  .lk-profile-page .page-main .field {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-bottom: 12px;
  }

  .lk-profile-page .page-main .fg-email {
    grid-template-columns: 1fr;
  }

  .lk-profile-page .page-main .fg-email input,
  .lk-profile-page .page-main .fg-email > .field-msg,
  .lk-profile-page .page-main .fg-email > #sendMailBtn {
    grid-column: 1;
  }

  .lk-profile-page .page-main .fg-email > #sendMailBtn {
    justify-self: end;
    margin-top: 6px;
  }

  .lk-profile-page .page-main .switch-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

  .lk-profile-page .page-main .switch-row > div:first-child {
    min-width: 0;
  }

  .lk-profile-page .page-main .switch-row .security-row__text,
  .lk-profile-page .page-main .switch-row .hint {
    margin-left: 0 !important;
    padding-left: 0;
  }

  .lk-profile-page .page-main .switch-row .hint {
    display: block;
    margin-top: 2px;
    line-height: 1.35;
  }

  .lk-profile-page .page-main .social-row-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    padding-right: 0;
  }

  .lk-profile-page .page-main .badge-tag {
    position: static;
    min-width: 104px;
    white-space: nowrap;
  }

  .lk-profile-page .page-main .social-icons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
  }

  .lk-profile-page .page-main .social-icons a,
  .lk-profile-page .page-main .social-icons button {
    min-height: 47px;
  }

  .lk-profile-page .page-main #export-data,
  .lk-profile-page .page-main #delete-account {
    width: 100%;
    min-height: 42px;
  }

  .lk-profile-page .page-main .table-scroll {
    max-height: 225px;
    overflow: auto;
    border-radius: 8px;
  }

  .lk-profile-page .page-main .table-scroll > table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 6px;
  }

  .lk-profile-page .page-main #login-table tr.logins-head {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 72px;
    gap: 8px;
    align-items: center;
    padding: 0 4px 6px;
  }

  .lk-profile-page .page-main #login-table tr:not(.logins-head) {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 72px;
    gap: 8px;
    align-items: center;
    min-height: 58px;
    padding: 6px 4px;
  }

  .lk-profile-page .page-main #login-table th,
  .lk-profile-page .page-main #login-table td {
    display: block;
    padding: 0;
    overflow: hidden;
    white-space: normal;
    text-overflow: clip;
    line-height: 1.25;
  }

  .lk-profile-page .page-main #login-table .badge-device {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 3px 7px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
  }

  .lk-page .page-main .legal,
  .lk-page .page-main .lk-mini-legal {
    display: flex;
    width: 100%;
    margin: 24px auto 0;
    gap: 6px 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1.6;
  }

  .lk-page .page-main .legal a,
  .lk-page .page-main .lk-mini-legal a {
    display: inline;
    margin: 0;
  }

  .lk-services-page .page-main .lk-content {
    width: min(100%, 339px);
  }

  .lk-services-page .page-main .lk-content > .card {
    padding: 24px 8px;
  }

  .lk-services-page .page-main .lk-page-heading {
    margin: 0 0 18px;
  }

  .lk-services-page .page-main .lk-page-heading h1 {
    font-size: 20px;
    line-height: 24px;
  }

  .lk-services-page .page-main .lk-page-heading + div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lk-services-page .page-main .lk-page-heading + div .service-group {
    width: 100%;
    min-height: 286px;
    margin: 0;
    padding: 17px;
    border-color: rgba(36, 64, 97, 0.62);
    border-radius: 18px;
    background: rgba(7, 20, 38, 0.96);
    box-sizing: border-box;
  }

  .lk-services-page .page-main .service-group > :is(h2, h3) {
    margin: 0;
    padding-inline: 4px;
    color: #71afff;
    font-size: 14px;
    line-height: 18px;
  }

  .lk-services-page .page-main .service-group .cards-row {
    display: block;
    margin-top: 22px;
  }

  .lk-services-page .page-main .service-group .card-s {
    position: relative;
    display: block;
    width: 100%;
    min-height: 224px;
    padding: 0;
  }

  .lk-services-page .page-main .service-group .card-s > h3 {
    position: static;
    width: auto;
    min-height: 24px;
    margin: 0;
    padding: 0;
    font-size: 17px;
    line-height: 24px;
  }

  .lk-services-page .page-main .service-group .card-desc {
    position: static;
    width: auto;
    min-height: 64px;
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 17.4px;
  }

  .lk-services-page .page-main .service-group .card-s::after {
    position: absolute;
    top: 108px;
    left: 0;
    width: 100%;
    margin: 0;
  }

  .lk-services-page .page-main .service-group .price {
    position: absolute;
    top: 140px;
    left: 0;
    width: 110px;
    margin: 0;
    font-size: 16px;
    line-height: 18px;
  }

  .lk-services-page .page-main .service-group .price::before {
    position: absolute;
    top: -16px;
    left: 0;
    margin: 0;
    font-size: 12px;
    line-height: 14px;
  }

  .lk-services-page .page-main .service-group .switch {
    position: absolute;
    top: 140px;
    left: auto;
    right: 8px;
    width: 52px;
    height: 28px;
    margin: 0;
  }

  .lk-services-page .page-main .service-group .switch::before {
    position: absolute;
    top: -18px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    font-size: 12px;
    line-height: 14px;
  }

  .lk-services-page .page-main .service-group .btn-primary {
    position: absolute;
    top: 178px;
    left: 0;
    width: 100%;
    min-height: 36px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid rgba(109, 160, 255, 0.24);
    background: #2162d6;
    box-shadow: 0 8px 18px rgba(11, 78, 184, 0.24);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 16px;
  }

  .lk-services-page .page-main .service-group .state {
    display: none !important;
  }

  .lk-history-page .page-main .history-card {
    min-height: 487px;
    padding: 24px 8px;
  }

  .lk-history-page .page-main .history-title {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
    margin: 0 10px 16px;
  }

  .lk-history-page .page-main .history-title h2 {
    margin: 0;
  }

  .lk-history-page .page-main .history-filters {
    display: flex;
    width: 100%;
    margin: 0;
    gap: 8px;
  }

  .lk-history-page .page-main .history-filter-btn {
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 9px;
    background: rgba(12, 45, 91, 0.45);
    color: #b6c6e3;
  }

  .lk-history-page .page-main .history-filter-btn.active {
    background: linear-gradient(90deg, rgba(30, 80, 156, 0.74), rgba(10, 38, 80, 0.42));
  }

  .lk-history-page .page-main .history-export {
    justify-self: start;
    margin: 0;
  }

  .lk-history-page .page-main .history-table-wrap {
    min-height: 118px;
    padding: 0;
    overflow: hidden;
  }

  .lk-history-page .page-main .history-table {
    display: block;
    width: 100%;
    min-width: 0;
    border-collapse: separate;
  }

  .lk-history-page .page-main .history-table thead {
    display: none;
  }

  .lk-history-page .page-main .history-table tbody {
    display: grid;
    width: 100%;
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
  }

  .lk-history-page .page-main .history-table tbody:empty {
    display: none;
  }

  .lk-history-page .page-main .history-table tr {
    display: grid;
    width: 100%;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(36, 64, 97, 0.62);
    border-radius: 12px;
    background: rgba(7, 20, 38, 0.92);
    box-sizing: border-box;
  }

  .lk-history-page .page-main .history-table th,
  .lk-history-page .page-main .history-table td {
    padding: 0;
    border-bottom: 0;
  }

  .lk-history-page .page-main .history-table td {
    display: grid;
    grid-template-columns: minmax(82px, 0.42fr) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-width: 0;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .lk-history-page .page-main .history-table td::before {
    content: attr(data-label);
    color: #8fa3c2;
    font-size: 12px;
    line-height: 1.35;
  }

  .lk-history-page .page-main .history-table td.sum,
  .lk-history-page .page-main .history-table td.status,
  .lk-history-page .page-main .history-table td a {
    font-size: 14px;
  }

  .lk-history-page .page-main .history-mobile-empty {
    padding: 26px 16px;
    text-align: center;
  }

  .lk-history-page .page-main .history-mobile-empty strong,
  .lk-history-page .page-main .history-mobile-empty span {
    display: block;
  }

  .lk-history-page .page-main .history-mobile-empty span {
    margin-top: 6px;
    color: #9fb0c7;
  }

  .lk-support-page .page-main .lk-content {
    width: min(100%, 367px);
  }

  .lk-support-page .page-main .lk-content > .card.support-layout-card {
    max-width: none;
    min-height: 937px;
    padding: 24px 8px;
  }

  .lk-support-page .page-main .support-hero-card {
    width: 100%;
    min-height: 164px;
    padding: 16px 18px;
    flex-direction: column;
    gap: 0;
  }

  .lk-support-page .page-main .support-hero-card .card-title {
    font-size: 28px;
    line-height: 32px;
  }

  .lk-support-page .page-main .support-hero-card .card-subtitle {
    margin-top: 8px;
    font-size: 15px;
    line-height: 21px;
  }

  .lk-support-page .page-main .support-status-pill {
    display: none;
  }

  .lk-support-page .page-main .support-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }

  .lk-support-page .page-main .support-form-card.support-new {
    min-height: 376px;
    margin: 0;
    padding: 18px;
  }

  .lk-support-page .page-main .support-form-card .section-title,
  .lk-support-page .page-main .support-info-card h2 {
    font-size: 20px;
    line-height: 24px;
  }

  .lk-support-page .page-main #supportCategory {
    min-height: 42px;
  }

  .lk-support-page .page-main #supportMessageText {
    min-height: 104px;
    height: 104px;
  }

  .lk-support-page .page-main .support-form-actions {
    display: grid;
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
    gap: 16px;
    align-items: end;
  }

  .lk-support-page .page-main .support-file-control {
    width: 100%;
    height: 40px;
    justify-content: center;
    gap: 0;
    padding-inline: 12px;
  }

  .lk-support-page .page-main .support-file-control span {
    font-size: 12px;
  }

  .lk-support-page .page-main .support-file-control em,
  .lk-support-page .page-main .support-thread__file-control em {
    display: none;
  }

  .lk-support-page .page-main .support-thread__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    text-align: left;
  }

  .lk-support-page .page-main .support-ticket__top {
    justify-content: flex-start;
    gap: 8px;
  }

  .lk-support-page .page-main .support-ticket__meta {
    margin-top: 0;
    gap: 8px;
  }

  .lk-support-page .page-main #supportNewTicketSubmit {
    width: 100%;
    height: 40px;
  }

  .lk-support-page .page-main .support-info-card {
    min-height: 228px;
    padding: 18px;
  }

  .lk-support-page .page-main .support-info-card > p,
  .lk-support-page .page-main .support-info-card .support-info-item:nth-of-type(2),
  .lk-support-page .page-main .support-info-card .support-info-item:nth-of-type(4) {
    display: none;
  }

  .lk-support-page .page-main .support-info-item {
    min-height: 62px;
    margin-top: 12px;
  }

  .lk-support-page .page-main .support-layout-card .lk-mini-legal {
    margin-top: 24px;
  }

  .lk-support-page .page-main .support-threads {
    width: 100%;
    margin-top: 16px;
  }

  .lk-support-page .page-main .support-empty {
    min-height: 54px;
    padding: 10px 14px;
  }
}

@media (min-width: 801px) {
  .lk-support-page .page-main .support-info-item--mobile-status {
    display: none;
  }
}

/* ===== Shared Modal Kit ===== */
:root {
  --modal-kit-bg: rgba(7, 20, 38, 0.96);
  --modal-kit-border: rgba(36, 64, 97, 0.62);
  --modal-kit-text: #f8fbff;
  --modal-kit-muted: #c7d8ff;
  --modal-kit-soft: #7d8aac;
  --modal-kit-primary: #2162D6;
  --modal-kit-primary-hover: #2a6fe5;
  --modal-kit-ghost: rgba(17, 39, 68, 0.86);
  --modal-kit-radius: 14px;
  --modal-kit-control-radius: 9px;
}

.overlay.show,
[data-api-modal].overlay {
  align-items: center;
  justify-content: center;
}

.overlay .modal,
[data-api-modal] .modal {
  position: relative !important;
  width: min(var(--modal-width, 420px), calc(100vw - 28px)) !important;
  max-width: min(var(--modal-max-width, 420px), calc(100vw - 28px)) !important;
  box-sizing: border-box;
  padding: clamp(22px, 4vw, 28px) clamp(20px, 5vw, 32px) !important;
  border: 1px solid var(--modal-kit-border);
  border-radius: var(--modal-kit-radius) !important;
  background: var(--modal-kit-bg) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42) !important;
  color: var(--modal-kit-text);
  font-family: var(--shell-font, Roboto, system-ui, -apple-system, "Segoe UI", sans-serif);
  text-align: center;
  word-break: normal;
  overflow-wrap: anywhere;
}

.overlay .modal--auth-invalid,
[data-api-modal] .modal--auth-invalid {
  --modal-width: 600px;
  --modal-max-width: 600px;
}

.overlay .modal h3,
.overlay .modal h4,
[data-api-modal] .modal h3,
[data-api-modal] .modal h4 {
  margin: 0 0 12px !important;
  color: var(--modal-kit-text) !important;
  font-family: var(--shell-font, Roboto, system-ui, -apple-system, "Segoe UI", sans-serif);
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
}

.overlay .modal p,
[data-api-modal] .modal p,
.overlay .modal .modal__content,
[data-api-modal] .modal .modal__content {
  margin: 0 0 18px !important;
  color: var(--modal-kit-muted) !important;
  font-family: var(--shell-font, Roboto, system-ui, -apple-system, "Segoe UI", sans-serif);
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
}

.overlay .modal p:last-child,
[data-api-modal] .modal p:last-child {
  margin-bottom: 0 !important;
}

.overlay .modal input:not([type="checkbox"]):not([type="radio"]),
[data-api-modal] .modal input:not([type="checkbox"]):not([type="radio"]) {
  box-sizing: border-box;
  min-height: 40px;
  border-radius: 9px;
  font-family: var(--shell-font, Roboto, system-ui, -apple-system, "Segoe UI", sans-serif);
}

.overlay .modal-actions,
[data-api-modal] .modal-actions {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  margin-top: 14px;
}

.overlay .modal-actions .btn,
.overlay .modal-actions a.btn,
[data-api-modal] .modal-actions .btn,
[data-api-modal] .modal-actions a.btn,
.modal__actions .btn,
.modal__actions a.btn {
  min-height: 40px !important;
  min-width: 132px;
  box-sizing: border-box;
  padding: 0 18px !important;
  border-radius: var(--modal-kit-control-radius) !important;
  font-family: var(--shell-font, Roboto, system-ui, -apple-system, "Segoe UI", sans-serif);
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

.overlay .modal-actions .btn-primary,
.overlay .modal-actions a.btn-primary,
[data-api-modal] .modal-actions .btn-primary,
[data-api-modal] .modal-actions a.btn-primary,
.modal__actions .btn-primary,
.modal__actions a.btn-primary {
  background: var(--modal-kit-primary) !important;
  color: #fff !important;
}

.overlay .modal-actions .btn-primary:hover,
.overlay .modal-actions a.btn-primary:hover,
[data-api-modal] .modal-actions .btn-primary:hover,
[data-api-modal] .modal-actions a.btn-primary:hover,
.modal__actions .btn-primary:hover,
.modal__actions a.btn-primary:hover {
  background: var(--modal-kit-primary-hover) !important;
  filter: none !important;
}

.overlay .modal-actions .btn-ghost,
.overlay .modal-actions a.btn-ghost,
[data-api-modal] .modal-actions .btn-ghost,
[data-api-modal] .modal-actions a.btn-ghost,
.modal__actions .btn-ghost,
.modal__actions a.btn-ghost {
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  background: var(--modal-kit-ghost) !important;
  color: var(--modal-kit-muted) !important;
}

.overlay .modal-actions .btn-danger,
[data-api-modal] .modal-actions .btn-danger {
  border: 1px solid rgba(239, 68, 68, 0.32) !important;
  background: rgba(127, 29, 29, 0.74) !important;
  color: #fff !important;
}

.overlay .modal .close-x,
[data-api-modal] .modal .close-x {
  top: 8px !important;
  right: 8px !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--modal-kit-soft) !important;
  font-size: 20px !important;
  line-height: 1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.overlay .modal .close-x:hover,
[data-api-modal] .modal .close-x:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

#modalAuthRequired .modal {
  --modal-width: 360px;
  --modal-max-width: 360px;
  max-height: calc(100dvh - 28px);
  overflow: auto;
  pointer-events: auto;
}

#modalAuthRequired.overlay[data-band-modal] {
  position: fixed !important;
  inset: var(--band-top, 0px) 0 var(--band-bottom, 0px) 0 !important;
  top: var(--band-top, 0px) !important;
  right: 0 !important;
  bottom: var(--band-bottom, 0px) !important;
  left: 0 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px !important;
  background: rgba(2, 6, 23, 0.82) !important;
  pointer-events: none;
}

#modalAuthRequired.overlay[data-band-modal].show {
  display: flex !important;
}

html.auth-gate-open main,
body.auth-gate-open main {
  pointer-events: none;
}

#modalAuthRequired .modal-actions .btn {
  width: 100%;
}

#modalAuthRequired .legal {
  justify-content: center !important;
  width: 100% !important;
  margin-top: 16px !important;
  color: var(--modal-kit-soft) !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

#modalAuthRequired .legal a {
  color: #42a5ff !important;
}

@media (max-width: 640px) {
  #modalAuthRequired.overlay[data-band-modal] {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 1 !important;
    display: block !important;
    box-sizing: border-box;
    align-items: flex-start !important;
    justify-content: center !important;
    width: 100%;
    height: auto !important;
    min-height: 0;
    padding: 14px 12px 20px !important;
    overflow: visible;
    background: transparent !important;
    backdrop-filter: none !important;
    pointer-events: auto;
  }

  #modalAuthRequired.overlay[data-band-modal].show {
    display: block !important;
    height: auto !important;
  }

  html.auth-gate-open main,
  body.auth-gate-open main {
    order: 1;
    display: none !important;
  }

  body.auth-gate-open .site-header {
    order: 0;
  }

  body.auth-gate-open #modalAuthRequired {
    order: 2;
  }

  body.auth-gate-open > #modalAuthRequired:not(:last-of-type) {
    display: none !important;
  }

  body.auth-gate-open .site-footer {
    order: 3;
  }

  #modalAuthRequired .modal {
    --modal-width: 360px;
    --modal-max-width: 360px;
    max-height: none;
    margin: 0 auto !important;
    padding: 18px 16px !important;
  }

  #modalAuthRequired .modal h4 {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  #modalAuthRequired .modal p {
    margin-bottom: 12px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  #modalAuthRequired .modal-actions .btn {
    min-height: 44px !important;
  }

  #modalAuthRequired .legal {
    margin-top: 14px !important;
    font-size: 10.5px !important;
  }
}

.modal__dialog {
  width: min(480px, calc(100vw - 28px)) !important;
  box-sizing: border-box;
  border: 1px solid var(--modal-kit-border);
  border-radius: var(--modal-kit-radius) !important;
  background: var(--modal-kit-bg) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42) !important;
  color: var(--modal-kit-text);
  font-family: var(--shell-font, Roboto, system-ui, -apple-system, "Segoe UI", sans-serif);
}

.modal__title {
  color: var(--modal-kit-text);
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: center;
}

.modal__text {
  color: var(--modal-kit-muted);
  font-size: 14px !important;
  line-height: 1.5 !important;
  text-align: center;
}

.modal__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 540px) {
  .overlay .modal,
  [data-api-modal] .modal {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    padding: 24px 18px !important;
  }

  .overlay .modal h3,
  .overlay .modal h4,
  [data-api-modal] .modal h3,
  [data-api-modal] .modal h4,
  .modal__title {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  .overlay .modal p,
  [data-api-modal] .modal p,
  .overlay .modal .modal__content,
  [data-api-modal] .modal .modal__content,
  .modal__text {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .overlay .modal-actions,
  [data-api-modal] .modal-actions,
  .modal__actions {
    gap: 10px !important;
  }

  .overlay .modal-actions .btn,
  .overlay .modal-actions a.btn,
  [data-api-modal] .modal-actions .btn,
  [data-api-modal] .modal-actions a.btn,
  .modal__actions .btn,
  .modal__actions a.btn {
    min-width: 0;
    min-height: 40px !important;
    padding-inline: 14px !important;
  }

  .code-inputs {
    gap: 8px !important;
  }
}

/* Training page */
.page-training .wrapper.training-main {
  width: 100%;
  max-width: none;
  padding: 0;
  box-sizing: border-box;
}

.page-training .training-guide,
.page-training .training-guide * {
  box-sizing: border-box;
}

.page-training .training-guide {
  width: min(1180px, var(--wrap));
  margin: 0 auto;
  padding: 64px 0 84px;
  color: var(--shell-text);
  font-family: var(--shell-font);
  letter-spacing: 0;
}

.page-training .training-hero {
  padding: 36px 0 44px;
  border-bottom: 1px solid var(--shell-line);
}

.page-training .training-eyebrow,
.page-training .training-kicker {
  margin: 0 0 14px;
  color: #79b5ff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-training .training-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #f8fbff;
  font-size: 54px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0;
}

.page-training .training-lead {
  max-width: 840px;
  margin: 24px 0 0;
  color: var(--shell-text-soft);
  font-size: 20px;
  line-height: 1.6;
}

.page-training .training-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.page-training .training-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(94, 167, 255, 0.45);
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  background: rgba(33, 98, 214, 0.92);
}

.page-training .training-link--ghost {
  color: #e2ebff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(148, 163, 184, 0.22);
}

.page-training .training-link:hover,
.page-training .training-link:focus-visible {
  color: #fff;
  border-color: rgba(121, 181, 255, 0.75);
  outline: none;
}

.page-training .training-disclaimer {
  max-width: 820px;
  margin: 28px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 209, 102, 0.25);
  border-left: 4px solid #ffd166;
  border-radius: 8px;
  color: #f3e5b6;
  font-size: 15px;
  line-height: 1.55;
  background: rgba(255, 209, 102, 0.08);
}

.page-training .training-toc {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 26px 0 20px;
  border-bottom: 1px solid var(--shell-line);
}

.page-training .training-toc a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  color: var(--shell-text-soft);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
}

.page-training .training-toc a:hover,
.page-training .training-toc a:focus-visible {
  color: #fff;
  border-color: rgba(94, 167, 255, 0.48);
  outline: none;
}

.page-training .training-section {
  padding: 54px 0;
  border-bottom: 1px solid var(--shell-line);
}

.page-training .training-section:last-child {
  border-bottom: 0;
}

.page-training .training-section__header {
  max-width: 840px;
  margin: 0 0 28px;
}

.page-training .training-section h2 {
  margin: 0;
  color: #f8fbff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.page-training .training-section h3 {
  margin: 0 0 12px;
  color: #eef4ff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

.page-training .training-section p,
.page-training .training-section li,
.page-training .training-table span,
.page-training .training-table strong {
  color: var(--shell-text-soft);
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: 0;
}

.page-training .training-section__header > p:last-child {
  margin: 16px 0 0;
}

.page-training .training-steps,
.page-training .training-grid,
.page-training .training-scenarios {
  display: grid;
  gap: 16px;
}

.page-training .training-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-training .training-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-training .training-grid--terms {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-training .training-grid--indicators {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-training .training-grid--indicator-demos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.page-training .training-indicator-demo {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.page-training .training-indicator-demo .training-window {
  margin-top: auto;
  padding-top: 20px;
}

.page-training .training-indicator-demo .training-window__image {
  width: auto;
  max-width: 100%;
  max-height: 360px;
  margin-inline: auto;
  object-fit: contain;
  background: rgba(15, 23, 42, 0.32);
}

.page-training .training-grid--graph-summaries {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.page-training .training-grid--match-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 26px 0;
}

.page-training .training-grid--match-cards .training-window--full {
  grid-column: 1 / -1;
}

.page-training .training-grid--match-cards .training-window__image {
  width: auto;
  max-width: 100%;
  max-height: 420px;
  margin-inline: auto;
  object-fit: contain;
  background: rgba(15, 23, 42, 0.32);
}

.page-training .training-grid--match-cards .training-window--mini .training-window__image {
  max-height: 120px;
}

.page-training .training-grid--match-cards .training-window figcaption {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.page-training .training-grid--strategy-shots {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.page-training .training-step,
.page-training .training-card,
.page-training .training-term,
.page-training .training-scenario,
.page-training .training-faq details {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(5, 12, 24, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.page-training .training-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 0 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  background: #2162d6;
}

.page-training .training-step p,
.page-training .training-card p,
.page-training .training-term p,
.page-training .training-scenario p {
  margin: 0;
}

.page-training .training-card p + p,
.page-training .training-scenario p + p {
  margin-top: 12px;
}

.page-training .training-term h3 {
  color: #37d6b6;
}

.page-training .training-note {
  margin: 26px 0 0;
  padding: 22px 24px;
  border: 1px solid rgba(55, 214, 182, 0.28);
  border-left: 4px solid #37d6b6;
  border-radius: 8px;
  background: rgba(55, 214, 182, 0.07);
}

.page-training .training-note--warning {
  border-color: rgba(255, 209, 102, 0.28);
  border-left-color: #ffd166;
  background: rgba(255, 209, 102, 0.07);
}

.page-training .training-note p,
.page-training .training-note ol {
  margin: 0;
}

.page-training .training-note h3 {
  color: #f8fbff;
}

.page-training .training-subhead {
  max-width: 820px;
  margin: 30px 0 0;
}

.page-training .training-subhead h3 {
  margin: 0 0 8px;
  color: #f8fbff;
  font-size: 22px;
  line-height: 1.25;
}

.page-training .training-subhead p {
  margin: 0;
  color: var(--shell-text-soft);
}

.page-training .training-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.page-training .training-split--reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
}

.page-training .training-list {
  margin: 0;
  padding-left: 20px;
}

.page-training .training-list li + li {
  margin-top: 10px;
}

.page-training .training-list--ordered {
  padding-left: 24px;
}

.page-training .training-window {
  margin: 0;
  min-width: 0;
}

.page-training .training-window__image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(6, 14, 28, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.page-training .training-window__screen {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 28px;
  border: 1px dashed rgba(121, 181, 255, 0.52);
  border-radius: 8px;
  color: #dbeafe;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(4, 10, 20, 0.72);
}

.page-training .training-window--wide .training-window__screen,
.page-training .training-window--full .training-window__screen {
  min-height: 320px;
}

.page-training .training-window span {
  color: #79b5ff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.page-training .training-window strong {
  color: #f8fbff;
  font-size: 24px;
  line-height: 1.25;
}

.page-training .training-window p {
  max-width: 520px;
  margin: 0;
}

.page-training .training-window figcaption {
  margin: 10px 0 0;
  color: var(--shell-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.page-training .training-card--accent-blue {
  border-top: 4px solid #79b5ff;
}

.page-training .training-card--accent-yellow {
  border-top: 4px solid #ffd166;
}

.page-training .training-card--accent-red {
  border-top: 4px solid #ff8a8a;
}

.page-training .training-card--accent-green {
  border-top: 4px solid #37d6b6;
}

.page-training .training-table {
  display: grid;
  margin-top: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(5, 12, 24, 0.62);
}

.page-training .training-table [role="row"] {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
}

.page-training .training-table--three [role="row"] {
  grid-template-columns: minmax(120px, 0.25fr) minmax(0, 0.75fr) minmax(0, 0.85fr);
}

.page-training .training-table [role="row"] + [role="row"] {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.page-training .training-table span,
.page-training .training-table strong {
  padding: 14px 16px;
}

.page-training .training-table strong {
  color: #eef4ff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.045);
}

.page-training .training-table span:first-child {
  color: #79b5ff;
  font-weight: 800;
}

.page-training .training-scenarios {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-training .training-faq {
  display: grid;
  gap: 12px;
}

.page-training .training-faq details {
  padding: 0;
}

.page-training .training-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #eef4ff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  list-style-position: inside;
}

.page-training .training-faq details p {
  margin: 0;
  padding: 0 20px 20px;
}

@media (max-width: 1100px) {
  .page-training .training-toc {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-training .training-steps,
  .page-training .training-grid,
  .page-training .training-grid--terms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .page-training .training-guide {
    padding: 42px 0 64px;
  }

  .page-training .training-hero h1 {
    font-size: 40px;
  }

  .page-training .training-lead {
    font-size: 18px;
  }

  .page-training .training-section {
    padding: 42px 0;
  }

  .page-training .training-section h2 {
    font-size: 28px;
  }

  .page-training .training-split,
  .page-training .training-split--reverse,
  .page-training .training-grid--indicators,
  .page-training .training-grid--indicator-demos,
  .page-training .training-grid--graph-summaries,
  .page-training .training-grid--match-cards,
  .page-training .training-scenarios {
    grid-template-columns: 1fr;
  }

  .page-training .training-grid--match-cards .training-window--full {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .page-training .training-toc,
  .page-training .training-steps,
  .page-training .training-grid,
  .page-training .training-grid--terms {
    grid-template-columns: 1fr;
  }

  .page-training .training-table,
  .page-training .training-table [role="row"] {
    display: block;
  }

  .page-training .training-table span,
  .page-training .training-table strong {
    display: block;
  }

  .page-training .training-table span + span {
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .page-training .training-guide {
    padding: 30px 0 52px;
  }

  .page-training .training-hero {
    padding: 24px 0 34px;
  }

  .page-training .training-hero h1 {
    font-size: 32px;
    line-height: 1.12;
  }

  .page-training .training-section h2 {
    font-size: 25px;
  }

  .page-training .training-section h3 {
    font-size: 19px;
  }

  .page-training .training-section p,
  .page-training .training-section li,
  .page-training .training-table span,
  .page-training .training-table strong {
    font-size: 15px;
    line-height: 1.62;
  }

  .page-training .training-step,
  .page-training .training-card,
  .page-training .training-term,
  .page-training .training-scenario,
  .page-training .training-note {
    padding: 18px;
  }

  .page-training .training-window__screen {
    min-height: 220px;
    padding: 20px;
  }

  .page-training .training-hero__actions,
  .page-training .training-link {
    width: 100%;
  }
}

/* Strategies page */
body.page-strategies main.wrapper.strategies-main,
.page-strategies .strategies-main {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  padding: 0;
}

.page-strategies .strategies-guide,
.page-strategies .strategies-guide * {
  box-sizing: border-box;
}

.page-strategies .strategies-guide {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 62px 0 84px;
  color: var(--shell-text);
  font-family: var(--shell-font);
  letter-spacing: 0;
}

.page-strategies .strategies-guide a {
  color: inherit;
}

.page-strategies .strategies-hero {
  padding: 28px 0 42px;
}

.page-strategies .strategies-kicker {
  margin: 0 0 12px;
  color: #9cc9ff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.page-strategies .strategies-hero h1,
.page-strategies .strategies-section h2,
.page-strategies .strategies-section h3 {
  margin: 0;
  color: #f8fbff;
  letter-spacing: 0;
}

.page-strategies .strategies-hero h1 {
  max-width: 780px;
  font-size: 52px;
  line-height: 1.08;
}

.page-strategies .strategies-lead {
  max-width: 920px;
  margin: 22px 0 0;
  color: #dce8f8;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.72;
}

.page-strategies .strategies-disclaimer {
  max-width: 920px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(121, 181, 255, 0.22);
  border-left: 4px solid #79b5ff;
  border-radius: 8px;
  color: #d7e6f8;
  background: rgba(14, 28, 50, 0.72);
  font-size: 16px;
  line-height: 1.65;
}

.page-strategies .strategies-disclaimer strong {
  color: #f8fbff;
}

.page-strategies .strategy-product-pages {
  padding: 54px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.page-strategies .strategy-product-pages__header {
  max-width: 920px;
  margin-bottom: 22px;
}

.page-strategies .strategy-product-pages h2 {
  margin: 0;
  color: #f8fbff;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

.page-strategies .strategy-product-pages__header > p:not(.strategies-kicker) {
  margin: 12px 0 0;
  color: #d3e0f0;
  font-size: 16px;
  line-height: 1.68;
}

.page-strategies .strategy-product-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 0 34px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.page-strategies .strategy-product-switch__item {
  appearance: none;
  display: grid;
  gap: 8px;
  width: 100%;
  min-height: 112px;
  align-content: center;
  padding: 18px 20px;
  border: 1px solid rgba(121, 181, 255, 0.28);
  border-radius: 8px;
  color: #dbeafe;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(14, 165, 233, 0.07)),
    rgba(10, 20, 36, 0.82);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.page-strategies .strategy-product-switch__item span {
  color: #f8fbff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.page-strategies .strategy-product-switch__item small {
  color: #b9ccef;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.page-strategies .strategy-product-switch__item:hover,
.page-strategies .strategy-product-switch__item:focus-visible {
  border-color: rgba(121, 181, 255, 0.62);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.32), rgba(14, 165, 233, 0.12)),
    rgba(11, 28, 54, 0.9);
  transform: translateY(-1px);
}

.page-strategies .strategy-product-switch__item.is-active,
.page-strategies .strategy-product-switch__item[aria-selected="true"] {
  border-color: rgba(96, 165, 250, 0.84);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.38), rgba(14, 165, 233, 0.16)),
    rgba(13, 35, 68, 0.94);
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.32),
    0 18px 44px rgba(15, 23, 42, 0.2);
}

.page-strategies .strategy-product-panel[hidden] {
  display: none;
}

.page-strategies .strategy-product-panel > .strategies-section:last-child {
  border-bottom: 0;
}

.page-strategies .strategies-toc {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 0 34px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.page-strategies .strategies-toc a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(121, 181, 255, 0.22);
  border-radius: 8px;
  color: #dbeafe;
  background: rgba(10, 20, 36, 0.78);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.page-strategies .strategies-toc a:hover {
  border-color: rgba(121, 181, 255, 0.54);
  color: #ffffff;
  background: rgba(33, 91, 181, 0.22);
}

.page-strategies .strategies-section {
  padding: 54px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.page-strategies .strategies-section__header {
  max-width: 900px;
  margin-bottom: 24px;
}

.page-strategies .strategies-section h2 {
  font-size: 34px;
  line-height: 1.18;
}

.page-strategies .strategies-section h3 {
  font-size: 20px;
  line-height: 1.3;
}

.page-strategies .strategies-section p,
.page-strategies .strategies-section li,
.page-strategies .strategy-table span,
.page-strategies .strategy-table strong,
.page-strategies .strategy-shot figcaption,
.page-strategies .strategy-day-card dt,
.page-strategies .strategy-day-card dd {
  color: #dbeafe;
  font-size: 16px;
  line-height: 1.68;
}

.page-strategies .strategies-section__header > p:not(.strategies-kicker),
.page-strategies .strategy-summary p,
.page-strategies .strategy-note p,
.page-strategies .strategy-day-card p {
  color: #d3e0f0;
}

.page-strategies .strategies-split {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.86fr);
  gap: 28px;
  align-items: start;
}

.page-strategies .strategies-split--wide-image {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.page-strategies .strategy-summary,
.page-strategies .strategy-note,
.page-strategies .strategy-day-card,
.page-strategies .strategy-detail-card {
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(8, 18, 34, 0.74);
}

.page-strategies .strategy-summary h3,
.page-strategies .strategy-note h3,
.page-strategies .strategy-day-card h3,
.page-strategies .strategy-detail-card h3 {
  margin-bottom: 12px;
}

.page-strategies .strategy-list,
.page-strategies .strategy-detail-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.page-strategies .strategy-list li + li,
.page-strategies .strategy-detail-card li + li {
  margin-top: 8px;
}

.page-strategies .strategy-list strong {
  color: #f8fbff;
}

.page-strategies .strategy-shot {
  margin: 0;
}

.page-strategies .strategy-shot picture {
  display: block;
}

.page-strategies .strategy-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background: rgba(6, 14, 28, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
  cursor: zoom-in;
}

.page-strategies .strategy-shot img:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.88);
  outline-offset: 4px;
}

body.strategy-lightbox-open {
  overflow: hidden;
}

.strategy-lightbox[hidden] {
  display: none;
}

.strategy-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(2, 6, 15, 0.9);
  backdrop-filter: blur(8px);
}

.strategy-lightbox__close {
  justify-self: end;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(121, 181, 255, 0.45);
  border-radius: 8px;
  color: #f8fbff;
  background: rgba(9, 20, 38, 0.92);
  font: inherit;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.strategy-lightbox__stage {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 0 16px;
  cursor: zoom-out;
}

.strategy-lightbox__image {
  display: block;
  width: auto;
  max-width: min(96vw, 1440px);
  height: auto;
  max-height: calc(100dvh - 104px);
  border: 1px solid rgba(121, 181, 255, 0.32);
  border-radius: 8px;
  background: rgba(6, 14, 28, 0.9);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.page-strategies .strategy-shot--compact img {
  max-height: 360px;
}

.page-strategies .strategy-shot figcaption {
  margin: 10px 0 0;
  color: var(--shell-text-muted);
  font-size: 14px;
}

.page-strategies .strategy-table {
  display: grid;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(5, 12, 24, 0.62);
}

.page-strategies .strategy-table [role="row"] {
  display: grid;
  grid-template-columns: minmax(130px, 0.24fr) minmax(180px, 0.34fr) minmax(0, 1fr);
}

.page-strategies .strategy-table [role="row"] + [role="row"] {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.page-strategies .strategy-table span,
.page-strategies .strategy-table strong {
  padding: 14px 16px;
}

.page-strategies .strategy-table strong {
  color: #eef4ff;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.045);
}

.page-strategies .strategy-table span:first-child {
  color: #79b5ff;
  font-weight: 900;
}

.page-strategies .strategy-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.page-strategies .strategy-stat-card {
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(8, 18, 34, 0.74);
}

.page-strategies .strategy-stat-card span {
  display: block;
  color: var(--shell-text-muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.page-strategies .strategy-stat-card strong {
  display: block;
  margin-top: 18px;
  color: #f8fbff;
  font-size: 32px;
  line-height: 1;
}

.page-strategies .strategy-stat-card--good strong,
.page-strategies .strategy-day-card .is-good {
  color: #37d6b6;
}

.page-strategies .strategy-stat-card--bad strong {
  color: #ff7f8a;
}

.page-strategies .strategy-note {
  margin-top: 18px;
  border-left: 4px solid #ffd166;
}

.page-strategies .strategy-note--warning {
  border-left-color: #ff7f8a;
}

.page-strategies .strategy-day-card dl {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.page-strategies .strategy-day-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.page-strategies .strategy-day-card dt {
  color: var(--shell-text-muted);
  font-weight: 800;
}

.page-strategies .strategy-day-card dd {
  margin: 0;
  color: #f8fbff;
  font-weight: 900;
}

.page-strategies .strategy-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.page-strategies .strategy-detail-card:nth-child(3) {
  grid-column: 1 / -1;
}

.page-strategies .strategy-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: strategy-steps;
}

.page-strategies .strategy-steps article {
  position: relative;
  padding: 18px 18px 18px 58px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(8, 18, 34, 0.74);
  counter-increment: strategy-steps;
}

.page-strategies .strategy-steps article span {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: #2f6fdc;
  font-size: 14px;
  font-weight: 900;
}

.page-strategies .strategy-steps article p {
  margin: 8px 0 0;
}

.page-strategies .strategy-flow-grid,
.page-strategies .strategy-filter-shots,
.page-strategies .strategy-mini-grid {
  display: grid;
  gap: 16px;
}

.page-strategies .strategy-flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-strategies .strategy-filter-shots {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
  align-items: start;
}

.page-strategies .strategy-mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.page-strategies .strategy-flow-grid article {
  position: relative;
  min-height: 210px;
  padding: 22px 18px 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(8, 18, 34, 0.74);
}

.page-strategies .strategy-flow-grid article span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: #2f6fdc;
  font-size: 15px;
  font-weight: 900;
}

.page-strategies .strategy-flow-grid article p,
.page-strategies .strategy-mini-grid p,
.page-strategies .strategy-stat-card p {
  margin: 10px 0 0;
}

.page-strategies .strategy-filter-shots .strategy-shot img {
  max-height: 700px;
}

.page-strategies .strategy-shot--portrait img {
  width: auto;
  max-width: min(100%, 360px);
  margin-inline: auto;
}

.page-strategies .strategy-shot--library img {
  max-height: 660px;
}

.page-strategies .strategy-mini-grid .strategy-detail-card:nth-child(3) {
  grid-column: auto;
}

.page-strategies .strategy-stats-grid--jan {
  margin: 22px 0;
}

.page-strategies .strategy-summary--danger {
  border-left: 4px solid #ff7f8a;
}

.page-strategies .strategy-summary--danger h3 {
  color: #ffd2d7;
}

.page-strategies .strategy-install {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(121, 181, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(14, 28, 50, 0.92), rgba(7, 16, 31, 0.82));
}

.page-strategies .strategy-install__body {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.page-strategies .strategy-install__label {
  display: inline-flex;
  margin-bottom: 10px;
  color: #9cc9ff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.page-strategies .strategy-install__body p {
  max-width: 620px;
  margin: 10px 0 0;
  color: #d3e0f0;
}

.page-strategies .strategy-install__conditions {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-strategies .strategy-install__conditions li {
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  background: rgba(5, 12, 24, 0.5);
}

.page-strategies .strategy-install__conditions strong {
  color: #f8fbff;
}

.page-strategies .strategy-install__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.page-strategies .strategy-install__button,
.page-strategies .strategy-install__archive {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.page-strategies .strategy-install__button {
  border: 1px solid rgba(121, 181, 255, 0.66);
  color: #ffffff;
  background: #2f6fdc;
  cursor: pointer;
}

.page-strategies .strategy-install__button:hover {
  background: #3d7dea;
}

.page-strategies .strategy-install__button:disabled {
  border-color: rgba(55, 214, 182, 0.42);
  color: #cffff4;
  background: rgba(31, 122, 101, 0.42);
  cursor: default;
}

.page-strategies .strategy-install__archive {
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #dbeafe;
  background: rgba(5, 12, 24, 0.62);
}

.page-strategies .strategy-install__archive:hover {
  border-color: rgba(121, 181, 255, 0.54);
  color: #ffffff;
}

.page-strategies .strategy-install__status {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  color: #dbeafe;
  background: rgba(5, 12, 24, 0.5);
}

.page-strategies .strategy-install.is-installed .strategy-install__status {
  border-color: rgba(55, 214, 182, 0.32);
  color: #bff7eb;
  background: rgba(20, 112, 91, 0.16);
}

@media (max-width: 1100px) {
  .page-strategies .strategies-toc {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-strategies .strategy-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-strategies .strategy-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-strategies .strategy-mini-grid {
    grid-template-columns: 1fr;
  }

  .page-strategies .strategy-install__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .page-strategies .strategies-guide {
    padding: 42px 0 64px;
  }

  .page-strategies .strategies-hero h1 {
    font-size: 40px;
  }

  .page-strategies .strategies-lead {
    font-size: 18px;
  }

  .page-strategies .strategies-section {
    padding: 42px 0;
  }

  .page-strategies .strategies-section h2 {
    font-size: 28px;
  }

  .page-strategies .strategy-product-pages h2 {
    font-size: 28px;
  }

  .page-strategies .strategies-split,
  .page-strategies .strategies-split--wide-image,
  .page-strategies .strategy-filter-shots,
  .page-strategies .strategy-detail-grid {
    grid-template-columns: 1fr;
  }

  .page-strategies .strategy-detail-card:nth-child(3) {
    grid-column: auto;
  }

  .page-strategies .strategy-shot img,
  .page-strategies .strategy-shot--compact img {
    max-height: none;
  }

  .page-strategies .strategy-shot--portrait img {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 700px) {
  .strategy-lightbox {
    gap: 10px;
    padding: 12px;
  }

  .strategy-lightbox__stage {
    align-items: start;
    justify-items: center;
    padding-bottom: 12px;
  }

  .strategy-lightbox__image {
    width: min(100%, 780px);
    max-width: calc(100vw - 24px);
    max-height: none;
  }

  .page-strategies .strategies-toc,
  .page-strategies .strategy-product-switch,
  .page-strategies .strategy-stats-grid {
    grid-template-columns: 1fr;
  }

  .page-strategies .strategy-product-switch__item {
    min-height: 0;
    padding: 16px;
  }

  .page-strategies .strategy-table,
  .page-strategies .strategy-table [role="row"] {
    display: block;
  }

  .page-strategies .strategy-table [role="row"]:first-child {
    display: none;
  }

  .page-strategies .strategy-table [role="row"]:nth-child(2) {
    border-top: 0;
  }

  .page-strategies .strategy-table span,
  .page-strategies .strategy-table strong {
    display: block;
  }

  .page-strategies .strategy-table span + span {
    padding-top: 0;
  }

  .page-strategies .strategy-flow-grid {
    grid-template-columns: 1fr;
  }

  .page-strategies .strategy-flow-grid article {
    min-height: 0;
  }

  .page-strategies .strategy-install {
    padding: 18px;
  }

  .page-strategies .strategy-install__button,
  .page-strategies .strategy-install__archive {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .page-strategies .strategies-guide {
    width: calc(100% - 20px);
    padding: 30px 0 52px;
  }

  .page-strategies .strategies-hero {
    padding: 24px 0 34px;
  }

  .page-strategies .strategies-hero h1 {
    font-size: 32px;
    line-height: 1.12;
  }

  .page-strategies .strategies-section h2 {
    font-size: 25px;
  }

  .page-strategies .strategy-product-pages h2 {
    font-size: 25px;
  }

  .page-strategies .strategies-section h3 {
    font-size: 19px;
  }

  .page-strategies .strategies-section p,
  .page-strategies .strategies-section li,
  .page-strategies .strategy-table span,
  .page-strategies .strategy-table strong {
    font-size: 15px;
    line-height: 1.62;
  }

  .page-strategies .strategy-summary,
  .page-strategies .strategy-note,
  .page-strategies .strategy-day-card,
  .page-strategies .strategy-detail-card,
  .page-strategies .strategy-stat-card {
    padding: 18px;
  }

  .page-strategies .strategy-stat-card {
    min-height: 112px;
  }

  .page-strategies .strategy-stat-card strong {
    font-size: 28px;
  }

  .page-strategies .strategy-steps article {
    padding: 16px 16px 16px 54px;
  }
}

/* Light theme coverage for LK pages */
html[data-theme="light"] body.lk-page {
  color: #102033;
  background:
    radial-gradient(circle at 16% 8%, rgba(33, 98, 214, 0.12), transparent 18rem),
    radial-gradient(circle at 84% 10%, rgba(20, 184, 166, 0.08), transparent 18rem),
    linear-gradient(180deg, #fbfdff 0%, #f4f7fb 44%, #eef3f9 100%);
}

html[data-theme="light"] body.lk-page .page-main {
  background: transparent;
  color: #102033;
}

html[data-theme="light"] body.lk-page .page-main :is(.lk-menu, .lk-content > .card, .profile-block, .service-group, .history-table-wrap, .support-thread, .support-empty, .support-card, .support-new) {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: #102033;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] body.lk-profile-page .page-main .profile-block {
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] body.lk-page .page-main :is(.id-badge, .profile-block__title, .security-row__text, .field label, .card-title, .section-title, .history-title h2, .support-card__header .card-title, .support-info-item strong, .support-ticket__subject, .support-chat__title, .service-group > h2, .service-group > h3, .card-s > h3, .price, th) {
  color: #102033;
}

html[data-theme="light"] body.lk-page .page-main :is(.profile-block__sub, .hint, .field-msg, .support-card__header .card-subtitle, .support-user, .support-info-item span, .support-ticket__meta, .support-chat__info, .history-note, .state, .next-charge, .card-desc, td, .legal, .lk-mini-legal) {
  color: #64748b;
}

html[data-theme="light"] body.lk-page .page-main .lk-menu__item a {
  color: #475569;
  border-color: transparent;
  background: transparent;
}

html[data-theme="light"] body.lk-page .page-main .lk-menu__icon {
  color: #2162d6;
}

html[data-theme="light"] body.lk-page .page-main .lk-menu__item a:hover,
html[data-theme="light"] body.lk-page .page-main .lk-menu__item a:focus {
  border-color: rgba(33, 98, 214, 0.24);
  background: #eef4ff;
  color: #0f2e62;
}

html[data-theme="light"] body.lk-page .page-main .lk-menu__item--active a {
  border-color: rgba(33, 98, 214, 0.32);
  background: linear-gradient(90deg, rgba(33, 98, 214, 0.14), rgba(33, 98, 214, 0.06));
  color: #0f2e62;
  box-shadow: 0 12px 28px rgba(33, 98, 214, 0.12);
}

html[data-theme="light"] body.lk-page .page-main .lk-menu__item--active .lk-menu__icon {
  color: #2162d6;
}

html[data-theme="light"] body.lk-page .page-main input:not([type="checkbox"]):not([type="file"]),
html[data-theme="light"] body.lk-page .page-main select,
html[data-theme="light"] body.lk-page .page-main textarea {
  border-color: rgba(148, 163, 184, 0.36);
  background: #f8fafc;
  color: #102033;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

html[data-theme="light"] body.lk-page .page-main input:not([type="checkbox"]):not([type="file"])::placeholder,
html[data-theme="light"] body.lk-page .page-main textarea::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] body.lk-page .page-main input:not([type="checkbox"]):not([type="file"]):focus,
html[data-theme="light"] body.lk-page .page-main select:focus,
html[data-theme="light"] body.lk-page .page-main textarea:focus {
  border-color: rgba(33, 98, 214, 0.56);
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 98, 214, 0.13);
}

html[data-theme="light"] body.lk-page .page-main input[readonly] {
  opacity: 1;
}

html[data-theme="light"] body.lk-page .page-main :is(.btn-ghost, .clr_st, .mail_btn, #export-data) {
  border-color: rgba(148, 163, 184, 0.34);
  background: #ffffff;
  color: #0f4fa8;
}

html[data-theme="light"] body.lk-page .page-main :is(.btn-ghost, .clr_st, .mail_btn, #export-data):hover,
html[data-theme="light"] body.lk-page .page-main :is(.btn-ghost, .clr_st, .mail_btn, #export-data):focus-visible {
  border-color: rgba(33, 98, 214, 0.36);
  background: #eef4ff;
  color: #0f2e62;
}

html[data-theme="light"] body.lk-page .page-main :is(.clr_rd, #delete-account) {
  border-color: rgba(185, 28, 28, 0.32);
  background: #fff5f5;
  color: #b91c1c;
}

html[data-theme="light"] body.lk-page .page-main :is(.clr_rd, #delete-account):hover,
html[data-theme="light"] body.lk-page .page-main :is(.clr_rd, #delete-account):focus-visible {
  border-color: rgba(185, 28, 28, 0.46);
  background: #fee2e2;
  color: #991b1b;
}

html[data-theme="light"] body.lk-page .page-main .badge-tag {
  border-color: rgba(4, 120, 87, 0.28);
  background: #ecfdf5;
  color: #047857;
}

html[data-theme="light"] body.lk-page .page-main .badge-device {
  border-color: rgba(148, 163, 184, 0.32);
  background: #f8fafc;
  color: #475569;
}

html[data-theme="light"] body.lk-page .page-main :is(.table-scroll, .table-scroll tbody) {
  border-color: rgba(148, 163, 184, 0.24);
  background: #f8fafc;
}

html[data-theme="light"] body.lk-page .page-main .table-scroll > table {
  background: #f8fafc;
  scrollbar-width: thin;
  scrollbar-color: #9fb4d2 #eef4ff;
}

html[data-theme="light"] body.lk-page .page-main :is(.table-scroll, .table-scroll > table, .table-scroll tbody) {
  scrollbar-width: thin;
  scrollbar-color: #9fb4d2 #eef4ff;
}

html[data-theme="light"] body.lk-page .page-main .table-scroll::-webkit-scrollbar,
html[data-theme="light"] body.lk-page .page-main .table-scroll > table::-webkit-scrollbar,
html[data-theme="light"] body.lk-page .page-main .table-scroll tbody::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html[data-theme="light"] body.lk-page .page-main .table-scroll::-webkit-scrollbar-track,
html[data-theme="light"] body.lk-page .page-main .table-scroll > table::-webkit-scrollbar-track,
html[data-theme="light"] body.lk-page .page-main .table-scroll tbody::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #eef4ff;
}

html[data-theme="light"] body.lk-page .page-main .table-scroll::-webkit-scrollbar-thumb,
html[data-theme="light"] body.lk-page .page-main .table-scroll > table::-webkit-scrollbar-thumb,
html[data-theme="light"] body.lk-page .page-main .table-scroll tbody::-webkit-scrollbar-thumb {
  border: 2px solid #eef4ff;
  border-radius: 999px;
  background: #9fb4d2;
  background-clip: padding-box;
}

html[data-theme="light"] body.lk-page .page-main .table-scroll::-webkit-scrollbar-thumb:hover,
html[data-theme="light"] body.lk-page .page-main .table-scroll > table::-webkit-scrollbar-thumb:hover,
html[data-theme="light"] body.lk-page .page-main .table-scroll tbody::-webkit-scrollbar-thumb:hover {
  background: #7f9cc3;
}

html[data-theme="light"] body.lk-page .page-main .table-scroll::-webkit-scrollbar-button,
html[data-theme="light"] body.lk-page .page-main .table-scroll > table::-webkit-scrollbar-button,
html[data-theme="light"] body.lk-page .page-main .table-scroll tbody::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

html[data-theme="light"] body.lk-page .page-main .table-scroll::-webkit-scrollbar-corner,
html[data-theme="light"] body.lk-page .page-main .table-scroll > table::-webkit-scrollbar-corner,
html[data-theme="light"] body.lk-page .page-main .table-scroll tbody::-webkit-scrollbar-corner {
  background: #eef4ff;
}

html[data-theme="light"] body.lk-page .page-main .table-scroll th {
  color: #475569;
  background: #eef4ff;
}

html[data-theme="light"] body.lk-page .page-main .table-scroll td {
  color: #334155;
}

html[data-theme="light"] body.lk-page .page-main #login-table tr:not(.logins-head),
html[data-theme="light"] body.lk-page .page-main .history-table tr,
html[data-theme="light"] body.lk-page .page-main .support-ticket,
html[data-theme="light"] body.lk-page .page-main .support-info-item {
  border-color: rgba(148, 163, 184, 0.22);
  background: #ffffff;
}

html[data-theme="light"] body.lk-page .page-main .switch .slider {
  background: #cbd5e1;
}

html[data-theme="light"] body.lk-page .page-main .switch input:checked + .slider {
  background: #2162d6;
}

html[data-theme="light"] body.lk-page .page-main .switch .slider::before {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

html[data-theme="light"] body.lk-page .page-main .legal a,
html[data-theme="light"] body.lk-page .page-main .lk-mini-legal a {
  color: #2162d6;
}

html[data-theme="light"] body.lk-profile-page .page-main #profile-socials .oauth-btn {
  background: transparent !important;
  opacity: 0.86;
}

html[data-theme="light"] body.lk-profile-page .page-main #profile-socials .oauth-btn.is-disabled {
  opacity: 0.5;
}

html[data-theme="light"] body.lk-page :is(.overlay .modal, .modal__dialog) {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.96) !important;
  color: #102033 !important;
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.18);
}

html[data-theme="light"] body.lk-page :is(.overlay .modal p, .modal__text) {
  color: #475569 !important;
}

html[data-theme="light"] body.lk-page .modal__backdrop {
  background: rgba(15, 23, 42, 0.18);
}

html[data-theme="light"] body.lk-page :is(.overlay .modal h3, .overlay .modal h4, [data-api-modal] .modal h3, [data-api-modal] .modal h4, .modal__title) {
  color: #102033 !important;
}

html[data-theme="light"] body.lk-page :is(.overlay .modal .modal__content, [data-api-modal] .modal .modal__content, .modal-auto-renew, .next-charge-modal, .modal-guard-text, .modal-body-copy, .modal-info-block small) {
  color: #475569 !important;
}

html[data-theme="light"] body.lk-page :is(.overlay .modal-actions .btn-ghost, .overlay .modal-actions a.btn-ghost, [data-api-modal] .modal-actions .btn-ghost, [data-api-modal] .modal-actions a.btn-ghost, .modal__actions .btn-ghost, .modal__actions a.btn-ghost) {
  border-color: rgba(148, 163, 184, 0.34) !important;
  background: #ffffff !important;
  color: #0f4fa8 !important;
}

html[data-theme="light"] body.lk-page :is(.overlay .modal-actions .btn-ghost:hover, .overlay .modal-actions a.btn-ghost:hover, [data-api-modal] .modal-actions .btn-ghost:hover, [data-api-modal] .modal-actions a.btn-ghost:hover, .modal__actions .btn-ghost:hover, .modal__actions a.btn-ghost:hover) {
  border-color: rgba(33, 98, 214, 0.36) !important;
  background: #eef4ff !important;
  color: #0f2e62 !important;
}

html[data-theme="light"] body.lk-page :is(.overlay .modal .close-x, [data-api-modal] .modal .close-x) {
  color: #64748b !important;
}

html[data-theme="light"] body.lk-page :is(.overlay .modal .close-x:hover, .overlay .modal .close-x:focus-visible, [data-api-modal] .modal .close-x:hover, [data-api-modal] .modal .close-x:focus-visible) {
  color: #102033 !important;
}

html[data-theme="light"] body.lk-page .top-compliance-note {
  border-color: rgba(148, 163, 184, 0.26);
  background: rgba(255, 255, 255, 0.88);
  color: #475569;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] body.lk-services-page .page-main .service-payment-link a,
html[data-theme="light"] body.lk-services-page .page-main .oferta-link,
html[data-theme="light"] body.lk-history-page .page-main .history-table td a,
html[data-theme="light"] body.lk-history-page .page-main .history-export {
  color: #2162d6;
}

html[data-theme="light"] body.lk-services-page .page-main :is(.card-s, .cards-row, .service-group) {
  color: #102033;
}

html[data-theme="light"] body.lk-services-page .page-main .card-s {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

html[data-theme="light"] body.lk-services-page .page-main .card-s::after {
  background: rgba(33, 98, 214, 0.16);
}

html[data-theme="light"] body.lk-services-page .page-main .lk-page-heading + div {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

html[data-theme="light"] body.lk-services-page .page-main .lk-page-heading + div .service-group {
  width: auto;
  height: 300px;
  min-height: 300px;
  padding: 17px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] body.lk-services-page .page-main .service-group > :is(h2, h3) {
  width: auto;
  min-height: 18px;
  margin: 0;
  padding-inline: 4px;
  color: #2162d6;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

html[data-theme="light"] body.lk-services-page .page-main .service-group .cards-row {
  display: block;
  height: auto;
  margin-top: 22px;
}

html[data-theme="light"] body.lk-services-page .page-main .service-group .card-s {
  position: relative;
  display: block;
  width: 100%;
  height: 224px;
  min-height: 224px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] body.lk-services-page .page-main .service-group .card-s > h3,
html[data-theme="light"] body.lk-services-page .page-main .service-group .card-desc,
html[data-theme="light"] body.lk-services-page .page-main .service-group .price,
html[data-theme="light"] body.lk-services-page .page-main .service-group .btn-primary {
  margin: 0;
  overflow-wrap: anywhere;
}

html[data-theme="light"] body.lk-services-page .page-main .service-group .card-s > h3 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  height: 24px;
  padding: 0;
  color: #102033;
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
}

html[data-theme="light"] body.lk-services-page .page-main .service-group .card-desc {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  width: auto;
  min-height: 64px;
  color: #536781;
  font-size: 12px;
  line-height: 17.4px;
}

html[data-theme="light"] body.lk-services-page .page-main .service-group .card-s::after {
  position: absolute;
  top: 118px;
  left: 0;
  right: 0;
  width: auto;
  height: 1px;
  margin: 0;
  background: rgba(33, 98, 214, 0.16);
  content: "";
}

html[data-theme="light"] body.lk-services-page .page-main .service-group .price {
  position: absolute;
  top: 148px;
  left: 0;
  width: 96px;
  padding: 0;
  color: #102033;
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
}

html[data-theme="light"] body.lk-services-page .page-main .service-group .price::before {
  position: absolute;
  top: -16px;
  left: 0;
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  color: #86a1c4;
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
  content: "Стоимость";
}

html[data-theme="light"] body.lk-services-page .page-main .service-group .switch {
  position: absolute;
  top: 150px;
  left: auto;
  right: 8px;
  bottom: auto;
  width: 52px;
  height: 28px;
  margin: 0;
}

html[data-theme="light"] body.lk-services-page .page-main .service-group .switch::before {
  position: absolute;
  top: -18px;
  left: 50%;
  right: auto;
  width: auto;
  color: #86a1c4;
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
  white-space: nowrap;
  transform: translateX(-50%);
  content: "Автопродление";
}

html[data-theme="light"] body.lk-services-page .page-main .service-group .btn-primary {
  position: absolute;
  top: 184px;
  left: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 36px;
  margin: 0;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 16px;
}

html[data-theme="light"] body.lk-services-page .page-main .service-group .state {
  display: none;
}

@media (max-width: 900px) {
  html[data-theme="light"] body.lk-services-page .page-main .lk-page-heading + div {
    grid-template-columns: 1fr;
  }

  html[data-theme="light"] body.lk-services-page .page-main .service-group .card-s {
    min-height: 220px;
  }
}

html[data-theme="light"] body.lk-services-page .page-main :is(.card-s h3, .price) {
  color: #102033;
}

html[data-theme="light"] body.lk-services-page .page-main :is(.card-desc, .expires, .next-charge, .hint, .state.inactive) {
  color: #64748b;
}

html[data-theme="light"] body.lk-services-page .page-main .state.active {
  color: #047857;
}

html[data-theme="light"] body.lk-services-page .page-main :is(.switch .slider, .modal-auto-slider) {
  background: #cbd5e1;
}

html[data-theme="light"] body.lk-services-page .page-main :is(.switch .slider::before, .modal-auto-slider::before) {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

html[data-theme="light"] body.lk-services-page .page-main :is(.switch input:checked + .slider, .modal-auto-switch input:checked + .modal-auto-slider) {
  background: #2162d6;
}

html[data-theme="light"] body.lk-services-page .page-main .overlay {
  background: rgba(15, 23, 42, 0.32);
}

html[data-theme="light"] body.lk-services-page .page-main .modal h4,
html[data-theme="light"] body.lk-services-page .page-main .modal-info-block strong {
  color: #102033 !important;
}

html[data-theme="light"] body.lk-services-page .page-main :is(.modal p, .modal-auto-renew, .next-charge-modal, .modal-guard-text, .modal-body-copy, .modal-info-block small) {
  color: #475569 !important;
}

html[data-theme="light"] body.lk-services-page .page-main .modal-info-block {
  border-color: rgba(33, 98, 214, 0.24);
  background: #eff6ff;
}

html[data-theme="light"] body.lk-services-page .page-main .close-x {
  color: #64748b;
}

html[data-theme="light"] body.lk-services-page .page-main .close-x:hover,
html[data-theme="light"] body.lk-services-page .page-main .close-x:focus-visible {
  color: #102033;
}

html[data-theme="light"] body.lk-history-page .page-main :is(.history-filter-btn, .pager-btn) {
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: #ffffff;
  color: #0f4fa8;
}

html[data-theme="light"] body.lk-history-page .page-main :is(.history-filter-btn:hover, .history-filter-btn:focus-visible, .pager-btn:hover, .pager-btn:focus-visible) {
  border-color: rgba(33, 98, 214, 0.36);
  background: #eef4ff;
  color: #0f2e62;
}

html[data-theme="light"] body.lk-history-page .page-main :is(.history-filter-btn.active, .pager-btn.active) {
  border-color: rgba(33, 98, 214, 0.42);
  background: #2162d6;
  color: #ffffff;
}

html[data-theme="light"] body.lk-history-page .page-main .history-table-wrap {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #ffffff;
}

html[data-theme="light"] body.lk-history-page .page-main .history-table th {
  border-bottom-color: rgba(148, 163, 184, 0.24);
  background: #f8fafc;
  color: #102033;
}

html[data-theme="light"] body.lk-history-page .page-main .history-table td {
  border-bottom-color: rgba(148, 163, 184, 0.24);
  background: #ffffff;
  color: #475569;
}

html[data-theme="light"] body.lk-history-page .page-main .history-table td.sum,
html[data-theme="light"] body.lk-history-page .page-main .history-table td.status {
  color: #334155;
}

html[data-theme="light"] body.lk-history-page .page-main .table-empty {
  color: #64748b;
}

html[data-theme="light"] body.lk-support-page .page-main :is(.support-hero-card, .support-form-card, .support-info-card, .support-thread, .support-chat__messages, .support-thread__header, .support-message__bubble, .support-thread__file-control, .support-file-control) {
  border-color: rgba(148, 163, 184, 0.28);
  background: #ffffff;
  color: #102033;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

html[data-theme="light"] body.lk-support-page .page-main .support-hero-card {
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}

html[data-theme="light"] body.lk-support-page .page-main :is(.support-eyebrow, .support-file-control span, .support-thread__file-control span) {
  color: #0f4fa8;
}

html[data-theme="light"] body.lk-support-page .page-main :is(.support-hero-card .card-title, .support-form-card .section-title, .support-info-card h2, .support-info-item strong, .support-status-pill strong, .support-ticket__subject) {
  color: #102033;
}

html[data-theme="light"] body.lk-support-page .page-main :is(.support-hero-card .card-subtitle, .support-form-lead, .support-form-card label, .support-file-group > label:first-child, .support-info-card > p, .support-info-item span, .support-status-pill span, .support-empty, .support-message__header, .support-file-control em, .support-thread__file-control em) {
  color: #64748b;
}

html[data-theme="light"] body.lk-support-page .page-main .support-status-pill {
  border-color: rgba(33, 98, 214, 0.24);
  background: #eff6ff;
}

html[data-theme="light"] body.lk-support-page .page-main :is(#supportCategory, #supportMessageText, .support-thread__input) {
  border-color: rgba(148, 163, 184, 0.36);
  background: #f8fafc;
  color: #102033;
  box-shadow: none;
}

html[data-theme="light"] body.lk-support-page .page-main #supportCategory option {
  background: #ffffff;
  color: #102033;
}

html[data-theme="light"] body.lk-support-page .page-main #supportCategory option:checked {
  background: #eef4ff;
  color: #0f2e62;
  box-shadow: 0 0 0 100vmax #eef4ff inset;
}

html[data-theme="light"] body.lk-support-page .page-main #supportMessageText::placeholder {
  color: #64748b;
}

html[data-theme="light"] body.lk-support-page .page-main :is(#supportNewTicketSubmit, .support-thread__send) {
  border-color: rgba(33, 98, 214, 0.32);
  background: #2162d6;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(33, 98, 214, 0.16);
}

html[data-theme="light"] body.lk-support-page .page-main .support-message--user .support-message__bubble {
  border-color: rgba(33, 98, 214, 0.32);
  background: #eef4ff;
  color: #102033;
  box-shadow: 0 12px 24px rgba(33, 98, 214, 0.1);
}

html[data-theme="light"] body.lk-support-page .page-main .support-message__text {
  color: #334155;
}

html[data-theme="light"] body.lk-support-page .page-main :is(.support-more-btn, .support-message__edit-btn, .support-message__edit-cancel) {
  border-color: rgba(148, 163, 184, 0.32);
  background: #ffffff;
  color: #0f4fa8;
}

/* Light theme coverage for standalone info pages */
html[data-theme="light"] body.indicators-hub-page {
  --hub-bg: #f4f7fb;
  --hub-panel: rgba(255, 255, 255, 0.9);
  --hub-border: rgba(148, 163, 184, 0.28);
  --hub-text: #102033;
  --hub-text-soft: #475569;
  --hub-text-muted: #64748b;
  --hub-blue: #2162d6;
  --hub-blue-soft: #0f4fa8;
  --hub-green: #047857;
  --hub-yellow: #b45309;
  --hub-red: #b91c1c;
  --hub-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  color: #102033;
  background:
    radial-gradient(circle at 16% 12%, rgba(33, 98, 214, 0.12), transparent 24%),
    radial-gradient(circle at 84% 16%, rgba(20, 184, 166, 0.08), transparent 22%),
    linear-gradient(180deg, #fbfdff 0%, #f4f7fb 44%, #eef3f9 100%);
}

html[data-theme="light"] body.indicators-hub-page::before {
  background: rgba(33, 98, 214, 0.1);
}

html[data-theme="light"] body.indicators-hub-page::after {
  background: rgba(20, 184, 166, 0.08);
}

html[data-theme="light"] body.indicators-hub-page :is(.hub-sidebar__card, .indicator-card) {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] body.indicators-hub-page :is(.hub-sidebar__title, .indicator-card__title, .sidebar-indicator__name) {
  color: #102033;
}

html[data-theme="light"] body.indicators-hub-page :is(.hub-sidebar__lead, .indicator-card__text, .sidebar-indicator__desc) {
  color: #475569;
}

html[data-theme="light"] body.indicators-hub-page .hub-eyebrow {
  color: #0f4fa8;
}

html[data-theme="light"] body.indicators-hub-page .sidebar-indicator {
  border-color: rgba(148, 163, 184, 0.22);
  background: #f8fafc;
}

html[data-theme="light"] body.indicators-hub-page .sidebar-indicator:hover,
html[data-theme="light"] body.indicators-hub-page .sidebar-indicator:focus-visible {
  background: #eef4ff;
}

html[data-theme="light"] body.indicators-hub-page .sidebar-indicator__action {
  border-color: rgba(148, 163, 184, 0.32);
  background: #ffffff;
  color: #334155;
}

html[data-theme="light"] body.indicators-hub-page .indicator-card__link {
  background: #2162d6;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(33, 98, 214, 0.16);
}

html[data-theme="light"] body.indicators-hub-page .indicator-card__link:hover,
html[data-theme="light"] body.indicators-hub-page .indicator-card__link:focus-visible {
  background: #174fb5;
}

html[data-theme="light"] body.indicators-hub-page :is(.indicator-card__link, .sidebar-indicator):focus-visible {
  outline-color: #2162d6;
}

html[data-theme="light"] body.page-strategies,
html[data-theme="light"] body.page-training {
  color: #102033;
}

html[data-theme="light"] body.page-strategies :is(.strategies-hero h1, .strategies-section h2, .strategies-section h3, .strategy-product-switch__item span, .strategy-summary h3, .strategy-note h3, .strategy-day-card h3, .strategy-detail-card h3, .strategy-list strong, .strategy-table strong, .strategy-day-card dd, .strategy-install__conditions strong),
html[data-theme="light"] body.page-training :is(.training-hero h1, .training-section h2, .training-section h3, .training-note h3, .training-subhead h3, .training-window strong, .training-table strong, .training-faq summary) {
  color: #102033;
}

html[data-theme="light"] body.page-strategies .strategy-product-pages h2 {
  color: #102033;
}

html[data-theme="light"] body.page-strategies :is(.strategies-lead, .strategies-section p, .strategies-section li, .strategy-product-switch__item small, .strategy-table span, .strategy-shot figcaption, .strategy-day-card dt, .strategy-summary p, .strategy-note p, .strategy-day-card p, .strategy-flow-grid article p, .strategy-mini-grid p, .strategy-stat-card p, .strategy-install__body p, .strategy-install__status),
html[data-theme="light"] body.page-training :is(.training-lead, .training-section p, .training-section li, .training-table span, .training-subhead p, .training-window p, .training-window figcaption, .training-note p, .training-note ol, .training-faq details p) {
  color: #475569;
}

html[data-theme="light"] body.page-strategies .strategy-product-pages__header > p:not(.strategies-kicker) {
  color: #475569;
}

html[data-theme="light"] body.page-strategies :is(.strategies-kicker, .strategy-install__label, .strategy-table span:first-child),
html[data-theme="light"] body.page-training :is(.training-eyebrow, .training-kicker, .training-window span, .training-table span:first-child) {
  color: #0f4fa8;
}

html[data-theme="light"] body.page-strategies .strategies-guide,
html[data-theme="light"] body.page-training .training-guide {
  color: #102033;
}

html[data-theme="light"] body.page-strategies :is(.strategy-summary, .strategy-day-card, .strategy-detail-card, .strategy-stat-card, .strategy-steps article, .strategy-flow-grid article, .strategy-table),
html[data-theme="light"] body.page-training :is(.training-step, .training-card, .training-term, .training-scenario, .training-faq details, .training-table, .training-window__screen) {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.9);
  color: #102033;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

html[data-theme="light"] body.page-strategies .strategies-disclaimer,
html[data-theme="light"] body.page-strategies .strategy-note,
html[data-theme="light"] body.page-training .training-disclaimer,
html[data-theme="light"] body.page-training .training-note--warning {
  border-color: rgba(217, 119, 6, 0.3);
  border-left-color: #d97706;
  background: #fffbeb;
  color: #854d0e;
  box-shadow: none;
}

html[data-theme="light"] body.page-strategies .strategies-disclaimer strong,
html[data-theme="light"] body.page-strategies .strategy-note strong,
html[data-theme="light"] body.page-training .training-disclaimer strong,
html[data-theme="light"] body.page-training .training-note--warning strong {
  color: #78350f;
}

html[data-theme="light"] body.page-strategies .strategies-disclaimer--legal {
  border-color: rgba(33, 98, 214, 0.28);
  border-left-color: #2162d6;
  background: #eff6ff;
  color: #334155;
}

html[data-theme="light"] body.page-strategies .strategies-disclaimer--legal strong {
  color: #0f2e62;
}

html[data-theme="light"] body.page-strategies .strategy-note--warning,
html[data-theme="light"] body.page-strategies .strategy-summary--danger {
  border-color: rgba(185, 28, 28, 0.24);
  border-left-color: #b91c1c;
  background: #fff5f5;
}

html[data-theme="light"] body.page-strategies .strategy-summary--danger h3 {
  color: #991b1b;
}

html[data-theme="light"] body.page-training .training-note:not(.training-note--warning) {
  border-color: rgba(4, 120, 87, 0.24);
  border-left-color: #047857;
  background: #ecfdf5;
  color: #064e3b;
  box-shadow: none;
}

html[data-theme="light"] body.page-training .training-term h3 {
  color: #047857;
}

html[data-theme="light"] body.page-strategies :is(.strategies-toc a, .strategy-install__archive),
html[data-theme="light"] body.page-training :is(.training-link--ghost, .training-toc a) {
  border-color: rgba(148, 163, 184, 0.34);
  background: #ffffff;
  color: #0f4fa8;
}

html[data-theme="light"] body.page-strategies :is(.strategies-toc a:hover, .strategies-toc a:focus-visible, .strategy-install__archive:hover, .strategy-install__archive:focus-visible),
html[data-theme="light"] body.page-training :is(.training-link--ghost:hover, .training-link--ghost:focus-visible, .training-toc a:hover, .training-toc a:focus-visible) {
  border-color: rgba(33, 98, 214, 0.36);
  background: #eef4ff;
  color: #0f2e62;
}

html[data-theme="light"] body.page-strategies .strategy-product-switch__item {
  border-color: rgba(33, 98, 214, 0.24);
  background:
    linear-gradient(135deg, rgba(33, 98, 214, 0.1), rgba(14, 165, 233, 0.06)),
    #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

html[data-theme="light"] body.page-strategies .strategy-product-switch__item:hover,
html[data-theme="light"] body.page-strategies .strategy-product-switch__item:focus-visible {
  border-color: rgba(33, 98, 214, 0.42);
  background:
    linear-gradient(135deg, rgba(33, 98, 214, 0.16), rgba(14, 165, 233, 0.1)),
    #f8fbff;
}

html[data-theme="light"] body.page-strategies .strategy-product-switch__item.is-active,
html[data-theme="light"] body.page-strategies .strategy-product-switch__item[aria-selected="true"] {
  border-color: rgba(33, 98, 214, 0.54);
  background:
    linear-gradient(135deg, rgba(33, 98, 214, 0.2), rgba(14, 165, 233, 0.12)),
    #f8fbff;
}

html[data-theme="light"] body.page-strategies .strategy-table [role="row"] + [role="row"],
html[data-theme="light"] body.page-training .training-table [role="row"] + [role="row"] {
  border-top-color: rgba(148, 163, 184, 0.22);
}

html[data-theme="light"] body.page-strategies :is(.strategy-table strong, .strategy-install__conditions li, .strategy-install__status),
html[data-theme="light"] body.page-training .training-table strong {
  background: #f8fafc;
}

html[data-theme="light"] body.page-strategies :is(.strategy-shot img, .strategy-install),
html[data-theme="light"] body.page-training .training-window__image {
  border-color: rgba(148, 163, 184, 0.28);
  background: #f8fafc;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] body.page-strategies .strategy-install {
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}

html[data-theme="light"] body.page-strategies .strategy-install.is-installed .strategy-install__status {
  border-color: rgba(4, 120, 87, 0.24);
  color: #047857;
  background: #ecfdf5;
}

html[data-theme="light"] body.page-strategies .strategy-install__button:disabled {
  border-color: rgba(4, 120, 87, 0.28);
  color: #047857;
  background: #dcfce7;
}

html[data-theme="light"] body.page-strategies .strategy-stat-card span,
html[data-theme="light"] body.page-strategies .strategy-day-card dt {
  color: #64748b;
}

html[data-theme="light"] body.page-strategies :is(.strategy-stat-card--good strong, .strategy-day-card .is-good) {
  color: #047857;
}

html[data-theme="light"] body.page-strategies .strategy-stat-card--bad strong {
  color: #b91c1c;
}

html[data-theme="light"] body.page-strategies .strategy-day-card dl div {
  border-bottom-color: rgba(148, 163, 184, 0.22);
}

.top-compliance-note {
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.76);
  color: #c7d8ff;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 10px 28px rgba(2, 8, 23, 0.22);
}

.top-compliance-note__age {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(127, 29, 29, 0.28);
  color: #fecaca;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 640px) {
  .top-compliance-note {
    width: min(100% - 20px, 1180px);
    margin-top: 10px;
    padding: 9px 11px;
    align-items: flex-start;
    font-size: 12px;
  }

  .top-compliance-note__age {
    min-width: 30px;
    height: 21px;
    font-size: 11px;
  }
}

html[data-theme="light"] body #modalAuthRequired.overlay[data-band-modal] {
  background: rgba(15, 23, 42, 0.16) !important;
}

html[data-theme="light"] body #modalAuthRequired .modal {
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #102033 !important;
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.18) !important;
}

html[data-theme="light"] body #modalAuthRequired .modal h3,
html[data-theme="light"] body #modalAuthRequired .modal h4 {
  color: #102033 !important;
}

html[data-theme="light"] body #modalAuthRequired .modal p,
html[data-theme="light"] body #modalAuthRequired .legal {
  color: #475569 !important;
}

html[data-theme="light"] body #modalAuthRequired .modal-actions .btn-ghost {
  border-color: rgba(100, 116, 139, 0.28) !important;
  background: #ffffff !important;
  color: #143257 !important;
}

/* SEO layout unification: match long-form product content to the wide tools. */
@media (min-width: 1200px) {
  body.indicator-tool-page main .layout {
    width: min(1780px, calc(100% - 32px)) !important;
    max-width: none !important;
    margin-inline: auto;
    box-sizing: border-box;
  }

  body.indicator-tool-page .tool-seo-hero {
    width: min(1780px, calc(100% - 32px));
  }

  body.indicator-tool-page .tool-seo-guide {
    width: min(1780px, calc(100% - 32px));
  }

  body.indicator-tool-page:not(.indicator-series) main .layout > #filters-container {
    width: var(--filters-card-w, 434px);
    max-width: var(--filters-card-w, 434px);
    flex: 0 0 var(--filters-card-w, 434px);
  }

  body.indicator-line-strength main .layout > .statistics-cards-container,
  body.indicator-traffic main .layout > #market-container.statistics-cards-container,
  body.indicator-game-count main .layout > #chart-bars-container.statistics-cards-container {
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
    flex: 1 1 0;
    align-self: stretch;
  }

  body.indicator-series main .layout > .series-indicator-page {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }
}

/* Strategies intro: balance the explanation and the two important notes. */
@media (min-width: 1080px) {
  .page-strategies .strategies-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.75fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    column-gap: 48px;
    row-gap: 0;
    align-items: start;
    padding-bottom: 54px;
  }

  .page-strategies .strategies-hero > .strategies-kicker {
    grid-column: 1;
    grid-row: 1;
  }

  .page-strategies .strategies-hero > h1 {
    grid-column: 1;
    grid-row: 2;
  }

  .page-strategies .strategies-hero > .strategies-lead {
    grid-column: 1;
    grid-row: 3;
    max-width: none;
  }

  .page-strategies .strategies-hero > .strategies-disclaimer {
    grid-column: 2;
    max-width: none;
    margin-top: 0;
  }

  .page-strategies .strategies-hero > .strategies-disclaimer--legal {
    grid-row: 1 / span 2;
  }

  .page-strategies .strategies-hero > .strategies-disclaimer:not(.strategies-disclaimer--legal) {
    grid-row: 3;
    margin-top: 18px;
  }
}

/* About page: keep the article readable while giving its sections a product-page rhythm. */
body.page-about main.wrapper {
  display: block;
  width: min(1240px, calc(100% - 40px));
  max-width: none;
  min-height: 0;
  margin-inline: auto;
  padding: 56px 0 84px;
}

body.page-about main.wrapper > .pr_box {
  width: 100%;
  margin: 0;
  padding: clamp(30px, 4.5vw, 58px);
  border: 1px solid rgba(112, 180, 255, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(15, 34, 64, 0.98), rgba(7, 20, 39, 0.98));
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24);
}

body.page-about .npr_text {
  max-width: 1080px;
  margin: 0 auto;
  color: #bdcce1;
  font-family: var(--shell-font);
  font-size: 16px;
  line-height: 1.75;
}

body.page-about .npr_text h1,
body.page-about .npr_text h2 {
  color: #f8fbff;
  letter-spacing: -0.018em;
}

body.page-about .npr_text h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.08;
}

body.page-about .npr_text h1 + p {
  max-width: 960px;
  margin: 20px 0 0;
  color: #d7e5f7;
  font-size: clamp(18px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.7;
}

body.page-about .npr_text h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.2;
}

body.page-about .npr_text p {
  margin: 0;
}

body.page-about .npr_text hr {
  height: 1px;
  margin: 34px 0;
  border: 0;
  background: linear-gradient(90deg, rgba(121, 186, 255, 0.42), rgba(121, 186, 255, 0.06));
}

body.page-about .npr_text ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

body.page-about .npr_text li {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid rgba(112, 180, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

body.page-about .npr_text strong {
  color: #f3f8ff;
}

body.page-about .npr_text a {
  color: #78baff;
  text-underline-offset: 3px;
}

body.page-about .npr_text a:hover,
body.page-about .npr_text a:focus-visible {
  color: #a8d3ff;
}

@media (max-width: 900px) {
  body.page-about main.wrapper {
    width: calc(100% - 24px);
    padding: 28px 0 56px;
  }

  body.page-about main.wrapper > .pr_box {
    padding: 28px 22px;
    border-radius: 20px;
  }

  body.page-about .npr_text ul {
    grid-template-columns: 1fr;
  }
}

html[data-theme="light"] body.page-about main.wrapper > .pr_box {
  border-color: rgba(37, 99, 235, 0.18);
  background: linear-gradient(145deg, #ffffff, #f3f7fd);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] body.page-about .npr_text {
  color: #52647c;
}

html[data-theme="light"] body.page-about .npr_text h1,
html[data-theme="light"] body.page-about .npr_text h2,
html[data-theme="light"] body.page-about .npr_text strong {
  color: #102033;
}

html[data-theme="light"] body.page-about .npr_text h1 + p {
  color: #334b68;
}

html[data-theme="light"] body.page-about .npr_text li {
  border-color: rgba(37, 99, 235, 0.14);
  background: rgba(37, 99, 235, 0.035);
}

html[data-theme="light"] body.page-about .npr_text hr {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.34), rgba(37, 99, 235, 0.04));
}

/* Strategies: align the long-form product page with the Indicators design system. */
body.page-strategies {
  --strategy-panel: rgba(12, 21, 38, 0.82);
  --strategy-panel-soft: rgba(16, 31, 55, 0.78);
  --strategy-panel-strong: rgba(8, 18, 34, 0.92);
  --strategy-border: rgba(120, 146, 195, 0.18);
  --strategy-border-strong: rgba(112, 180, 255, 0.34);
  --strategy-text: #f6faff;
  --strategy-text-soft: #c2d0e7;
  --strategy-text-muted: #8395b8;
  --strategy-blue: #2e6eed;
  --strategy-blue-soft: #70b4ff;
  --strategy-radius-xl: 28px;
  --strategy-radius-lg: 18px;
  --strategy-radius-sm: 12px;
}

.page-strategies .strategies-guide {
  width: min(1440px, calc(100% - 40px));
  padding: 20px 0 72px;
}

.page-strategies .strategies-hero,
.page-strategies .strategies-section,
.page-strategies .strategy-product-pages__header {
  border: 1px solid var(--strategy-border);
  border-radius: var(--strategy-radius-xl);
  background: var(--strategy-panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.page-strategies .strategies-hero {
  margin: 0;
  padding: 36px 40px;
}

.page-strategies .strategies-kicker {
  margin-bottom: 12px;
  color: var(--strategy-blue-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.page-strategies .strategies-hero h1 {
  max-width: 760px;
  color: var(--strategy-text);
  font-size: clamp(38px, 3.7vw, 46px);
  line-height: 1.06;
}

.page-strategies .strategies-lead {
  max-width: 800px;
  margin-top: 18px;
  color: var(--strategy-text-soft);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.page-strategies .strategies-disclaimer {
  margin-top: 0;
  padding: 17px 18px;
  border: 1px solid var(--strategy-border-strong);
  border-left: 3px solid var(--strategy-blue-soft);
  border-radius: var(--strategy-radius-lg);
  color: var(--strategy-text-soft);
  background: var(--strategy-panel-strong);
  font-size: 14px;
  line-height: 1.55;
}

.page-strategies .strategies-disclaimer strong {
  color: var(--strategy-text);
}

.page-strategies .strategies-section {
  margin-top: 18px;
  padding: 30px 34px;
  border-bottom: 1px solid var(--strategy-border);
}

.page-strategies .strategy-product-pages {
  padding: 0;
  border-bottom: 0;
}

.page-strategies .strategy-product-pages__header {
  max-width: none;
  margin: 18px 0 0;
  padding: 30px 34px;
}

.page-strategies .strategy-product-pages h2,
.page-strategies .strategies-section h2 {
  color: var(--strategy-text);
  font-size: clamp(28px, 2.5vw, 32px);
  line-height: 1.15;
}

.page-strategies .strategies-section h3 {
  color: var(--strategy-text);
  font-size: 19px;
  line-height: 1.25;
}

.page-strategies .strategy-product-pages__header > p:not(.strategies-kicker),
.page-strategies .strategies-section p,
.page-strategies .strategies-section li,
.page-strategies .strategy-table span,
.page-strategies .strategy-table strong,
.page-strategies .strategy-shot figcaption,
.page-strategies .strategy-day-card dt,
.page-strategies .strategy-day-card dd {
  color: var(--strategy-text-soft);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.62;
}

.page-strategies .strategies-section__header {
  max-width: 960px;
  margin-bottom: 20px;
}

.page-strategies .strategies-section__header > p:not(.strategies-kicker),
.page-strategies .strategy-product-pages__header > p:not(.strategies-kicker) {
  margin-top: 10px;
}

.page-strategies .strategy-product-switch {
  gap: 14px;
  padding: 0;
  margin-top: 14px;
  border: 0;
}

.page-strategies .strategy-product-switch__item {
  min-height: 104px;
  padding: 18px 20px;
  border-color: var(--strategy-border);
  border-radius: var(--strategy-radius-lg);
  color: var(--strategy-text-soft);
  background: var(--strategy-panel-strong);
  box-shadow: none;
}

.page-strategies .strategy-product-switch__item span {
  color: var(--strategy-text);
  font-size: 18px;
}

.page-strategies .strategy-product-switch__item small {
  color: var(--strategy-text-soft);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.page-strategies .strategy-product-switch__item:hover,
.page-strategies .strategy-product-switch__item:focus-visible {
  border-color: rgba(112, 180, 255, 0.56);
  color: var(--strategy-text);
  background: rgba(15, 37, 70, 0.94);
}

.page-strategies .strategy-product-switch__item.is-active,
.page-strategies .strategy-product-switch__item[aria-selected="true"] {
  border-color: rgba(112, 180, 255, 0.72);
  background: rgba(20, 49, 91, 0.94);
  box-shadow: 0 0 0 1px rgba(112, 180, 255, 0.18);
}

.page-strategies .strategies-toc {
  gap: 10px;
  padding: 14px 0 0;
  border: 0;
}

.page-strategies .strategies-toc a {
  border-color: var(--strategy-border);
  border-radius: var(--strategy-radius-sm);
  color: var(--strategy-text-soft);
  background: var(--strategy-panel-strong);
  font-size: 13px;
}

.page-strategies .strategy-summary,
.page-strategies .strategy-note,
.page-strategies .strategy-day-card,
.page-strategies .strategy-detail-card,
.page-strategies .strategy-stat-card,
.page-strategies .strategy-steps article,
.page-strategies .strategy-flow-grid article,
.page-strategies .strategy-table,
.page-strategies .strategy-install {
  border-color: var(--strategy-border);
  border-radius: var(--strategy-radius-lg);
  background: var(--strategy-panel-strong);
  box-shadow: none;
}

.page-strategies .strategy-summary,
.page-strategies .strategy-note,
.page-strategies .strategy-day-card,
.page-strategies .strategy-detail-card {
  padding: 20px;
}

.page-strategies .strategy-flow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.page-strategies .strategy-flow-grid article {
  min-height: 184px;
  padding: 20px;
}

.page-strategies .strategy-flow-grid article span,
.page-strategies .strategy-steps article span {
  border-radius: 10px;
  background: var(--strategy-blue);
}

.page-strategies .strategy-flow-grid article span {
  margin-bottom: 14px;
}

.page-strategies .strategy-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.page-strategies .strategy-detail-grid > .strategy-detail-card,
.page-strategies .strategy-detail-card:nth-child(3) {
  grid-column: auto;
}

.page-strategies .strategy-mini-grid {
  gap: 14px;
}

.page-strategies .strategy-shot img,
.page-strategies .strategy-table,
.page-strategies .strategy-install__conditions li,
.page-strategies .strategy-install__status {
  border-radius: var(--strategy-radius-sm);
}

.page-strategies .strategy-install {
  padding: 22px;
}

.page-strategies .strategy-install__conditions li,
.page-strategies .strategy-install__status {
  border-color: var(--strategy-border);
  background: rgba(4, 12, 24, 0.58);
}

.page-strategies .strategy-install__button,
.page-strategies .strategy-install__archive {
  border-radius: var(--strategy-radius-sm);
}

.page-strategies .strategy-note,
.page-strategies .strategy-summary--danger {
  border-left-width: 3px;
}

.page-strategies .strategies-faq {
  display: grid;
  gap: 10px;
}

.page-strategies .strategies-faq details {
  border: 1px solid var(--strategy-border);
  border-radius: var(--strategy-radius-lg);
  background: var(--strategy-panel-strong);
  overflow: clip;
}

.page-strategies .strategies-faq summary {
  padding: 17px 20px;
  color: var(--strategy-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
}

.page-strategies .strategies-faq details[open] {
  border-color: var(--strategy-border-strong);
}

.page-strategies .strategies-faq summary:focus-visible,
.page-strategies .strategy-product-switch__item:focus-visible,
.page-strategies .strategies-toc a:focus-visible {
  outline: 2px solid #7fc8ff;
  outline-offset: 3px;
}

.page-strategies .strategies-faq__answer {
  padding: 0 20px 18px;
}

.page-strategies .strategies-faq__answer p {
  max-width: 1040px;
  margin: 0;
}

body.page-strategies .strategy-final-actions a {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--strategy-radius-sm);
  font-size: 14px;
}

@media (min-width: 1080px) {
  .page-strategies .strategies-hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.7fr);
    column-gap: 36px;
    padding-bottom: 36px;
  }

  .page-strategies .strategies-hero > .strategies-disclaimer:not(.strategies-disclaimer--legal) {
    margin-top: 14px;
  }
}

@media (max-width: 1079px) {
  .page-strategies .strategies-hero .strategies-disclaimer {
    margin-top: 16px;
  }
}

@media (max-width: 840px) {
  .page-strategies .strategies-guide {
    padding: 16px 0 56px;
  }

  .page-strategies .strategies-hero,
  .page-strategies .strategies-section,
  .page-strategies .strategy-product-pages__header {
    padding: 26px;
    border-radius: 22px;
  }

  .page-strategies .strategies-hero h1 {
    font-size: 38px;
  }

  .page-strategies .strategies-section h2,
  .page-strategies .strategy-product-pages h2 {
    font-size: 28px;
  }

  .page-strategies .strategy-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .page-strategies .strategy-flow-grid,
  .page-strategies .strategy-product-switch {
    grid-template-columns: 1fr;
  }

  .page-strategies .strategy-flow-grid article {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .page-strategies .strategies-guide {
    width: calc(100% - 20px);
    padding: 10px 0 44px;
  }

  .page-strategies .strategies-hero,
  .page-strategies .strategies-section,
  .page-strategies .strategy-product-pages__header {
    padding: 20px;
    border-radius: 20px;
  }

  .page-strategies .strategies-hero h1 {
    font-size: 28px;
    line-height: 1.1;
  }

  .page-strategies .strategies-lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .page-strategies .strategies-disclaimer,
  .page-strategies .strategy-product-switch__item,
  .page-strategies .strategy-summary,
  .page-strategies .strategy-note,
  .page-strategies .strategy-day-card,
  .page-strategies .strategy-detail-card,
  .page-strategies .strategy-flow-grid article,
  .page-strategies .strategy-install {
    padding: 17px;
    border-radius: 16px;
  }

  .page-strategies .strategies-section h2,
  .page-strategies .strategy-product-pages h2 {
    font-size: 25px;
  }

  .page-strategies .strategies-faq summary {
    padding: 15px 16px;
    font-size: 15px;
  }

  .page-strategies .strategies-faq__answer {
    padding: 0 16px 16px;
  }
}

html[data-theme="light"] body.page-strategies {
  --strategy-panel: rgba(255, 255, 255, 0.94);
  --strategy-panel-soft: #f7faff;
  --strategy-panel-strong: #f8fbff;
  --strategy-border: rgba(37, 99, 235, 0.16);
  --strategy-border-strong: rgba(37, 99, 235, 0.34);
  --strategy-text: #102033;
  --strategy-text-soft: #475569;
  --strategy-text-muted: #64748b;
  --strategy-blue-soft: #0f4fa8;
}

html[data-theme="light"] body.page-strategies :is(.strategies-hero, .strategies-section, .strategy-product-pages__header) {
  background: var(--strategy-panel);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] body.page-strategies :is(.strategy-product-switch__item, .strategy-summary, .strategy-note, .strategy-day-card, .strategy-detail-card, .strategy-stat-card, .strategy-steps article, .strategy-flow-grid article, .strategy-table, .strategy-install, .strategies-faq details) {
  color: var(--strategy-text);
  background: var(--strategy-panel-strong);
}

html[data-theme="light"] body.page-strategies .strategy-product-switch__item.is-active,
html[data-theme="light"] body.page-strategies .strategy-product-switch__item[aria-selected="true"] {
  background: #eaf2ff;
}

html[data-theme="light"] body.page-strategies .strategy-product-switch__item:hover,
html[data-theme="light"] body.page-strategies .strategy-product-switch__item:focus-visible {
  background: #f0f6ff;
}

html[data-theme="light"] body.page-strategies :is(.strategies-hero h1, .strategies-section h2, .strategies-section h3, .strategy-product-pages h2, .strategy-product-switch__item span, .strategies-faq summary) {
  color: var(--strategy-text);
}

html[data-theme="light"] body.page-strategies :is(.strategies-lead, .strategies-section p, .strategies-section li, .strategy-product-pages__header > p:not(.strategies-kicker), .strategy-product-switch__item small, .strategies-faq__answer p) {
  color: var(--strategy-text-soft);
}

/* Training: use the same product-page system as Strategies and Indicators. */
body.page-training {
  --training-panel: rgba(12, 21, 38, 0.82);
  --training-panel-strong: rgba(8, 18, 34, 0.92);
  --training-border: rgba(120, 146, 195, 0.18);
  --training-border-strong: rgba(112, 180, 255, 0.34);
  --training-text: #f6faff;
  --training-text-soft: #c2d0e7;
  --training-text-muted: #8395b8;
  --training-blue: #2e6eed;
  --training-blue-soft: #70b4ff;
  --training-radius-xl: 28px;
  --training-radius-lg: 18px;
  --training-radius-sm: 12px;
}

.page-training .training-guide {
  width: min(1440px, calc(100% - 40px));
  padding: 20px 0 72px;
}

.page-training .training-hero,
.page-training .training-toc,
.page-training .training-section {
  border: 1px solid var(--training-border);
  border-radius: var(--training-radius-xl);
  background: var(--training-panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.page-training .training-hero {
  padding: 36px 40px;
}

.page-training .training-eyebrow,
.page-training .training-kicker {
  margin-bottom: 12px;
  color: var(--training-blue-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.page-training .training-hero h1 {
  max-width: 980px;
  color: var(--training-text);
  font-size: clamp(38px, 3.7vw, 46px);
  line-height: 1.06;
}

.page-training .training-lead {
  max-width: 900px;
  margin-top: 18px;
  color: var(--training-text-soft);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.page-training .training-hero__actions {
  margin-top: 22px;
}

.page-training .training-link {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--training-radius-sm);
  font-size: 14px;
}

.page-training .training-disclaimer {
  max-width: 900px;
  margin-top: 22px;
  padding: 17px 18px;
  border-color: var(--training-border-strong);
  border-left: 3px solid var(--training-blue-soft);
  border-radius: var(--training-radius-lg);
  color: var(--training-text-soft);
  background: var(--training-panel-strong);
  font-size: 14px;
  line-height: 1.55;
}

.page-training .training-toc {
  margin-top: 18px;
  padding: 18px;
}

.page-training .training-toc a {
  min-height: 44px;
  border-color: var(--training-border);
  border-radius: var(--training-radius-sm);
  color: var(--training-text-soft);
  background: var(--training-panel-strong);
  font-size: 13px;
}

.page-training .training-section {
  margin-top: 18px;
  padding: 30px 34px;
  border-bottom: 1px solid var(--training-border);
  scroll-margin-top: 92px;
}

.page-training .training-section__header {
  max-width: 960px;
  margin-bottom: 20px;
}

.page-training .training-section h2 {
  color: var(--training-text);
  font-size: clamp(28px, 2.5vw, 32px);
  line-height: 1.15;
}

.page-training .training-section h3,
.page-training .training-subhead h3 {
  color: var(--training-text);
  font-size: 19px;
  line-height: 1.25;
}

.page-training .training-section p,
.page-training .training-section li,
.page-training .training-table span,
.page-training .training-table strong {
  color: var(--training-text-soft);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.62;
}

.page-training #scanner > .training-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-training .training-step,
.page-training .training-card,
.page-training .training-term,
.page-training .training-scenario,
.page-training .training-note,
.page-training .training-table,
.page-training .training-window__image,
.page-training .training-window__screen,
.page-training .training-faq details {
  border-color: var(--training-border);
  border-radius: var(--training-radius-lg);
  background-color: var(--training-panel-strong);
  box-shadow: none;
}

.page-training .training-step,
.page-training .training-card,
.page-training .training-term,
.page-training .training-scenario,
.page-training .training-note {
  padding: 20px;
}

.page-training .training-step__num {
  border-radius: 10px;
  background: var(--training-blue);
}

.page-training .training-note {
  border-left-width: 3px;
}

.page-training .training-window__image,
.page-training .training-window__screen,
.page-training .training-table {
  border-radius: var(--training-radius-sm);
}

.page-training .training-faq {
  gap: 10px;
}

.page-training .training-faq details {
  padding: 0;
  overflow: clip;
}

.page-training .training-faq details[open] {
  border-color: var(--training-border-strong);
}

.page-training .training-faq summary {
  padding: 17px 20px;
  color: var(--training-text);
  font-size: 16px;
  line-height: 1.4;
}

.page-training .training-faq details p {
  max-width: 1040px;
  padding: 0 20px 18px;
}

.page-training .training-link:focus-visible,
.page-training .training-toc a:focus-visible,
.page-training .training-faq summary:focus-visible {
  outline: 2px solid #7fc8ff;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .page-training #scanner > .training-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .page-training .training-guide {
    padding: 16px 0 56px;
  }

  .page-training .training-hero,
  .page-training .training-toc,
  .page-training .training-section {
    border-radius: 22px;
  }

  .page-training .training-hero,
  .page-training .training-section {
    padding: 26px;
  }

  .page-training .training-hero h1 {
    font-size: 38px;
  }
}

@media (max-width: 700px) {
  .page-training #scanner > .training-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-training .training-guide {
    width: calc(100% - 20px);
    padding: 10px 0 44px;
  }

  .page-training .training-hero,
  .page-training .training-toc,
  .page-training .training-section {
    border-radius: 20px;
  }

  .page-training .training-hero,
  .page-training .training-section {
    padding: 20px;
  }

  .page-training .training-toc {
    padding: 14px;
  }

  .page-training .training-hero h1 {
    font-size: 28px;
    line-height: 1.1;
  }

  .page-training .training-lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .page-training .training-step,
  .page-training .training-card,
  .page-training .training-term,
  .page-training .training-scenario,
  .page-training .training-note {
    padding: 17px;
    border-radius: 16px;
  }

  .page-training .training-section h2 {
    font-size: 25px;
  }

  .page-training .training-faq summary {
    padding: 15px 16px;
    font-size: 15px;
  }

  .page-training .training-faq details p {
    padding: 0 16px 16px;
  }
}

html[data-theme="light"] body.page-training {
  --training-panel: rgba(255, 255, 255, 0.94);
  --training-panel-strong: #f8fbff;
  --training-border: rgba(37, 99, 235, 0.16);
  --training-border-strong: rgba(37, 99, 235, 0.34);
  --training-text: #102033;
  --training-text-soft: #475569;
  --training-text-muted: #64748b;
  --training-blue-soft: #0f4fa8;
}

html[data-theme="light"] body.page-training :is(.training-hero, .training-toc, .training-section) {
  background: var(--training-panel);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] body.page-training :is(.training-toc a, .training-step, .training-card, .training-term, .training-scenario, .training-note, .training-table, .training-window__image, .training-window__screen, .training-faq details, .training-disclaimer) {
  color: var(--training-text);
  background-color: var(--training-panel-strong);
}

html[data-theme="light"] body.page-training :is(.training-hero h1, .training-section h2, .training-section h3, .training-subhead h3, .training-faq summary) {
  color: var(--training-text);
}

html[data-theme="light"] body.page-training :is(.training-lead, .training-section p, .training-section li, .training-toc a, .training-faq details p, .training-disclaimer) {
  color: var(--training-text-soft);
}
