
body.features-page {
  background: #010511;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
}

.features-page main {
  position: relative;
  background: #050A18;
}

.features-page main::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('/assets/bg-starfield.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.features-page main > * { position: relative; z-index: 1; }

.features-hero {
  position: relative;
  padding: 24px 0 60px;
  text-align: center;
  overflow: hidden;
}

.features-hero__inner h1 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 0px;
  color: #fff;
}

.modules-spider {
  position: relative;
  max-width: 1100px;
  margin: -100px auto 0; 
  height: 620px;
}

.spider-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.modules-spider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at center, 
    rgba(255, 255, 255, 0.08) 0%, 
    rgba(0, 242, 255, 0.03) 30%, 
    transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
}

.spider-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: #050A18;
  border: 2px solid rgba(6, 160, 250, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow:
    0 0 60px rgba(6, 160, 250, 0.5),
    0 0 120px rgba(6, 160, 250, 0.25),
    inset 0 0 40px rgba(6, 160, 250, 0.15);
}

.spider-center__ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1.5px solid rgba(6, 160, 250, 0.4);
  box-shadow: 0 0 30px rgba(6, 160, 250, 0.2);
}

.spider-center__logo {
  width: 250px; 
  height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(6, 160, 250, 0.8));
  position: relative;
  z-index: 2;
}

.spider-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.spider-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 14.5455%;
  transform: translateY(-50%);
  gap: 10px;
  background: #050A18;
  border: 2px solid rgba(6, 160, 250, 0.75);
  border-radius: 12px;
  padding: 16px 12px; 
  box-shadow: 
    0 0 20px rgba(6, 160, 250, 0.35),
    inset 0 0 15px rgba(6, 160, 250, 0.15);
}

a.spider-node {
  color: inherit;
  text-decoration: none;
}

.spider-node p {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

.spider-node p span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #ABB4C3;
  margin-top: 4px; 
}

.node-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-icon svg {
  width: 38px;
  height: 38px;
}

.node-1 { top: 240px; left: 0; }
.node-6 { top: 240px; right: 0; }
.node-2 { top: 400px; left: 14.5455%; }
.node-5 { top: 400px; right: 14.5455%; }
.node-3 { top: 560px; left: 29.0909%; }
.node-4 { top: 560px; right: 29.0909%; }

.feature-block {
  padding: 80px 0;
  position: relative;
  scroll-margin-top: 96px;
}

.feature-block__inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.feature-block__content {
  flex: 1;
}

.feature-block__icon {
  width: 56px;
  height: 56px;
  background: rgba(6, 160, 250, 0.1);
  border: 1px solid rgba(6, 160, 250, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-block__content h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.feature-block__content p {
  font-size: 16px;
  color: #ABB4C3;
  line-height: 1.6;
  margin-bottom: 32px;
}

.feature-block__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-block__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #E2E8F0;
  font-weight: 500;
}

.feature-block__list li svg {
  width: 20px;
  height: 20px;
  stroke: #06A0FA;
  stroke-width: 2;
  fill: none;
}

.feature-block__image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.features-page {
  --mk-line: rgba(255, 255, 255, 0.07);
  --mk-ink:  #E8EEF8;
}

.mockup-ui {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  color: var(--mk-ink);
  background:
    radial-gradient(120% 85% at 50% -25%, rgba(6, 160, 250, 0.11), transparent 62%),
    linear-gradient(180deg, rgba(13, 21, 42, 0.96) 0%, rgba(6, 10, 24, 0.97) 100%);
  border: 1px solid var(--mk-line);
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 30px 60px -25px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(6, 160, 250, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-ui:hover {
  transform: translateY(-6px);
  box-shadow:
    0 44px 70px -28px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(6, 160, 250, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.mockup-ui::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, 0.05) 48%, transparent 61%);
  transform: translateX(-125%);
  animation: mk-sheen 11s ease-in-out infinite;
}

@keyframes mk-sheen {
  0%, 74%   { transform: translateX(-125%); }
  94%, 100% { transform: translateX(125%); }
}

.mockup-ui--app {
  --ap-bg: #0B0F17;
  background: var(--ap-bg);
  padding: 0;
}

.mk-app {
  container-type: inline-size;
  --u: calc(100cqw / 1440);

  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background: var(--ap-bg);
}

.mk-app__scale {
  display: flex;
  width: calc(1440 * var(--u));
  height: calc(1080 * var(--u));

  --ap-sheet:     #141A24;
  --ap-side:      #0E1116;
  --ap-text:      #E6EDF6;
  --ap-text-2:    #9FB0C3;
  --ap-text-3:    #6B7C92;
  --ap-line:      rgba(255, 255, 255, 0.10);
  --ap-line-soft: rgba(255, 255, 255, 0.07);
  --ap-blue:      #2B8EFF;
  --ap-blue-br:   #5AA9FF;
  --ap-green:     #34D399;
  --ap-mono:      'JetBrains Mono', monospace;
  --ap-display:   Sora, sans-serif;

  font-family: Inter, system-ui, sans-serif;
  font-size: calc(16 * var(--u));
  color: var(--ap-text);
}

.mk-side {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: calc(248 * var(--u));
  background: var(--ap-side);
  border-right: calc(1 * var(--u)) solid rgba(255, 255, 255, 0.08);
}

.mk-side__head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  height: calc(62 * var(--u));
  padding: calc(14 * var(--u)) calc(12 * var(--u)) calc(10 * var(--u));
}

.mk-side__mark { flex: 0 0 auto; width: calc(34 * var(--u)); height: calc(34 * var(--u)); }
.mk-side__mark img { display: block; width: 100%; height: 100%; object-fit: contain; }

.mk-side__brand { display: flex; flex-direction: column; min-width: 0; }

.mk-side__name {
  font-family: var(--ap-display);
  font-size: calc(16 * var(--u));
  font-weight: 700;
  letter-spacing: calc(-0.3 * var(--u));
  line-height: 1.2;
  color: #fff;
}

.mk-side__plan {
  font-family: var(--ap-mono);
  font-size: calc(9.5 * var(--u));
  font-weight: 700;
  letter-spacing: calc(1 * var(--u));
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ap-blue-br);
}

.mk-side__scroll { flex: 1 1 auto; padding-bottom: calc(8 * var(--u)); }

.mk-side__group { padding: calc(10 * var(--u)) calc(12 * var(--u)) calc(2 * var(--u)); }

.mk-side__glabel {
  display: block;
  padding: 0 calc(8 * var(--u)) calc(6 * var(--u));
  font-size: calc(9.5 * var(--u));
  font-weight: 700;
  letter-spacing: calc(1.1 * var(--u));
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}

.mk-side__nav { display: flex; flex-direction: column; gap: calc(2 * var(--u)); }

.mk-side__link {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  height: calc(34 * var(--u));
  padding: calc(7 * var(--u)) calc(10 * var(--u));
  font-size: calc(13 * var(--u));
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.74);
}

.mk-side__link.is-active {
  background: rgba(43, 142, 255, 0.14);
  font-weight: 600;
  color: var(--ap-blue-br);
}

.mk-side__ico { flex: 0 0 auto; width: calc(16 * var(--u)); height: calc(16 * var(--u)); opacity: 0.58; }

.mk-side__subrow {
  display: flex;
  align-items: center;
  gap: calc(5 * var(--u));
  padding-left: calc(12 * var(--u));
}

.mk-side__branch {
  flex: 0 0 auto;
  width: calc(13 * var(--u));
  height: calc(13 * var(--u));
  color: rgba(255, 255, 255, 0.22);
}

.mk-side__link--sub {
  flex: 1 1 auto;
  height: calc(30 * var(--u));
  padding: calc(5 * var(--u)) calc(10 * var(--u));
  font-size: calc(12.5 * var(--u));
  color: rgba(255, 255, 255, 0.58);
}

.mk-side__link--sub .mk-side__ico { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }

.mk-side__foot {
  flex: 0 0 auto;
  display: flex;
  gap: calc(6 * var(--u));
  padding: calc(10 * var(--u)) calc(12 * var(--u)) calc(12 * var(--u));
  border-top: calc(1 * var(--u)) solid var(--ap-line-soft);
}

.mk-side__util {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(5 * var(--u));
  height: calc(34 * var(--u));
  padding: 0 calc(4 * var(--u));
  background: rgba(255, 255, 255, 0.05);
  border: calc(1 * var(--u)) solid var(--ap-line);
  font-size: calc(11 * var(--u));
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.mk-side__util svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.mk-side__flag { display: block; width: calc(16 * var(--u)); height: calc(11 * var(--u)); overflow: hidden; }
.mk-side__flag svg { width: 100%; height: 100%; }

.mk-main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(72% 46% at 50% 6%, rgba(43, 142, 255, 0.16), transparent 60%),
    linear-gradient(180deg, #0C111A 0%, #090D14 100%);
}

.mk-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(56 * var(--u));
  padding: 0 calc(32 * var(--u));
  background: rgba(11, 15, 23, 0.82);
  border-bottom: calc(1 * var(--u)) solid rgba(255, 255, 255, 0.08);
}

.mk-top__crumb {
  white-space: nowrap;
  font-family: var(--ap-display);
  font-size: calc(14 * var(--u));
  font-weight: 600;
  letter-spacing: calc(-0.2 * var(--u));
  color: var(--ap-text);
}

.mk-top__right { display: flex; align-items: center; gap: calc(10 * var(--u)); }

.mk-top__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(38 * var(--u));
  height: calc(38 * var(--u));
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
  color: var(--ap-text-2);
}

.mk-top__btn svg { width: calc(19 * var(--u)); height: calc(19 * var(--u)); }
.mk-top__btn--notif { position: relative; }

.mk-top__badge {
  position: absolute;
  top: calc(-5 * var(--u));
  right: calc(-5 * var(--u));
  min-width: calc(17 * var(--u));
  height: calc(17 * var(--u));
  padding: 0 calc(4 * var(--u));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: calc(10 * var(--u));
  font-weight: 800;
  font-style: normal;
  background: #FF5E7A;
  border: calc(2 * var(--u)) solid var(--ap-sheet);
  color: #fff;
}

