.guide-module-root,
:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
  --card-bg: #ffffff;
  --input-border: #cbd5e1;
}

[data-theme="dark"] {
  --bg: #0b0f1a;
  --bg-soft: #111827;
  --text: #e5e7eb;
  --text-muted: #94a3b8;
  --border: #273244;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.28);
  --card-bg: #111827;
  --input-border: #475569;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.guide-container {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
}

.guide-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

[data-theme="dark"] .guide-topbar {
  background: rgba(11, 15, 26, 0.92);
}

.guide-topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.guide-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}

.guide-brand-mark,
.guide-brand > span {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  flex: 0 0 auto;
}

img.guide-brand-mark {
  display: block;
  object-fit: cover;
}

span.guide-brand-mark,
.guide-brand > span {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4756b3, #6b75c9);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

.guide-brand-name,
.guide-brand > strong {
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.guide-brand-name span {
  color: var(--cyan);
}

.guide-site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.guide-site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.guide-site-nav a:hover,
.guide-site-nav a.active {
  color: var(--text);
}

.guide-nav-burt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guide-nav-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 7px;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.35);
}

.guide-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.guide-header-actions .btn {
  min-height: 32px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.guide-theme-toggle,
.guide-lang-trigger,
.guide-menu-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.guide-theme-toggle:hover,
.guide-lang-trigger:hover,
.guide-menu-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #eff6ff;
}

[data-theme="dark"] .guide-theme-toggle:hover,
[data-theme="dark"] .guide-lang-trigger:hover,
[data-theme="dark"] .guide-menu-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.1);
}

.guide-theme-toggle {
  padding: 0;
  flex-shrink: 0;
}

.guide-theme-toggle span {
  font-size: 1.35rem;
  line-height: 1;
}

.guide-theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .guide-theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .guide-theme-toggle .icon-sun {
  display: block;
}

.guide-lang-dropdown {
  position: relative;
  flex-shrink: 0;
}

.guide-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.guide-lang-trigger svg {
  flex-shrink: 0;
}

.guide-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 200;
  min-width: 100px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.guide-lang-dropdown.is-open .guide-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.guide-lang-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.12s, color 0.12s;
}

.guide-lang-menu a:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.guide-lang-menu a.active {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.06);
}

.guide-menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.guide-menu-toggle span,
.guide-menu-toggle::before,
.guide-menu-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--text);
  transition: 0.2s ease;
}

.guide-mobile-nav {
  display: none;
  padding: 0 0 18px;
}

.guide-mobile-nav.open {
  display: block;
}

.guide-mobile-nav-panel {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card-bg);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.guide-mobile-nav a {
  width: 100%;
  display: block;
  border-radius: 10px;
  padding: 14px 12px;
  color: var(--text);
  font-weight: 600;
  text-align: left;
}

.guide-mobile-nav a:hover {
  background: var(--bg-soft);
}

.guide-mobile-nav a.active {
  color: var(--blue);
}

.guide-mobile-nav a.guide-mobile-btn {
  display: flex;
  margin-top: 8px;
  justify-content: center;
  text-align: center;
}

.guide-mobile-btn-primary,
.guide-mobile-nav a.guide-mobile-btn-primary {
  color: #fff;
}

.guide-module-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-module-nav a,
.guide-module-nav button {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text);
  padding: 9px 13px;
  font-size: 0.9rem;
  font-weight: 800;
}

.guide-module-nav form {
  margin: 0;
}

.guide-module-nav button {
  cursor: pointer;
}

.guide-admin-lang-menu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-soft);
  padding: 4px;
}

.guide-admin-lang-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0 9px;
}

.guide-admin-lang-menu a.active,
.guide-admin-lang-menu a:hover {
  background: var(--card-bg);
  color: var(--blue);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.guide-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-muted);
  padding: 28px 0;
}

.guide-footer .guide-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.guide-footer strong {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 900;
}

.btn-primary {
  border-color: transparent;
  background: var(--blue);
  color: #fff;
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text);
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.guide-page {
  background: var(--bg);
  color: var(--text);
}

