:root {
  color-scheme: dark;
  --guide-bg: #05030d;
  --guide-bg-deep: #020108;
  --guide-surface: rgba(13, 8, 30, 0.76);
  --guide-surface-strong: rgba(18, 10, 40, 0.94);
  --guide-surface-soft: rgba(255, 255, 255, 0.035);
  --guide-border: rgba(128, 109, 214, 0.24);
  --guide-border-strong: rgba(0, 255, 204, 0.34);
  --guide-text: #f8f6ff;
  --guide-text-soft: #c9c3dc;
  --guide-text-muted: #948aa9;
  --guide-magenta: #ff3b86;
  --guide-purple: #9b5cff;
  --guide-blue: #38a7ff;
  --guide-cyan: #37f2d0;
  --guide-green: #7ef0b5;
  --guide-yellow: #ffd166;
  --guide-danger: #ff6b8f;
  --guide-focus: #8fffe9;
  --guide-gradient: linear-gradient(
    112deg,
    var(--guide-magenta) 0%,
    var(--guide-purple) 34%,
    var(--guide-blue) 67%,
    var(--guide-cyan) 100%
  );
  --guide-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.018) inset;
  --guide-header-height: 74px;
  --guide-reading-width: 70ch;
  --guide-shell-width: 1480px;
  --guide-radius-sm: 10px;
  --guide-radius-md: 16px;
  --guide-radius-lg: 24px;
  --guide-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --guide-font-mono: "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--guide-header-height) + 28px);
}

body.guide-page {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% -8%, rgba(255, 0, 85, 0.15), transparent 38rem),
    radial-gradient(circle at 88% 8%, rgba(0, 136, 255, 0.15), transparent 42rem),
    linear-gradient(155deg, var(--guide-bg) 0%, #080415 48%, var(--guide-bg-deep) 100%);
  color: var(--guide-text);
  font-family: var(--guide-font-sans);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.guide-page::before,
body.guide-page::after {
  position: fixed;
  z-index: -2;
  width: min(72vw, 980px);
  height: min(72vw, 980px);
  border-radius: 50%;
  content: "";
  filter: blur(14px);
  opacity: 0.7;
  pointer-events: none;
  will-change: transform;
}

body.guide-page::before {
  top: -42vw;
  left: -24vw;
  background: radial-gradient(circle, rgba(153, 0, 255, 0.2), transparent 68%);
  animation: guide-aurora-one 22s ease-in-out infinite alternate;
}

body.guide-page::after {
  right: -30vw;
  bottom: -46vw;
  background: radial-gradient(circle, rgba(0, 255, 204, 0.13), transparent 68%);
  animation: guide-aurora-two 26s ease-in-out infinite alternate;
}

@keyframes guide-aurora-one {
  from {
    transform: translate3d(-2vw, -1vh, 0) scale(0.96);
  }
  to {
    transform: translate3d(12vw, 9vh, 0) scale(1.14);
  }
}

@keyframes guide-aurora-two {
  from {
    transform: translate3d(3vw, 2vh, 0) scale(1.08);
  }
  to {
    transform: translate3d(-10vw, -8vh, 0) scale(0.94);
  }
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--guide-cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #a5ffef;
}

:focus-visible {
  outline: 3px solid var(--guide-focus);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.guide-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

::selection {
  background: rgba(55, 242, 208, 0.26);
  color: #fff;
}

.guide-skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 9px 14px;
  transform: translateY(-180%);
  border: 1px solid var(--guide-border-strong);
  border-radius: var(--guide-radius-sm);
  background: #120b27;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  transition: transform 140ms ease;
}

.guide-skip-link:focus {
  transform: translateY(0);
}

.guide-shell {
  position: relative;
  z-index: 0;
  min-height: 100vh;
}

.guide-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(190px, auto) minmax(260px, 620px) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: var(--guide-header-height);
  padding: 11px clamp(16px, 3.2vw, 52px);
  border-bottom: 1px solid rgba(132, 111, 217, 0.2);
  background:
    linear-gradient(90deg, rgba(255, 0, 85, 0.025), rgba(0, 136, 255, 0.025)),
    rgba(7, 4, 17, 0.8);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.guide-header__inner,
.guide-header-inner {
  display: contents;
}

.guide-header [data-guide-home],
.guide-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  color: var(--guide-text);
  font-size: 0.98rem;
  font-weight: 780;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.guide-header [data-guide-home] img,
.guide-brand img,
.guide-brand__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 11px;
  filter: drop-shadow(0 0 13px rgba(0, 255, 204, 0.2));
}