.mk-top__tokens {
  display: flex;
  align-items: center;
  gap: calc(7 * var(--u));
  height: calc(38 * var(--u));
  padding: 0 calc(13 * var(--u));
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
  font-size: calc(13 * var(--u));
  font-weight: 700;
}

.mk-top__tokens svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
.mk-top__tcount { font-size: calc(13 * var(--u)); font-weight: 700; color: var(--ap-text); }
.mk-top__tlabel { font-size: calc(12 * var(--u)); font-weight: 600; color: var(--ap-text-2); }

.mk-top__user {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  padding: calc(4 * var(--u)) calc(8 * var(--u)) calc(4 * var(--u)) calc(4 * var(--u));
}

.mk-top__avatar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
  border-radius: 50%;
  background: linear-gradient(135deg, #5AA9FF 0%, #2B8EFF 60%, #4A9BFF 100%);
  border: calc(1 * var(--u)) solid rgba(90, 169, 255, 0.35);
  box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(43, 142, 255, 0.28);
  font-size: calc(12 * var(--u));
  font-weight: 700;
  letter-spacing: calc(0.5 * var(--u));
  color: #fff;
}

.mk-top__uinfo { display: flex; flex-direction: column; justify-content: center; min-width: 0; }

.mk-top__uorg {
  display: flex;
  align-items: center;
  gap: calc(4 * var(--u));
  font-size: calc(11 * var(--u));
  line-height: 1.25;
  color: var(--ap-text-2);
}

.mk-top__uorg svg { flex: 0 0 auto; width: calc(11 * var(--u)); height: calc(11 * var(--u)); opacity: 0.8; }

.mk-cb {
  --cb-red: #F26B6B;
  --cb-red-ink: #2A0B0B;
  --cb-amber: #F5B942;
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
  padding: calc(22 * var(--u)) calc(28 * var(--u));
}

.mk-cb__hero {
  display: flex;
  flex-direction: column;
  gap: calc(18 * var(--u));
  padding: calc(22 * var(--u)) calc(26 * var(--u)) calc(18 * var(--u));
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
  border-radius: calc(14 * var(--u));
}

.mk-cb__hero-top {
  display: grid;
  grid-template-columns: calc(130 * var(--u)) minmax(0, 1fr) calc(232 * var(--u));
  gap: calc(24 * var(--u));
  align-items: start;
}

.mk-cb__score {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(130 * var(--u));
  height: calc(130 * var(--u));
}

.mk-cb__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.mk-cb__ring-fill { fill: none; stroke: url(#mkCbRing); stroke-width: 7; stroke-linecap: round; }

.mk-cb__score-body { position: relative; display: flex; flex-direction: column; align-items: center; }
.mk-cb__score-num { font-family: var(--ap-display); font-size: calc(36 * var(--u)); font-weight: 800; line-height: 1; color: var(--ap-text); }
.mk-cb__score-suffix { margin-top: calc(4 * var(--u)); font-size: calc(12 * var(--u)); color: var(--ap-text-2); }

.mk-cb__meta {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  margin: 0;
  font-family: var(--ap-mono);
  font-size: calc(10.5 * var(--u));
  letter-spacing: calc(1 * var(--u));
  text-transform: uppercase;
  color: var(--ap-text-2);
}

.mk-cb__tier {
  padding: calc(3 * var(--u)) calc(9 * var(--u));
  border: calc(1 * var(--u)) solid rgba(90, 169, 255, 0.3);
  border-radius: calc(999 * var(--u));
  background: rgba(43, 142, 255, 0.14);
  font-weight: 700;
  color: var(--ap-blue-br);
}

.mk-cb__eyebrow { font-weight: 700; color: var(--ap-text); }

.mk-cb__company { margin: calc(10 * var(--u)) 0 calc(6 * var(--u)); font-family: var(--ap-display); font-size: calc(24 * var(--u)); font-weight: 700; color: var(--ap-text); }
.mk-cb__sub { margin: 0 0 calc(10 * var(--u)); font-size: calc(12.5 * var(--u)); color: var(--ap-text-2); }
.mk-cb__summary { margin: 0; font-size: calc(14 * var(--u)); line-height: 1.55; color: var(--ap-text); }
.mk-cb__em { font-weight: 700; color: #fff; }

.mk-cb__depth {
  padding: calc(12 * var(--u)) calc(14 * var(--u));
  border: calc(1 * var(--u)) solid rgba(90, 169, 255, 0.28);
  border-radius: calc(10 * var(--u));
  background: rgba(43, 142, 255, 0.08);
}

.mk-cb__depth-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--ap-mono);
  font-size: calc(10.5 * var(--u));
  letter-spacing: calc(1 * var(--u));
  text-transform: uppercase;
  color: var(--ap-text-2);
}

.mk-cb__depth-head b { font-size: calc(13 * var(--u)); color: var(--ap-blue-br); }
.mk-cb__depth-bar { height: calc(5 * var(--u)); margin: calc(10 * var(--u)) 0 calc(8 * var(--u)); overflow: hidden; border-radius: calc(999 * var(--u)); background: rgba(255, 255, 255, 0.08); }
.mk-cb__depth-bar i { display: block; height: 100%; border-radius: inherit; background: var(--ap-blue); }
.mk-cb__depth p { margin: 0; font-size: calc(11 * var(--u)); line-height: 1.4; color: var(--ap-text-2); }

.mk-cb__cats {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: calc(16 * var(--u));
  padding-top: calc(14 * var(--u));
  border-top: calc(1 * var(--u)) solid var(--ap-line-soft);
}

.mk-cb__cat { display: flex; flex-direction: column; justify-content: flex-end; gap: calc(6 * var(--u)); min-width: 0; }
.mk-cb__cat-name { min-height: calc(28 * var(--u)); font-size: calc(11 * var(--u)); font-weight: 600; line-height: 1.25; color: var(--ap-text-2); }
.mk-cb__cat b { font-size: calc(15 * var(--u)); color: var(--ap-text); }
.mk-cb__cat-bar { height: calc(5 * var(--u)); overflow: hidden; border-radius: calc(999 * var(--u)); background: rgba(255, 255, 255, 0.08); }
.mk-cb__cat-bar i { display: block; height: 100%; border-radius: inherit; background: var(--ap-blue); }
.mk-cb__cat-bar.is-weak i { background: repeating-linear-gradient(135deg, var(--ap-blue) 0 calc(3 * var(--u)), transparent calc(3 * var(--u)) calc(6 * var(--u))); }

.mk-cb__grid { display: grid; grid-template-columns: 42fr 58fr; gap: calc(16 * var(--u)); align-items: start; }
.mk-cb__col { display: flex; flex-direction: column; gap: calc(16 * var(--u)); }

.mk-cb__card {
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  padding: calc(18 * var(--u)) calc(20 * var(--u));
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
  border-radius: calc(14 * var(--u));
}

.mk-cb__col:first-child .mk-cb__card:first-child { transform: rotate(-0.35deg); }
.mk-cb__col:first-child .mk-cb__card:last-child { transform: translateX(calc(4 * var(--u))) rotate(0.3deg); }
.mk-cb__col:last-child .mk-cb__card:first-child { transform: rotate(0.25deg); }
.mk-cb__col:last-child .mk-cb__card:last-child { transform: translateX(calc(-3 * var(--u))) rotate(-0.2deg); }

.mk-cb__card-top { display: flex; align-items: center; justify-content: space-between; }

.mk-cb__tag {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  font-family: var(--ap-mono);
  font-size: calc(10.5 * var(--u));
  font-weight: 700;
  letter-spacing: calc(1.2 * var(--u));
  text-transform: uppercase;
  color: var(--ap-text-2);
}

.mk-cb__tag svg { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }

.mk-cb__seal {
  padding: calc(3 * var(--u)) calc(7 * var(--u));
  border: calc(1 * var(--u)) solid var(--ap-line);
  border-radius: calc(4 * var(--u));
  font-family: var(--ap-mono);
  font-size: calc(9.5 * var(--u));
  font-weight: 700;
  letter-spacing: calc(1 * var(--u));
  text-transform: uppercase;
  color: var(--ap-text-2);
}

.mk-cb__seal--high { border-color: var(--cb-red); background: var(--cb-red); color: var(--cb-red-ink); }

.mk-cb__title { margin: 0; font-size: calc(17 * var(--u)); font-weight: 700; line-height: 1.3; color: var(--ap-text); }
.mk-cb__headline { margin: 0; font-family: var(--ap-display); font-size: calc(24 * var(--u)); font-weight: 700; line-height: 1.22; color: var(--ap-text); }
.mk-cb__text { margin: 0; font-size: calc(13 * var(--u)); line-height: 1.55; color: var(--ap-text); }
.mk-cb__text--soft { color: var(--ap-text-2); }

.mk-cb__scales { display: flex; flex-direction: column; gap: calc(10 * var(--u)); }
.mk-cb__scale { display: grid; grid-template-columns: calc(96 * var(--u)) minmax(0, 1fr); gap: calc(10 * var(--u)); align-items: center; }
.mk-cb__scale-lbl { font-family: var(--ap-mono); font-size: calc(10 * var(--u)); letter-spacing: calc(1 * var(--u)); text-transform: uppercase; color: var(--ap-text-2); }
.mk-cb__scale-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(4 * var(--u)); }
.mk-cb__scale-bar span { padding: calc(7 * var(--u)) calc(4 * var(--u)); border-radius: calc(5 * var(--u)); background: rgba(255, 255, 255, 0.06); font-size: calc(11.5 * var(--u)); font-weight: 600; text-align: center; color: var(--ap-text-2); }
.mk-cb__scale-bar--high span.is-fill { background: rgba(242, 107, 107, 0.16); }
.mk-cb__scale-bar--high span.is-on { background: var(--cb-red); color: var(--cb-red-ink); }
.mk-cb__scale-bar--medium span.is-fill { background: rgba(245, 185, 66, 0.14); }
.mk-cb__scale-bar--medium span.is-on { background: rgba(245, 185, 66, 0.16); box-shadow: inset 0 0 0 calc(1.5 * var(--u)) var(--cb-amber); color: var(--cb-amber); }