.guide-index-hero {
  padding: 92px 0 76px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.08) 44%, rgba(255, 255, 255, 0) 100%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.guide-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 58px;
  align-items: center;
}

.guide-hero-copy h1 {
  max-width: 820px;
  margin: 10px 0 0;
  color: var(--text);
  font-size: 4.2rem;
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.guide-lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.guide-home-search,
.guide-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.guide-home-search {
  width: min(100%, 700px);
  margin-top: 30px;
}

.guide-home-search input,
.guide-search input {
  width: 100%;
  min-height: 58px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0 20px;
  outline: none;
}

.guide-home-search button,
.guide-search button,
.guide-admin-link {
  border: 0;
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%);
  color: #ffffff;
  font-weight: 800;
}

.guide-home-search button,
.guide-search button {
  min-height: 58px;
}

.guide-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.guide-stat-row span,
.guide-doc-mini-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text-muted);
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 800;
}

.guide-stat-row strong,
.guide-doc-mini-stats strong {
  color: var(--text);
  font-size: 1.05rem;
}

.guide-hero-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  padding: 22px;
  overflow: hidden;
}

.guide-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.guide-panel-head span {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.guide-panel-head strong {
  color: var(--text);
}

.guide-panel-search {
  height: 46px;
  margin: 18px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.12)),
    var(--bg-soft);
}

.guide-panel-list {
  display: grid;
  gap: 12px;
}

.guide-panel-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text);
  padding: 12px;
  font-weight: 700;
}

.guide-panel-list i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
}

.guide-panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.guide-panel-metrics span {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.guide-panel-metrics strong {
  display: block;
  color: var(--text);
  font-size: 1.35rem;
}

.guide-index-section {
  padding: 76px 0 100px;
}

.guide-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.guide-section-header h2 {
  margin: 6px 0 0;
  font-size: 2.2rem;
  line-height: 1.18;
}

.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.guide-home-card {
  min-height: 230px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  padding: 26px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.guide-home-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: var(--shadow-soft);
}

.guide-home-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(6, 182, 212, 0.16));
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.guide-card-copy,
.guide-home-card strong,
.guide-home-card small,
.guide-home-card em,
.guide-card-footer {
  display: block;
}

.guide-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.guide-home-card strong {
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1.25;
}

.guide-home-card em {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.guide-home-card small {
  min-height: 78px;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.65;
}

.guide-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.guide-card-footer b {
  color: var(--blue);
}

.guide-doc-hero {
  padding: 46px 0;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.09) 0%, rgba(6, 182, 212, 0.08) 62%, rgba(34, 197, 94, 0.06) 100%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.guide-doc-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 40px;
  align-items: center;
}

.guide-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.guide-breadcrumb a:hover,
.guide-breadcrumb strong {
  color: var(--blue);
}

.guide-doc-title-block .eyebrow {
  margin-top: 22px;
}

.guide-doc-title-block h1 {
  max-width: 780px;
  margin: 10px 0 0;
  font-size: 3rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.guide-doc-summary {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.guide-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.guide-meta-row span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 800;
}

.guide-doc-search-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.guide-doc-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.guide-doc-mini-stats span {
  display: grid;
  align-items: start;
  min-height: 64px;
}

.guide-print-button {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  cursor: pointer;
  font-weight: 900;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.guide-print-button:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.guide-export-link {
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
}

.guide-export-actions {
  display: grid;
  gap: 12px;
}

.guide-doc-workspace {
  padding: 42px 0 90px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.98) 220px),
    var(--bg);
}

.guide-doc-workspace > .guide-container {
}

.guide-doc-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  justify-content: center;
}

.guide-doc-sidebar {
  position: sticky;
  top: 96px;
}