.guide-brand > [aria-hidden="true"] {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(55, 242, 208, 0.26);
  border-radius: 11px;
  background:
    linear-gradient(145deg, rgba(255, 59, 134, 0.13), rgba(56, 167, 255, 0.15), rgba(55, 242, 208, 0.11));
  box-shadow: 0 0 20px rgba(0, 136, 255, 0.1);
  color: var(--guide-cyan);
  font-size: 1.05rem;
}

.guide-brand__copy {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.guide-brand__eyebrow {
  color: var(--guide-text-muted);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.guide-search-form,
[data-guide-search-form] {
  position: relative;
  width: 100%;
  max-width: 620px;
  justify-self: center;
}

.guide-search-field {
  position: relative;
}

.guide-search-field::before,
[data-guide-search-form]:not(:has(.guide-search-field))::before {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 15px;
  height: 15px;
  transform: translateY(-55%);
  border: 2px solid var(--guide-text-muted);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.guide-search-field::after,
[data-guide-search-form]:not(:has(.guide-search-field))::after {
  position: absolute;
  top: calc(50% + 5px);
  left: 28px;
  width: 7px;
  height: 2px;
  transform: rotate(45deg);
  border-radius: 2px;
  background: var(--guide-text-muted);
  content: "";
  pointer-events: none;
}

[data-guide-search] {
  width: 100%;
  min-height: 44px;
  padding: 9px 76px 9px 43px;
  border: 1px solid rgba(137, 117, 215, 0.25);
  border-radius: 999px;
  outline: none;
  background:
    linear-gradient(rgba(15, 9, 34, 0.94), rgba(15, 9, 34, 0.94)) padding-box,
    var(--guide-gradient) border-box;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  color: var(--guide-text);
  font-size: 0.92rem;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease;
}

[data-guide-search]::placeholder {
  color: #817695;
}

[data-guide-search]:hover {
  border-color: rgba(55, 242, 208, 0.3);
}

[data-guide-search]:focus-visible {
  border-color: transparent;
  outline: none;
  box-shadow:
    0 0 0 3px rgba(55, 242, 208, 0.2),
    0 12px 34px rgba(0, 0, 0, 0.3);
}

.guide-search-shortcut {
  position: absolute;
  top: 50%;
  right: 13px;
  display: inline-grid;
  min-width: 28px;
  min-height: 25px;
  transform: translateY(-50%);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--guide-text-muted);
  font-family: var(--guide-font-mono);
  font-size: 0.72rem;
  line-height: 1;
  pointer-events: none;
}

.guide-search-results,
[data-guide-search-results] {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  z-index: 160;
  max-height: min(68vh, 560px);
  padding: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(127, 106, 215, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(21, 12, 45, 0.98), rgba(8, 5, 20, 0.98));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
}

.guide-search-result {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--guide-text-soft);
  text-decoration: none;
}

.guide-search-result + .guide-search-result {
  margin-top: 3px;
}

.guide-search-result:hover,
.guide-search-result.is-active {
  border-color: rgba(55, 242, 208, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 59, 134, 0.07), rgba(56, 167, 255, 0.09), rgba(55, 242, 208, 0.06));
  color: #fff;
}

.guide-search-result:focus-visible {
  outline-offset: -2px;
}

.guide-search-result__meta {
  color: var(--guide-cyan);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.guide-search-result__title {
  color: #fff;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.35;
}

.guide-search-result__summary {
  display: -webkit-box;
  overflow: hidden;
  color: var(--guide-text-muted);
  font-size: 0.79rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.guide-search-empty {
  padding: 22px 16px;
  color: var(--guide-text-muted);
  font-size: 0.88rem;
  text-align: center;
}

.guide-search-status,
[data-guide-search-status] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.guide-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  justify-self: end;
  border: 1px solid var(--guide-border);
  border-radius: 12px;
  background: var(--guide-surface);
  color: var(--guide-text);
  cursor: pointer;
}

.guide-nav-toggle:hover {
  border-color: var(--guide-border-strong);
  background: rgba(55, 242, 208, 0.07);
}

.guide-nav-toggle svg {
  width: 21px;
  height: 21px;
  pointer-events: none;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(215px, 258px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 2.6vw, 40px);
  width: min(100%, var(--guide-shell-width));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 52px) clamp(16px, 3.2vw, 52px) 80px;
}