.mk-cb__big { margin: 0; font-family: var(--ap-display); font-size: calc(44 * var(--u)); font-weight: 800; line-height: 1; color: var(--ap-text); }
.mk-cb__big small { margin-left: calc(6 * var(--u)); font-size: calc(15 * var(--u)); font-weight: 600; color: var(--ap-text-2); }
.mk-cb__big-lbl { margin: 0; font-size: calc(13 * var(--u)); font-weight: 700; color: var(--ap-text); }

.mk-cb__tally { margin: 0; font-size: calc(11.5 * var(--u)); color: var(--ap-text-2); }
.mk-cb__checks { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.mk-cb__checks li { display: flex; align-items: center; justify-content: space-between; gap: calc(12 * var(--u)); padding: calc(9 * var(--u)) 0; border-bottom: calc(1 * var(--u)) solid var(--ap-line-soft); font-size: calc(13 * var(--u)); color: var(--ap-text); }
.mk-cb__st { padding: calc(3 * var(--u)) calc(7 * var(--u)); border-radius: calc(4 * var(--u)); font-family: var(--ap-mono); font-size: calc(9.5 * var(--u)); font-style: normal; font-weight: 700; letter-spacing: calc(1 * var(--u)); text-transform: uppercase; white-space: nowrap; }
.mk-cb__st--missing { background: var(--cb-red); color: var(--cb-red-ink); }
.mk-cb__st--partial { background: rgba(245, 185, 66, 0.18); color: var(--cb-amber); }
.mk-cb__st--met { background: rgba(52, 211, 153, 0.16); color: var(--ap-green); }

.mk-cb__pills { display: flex; gap: calc(6 * var(--u)); margin-top: calc(2 * var(--u)); padding-top: calc(10 * var(--u)); border-top: calc(1 * var(--u)) dashed var(--ap-line-soft); }
.mk-cb__pill { padding: calc(3 * var(--u)) calc(9 * var(--u)); border-radius: calc(999 * var(--u)); background: rgba(255, 255, 255, 0.06); font-size: calc(10.5 * var(--u)); font-weight: 600; color: var(--ap-text-2); }
.mk-cb__pill b { margin-left: calc(3 * var(--u)); font-size: calc(9.5 * var(--u)); font-weight: 700; color: var(--ap-blue-br); }

.mk-ckr__ring-ticks {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 3;
  stroke-dasharray: 1.4 6.7;
}

.mk-ckr__ring-track { fill: none; stroke: rgba(255, 255, 255, 0.09); stroke-width: 7; }

.mk-rdm__hero {
  position: relative;
  padding: calc(14 * var(--u)) calc(36 * var(--u)) calc(16 * var(--u));
  border-bottom: calc(1 * var(--u)) solid var(--ap-line);
  background: linear-gradient(180deg, #161D28 0%, #11161F 100%);
}

.mk-rdm__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(10 * var(--u));
  margin-bottom: calc(18 * var(--u));
}

.mk-rdm__back {
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--u));
  padding: calc(8 * var(--u)) calc(16 * var(--u));
  border: calc(1 * var(--u)) solid var(--ap-line);
  font-size: calc(13 * var(--u));
  font-weight: 600;
  color: var(--ap-text-2);
}

.mk-rdm__back svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }

.mk-rdm__topright { display: inline-flex; align-items: center; gap: calc(10 * var(--u)); }

.mk-rdm__refresh {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  padding: calc(6 * var(--u)) calc(14 * var(--u));
  border: calc(1 * var(--u)) solid var(--ap-line-soft);
  font-size: calc(11 * var(--u));
  font-weight: 700;
  letter-spacing: calc(0.8 * var(--u));
  text-transform: uppercase;
  color: var(--ap-text-3);
}

.mk-rdm__refresh svg { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }

.mk-rdm__viewtoggle {
  display: inline-flex;
  align-items: center;
  gap: calc(2 * var(--u));
  padding: calc(3 * var(--u));
  background: rgba(15, 23, 42, 0.05);
  border: calc(1 * var(--u)) solid var(--ap-line-soft);
}

.mk-rdm__viewbtn {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  padding: calc(6 * var(--u)) calc(14 * var(--u));
  font-size: calc(11 * var(--u));
  font-weight: 700;
  letter-spacing: calc(0.8 * var(--u));
  text-transform: uppercase;
  color: var(--ap-text-3);
}

.mk-rdm__viewbtn svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.mk-rdm__viewbtn.is-active {
  background: var(--ap-blue);
  color: #fff;
  box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(43, 142, 255, 0.30);
}

.mk-rdm__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(28 * var(--u));
}

.mk-rdm__lead { flex: 1 1 0; min-width: 0; }

.mk-rdm__eyebrow {
  display: inline-block;
  margin: 0 0 calc(8 * var(--u));
  font-family: var(--ap-mono);
  font-size: calc(10 * var(--u));
  font-weight: 700;
  letter-spacing: calc(2 * var(--u));
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ap-text-3);
}

.mk-rdm__title {
  margin: 0 0 calc(6 * var(--u));
  font-size: calc(25 * var(--u));
  font-weight: 700;
  letter-spacing: calc(-0.5 * var(--u));
  line-height: 1.12;
  color: var(--ap-text);
}

.mk-rdm__sub {
  max-width: calc(580 * var(--u));
  margin: 0;
  font-size: calc(12.5 * var(--u));
  font-weight: 400;
  letter-spacing: calc(0.1 * var(--u));
  line-height: 1.5;
  color: var(--ap-text-2);
}

.mk-rdm__timer {
  flex: 0 0 auto;
  position: relative;
  display: grid;
  place-items: center;
  width: calc(150 * var(--u));
  height: calc(150 * var(--u));
}

.mk-rdm__ring {
  position: absolute;
  inset: 0;
  width: calc(150 * var(--u));
  height: calc(150 * var(--u));
  transform: rotate(-90deg);
}

.mk-rdm__ring-fill { fill: none; stroke: url(#mkRdmRing); stroke-width: 7; stroke-linecap: round; }
.mk-rdm__timer-body { position: relative; text-align: center; }

.mk-rdm__days {
  font-size: calc(42 * var(--u));
  font-weight: 800;
  letter-spacing: calc(-2 * var(--u));
  line-height: 0.95;
  color: var(--ap-blue);
  font-variant-numeric: tabular-nums;
}

.mk-rdm__timer-label {
  margin-top: calc(6 * var(--u));
  font-family: var(--ap-mono);
  font-size: calc(8 * var(--u));
  font-weight: 700;
  letter-spacing: calc(2.2 * var(--u));
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ap-text-3);
}

.mk-rdm__hms {
  display: inline-block;
  margin-top: calc(7 * var(--u));
  padding: calc(2 * var(--u)) calc(9 * var(--u));
  background: rgba(15, 23, 42, 0.05);
  font-family: var(--ap-mono);
  font-size: calc(11 * var(--u));
  font-weight: 600;
  letter-spacing: calc(1 * var(--u));
  line-height: 1.6;
  color: var(--ap-text-2);
}

.mk-rdm__deck {
  display: flex;
  align-items: center;
  gap: calc(22 * var(--u));
  margin-top: calc(12 * var(--u));
  padding-top: calc(12 * var(--u));
  border-top: calc(1 * var(--u)) solid var(--ap-line-soft);
}

.mk-rdm__prog { flex: 1 1 0; display: flex; flex-direction: column; gap: calc(11 * var(--u)); }

.mk-rdm__prog-head { display: flex; align-items: baseline; justify-content: space-between; }
.mk-rdm__prog-count { font-size: calc(12.5 * var(--u)); font-weight: 600; line-height: 1.6; color: var(--ap-text-2); }
.mk-rdm__prog-count strong { color: var(--ap-text); }
.mk-rdm__prog-pct { font-size: calc(14 * var(--u)); font-weight: 700; line-height: 1.6; color: var(--ap-text); }

.mk-rdm__prog-bar {
  height: calc(5 * var(--u));
  border-radius: calc(3 * var(--u));
  background: rgba(15, 23, 42, 0.10);
}

.mk-rdm__stats { display: flex; align-items: stretch; }

.mk-rdm__stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(2 * var(--u)) calc(20 * var(--u)) calc(2 * var(--u)) 0;
}

.mk-rdm__stat-num {
  font-size: calc(23 * var(--u));
  font-weight: 700;
  letter-spacing: calc(-0.6 * var(--u));
  line-height: 1;
  color: var(--ap-text);
}

.mk-rdm__stat-lbl {
  margin-top: calc(6 * var(--u));
  font-family: var(--ap-mono);
  font-size: calc(9 * var(--u));
  font-weight: 600;
  letter-spacing: calc(0.5 * var(--u));
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--ap-text-3);
}

.mk-rdm__page {
  display: grid;
  grid-template-columns: calc(308 * var(--u)) calc(740 * var(--u));
  gap: calc(40 * var(--u));
  padding: calc(36 * var(--u)) calc(52 * var(--u)) calc(120 * var(--u));
}

.mk-rdm__card {
  padding: calc(16 * var(--u)) calc(16 * var(--u)) calc(14 * var(--u));
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
}

.mk-rdm__card-title {
  margin-bottom: calc(11 * var(--u));
  font-family: var(--ap-mono);
  font-size: calc(9.5 * var(--u));
  font-weight: 700;
  letter-spacing: calc(1.6 * var(--u));
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ap-text-3);
}

.mk-rdm__card-text { margin: 0; font-size: calc(12.5 * var(--u)); line-height: 1.55; color: var(--ap-text-2); }

.mk-rdm__legend {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
  margin-top: calc(13 * var(--u));
  padding-top: calc(13 * var(--u));
  border-top: calc(1 * var(--u)) solid var(--ap-line-soft);
}

.mk-rdm__legend-item {
  display: flex;
  align-items: flex-start;
  gap: calc(9 * var(--u));
  font-size: calc(11.5 * var(--u));
  line-height: 1.4;
  color: var(--ap-text-2);
}

.mk-rdm__legend-item b { color: var(--ap-text); font-weight: 700; }

.mk-rdm__legend-dot {
  flex-shrink: 0;
  width: calc(9 * var(--u));
  height: calc(9 * var(--u));
  margin-top: calc(3 * var(--u));
  border-radius: 50%;
}