.guide-doc-sidebar {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.guide-sidebar-head {
  border-bottom: 1px solid var(--border);
  padding: 22px 22px 18px;
}

.guide-sidebar-head h2 {
  margin: 4px 0 2px;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.guide-sidebar-head span {
  display: block;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.guide-directory-list {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.guide-tree {
  margin: 0;
  border-radius: 8px;
}

.guide-tree summary {
  list-style: none;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--text);
  border-radius: 8px;
  padding: 10px 9px;
  font-weight: 850;
}

.guide-tree[open] summary {
  background: var(--bg-soft);
}

.guide-tree summary::-webkit-details-marker {
  display: none;
}

.guide-tree-index {
  width: 34px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 900;
}

.guide-tree[open] .guide-tree-index {
  background: #fff;
}

.guide-tree summary strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-tree summary em {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.guide-tree a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin: 4px 0 4px 16px;
  border-left: 2px solid var(--border);
  border-radius: 0 8px 8px 0;
  padding: 9px 10px 9px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.55;
}

.guide-tree a span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
}

.guide-tree a em {
  min-width: 0;
  font-style: normal;
}

.guide-tree a.active,
.guide-tree a:hover {
  border-left-color: var(--blue);
  background: rgba(37, 99, 235, 0.07);
  color: var(--blue);
}

.guide-doc-article {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.05);
  padding: 46px 64px;
}

.guide-export-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.guide-export-article {
  display: grid;
  gap: 42px;
}

.guide-export-cover {
  border-bottom: 1px solid var(--border);
  padding-bottom: 34px;
}

.guide-export-cover h2 {
  max-width: 820px;
  margin: 8px 0 0;
  font-size: 2.4rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.guide-export-cover p:not(.eyebrow) {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.guide-export-index {
  break-after: page;
}

.guide-export-index h2 {
  margin: 0 0 16px;
}

.guide-export-index ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 24px;
}

.guide-export-index li {
  color: var(--text-muted);
  font-weight: 800;
}

.guide-export-index a {
  color: var(--blue);
}

.guide-export-doc {
  border-top: 1px solid var(--border);
  padding-top: 34px;
}

.guide-export-doc + .guide-export-doc {
  margin-top: 18px;
}

.guide-export-doc-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 26px;
  break-after: avoid-page;
}

.guide-export-doc-head > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 36px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-weight: 950;
}

.guide-export-doc-head h2 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.guide-export-doc-head p {
  max-width: 940px;
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

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

.guide-body h2 {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  margin: 38px 0 14px;
  border-top: 1px solid var(--border);
  padding-top: 30px;
  scroll-margin-top: 104px;
  font-size: 1.42rem;
  letter-spacing: 0;
}

.guide-body h2:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.guide-body h3 {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  margin: 26px 0 10px;
  scroll-margin-top: 104px;
  font-size: 1.12rem;
}

.guide-body h2 span,
.guide-body h3 span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 28px;
  border-radius: 7px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.guide-body h2 > strong,
.guide-body h3 > strong {
  min-width: 0;
  font: inherit;
  line-height: inherit;
}

.guide-body h3 span {
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 0.72rem;
}

.guide-body p,
.guide-body li {
  color: #172033;
  max-width: 112ch;
  font-size: 1rem;
  line-height: 1.9;
}

.guide-body ul {
  display: grid;
  gap: 8px;
  max-width: 112ch;
  margin: 14px 0 0;
  padding-left: 72px;
}

.guide-body ol {
  display: grid;
  gap: 8px;
  max-width: 112ch;
  margin: 14px 0 0;
  padding-left: 72px;
}

.guide-note {
  position: relative;
  display: grid;
  gap: 6px;
  max-width: 112ch;
  margin: 18px 0;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.06));
  padding: 16px 18px 16px 20px;
}

.guide-note::before {
  content: "";
  position: absolute;
  inset: 16px auto 16px 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.guide-note p {
  margin: 0;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.78;
}

.guide-body a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.guide-body p img,
.guide-body li img {
  width: min(100%, 1240px);
  margin: 18px 0 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
}

.guide-body p:has(img),
.guide-body li:has(img) {
  max-width: none;
}

.guide-body code {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--blue);
  padding: 2px 6px;
  font-size: 0.88em;
  font-weight: 800;
}