.guide-sidebar,
.guide-toc {
  position: sticky;
  top: calc(var(--guide-header-height) + 22px);
  max-height: calc(100vh - var(--guide-header-height) - 44px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(148, 138, 169, 0.34) transparent;
  scrollbar-width: thin;
}

.guide-sidebar {
  padding: 14px;
  border: 1px solid var(--guide-border);
  border-radius: var(--guide-radius-md);
  background:
    linear-gradient(160deg, rgba(255, 59, 134, 0.025), rgba(56, 167, 255, 0.025)),
    var(--guide-surface);
  box-shadow: var(--guide-shadow);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}

.guide-sidebar__title,
.guide-toc__title,
.guide-toc > h2 {
  margin: 0 0 11px;
  color: var(--guide-text-muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-nav-group + .guide-nav-group {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.guide-nav-group__title,
.guide-nav-group > h2 {
  margin: 0 8px 7px;
  color: #a89fbb;
  font-size: 0.67rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.guide-nav-group ul,
.guide-toc ul,
.guide-toc ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.guide-nav-home {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 11px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--guide-text-soft);
  font-size: 0.82rem;
  font-weight: 720;
  text-decoration: none;
}

.guide-nav-home:hover,
.guide-nav-home.is-active,
.guide-nav-home[aria-current="page"] {
  border-color: rgba(55, 242, 208, 0.22);
  background: rgba(55, 242, 208, 0.055);
  color: #fff;
}

.guide-nav-link {
  position: relative;
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 9px 7px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--guide-text-muted);
  font-size: 0.84rem;
  font-weight: 640;
  line-height: 1.3;
  text-decoration: none;
  transition:
    color 140ms ease,
    border-color 140ms ease,
    background-color 140ms ease,
    transform 140ms ease;
}

.guide-nav-link:hover {
  transform: translateX(2px);
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
  color: var(--guide-text);
}

.guide-nav-link.is-active,
.guide-nav-link[aria-current="page"] {
  border-color: rgba(55, 242, 208, 0.2);
  background:
    linear-gradient(90deg, rgba(255, 59, 134, 0.08), rgba(56, 167, 255, 0.08), rgba(55, 242, 208, 0.07));
  box-shadow: 0 0 18px rgba(55, 242, 208, 0.055);
  color: #fff;
}

.guide-nav-link.is-active::before,
.guide-nav-link[aria-current="page"]::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: var(--guide-gradient);
  box-shadow: 0 0 9px rgba(55, 242, 208, 0.45);
  content: "";
}

.guide-main {
  min-width: 0;
}

.guide-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(178px, 224px);
  align-items: start;
  gap: clamp(18px, 2.6vw, 40px);
}

.guide-article,
.guide-hero,
.guide-library {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--guide-border);
  border-radius: var(--guide-radius-lg);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.028), transparent 34%),
    rgba(11, 7, 26, 0.78);
  box-shadow: var(--guide-shadow);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
}

.guide-article::before,
.guide-hero::before {
  position: absolute;
  top: 0;
  right: 9%;
  left: 9%;
  height: 1px;
  background: var(--guide-gradient);
  content: "";
  opacity: 0.72;
}

.guide-article {
  padding: clamp(24px, 4.8vw, 62px);
}

.guide-hero {
  padding: clamp(30px, 5vw, 66px);
}

.guide-hero::after {
  position: absolute;
  top: -160px;
  right: -130px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 136, 255, 0.15), transparent 68%);
  content: "";
  pointer-events: none;
}