.mk-rdm__legend-dot[data-crit="high"]   { background: #dc2626; }
.mk-rdm__legend-dot[data-crit="medium"] { background: #d97706; }
.mk-rdm__legend-dot[data-crit="low"]    { background: #2563eb; }

.mk-rdm__trailwrap { position: relative; padding: calc(30 * var(--u)) calc(24 * var(--u)) calc(64 * var(--u)); }
.mk-rdm__trail { position: relative; height: calc(1200 * var(--u)); }

.mk-rdm__trailsvg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mk-rdm__road { fill: none; stroke: rgba(15, 23, 42, 0.085); stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.mk-rdm__dash { fill: none; stroke: rgba(255, 255, 255, 0.65); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 18; }

.mk-rdm__cap {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(7 * var(--u));
  transform: translate(-50%, -50%);
}

.mk-rdm__pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(34 * var(--u));
  height: calc(34 * var(--u));
  border-radius: 50%;
  background: linear-gradient(160deg, var(--ap-text-2), #334155);
  color: #fff;
  box-shadow: 0 calc(6 * var(--u)) calc(14 * var(--u)) calc(-4 * var(--u)) rgba(15, 23, 42, 0.4);
}

.mk-rdm__pin svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }

.mk-rdm__cap-label {
  font-family: var(--ap-mono);
  font-size: calc(9.5 * var(--u));
  font-weight: 700;
  letter-spacing: calc(1.6 * var(--u));
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ap-text-3);
}

.mk-rdm__node { position: absolute; width: 0; height: 0; }

.mk-rdm__orb {
  position: absolute;
  top: calc(-96 * var(--u));
  left: calc(-96 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(192 * var(--u));
  height: calc(192 * var(--u));
  border: calc(3 * var(--u)) solid;
  border-radius: 50%;
  background: linear-gradient(180deg, #1A2230 0%, #141A24 100%);
  box-shadow: 0 calc(14 * var(--u)) calc(28 * var(--u)) calc(-16 * var(--u)) rgba(15, 23, 42, 0.3);
}

.mk-rdm__num { font-size: calc(56 * var(--u)); font-weight: 800; letter-spacing: calc(-1.5 * var(--u)); line-height: 1; }

.mk-rdm__node[data-crit="high"]   .mk-rdm__orb { border-color: rgba(220, 38, 38, 0.55); }
.mk-rdm__node[data-crit="high"]   .mk-rdm__num { color: #b91c1c; }
.mk-rdm__node[data-crit="medium"] .mk-rdm__orb { border-color: rgba(217, 119, 6, 0.55); }
.mk-rdm__node[data-crit="medium"] .mk-rdm__num { color: #b45309; }
.mk-rdm__node[data-crit="low"]    .mk-rdm__orb { border-color: rgba(37, 99, 235, 0.5); }
.mk-rdm__node[data-crit="low"]    .mk-rdm__num { color: #1d4ed8; }

.mk-rdm__toggle {
  position: absolute;
  top: calc(-92 * var(--u));
  left: calc(56 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(36 * var(--u));
  height: calc(36 * var(--u));
  border: calc(2 * var(--u)) solid #fff;
  border-radius: 50%;
  background: var(--ap-sheet);
  color: var(--ap-text-3);
}

.mk-rdm__toggle svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }

.mk-rdm__card-node {
  position: absolute;
  top: 0;
  left: calc(110 * var(--u));
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(7 * var(--u));
  width: calc(258 * var(--u));
  padding: calc(14 * var(--u)) calc(17 * var(--u));
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
  box-shadow: 0 calc(14 * var(--u)) calc(28 * var(--u)) calc(-20 * var(--u)) rgba(15, 23, 42, 0.22);
}

.mk-rdm__flag {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  padding: calc(3 * var(--u)) calc(9 * var(--u)) calc(3 * var(--u)) calc(7 * var(--u));
  border-radius: 999px;
  font-family: var(--ap-mono);
  font-size: calc(9 * var(--u));
  font-weight: 700;
  letter-spacing: calc(1.3 * var(--u));
  line-height: 1.6;
  text-transform: uppercase;
}

.mk-rdm__flag i { width: calc(5 * var(--u)); height: calc(5 * var(--u)); border-radius: 50%; flex-shrink: 0; }
.mk-rdm__flag[data-crit="high"]   { background: #fee2e2; color: #b91c1c; }
.mk-rdm__flag[data-crit="high"] i { background: #dc2626; }
.mk-rdm__flag[data-crit="medium"]   { background: #fef3c7; color: #b45309; }
.mk-rdm__flag[data-crit="medium"] i { background: #d97706; }
.mk-rdm__flag[data-crit="low"]   { background: #dbeafe; color: #1d4ed8; }
.mk-rdm__flag[data-crit="low"] i { background: #2563eb; }

.mk-rdm__node-title {
  font-size: calc(16 * var(--u));
  font-weight: 700;
  letter-spacing: calc(-0.2 * var(--u));
  line-height: 1.25;
  color: var(--ap-text);
}

.mk-rdm__node-meta { display: flex; align-items: center; gap: calc(10 * var(--u)); }

.mk-rdm__range {
  padding: calc(2 * var(--u)) calc(7 * var(--u));
  background: rgba(15, 23, 42, 0.04);
  border: calc(1 * var(--u)) solid rgba(15, 23, 42, 0.05);
  font-family: var(--ap-mono);
  font-size: calc(9 * var(--u));
  font-weight: 700;
  letter-spacing: calc(0.4 * var(--u));
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ap-text-3);
}

.mk-rdm__open {
  display: flex;
  align-items: center;
  gap: calc(4 * var(--u));
  font-size: calc(9.5 * var(--u));
  font-weight: 700;
  letter-spacing: calc(0.8 * var(--u));
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ap-blue);
}

.mk-top__hs {
  margin-inline: auto;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  gap: calc(10 * var(--u));
  padding: 0 calc(18 * var(--u));
  background: var(--ap-blue-br);
  max-width: calc(540 * var(--u));
}

.mk-top__hs-ico { display: inline-flex; width: calc(26 * var(--u)); height: calc(26 * var(--u)); color: #fff; }
.mk-top__hs-ico svg { width: 100%; height: 100%; }
.mk-top__hs-text { min-width: 0; }

.mk-top__hs-code {
  font-family: var(--ap-display);
  font-size: calc(14 * var(--u));
  font-weight: 700;
  letter-spacing: calc(0.4 * var(--u));
  color: #fff;
}

.mk-top__hs-desc {
  display: block;
  font-size: calc(11.5 * var(--u));
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-mm { display: flex; flex: 1 1 auto; min-height: 0; }

.mk-mm__rail {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: calc(244 * var(--u));
  background: var(--ap-sheet);
  border-right: calc(1 * var(--u)) solid var(--ap-line);
}

.mk-mm__brand { flex: 0 0 auto; padding: calc(20 * var(--u)) calc(18 * var(--u)) 0; }

.mk-mm__brand-row {
  display: flex;
  align-items: center;
  gap: calc(11 * var(--u));
  margin-bottom: calc(15 * var(--u));
}

.mk-mm__brand-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(38 * var(--u));
  height: calc(38 * var(--u));
  background: linear-gradient(135deg, var(--ap-blue) 0%, var(--ap-blue-br) 100%);
  color: #fff;
}

.mk-mm__brand-ico svg { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }

.mk-mm__brand-text strong {
  display: block;
  font-family: var(--ap-display);
  font-size: calc(14 * var(--u));
  font-weight: 700;
  letter-spacing: calc(-0.2 * var(--u));
  line-height: 1.25;
  color: var(--ap-text);
}

.mk-mm__brand-text span {
  display: block;
  margin-top: calc(1 * var(--u));
  font-size: calc(10.5 * var(--u));
  font-weight: 700;
  letter-spacing: calc(0.8 * var(--u));
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
}

.mk-mm__prog {
  height: calc(5 * var(--u));
  margin-bottom: calc(22 * var(--u));
  border-radius: 99px;
  background: rgba(43, 142, 255, 0.10);
  overflow: hidden;
}

.mk-mm__prog i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ap-blue) 0%, var(--ap-blue-br) 100%);
}

.mk-mm__nav {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  padding: 0 calc(10 * var(--u));
}

.mk-mm__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
  height: calc(46 * var(--u));
  padding: calc(10 * var(--u)) calc(7 * var(--u)) calc(10 * var(--u)) calc(11 * var(--u));
  font-size: calc(13 * var(--u));
  font-weight: 500;
  color: var(--ap-text-2);
}

.mk-mm__item.is-active {
  background: rgba(43, 142, 255, 0.14);
  border: calc(1 * var(--u)) solid rgba(43, 142, 255, 0.30);
  color: var(--ap-text);
  font-weight: 600;
}

.mk-mm__item.is-locked { color: var(--ap-text-3); }

.mk-mm__dot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(26 * var(--u));
  height: calc(26 * var(--u));
  border: calc(1.5 * var(--u)) solid currentColor;
  border-radius: 50%;
  font-size: calc(11 * var(--u));
  font-weight: 700;
}

.mk-mm__item.is-done .mk-mm__dot { color: var(--ap-blue-br); }
.mk-mm__item.is-active .mk-mm__dot { background: var(--ap-blue); border-color: var(--ap-blue); color: #fff; }
.mk-mm__label { flex: 1 1 auto; }
.mk-mm__lock { flex: 0 0 auto; width: calc(13 * var(--u)); height: calc(13 * var(--u)); opacity: 0.7; }

.mk-mm__subs { display: flex; flex-direction: column; gap: calc(1 * var(--u)); margin: calc(3 * var(--u)) 0 calc(2 * var(--u)); }
.mk-mm__subrow { display: flex; align-items: center; gap: calc(6 * var(--u)); padding-left: calc(22 * var(--u)); }
.mk-mm__subsubrow { display: flex; align-items: center; gap: calc(6 * var(--u)); padding-left: calc(38 * var(--u)); }

.mk-mm__branch { flex-shrink: 0; width: calc(13 * var(--u)); height: calc(13 * var(--u)); color: #2C3848; }
.mk-mm__subsubrow:has(.is-active) .mk-mm__branch,
.mk-mm__subrow:has(.is-active) .mk-mm__branch { color: var(--ap-blue); }

.mk-mm__sublink {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: calc(6 * var(--u)) calc(10 * var(--u));
  font-size: calc(12.5 * var(--u));
  font-weight: 500;
  line-height: 1.3;
  color: #A9B9CE;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-mm__sublink--sim { font-size: calc(12 * var(--u)); color: #8B9CB3; }
.mk-mm__sublink.is-active { background: rgba(43, 142, 255, 0.14); font-weight: 600; color: var(--ap-blue); }

.mk-mm__save {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: calc(6 * var(--u));
  margin-top: calc(8 * var(--u));
  padding: calc(12 * var(--u)) calc(12 * var(--u)) calc(18 * var(--u));
  border-top: calc(1 * var(--u)) solid #161D28;
}

.mk-mm__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--u));
  padding: calc(8 * var(--u)) calc(16 * var(--u));
  font-size: calc(12.5 * var(--u));
  font-weight: 600;
}

.mk-mm__btn svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.mk-mm__btn--primary {
  background: linear-gradient(135deg, var(--ap-blue) 0%, var(--ap-blue-br) 100%);
  border: calc(1 * var(--u)) solid var(--ap-blue);
  color: #fff;
}
.mk-mm__btn--danger { color: #F87171; }

.mk-mm__main { position: relative; flex: 1 1 0; min-width: 0; background: var(--ap-sheet); }
.mk-mm__wrap { padding: calc(28 * var(--u)) calc(32 * var(--u)) calc(48 * var(--u)); }

.mk-mm__hero { margin-bottom: calc(20 * var(--u)); }

.mk-mm__title {
  margin: 0;
  font-family: var(--ap-display);
  font-size: calc(38 * var(--u));
  font-weight: 800;
  letter-spacing: calc(-1 * var(--u));
  line-height: 1.06;
  color: var(--ap-text);
}

.mk-mm__sub {
  margin: calc(10 * var(--u)) 0 0;
  font-size: calc(14.5 * var(--u));
  font-weight: 400;
  line-height: 1.6;
  color: var(--ap-text-2);
}

.mk-mm__band {
  display: grid;
  grid-template-columns: calc(608 * var(--u)) calc(260 * var(--u));
  gap: calc(16 * var(--u));
  height: calc(518 * var(--u));
  margin-bottom: calc(20 * var(--u));
}

.mk-mm__mapcard {
  position: relative;
  padding: calc(18 * var(--u));
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
}

.mk-mm__map { display: block; width: 100%; height: 100%; object-fit: contain; }

.mk-mm__zoom {
  position: absolute;
  right: calc(28 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(26 * var(--u));
  height: calc(26 * var(--u));
  background: rgba(20, 26, 36, 0.9);
  border: calc(1 * var(--u)) solid var(--ap-line);
  font-size: calc(15 * var(--u));
  line-height: 1;
  color: var(--ap-text-2);
}

.mk-mm__zoom--in  { top: calc(28 * var(--u)); }
.mk-mm__zoom--out { top: calc(66 * var(--u)); }

.mk-mm__stats { display: flex; flex-direction: column; gap: calc(14 * var(--u)); }

.mk-mm__stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: calc(14 * var(--u));
  padding: calc(18 * var(--u)) calc(20 * var(--u));
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
}

.mk-mm__stat-ic {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: calc(44 * var(--u));
  height: calc(44 * var(--u));
  background: rgba(43, 142, 255, 0.14);
  box-shadow: inset 0 0 0 calc(1 * var(--u)) rgba(43, 142, 255, 0.10);
  color: var(--ap-blue);
}

.mk-mm__stat-ic svg { width: calc(21 * var(--u)); height: calc(21 * var(--u)); }

.mk-mm__stat-val {
  display: block;
  font-family: var(--ap-display);
  font-size: calc(26 * var(--u));
  font-weight: 800;
  letter-spacing: calc(-0.6 * var(--u));
  line-height: 1;
  color: var(--ap-text);
  font-variant-numeric: tabular-nums;
}

.mk-mm__stat-lbl {
  display: block;
  margin-top: calc(5 * var(--u));
  font-size: calc(12 * var(--u));
  font-weight: 600;
  line-height: 1.3;
  color: var(--ap-text-2);
}

.mk-mm__listhead { display: flex; align-items: flex-start; justify-content: space-between; gap: calc(20 * var(--u)); margin-bottom: calc(14 * var(--u)); }

.mk-mm__listtitle {
  margin: 0;
  font-family: var(--ap-display);
  font-size: calc(24 * var(--u));
  font-weight: 800;
  letter-spacing: calc(-0.5 * var(--u));
  line-height: 1.2;
  color: var(--ap-text);
}

.mk-mm__listsub { margin: calc(6 * var(--u)) 0 0; font-size: calc(13.5 * var(--u)); line-height: 1.5; color: var(--ap-text-2); }

.mk-mm__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(12 * var(--u)) calc(18 * var(--u));
  margin: calc(4 * var(--u)) 0 calc(14 * var(--u));
}

.mk-mm__tgroup { display: flex; align-items: center; gap: calc(10 * var(--u)); }

.mk-mm__tlabel {
  font-family: var(--ap-mono);
  font-size: calc(9.5 * var(--u));
  font-weight: 700;
  letter-spacing: calc(1.2 * var(--u));
  text-transform: uppercase;
  color: var(--ap-text-3);
}

.mk-mm__sortset {
  display: flex;
  gap: calc(2 * var(--u));
  padding: calc(3 * var(--u));
  background: #1A2230;
  border: calc(1 * var(--u)) solid var(--ap-line);
}

.mk-mm__sortbtn {
  padding: calc(5 * var(--u)) calc(12 * var(--u));
  font-size: calc(12.5 * var(--u));
  font-weight: 600;
  line-height: 1.2;
  color: var(--ap-text-2);
}

.mk-mm__sortbtn.is-active { background: var(--ap-sheet); color: var(--ap-blue); }

.mk-mm__chip {
  padding: calc(6 * var(--u)) calc(13 * var(--u));
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
  border-radius: 999px;
  font-size: calc(12 * var(--u));
  font-weight: 600;
  line-height: 1.2;
  color: var(--ap-text-2);
}

.mk-mm__listcard {
  height: calc(120 * var(--u));
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
}

.mk-mm__proceed {
  position: absolute;
  right: calc(32 * var(--u));
  bottom: calc(18 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(320 * var(--u));
  padding: calc(9 * var(--u)) calc(20 * var(--u));
  background: linear-gradient(135deg, var(--ap-blue) 0%, var(--ap-blue-br) 100%);
  border: calc(1 * var(--u)) solid var(--ap-blue);
  font-size: calc(14 * var(--u));
  font-weight: 600;
  letter-spacing: calc(0.1 * var(--u));
  line-height: 1;
  color: #fff;
  box-shadow: 0 calc(12 * var(--u)) calc(28 * var(--u)) calc(-8 * var(--u)) rgba(15, 23, 42, 0.35);
}

.mk-sim__wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: calc(28 * var(--u)) calc(32 * var(--u)) calc(24 * var(--u));
}

.mk-sim {
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
}

.mk-sim__head {
  display: flex;
  align-items: center;
  gap: calc(18 * var(--u));
  height: calc(64 * var(--u));
  padding: calc(14 * var(--u)) calc(20 * var(--u));
  border-bottom: calc(1 * var(--u)) solid var(--ap-line);
}

.mk-sim__title {
  flex: 1 1 auto;
  margin: 0;
  font-family: var(--ap-display);
  font-size: calc(17 * var(--u));
  font-weight: 700;
  letter-spacing: calc(-0.3 * var(--u));
  line-height: 1.6;
  color: var(--ap-text);
}

.mk-sim__modes { display: flex; gap: calc(4 * var(--u)); padding: calc(3 * var(--u)); background: #1A2230; }

.mk-sim__mode {
  padding: calc(7 * var(--u)) calc(13 * var(--u));
  font-size: calc(12.5 * var(--u));
  font-weight: 700;
  line-height: 1.2;
  color: var(--ap-text-2);
}

.mk-sim__mode.is-active { background: var(--ap-sheet); color: var(--ap-blue); box-shadow: 0 calc(1 * var(--u)) calc(3 * var(--u)) rgba(15, 23, 42, 0.1); }

.mk-sim__tools { display: flex; gap: calc(4 * var(--u)); }

.mk-sim__tool {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(30 * var(--u));
  height: calc(26 * var(--u));
  background: #1A2230;
  box-shadow: inset 0 0 0 calc(1 * var(--u)) rgba(255, 255, 255, 0.1);
  font-size: calc(11.5 * var(--u));
  font-weight: 600;
  color: var(--ap-text-2);
}

.mk-sim__ccy {
  padding: calc(4 * var(--u)) calc(9 * var(--u));
  background: #1A2230;
  box-shadow: inset 0 0 0 calc(1 * var(--u)) rgba(255, 255, 255, 0.1);
  font-family: var(--ap-mono);
  font-size: calc(11 * var(--u));
  font-weight: 700;
  line-height: 1.6;
  color: var(--ap-text-2);
}

.mk-sim__grid { display: grid; grid-template-columns: calc(258 * var(--u)) minmax(0, 1fr); align-items: stretch; }

.mk-sim__inputs {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
  padding: calc(12 * var(--u)) calc(13 * var(--u));
  background: rgba(26, 34, 48, 0.55);
  border-right: calc(1 * var(--u)) solid var(--ap-line);
}

.mk-sim__f--pair { display: flex; gap: calc(8 * var(--u)); }
.mk-sim__fcol { flex: 1 1 0; min-width: 0; }

.mk-sim__flbl {
  display: block;
  margin-bottom: calc(4 * var(--u));
  font-size: calc(9.5 * var(--u));
  font-weight: 700;
  letter-spacing: calc(0.6 * var(--u));
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ap-text-3);
}

.mk-sim__flbl i { font-style: normal; color: #F87171; }

.mk-sim__ctl {
  display: flex;
  align-items: center;
  height: calc(34 * var(--u));
  padding: 0 calc(10 * var(--u));
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
  font-size: calc(12.5 * var(--u));
  font-weight: 600;
  color: var(--ap-text);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mk-sim__ctl--money em { font-style: normal; margin-right: calc(6 * var(--u)); color: var(--ap-text-3); }

.mk-sim__out {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: calc(11 * var(--u));
  padding: calc(12 * var(--u)) calc(13 * var(--u));
}

.mk-sim__out > .mk-sim__verdict,
.mk-sim__out > .mk-sim__break { min-width: 0; }

.mk-sim__verdict { display: flex; flex-direction: column; gap: calc(8 * var(--u)); }

.mk-sim__hero {
  padding: calc(12 * var(--u)) calc(13 * var(--u));
  background: linear-gradient(135deg, #16203A 0%, #0B1220 100%);
  color: #fff;
}

.mk-sim__hero-lbl {
  display: block;
  font-size: calc(9.5 * var(--u));
  font-weight: 700;
  letter-spacing: calc(0.76 * var(--u));
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.mk-sim__hero-val {
  display: block;
  margin: calc(4 * var(--u)) 0 calc(2 * var(--u));
  font-family: var(--ap-display);
  font-size: calc(26 * var(--u));
  font-weight: 800;
  letter-spacing: calc(-0.8 * var(--u));
  line-height: 1.05;
  color: #fff;
}

.mk-sim__gauge { position: relative; display: block; width: calc(128 * var(--u)); height: calc(74 * var(--u)); }
.mk-sim__gauge svg { display: block; width: 100%; height: 100%; }
.mk-sim__gauge-track { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-linecap: round; }
.mk-sim__gauge-fill { fill: none; stroke: #6EE7B7; stroke-linecap: round; }

.mk-sim__gauge-c {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(1 * var(--u));
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mk-sim__gauge-num {
  font-family: var(--ap-mono);
  font-size: calc(23 * var(--u));
  font-weight: 800;
  letter-spacing: calc(-1.2 * var(--u));
  line-height: 1;
  color: #6EE7B7;
  font-variant-numeric: tabular-nums;
}

.mk-sim__gauge-lbl {
  margin-top: calc(2 * var(--u));
  font-size: calc(8.5 * var(--u));
  font-weight: 700;
  letter-spacing: calc(0.6 * var(--u));
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.mk-sim__kpis {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
}

.mk-sim__kpi { padding: calc(11 * var(--u)) calc(14 * var(--u)); }
.mk-sim__kpi + .mk-sim__kpi { border-left: calc(1 * var(--u)) solid var(--ap-line); }

.mk-sim__kpi-lbl {
  display: block;
  margin-bottom: calc(5 * var(--u));
  font-size: calc(9.5 * var(--u));
  font-weight: 700;
  letter-spacing: calc(0.48 * var(--u));
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.mk-sim__kpi-val {
  font-family: var(--ap-display);
  font-size: calc(21 * var(--u));
  font-weight: 700;
  letter-spacing: calc(-0.6 * var(--u));
  line-height: 1;
  color: var(--ap-green);
}

.mk-sim__kpi-val--neutral { color: var(--ap-text); }
.mk-sim__kpi-line { display: flex; align-items: baseline; gap: calc(7 * var(--u)); min-width: 0; }

.mk-sim__kpi-room {
  flex-shrink: 0;
  padding: calc(1 * var(--u)) calc(6 * var(--u));
  background: rgba(43, 142, 255, 0.14);
  box-shadow: inset 0 0 0 calc(1 * var(--u)) rgba(43, 142, 255, 0.30);
  font-family: var(--ap-mono);
  font-size: calc(9.5 * var(--u));
  font-weight: 700;
  line-height: 1.6;
  color: var(--ap-blue);
}

.mk-sim__cap {
  display: flex;
  align-items: center;
  gap: calc(9 * var(--u));
  padding: calc(9 * var(--u)) calc(12 * var(--u));
  background: rgba(43, 142, 255, 0.14);
  box-shadow: inset 0 0 0 calc(1 * var(--u)) rgba(43, 142, 255, 0.30);
}

.mk-sim__cap > svg { flex-shrink: 0; width: calc(15 * var(--u)); height: calc(15 * var(--u)); color: var(--ap-blue); }
.mk-sim__cap-body { min-width: 0; }
.mk-sim__cap-val { display: block; font-size: calc(12.5 * var(--u)); font-weight: 700; line-height: 1.4; color: var(--ap-text); }
.mk-sim__cap-ctx { display: block; margin-top: calc(1 * var(--u)); font-size: calc(10.5 * var(--u)); line-height: 1.4; color: var(--ap-text-2); }

.mk-sim__capbtns { display: flex; gap: calc(6 * var(--u)); }

.mk-sim__capbtn {
  padding: calc(6 * var(--u)) calc(11 * var(--u));
  background: var(--ap-sheet);
  box-shadow: inset 0 0 0 calc(1 * var(--u)) rgba(43, 142, 255, 0.30);
  font-size: calc(11 * var(--u));
  font-weight: 700;
  line-height: 1.3;
  color: var(--ap-blue);
}

.mk-sim__break { display: flex; flex-direction: column; gap: calc(8 * var(--u)); }
.mk-sim__break-head { display: flex; align-items: baseline; justify-content: space-between; gap: calc(10 * var(--u)); }

.mk-sim__break-title {
  font-family: var(--ap-display);
  font-size: calc(13 * var(--u));
  font-weight: 700;
  letter-spacing: calc(-0.2 * var(--u));
  line-height: 1.4;
  color: var(--ap-text);
}

.mk-sim__break-sub { font-size: calc(10.5 * var(--u)); font-style: italic; line-height: 1.4; color: rgba(255, 255, 255, 0.4); }

.mk-sim__wf {
  padding: calc(4 * var(--u)) calc(14 * var(--u));
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
}

.mk-sim__row {
  display: grid;
  grid-template-columns: calc(16 * var(--u)) minmax(0, 1fr) auto;
  align-items: center;
  gap: calc(9 * var(--u));
  padding: calc(7 * var(--u)) 0;
  border-bottom: calc(1 * var(--u)) dashed var(--ap-line);
}

.mk-sim__row:last-child { border-bottom: 0; }

.mk-sim__sign {
  font-family: var(--ap-mono);
  font-size: calc(12 * var(--u));
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
}

.mk-sim__row.is-income .mk-sim__sign { color: var(--ap-green); }
.mk-sim__row.is-total  .mk-sim__sign { color: var(--ap-blue); font-size: calc(14 * var(--u)); }

.mk-sim__rlbl {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--u));
  min-width: 0;
  font-size: calc(12 * var(--u));
  font-weight: 500;
  line-height: 1.4;
  color: var(--ap-text-2);
}

.mk-sim__chip {
  flex-shrink: 0;
  padding: calc(1 * var(--u)) calc(6 * var(--u));
  background: #1A2230;
  box-shadow: inset 0 0 0 calc(1 * var(--u)) var(--ap-line);
  font-family: var(--ap-mono);
  font-size: calc(9.5 * var(--u));
  font-weight: 600;
  line-height: 1.6;
  color: var(--ap-text-2);
  white-space: nowrap;
}

.mk-sim__rval {
  font-size: calc(12.5 * var(--u));
  font-weight: 600;
  line-height: 1.4;
  color: var(--ap-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mk-sim__row.is-income .mk-sim__rval { color: var(--ap-green); }
.mk-sim__rval.is-neg { color: #F87171; }

.mk-sim__row.is-total {
  margin-top: calc(3 * var(--u));
  padding: calc(10 * var(--u)) 0 calc(8 * var(--u));
  border-top: calc(2 * var(--u)) solid var(--ap-line);
  border-bottom: 0;
}

.mk-sim__row.is-total .mk-sim__rlbl { font-size: calc(12.5 * var(--u)); font-weight: 700; color: var(--ap-text); }

.mk-sim__row.is-total .mk-sim__rval {
  font-family: var(--ap-display);
  font-size: calc(18 * var(--u));
  font-weight: 700;
  letter-spacing: calc(-0.4 * var(--u));
  color: var(--ap-green);
}

.mk-sim__fees {
  padding: calc(10 * var(--u)) calc(13 * var(--u));
  background: #1A2230;
  box-shadow: inset 0 0 0 calc(1 * var(--u)) var(--ap-line);
}

.mk-sim__fees-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: calc(10 * var(--u));
  margin-bottom: calc(7 * var(--u));
}

.mk-sim__fees-head > span:first-child { font-size: calc(11 * var(--u)); font-weight: 700; line-height: 1.4; color: var(--ap-text); }

.mk-sim__fees-scope {
  flex-shrink: 0;
  padding: calc(2 * var(--u)) calc(6 * var(--u));
  background: rgba(245, 158, 11, 0.14);
  box-shadow: inset 0 0 0 calc(1 * var(--u)) rgba(245, 158, 11, 0.30);
  font-size: calc(9 * var(--u));
  font-weight: 700;
  letter-spacing: calc(0.4 * var(--u));
  line-height: 1.6;
  text-transform: uppercase;
  color: #F59E0B;
}

.mk-sim__fees-list { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(3 * var(--u)); }

.mk-sim__fees-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: calc(10 * var(--u));
  min-width: 0;
  font-size: calc(10.5 * var(--u));
  line-height: 1.5;
  color: var(--ap-text-2);
}

.mk-sim__fees-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mk-sim__fees-list li b {
  flex-shrink: 0;
  padding: calc(1 * var(--u)) calc(6 * var(--u));
  background: rgba(43, 142, 255, 0.14);
  box-shadow: inset 0 0 0 calc(1 * var(--u)) rgba(43, 142, 255, 0.30);
  font-family: var(--ap-mono);
  font-size: calc(9.5 * var(--u));
  font-weight: 700;
  color: var(--ap-blue);
}

.mk-sim__mail { display: flex; justify-content: center; padding: calc(24 * var(--u)) 0 0; }

.mk-sim__mailbtn {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  padding: calc(11 * var(--u)) calc(20 * var(--u));
  background: linear-gradient(135deg, var(--ap-blue) 0%, var(--ap-blue-br) 100%);
  border: calc(1 * var(--u)) solid var(--ap-blue);
  font-size: calc(14 * var(--u));
  font-weight: 600;
  letter-spacing: calc(0.1 * var(--u));
  line-height: 1;
  color: #fff;
}

.mk-sim__mailbtn svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }

.mk-ws {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  padding: calc(28 * var(--u)) calc(32 * var(--u)) calc(24 * var(--u));
}

.mk-ws__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: calc(20 * var(--u));
  margin-bottom: calc(18 * var(--u));
}

.mk-ws__eyebrow {
  margin: 0 0 calc(6 * var(--u));
  font-size: calc(11.5 * var(--u));
  font-weight: 700;
  letter-spacing: calc(1.15 * var(--u));
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ap-blue);
}

.mk-ws__title {
  margin: 0;
  font-family: var(--ap-display);
  font-size: calc(26 * var(--u));
  font-weight: 700;
  letter-spacing: calc(-0.52 * var(--u));
  line-height: 1.15;
  color: var(--ap-text);
}

.mk-ws__sub {
  max-width: calc(560 * var(--u));
  margin: calc(6 * var(--u)) 0 0;
  font-size: calc(13.5 * var(--u));
  line-height: 1.5;
  color: var(--ap-text-2);
}

.mk-ws__actions { --ws-h: calc(38 * var(--u)); display: flex; align-items: center; gap: calc(12 * var(--u)); }

.mk-ws__live {
  display: inline-flex;
  align-items: baseline;
  gap: calc(6 * var(--u));
  height: var(--ws-h);
  padding: 0 calc(12 * var(--u));
  background: rgba(43, 142, 255, 0.14);
  box-shadow: inset 0 0 0 calc(1 * var(--u)) rgba(43, 142, 255, 0.30);
}

.mk-ws__live-n { font-family: var(--ap-display); font-size: calc(17 * var(--u)); font-weight: 800; line-height: var(--ws-h); color: var(--ap-blue); }
.mk-ws__live-l { font-size: calc(11.5 * var(--u)); font-weight: 600; color: var(--ap-text-2); }

.mk-ws__zoom {
  display: inline-flex;
  align-items: stretch;
  height: var(--ws-h);
  border: calc(1 * var(--u)) solid var(--ap-line);
  background: var(--ap-sheet);
}

.mk-ws__zoom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(32 * var(--u));
  font-size: calc(13 * var(--u));
  font-weight: 600;
  color: var(--ap-text-2);
}

.mk-ws__zoom-val {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(52 * var(--u));
  border-left: calc(1 * var(--u)) solid var(--ap-line);
  border-right: calc(1 * var(--u)) solid var(--ap-line);
  font-size: calc(12.5 * var(--u));
  font-weight: 600;
  color: var(--ap-text-2);
  font-variant-numeric: tabular-nums;
}

.mk-ws__add {
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--u));
  height: var(--ws-h);
  padding: 0 calc(18 * var(--u));
  background: linear-gradient(135deg, var(--ap-blue) 0%, var(--ap-blue-br) 100%);
  border: calc(1 * var(--u)) solid var(--ap-blue);
  font-size: calc(13.5 * var(--u));
  font-weight: 600;
  color: #fff;
}

.mk-ws__add svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }

.mk-ws__canvas {
  flex: 1 1 auto;
  min-height: 0;
  padding: calc(14 * var(--u)) calc(14 * var(--u)) calc(6 * var(--u));
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
  overflow: hidden;
}

.mk-ws__board { display: flex; align-items: stretch; gap: calc(12 * var(--u)); height: 100%; }

.mk-ws__col {
  flex: 1 1 calc(240 * var(--u));
  min-width: calc(190 * var(--u));
  display: flex;
  flex-direction: column;
  padding: calc(12 * var(--u)) calc(10 * var(--u)) calc(10 * var(--u));
  background: #11161F;
  border: calc(1 * var(--u)) solid var(--ap-line);
}

.mk-ws__col-head { display: flex; align-items: center; gap: calc(8 * var(--u)); padding: 0 calc(4 * var(--u)) calc(10 * var(--u)); }
.mk-ws__dot { flex: 0 0 auto; width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; background: var(--ws-c); }

.mk-ws__col-name {
  font-size: calc(12.5 * 1.3 * var(--u));
  font-weight: 700;
  line-height: 1.3;
  color: var(--ap-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-ws__col-n {
  margin-left: auto;
  min-width: calc(22 * var(--u));
  padding: calc(2 * var(--u)) calc(7 * var(--u));
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
  border-radius: 999px;
  font-size: calc(11.5 * 1.3 * var(--u));
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: var(--ap-text-2);
}

.mk-ws__col-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: calc(9 * var(--u)); overflow: hidden; }

.mk-ws__card {
  padding: calc(11 * var(--u)) calc(12 * var(--u)) calc(10 * var(--u));
  background: var(--ap-sheet);
  border: calc(1 * var(--u)) solid var(--ap-line);
  border-left: calc(3 * var(--u)) solid var(--ws-c);
}

.mk-ws__card-top { display: flex; align-items: flex-start; gap: calc(9 * var(--u)); }

.mk-ws__ini {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: calc(30 * 1.3 * var(--u));
  height: calc(30 * 1.3 * var(--u));
  background: rgba(43, 142, 255, 0.14);
  font-size: calc(12 * 1.3 * var(--u));
  font-weight: 700;
  color: var(--ap-blue);
}

.mk-ws__card-id { min-width: 0; }

.mk-ws__card-name {
  display: block;
  font-size: calc(13 * 1.3 * var(--u));
  font-weight: 700;
  line-height: 1.3;
  color: var(--ap-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-ws__card-meta {
  display: block;
  margin-top: calc(2 * var(--u));
  font-size: calc(11.5 * 1.3 * var(--u));
  line-height: 1.3;
  color: var(--ap-text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-ws__product {
  margin-top: calc(8 * var(--u));
  font-size: calc(11.5 * 1.3 * var(--u));
  line-height: 1.35;
  color: var(--ap-text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-ws__product b { font-weight: 600; color: var(--ap-text); }

.mk-ws__chips { display: flex; flex-wrap: wrap; gap: calc(4 * var(--u)); margin-top: calc(8 * var(--u)); }

.mk-ws__chip {
  display: inline-flex;
  align-items: center;
  padding: calc(2 * var(--u)) calc(7 * var(--u));
  background: #11161F;
  border: calc(1 * var(--u)) solid transparent;
  font-size: calc(10.5 * 1.3 * var(--u));
  font-weight: 600;
  line-height: 1.4;
  color: var(--ap-text-2);
}

.mk-ws__next {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--u));
  margin-top: calc(9 * var(--u));
  padding-top: calc(8 * var(--u));
  border-top: calc(1 * var(--u)) solid var(--ap-line);
  font-size: calc(11.5 * 1.3 * var(--u));
  line-height: 1.3;
  color: var(--ap-text-2);
}

.mk-ws__next svg { flex: 0 0 auto; width: calc(13 * var(--u)); height: calc(13 * var(--u)); color: var(--ap-text-3); }
.mk-ws__next-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-ws__next-d { margin-left: auto; flex: 0 0 auto; font-weight: 600; }
.mk-ws__next.is-due .mk-ws__next-d { color: #F87171; }

.mk-app__scale--web {
  display: block;
  background: #050A18;
  background-image:
    radial-gradient(calc(1000 * var(--u)) calc(480 * var(--u)) at 50% calc(-100 * var(--u)), rgba(6, 160, 250, 0.20), transparent 68%),
    radial-gradient(calc(760 * var(--u)) calc(620 * var(--u)) at 8% 22%, rgba(34, 211, 238, 0.12), transparent 64%),
    radial-gradient(calc(820 * var(--u)) calc(640 * var(--u)) at 94% 30%, rgba(124, 92, 246, 0.13), transparent 66%);
  color: #fff;
}

.mk-dh__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(20 * var(--u));
  height: calc(64 * var(--u));
  padding: 0 calc(40 * var(--u));
}

.mk-dh__brand { display: flex; align-items: center; gap: calc(10 * var(--u)); }
.mk-dh__brand img { width: calc(30 * var(--u)); height: calc(30 * var(--u)); object-fit: contain; }
.mk-dh__brand span { font-size: calc(19 * var(--u)); font-weight: 800; letter-spacing: calc(-0.3 * var(--u)); color: #fff; }

.mk-dh__navlinks { display: flex; align-items: center; gap: calc(28 * var(--u)); }

.mk-dh__navlink { font-size: calc(14.5 * var(--u)); font-weight: 500; line-height: 1.4; color: rgba(255, 255, 255, 0.72); }

.mk-dh__navlink.is-active {
  padding: calc(7 * var(--u)) calc(14 * var(--u));
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-weight: 600;
}

.mk-dh__navright { display: flex; align-items: center; gap: calc(12 * var(--u)); }

.mk-dh__lang {
  display: inline-flex;
  align-items: center;
  gap: calc(7 * var(--u));
  padding: calc(7 * var(--u)) calc(12 * var(--u));
  border-radius: calc(8 * var(--u));
  background: rgba(255, 255, 255, 0.07);
  font-size: calc(13 * var(--u));
  font-weight: 700;
  color: #fff;
}

.mk-dh__flag { display: block; width: calc(18 * var(--u)); height: calc(12.6 * var(--u)); overflow: hidden; }
.mk-dh__flag svg { width: 100%; height: 100%; }

.mk-dh__cta {
  padding: calc(9 * var(--u)) calc(18 * var(--u));
  border-radius: calc(8 * var(--u));
  background: #0177ED;
  font-size: calc(13.5 * var(--u));
  font-weight: 600;
  color: #fff;
}

.mk-dh { padding: calc(72 * var(--u)) calc(144 * var(--u)) 0; }

.mk-dh__stage {
  display: grid;
  grid-template-columns: calc(300 * var(--u)) minmax(0, 1fr);
  align-items: stretch;
  gap: calc(24 * var(--u));
  height: calc(552 * var(--u));
  margin-bottom: calc(28 * var(--u));
}

.mk-dh__cats { display: flex; flex-direction: column; gap: calc(14 * var(--u)); }

.mk-dh__cat {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
  padding: calc(14 * var(--u));
  border: calc(1 * var(--u)) solid rgba(255, 255, 255, 0.08);
  border-radius: calc(12 * var(--u));
  background: rgba(255, 255, 255, 0.03);
}

.mk-dh__cat.is-on {
  border-color: color-mix(in srgb, var(--cat) 42%, transparent);
  background: linear-gradient(120deg,
    color-mix(in srgb, var(--cat) 16%, transparent),
    color-mix(in srgb, var(--cat) 5%, transparent));
  box-shadow: 0 calc(10 * var(--u)) calc(30 * var(--u)) calc(-16 * var(--u)) color-mix(in srgb, var(--cat) 60%, transparent);
}

.mk-dh__cat-ico {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(38 * var(--u));
  height: calc(38 * var(--u));
  border: calc(1 * var(--u)) solid color-mix(in srgb, var(--cat) 28%, transparent);
  border-radius: calc(10 * var(--u));
  background: color-mix(in srgb, var(--cat) 14%, transparent);
  color: var(--cat);
}

.mk-dh__cat-ico svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.mk-dh__cat-body { min-width: 0; }

.mk-dh__cat-label {
  display: block;
  font-size: calc(13.5 * var(--u));
  font-weight: 600;
  line-height: 1.25;
  color: #F2F5FA;
}

.mk-dh__cat-meta {
  display: block;
  margin-top: calc(3 * var(--u));
  font-size: calc(11.5 * var(--u));
  font-weight: 500;
  line-height: 1.2;
  color: #7C8AA0;
}

.mk-dh__map {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: calc(3 * var(--u)) solid rgba(28, 169, 251, 0.66);
  border-radius: calc(16 * var(--u));
  background:
    radial-gradient(130% 120% at 50% -10%, rgba(6, 160, 250, 0.18), transparent 60%),
    linear-gradient(160deg, #0B1633 0%, #081026 60%, #0A1430 100%);
  box-shadow: 0 calc(24 * var(--u)) calc(70 * var(--u)) calc(-26 * var(--u)) rgba(3, 73, 114, 0.88);
  overflow: hidden;
}

.mk-dh__map img { display: block; width: 100%; height: 100%; object-fit: contain; }

.mk-dh__zoom {
  position: absolute;
  left: calc(22 * var(--u));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(28 * var(--u));
  height: calc(28 * var(--u));
  border-radius: calc(6 * var(--u));
  background: rgba(255, 255, 255, 0.92);
  font-size: calc(16 * var(--u));
  font-weight: 700;
  line-height: 1;
  color: #0B1633;
}

.mk-dh__zoom--in  { top: calc(22 * var(--u)); }
.mk-dh__zoom--out { top: calc(58 * var(--u)); }

.mk-dh__toolshead { margin: calc(56 * var(--u)) 0 calc(28 * var(--u)); text-align: center; }

.mk-dh__toolstitle {
  margin: 0;
  font-size: calc(34 * var(--u));
  font-weight: 800;
  letter-spacing: calc(-0.8 * var(--u));
  line-height: 1.15;
  color: #fff;
}

.mk-dh__toolssub { margin: calc(10 * var(--u)) 0 0; font-size: calc(15.5 * var(--u)); line-height: 1.5; color: #93A0B3; }

.mk-dh__tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(20 * var(--u)); }

.mk-dh__tool {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: calc(18 * var(--u));
  padding: calc(26 * var(--u));
  border: calc(1 * var(--u)) solid rgba(72, 186, 252, 0.24);
  border-radius: calc(16 * var(--u));
  background:
    linear-gradient(160deg, rgba(6, 160, 250, 0.09), transparent 55%),
    rgba(255, 255, 255, 0.035);
}

.mk-dh__tool-arrow {
  position: absolute;
  top: calc(26 * var(--u));
  right: calc(24 * var(--u));
  font-size: calc(15 * var(--u));
  line-height: 1;
  color: #4E5C72;
}

.mk-dh__tool-ico {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(54 * var(--u));
  height: calc(54 * var(--u));
  border: calc(1 * var(--u)) solid color-mix(in srgb, var(--tc) 26%, transparent);
  border-radius: calc(14 * var(--u));
  background: color-mix(in srgb, var(--tc) 15%, transparent);
  color: var(--tc);
}

.mk-dh__tool-ico svg { width: calc(24 * var(--u)); height: calc(24 * var(--u)); }
.mk-dh__tool-body { min-width: 0; }

.mk-dh__tool-title {
  display: block;
  font-size: calc(18 * var(--u));
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.mk-dh__tool-desc {
  margin: calc(8 * var(--u)) 0 0;
  padding-right: calc(24 * var(--u));
  font-size: calc(14 * var(--u));
  line-height: 1.55;
  color: #93A0B3;
}

@keyframes mk-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.feature-more { padding: 30px 0 90px; }

.feature-more .section-head { margin-bottom: 34px; }

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.more-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.more-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(6, 160, 250, 0.10);
  border: 1px solid rgba(6, 160, 250, 0.20);
}

.more-card__icon svg { width: 21px; height: 21px; }

.more-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.more-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 900px) {
  .mockup-ui { max-width: 560px; }
  .mockup-ui:hover { transform: none; }

  .feature-block__image {
    width: 100%;
    min-width: 0;
  }

  .mockup-ui { min-width: 0; }
  .more-grid { grid-template-columns: 1fr; }}

@media (max-width: 560px) {
  .mockup-ui { font-size: 12.5px; border-radius: 14px; }
  .mockup-ui--app { font-size: 16px; }}

@media (prefers-reduced-motion: reduce) {
  .mockup-ui::after,
  .mockup-ui { transition: none; }
  .mockup-ui:hover { transform: none; }}

@media (max-width: 900px) {
  .feature-block__inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .feature-block__icon {
    margin: 0 auto 24px;
  }
  
  .feature-block__list {
    align-items: stretch;
    max-width: 460px;
    margin-inline: auto;
    text-align: left;
  }
  
  .spider-lines { display: none; }

  .modules-spider {
    height: auto;
    margin: 8px auto 0;
  }

  .spider-center {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 190px;
    height: 190px;
    margin: 0 auto;
  }

  .spider-center__logo { width: 146px; height: 146px; }
  .spider-center__ring { inset: -9px; }

  .modules-spider::after {
    top: 95px;
    width: 260px;
    height: 260px;
  }

  .spider-nodes {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
    pointer-events: auto;
  }

  .spider-node {
    position: static;
    transform: none;
    width: auto;
    inset: auto;
    padding: 14px 10px;
  }

  .node-icon { width: 44px; height: 44px; }
  .node-icon svg { width: 32px; height: 32px; }}

@media (max-width: 560px) {
  .spider-nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spider-center { width: 160px; height: 160px; }
  .spider-center__logo { width: 122px; height: 122px; }
  .modules-spider::after { top: 80px; width: 220px; height: 220px; }}

@media (max-width: 560px) {
  .features-hero { padding-bottom: 48px; }
  .features-hero__inner {
    display: flex;
    flex-direction: column;
  }
  .features-hero__inner h1 {
    font-size: clamp(30px, 8.4vw, 36px);
    letter-spacing: -1px;
    text-wrap: balance;
  }
  .features-hero__inner h1 br { display: none; }
  .modules-spider { display: contents; }
  .modules-spider::after { display: none; }
  .spider-center {
    order: -1;
    width: 64px;
    height: 64px;
    margin: 4px auto 20px;
    border-width: 1.5px;
    box-shadow:
      0 0 26px rgba(6, 160, 250, 0.45),
      inset 0 0 16px rgba(6, 160, 250, 0.15);
  }
  .spider-center__ring { inset: -6px; box-shadow: none; }
  .spider-center__logo {
    width: 46px;
    height: 46px;
    filter: drop-shadow(0 0 10px rgba(6, 160, 250, 0.7));
  }
  .spider-nodes {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 28px;
    border: 1px solid rgba(6, 160, 250, 0.35);
    border-radius: 16px;
    background: #050A18;
    overflow: hidden;
    box-shadow: 0 0 24px rgba(6, 160, 250, 0.12);
  }
  .spider-node {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 10px;
    column-gap: 14px;
    align-items: start;
    padding: 14px 18px 14px 14px;
    text-align: left;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }
  .spider-node:first-child { border-top: 0; }
  .spider-node:active { background: rgba(6, 160, 250, 0.08); }
  .spider-node:focus-visible {
    outline: 2px solid rgba(6, 160, 250, 0.6);
    outline-offset: -2px;
  }
  .spider-node::after {
    content: '';
    width: 7px;
    height: 7px;
    border-top: 2px solid rgba(6, 160, 250, 0.75);
    border-right: 2px solid rgba(6, 160, 250, 0.75);
    margin-top: 6px;
    transform: rotate(45deg);
  }
  .node-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    border: 1px solid rgba(6, 160, 250, 0.24);
    background: rgba(6, 160, 250, 0.08);
  }
  .node-icon svg { width: 24px; height: 24px; }
  .spider-node p {
    font-size: 15px;
    line-height: 1.3;
  }
  .spider-node p br { display: none; }
  .spider-node p span {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.4;
  }
}

@media (max-width: 640px) {
  .feature-block { padding: 48px 0; }
  .feature-block__inner {
    gap: 28px;
    text-align: left;
  }
  .feature-block__content {
    order: -1;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    width: 100%;
  }
  .feature-block__icon {
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 12px;
  }
  .feature-block__icon svg { width: 26px; height: 26px; }
  .feature-block__content h2 {
    margin: 0;
    font-size: clamp(24px, 6.6vw, 28px);
    line-height: 1.2;
    letter-spacing: -0.6px;
    text-wrap: balance;
  }
  .feature-block__content > p {
    grid-column: 1 / -1;
    margin: 16px 0 22px;
    font-size: 15.5px;
    line-height: 1.6;
  }
  .feature-block__list {
    grid-column: 1 / -1;
    max-width: none;
    margin: 0;
    gap: 12px;
  }
  .feature-block__list li {
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.5;
  }
  .feature-block__list li svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2.5px;
  }
}

@media (max-width: 640px) {
  .feature-more { padding: 16px 0 56px; }
  .feature-more .section-head { margin-bottom: 26px; }
  .more-grid { gap: 12px; }
  .more-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 10px;
    align-items: center;
    padding: 18px;
  }
  .more-card h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
  }
  .more-card p {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
  }
}