.guide-body pre {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0f172a;
  color: #e5e7eb;
  padding: 16px;
}

.guide-body pre code {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font-weight: 600;
}

.guide-table-wrap {
  max-width: 100%;
  overflow: auto;
  margin: 18px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.guide-table-wrap table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--card-bg);
}

.guide-table-wrap th,
.guide-table-wrap td {
  border-bottom: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 0.94rem;
}

.guide-table-wrap th {
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 900;
}

.guide-table-wrap tr:last-child td {
  border-bottom: 0;
}

.guide-resource-section {
  padding: 8px 0 84px;
}

.guide-resource-section .guide-section-header {
  align-items: end;
}

.guide-resource-section .guide-section-header p:not(.eyebrow) {
  max-width: 560px;
  color: var(--text-muted);
  font-weight: 720;
  line-height: 1.7;
}

.guide-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-resource-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
}

.guide-resource-preview {
  display: grid;
  place-items: center;
  min-height: 178px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.08)),
    var(--bg-soft);
}

.guide-resource-preview video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.guide-resource-preview span {
  display: grid;
  place-items: center;
  min-width: 86px;
  height: 86px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 950;
}

.guide-resource-copy {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.guide-resource-copy span,
.guide-resource-copy small {
  min-width: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.guide-resource-copy strong {
  min-width: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.45;
}

.guide-resource-open {
  display: inline-grid;
  place-items: center;
  justify-self: start;
  min-height: 38px;
  margin-top: 4px;
  border-radius: 7px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  padding: 0 14px;
  font-size: 0.84rem;
  font-weight: 900;
}

.guide-resource-open:hover {
  background: var(--blue);
  color: #fff;
}

.guide-media-section {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.guide-media-section h3 {
  margin: 0 0 16px;
  font-size: 1.28rem;
}

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

.guide-media-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  padding: 10px;
  min-width: 0;
}

.guide-media-card:hover {
  border-color: rgba(37, 99, 235, 0.42);
}

.guide-media-card img,
.guide-file-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: var(--bg-soft);
  object-fit: cover;
}

.guide-file-preview {
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}

.guide-media-card strong,
.guide-media-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-media-card small {
  color: var(--text-muted);
  font-weight: 800;
}

.guide-admin-link {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 14px;
  text-align: center;
}

.guide-admin-link {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
}

.guide-admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  padding: 24px;
}

.guide-admin-login-card,
.guide-admin-editor,
.guide-admin-sidebar {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
}

.guide-admin-login-card {
  width: min(100%, 440px);
  padding: 34px;
}

.guide-admin-login-card h1 {
  margin: 0 0 8px;
}

.guide-admin-login-card p {
  color: var(--text-muted);
}

.guide-admin-login-card .guide-admin-lang-menu {
  margin: 12px 0 8px;
}

.guide-admin-login-card label,
.guide-admin-form label,
.guide-admin-form .guide-admin-field,
.guide-admin-upload label {
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.guide-admin-login-card input,
.guide-admin-form input,
.guide-admin-form select,
.guide-admin-form textarea,
.guide-admin-upload input,
.guide-admin-upload select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text);
  padding: 10px 12px;
}

.guide-admin-page {
  padding: 34px 0 70px;
  background: var(--bg-soft);
}

