/* Anleitung — Editorial-Doku-Layout (V4)
   Loads after landing-v4.css; depends on its custom properties. */

/* ── Layout ────────────────────────────────────────────────── */
.guide-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 88px 24px 80px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 200px;
  gap: 48px;
  align-items: start;
}

.guide-shell--narrow {
  grid-template-columns: 220px minmax(0, 1fr);
  max-width: 1080px;
}

@media (max-width: 1180px) {
  .guide-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .guide-toc-right { display: none; }
}

@media (max-width: 900px) {
  .guide-shell, .guide-shell--narrow {
    grid-template-columns: minmax(0, 1fr);
    padding: 80px 16px 64px;
    gap: 24px;
  }
}

/* ── Login-Banner (CLS-frei) ──────────────────────────────── */
.guide-login-banner {
  display: none;
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--gold-soft), transparent);
  border: 1px solid var(--gold-med);
  border-radius: var(--r-md);
  padding: 12px 16px;
  margin-bottom: 16px;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
body[data-user-state] .guide-login-banner { display: flex; }

.guide-login-banner .glb-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.guide-login-banner strong { color: var(--ink); }
.guide-login-banner .glb-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.guide-login-banner a {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--r-xs);
  transition: background var(--duration) var(--ease);
}
.guide-login-banner a:hover { background: var(--gold-med); }

/* ── Linke Sektions-Nav ──────────────────────────────────── */
.guide-nav {
  position: sticky;
  top: 88px;
  font-family: var(--font-body);
}

.guide-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: none;
  margin-bottom: 16px;
  transition: color var(--duration) var(--ease);
}
.guide-nav-back:hover { color: var(--gold); }
.guide-nav-back svg { width: 14px; height: 14px; }

.guide-nav-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  margin-bottom: 10px;
}

.guide-nav-section {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  padding: 14px 10px 6px;
}
.guide-nav-section:first-child { padding-top: 0; }

.guide-nav-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.guide-nav-list a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--r-xs);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.guide-nav-list a:hover {
  background: var(--bg-inset);
  color: var(--ink);
}
.guide-nav-list a.active {
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-weight: 600;
}

@media (max-width: 900px) {
  .guide-nav {
    position: static;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 14px;
  }
  .guide-nav-back { display: none; }
}

/* ── Hauptinhalt ─────────────────────────────────────────── */
.guide-main {
  min-width: 0;
  font-family: var(--font-body);
  color: var(--ink-2);
  line-height: 1.6;
}

.guide-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.guide-breadcrumb a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}
.guide-breadcrumb a:hover { text-decoration: underline; }

.guide-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  background: var(--gold-soft);
  padding: 4px 10px;
  border-radius: var(--r-full);
  margin-bottom: 14px;
}

.guide-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.guide-lead {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 64ch;
  margin: 0 0 20px;
  line-height: 1.55;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.guide-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.guide-meta-item svg {
  width: 14px; height: 14px;
  color: var(--ink-4);
}

/* ── Step-Block ─────────────────────────────────────────── */
.guide-step {
  margin: 0 0 56px;
  scroll-margin-top: 80px;
}

.guide-step-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}

.guide-step-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.guide-step-title {
  flex: 1;
  min-width: 0;
}
.guide-step-title h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  line-height: 1.2;
}
.guide-step-title p {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
}

.guide-step-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--bg-inset);
  padding: 4px 10px;
  border-radius: var(--r-full);
  flex-shrink: 0;
}
.guide-step-time svg { width: 12px; height: 12px; }

.guide-step-body {
  padding-left: 60px;
}
@media (max-width: 720px) {
  .guide-step-body { padding-left: 0; }
}

.guide-step-body > p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 16px 0;
}

.guide-step-body h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 10px;
}

.guide-step-body ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
}
.guide-step-body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}
.guide-step-body ul li::before,
.guide-outcomes ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  background: var(--gold-soft);
  border-radius: 50%;
}
.guide-step-body ul li::after,
.guide-outcomes ul li::after {
  content: '';
  position: absolute;
  left: 4px; top: 11px;
  width: 6px; height: 4px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.guide-step-body ul li strong { color: var(--ink); font-weight: 600; }

/* ── Browser-Frame + Annotations ─────────────────────────── */
.guide-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-card);
  box-shadow: var(--sh-md);
  overflow: hidden;
  margin: 24px 0;
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.guide-frame:hover {
  box-shadow: var(--sh-lg);
}