.guide-hero__eyebrow,
.guide-article__eyebrow,
.guide-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--guide-cyan);
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guide-hero h1,
.guide-article > h1,
.guide-article-header h1 {
  position: relative;
  z-index: 1;
  max-width: 18ch;
  margin: 0;
  background: linear-gradient(108deg, #fff 15%, #ddd6f5 54%, #9fffea 100%);
  background-clip: text;
  color: transparent;
  font-size: clamp(2rem, 4.8vw, 4.35rem);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.guide-article > h1,
.guide-article-header h1 {
  max-width: 22ch;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.guide-hero__summary,
.guide-article__summary,
.guide-hero > p:not(.guide-eyebrow),
.guide-article-summary {
  position: relative;
  z-index: 1;
  max-width: 64ch;
  margin: 18px 0 0;
  color: var(--guide-text-soft);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.72;
}

.guide-hero__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.guide-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.guide-primary-action,
.guide-secondary-action,
.guide-settings-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 0.84rem;
  font-weight: 760;
  text-decoration: none;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease,
    background-color 140ms ease;
}

.guide-primary-action,
.guide-settings-cta {
  border-color: rgba(55, 242, 208, 0.28);
  background:
    linear-gradient(90deg, rgba(255, 59, 134, 0.12), rgba(56, 167, 255, 0.15), rgba(55, 242, 208, 0.13));
  box-shadow: 0 8px 24px rgba(0, 136, 255, 0.1);
  color: #fff;
}

.guide-secondary-action {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--guide-text-soft);
}

.guide-primary-action:hover,
.guide-secondary-action:hover,
.guide-settings-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(55, 242, 208, 0.5);
  box-shadow: 0 12px 30px rgba(0, 136, 255, 0.15);
  color: #fff;
}

.guide-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  max-width: var(--guide-reading-width);
  margin: 0 auto 22px;
  color: var(--guide-text-muted);
  font-size: 0.76rem;
}

.guide-breadcrumbs a {
  color: var(--guide-text-soft);
  text-decoration: none;
}

.guide-breadcrumbs a:hover {
  color: var(--guide-cyan);
}

.guide-breadcrumbs__separator {
  color: #615873;
}

.guide-article-header {
  max-width: var(--guide-reading-width);
  margin: 0 auto;
}

.guide-article-header .guide-settings-cta {
  margin-top: 20px;
}

.guide-content {
  width: 100%;
  max-width: var(--guide-reading-width);
  margin: clamp(28px, 4vw, 44px) auto 0;
  color: var(--guide-text-soft);
}

.guide-content > :first-child {
  margin-top: 0;
}

.guide-content > :last-child {
  margin-bottom: 0;
}

.guide-content h2,
.guide-content h3,
.guide-content h4 {
  position: relative;
  color: var(--guide-text);
  font-weight: 780;
  letter-spacing: -0.022em;
  line-height: 1.24;
  scroll-margin-top: calc(var(--guide-header-height) + 28px);
}

.guide-content h2 {
  padding-top: 9px;
  margin: 2.7em 0 0.72em;
  font-size: clamp(1.52rem, 2.4vw, 2rem);
}

.guide-content h2::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: var(--guide-gradient);
  content: "";
}

.guide-content h3 {
  margin: 2.15em 0 0.62em;
  font-size: clamp(1.18rem, 1.8vw, 1.42rem);
}

.guide-content h4 {
  margin: 1.8em 0 0.55em;
  font-size: 1rem;
}

.guide-content p,
.guide-content ul,
.guide-content ol,
.guide-content blockquote,
.guide-content pre,
.guide-content .guide-table-wrap,
.guide-content table,
.guide-content figure {
  margin-top: 1.15em;
  margin-bottom: 1.15em;
}

.guide-content p {
  line-height: 1.76;
}

.guide-content strong {
  color: #fff;
  font-weight: 750;
}

.guide-content em {
  color: #ddd6ed;
}

.guide-content ul,
.guide-content ol {
  padding-left: 1.45em;
}

.guide-content li {
  padding-left: 0.22em;
}

.guide-content li + li {
  margin-top: 0.4em;
}

.guide-content li::marker {
  color: var(--guide-cyan);
  font-weight: 760;
}

.guide-content a:not(.guide-primary-action, .guide-secondary-action, .guide-settings-cta) {
  overflow-wrap: anywhere;
}

.guide-content hr {
  height: 1px;
  margin: 2.8em 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--guide-border), transparent);
}

.guide-content blockquote,
.guide-callout {
  position: relative;
  padding: 15px 18px 15px 20px;
  overflow: hidden;
  border: 1px solid rgba(56, 167, 255, 0.2);
  border-left: 3px solid var(--guide-blue);
  border-radius: 0 var(--guide-radius-sm) var(--guide-radius-sm) 0;
  background: rgba(56, 167, 255, 0.055);
  color: #d7d1e5;
}

.guide-content blockquote > :first-child,
.guide-callout > :first-child {
  margin-top: 0;
}

.guide-content blockquote > :last-child,
.guide-callout > :last-child {
  margin-bottom: 0;
}

.guide-callout--note {
  border-color: rgba(55, 242, 208, 0.22);
  border-left-color: var(--guide-cyan);
  background: rgba(55, 242, 208, 0.055);
}

