.radar-surface {
  --rd-rail: 224px;
  --rd-bar: 66px;
  --rd-gutter: clamp(20px, 2.7vw, 44px);
  --rd-bg: #101016;
  --rd-rail-bg: #141419;
  --rd-line: #2b2a32;
  --rd-text: #f2eff6;
  --rd-muted: #a8a5b4;
  --rd-accent: #c5aafa;
  margin: 0;
  padding-inline-start: var(--rd-rail);
  min-height: 100vh;
  color: var(--rd-text);
  background: var(--rd-bg);
}
.radar-surface .radar-layout {
  display: block;
  min-height: calc(100vh - var(--rd-bar));
  min-width: 0;
}
.radar-surface .radar-workspace {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 44px) var(--rd-gutter);
}
.radar-surface .radar-workspace > section[id] { scroll-margin-top: calc(var(--rd-bar) + 16px); }
.rd-icon { display: block; flex: none; width: 20px; height: 20px; }
.radar-surface .rd-icon-control, .radar-surface .rd-nav-link, .radar-surface .rd-platform,
.radar-surface .rd-brand, .radar-surface .rd-install, .radar-surface .rd-plan,
.radar-surface .rd-crumb-home {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font: inherit;
  text-decoration: none;
  border: 0;
  margin: 0;
  line-height: 1.25;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
.radar-surface :is(.rd-sidebar, .radar-bar) :is(a,button):focus-visible {
  outline: 2px solid #c4a8fa;
  outline-offset: 3px;
}
.radar-surface .rd-sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: var(--rd-rail);
  overflow: auto;
  scrollbar-width: thin;
  overscroll-behavior: contain;
  background: var(--rd-rail-bg);
  border-inline-end: 1px solid var(--rd-line);
}
.rd-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  min-height: var(--rd-bar);
  padding: 0 23px;
}
.radar-surface .rd-brand {
  gap: 11px;
  padding: 3px 0;
  color: #faf8fd;
  font-weight: 725;
  font-size: 22px;
  letter-spacing: -.045em;
}
.rd-brand img { display: block; width: 29px; height: 32px; border-radius: 0; }
.radar-surface .rd-nav {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 25px 14px 18px;
  background: transparent;
  border: 0;
  overflow: visible;
}
.rd-group { display: grid; gap: 3px; }
.radar-surface .rd-group-name {
  display: block;
  padding: 0 13px;
  margin: 0 0 6px;
  color: #9692a1;
  font-size: 12px;
  font-weight: 560;
  line-height: 1.5;
}
.radar-surface .rd-nav-link, .radar-surface .rd-platform {
  gap: 12px;
  width: 100%;
  min-height: 42px;
  padding: 9px 13px;
  color: #c2bfcc;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 540;
  font-size: 14px;
  white-space: normal;
}
.rd-nav-link .rd-icon { width: 19px; height: 19px; color: #aaa6b6; }
.radar-surface .rd-nav-link:hover, .radar-surface .rd-platform:hover {
  color: #faf7ff;
  background: #212129;
}
.radar-surface .rd-nav-link[aria-current] {
  color: #e8dafa;
  border-color: #483952;
  background: #32273e;
}
.rd-nav-link[aria-current] .rd-icon { color: #ccb0f6; }
.rd-sidebar-foot {
  display: grid;
  gap: 3px;
  margin: auto 14px 0;
  padding: 14px 0 max(20px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--rd-line);
}
.radar-surface .rd-platform { color: #b1adbc; }
.rd-platform .rd-icon { width: 17px; height: 17px; margin: 0 1px; }
.radar-surface .radar-bar {
  display: flex;
  position: sticky;
  z-index: 10;
  inset-block-start: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--rd-bar);
  padding: 0 var(--rd-gutter);
  border: 0;
  border-block-end: 1px solid var(--rd-line);
  background: #111116;
  color: var(--rd-text);
}
.rd-bar-start, .rd-actions, .rd-crumb { display: flex; align-items: center; min-width: 0; }
.rd-bar-start { gap: 9px; }
.rd-actions { flex-shrink: 0; gap: 12px; }
.rd-crumb { gap: 9px; }
.radar-bar .rd-crumb > .rd-icon { width: 11px; height: 11px; color: #787382; }
.radar-bar .rd-crumb-home { gap: 9px; padding: 6px 0; font-size: 13px; }
.radar-bar .rd-crumb-home, .radar-bar .rd-crumb-home span { color: var(--rd-muted); }
.radar-bar .rd-crumb-home .rd-icon { width: 16px; height: 16px; }
.radar-bar .rd-crumb-home:hover span { color: var(--rd-text); }
.radar-bar .rd-current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 620; }
.radar-surface .rd-menu, .radar-surface .rd-close { display: none; }
.radar-surface .rd-icon-control {
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  color: #b8b6c1;
  cursor: pointer;
}
.radar-surface .rd-icon-control:hover { background: #24232c; color: #fff; }
.radar-surface .rd-plan, .radar-surface .rd-install {
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 13px;
  font-weight: 620;
  font-size: 13px;
  border: 1px solid #35343e;
  border-radius: 9px;
}
.radar-surface .rd-plan { background: #1b1a21; color: #e4dfe9; }
.radar-surface .rd-plan:hover { background: #27242f; }
.radar-surface .rd-install { background: linear-gradient(155deg,#aa80e8,#9264d3 65%,#885ec5); border-color: #b58ce8; box-shadow: inset 0 1px 0 #ffffff47; color: #140d1e; }
.radar-surface .rd-install:hover { background: #b58be9; }
.radar-bar :is(.rd-plan,.rd-install) .rd-icon { width: 16px; height: 16px; }
.radar-bar :is(.rd-install,.rd-plan) .rd-link-label { color: inherit; }
.radar-surface .rd-help[aria-current], .radar-surface .rd-plan[aria-current] { outline: 1px solid #9775bc; color: #e9d6ff; }
.rd-mobile-brand, .rd-short-download { display: none; }
.rd-help .rd-link-label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.radar-surface .rd-scrim { display: none; }
@media (max-width: 760px) {
  .radar-surface { --rd-bar: 61px; --rd-gutter: clamp(16px,4.5vw,28px); padding-inline-start: 0; }
  .radar-surface .rd-sidebar { display: none; }
  .radar-surface.rd-drawer-open .rd-sidebar { display: flex; z-index: 32; width: min(286px,calc(100vw - 42px)); box-shadow: 18px 0 58px #08070b66; }
  .radar-surface.rd-drawer-open { overflow: hidden; }
  .radar-surface .rd-scrim:not([hidden]) {
    display: block; position: fixed; inset: 0; z-index: 30; width: 100%; height: 100%;
    margin: 0; padding: 0; border: 0; border-radius: 0; background: #08070b9c;
  }
  .radar-surface .rd-menu, .radar-surface .rd-close { display: inline-flex; }
  .radar-surface .rd-icon-control, .radar-surface .rd-plan { width: 42px; height: 42px; }
  .radar-surface .rd-nav-link, .radar-surface .rd-platform { min-height: 46px; }
  .radar-surface .radar-bar { gap: 5px; padding-inline: max(8px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right)); }
  .rd-actions { gap: 4px; }
  .rd-bar-start { flex: 1; gap: 2px; }
  .rd-crumb { gap: 5px; }
  .radar-bar .rd-crumb-home { justify-content: center; width: 36px; height: 42px; padding: 0; }
  .rd-mobile-brand { display: block; width: 22px; height: 25px; border-radius: 0; }
  .radar-bar .rd-crumb-home .rd-icon, .rd-crumb > .rd-icon { display: none; }
  .radar-bar .rd-crumb-home .rd-link-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .radar-surface .rd-plan { padding: 0; border-color: transparent; background: transparent; }
  .rd-plan .rd-link-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .radar-surface .rd-plan .rd-icon { width: 18px; height: 18px; }
  .radar-surface .rd-install { min-height: 40px; padding-inline: 10px; margin-left: 3px; gap: 5px; }
}
@media (max-width: 460px) {
  .radar-bar .rd-install .rd-link-label { display: none; }
  .radar-bar .rd-install .rd-short-download { display: inline; color: inherit; }
}
@media (max-width: 380px) {
  .rd-actions { gap: 0; }
  .radar-surface .rd-icon-control, .radar-surface .rd-plan { width: 36px; }
  .radar-surface .rd-install { font-size: 12px; padding-inline: 8px; }
}