.guide-frame-chrome {
  background: var(--bg-inset);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.guide-frame-dots {
  display: flex;
  gap: 6px;
}
.guide-frame-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--ink-5);
  opacity: 0.6;
}
.guide-frame-dots span:nth-child(1) { background: #FF5F57; }
.guide-frame-dots span:nth-child(2) { background: #FEBC2E; }
.guide-frame-dots span:nth-child(3) { background: #28C840; }

.guide-frame-url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  background: var(--bg-card);
  border-radius: var(--r-xs);
  padding: 3px 10px;
  text-align: center;
  max-width: 380px;
  margin: 0 auto;
  border: 1px solid var(--border-light);
}

.guide-frame-canvas {
  position: relative;
  overflow: hidden;
}
.guide-frame-canvas img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-annotation {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
  transform: translate(-50%, -50%);
}
.guide-annotation-marker {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--gold-med);
  animation: ann-pulse 2.4s var(--ease) infinite;
}
@keyframes ann-pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--gold-med); }
  50% { box-shadow: 0 0 0 8px transparent; }
}
.guide-annotation-label {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-xs);
  white-space: nowrap;
}

.guide-annotation-legend {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.guide-annotation-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.guide-annotation-legend span::before {
  content: attr(data-n);
  width: 18px; height: 18px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-display);
}

/* ── Tipp-Box ────────────────────────────────────────────── */
.guide-tip {
  display: flex;
  gap: 12px;
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--gold-text);
  line-height: 1.55;
}
.guide-tip svg {
  width: 18px; height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.guide-tip strong { color: var(--ink); font-weight: 600; }

/* ── Outcomes-Box ────────────────────────────────────────── */
.guide-outcomes {
  background: var(--teal-soft);
  border: 1px solid var(--teal-med);
  border-radius: var(--r-md);
  padding: 16px 18px;
  margin: 20px 0;
}
.guide-outcomes-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
  margin-bottom: 10px;
}
.guide-outcomes-title svg {
  width: 16px; height: 16px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  padding: 3px;
}
.guide-outcomes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.guide-outcomes ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.guide-outcomes ul li::before { background: var(--teal-soft); }
.guide-outcomes ul li::after {
  border-left-color: var(--teal);
  border-bottom-color: var(--teal);
}

/* ── Tour-CTA ────────────────────────────────────────────── */
.guide-tour-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: var(--r-sm);
  text-decoration: none;
  margin-top: 16px;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
}
.guide-tour-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
  color: #fff;
}
.guide-tour-cta svg { width: 16px; height: 16px; }

.guide-tour-cta[data-mode="dashboard"] { display: none; }
body[data-user-state] .guide-tour-cta[data-mode="demo"] { display: none; }
body[data-user-state] .guide-tour-cta[data-mode="dashboard"] { display: inline-flex; }

/* ── On-this-page (rechte TOC) ───────────────────────────── */
.guide-toc-right {
  position: sticky;
  top: 88px;
  font-family: var(--font-body);
}
.guide-toc-right-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  margin-bottom: 10px;
}
.guide-toc-right ul {
  list-style: none;
  padding: 0; margin: 0;
  border-left: 1px solid var(--border);
}
.guide-toc-right li a {
  display: block;
  padding: 5px 10px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: none;
  line-height: 1.4;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.guide-toc-right li a:hover { color: var(--ink); }
.guide-toc-right li a.active {
  color: var(--gold-dark);
  border-left-color: var(--gold);
  font-weight: 500;
}

/* ── Hub-Cards: Tour-Grid ───────────────────────────────── */
.guide-tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 16px 0 32px;
}
.guide-tour-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.guide-tour-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.guide-tour-card-role {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-soft);
  padding: 3px 8px;
  border-radius: var(--r-full);
  margin-bottom: 10px;
}
.guide-tour-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.guide-tour-card p {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0 0 12px;
  line-height: 1.5;
}
.guide-tour-card-meta {
  font-size: 12px;
  color: var(--ink-4);
}

/* Featured Card (Hauptanleitungs-Hervorhebung) */
.guide-tour-card--featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold-soft), var(--bg-card) 60%);
  box-shadow: var(--sh-sm);
}
.guide-tour-card--featured:hover {
  background: linear-gradient(135deg, var(--gold-med), var(--bg-card) 60%);
  box-shadow: var(--sh-lg);
}
.guide-tour-card--featured .guide-tour-card-role {
  background: var(--gold);
  color: #fff;
}