.guide-callout--important {
  border-color: rgba(155, 92, 255, 0.25);
  border-left-color: var(--guide-purple);
  background: rgba(155, 92, 255, 0.065);
}

.guide-callout--warning {
  border-color: rgba(255, 209, 102, 0.26);
  border-left-color: var(--guide-yellow);
  background: rgba(255, 209, 102, 0.055);
}

.guide-callout--danger {
  border-color: rgba(255, 107, 143, 0.28);
  border-left-color: var(--guide-danger);
  background: rgba(255, 107, 143, 0.06);
}

.guide-callout__title,
.guide-callout-label {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-content code {
  padding: 0.12em 0.38em;
  border: 1px solid rgba(155, 92, 255, 0.16);
  border-radius: 6px;
  background: rgba(155, 92, 255, 0.09);
  color: #e2d8ff;
  font-family: var(--guide-font-mono);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.guide-content pre {
  position: relative;
  max-width: 100%;
  padding: 18px 20px;
  overflow: auto;
  border: 1px solid rgba(126, 107, 204, 0.22);
  border-radius: 13px;
  background:
    linear-gradient(150deg, rgba(155, 92, 255, 0.045), transparent 35%),
    rgba(3, 2, 10, 0.88);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
  scrollbar-color: rgba(148, 138, 169, 0.4) transparent;
  scrollbar-width: thin;
  tab-size: 2;
}

.guide-code-block {
  position: relative;
  max-width: 100%;
  margin: 1.15em 0;
}

.guide-code-block::before {
  position: absolute;
  top: 9px;
  right: 12px;
  z-index: 1;
  color: var(--guide-text-muted);
  content: attr(data-language);
  font-family: var(--guide-font-mono);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.guide-code-block pre {
  margin: 0;
  padding-top: 35px;
}

.guide-content pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: #dcd5eb;
  font-size: 0.82rem;
  line-height: 1.65;
  overflow-wrap: normal;
  white-space: pre;
}

.guide-code-language {
  position: absolute;
  top: 8px;
  right: 10px;
  color: var(--guide-text-muted);
  font-family: var(--guide-font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--guide-border);
  border-radius: 13px;
  background: rgba(6, 3, 16, 0.54);
  scrollbar-color: rgba(148, 138, 169, 0.42) transparent;
  scrollbar-width: thin;
}

.guide-content table {
  width: 100%;
  min-width: 580px;
  margin: 0;
  border-spacing: 0;
  border-collapse: separate;
  color: var(--guide-text-soft);
  font-size: 0.87rem;
  line-height: 1.5;
}

.guide-content > table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--guide-border);
  border-radius: 13px;
  scrollbar-color: rgba(148, 138, 169, 0.42) transparent;
  scrollbar-width: thin;
}

.guide-content th,
.guide-content td {
  padding: 11px 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  text-align: left;
  vertical-align: top;
}

.guide-content .guide-align-left {
  text-align: left;
}

.guide-content .guide-align-center {
  text-align: center;
}

.guide-content .guide-align-right {
  text-align: right;
}

.guide-content th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(22, 13, 46, 0.98);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.035em;
}

.guide-content tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.018);
}

.guide-content tr:hover td {
  background: rgba(55, 242, 208, 0.025);
}

.guide-content th:last-child,
.guide-content td:last-child {
  border-right: 0;
}

.guide-content tbody tr:last-child td {
  border-bottom: 0;
}

.guide-content figure {
  max-width: 100%;
}

.guide-content img,
.guide-article img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.6em auto;
  border: 1px solid rgba(132, 111, 217, 0.28);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.guide-content figcaption {
  margin: -0.7em auto 1.7em;
  color: var(--guide-text-muted);
  font-size: 0.78rem;
  text-align: center;
}

.guide-main--home {
  display: grid;
  gap: 20px;
}

.guide-popular-tasks,
.guide-category,
.guide-callout {
  border: 1px solid var(--guide-border);
  border-radius: var(--guide-radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.024), transparent 35%),
    rgba(11, 7, 26, 0.7);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.guide-popular-tasks,
.guide-category {
  padding: clamp(22px, 3.4vw, 36px);
}

.guide-popular-tasks > header,
.guide-category > header {
  margin-bottom: 17px;
}