.guide-admin-shell {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.guide-admin-sidebar {
  position: sticky;
  top: 96px;
  padding: 16px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.guide-admin-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.guide-admin-row {
  display: grid;
  gap: 4px;
  border-radius: 8px;
  padding: 10px;
}

.guide-admin-row:hover,
.guide-admin-row.active {
  background: var(--bg-soft);
}

.guide-admin-row strong,
.guide-admin-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-admin-row span {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.guide-admin-editor {
  padding: 24px;
}

.guide-admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.guide-admin-header h1 {
  margin: 6px 0 0;
  font-size: 2.5rem;
  line-height: 1.15;
  letter-spacing: 0;
}

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

.guide-admin-wide {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.guide-editor-panel {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-soft);
  padding: 18px;
}

.guide-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.guide-editor-head h2 {
  margin: 4px 0 0;
  font-size: 1.25rem;
}

.guide-editor-head span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.guide-editor-source {
  display: none !important;
}

.guide-rich-editor {
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.04), transparent 160px),
    var(--bg-soft);
}

.guide-toast-editor {
  min-width: 0;
}

.guide-toast-editor .toastui-editor-defaultUI {
  overflow: hidden;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text);
  font-family: inherit;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.guide-toast-editor .toastui-editor-defaultUI-toolbar,
.guide-toast-editor .toastui-editor-md-tab-container,
.guide-toast-editor .toastui-editor-mode-switch {
  background: var(--bg-soft);
  border-color: var(--border);
}

.guide-toast-editor .toastui-editor-defaultUI-toolbar {
  min-height: 46px;
  height: auto;
  padding: 0 14px;
}

.guide-toast-editor .toastui-editor-toolbar {
  height: auto;
  min-height: 46px;
}

.guide-toast-editor .toastui-editor-toolbar-group {
  min-height: 46px;
  align-items: center;
}

.guide-toast-editor .toastui-editor-toolbar-divider {
  background: var(--border);
}

.guide-toast-editor .toastui-editor-defaultUI-toolbar button {
  border-radius: 7px;
}

.guide-toast-editor .toastui-editor-defaultUI-toolbar button:not(:disabled):hover {
  border-color: rgba(37, 99, 235, 0.32);
  background: #eff6ff;
}

.guide-toast-editor .toastui-editor-main,
.guide-toast-editor .toastui-editor-ww-container,
.guide-toast-editor .toastui-editor-md-container,
.guide-toast-editor .toastui-editor-main-container {
  background: var(--card-bg);
}

.guide-toast-editor .toastui-editor-contents,
.guide-toast-editor .ProseMirror,
.guide-toast-editor .toastui-editor-md-preview {
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.guide-toast-editor .toastui-editor-contents p,
.guide-toast-editor .toastui-editor-contents li {
  color: var(--text);
}

.guide-toast-editor .toastui-editor-contents h1,
.guide-toast-editor .toastui-editor-contents h2,
.guide-toast-editor .toastui-editor-contents h3,
.guide-toast-editor .toastui-editor-contents h4,
.guide-toast-editor .toastui-editor-contents h5,
.guide-toast-editor .toastui-editor-contents h6 {
  color: var(--text);
  letter-spacing: 0;
}

.guide-toast-editor .toastui-editor-mode-switch .tab-item {
  border-color: var(--border);
  background: var(--bg-soft);
  color: var(--text-muted);
  font-weight: 800;
}

.guide-toast-editor .toastui-editor-mode-switch .tab-item.active {
  background: var(--card-bg);
  color: var(--blue);
}

.guide-toast-editor .toastui-editor-popup,
.guide-toast-editor .toastui-editor-context-menu {
  border-color: var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  z-index: 200;
}

.guide-toast-editor-compact .toastui-editor-defaultUI {
  box-shadow: none;
}

.guide-remove-media {
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--card-bg);
  color: var(--text);
  padding: 0 12px;
  cursor: pointer;
  font-weight: 850;
}

.guide-remove-media:hover {
  border-color: rgba(37, 99, 235, 0.45);
  color: var(--blue);
}

.guide-translation-grid,
.guide-media-editor-rows {
  display: grid;
  gap: 12px;
}

.guide-translation-card,
.guide-advanced-json,
.guide-media-editor-row {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  padding: 14px;
}

.guide-translation-card summary,
.guide-advanced-json summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
}

.guide-translation-card .guide-admin-grid {
  margin-top: 14px;
}

.guide-media-editor-row {
  display: grid;
  gap: 12px;
}

.guide-remove-media {
  justify-self: start;
  color: #dc2626;
}

.guide-advanced-json p {
  margin: 8px 0 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.guide-advanced-json textarea {
  width: 100%;
  min-height: 180px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text);
  padding: 10px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
}

.guide-admin-submit,
.guide-admin-upload {
  margin-top: 18px;
}