/* Quick-Start Hint im Hero */
.guide-quickstart-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 6px 14px 6px 6px;
  margin-bottom: 24px;
  font-size: 13.5px;
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.guide-quickstart-hint:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.guide-quickstart-hint-tag {
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: var(--r-full);
}
.guide-quickstart-hint strong { color: var(--ink); font-weight: 600; }
.guide-quickstart-hint svg { width: 12px; height: 12px; color: var(--gold); }

/* Offboarding-Verweis-Card (kompakter Cross-Link statt voller Card) */
.guide-related-hint {
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.guide-related-hint svg {
  width: 18px; height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}
.guide-related-hint a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
}
.guide-related-hint a:hover { text-decoration: underline; }

/* ── Hub: Quick-Start-Hero ───────────────────────────────── */
.guide-quickstart {
  background: linear-gradient(135deg, var(--bg-warm), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  margin: 16px 0 40px;
}
.guide-quickstart h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.guide-quickstart p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0 0 18px;
  max-width: 58ch;
}
.guide-quickstart-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.guide-quickstart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 16px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.guide-quickstart-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.guide-quickstart-card-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.guide-quickstart-card strong {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.guide-quickstart-card span {
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ── Hub: Path-Picker (Was möchten Sie tun?) ─────────────── */
.guide-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0 40px;
}
@media (max-width: 720px) {
  .guide-paths { grid-template-columns: 1fr; }
}
.guide-path {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.guide-path::after {
  content: '';
  position: absolute;
  right: -20px; top: -20px;
  width: 140px; height: 140px;
  background: var(--gold-soft);
  border-radius: 50%;
  opacity: 0.6;
  transition: transform var(--duration) var(--ease);
}
.guide-path:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
}
.guide-path:hover::after { transform: scale(1.2); }
.guide-path-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.guide-path-icon svg { width: 22px; height: 22px; }
.guide-path h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  position: relative; z-index: 1;
}
.guide-path p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin: 0 0 16px;
  line-height: 1.55;
  position: relative; z-index: 1;
}
.guide-path-cta {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative; z-index: 1;
}

/* ── Section-Divider ────────────────────────────────────── */
.guide-section-head {
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.guide-section-head h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.guide-section-head p {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 0;
}

/* ── Tool-Card-Grid (Hub) ───────────────────────────────── */
.guide-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0 32px;
}
.guide-tool-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.guide-tool-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.guide-tool-card-icon {
  width: 32px; height: 32px;
  border-radius: var(--r-xs);
  background: var(--gold-soft);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.guide-tool-card-icon svg { width: 16px; height: 16px; }
.guide-tool-card strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
}
.guide-tool-card span {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.4;
}

/* ── Cross-Page Footer-CTA ──────────────────────────────── */
.guide-footer-cta {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin: 48px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.guide-footer-cta div { flex: 1; min-width: 240px; }
.guide-footer-cta h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.guide-footer-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.guide-footer-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.guide-footer-cta-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--duration) var(--ease);
}
.guide-footer-cta-actions a.primary {
  background: var(--gold);
  color: #fff;
}
.guide-footer-cta-actions a.ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.guide-footer-cta-actions a:hover { transform: translateY(-2px); }

/* ── Mobile Bottom-Sheet Nav ────────────────────────────── */
.guide-mobile-toc {
  display: none;
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-full);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--sh-lg);
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
}
.guide-mobile-toc svg { width: 14px; height: 14px; }
@media (max-width: 900px) {
  .guide-mobile-toc { display: inline-flex; }
}

.guide-mobile-sheet {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 51;
  display: none;
  align-items: flex-end;
}
.guide-mobile-sheet[open] { display: flex; }
.guide-mobile-sheet-content {
  background: var(--bg-card);
  width: 100%;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
}
.guide-mobile-sheet-content h4 {
  font-family: var(--font-display);
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--ink);
}
.guide-mobile-sheet-content a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--r-xs);
  font-size: 14.5px;
  color: var(--ink-2);
  text-decoration: none;
}
.guide-mobile-sheet-content a:hover,
.guide-mobile-sheet-content a:focus {
  background: var(--bg-inset);
  color: var(--ink);
}

/* ── Print ──────────────────────────────────────────────── */
@media print {
  .guide-nav, .guide-toc-right, .guide-mobile-toc,
  .guide-login-banner, .guide-tour-cta, .guide-footer-cta,
  .site-header, .site-footer, #cube-assistant { display: none !important; }
  .guide-shell { grid-template-columns: 1fr; max-width: 100%; padding: 0; }
  .guide-step { break-inside: avoid; }
}