.guide-popular-tasks > header h2,
.guide-category > header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.guide-popular-tasks > header p,
.guide-category > header p {
  margin: 7px 0 0;
  color: var(--guide-text-muted);
  font-size: 0.9rem;
}

.guide-popular-tasks > header .guide-eyebrow {
  margin: 0 0 6px;
  color: var(--guide-cyan);
  font-size: 0.69rem;
}

.guide-callout {
  padding: 20px 22px 20px 24px;
  border-color: rgba(55, 242, 208, 0.2);
  border-left: 3px solid var(--guide-cyan);
  border-radius: 0 var(--guide-radius-md) var(--guide-radius-md) 0;
  background:
    linear-gradient(90deg, rgba(55, 242, 208, 0.065), rgba(56, 167, 255, 0.025)),
    rgba(11, 7, 26, 0.72);
}

.guide-callout h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.98rem;
}

.guide-callout p {
  margin: 0;
  color: var(--guide-text-soft);
  font-size: 0.86rem;
}

.guide-callout.guide-callout--note {
  border-color: rgba(55, 242, 208, 0.22);
  border-left-color: var(--guide-cyan);
  background:
    linear-gradient(90deg, rgba(55, 242, 208, 0.065), rgba(56, 167, 255, 0.025)),
    rgba(11, 7, 26, 0.72);
}

.guide-callout.guide-callout--important {
  border-color: rgba(155, 92, 255, 0.3);
  border-left-color: var(--guide-purple);
  background:
    linear-gradient(90deg, rgba(155, 92, 255, 0.1), rgba(255, 59, 134, 0.025)),
    rgba(11, 7, 26, 0.72);
}

.guide-callout.guide-callout--warning {
  border-color: rgba(255, 209, 102, 0.28);
  border-left-color: var(--guide-yellow);
  background:
    linear-gradient(90deg, rgba(255, 209, 102, 0.08), transparent),
    rgba(11, 7, 26, 0.72);
}

.guide-callout.guide-callout--danger {
  border-color: rgba(255, 107, 143, 0.3);
  border-left-color: var(--guide-danger);
  background:
    linear-gradient(90deg, rgba(255, 107, 143, 0.09), transparent),
    rgba(11, 7, 26, 0.72);
}

.guide-task-section {
  margin-top: clamp(24px, 3.6vw, 42px);
}

.guide-section-heading {
  margin: 0 0 14px;
  color: var(--guide-text);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  letter-spacing: -0.02em;
}

.guide-task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.guide-task-card {
  position: relative;
  display: grid;
  min-height: 146px;
  align-content: start;
  gap: 8px;
  padding: 19px;
  overflow: hidden;
  border: 1px solid var(--guide-border);
  border-radius: var(--guide-radius-md);
  background:
    linear-gradient(145deg, rgba(255, 59, 134, 0.035), rgba(56, 167, 255, 0.035) 54%, rgba(55, 242, 208, 0.025)),
    rgba(13, 8, 30, 0.7);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  color: var(--guide-text-soft);
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.guide-task-card::after {
  position: absolute;
  right: -28px;
  bottom: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 242, 208, 0.1), transparent 68%);
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.guide-task-card:hover {
  transform: translateY(-3px);
  border-color: rgba(55, 242, 208, 0.32);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.26),
    0 0 22px rgba(0, 136, 255, 0.07);
  color: #fff;
}

.guide-task-card:hover::after {
  transform: scale(1.22);
}

.guide-task-card__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(55, 242, 208, 0.2);
  border-radius: 10px;
  background: rgba(55, 242, 208, 0.065);
  color: var(--guide-cyan);
}

.guide-task-card__title,
.guide-task-card h3 {
  margin: 0;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1.35;
}