.guide-admin-upload {
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.guide-admin-upload h2 {
  margin: 0 0 14px;
}

.guide-admin-alert {
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.guide-admin-alert.danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.guide-admin-delete {
  margin-top: 18px;
}

.guide-admin-delete button {
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff;
  color: #dc2626;
  padding: 10px 14px;
  font-weight: 800;
}

[data-theme="dark"] .guide-stat-row span,
[data-theme="dark"] .guide-doc-mini-stats span,
[data-theme="dark"] .guide-meta-row span {
  background: rgba(17, 24, 39, 0.8);
}

[data-theme="dark"] .guide-doc-workspace {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(11, 15, 26, 0.98) 220px),
    var(--bg);
}

[data-theme="dark"] .guide-tree[open] .guide-tree-index {
  background: rgba(11, 15, 26, 0.82);
}

[data-theme="dark"] .guide-body p,
[data-theme="dark"] .guide-body li {
  color: var(--text);
}

[data-theme="dark"] .guide-note {
  border-color: rgba(6, 182, 212, 0.24);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(6, 182, 212, 0.1));
}

@media (max-width: 1200px) {
  .guide-site-nav,
  .guide-header-actions .btn {
    display: none;
  }

  .guide-menu-toggle {
    display: flex;
  }

  .guide-topbar-inner {
    min-height: 64px;
  }
}

@media (max-width: 1180px) {
  .guide-hero-grid,
  .guide-doc-hero-inner,
  .guide-doc-layout,
  .guide-export-layout,
  .guide-admin-shell {
    grid-template-columns: 1fr;
  }

  .guide-hero-panel,
  .guide-doc-sidebar,
  .guide-export-toc,
  .guide-admin-sidebar {
    position: static;
  }

  .guide-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-doc-article {
    order: 1;
  }

  .guide-doc-sidebar {
    order: 2;
  }

  .guide-admin-sidebar {
    max-height: none;
  }
}

@media (max-width: 760px) {
  .guide-container {
    width: min(100% - 24px, 1280px);
  }

  .guide-topbar-inner {
    min-height: 64px;
    align-items: center;
    flex-direction: row;
    padding: 0;
  }

  .guide-brand-name,
  .guide-brand > strong {
    font-size: 1.1rem;
  }

  .guide-brand-mark,
  .guide-brand > span {
    width: 32px;
    height: 32px;
  }

  .guide-module-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .guide-module-nav a,
  .guide-module-nav form,
  .guide-module-nav button {
    flex: 1 1 auto;
  }

  .guide-header-actions {
    gap: 6px;
  }

  .guide-theme-toggle,
  .guide-menu-toggle {
    width: 36px;
    height: 36px;
  }

  .guide-lang-trigger {
    height: 36px;
    padding: 0 8px;
  }

  .guide-index-hero {
    padding: 64px 0 52px;
  }

  .guide-hero-copy h1 {
    font-size: 2.35rem;
  }

  .guide-lead {
    font-size: 1rem;
  }

  .guide-home-search,
  .guide-search {
    grid-template-columns: 1fr;
  }

  .guide-home-search button,
  .guide-search button {
    border-top: 1px solid var(--border);
  }

  .guide-panel-metrics,
  .guide-card-grid,
  .guide-resource-grid,
  .guide-media-grid,
  .guide-admin-grid {
    grid-template-columns: 1fr;
  }

  .guide-hero-panel {
    display: none;
  }

  .guide-index-section,
  .guide-resource-section,
  .guide-doc-workspace {
    padding: 44px 0 62px;
  }

  .guide-section-header,
  .guide-admin-header,
  .guide-editor-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-section-header h2 {
    font-size: 1.8rem;
  }

  .guide-home-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 22px;
  }

  .guide-card-top {
    display: grid;
  }

  .guide-home-card small {
    min-height: auto;
  }

  .guide-doc-title-block h1 {
    font-size: 2rem;
  }

  .guide-doc-mini-stats {
    grid-template-columns: 1fr;
  }

  .guide-doc-article {
    padding: 26px 20px;
  }

  .guide-export-doc-head {
    grid-template-columns: 1fr;
  }

  .guide-doc-sidebar {
    padding: 0;
  }

  .guide-tree a {
    grid-template-columns: 44px minmax(0, 1fr);
    margin-left: 0;
    padding-left: 12px;
  }

  .guide-body h2,
  .guide-body h3 {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .guide-body ul,
  .guide-body ol {
    padding-left: 22px;
  }

  .guide-admin-header h1 {
    font-size: 2rem;
  }

  .guide-editor-panel {
    padding: 14px;
  }

}