.guide-task-card__summary,
.guide-task-card p {
  margin: 0;
  color: var(--guide-text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.guide-task-card__meta,
.guide-task-label {
  position: relative;
  z-index: 1;
  color: var(--guide-cyan);
  font-size: 0.66rem;
  font-weight: 790;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.guide-card-action {
  margin-top: auto;
  color: var(--guide-cyan);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guide-article-card {
  position: relative;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(155, 92, 255, 0.035), rgba(56, 167, 255, 0.02)),
    rgba(255, 255, 255, 0.018);
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease;
}

.guide-article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(55, 242, 208, 0.23);
  background-color: rgba(55, 242, 208, 0.022);
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.18);
}

.guide-article-card h3 {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.38;
}

.guide-article-card h3 a {
  color: #fff;
  text-decoration: none;
}

.guide-article-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.guide-article-card h3 a:focus-visible {
  outline: none;
}

.guide-article-card:has(h3 a:focus-visible) {
  outline: 3px solid var(--guide-focus);
  outline-offset: 3px;
}

.guide-article-card > p {
  margin: 8px 0 0;
  color: var(--guide-text-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.guide-task-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 13px 0 0;
  list-style: none;
}

.guide-task-list li {
  padding: 3px 7px;
  border: 1px solid rgba(55, 242, 208, 0.12);
  border-radius: 999px;
  background: rgba(55, 242, 208, 0.035);
  color: #aaa2ba;
  font-size: 0.66rem;
  line-height: 1.35;
}

.guide-library {
  margin-top: 18px;
  padding: clamp(20px, 3.2vw, 34px);
}

.guide-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.guide-library-link {
  display: grid;
  gap: 3px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.022);
  color: var(--guide-text-soft);
  text-decoration: none;
}

.guide-library-link:hover {
  border-color: rgba(55, 242, 208, 0.2);
  background: rgba(55, 242, 208, 0.035);
  color: #fff;
}

.guide-library-link__title {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 720;
}

.guide-library-link__summary {
  color: var(--guide-text-muted);
  font-size: 0.75rem;
}

.guide-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--guide-reading-width);
  margin: 42px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.guide-pagination__link,
.guide-pagination-link {
  display: grid;
  gap: 3px;
  min-height: 76px;
  align-content: center;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.022);
  color: var(--guide-text-soft);
  text-decoration: none;
}

.guide-pagination__link:last-child,
.guide-pagination-link--next {
  text-align: right;
}

.guide-pagination__link:hover,
.guide-pagination-link:hover {
  border-color: rgba(55, 242, 208, 0.23);
  background: rgba(55, 242, 208, 0.035);
  color: #fff;
}