@media print {
  @page {
    size: auto;
    margin: 0.55in;
  }

  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  html,
  body {
    width: auto;
    min-width: 0;
    background: #fff !important;
    color: #111827 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10.5pt;
    line-height: 1.45;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  a {
    color: #111827 !important;
    text-decoration: none !important;
  }

  .guide-topbar,
  .guide-mobile-nav,
  .guide-doc-search-card,
  .guide-doc-sidebar,
  .guide-export-toc,
  .guide-footer,
  .guide-breadcrumb,
  .guide-print-button {
    display: none !important;
  }

  .guide-page,
  .guide-doc-hero,
  .guide-doc-workspace,
  .guide-doc-article,
  .guide-export-article,
  .guide-export-layout,
  .guide-container,
  .guide-doc-hero-inner,
  .guide-doc-layout {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  .guide-doc-hero {
    margin-bottom: 0.28in !important;
    border-bottom: 1px solid #d1d5db !important;
    padding-bottom: 0.18in !important;
  }

  .guide-export-hero {
    display: none !important;
  }

  .guide-doc-title-block .eyebrow {
    margin: 0 0 0.08in !important;
    color: #2563eb !important;
    font-size: 8pt;
    letter-spacing: 0.08em;
  }

  .guide-doc-title-block h1 {
    max-width: none;
    margin: 0;
    color: #111827 !important;
    font-size: 20pt;
    line-height: 1.18;
    break-after: avoid-page;
    page-break-after: avoid;
  }

  .guide-doc-summary {
    max-width: none;
    margin: 0.1in 0 0;
    color: #374151 !important;
    font-size: 10pt;
    line-height: 1.5;
  }

  .guide-meta-row {
    gap: 0.08in;
    margin-top: 0.12in;
  }

  .guide-meta-row span {
    border: 1px solid #d1d5db;
    border-radius: 0;
    background: #fff !important;
    color: #374151 !important;
    padding: 3pt 6pt;
    font-size: 8pt;
  }

  .guide-body {
    max-width: none !important;
  }

  .guide-export-cover {
    min-height: 8.8in;
    display: grid;
    align-content: center;
    border-bottom: 0;
    break-after: page;
    page-break-after: always;
  }

  .guide-export-cover h2 {
    margin: 0.08in 0 0;
    color: #111827 !important;
    font-size: 24pt;
    line-height: 1.15;
  }

  .guide-export-cover p:not(.eyebrow) {
    max-width: none;
    margin: 0.18in 0 0;
    color: #374151 !important;
    font-size: 11pt;
    line-height: 1.5;
  }

  .guide-export-index {
    break-after: page;
    page-break-after: always;
  }

  .guide-export-index h2 {
    margin: 0 0 0.12in;
    border-top: 0;
    padding-top: 0;
  }

  .guide-export-index ol {
    margin: 0;
    padding-left: 0.24in;
  }

  .guide-export-index li {
    margin-bottom: 0.06in;
    color: #111827 !important;
    font-size: 10pt;
    line-height: 1.35;
  }

  .guide-export-doc {
    border-top: 0;
    padding-top: 0;
    break-before: page;
    page-break-before: always;
  }

  .guide-export-index + .guide-export-doc {
    break-before: auto;
    page-break-before: auto;
  }

  .guide-export-doc-head {
    display: grid;
    grid-template-columns: 0.42in minmax(0, 1fr);
    gap: 0.12in;
    margin-bottom: 0.18in;
    break-after: avoid-page;
    page-break-after: avoid;
  }

  .guide-export-doc-head > span {
    width: 0.34in;
    height: 0.26in;
    border-radius: 0;
    background: #eff6ff !important;
    color: #2563eb !important;
    font-size: 8pt;
  }

  .guide-export-doc-head h2 {
    margin: 0;
    color: #111827 !important;
    font-size: 18pt;
    line-height: 1.2;
  }

  .guide-export-doc-head p {
    max-width: none;
    margin: 0.06in 0 0;
    color: #374151 !important;
    font-size: 9.5pt;
    line-height: 1.45;
  }

  .guide-body h2,
  .guide-body h3 {
    display: block;
    margin: 0.24in 0 0.08in;
    border-top: 1px solid #d1d5db;
    padding-top: 0.14in;
    color: #111827 !important;
    break-after: avoid-page;
    page-break-after: avoid;
  }

  .guide-body h2:first-child {
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
  }

  .guide-body h2 {
    font-size: 15pt;
    line-height: 1.25;
  }

  .guide-body h3 {
    font-size: 12pt;
    line-height: 1.3;
  }

  .guide-body h2 span,
  .guide-body h3 span {
    display: inline;
    min-width: 0;
    min-height: 0;
    margin-right: 6pt;
    border-radius: 0;
    background: transparent !important;
    color: #2563eb !important;
    font-size: 8pt;
  }

  .guide-body h2 > strong,
  .guide-body h3 > strong {
    display: inline;
  }

  .guide-body p,
  .guide-body li {
    max-width: none;
    color: #111827 !important;
    font-size: 10pt;
    line-height: 1.5;
  }

  .guide-body p {
    margin: 0 0 0.1in;
    orphans: 3;
    widows: 3;
  }

  .guide-body ul,
  .guide-body ol {
    display: block;
    max-width: none;
    margin: 0.08in 0 0.12in;
    padding-left: 0.24in;
  }

  .guide-body li {
    margin-bottom: 0.05in;
  }

  .guide-note,
  .guide-table-wrap,
  .guide-body pre,
  .guide-body p:has(img),
  .guide-body li:has(img) {
    break-inside: avoid-page;
    page-break-inside: avoid;
  }

  .guide-note {
    max-width: none;
    margin: 0.12in 0;
    border: 1px solid #bfdbfe;
    border-radius: 0;
    background: #eff6ff !important;
    padding: 0.1in 0.12in;
  }

  .guide-note::before {
    display: none;
  }

  .guide-table-wrap {
    overflow: visible;
    margin: 0.12in 0;
    border: 1px solid #d1d5db;
    border-radius: 0;
  }

  .guide-table-wrap table {
    min-width: 0;
    width: 100%;
    background: #fff !important;
    table-layout: fixed;
  }

  .guide-table-wrap th,
  .guide-table-wrap td {
    border-bottom: 1px solid #e5e7eb;
    padding: 5pt 6pt;
    color: #111827 !important;
    font-size: 8.5pt;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .guide-table-wrap th {
    background: #f3f4f6 !important;
  }

  .guide-body p img,
  .guide-body li img {
    width: auto;
    max-width: 100% !important;
    max-height: 7.65in;
    margin: 0.08in auto 0.06in;
    border: 1px solid #d1d5db;
    border-radius: 0;
    background: #fff !important;
    object-fit: contain;
    break-inside: avoid-page;
    page-break-inside: avoid;
  }

  .guide-body code {
    border: 0;
    background: #f3f4f6 !important;
    color: #111827 !important;
    padding: 1pt 3pt;
    font-size: 0.9em;
    font-weight: 700;
  }

  .guide-body pre {
    overflow: visible;
    white-space: pre-wrap;
    border: 1px solid #d1d5db;
    border-radius: 0;
    background: #f9fafb !important;
    color: #111827 !important;
    padding: 0.1in;
    font-size: 8.5pt;
  }

  .guide-body pre code {
    background: transparent !important;
    padding: 0;
  }
}