.guide-pagination__label {
  color: var(--guide-text-muted);
  font-size: 0.65rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.guide-pagination__title {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 720;
}

.guide-pagination-link > span {
  color: var(--guide-text-muted);
  font-size: 0.65rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.guide-pagination-link > strong {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 720;
}

.guide-toc {
  padding: 4px 2px 10px 13px;
  border-left: 1px solid rgba(132, 111, 217, 0.18);
}

.guide-toc-link {
  position: relative;
  display: block;
  padding: 5px 8px 5px 11px;
  color: #857b99;
  font-size: 0.76rem;
  line-height: 1.38;
  text-decoration: none;
  transition: color 130ms ease, transform 130ms ease;
}

.guide-toc-link:hover {
  transform: translateX(2px);
  color: var(--guide-text-soft);
}

.guide-toc-link.is-active,
.guide-toc-link[aria-current="location"] {
  color: #fff;
}

.guide-toc-link.is-active::before,
.guide-toc-link[aria-current="location"]::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: -14px;
  width: 2px;
  border-radius: 999px;
  background: var(--guide-cyan);
  box-shadow: 0 0 8px rgba(55, 242, 208, 0.55);
  content: "";
}

.guide-toc-link[data-level="3"],
.guide-toc .guide-toc__nested .guide-toc-link,
.guide-toc-level-3 .guide-toc-link {
  padding-left: 20px;
  font-size: 0.72rem;
}

.guide-footer {
  width: min(100% - 32px, var(--guide-shell-width));
  margin: 0 auto;
  padding: 0 0 36px;
  color: var(--guide-text-muted);
  font-size: 0.76rem;
  text-align: center;
}

.guide-sidebar-backdrop,
[data-guide-sidebar-backdrop] {
  position: fixed;
  inset: 0;
  z-index: 115;
  border: 0;
  background: rgba(2, 1, 8, 0.68);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

@media (max-width: 1180px) {
  .guide-layout {
    grid-template-columns: minmax(205px, 246px) minmax(0, 1fr);
  }

  .guide-article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-toc {
    display: none;
  }
}

@media (max-width: 880px) {
  :root {
    --guide-header-height: 70px;
  }

  .guide-header {
    grid-template-columns: minmax(160px, auto) minmax(190px, 1fr) 44px;
    gap: 10px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .guide-nav-toggle {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
  }

  .guide-layout {
    display: block;
    z-index: auto;
    padding: 24px clamp(13px, 3vw, 24px) 64px;
  }

  .guide-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    width: min(86vw, 330px);
    max-height: none;
    padding: 84px 16px 24px;
    transform: translateX(calc(-100% - 28px));
    border-width: 0 1px 0 0;
    border-radius: 0 20px 20px 0;
    background: rgba(10, 6, 24, 0.985);
    box-shadow: 28px 0 70px rgba(0, 0, 0, 0.44);
    visibility: hidden;
    transition:
      transform 190ms ease,
      visibility 190ms step-end;
  }

  .guide-sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
    transition:
      transform 190ms ease,
      visibility 0s step-start;
  }

  body.guide-nav-open {
    overflow: hidden;
  }

  .guide-article {
    padding: clamp(22px, 5vw, 42px);
  }

  .guide-content {
    max-width: none;
  }
}

@media (max-width: 660px) {
  :root {
    --guide-header-height: 126px;
  }

  .guide-header {
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    padding-top: 9px;
    padding-bottom: 10px;
  }

  .guide-header [data-guide-home],
  .guide-brand {
    min-height: 40px;
  }

  .guide-search-form,
  [data-guide-search-form] {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
  }

  [data-guide-search] {
    min-height: 42px;
  }

  .guide-nav-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .guide-layout {
    padding-top: 18px;
  }

  .guide-hero,
  .guide-article {
    border-radius: 18px;
  }

  .guide-hero {
    padding: 27px 22px 30px;
  }

  .guide-hero h1,
  .guide-article > h1,
  .guide-article-header h1 {
    font-size: clamp(1.9rem, 10vw, 2.65rem);
  }

  .guide-article {
    padding: 24px 19px 30px;
  }

  .guide-task-grid,
  .guide-article-grid,
  .guide-library-grid,
  .guide-pagination {
    grid-template-columns: 1fr;
  }

  .guide-task-card {
    min-height: 128px;
  }

  .guide-pagination__link:last-child,
  .guide-pagination-link--next {
    text-align: left;
  }

  .guide-content h2 {
    font-size: 1.48rem;
  }

  .guide-content pre {
    margin-right: -8px;
    margin-left: -8px;
    padding: 16px;
    border-radius: 11px;
  }

  .guide-table-wrap,
  .guide-content > table {
    width: calc(100% + 16px);
    max-width: none;
    margin-right: -8px;
    margin-left: -8px;
  }

  .guide-search-results,
  [data-guide-search-results] {
    position: fixed;
    top: calc(var(--guide-header-height) - 5px);
    right: 10px;
    left: 10px;
    max-height: min(66vh, 540px);
  }
}

@media (max-width: 420px) {
  .guide-header [data-guide-home] img,
  .guide-brand img,
  .guide-brand__icon {
    width: 34px;
    height: 34px;
  }

  .guide-brand__eyebrow {
    display: none;
  }

  .guide-hero__actions,
  .guide-hero-actions {
    display: grid;
  }

  .guide-primary-action,
  .guide-secondary-action,
  .guide-settings-cta {
    width: 100%;
  }
}

@media (prefers-contrast: more) {
  :root {
    --guide-border: rgba(182, 169, 235, 0.5);
    --guide-text-muted: #b7aec6;
  }

  .guide-sidebar,
  .guide-article,
  .guide-hero,
  .guide-task-card {
    background-color: #0c071d;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body.guide-page {
    background: #fff;
    color: #111;
    font-size: 11pt;
  }

  body.guide-page::before,
  body.guide-page::after,
  .guide-header,
  .guide-sidebar,
  .guide-toc,
  .guide-pagination,
  .guide-footer {
    display: none !important;
  }

  .guide-layout {
    display: block;
    width: 100%;
    padding: 0;
  }

  .guide-article,
  .guide-hero,
  .guide-library {
    padding: 0;
    overflow: visible;
    border: 0;
    background: #fff;
    box-shadow: none;
    color: #111;
  }

  .guide-content,
  .guide-content :is(h2, h3, h4, strong),
  .guide-hero h1,
  .guide-article > h1,
  .guide-article-header h1 {
    max-width: none;
    background: none;
    color: #111;
  }

  .guide-content a {
    color: #0645ad;
  }

  .guide-content pre,
  .guide-content code,
  .guide-content table,
  .guide-content th,
  .guide-content td {
    border-color: #bbb;
    background: #f6f6f6;
    color: #111;
  }

  .guide-content img {
    box-shadow: none;
    break-inside: avoid;
  }
}
